IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/nvpair/extr_opensolaris_nvpair.c_nvs_xdr_nvlist.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/nvpair/extr_opensolaris_nvpair.c_nvs_xdr_nvlist.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_6__ = type { i32, i32 }
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nvs_xdr_nvlist], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nvs_xdr_nvlist(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef %2) #0 {
%4 = load i32, ptr %0, align 8, !tbaa !5
switch i32 %4, label %19 [
i32 129, label %5
i32 130, label %5
i32 128, label %16
]
5: ; preds = %3, %3
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
%9 = tail call i32 @xdr_int(ptr noundef %7, ptr noundef nonnull %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %5
%12 = tail call i32 @xdr_u_int(ptr noundef %7, ptr noundef %1) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %5, %11
%15 = load i32, ptr @EFAULT, align 4, !tbaa !12
br label %21
16: ; preds = %3
%17 = load i64, ptr %2, align 8, !tbaa !13
%18 = add i64 %17, 16
store i64 %18, ptr %2, align 8, !tbaa !13
br label %21
19: ; preds = %3
%20 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %21
21: ; preds = %11, %16, %14, %19
%22 = phi i32 [ %20, %19 ], [ %15, %14 ], [ 0, %16 ], [ 0, %11 ]
ret i32 %22
}
declare i32 @xdr_int(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xdr_u_int(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/nvpair/extr_opensolaris_nvpair.c_nvs_xdr_nvlist.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/nvpair/extr_opensolaris_nvpair.c_nvs_xdr_nvlist.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EFAULT = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nvs_xdr_nvlist], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nvs_xdr_nvlist(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef %2) #0 {
%4 = load i32, ptr %0, align 8, !tbaa !6
switch i32 %4, label %19 [
i32 129, label %5
i32 130, label %5
i32 128, label %16
]
5: ; preds = %3, %3
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = tail call i32 @xdr_int(ptr noundef %7, ptr noundef nonnull %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %5
%12 = tail call i32 @xdr_u_int(ptr noundef %7, ptr noundef %1) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %5, %11
%15 = load i32, ptr @EFAULT, align 4, !tbaa !13
br label %21
16: ; preds = %3
%17 = load i64, ptr %2, align 8, !tbaa !14
%18 = add i64 %17, 16
store i64 %18, ptr %2, align 8, !tbaa !14
br label %21
19: ; preds = %3
%20 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %21
21: ; preds = %11, %16, %14, %19
%22 = phi i32 [ %20, %19 ], [ %15, %14 ], [ 0, %16 ], [ 0, %11 ]
ret i32 %22
}
declare i32 @xdr_int(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xdr_u_int(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
| freebsd_sys_cddl_contrib_opensolaris_common_nvpair_extr_opensolaris_nvpair.c_nvs_xdr_nvlist |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext3/extr_super.c_get_sb_block.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext3/extr_super.c_get_sb_block.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"sb=\00", align 1
@KERN_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"error: invalid sb specification: %s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_sb_block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_sb_block(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %22, label %6
6: ; preds = %2
%7 = tail call i64 @strncmp(ptr noundef nonnull %4, ptr noundef nonnull @.str, i32 noundef 3) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %22
9: ; preds = %6
%10 = getelementptr inbounds i8, ptr %4, i64 3
store ptr %10, ptr %3, align 8, !tbaa !5
%11 = call i32 @simple_strtoul(ptr noundef nonnull %10, ptr noundef nonnull %3, i32 noundef 0) #3
%12 = load ptr, ptr %3, align 8, !tbaa !5
%13 = load i8, ptr %12, align 1, !tbaa !9
switch i8 %13, label %14 [
i8 44, label %18
i8 0, label %20
]
14: ; preds = %9
%15 = load i32, ptr @KERN_ERR, align 4, !tbaa !10
%16 = load ptr, ptr %0, align 8, !tbaa !5
%17 = call i32 @ext3_msg(ptr noundef %1, i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %16) #3
br label %22
18: ; preds = %9
%19 = getelementptr inbounds i8, ptr %12, i64 1
br label %20
20: ; preds = %9, %18
%21 = phi ptr [ %12, %9 ], [ %19, %18 ]
store ptr %21, ptr %0, align 8, !tbaa !5
br label %22
22: ; preds = %2, %6, %20, %14
%23 = phi i32 [ 1, %14 ], [ %11, %20 ], [ 1, %6 ], [ 1, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %23
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ext3_msg(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext3/extr_super.c_get_sb_block.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext3/extr_super.c_get_sb_block.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"sb=\00", align 1
@KERN_ERR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"error: invalid sb specification: %s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @get_sb_block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_sb_block(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %22, label %6
6: ; preds = %2
%7 = tail call i64 @strncmp(ptr noundef nonnull %4, ptr noundef nonnull @.str, i32 noundef 3) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %22
9: ; preds = %6
%10 = getelementptr inbounds i8, ptr %4, i64 3
store ptr %10, ptr %3, align 8, !tbaa !6
%11 = call i32 @simple_strtoul(ptr noundef nonnull %10, ptr noundef nonnull %3, i32 noundef 0) #3
%12 = load ptr, ptr %3, align 8, !tbaa !6
%13 = load i8, ptr %12, align 1, !tbaa !10
switch i8 %13, label %14 [
i8 44, label %18
i8 0, label %20
]
14: ; preds = %9
%15 = load i32, ptr @KERN_ERR, align 4, !tbaa !11
%16 = load ptr, ptr %0, align 8, !tbaa !6
%17 = call i32 @ext3_msg(ptr noundef %1, i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %16) #3
br label %22
18: ; preds = %9
%19 = getelementptr inbounds i8, ptr %12, i64 1
br label %20
20: ; preds = %9, %18
%21 = phi ptr [ %12, %9 ], [ %19, %18 ]
store ptr %21, ptr %0, align 8, !tbaa !6
br label %22
22: ; preds = %2, %6, %20, %14
%23 = phi i32 [ 1, %14 ], [ %11, %20 ], [ 1, %6 ], [ 1, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %23
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ext3_msg(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| fastsocket_kernel_fs_ext3_extr_super.c_get_sb_block |
; ModuleID = 'AnghaBench/freebsd/sys/dev/twe/extr_twe_freebsd.c_twed_dump.c'
source_filename = "AnghaBench/freebsd/sys/dev/twe/extr_twe_freebsd.c_twed_dump.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.twed_softc = type { ptr, i64 }
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@TWE_BLOCK_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @twed_dump], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @twed_dump(ptr nocapture noundef readonly %0, ptr noundef %1, i32 %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = load i64, ptr %0, align 8, !tbaa !5
%7 = inttoptr i64 %6 to ptr
%8 = icmp eq i64 %6, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = load i32, ptr @ENXIO, align 4, !tbaa !10
br label %25
11: ; preds = %5
%12 = icmp eq i64 %4, 0
br i1 %12, label %24, label %13
13: ; preds = %11
%14 = getelementptr inbounds %struct.twed_softc, ptr %7, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !12
%16 = inttoptr i64 %15 to ptr
%17 = load ptr, ptr %7, align 8, !tbaa !15
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = load i64, ptr @TWE_BLOCK_SIZE, align 8, !tbaa !18
%20 = udiv i64 %3, %19
%21 = udiv i64 %4, %19
%22 = tail call i32 @twe_dump_blocks(ptr noundef %16, i32 noundef %18, i64 noundef %20, ptr noundef %1, i64 noundef %21) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %13, %11
br label %25
25: ; preds = %13, %24, %9
%26 = phi i32 [ %10, %9 ], [ 0, %24 ], [ %22, %13 ]
ret i32 %26
}
declare i32 @twe_dump_blocks(ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"disk", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"twed_softc", !14, i64 0, !7, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!13, !14, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_2__", !11, i64 0}
!18 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/twe/extr_twe_freebsd.c_twed_dump.c'
source_filename = "AnghaBench/freebsd/sys/dev/twe/extr_twe_freebsd.c_twed_dump.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@TWE_BLOCK_SIZE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @twed_dump], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @twed_dump(ptr nocapture noundef readonly %0, ptr noundef %1, i32 %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = load i64, ptr %0, align 8, !tbaa !6
%7 = inttoptr i64 %6 to ptr
%8 = icmp eq i64 %6, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = load i32, ptr @ENXIO, align 4, !tbaa !11
br label %25
11: ; preds = %5
%12 = icmp eq i64 %4, 0
br i1 %12, label %24, label %13
13: ; preds = %11
%14 = getelementptr inbounds i8, ptr %7, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = inttoptr i64 %15 to ptr
%17 = load ptr, ptr %7, align 8, !tbaa !16
%18 = load i32, ptr %17, align 4, !tbaa !17
%19 = load i64, ptr @TWE_BLOCK_SIZE, align 8, !tbaa !19
%20 = udiv i64 %3, %19
%21 = udiv i64 %4, %19
%22 = tail call i32 @twe_dump_blocks(ptr noundef %16, i32 noundef %18, i64 noundef %20, ptr noundef %1, i64 noundef %21) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %13, %11
br label %25
25: ; preds = %13, %24, %9
%26 = phi i32 [ %10, %9 ], [ 0, %24 ], [ %22, %13 ]
ret i32 %26
}
declare i32 @twe_dump_blocks(ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"disk", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"twed_softc", !15, i64 0, !8, i64 8}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!14, !15, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_2__", !12, i64 0}
!19 = !{!8, !8, i64 0}
| freebsd_sys_dev_twe_extr_twe_freebsd.c_twed_dump |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/zdb/extr_zdb_il.c_zil_prt_rec_acl.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/zdb/extr_zdb_il.c_zil_prt_rec_acl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i64 }
@.str = private unnamed_addr constant [26 x i8] c"%sfoid %llu, aclcnt %llu\0A\00", align 1
@tab_prefix = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @zil_prt_rec_acl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @zil_prt_rec_acl(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr @tab_prefix, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !9
%7 = trunc i64 %6 to i32
%8 = load i64, ptr %2, align 8, !tbaa !12
%9 = trunc i64 %8 to i32
%10 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %4, i32 noundef %7, i32 noundef %9) #2
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_2__", !11, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/zdb/extr_zdb_il.c_zil_prt_rec_acl.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/zdb/extr_zdb_il.c_zil_prt_rec_acl.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 [26 x i8] c"%sfoid %llu, aclcnt %llu\0A\00", align 1
@tab_prefix = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @zil_prt_rec_acl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @zil_prt_rec_acl(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr @tab_prefix, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %2, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = trunc i64 %6 to i32
%8 = load i64, ptr %2, align 8, !tbaa !13
%9 = trunc i64 %8 to i32
%10 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %4, i32 noundef %7, i32 noundef %9) #2
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 0}
| freebsd_cddl_contrib_opensolaris_cmd_zdb_extr_zdb_il.c_zil_prt_rec_acl |
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_readln.c_GetLsCacheFileList.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_readln.c_GetLsCacheFileList.c"
target datalayout = "e-m:e-p270:32:32-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 }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@gLsCache = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @GetLsCacheFileList], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @GetLsCacheFileList(ptr noundef %0) #0 {
%2 = tail call i32 @LsCacheLookup(ptr noundef %0) #2
%3 = icmp slt i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = tail call i32 @Ls(ptr noundef %0, i8 noundef signext 108, ptr noundef nonnull @.str, ptr noundef null) #2
%6 = tail call i32 @LsCacheLookup(ptr noundef %0) #2
%7 = icmp slt i32 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %4, %1
%9 = phi i32 [ %6, %4 ], [ %2, %1 ]
%10 = load ptr, ptr @gLsCache, align 8, !tbaa !5
%11 = zext nneg i32 %9 to i64
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11
%13 = tail call i32 @SortFileInfoList(ptr noundef %12, i32 noundef 110, i32 noundef 97) #2
br label %14
14: ; preds = %4, %8
%15 = phi ptr [ %12, %8 ], [ null, %4 ]
ret ptr %15
}
declare i32 @LsCacheLookup(ptr noundef) local_unnamed_addr #1
declare i32 @Ls(ptr noundef, i8 noundef signext, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @SortFileInfoList(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_readln.c_GetLsCacheFileList.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_readln.c_GetLsCacheFileList.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@gLsCache = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @GetLsCacheFileList], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @GetLsCacheFileList(ptr noundef %0) #0 {
%2 = tail call i32 @LsCacheLookup(ptr noundef %0) #2
%3 = icmp slt i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = tail call i32 @Ls(ptr noundef %0, i8 noundef signext 108, ptr noundef nonnull @.str, ptr noundef null) #2
%6 = tail call i32 @LsCacheLookup(ptr noundef %0) #2
%7 = icmp slt i32 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %4, %1
%9 = phi i32 [ %6, %4 ], [ %2, %1 ]
%10 = load ptr, ptr @gLsCache, align 8, !tbaa !6
%11 = zext nneg i32 %9 to i64
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11
%13 = tail call i32 @SortFileInfoList(ptr noundef %12, i32 noundef 110, i32 noundef 97) #2
br label %14
14: ; preds = %4, %8
%15 = phi ptr [ %12, %8 ], [ null, %4 ]
ret ptr %15
}
declare i32 @LsCacheLookup(ptr noundef) local_unnamed_addr #1
declare i32 @Ls(ptr noundef, i8 noundef signext, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @SortFileInfoList(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_modules_rosapps_applications_net_ncftp_ncftp_extr_readln.c_GetLsCacheFileList |
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_virtio-iommu.c_viommu_fault_handler.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_virtio-iommu.c_viommu_fault_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.virtio_iommu_fault = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [7 x i8] c"domain\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"page\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1
@VIRTIO_IOMMU_FAULT_F_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"%s fault from EP %u at %#llx [%s%s%s]\0A\00", align 1
@VIRTIO_IOMMU_FAULT_F_READ = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [2 x i8] c"R\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@VIRTIO_IOMMU_FAULT_F_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [2 x i8] c"W\00", align 1
@VIRTIO_IOMMU_FAULT_F_EXEC = dso_local local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [2 x i8] c"X\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"%s fault from EP %u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @viommu_fault_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @viommu_fault_handler(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.virtio_iommu_fault, ptr %1, i64 0, i32 3
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call i32 @le32_to_cpu(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.virtio_iommu_fault, ptr %1, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = tail call i32 @le32_to_cpu(i32 noundef %8) #2
%10 = getelementptr inbounds %struct.virtio_iommu_fault, ptr %1, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = tail call i32 @le64_to_cpu(i32 noundef %11) #2
%13 = icmp eq i32 %3, 129
%14 = select i1 %13, ptr @.str.1, ptr @.str.2
%15 = icmp eq i32 %3, 130
%16 = select i1 %15, ptr @.str, ptr %14
%17 = load i32, ptr @VIRTIO_IOMMU_FAULT_F_ADDRESS, align 4, !tbaa !13
%18 = and i32 %17, %6
%19 = icmp eq i32 %18, 0
%20 = load i32, ptr %0, align 4, !tbaa !14
br i1 %19, label %35, label %21
21: ; preds = %2
%22 = load i32, ptr @VIRTIO_IOMMU_FAULT_F_READ, align 4, !tbaa !13
%23 = and i32 %22, %6
%24 = icmp eq i32 %23, 0
%25 = select i1 %24, ptr @.str.5, ptr @.str.4
%26 = load i32, ptr @VIRTIO_IOMMU_FAULT_F_WRITE, align 4, !tbaa !13
%27 = and i32 %26, %6
%28 = icmp eq i32 %27, 0
%29 = select i1 %28, ptr @.str.5, ptr @.str.6
%30 = load i32, ptr @VIRTIO_IOMMU_FAULT_F_EXEC, align 4, !tbaa !13
%31 = and i32 %30, %6
%32 = icmp eq i32 %31, 0
%33 = select i1 %32, ptr @.str.5, ptr @.str.7
%34 = tail call i32 (i32, ptr, ptr, i32, ...) @dev_err_ratelimited(i32 noundef %20, ptr noundef nonnull @.str.3, ptr noundef nonnull %16, i32 noundef %9, i32 noundef %12, ptr noundef nonnull %25, ptr noundef nonnull %29, ptr noundef nonnull %33) #2
br label %37
35: ; preds = %2
%36 = tail call i32 (i32, ptr, ptr, i32, ...) @dev_err_ratelimited(i32 noundef %20, ptr noundef nonnull @.str.8, ptr noundef nonnull %16, i32 noundef %9) #2
br label %37
37: ; preds = %35, %21
ret i32 0
}
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err_ratelimited(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"virtio_iommu_fault", !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 12}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"viommu_dev", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_virtio-iommu.c_viommu_fault_handler.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_virtio-iommu.c_viommu_fault_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"domain\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"page\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1
@VIRTIO_IOMMU_FAULT_F_ADDRESS = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"%s fault from EP %u at %#llx [%s%s%s]\0A\00", align 1
@VIRTIO_IOMMU_FAULT_F_READ = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [2 x i8] c"R\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@VIRTIO_IOMMU_FAULT_F_WRITE = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [2 x i8] c"W\00", align 1
@VIRTIO_IOMMU_FAULT_F_EXEC = common local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [2 x i8] c"X\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"%s fault from EP %u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @viommu_fault_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @viommu_fault_handler(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 12
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call i32 @le32_to_cpu(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call i32 @le32_to_cpu(i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %1, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = tail call i32 @le64_to_cpu(i32 noundef %11) #2
%13 = icmp eq i32 %3, 129
%14 = select i1 %13, ptr @.str.1, ptr @.str.2
%15 = icmp eq i32 %3, 130
%16 = select i1 %15, ptr @.str, ptr %14
%17 = load i32, ptr @VIRTIO_IOMMU_FAULT_F_ADDRESS, align 4, !tbaa !14
%18 = and i32 %17, %6
%19 = icmp eq i32 %18, 0
%20 = load i32, ptr %0, align 4, !tbaa !15
br i1 %19, label %35, label %21
21: ; preds = %2
%22 = load i32, ptr @VIRTIO_IOMMU_FAULT_F_READ, align 4, !tbaa !14
%23 = and i32 %22, %6
%24 = icmp eq i32 %23, 0
%25 = select i1 %24, ptr @.str.5, ptr @.str.4
%26 = load i32, ptr @VIRTIO_IOMMU_FAULT_F_WRITE, align 4, !tbaa !14
%27 = and i32 %26, %6
%28 = icmp eq i32 %27, 0
%29 = select i1 %28, ptr @.str.5, ptr @.str.6
%30 = load i32, ptr @VIRTIO_IOMMU_FAULT_F_EXEC, align 4, !tbaa !14
%31 = and i32 %30, %6
%32 = icmp eq i32 %31, 0
%33 = select i1 %32, ptr @.str.5, ptr @.str.7
%34 = tail call i32 (i32, ptr, ptr, i32, ...) @dev_err_ratelimited(i32 noundef %20, ptr noundef nonnull @.str.3, ptr noundef nonnull %16, i32 noundef %9, i32 noundef %12, ptr noundef nonnull %25, ptr noundef nonnull %29, ptr noundef nonnull %33) #2
br label %37
35: ; preds = %2
%36 = tail call i32 (i32, ptr, ptr, i32, ...) @dev_err_ratelimited(i32 noundef %20, ptr noundef nonnull @.str.8, ptr noundef nonnull %16, i32 noundef %9) #2
br label %37
37: ; preds = %35, %21
ret i32 0
}
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err_ratelimited(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"virtio_iommu_fault", !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 12}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 4}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"viommu_dev", !8, i64 0}
| linux_drivers_iommu_extr_virtio-iommu.c_viommu_fault_handler |
; ModuleID = 'AnghaBench/freebsd/contrib/libxo/libxo/extr_libxo.c_xo_line_close.c'
source_filename = "AnghaBench/freebsd/contrib/libxo/libxo/extr_libxo.c_xo_line_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"
@xo_line_close.div_close = internal global [7 x i8] c"</div>\00", align 1
@XOIF_DIV_OPEN = dso_local local_unnamed_addr global i32 0, align 4
@XOF_PRETTY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @xo_line_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xo_line_close(ptr noundef %0) #0 {
%2 = tail call i32 @xo_style(ptr noundef %0) #2
switch i32 %2, label %18 [
i32 129, label %3
i32 128, label %16
]
3: ; preds = %1
%4 = load i32, ptr @XOIF_DIV_OPEN, align 4, !tbaa !5
%5 = tail call i32 @XOIF_ISSET(ptr noundef %0, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @xo_line_ensure_open(ptr noundef %0, i32 noundef 0) #2
br label %9
9: ; preds = %7, %3
%10 = load i32, ptr @XOIF_DIV_OPEN, align 4, !tbaa !5
%11 = tail call i32 @XOIF_CLEAR(ptr noundef %0, i32 noundef %10) #2
%12 = tail call i32 @xo_data_append(ptr noundef %0, ptr noundef nonnull @xo_line_close.div_close, i32 noundef 6) #2
%13 = load i32, ptr @XOF_PRETTY, align 4, !tbaa !5
%14 = tail call i32 @XOF_ISSET(ptr noundef %0, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %1, %9
%17 = tail call i32 @xo_data_append(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 1) #2
br label %18
18: ; preds = %16, %9, %1
ret void
}
declare i32 @xo_style(ptr noundef) local_unnamed_addr #1
declare i32 @XOIF_ISSET(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xo_line_ensure_open(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XOIF_CLEAR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xo_data_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XOF_ISSET(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libxo/libxo/extr_libxo.c_xo_line_close.c'
source_filename = "AnghaBench/freebsd/contrib/libxo/libxo/extr_libxo.c_xo_line_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@xo_line_close.div_close = internal global [7 x i8] c"</div>\00", align 1
@XOIF_DIV_OPEN = common local_unnamed_addr global i32 0, align 4
@XOF_PRETTY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @xo_line_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xo_line_close(ptr noundef %0) #0 {
%2 = tail call i32 @xo_style(ptr noundef %0) #2
switch i32 %2, label %18 [
i32 129, label %3
i32 128, label %16
]
3: ; preds = %1
%4 = load i32, ptr @XOIF_DIV_OPEN, align 4, !tbaa !6
%5 = tail call i32 @XOIF_ISSET(ptr noundef %0, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @xo_line_ensure_open(ptr noundef %0, i32 noundef 0) #2
br label %9
9: ; preds = %7, %3
%10 = load i32, ptr @XOIF_DIV_OPEN, align 4, !tbaa !6
%11 = tail call i32 @XOIF_CLEAR(ptr noundef %0, i32 noundef %10) #2
%12 = tail call i32 @xo_data_append(ptr noundef %0, ptr noundef nonnull @xo_line_close.div_close, i32 noundef 6) #2
%13 = load i32, ptr @XOF_PRETTY, align 4, !tbaa !6
%14 = tail call i32 @XOF_ISSET(ptr noundef %0, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %1, %9
%17 = tail call i32 @xo_data_append(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 1) #2
br label %18
18: ; preds = %16, %9, %1
ret void
}
declare i32 @xo_style(ptr noundef) local_unnamed_addr #1
declare i32 @XOIF_ISSET(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xo_line_ensure_open(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XOIF_CLEAR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xo_data_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XOF_ISSET(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_libxo_libxo_extr_libxo.c_xo_line_close |
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_859.c_ver.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_859.c_ver.c"
target datalayout = "e-m:e-p270:32:32-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 [71 x i8] c" \0A\00", align 1
@.str.1 = private unnamed_addr constant [71 x i8] c" ===================================================[0.1]=====\0A\00", align 1
@.str.2 = private unnamed_addr constant [71 x i8] c" =======Computer Associates, License Client Service===========\0A\00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c" ==============Remote Stack Overflow Exploit==================\0A\00", align 1
@.str.4 = private unnamed_addr constant [71 x i8] c" ======coded by class101==================[Hat-Squad.com]=====\0A\00", align 1
@.str.5 = private unnamed_addr constant [71 x i8] c" =====================================[class101.org 2005]=====\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @ver() local_unnamed_addr #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%2 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.2) #2
%4 = tail call i32 @printf(ptr noundef nonnull @.str.3) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.4) #2
%6 = tail call i32 @printf(ptr noundef nonnull @.str.5) #2
%7 = tail call i32 @printf(ptr noundef nonnull @.str) #2
ret void
}
declare i32 @printf(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/exploitdb/exploits/windows/remote/extr_859.c_ver.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_859.c_ver.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 [71 x i8] c" \0A\00", align 1
@.str.1 = private unnamed_addr constant [71 x i8] c" ===================================================[0.1]=====\0A\00", align 1
@.str.2 = private unnamed_addr constant [71 x i8] c" =======Computer Associates, License Client Service===========\0A\00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c" ==============Remote Stack Overflow Exploit==================\0A\00", align 1
@.str.4 = private unnamed_addr constant [71 x i8] c" ======coded by class101==================[Hat-Squad.com]=====\0A\00", align 1
@.str.5 = private unnamed_addr constant [71 x i8] c" =====================================[class101.org 2005]=====\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @ver() local_unnamed_addr #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%2 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.2) #2
%4 = tail call i32 @printf(ptr noundef nonnull @.str.3) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.4) #2
%6 = tail call i32 @printf(ptr noundef nonnull @.str.5) #2
%7 = tail call i32 @printf(ptr noundef nonnull @.str) #2
ret void
}
declare i32 @printf(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)"}
| exploitdb_exploits_windows_remote_extr_859.c_ver |
; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscFunctionImpl.c_top_func_merge.c'
source_filename = "AnghaBench/TDengine/src/client/src/extr_tscFunctionImpl.c_top_func_merge.c"
target datalayout = "e-m:e-p270:32:32-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_21__ = type { i64, i32, i32, i32, i32, ptr }
%struct.TYPE_19__ = type { i64, ptr }
%struct.TYPE_18__ = type { i32, i32, %struct.TYPE_17__ }
%struct.TYPE_17__ = type { i32 }
@TSDB_DATA_TYPE_BINARY = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @top_func_merge], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @top_func_merge(ptr noundef %0) #0 {
%2 = tail call ptr @GET_INPUT_CHAR(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp slt i64 %3, 1
br i1 %4, label %48, label %5
5: ; preds = %1
%6 = tail call i32 @buildTopBotStruct(ptr noundef nonnull %2, ptr noundef %0) #2
%7 = tail call ptr @GET_RES_INFO(ptr noundef %0) #2
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = icmp eq i64 %8, 0
br i1 %9, label %19, label %10
10: ; preds = %5
%11 = load i64, ptr %0, align 8, !tbaa !13
%12 = load i64, ptr @TSDB_DATA_TYPE_BINARY, align 8, !tbaa !16
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 8, !tbaa !17
%17 = icmp eq i32 %16, 1
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %14, %10, %5
%20 = phi i32 [ 0, %10 ], [ 0, %5 ], [ %18, %14 ]
%21 = tail call i32 @assert(i32 noundef %20) #2
%22 = tail call ptr @getTopBotOutputInfo(ptr noundef %0) #2
%23 = load i64, ptr %2, align 8, !tbaa !5
%24 = icmp eq i64 %23, 0
br i1 %24, label %48, label %25
25: ; preds = %19
%26 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 5
%27 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 1
%28 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 4
%29 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 3
%30 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 2
br label %31
31: ; preds = %25, %31
%32 = phi i64 [ 0, %25 ], [ %45, %31 ]
%33 = load ptr, ptr %26, align 8, !tbaa !18
%34 = load i32, ptr %33, align 4, !tbaa !19
%35 = load ptr, ptr %27, align 8, !tbaa !21
%36 = getelementptr inbounds ptr, ptr %35, i64 %32
%37 = load ptr, ptr %36, align 8, !tbaa !22
%38 = getelementptr inbounds %struct.TYPE_18__, ptr %37, i64 0, i32 2
%39 = getelementptr inbounds %struct.TYPE_18__, ptr %37, i64 0, i32 1
%40 = load i32, ptr %39, align 4, !tbaa !23
%41 = load i32, ptr %28, align 4, !tbaa !26
%42 = load i32, ptr %37, align 4, !tbaa !27
%43 = load i32, ptr %30, align 4, !tbaa !28
%44 = tail call i32 @do_top_function_add(ptr noundef %22, i32 noundef %34, ptr noundef nonnull %38, i32 noundef %40, i32 noundef %41, ptr noundef nonnull %29, i32 noundef %42, i32 noundef %43) #2
%45 = add nuw i64 %32, 1
%46 = load i64, ptr %2, align 8, !tbaa !5
%47 = icmp ult i64 %45, %46
br i1 %47, label %31, label %48, !llvm.loop !29
48: ; preds = %31, %19, %1
ret void
}
declare ptr @GET_INPUT_CHAR(ptr noundef) local_unnamed_addr #1
declare i32 @buildTopBotStruct(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @GET_RES_INFO(ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @getTopBotOutputInfo(ptr noundef) local_unnamed_addr #1
declare i32 @do_top_function_add(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_19__", !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, !7, i64 0}
!12 = !{!"TYPE_20__", !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_21__", !7, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !10, i64 24}
!15 = !{!"int", !8, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!14, !15, i64 8}
!18 = !{!14, !10, i64 24}
!19 = !{!20, !15, i64 0}
!20 = !{!"TYPE_16__", !15, i64 0}
!21 = !{!6, !10, i64 8}
!22 = !{!10, !10, i64 0}
!23 = !{!24, !15, i64 4}
!24 = !{!"TYPE_18__", !15, i64 0, !15, i64 4, !25, i64 8}
!25 = !{!"TYPE_17__", !15, i64 0}
!26 = !{!14, !15, i64 20}
!27 = !{!24, !15, i64 0}
!28 = !{!14, !15, i64 12}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscFunctionImpl.c_top_func_merge.c'
source_filename = "AnghaBench/TDengine/src/client/src/extr_tscFunctionImpl.c_top_func_merge.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TSDB_DATA_TYPE_BINARY = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @top_func_merge], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @top_func_merge(ptr noundef %0) #0 {
%2 = tail call ptr @GET_INPUT_CHAR(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp slt i64 %3, 1
br i1 %4, label %48, label %5
5: ; preds = %1
%6 = tail call i32 @buildTopBotStruct(ptr noundef nonnull %2, ptr noundef %0) #2
%7 = tail call ptr @GET_RES_INFO(ptr noundef %0) #2
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = icmp eq i64 %8, 0
br i1 %9, label %19, label %10
10: ; preds = %5
%11 = load i64, ptr %0, align 8, !tbaa !14
%12 = load i64, ptr @TSDB_DATA_TYPE_BINARY, align 8, !tbaa !17
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i32, ptr %15, align 8, !tbaa !18
%17 = icmp eq i32 %16, 1
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %14, %10, %5
%20 = phi i32 [ 0, %10 ], [ 0, %5 ], [ %18, %14 ]
%21 = tail call i32 @assert(i32 noundef %20) #2
%22 = tail call ptr @getTopBotOutputInfo(ptr noundef %0) #2
%23 = load i64, ptr %2, align 8, !tbaa !6
%24 = icmp eq i64 %23, 0
br i1 %24, label %48, label %25
25: ; preds = %19
%26 = getelementptr inbounds i8, ptr %0, i64 24
%27 = getelementptr inbounds i8, ptr %2, i64 8
%28 = getelementptr inbounds i8, ptr %0, i64 20
%29 = getelementptr inbounds i8, ptr %0, i64 16
%30 = getelementptr inbounds i8, ptr %0, i64 12
br label %31
31: ; preds = %25, %31
%32 = phi i64 [ 0, %25 ], [ %45, %31 ]
%33 = load ptr, ptr %26, align 8, !tbaa !19
%34 = load i32, ptr %33, align 4, !tbaa !20
%35 = load ptr, ptr %27, align 8, !tbaa !22
%36 = getelementptr inbounds ptr, ptr %35, i64 %32
%37 = load ptr, ptr %36, align 8, !tbaa !23
%38 = getelementptr inbounds i8, ptr %37, i64 8
%39 = getelementptr inbounds i8, ptr %37, i64 4
%40 = load i32, ptr %39, align 4, !tbaa !24
%41 = load i32, ptr %28, align 4, !tbaa !27
%42 = load i32, ptr %37, align 4, !tbaa !28
%43 = load i32, ptr %30, align 4, !tbaa !29
%44 = tail call i32 @do_top_function_add(ptr noundef %22, i32 noundef %34, ptr noundef nonnull %38, i32 noundef %40, i32 noundef %41, ptr noundef nonnull %29, i32 noundef %42, i32 noundef %43) #2
%45 = add nuw i64 %32, 1
%46 = load i64, ptr %2, align 8, !tbaa !6
%47 = icmp ult i64 %45, %46
br i1 %47, label %31, label %48, !llvm.loop !30
48: ; preds = %31, %19, %1
ret void
}
declare ptr @GET_INPUT_CHAR(ptr noundef) local_unnamed_addr #1
declare i32 @buildTopBotStruct(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @GET_RES_INFO(ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @getTopBotOutputInfo(ptr noundef) local_unnamed_addr #1
declare i32 @do_top_function_add(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_19__", !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, !8, i64 0}
!13 = !{!"TYPE_20__", !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_21__", !8, i64 0, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !11, i64 24}
!16 = !{!"int", !9, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!15, !16, i64 8}
!19 = !{!15, !11, i64 24}
!20 = !{!21, !16, i64 0}
!21 = !{!"TYPE_16__", !16, i64 0}
!22 = !{!7, !11, i64 8}
!23 = !{!11, !11, i64 0}
!24 = !{!25, !16, i64 4}
!25 = !{!"TYPE_18__", !16, i64 0, !16, i64 4, !26, i64 8}
!26 = !{!"TYPE_17__", !16, i64 0}
!27 = !{!15, !16, i64 20}
!28 = !{!25, !16, i64 0}
!29 = !{!15, !16, i64 12}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
| TDengine_src_client_src_extr_tscFunctionImpl.c_top_func_merge |
; ModuleID = 'AnghaBench/linux/sound/soc/fsl/extr_fsl_dma.c_fsl_dma_new.c'
source_filename = "AnghaBench/linux/sound/soc/fsl/extr_fsl_dma.c_fsl_dma_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32 }
%struct.snd_soc_pcm_runtime = type { ptr, ptr }
%struct.TYPE_7__ = type { ptr }
@SNDRV_PCM_STREAM_PLAYBACK = dso_local local_unnamed_addr global i64 0, align 8
@SNDRV_DMA_TYPE_DEV = dso_local local_unnamed_addr global i32 0, align 4
@fsl_dma_hardware = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4
@.str = private unnamed_addr constant [33 x i8] c"can't alloc playback dma buffer\0A\00", align 1
@SNDRV_PCM_STREAM_CAPTURE = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [32 x i8] c"can't alloc capture dma buffer\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @fsl_dma_new], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fsl_dma_new(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.snd_soc_pcm_runtime, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load ptr, ptr %0, align 8, !tbaa !12
%6 = load i32, ptr %4, align 4, !tbaa !13
%7 = tail call i32 @DMA_BIT_MASK(i32 noundef 36) #2
%8 = tail call i32 @dma_coerce_mask_and_coherent(i32 noundef %6, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %47
10: ; preds = %1
%11 = load ptr, ptr %5, align 8, !tbaa !16
%12 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !18
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8, !tbaa !20
%15 = icmp eq ptr %14, null
br i1 %15, label %27, label %16
16: ; preds = %10
%17 = load i32, ptr @SNDRV_DMA_TYPE_DEV, align 4, !tbaa !22
%18 = load i32, ptr %4, align 4, !tbaa !13
%19 = load i32, ptr @fsl_dma_hardware, align 4, !tbaa !23
%20 = tail call i32 @snd_dma_alloc_pages(i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef nonnull %14) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %16
%23 = load ptr, ptr %5, align 8, !tbaa !16
br label %27
24: ; preds = %16
%25 = load i32, ptr %4, align 4, !tbaa !13
%26 = tail call i32 @dev_err(i32 noundef %25, ptr noundef nonnull @.str) #2
br label %47
27: ; preds = %22, %10
%28 = phi ptr [ %23, %22 ], [ %11, %10 ]
%29 = load i64, ptr @SNDRV_PCM_STREAM_CAPTURE, align 8, !tbaa !18
%30 = getelementptr inbounds %struct.TYPE_7__, ptr %28, i64 %29
%31 = load ptr, ptr %30, align 8, !tbaa !20
%32 = icmp eq ptr %31, null
br i1 %32, label %47, label %33
33: ; preds = %27
%34 = load i32, ptr @SNDRV_DMA_TYPE_DEV, align 4, !tbaa !22
%35 = load i32, ptr %4, align 4, !tbaa !13
%36 = load i32, ptr @fsl_dma_hardware, align 4, !tbaa !23
%37 = tail call i32 @snd_dma_alloc_pages(i32 noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef nonnull %31) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %47, label %39
39: ; preds = %33
%40 = load i32, ptr %4, align 4, !tbaa !13
%41 = tail call i32 @dev_err(i32 noundef %40, ptr noundef nonnull @.str.1) #2
%42 = load ptr, ptr %5, align 8, !tbaa !16
%43 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !18
%44 = getelementptr inbounds %struct.TYPE_7__, ptr %42, i64 %43
%45 = load ptr, ptr %44, align 8, !tbaa !20
%46 = tail call i32 @snd_dma_free_pages(ptr noundef %45) #2
br label %47
47: ; preds = %27, %33, %1, %39, %24
%48 = phi i32 [ %20, %24 ], [ %37, %39 ], [ %8, %1 ], [ 0, %33 ], [ 0, %27 ]
ret i32 %48
}
declare i32 @dma_coerce_mask_and_coherent(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DMA_BIT_MASK(i32 noundef) local_unnamed_addr #1
declare i32 @snd_dma_alloc_pages(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_dma_free_pages(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 = !{!"snd_soc_pcm_runtime", !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 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"snd_card", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"snd_pcm", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !8, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_7__", !7, i64 0}
!22 = !{!15, !15, i64 0}
!23 = !{!24, !15, i64 0}
!24 = !{!"TYPE_8__", !15, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/fsl/extr_fsl_dma.c_fsl_dma_new.c'
source_filename = "AnghaBench/linux/sound/soc/fsl/extr_fsl_dma.c_fsl_dma_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_7__ = type { ptr }
@SNDRV_PCM_STREAM_PLAYBACK = common local_unnamed_addr global i64 0, align 8
@SNDRV_DMA_TYPE_DEV = common local_unnamed_addr global i32 0, align 4
@fsl_dma_hardware = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4
@.str = private unnamed_addr constant [33 x i8] c"can't alloc playback dma buffer\0A\00", align 1
@SNDRV_PCM_STREAM_CAPTURE = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [32 x i8] c"can't alloc capture dma buffer\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @fsl_dma_new], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fsl_dma_new(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load ptr, ptr %0, align 8, !tbaa !13
%6 = load i32, ptr %4, align 4, !tbaa !14
%7 = tail call i32 @DMA_BIT_MASK(i32 noundef 36) #2
%8 = tail call i32 @dma_coerce_mask_and_coherent(i32 noundef %6, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %47
10: ; preds = %1
%11 = load ptr, ptr %5, align 8, !tbaa !17
%12 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !19
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8, !tbaa !21
%15 = icmp eq ptr %14, null
br i1 %15, label %27, label %16
16: ; preds = %10
%17 = load i32, ptr @SNDRV_DMA_TYPE_DEV, align 4, !tbaa !23
%18 = load i32, ptr %4, align 4, !tbaa !14
%19 = load i32, ptr @fsl_dma_hardware, align 4, !tbaa !24
%20 = tail call i32 @snd_dma_alloc_pages(i32 noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef nonnull %14) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %16
%23 = load ptr, ptr %5, align 8, !tbaa !17
br label %27
24: ; preds = %16
%25 = load i32, ptr %4, align 4, !tbaa !14
%26 = tail call i32 @dev_err(i32 noundef %25, ptr noundef nonnull @.str) #2
br label %47
27: ; preds = %22, %10
%28 = phi ptr [ %23, %22 ], [ %11, %10 ]
%29 = load i64, ptr @SNDRV_PCM_STREAM_CAPTURE, align 8, !tbaa !19
%30 = getelementptr inbounds %struct.TYPE_7__, ptr %28, i64 %29
%31 = load ptr, ptr %30, align 8, !tbaa !21
%32 = icmp eq ptr %31, null
br i1 %32, label %47, label %33
33: ; preds = %27
%34 = load i32, ptr @SNDRV_DMA_TYPE_DEV, align 4, !tbaa !23
%35 = load i32, ptr %4, align 4, !tbaa !14
%36 = load i32, ptr @fsl_dma_hardware, align 4, !tbaa !24
%37 = tail call i32 @snd_dma_alloc_pages(i32 noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef nonnull %31) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %47, label %39
39: ; preds = %33
%40 = load i32, ptr %4, align 4, !tbaa !14
%41 = tail call i32 @dev_err(i32 noundef %40, ptr noundef nonnull @.str.1) #2
%42 = load ptr, ptr %5, align 8, !tbaa !17
%43 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !19
%44 = getelementptr inbounds %struct.TYPE_7__, ptr %42, i64 %43
%45 = load ptr, ptr %44, align 8, !tbaa !21
%46 = tail call i32 @snd_dma_free_pages(ptr noundef %45) #2
br label %47
47: ; preds = %27, %33, %1, %39, %24
%48 = phi i32 [ %20, %24 ], [ %37, %39 ], [ %8, %1 ], [ 0, %33 ], [ 0, %27 ]
ret i32 %48
}
declare i32 @dma_coerce_mask_and_coherent(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DMA_BIT_MASK(i32 noundef) local_unnamed_addr #1
declare i32 @snd_dma_alloc_pages(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_dma_free_pages(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 = !{!"snd_soc_pcm_runtime", !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 = !{!"TYPE_5__", !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"snd_card", !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"snd_pcm", !8, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !9, i64 0}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_7__", !8, i64 0}
!23 = !{!16, !16, i64 0}
!24 = !{!25, !16, i64 0}
!25 = !{!"TYPE_8__", !16, i64 0}
| linux_sound_soc_fsl_extr_fsl_dma.c_fsl_dma_new |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_mac.c_ar9003_hw_rx_enable.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_mac.c_ar9003_hw_rx_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AR_CR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ar9003_hw_rx_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ar9003_hw_rx_enable(ptr noundef %0) #0 {
%2 = load i32, ptr @AR_CR, align 4, !tbaa !5
%3 = tail call i32 @REG_WRITE(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
ret void
}
declare i32 @REG_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_mac.c_ar9003_hw_rx_enable.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_mac.c_ar9003_hw_rx_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AR_CR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ar9003_hw_rx_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ar9003_hw_rx_enable(ptr noundef %0) #0 {
%2 = load i32, ptr @AR_CR, align 4, !tbaa !6
%3 = tail call i32 @REG_WRITE(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
ret void
}
declare i32 @REG_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_ath_ath9k_extr_ar9003_mac.c_ar9003_hw_rx_enable |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/core/extr_hcd.c_usb_hcd_giveback_urb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/core/extr_hcd.c_usb_hcd_giveback_urb.c"
target datalayout = "e-m:e-p270:32:32-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.urb = type { i32, i32, i64, i64, i32, i32, i32, ptr, ptr }
@URB_SHORT_NOT_OK = dso_local local_unnamed_addr global i32 0, align 4
@EREMOTEIO = dso_local local_unnamed_addr global i32 0, align 4
@usb_kill_urb_queue = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @usb_hcd_giveback_urb(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 8
store ptr null, ptr %4, align 8, !tbaa !5
%5 = load i32, ptr %1, align 8, !tbaa !12
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = load i32, ptr %1, align 8, !tbaa !12
br label %32
10: ; preds = %3
%11 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = load i32, ptr @URB_SHORT_NOT_OK, align 4, !tbaa !14
%14 = and i32 %13, %12
%15 = icmp eq i32 %14, 0
br i1 %15, label %25, label %16
16: ; preds = %10
%17 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 2
%18 = load i64, ptr %17, align 8, !tbaa !15
%19 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 3
%20 = load i64, ptr %19, align 8, !tbaa !16
%21 = icmp slt i64 %18, %20
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = icmp eq i32 %2, 0
%24 = zext i1 %23 to i32
br label %25
25: ; preds = %22, %16, %10
%26 = phi i32 [ 0, %16 ], [ 0, %10 ], [ %24, %22 ]
%27 = tail call i64 @unlikely(i32 noundef %26) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %25
%30 = load i32, ptr @EREMOTEIO, align 4, !tbaa !14
%31 = sub nsw i32 0, %30
br label %32
32: ; preds = %25, %29, %8
%33 = phi i32 [ %9, %8 ], [ %31, %29 ], [ %2, %25 ]
%34 = tail call i32 @unmap_urb_for_dma(ptr noundef %0, ptr noundef nonnull %1) #2
%35 = tail call i32 @usbmon_urb_complete(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %33) #2
%36 = tail call i32 @usb_unanchor_urb(ptr noundef nonnull %1) #2
%37 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 4
store i32 %33, ptr %37, align 8, !tbaa !17
%38 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 7
%39 = load ptr, ptr %38, align 8, !tbaa !18
%40 = tail call i32 %39(ptr noundef nonnull %1) #2
%41 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 6
%42 = tail call i32 @atomic_dec(ptr noundef nonnull %41) #2
%43 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 5
%44 = tail call i32 @atomic_read(ptr noundef nonnull %43) #2
%45 = tail call i64 @unlikely(i32 noundef %44) #2
%46 = icmp eq i64 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %32
%48 = tail call i32 @wake_up(ptr noundef nonnull @usb_kill_urb_queue) #2
br label %49
49: ; preds = %47, %32
%50 = tail call i32 @usb_put_urb(ptr noundef nonnull %1) #2
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @unmap_urb_for_dma(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usbmon_urb_complete(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_unanchor_urb(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up(ptr noundef) local_unnamed_addr #1
declare i32 @usb_put_urb(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 48}
!6 = !{!"urb", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !11, i64 40, !11, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !10, i64 16}
!17 = !{!6, !7, i64 24}
!18 = !{!6, !11, i64 40}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/core/extr_hcd.c_usb_hcd_giveback_urb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/core/extr_hcd.c_usb_hcd_giveback_urb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@URB_SHORT_NOT_OK = common local_unnamed_addr global i32 0, align 4
@EREMOTEIO = common local_unnamed_addr global i32 0, align 4
@usb_kill_urb_queue = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @usb_hcd_giveback_urb(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 48
store ptr null, ptr %4, align 8, !tbaa !6
%5 = load i32, ptr %1, align 8, !tbaa !13
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = load i32, ptr %1, align 8, !tbaa !13
br label %32
10: ; preds = %3
%11 = getelementptr inbounds i8, ptr %1, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = load i32, ptr @URB_SHORT_NOT_OK, align 4, !tbaa !15
%14 = and i32 %13, %12
%15 = icmp eq i32 %14, 0
br i1 %15, label %25, label %16
16: ; preds = %10
%17 = getelementptr inbounds i8, ptr %1, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !16
%19 = getelementptr inbounds i8, ptr %1, i64 16
%20 = load i64, ptr %19, align 8, !tbaa !17
%21 = icmp slt i64 %18, %20
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = icmp eq i32 %2, 0
%24 = zext i1 %23 to i32
br label %25
25: ; preds = %22, %16, %10
%26 = phi i32 [ 0, %16 ], [ 0, %10 ], [ %24, %22 ]
%27 = tail call i64 @unlikely(i32 noundef %26) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %25
%30 = load i32, ptr @EREMOTEIO, align 4, !tbaa !15
%31 = sub nsw i32 0, %30
br label %32
32: ; preds = %25, %29, %8
%33 = phi i32 [ %9, %8 ], [ %31, %29 ], [ %2, %25 ]
%34 = tail call i32 @unmap_urb_for_dma(ptr noundef %0, ptr noundef nonnull %1) #2
%35 = tail call i32 @usbmon_urb_complete(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %33) #2
%36 = tail call i32 @usb_unanchor_urb(ptr noundef nonnull %1) #2
%37 = getelementptr inbounds i8, ptr %1, i64 24
store i32 %33, ptr %37, align 8, !tbaa !18
%38 = getelementptr inbounds i8, ptr %1, i64 40
%39 = load ptr, ptr %38, align 8, !tbaa !19
%40 = tail call i32 %39(ptr noundef nonnull %1) #2
%41 = getelementptr inbounds i8, ptr %1, i64 32
%42 = tail call i32 @atomic_dec(ptr noundef nonnull %41) #2
%43 = getelementptr inbounds i8, ptr %1, i64 28
%44 = tail call i32 @atomic_read(ptr noundef nonnull %43) #2
%45 = tail call i64 @unlikely(i32 noundef %44) #2
%46 = icmp eq i64 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %32
%48 = tail call i32 @wake_up(ptr noundef nonnull @usb_kill_urb_queue) #2
br label %49
49: ; preds = %47, %32
%50 = tail call i32 @usb_put_urb(ptr noundef nonnull %1) #2
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @unmap_urb_for_dma(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usbmon_urb_complete(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_unanchor_urb(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up(ptr noundef) local_unnamed_addr #1
declare i32 @usb_put_urb(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 48}
!7 = !{!"urb", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !12, i64 40, !12, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !11, i64 8}
!17 = !{!7, !11, i64 16}
!18 = !{!7, !8, i64 24}
!19 = !{!7, !12, i64 40}
| fastsocket_kernel_drivers_usb_core_extr_hcd.c_usb_hcd_giveback_urb |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_saa717x.c_set_v_scale.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_saa717x.c_set_v_scale.c"
target datalayout = "e-m:e-p270:32:32-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 @set_v_scale], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @set_v_scale(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = shl nsw i32 %1, 6
%5 = add nsw i32 %4, 112
%6 = and i32 %2, 255
%7 = tail call i32 @saa717x_write(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = add nsw i32 %4, 113
%9 = ashr i32 %2, 8
%10 = tail call i32 @saa717x_write(ptr noundef %0, i32 noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @saa717x_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_saa717x.c_set_v_scale.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_saa717x.c_set_v_scale.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 @set_v_scale], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @set_v_scale(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = shl nsw i32 %1, 6
%5 = add nsw i32 %4, 112
%6 = and i32 %2, 255
%7 = tail call i32 @saa717x_write(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = add nsw i32 %4, 113
%9 = ashr i32 %2, 8
%10 = tail call i32 @saa717x_write(ptr noundef %0, i32 noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @saa717x_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_media_i2c_extr_saa717x.c_set_v_scale |
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_udp.c___udp_disconnect.c'
source_filename = "AnghaBench/linux/net/ipv4/extr_udp.c___udp_disconnect.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sock = type { i32, ptr, i64, i32 }
%struct.inet_sock = type { i64, i64, i64 }
@TCP_CLOSE = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_BINDADDR_LOCK = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_BINDPORT_LOCK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @__udp_disconnect(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @inet_sk(ptr noundef %0) #3
%4 = load i32, ptr @TCP_CLOSE, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.sock, ptr %0, i64 0, i32 3
store i32 %4, ptr %5, align 8, !tbaa !9
%6 = getelementptr inbounds %struct.inet_sock, ptr %3, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
%7 = tail call i32 @sock_rps_reset_rxhash(ptr noundef %0) #3
%8 = getelementptr inbounds %struct.sock, ptr %0, i64 0, i32 2
store i64 0, ptr %8, align 8, !tbaa !13
%9 = load i32, ptr %0, align 8, !tbaa !14
%10 = load i32, ptr @SOCK_BINDADDR_LOCK, align 4, !tbaa !5
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = tail call i32 @inet_reset_saddr(ptr noundef nonnull %0) #3
%15 = load i32, ptr %0, align 8, !tbaa !14
br label %16
16: ; preds = %13, %2
%17 = phi i32 [ %15, %13 ], [ %9, %2 ]
%18 = load i32, ptr @SOCK_BINDPORT_LOCK, align 4, !tbaa !5
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %16
%22 = getelementptr inbounds %struct.sock, ptr %0, i64 0, i32 1
%23 = load ptr, ptr %22, align 8, !tbaa !15
%24 = load ptr, ptr %23, align 8, !tbaa !16
%25 = tail call i32 %24(ptr noundef nonnull %0) #3
store i64 0, ptr %3, align 8, !tbaa !18
br label %26
26: ; preds = %21, %16
%27 = tail call i32 @sk_dst_reset(ptr noundef nonnull %0) #3
ret i32 0
}
declare ptr @inet_sk(ptr noundef) local_unnamed_addr #1
declare i32 @sock_rps_reset_rxhash(ptr noundef) local_unnamed_addr #1
declare i32 @inet_reset_saddr(ptr noundef) local_unnamed_addr #1
declare i32 @sk_dst_reset(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 24}
!10 = !{!"sock", !6, i64 0, !11, i64 8, !12, i64 16, !6, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!10, !6, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_2__", !11, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"inet_sock", !12, i64 0, !12, i64 8, !12, i64 16}
| ; ModuleID = 'AnghaBench/linux/net/ipv4/extr_udp.c___udp_disconnect.c'
source_filename = "AnghaBench/linux/net/ipv4/extr_udp.c___udp_disconnect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TCP_CLOSE = common local_unnamed_addr global i32 0, align 4
@SOCK_BINDADDR_LOCK = common local_unnamed_addr global i32 0, align 4
@SOCK_BINDPORT_LOCK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @__udp_disconnect(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @inet_sk(ptr noundef %0) #3
%4 = load i32, ptr @TCP_CLOSE, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %4, ptr %5, align 8, !tbaa !10
%6 = getelementptr inbounds i8, ptr %3, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
%7 = tail call i32 @sock_rps_reset_rxhash(ptr noundef %0) #3
%8 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %8, align 8, !tbaa !14
%9 = load i32, ptr %0, align 8, !tbaa !15
%10 = load i32, ptr @SOCK_BINDADDR_LOCK, align 4, !tbaa !6
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = tail call i32 @inet_reset_saddr(ptr noundef nonnull %0) #3
%15 = load i32, ptr %0, align 8, !tbaa !15
br label %16
16: ; preds = %13, %2
%17 = phi i32 [ %15, %13 ], [ %9, %2 ]
%18 = load i32, ptr @SOCK_BINDPORT_LOCK, align 4, !tbaa !6
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %16
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = load ptr, ptr %22, align 8, !tbaa !16
%24 = load ptr, ptr %23, align 8, !tbaa !17
%25 = tail call i32 %24(ptr noundef nonnull %0) #3
store i64 0, ptr %3, align 8, !tbaa !19
br label %26
26: ; preds = %21, %16
%27 = tail call i32 @sk_dst_reset(ptr noundef nonnull %0) #3
ret i32 0
}
declare ptr @inet_sk(ptr noundef) local_unnamed_addr #1
declare i32 @sock_rps_reset_rxhash(ptr noundef) local_unnamed_addr #1
declare i32 @inet_reset_saddr(ptr noundef) local_unnamed_addr #1
declare i32 @sk_dst_reset(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 24}
!11 = !{!"sock", !7, i64 0, !12, i64 8, !13, i64 16, !7, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = !{!11, !7, i64 0}
!16 = !{!11, !12, i64 8}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_2__", !12, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"inet_sock", !13, i64 0, !13, i64 8, !13, i64 16}
| linux_net_ipv4_extr_udp.c___udp_disconnect |
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_dma-jz4780.c_jz4780_dma_free_chan_resources.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_dma-jz4780.c_jz4780_dma_free_chan_resources.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.jz4780_dma_chan = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @jz4780_dma_free_chan_resources], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @jz4780_dma_free_chan_resources(ptr noundef %0) #0 {
%2 = tail call ptr @to_jz4780_dma_chan(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.jz4780_dma_chan, ptr %2, i64 0, i32 1
%4 = tail call i32 @vchan_free_chan_resources(ptr noundef nonnull %3) #2
%5 = load ptr, ptr %2, align 8, !tbaa !5
%6 = tail call i32 @dma_pool_destroy(ptr noundef %5) #2
store ptr null, ptr %2, align 8, !tbaa !5
ret void
}
declare ptr @to_jz4780_dma_chan(ptr noundef) local_unnamed_addr #1
declare i32 @vchan_free_chan_resources(ptr noundef) local_unnamed_addr #1
declare i32 @dma_pool_destroy(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 = !{!"jz4780_dma_chan", !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}
| ; ModuleID = 'AnghaBench/linux/drivers/dma/extr_dma-jz4780.c_jz4780_dma_free_chan_resources.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_dma-jz4780.c_jz4780_dma_free_chan_resources.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 @jz4780_dma_free_chan_resources], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @jz4780_dma_free_chan_resources(ptr noundef %0) #0 {
%2 = tail call ptr @to_jz4780_dma_chan(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = tail call i32 @vchan_free_chan_resources(ptr noundef nonnull %3) #2
%5 = load ptr, ptr %2, align 8, !tbaa !6
%6 = tail call i32 @dma_pool_destroy(ptr noundef %5) #2
store ptr null, ptr %2, align 8, !tbaa !6
ret void
}
declare ptr @to_jz4780_dma_chan(ptr noundef) local_unnamed_addr #1
declare i32 @vchan_free_chan_resources(ptr noundef) local_unnamed_addr #1
declare i32 @dma_pool_destroy(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 = !{!"jz4780_dma_chan", !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}
| linux_drivers_dma_extr_dma-jz4780.c_jz4780_dma_free_chan_resources |
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_or_8_er_pcdi.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_or_8_er_pcdi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DX = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_N = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_C = dso_local local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_V = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @m68k_op_or_8_er_pcdi], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @m68k_op_or_8_er_pcdi() #0 {
%1 = tail call i32 (...) @OPER_PCDI_8() #2
%2 = load i32, ptr @DX, align 4, !tbaa !5
%3 = or i32 %2, %1
store i32 %3, ptr @DX, align 4, !tbaa !5
%4 = tail call i32 @MASK_OUT_ABOVE_8(i32 noundef %3) #2
%5 = tail call i32 @NFLAG_8(i32 noundef %4) #2
store i32 %5, ptr @FLAG_N, align 4, !tbaa !5
store i32 %4, ptr @FLAG_Z, align 4, !tbaa !5
%6 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !5
store i32 %6, ptr @FLAG_C, align 4, !tbaa !5
%7 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !5
store i32 %7, ptr @FLAG_V, align 4, !tbaa !5
ret void
}
declare i32 @MASK_OUT_ABOVE_8(i32 noundef) local_unnamed_addr #1
declare i32 @OPER_PCDI_8(...) local_unnamed_addr #1
declare i32 @NFLAG_8(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_or_8_er_pcdi.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_or_8_er_pcdi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DX = common local_unnamed_addr global i32 0, align 4
@FLAG_N = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
@CFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_C = common local_unnamed_addr global i32 0, align 4
@VFLAG_CLEAR = common local_unnamed_addr global i32 0, align 4
@FLAG_V = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @m68k_op_or_8_er_pcdi], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @m68k_op_or_8_er_pcdi() #0 {
%1 = tail call i32 @OPER_PCDI_8() #2
%2 = load i32, ptr @DX, align 4, !tbaa !6
%3 = or i32 %2, %1
store i32 %3, ptr @DX, align 4, !tbaa !6
%4 = tail call i32 @MASK_OUT_ABOVE_8(i32 noundef %3) #2
%5 = tail call i32 @NFLAG_8(i32 noundef %4) #2
store i32 %5, ptr @FLAG_N, align 4, !tbaa !6
store i32 %4, ptr @FLAG_Z, align 4, !tbaa !6
%6 = load i32, ptr @CFLAG_CLEAR, align 4, !tbaa !6
store i32 %6, ptr @FLAG_C, align 4, !tbaa !6
%7 = load i32, ptr @VFLAG_CLEAR, align 4, !tbaa !6
store i32 %7, ptr @FLAG_V, align 4, !tbaa !6
ret void
}
declare i32 @MASK_OUT_ABOVE_8(i32 noundef) local_unnamed_addr #1
declare i32 @OPER_PCDI_8(...) local_unnamed_addr #1
declare i32 @NFLAG_8(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_or_8_er_pcdi |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_ak4642.c_ak4642_dai_set_sysclk.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_ak4642.c_ak4642_dai_set_sysclk.c"
target datalayout = "e-m:e-p270:32:32-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 @ak4642_dai_set_sysclk], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @ak4642_dai_set_sysclk(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, i32 %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !10
store i32 %2, ptr %6, align 4, !tbaa !12
ret i32 0
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_soc_dai", !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 = !{!"snd_soc_codec", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"ak4642_priv", !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_ak4642.c_ak4642_dai_set_sysclk.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_ak4642.c_ak4642_dai_set_sysclk.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 @ak4642_dai_set_sysclk], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @ak4642_dai_set_sysclk(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, i32 %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !11
store i32 %2, ptr %6, align 4, !tbaa !13
ret i32 0
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_soc_dai", !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 = !{!"snd_soc_codec", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"ak4642_priv", !15, i64 0}
!15 = !{!"int", !9, i64 0}
| fastsocket_kernel_sound_soc_codecs_extr_ak4642.c_ak4642_dai_set_sysclk |
; ModuleID = 'AnghaBench/openssl/engines/extr_e_dasync_err.c_ERR_DASYNC_error.c'
source_filename = "AnghaBench/openssl/engines/extr_e_dasync_err.c_ERR_DASYNC_error.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@lib_code = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ERR_DASYNC_error], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ERR_DASYNC_error(i32 %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i64, ptr @lib_code, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %4
%8 = tail call i64 (...) @ERR_get_next_error_library() #2
store i64 %8, ptr @lib_code, align 8, !tbaa !5
br label %9
9: ; preds = %7, %4
%10 = phi i64 [ %8, %7 ], [ %5, %4 ]
%11 = tail call i32 @ERR_raise(i64 noundef %10, i32 noundef %1) #2
%12 = tail call i32 @ERR_set_debug(ptr noundef %2, i32 noundef %3, ptr noundef null) #2
ret void
}
declare i64 @ERR_get_next_error_library(...) local_unnamed_addr #1
declare i32 @ERR_raise(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR_set_debug(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/openssl/engines/extr_e_dasync_err.c_ERR_DASYNC_error.c'
source_filename = "AnghaBench/openssl/engines/extr_e_dasync_err.c_ERR_DASYNC_error.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@lib_code = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ERR_DASYNC_error], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ERR_DASYNC_error(i32 %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i64, ptr @lib_code, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %4
%8 = tail call i64 @ERR_get_next_error_library() #2
store i64 %8, ptr @lib_code, align 8, !tbaa !6
br label %9
9: ; preds = %7, %4
%10 = phi i64 [ %8, %7 ], [ %5, %4 ]
%11 = tail call i32 @ERR_raise(i64 noundef %10, i32 noundef %1) #2
%12 = tail call i32 @ERR_set_debug(ptr noundef %2, i32 noundef %3, ptr noundef null) #2
ret void
}
declare i64 @ERR_get_next_error_library(...) local_unnamed_addr #1
declare i32 @ERR_raise(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR_set_debug(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| openssl_engines_extr_e_dasync_err.c_ERR_DASYNC_error |
; ModuleID = 'AnghaBench/timescaledb/tsl/src/continuous_aggs/extr_insert.c__continuous_aggs_cache_inval_init.c'
source_filename = "AnghaBench/timescaledb/tsl/src/continuous_aggs/extr_insert.c__continuous_aggs_cache_inval_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"
@continuous_agg_xact_invalidation_callback = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @_continuous_aggs_cache_inval_init() local_unnamed_addr #0 {
%1 = load i32, ptr @continuous_agg_xact_invalidation_callback, align 4, !tbaa !5
%2 = tail call i32 @RegisterXactCallback(i32 noundef %1, ptr noundef null) #2
ret void
}
declare i32 @RegisterXactCallback(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/timescaledb/tsl/src/continuous_aggs/extr_insert.c__continuous_aggs_cache_inval_init.c'
source_filename = "AnghaBench/timescaledb/tsl/src/continuous_aggs/extr_insert.c__continuous_aggs_cache_inval_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@continuous_agg_xact_invalidation_callback = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @_continuous_aggs_cache_inval_init() local_unnamed_addr #0 {
%1 = load i32, ptr @continuous_agg_xact_invalidation_callback, align 4, !tbaa !6
%2 = tail call i32 @RegisterXactCallback(i32 noundef %1, ptr noundef null) #2
ret void
}
declare i32 @RegisterXactCallback(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"}
| timescaledb_tsl_src_continuous_aggs_extr_insert.c__continuous_aggs_cache_inval_init |
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_atmel-sha.c_atmel_sha_hmac_key_set.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_atmel-sha.c_atmel_sha_hmac_key_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"
%struct.atmel_sha_hmac_key = type { i32, i32, i32, i32 }
@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 @atmel_sha_hmac_key_set], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @atmel_sha_hmac_key_set(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @atmel_sha_hmac_key_release(ptr noundef %0) #2
%5 = icmp ugt i32 %2, 4
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%8 = tail call i32 @kmemdup(ptr noundef %1, i32 noundef %2, i32 noundef %7) #2
%9 = getelementptr inbounds %struct.atmel_sha_hmac_key, ptr %0, i64 0, i32 3
store i32 %8, ptr %9, align 4, !tbaa !9
%10 = icmp eq i32 %8, 0
br i1 %10, label %11, label %18
11: ; preds = %6
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%13 = sub nsw i32 0, %12
br label %20
14: ; preds = %3
%15 = getelementptr inbounds %struct.atmel_sha_hmac_key, ptr %0, i64 0, i32 2
%16 = load i32, ptr %15, align 4, !tbaa !11
%17 = tail call i32 @memcpy(i32 noundef %16, ptr noundef %1, i32 noundef %2) #2
br label %18
18: ; preds = %6, %14
store i32 1, ptr %0, align 4, !tbaa !12
%19 = getelementptr inbounds %struct.atmel_sha_hmac_key, ptr %0, i64 0, i32 1
store i32 %2, ptr %19, align 4, !tbaa !13
br label %20
20: ; preds = %18, %11
%21 = phi i32 [ 0, %18 ], [ %13, %11 ]
ret i32 %21
}
declare i32 @atmel_sha_hmac_key_release(ptr noundef) local_unnamed_addr #1
declare i32 @kmemdup(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 12}
!10 = !{!"atmel_sha_hmac_key", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_atmel-sha.c_atmel_sha_hmac_key_set.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_atmel-sha.c_atmel_sha_hmac_key_set.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 @atmel_sha_hmac_key_set], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @atmel_sha_hmac_key_set(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @atmel_sha_hmac_key_release(ptr noundef %0) #2
%5 = icmp ugt i32 %2, 4
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%8 = tail call i32 @kmemdup(ptr noundef %1, i32 noundef %2, i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %8, ptr %9, align 4, !tbaa !10
%10 = icmp eq i32 %8, 0
br i1 %10, label %11, label %18
11: ; preds = %6
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%13 = sub nsw i32 0, %12
br label %20
14: ; preds = %3
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = tail call i32 @memcpy(i32 noundef %16, ptr noundef %1, i32 noundef %2) #2
br label %18
18: ; preds = %6, %14
store i32 1, ptr %0, align 4, !tbaa !13
%19 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %2, ptr %19, align 4, !tbaa !14
br label %20
20: ; preds = %18, %11
%21 = phi i32 [ 0, %18 ], [ %13, %11 ]
ret i32 %21
}
declare i32 @atmel_sha_hmac_key_release(ptr noundef) local_unnamed_addr #1
declare i32 @kmemdup(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 12}
!11 = !{!"atmel_sha_hmac_key", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 0}
!14 = !{!11, !7, i64 4}
| linux_drivers_crypto_extr_atmel-sha.c_atmel_sha_hmac_key_set |
; ModuleID = 'AnghaBench/linux/drivers/staging/ks7010/extr_ks7010_sdio.c_ks_wlan_hw_sleep_doze_request.c'
source_filename = "AnghaBench/linux/drivers/staging/ks7010/extr_ks7010_sdio.c_ks_wlan_hw_sleep_doze_request.c"
target datalayout = "e-m:e-p270:32:32-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, i32 }
%struct.ks_wlan_private = type { %struct.TYPE_2__, i64, i32, i32 }
@GCR_B_REG = dso_local local_unnamed_addr global i32 0, align 4
@GCR_B_DOZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"write GCR_B_REG\0A\00", align 1
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ks_wlan_hw_sleep_doze_request], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ks_wlan_hw_sleep_doze_request(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%3 = tail call i32 @atomic_set(ptr noundef nonnull %2, i32 noundef 0) #2
%4 = tail call i64 @atomic_read(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %19
6: ; preds = %1
%7 = load i32, ptr @GCR_B_REG, align 4, !tbaa !5
%8 = load i32, ptr @GCR_B_DOZE, align 4, !tbaa !5
%9 = tail call i32 @ks7010_sdio_writeb(ptr noundef %0, i32 noundef %7, i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %6
%12 = getelementptr inbounds %struct.ks_wlan_private, ptr %0, i64 0, i32 3
%13 = load i32, ptr %12, align 4, !tbaa !9
%14 = tail call i32 @netdev_err(i32 noundef %13, ptr noundef nonnull @.str) #2
br label %19
15: ; preds = %6
%16 = tail call i32 @atomic_set(ptr noundef %0, i32 noundef 1) #2
%17 = load i32, ptr @jiffies, align 4, !tbaa !5
%18 = getelementptr inbounds %struct.ks_wlan_private, ptr %0, i64 0, i32 2
store i32 %17, ptr %18, align 8, !tbaa !13
br label %19
19: ; preds = %1, %15, %11
%20 = tail call i64 @atomic_read(ptr noundef %0) #2
%21 = getelementptr inbounds %struct.ks_wlan_private, ptr %0, i64 0, i32 1
store i64 %20, ptr %21, align 8, !tbaa !14
ret void
}
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @ks7010_sdio_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @netdev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 20}
!10 = !{!"ks_wlan_private", !11, i64 0, !12, i64 8, !6, i64 16, !6, i64 20}
!11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !6, i64 16}
!14 = !{!10, !12, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/ks7010/extr_ks7010_sdio.c_ks_wlan_hw_sleep_doze_request.c'
source_filename = "AnghaBench/linux/drivers/staging/ks7010/extr_ks7010_sdio.c_ks_wlan_hw_sleep_doze_request.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GCR_B_REG = common local_unnamed_addr global i32 0, align 4
@GCR_B_DOZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"write GCR_B_REG\0A\00", align 1
@jiffies = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ks_wlan_hw_sleep_doze_request], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ks_wlan_hw_sleep_doze_request(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = tail call i32 @atomic_set(ptr noundef nonnull %2, i32 noundef 0) #2
%4 = tail call i64 @atomic_read(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %19
6: ; preds = %1
%7 = load i32, ptr @GCR_B_REG, align 4, !tbaa !6
%8 = load i32, ptr @GCR_B_DOZE, align 4, !tbaa !6
%9 = tail call i32 @ks7010_sdio_writeb(ptr noundef %0, i32 noundef %7, i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %6
%12 = getelementptr inbounds i8, ptr %0, i64 20
%13 = load i32, ptr %12, align 4, !tbaa !10
%14 = tail call i32 @netdev_err(i32 noundef %13, ptr noundef nonnull @.str) #2
br label %19
15: ; preds = %6
%16 = tail call i32 @atomic_set(ptr noundef %0, i32 noundef 1) #2
%17 = load i32, ptr @jiffies, align 4, !tbaa !6
%18 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %17, ptr %18, align 8, !tbaa !14
br label %19
19: ; preds = %1, %15, %11
%20 = tail call i64 @atomic_read(ptr noundef %0) #2
%21 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %20, ptr %21, align 8, !tbaa !15
ret void
}
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @ks7010_sdio_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @netdev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 20}
!11 = !{!"ks_wlan_private", !12, i64 0, !13, i64 8, !7, i64 16, !7, i64 20}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !7, i64 16}
!15 = !{!11, !13, i64 8}
| linux_drivers_staging_ks7010_extr_ks7010_sdio.c_ks_wlan_hw_sleep_doze_request |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_garmin_gps.c_garmin_write_room.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_garmin_gps.c_garmin_write_room.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GPS_OUT_BUFSIZ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @garmin_write_room], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @garmin_write_room(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call ptr @usb_get_serial_port_data(ptr noundef %2) #2
%4 = load i32, ptr @GPS_OUT_BUFSIZ, align 4, !tbaa !10
%5 = load i32, ptr %3, align 4, !tbaa !12
%6 = sub nsw i32 %4, %5
ret i32 %6
}
declare ptr @usb_get_serial_port_data(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 = !{!"tty_struct", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"garmin_data", !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_garmin_gps.c_garmin_write_room.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_garmin_gps.c_garmin_write_room.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GPS_OUT_BUFSIZ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @garmin_write_room], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @garmin_write_room(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call ptr @usb_get_serial_port_data(ptr noundef %2) #2
%4 = load i32, ptr @GPS_OUT_BUFSIZ, align 4, !tbaa !11
%5 = load i32, ptr %3, align 4, !tbaa !13
%6 = sub nsw i32 %4, %5
ret i32 %6
}
declare ptr @usb_get_serial_port_data(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 = !{!"tty_struct", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"garmin_data", !12, i64 0}
| fastsocket_kernel_drivers_usb_serial_extr_garmin_gps.c_garmin_write_room |
; ModuleID = 'AnghaBench/netdata/libnetdata/tests/extr_..inlined.h_simple_hash_strcmp.c'
source_filename = "AnghaBench/netdata/libnetdata/tests/extr_..inlined.h_simple_hash_strcmp.c"
target datalayout = "e-m:e-p270:32:32-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 @simple_hash_strcmp], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal i32 @simple_hash_strcmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i8, ptr %0, align 1, !tbaa !5
%5 = icmp eq i8 %4, 0
br i1 %5, label %27, label %6
6: ; preds = %3, %19
%7 = phi i8 [ %25, %19 ], [ %4, %3 ]
%8 = phi i32 [ %21, %19 ], [ 0, %3 ]
%9 = phi i32 [ %24, %19 ], [ -2128831035, %3 ]
%10 = phi ptr [ %23, %19 ], [ %0, %3 ]
%11 = phi ptr [ %20, %19 ], [ %1, %3 ]
%12 = icmp eq i32 %8, 0
%13 = zext i8 %7 to i32
br i1 %12, label %14, label %19
14: ; preds = %6
%15 = getelementptr inbounds i8, ptr %11, i64 1
%16 = load i8, ptr %11, align 1, !tbaa !5
%17 = sext i8 %16 to i32
%18 = sub nsw i32 %13, %17
br label %19
19: ; preds = %6, %14
%20 = phi ptr [ %15, %14 ], [ %11, %6 ]
%21 = phi i32 [ %18, %14 ], [ %8, %6 ]
%22 = mul nsw i32 %9, 16777619
%23 = getelementptr inbounds i8, ptr %10, i64 1
%24 = xor i32 %22, %13
%25 = load i8, ptr %23, align 1, !tbaa !5
%26 = icmp eq i8 %25, 0
br i1 %26, label %27, label %6, !llvm.loop !8
27: ; preds = %19, %3
%28 = phi i32 [ -2128831035, %3 ], [ %24, %19 ]
%29 = phi i32 [ 0, %3 ], [ %21, %19 ]
store i32 %28, ptr %2, align 4, !tbaa !10
ret i32 %29
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/netdata/libnetdata/tests/extr_..inlined.h_simple_hash_strcmp.c'
source_filename = "AnghaBench/netdata/libnetdata/tests/extr_..inlined.h_simple_hash_strcmp.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 @simple_hash_strcmp], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -126, 384) i32 @simple_hash_strcmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i8, ptr %0, align 1, !tbaa !6
%5 = icmp eq i8 %4, 0
br i1 %5, label %27, label %6
6: ; preds = %3, %19
%7 = phi i8 [ %25, %19 ], [ %4, %3 ]
%8 = phi i32 [ %21, %19 ], [ 0, %3 ]
%9 = phi i32 [ %24, %19 ], [ -2128831035, %3 ]
%10 = phi ptr [ %23, %19 ], [ %0, %3 ]
%11 = phi ptr [ %20, %19 ], [ %1, %3 ]
%12 = icmp eq i32 %8, 0
%13 = zext i8 %7 to i32
br i1 %12, label %14, label %19
14: ; preds = %6
%15 = getelementptr inbounds i8, ptr %11, i64 1
%16 = load i8, ptr %11, align 1, !tbaa !6
%17 = sext i8 %16 to i32
%18 = sub nsw i32 %13, %17
br label %19
19: ; preds = %6, %14
%20 = phi ptr [ %15, %14 ], [ %11, %6 ]
%21 = phi i32 [ %18, %14 ], [ %8, %6 ]
%22 = mul nsw i32 %9, 16777619
%23 = getelementptr inbounds i8, ptr %10, i64 1
%24 = xor i32 %22, %13
%25 = load i8, ptr %23, align 1, !tbaa !6
%26 = icmp eq i8 %25, 0
br i1 %26, label %27, label %6, !llvm.loop !9
27: ; preds = %19, %3
%28 = phi i32 [ -2128831035, %3 ], [ %24, %19 ]
%29 = phi i32 [ 0, %3 ], [ %21, %19 ]
store i32 %28, ptr %2, align 4, !tbaa !11
ret i32 %29
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| netdata_libnetdata_tests_extr_..inlined.h_simple_hash_strcmp |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_pxa.c_serial_pxa_set_mctrl.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_pxa.c_serial_pxa_set_mctrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TIOCM_RTS = dso_local local_unnamed_addr global i32 0, align 4
@UART_MCR_RTS = dso_local local_unnamed_addr global i8 0, align 1
@TIOCM_DTR = dso_local local_unnamed_addr global i32 0, align 4
@UART_MCR_DTR = dso_local local_unnamed_addr global i8 0, align 1
@TIOCM_OUT1 = dso_local local_unnamed_addr global i32 0, align 4
@UART_MCR_OUT1 = dso_local local_unnamed_addr global i8 0, align 1
@TIOCM_OUT2 = dso_local local_unnamed_addr global i32 0, align 4
@UART_MCR_OUT2 = dso_local local_unnamed_addr global i8 0, align 1
@TIOCM_LOOP = dso_local local_unnamed_addr global i32 0, align 4
@UART_MCR_LOOP = dso_local local_unnamed_addr global i8 0, align 1
@UART_MCR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @serial_pxa_set_mctrl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @serial_pxa_set_mctrl(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @TIOCM_RTS, align 4, !tbaa !5
%4 = and i32 %3, %1
%5 = icmp eq i32 %4, 0
%6 = load i8, ptr @UART_MCR_RTS, align 1
%7 = select i1 %5, i8 0, i8 %6
%8 = load i32, ptr @TIOCM_DTR, align 4, !tbaa !5
%9 = and i32 %8, %1
%10 = icmp eq i32 %9, 0
%11 = load i8, ptr @UART_MCR_DTR, align 1
%12 = select i1 %10, i8 0, i8 %11
%13 = or i8 %12, %7
%14 = load i32, ptr @TIOCM_OUT1, align 4, !tbaa !5
%15 = and i32 %14, %1
%16 = icmp eq i32 %15, 0
%17 = load i8, ptr @UART_MCR_OUT1, align 1
%18 = select i1 %16, i8 0, i8 %17
%19 = or i8 %13, %18
%20 = load i32, ptr @TIOCM_OUT2, align 4, !tbaa !5
%21 = and i32 %20, %1
%22 = icmp eq i32 %21, 0
%23 = load i8, ptr @UART_MCR_OUT2, align 1
%24 = select i1 %22, i8 0, i8 %23
%25 = or i8 %19, %24
%26 = load i32, ptr @TIOCM_LOOP, align 4, !tbaa !5
%27 = and i32 %26, %1
%28 = icmp eq i32 %27, 0
%29 = load i8, ptr @UART_MCR_LOOP, align 1
%30 = select i1 %28, i8 0, i8 %29
%31 = load i8, ptr %0, align 1, !tbaa !9
%32 = or i8 %25, %31
%33 = or i8 %32, %30
%34 = load i32, ptr @UART_MCR, align 4, !tbaa !5
%35 = tail call i32 @serial_out(ptr noundef nonnull %0, i32 noundef %34, i8 noundef zeroext %33) #2
ret void
}
declare i32 @serial_out(ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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, !7, i64 0}
!10 = !{!"uart_pxa_port", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_pxa.c_serial_pxa_set_mctrl.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_pxa.c_serial_pxa_set_mctrl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIOCM_RTS = common local_unnamed_addr global i32 0, align 4
@UART_MCR_RTS = common local_unnamed_addr global i8 0, align 1
@TIOCM_DTR = common local_unnamed_addr global i32 0, align 4
@UART_MCR_DTR = common local_unnamed_addr global i8 0, align 1
@TIOCM_OUT1 = common local_unnamed_addr global i32 0, align 4
@UART_MCR_OUT1 = common local_unnamed_addr global i8 0, align 1
@TIOCM_OUT2 = common local_unnamed_addr global i32 0, align 4
@UART_MCR_OUT2 = common local_unnamed_addr global i8 0, align 1
@TIOCM_LOOP = common local_unnamed_addr global i32 0, align 4
@UART_MCR_LOOP = common local_unnamed_addr global i8 0, align 1
@UART_MCR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @serial_pxa_set_mctrl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @serial_pxa_set_mctrl(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @TIOCM_RTS, align 4, !tbaa !6
%4 = and i32 %3, %1
%5 = icmp eq i32 %4, 0
%6 = load i8, ptr @UART_MCR_RTS, align 1
%7 = select i1 %5, i8 0, i8 %6
%8 = load i32, ptr @TIOCM_DTR, align 4, !tbaa !6
%9 = and i32 %8, %1
%10 = icmp eq i32 %9, 0
%11 = load i8, ptr @UART_MCR_DTR, align 1
%12 = select i1 %10, i8 0, i8 %11
%13 = or i8 %12, %7
%14 = load i32, ptr @TIOCM_OUT1, align 4, !tbaa !6
%15 = and i32 %14, %1
%16 = icmp eq i32 %15, 0
%17 = load i8, ptr @UART_MCR_OUT1, align 1
%18 = select i1 %16, i8 0, i8 %17
%19 = or i8 %13, %18
%20 = load i32, ptr @TIOCM_OUT2, align 4, !tbaa !6
%21 = and i32 %20, %1
%22 = icmp eq i32 %21, 0
%23 = load i8, ptr @UART_MCR_OUT2, align 1
%24 = select i1 %22, i8 0, i8 %23
%25 = or i8 %19, %24
%26 = load i32, ptr @TIOCM_LOOP, align 4, !tbaa !6
%27 = and i32 %26, %1
%28 = icmp eq i32 %27, 0
%29 = load i8, ptr @UART_MCR_LOOP, align 1
%30 = select i1 %28, i8 0, i8 %29
%31 = load i8, ptr %0, align 1, !tbaa !10
%32 = or i8 %25, %31
%33 = or i8 %32, %30
%34 = load i32, ptr @UART_MCR, align 4, !tbaa !6
%35 = tail call i32 @serial_out(ptr noundef nonnull %0, i32 noundef %34, i8 noundef zeroext %33) #2
ret void
}
declare i32 @serial_out(ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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, !8, i64 0}
!11 = !{!"uart_pxa_port", !8, i64 0}
| linux_drivers_tty_serial_extr_pxa.c_serial_pxa_set_mctrl |
; ModuleID = 'AnghaBench/Quake-III-Arena/lcc/src/extr_asdl.c_asdl_local.c'
source_filename = "AnghaBench/Quake-III-Arena/lcc/src/extr_asdl.c_asdl_local.c"
target datalayout = "e-m:e-p270:32:32-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_12__ = type { %struct.TYPE_11__, i64, %struct.TYPE_9__ }
%struct.TYPE_11__ = type { %struct.TYPE_10__ }
%struct.TYPE_10__ = type { ptr, i64 }
%struct.TYPE_9__ = type { i64 }
@temps = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @asdl_local], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @asdl_local(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
%7 = tail call i32 @symboluid(ptr noundef %0) #2
%8 = tail call i32 @mk_symbol(ptr noundef %0) #2
%9 = tail call i32 @rcc_Local(i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 @put(i32 noundef %9) #2
%11 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = icmp eq i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %1
%15 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !15
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %14
%19 = load ptr, ptr @temps, align 8, !tbaa !16
store ptr %19, ptr %0, align 8, !tbaa !17
store ptr %0, ptr @temps, align 8, !tbaa !16
br label %20
20: ; preds = %18, %14, %1
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @put(i32 noundef) local_unnamed_addr #1
declare i32 @rcc_Local(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @symboluid(ptr noundef) local_unnamed_addr #1
declare i32 @mk_symbol(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, !12, i64 24}
!6 = !{!"TYPE_12__", !7, i64 0, !12, i64 16, !13, i64 24}
!7 = !{!"TYPE_11__", !8, i64 0}
!8 = !{!"TYPE_10__", !9, i64 0, !12, i64 8}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"TYPE_9__", !12, i64 0}
!14 = !{!6, !12, i64 16}
!15 = !{!6, !12, i64 8}
!16 = !{!9, !9, i64 0}
!17 = !{!6, !9, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/lcc/src/extr_asdl.c_asdl_local.c'
source_filename = "AnghaBench/Quake-III-Arena/lcc/src/extr_asdl.c_asdl_local.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@temps = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @asdl_local], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @asdl_local(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
%7 = tail call i32 @symboluid(ptr noundef %0) #2
%8 = tail call i32 @mk_symbol(ptr noundef %0) #2
%9 = tail call i32 @rcc_Local(i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 @put(i32 noundef %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = icmp eq i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %1
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !16
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %14
%19 = load ptr, ptr @temps, align 8, !tbaa !17
store ptr %19, ptr %0, align 8, !tbaa !18
store ptr %0, ptr @temps, align 8, !tbaa !17
br label %20
20: ; preds = %18, %14, %1
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @put(i32 noundef) local_unnamed_addr #1
declare i32 @rcc_Local(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @symboluid(ptr noundef) local_unnamed_addr #1
declare i32 @mk_symbol(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, !13, i64 24}
!7 = !{!"TYPE_12__", !8, i64 0, !13, i64 16, !14, i64 24}
!8 = !{!"TYPE_11__", !9, i64 0}
!9 = !{!"TYPE_10__", !10, i64 0, !13, i64 8}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"long", !11, i64 0}
!14 = !{!"TYPE_9__", !13, i64 0}
!15 = !{!7, !13, i64 16}
!16 = !{!7, !13, i64 8}
!17 = !{!10, !10, i64 0}
!18 = !{!7, !10, i64 0}
| Quake-III-Arena_lcc_src_extr_asdl.c_asdl_local |
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_shader-parser.c_report_invalid_func_keyword.c'
source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_shader-parser.c_report_invalid_func_keyword.c"
target datalayout = "e-m:e-p270:32:32-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 [44 x i8] c"'$1' keyword cannot be used with a function\00", align 1
@LEX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @report_invalid_func_keyword], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @report_invalid_func_keyword(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = load i32, ptr @LEX_ERROR, align 4, !tbaa !5
%7 = tail call i32 @cf_adderror(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %6, ptr noundef %1, ptr noundef null, ptr noundef null) #2
br label %8
8: ; preds = %5, %3
ret void
}
declare i32 @cf_adderror(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_shader-parser.c_report_invalid_func_keyword.c'
source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_shader-parser.c_report_invalid_func_keyword.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 [44 x i8] c"'$1' keyword cannot be used with a function\00", align 1
@LEX_ERROR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @report_invalid_func_keyword], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @report_invalid_func_keyword(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = load i32, ptr @LEX_ERROR, align 4, !tbaa !6
%7 = tail call i32 @cf_adderror(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %6, ptr noundef %1, ptr noundef null, ptr noundef null) #2
br label %8
8: ; preds = %5, %3
ret void
}
declare i32 @cf_adderror(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| obs-studio_libobs_graphics_extr_shader-parser.c_report_invalid_func_keyword |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_hysteresis.c_pop.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_hysteresis.c_pop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @pop], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @pop(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !11
%7 = add nsw i32 %6, -1
store i32 %7, ptr %5, align 8, !tbaa !11
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i32, ptr %4, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = ashr i32 %10, 16
store i32 %11, ptr %1, align 4, !tbaa !12
%12 = and i32 %10, 65535
store i32 %12, ptr %2, align 4, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_hysteresis.c_pop.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_hysteresis.c_pop.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 @pop], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @pop(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !12
%7 = add nsw i32 %6, -1
store i32 %7, ptr %5, align 8, !tbaa !12
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i32, ptr %4, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = ashr i32 %10, 16
store i32 %11, ptr %1, align 4, !tbaa !13
%12 = and i32 %10, 65535
store i32 %12, ptr %2, align 4, !tbaa !13
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
| FFmpeg_libavfilter_extr_vf_hysteresis.c_pop |
; ModuleID = 'AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_dme.c_jz4780_dme_probe.c'
source_filename = "AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_dme.c_jz4780_dme_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"davicom,dm9000\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Davicom DM9000C 10/100BaseTX\00", align 1
@BUS_PROBE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @jz4780_dme_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @jz4780_dme_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = tail call i32 @ofw_bus_is_compatible(i32 noundef %0, ptr noundef nonnull @.str) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %9
9: ; preds = %4, %1, %7
%10 = phi ptr [ @BUS_PROBE_DEFAULT, %7 ], [ @ENXIO, %1 ], [ @ENXIO, %4 ]
%11 = load i32, ptr %10, align 4, !tbaa !5
ret i32 %11
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_is_compatible(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_dme.c_jz4780_dme_probe.c'
source_filename = "AnghaBench/freebsd/sys/mips/ingenic/extr_jz4780_dme.c_jz4780_dme_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"davicom,dm9000\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Davicom DM9000C 10/100BaseTX\00", align 1
@BUS_PROBE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @jz4780_dme_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @jz4780_dme_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = tail call i32 @ofw_bus_is_compatible(i32 noundef %0, ptr noundef nonnull @.str) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %9
9: ; preds = %4, %1, %7
%10 = phi ptr [ @BUS_PROBE_DEFAULT, %7 ], [ @ENXIO, %1 ], [ @ENXIO, %4 ]
%11 = load i32, ptr %10, align 4, !tbaa !6
ret i32 %11
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_is_compatible(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_mips_ingenic_extr_jz4780_dme.c_jz4780_dme_probe |
; ModuleID = 'AnghaBench/disque/src/extr_rio.c_rioFileTell.c'
source_filename = "AnghaBench/disque/src/extr_rio.c_rioFileTell.c"
target datalayout = "e-m:e-p270:32:32-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 @rioFileTell], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rioFileTell(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @ftello(i32 noundef %2) #2
ret i32 %3
}
declare i32 @ftello(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/disque/src/extr_rio.c_rioFileTell.c'
source_filename = "AnghaBench/disque/src/extr_rio.c_rioFileTell.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 @rioFileTell], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rioFileTell(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @ftello(i32 noundef %2) #2
ret i32 %3
}
declare i32 @ftello(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"TYPE_5__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
| disque_src_extr_rio.c_rioFileTell |
; ModuleID = 'AnghaBench/linux/sound/soc/samsung/extr_smdk_wm8994pcm.c_snd_smdk_probe.c'
source_filename = "AnghaBench/linux/sound/soc/samsung/extr_smdk_wm8994pcm.c_snd_smdk_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.TYPE_3__ = type { ptr }
@smdk_pcm = dso_local global %struct.TYPE_3__ zeroinitializer, align 8
@.str = private unnamed_addr constant [33 x i8] c"snd_soc_register_card failed %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_smdk_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_smdk_probe(ptr noundef %0) #0 {
store ptr %0, ptr @smdk_pcm, align 8, !tbaa !5
%2 = tail call i32 @devm_snd_soc_register_card(ptr noundef %0, ptr noundef nonnull @smdk_pcm) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %6
6: ; preds = %4, %1
ret i32 %2
}
declare i32 @devm_snd_soc_register_card(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/sound/soc/samsung/extr_smdk_wm8994pcm.c_snd_smdk_probe.c'
source_filename = "AnghaBench/linux/sound/soc/samsung/extr_smdk_wm8994pcm.c_snd_smdk_probe.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 { ptr }
@smdk_pcm = common global %struct.TYPE_3__ zeroinitializer, align 8
@.str = private unnamed_addr constant [33 x i8] c"snd_soc_register_card failed %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @snd_smdk_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @snd_smdk_probe(ptr noundef %0) #0 {
store ptr %0, ptr @smdk_pcm, align 8, !tbaa !6
%2 = tail call i32 @devm_snd_soc_register_card(ptr noundef %0, ptr noundef nonnull @smdk_pcm) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %6
6: ; preds = %4, %1
ret i32 %2
}
declare i32 @devm_snd_soc_register_card(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_sound_soc_samsung_extr_smdk_wm8994pcm.c_snd_smdk_probe |
; ModuleID = 'AnghaBench/sqlcipher/ext/repair/extr_checkfreelist.c_sqlite3_checkfreelist_init.c'
source_filename = "AnghaBench/sqlcipher/ext/repair/extr_checkfreelist.c_sqlite3_checkfreelist_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_checkfreelist_init(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @SQLITE_EXTENSION_INIT2(ptr noundef %2) #2
%5 = tail call i32 @cflRegister(ptr noundef %0) #2
ret i32 %5
}
declare i32 @SQLITE_EXTENSION_INIT2(ptr noundef) local_unnamed_addr #1
declare i32 @cflRegister(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/sqlcipher/ext/repair/extr_checkfreelist.c_sqlite3_checkfreelist_init.c'
source_filename = "AnghaBench/sqlcipher/ext/repair/extr_checkfreelist.c_sqlite3_checkfreelist_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 i32 @sqlite3_checkfreelist_init(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @SQLITE_EXTENSION_INIT2(ptr noundef %2) #2
%5 = tail call i32 @cflRegister(ptr noundef %0) #2
ret i32 %5
}
declare i32 @SQLITE_EXTENSION_INIT2(ptr noundef) local_unnamed_addr #1
declare i32 @cflRegister(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)"}
| sqlcipher_ext_repair_extr_checkfreelist.c_sqlite3_checkfreelist_init |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cache.c_tcp_cache_get_cookie_len.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cache.c_tcp_cache_get_cookie_len.c"
target datalayout = "e-m:e-p270:32:32-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.tcp_cache_key_src = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @tcp_cache_get_cookie_len(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.tcp_cache_key_src, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call i32 @tcp_cache_key_src_create(ptr noundef %0, ptr noundef nonnull %2) #3
%4 = call i32 @tcp_cache_get_cookie_len_common(ptr noundef nonnull %2) #3
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 @tcp_cache_key_src_create(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tcp_cache_get_cookie_len_common(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)"}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cache.c_tcp_cache_get_cookie_len.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_cache.c_tcp_cache_get_cookie_len.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.tcp_cache_key_src = type { i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @tcp_cache_get_cookie_len(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.tcp_cache_key_src, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call i32 @tcp_cache_key_src_create(ptr noundef %0, ptr noundef nonnull %2) #3
%4 = call i32 @tcp_cache_get_cookie_len_common(ptr noundef nonnull %2) #3
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 @tcp_cache_key_src_create(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tcp_cache_get_cookie_len_common(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)"}
| darwin-xnu_bsd_netinet_extr_tcp_cache.c_tcp_cache_get_cookie_len |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/common/ctf/extr_ctf_create.c_ctf_set_array.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/common/ctf/extr_ctf_create.c_ctf_set_array.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_17__ = type { %struct.TYPE_15__, %struct.TYPE_14__ }
%struct.TYPE_15__ = type { %struct.TYPE_18__ }
%struct.TYPE_18__ = type { i32, i32 }
%struct.TYPE_14__ = type { i32 }
@LCTF_RDWR = dso_local local_unnamed_addr global i32 0, align 4
@ECTF_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@CTF_K_ARRAY = dso_local local_unnamed_addr global i64 0, align 8
@ECTF_BADID = dso_local local_unnamed_addr global i32 0, align 4
@LCTF_DIRTY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ctf_set_array(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call ptr @ctf_dtd_lookup(ptr noundef %0, i32 noundef %1) #3
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = load i32, ptr @LCTF_RDWR, align 4, !tbaa !10
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr @ECTF_RDONLY, align 4, !tbaa !10
%12 = tail call i32 @ctf_set_errno(ptr noundef nonnull %0, i32 noundef %11) #3
br label %61
13: ; preds = %3
%14 = icmp eq ptr %5, null
br i1 %14, label %21, label %15
15: ; preds = %13
%16 = getelementptr inbounds %struct.TYPE_17__, ptr %5, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !11
%18 = tail call i64 @CTF_INFO_KIND(i32 noundef %17) #3
%19 = load i64, ptr @CTF_K_ARRAY, align 8, !tbaa !16
%20 = icmp eq i64 %18, %19
br i1 %20, label %24, label %21
21: ; preds = %15, %13
%22 = load i32, ptr @ECTF_BADID, align 4, !tbaa !10
%23 = tail call i32 @ctf_set_errno(ptr noundef nonnull %0, i32 noundef %22) #3
br label %61
24: ; preds = %15
store ptr %0, ptr %4, align 8, !tbaa !18
%25 = getelementptr inbounds %struct.TYPE_18__, ptr %2, i64 0, i32 1
%26 = load i32, ptr %25, align 4, !tbaa !20
%27 = call ptr @ctf_lookup_by_id(ptr noundef nonnull %4, i32 noundef %26) #3
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %36
29: ; preds = %24
%30 = load i32, ptr %25, align 4, !tbaa !20
%31 = call ptr @ctf_dtd_lookup(ptr noundef nonnull %0, i32 noundef %30) #3
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, ptr @ECTF_BADID, align 4, !tbaa !10
%35 = call i32 @ctf_set_errno(ptr noundef nonnull %0, i32 noundef %34) #3
br label %61
36: ; preds = %29, %24
store ptr %0, ptr %4, align 8, !tbaa !18
%37 = load i32, ptr %2, align 4, !tbaa !21
%38 = call ptr @ctf_lookup_by_id(ptr noundef nonnull %4, i32 noundef %37) #3
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %47
40: ; preds = %36
%41 = load i32, ptr %2, align 4, !tbaa !21
%42 = call ptr @ctf_dtd_lookup(ptr noundef nonnull %0, i32 noundef %41) #3
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = load i32, ptr @ECTF_BADID, align 4, !tbaa !10
%46 = call i32 @ctf_set_errno(ptr noundef nonnull %0, i32 noundef %45) #3
br label %61
47: ; preds = %40, %36
%48 = getelementptr inbounds %struct.TYPE_18__, ptr %5, i64 0, i32 1
%49 = load i32, ptr %48, align 4, !tbaa !22
%50 = call i32 @ctf_ref_dec(ptr noundef nonnull %0, i32 noundef %49) #3
%51 = load i32, ptr %5, align 4, !tbaa !23
%52 = call i32 @ctf_ref_dec(ptr noundef nonnull %0, i32 noundef %51) #3
%53 = load i32, ptr @LCTF_DIRTY, align 4, !tbaa !10
%54 = load i32, ptr %0, align 4, !tbaa !5
%55 = or i32 %54, %53
store i32 %55, ptr %0, align 4, !tbaa !5
%56 = load i64, ptr %2, align 4
store i64 %56, ptr %5, align 4
%57 = load i32, ptr %25, align 4, !tbaa !20
%58 = call i32 @ctf_ref_inc(ptr noundef nonnull %0, i32 noundef %57) #3
%59 = load i32, ptr %2, align 4, !tbaa !21
%60 = call i32 @ctf_ref_inc(ptr noundef nonnull %0, i32 noundef %59) #3
br label %61
61: ; preds = %47, %44, %33, %21, %10
%62 = phi i32 [ %23, %21 ], [ %35, %33 ], [ %46, %44 ], [ 0, %47 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ctf_dtd_lookup(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ctf_set_errno(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @CTF_INFO_KIND(i32 noundef) local_unnamed_addr #2
declare ptr @ctf_lookup_by_id(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ctf_ref_dec(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ctf_ref_inc(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_16__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"TYPE_17__", !13, i64 0, !15, i64 8}
!13 = !{!"TYPE_15__", !14, i64 0}
!14 = !{!"TYPE_18__", !7, i64 0, !7, i64 4}
!15 = !{!"TYPE_14__", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"any pointer", !8, i64 0}
!20 = !{!14, !7, i64 4}
!21 = !{!14, !7, i64 0}
!22 = !{!12, !7, i64 4}
!23 = !{!12, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/common/ctf/extr_ctf_create.c_ctf_set_array.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/common/ctf/extr_ctf_create.c_ctf_set_array.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LCTF_RDWR = common local_unnamed_addr global i32 0, align 4
@ECTF_RDONLY = common local_unnamed_addr global i32 0, align 4
@CTF_K_ARRAY = common local_unnamed_addr global i64 0, align 8
@ECTF_BADID = common local_unnamed_addr global i32 0, align 4
@LCTF_DIRTY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ctf_set_array(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call ptr @ctf_dtd_lookup(ptr noundef %0, i32 noundef %1) #3
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = load i32, ptr @LCTF_RDWR, align 4, !tbaa !11
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr @ECTF_RDONLY, align 4, !tbaa !11
%12 = tail call i32 @ctf_set_errno(ptr noundef nonnull %0, i32 noundef %11) #3
br label %61
13: ; preds = %3
%14 = icmp eq ptr %5, null
br i1 %14, label %21, label %15
15: ; preds = %13
%16 = getelementptr inbounds i8, ptr %5, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = tail call i64 @CTF_INFO_KIND(i32 noundef %17) #3
%19 = load i64, ptr @CTF_K_ARRAY, align 8, !tbaa !17
%20 = icmp eq i64 %18, %19
br i1 %20, label %24, label %21
21: ; preds = %15, %13
%22 = load i32, ptr @ECTF_BADID, align 4, !tbaa !11
%23 = tail call i32 @ctf_set_errno(ptr noundef nonnull %0, i32 noundef %22) #3
br label %61
24: ; preds = %15
store ptr %0, ptr %4, align 8, !tbaa !19
%25 = getelementptr inbounds i8, ptr %2, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !21
%27 = call ptr @ctf_lookup_by_id(ptr noundef nonnull %4, i32 noundef %26) #3
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %36
29: ; preds = %24
%30 = load i32, ptr %25, align 4, !tbaa !21
%31 = call ptr @ctf_dtd_lookup(ptr noundef nonnull %0, i32 noundef %30) #3
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i32, ptr @ECTF_BADID, align 4, !tbaa !11
%35 = call i32 @ctf_set_errno(ptr noundef nonnull %0, i32 noundef %34) #3
br label %61
36: ; preds = %29, %24
store ptr %0, ptr %4, align 8, !tbaa !19
%37 = load i32, ptr %2, align 4, !tbaa !22
%38 = call ptr @ctf_lookup_by_id(ptr noundef nonnull %4, i32 noundef %37) #3
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %47
40: ; preds = %36
%41 = load i32, ptr %2, align 4, !tbaa !22
%42 = call ptr @ctf_dtd_lookup(ptr noundef nonnull %0, i32 noundef %41) #3
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = load i32, ptr @ECTF_BADID, align 4, !tbaa !11
%46 = call i32 @ctf_set_errno(ptr noundef nonnull %0, i32 noundef %45) #3
br label %61
47: ; preds = %40, %36
%48 = getelementptr inbounds i8, ptr %5, i64 4
%49 = load i32, ptr %48, align 4, !tbaa !23
%50 = call i32 @ctf_ref_dec(ptr noundef nonnull %0, i32 noundef %49) #3
%51 = load i32, ptr %5, align 4, !tbaa !24
%52 = call i32 @ctf_ref_dec(ptr noundef nonnull %0, i32 noundef %51) #3
%53 = load i32, ptr @LCTF_DIRTY, align 4, !tbaa !11
%54 = load i32, ptr %0, align 4, !tbaa !6
%55 = or i32 %54, %53
store i32 %55, ptr %0, align 4, !tbaa !6
%56 = load i64, ptr %2, align 4
store i64 %56, ptr %5, align 4
%57 = load i32, ptr %25, align 4, !tbaa !21
%58 = call i32 @ctf_ref_inc(ptr noundef nonnull %0, i32 noundef %57) #3
%59 = load i32, ptr %2, align 4, !tbaa !22
%60 = call i32 @ctf_ref_inc(ptr noundef nonnull %0, i32 noundef %59) #3
br label %61
61: ; preds = %47, %44, %33, %21, %10
%62 = phi i32 [ %23, %21 ], [ %35, %33 ], [ %46, %44 ], [ 0, %47 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ctf_dtd_lookup(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ctf_set_errno(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @CTF_INFO_KIND(i32 noundef) local_unnamed_addr #2
declare ptr @ctf_lookup_by_id(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ctf_ref_dec(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ctf_ref_inc(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_16__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 8}
!13 = !{!"TYPE_17__", !14, i64 0, !16, i64 8}
!14 = !{!"TYPE_15__", !15, i64 0}
!15 = !{!"TYPE_18__", !8, i64 0, !8, i64 4}
!16 = !{!"TYPE_14__", !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"any pointer", !9, i64 0}
!21 = !{!15, !8, i64 4}
!22 = !{!15, !8, i64 0}
!23 = !{!13, !8, i64 4}
!24 = !{!13, !8, i64 0}
| freebsd_cddl_contrib_opensolaris_common_ctf_extr_ctf_create.c_ctf_set_array |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_msgq.c_bfa_msgq_cmdq_dbell_ready.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_msgq.c_bfa_msgq_cmdq_dbell_ready.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CMDQ_E_DB_READY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_msgq_cmdq_dbell_ready], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bfa_msgq_cmdq_dbell_ready(ptr noundef %0) #0 {
%2 = load i32, ptr @CMDQ_E_DB_READY, align 4, !tbaa !5
%3 = tail call i32 @bfa_fsm_send_event(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @bfa_fsm_send_event(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_msgq.c_bfa_msgq_cmdq_dbell_ready.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_msgq.c_bfa_msgq_cmdq_dbell_ready.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CMDQ_E_DB_READY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bfa_msgq_cmdq_dbell_ready], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bfa_msgq_cmdq_dbell_ready(ptr noundef %0) #0 {
%2 = load i32, ptr @CMDQ_E_DB_READY, align 4, !tbaa !6
%3 = tail call i32 @bfa_fsm_send_event(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @bfa_fsm_send_event(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_brocade_bna_extr_bfa_msgq.c_bfa_msgq_cmdq_dbell_ready |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/membarrier/extr_membarrier_test_multi_thread.c_test_mt_membarrier.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/membarrier/extr_membarrier_test_multi_thread.c_test_mt_membarrier.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@test_membarrier_thread = dso_local local_unnamed_addr global i32 0, align 4
@test_membarrier_thread_mutex = dso_local global i32 0, align 4
@thread_ready = dso_local local_unnamed_addr global i32 0, align 4
@test_membarrier_thread_cond = dso_local global i32 0, align 4
@thread_quit = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_mt_membarrier], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @test_mt_membarrier() #0 {
%1 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = load i32, ptr @test_membarrier_thread, align 4, !tbaa !5
%3 = call i32 @pthread_create(ptr noundef nonnull %1, ptr noundef null, i32 noundef %2, ptr noundef null) #3
%4 = call i32 @pthread_mutex_lock(ptr noundef nonnull @test_membarrier_thread_mutex) #3
%5 = load i32, ptr @thread_ready, align 4, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %0, %7
%8 = call i32 @pthread_cond_wait(ptr noundef nonnull @test_membarrier_thread_cond, ptr noundef nonnull @test_membarrier_thread_mutex) #3
%9 = load i32, ptr @thread_ready, align 4, !tbaa !5
%10 = icmp eq i32 %9, 0
br i1 %10, label %7, label %11, !llvm.loop !9
11: ; preds = %7, %0
%12 = call i32 @pthread_mutex_unlock(ptr noundef nonnull @test_membarrier_thread_mutex) #3
%13 = call i32 (...) @test_membarrier_fail() #3
%14 = call i32 (...) @test_membarrier_success() #3
%15 = call i32 @pthread_mutex_lock(ptr noundef nonnull @test_membarrier_thread_mutex) #3
store i32 1, ptr @thread_quit, align 4, !tbaa !5
%16 = call i32 @pthread_cond_broadcast(ptr noundef nonnull @test_membarrier_thread_cond) #3
%17 = call i32 @pthread_mutex_unlock(ptr noundef nonnull @test_membarrier_thread_mutex) #3
%18 = load i32, ptr %1, align 4, !tbaa !5
%19 = call i32 @pthread_join(i32 noundef %18, ptr noundef null) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @test_membarrier_fail(...) local_unnamed_addr #2
declare i32 @test_membarrier_success(...) local_unnamed_addr #2
declare i32 @pthread_cond_broadcast(ptr noundef) local_unnamed_addr #2
declare i32 @pthread_join(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/tools/testing/selftests/membarrier/extr_membarrier_test_multi_thread.c_test_mt_membarrier.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/membarrier/extr_membarrier_test_multi_thread.c_test_mt_membarrier.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@test_membarrier_thread = common local_unnamed_addr global i32 0, align 4
@test_membarrier_thread_mutex = common global i32 0, align 4
@thread_ready = common local_unnamed_addr global i32 0, align 4
@test_membarrier_thread_cond = common global i32 0, align 4
@thread_quit = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_mt_membarrier], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @test_mt_membarrier() #0 {
%1 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = load i32, ptr @test_membarrier_thread, align 4, !tbaa !6
%3 = call i32 @pthread_create(ptr noundef nonnull %1, ptr noundef null, i32 noundef %2, ptr noundef null) #3
%4 = call i32 @pthread_mutex_lock(ptr noundef nonnull @test_membarrier_thread_mutex) #3
%5 = load i32, ptr @thread_ready, align 4, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %0, %7
%8 = call i32 @pthread_cond_wait(ptr noundef nonnull @test_membarrier_thread_cond, ptr noundef nonnull @test_membarrier_thread_mutex) #3
%9 = load i32, ptr @thread_ready, align 4, !tbaa !6
%10 = icmp eq i32 %9, 0
br i1 %10, label %7, label %11, !llvm.loop !10
11: ; preds = %7, %0
%12 = call i32 @pthread_mutex_unlock(ptr noundef nonnull @test_membarrier_thread_mutex) #3
%13 = call i32 @test_membarrier_fail() #3
%14 = call i32 @test_membarrier_success() #3
%15 = call i32 @pthread_mutex_lock(ptr noundef nonnull @test_membarrier_thread_mutex) #3
store i32 1, ptr @thread_quit, align 4, !tbaa !6
%16 = call i32 @pthread_cond_broadcast(ptr noundef nonnull @test_membarrier_thread_cond) #3
%17 = call i32 @pthread_mutex_unlock(ptr noundef nonnull @test_membarrier_thread_mutex) #3
%18 = load i32, ptr %1, align 4, !tbaa !6
%19 = call i32 @pthread_join(i32 noundef %18, ptr noundef null) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @test_membarrier_fail(...) local_unnamed_addr #2
declare i32 @test_membarrier_success(...) local_unnamed_addr #2
declare i32 @pthread_cond_broadcast(ptr noundef) local_unnamed_addr #2
declare i32 @pthread_join(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_tools_testing_selftests_membarrier_extr_membarrier_test_multi_thread.c_test_mt_membarrier |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5211/extr_ar5211_keycache.c_ar5211ResetKeyCacheEntry.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5211/extr_ar5211_keycache.c_ar5211ResetKeyCacheEntry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AR_KEYTABLE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@AH_TRUE = dso_local local_unnamed_addr global i32 0, align 4
@AH_FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ar5211ResetKeyCacheEntry(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @AR_KEYTABLE_SIZE, align 8, !tbaa !5
%4 = icmp sgt i64 %3, %1
br i1 %4, label %5, label %22
5: ; preds = %2
%6 = tail call i32 @AR_KEYTABLE_KEY0(i64 noundef %1) #2
%7 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %6, i32 noundef 0) #2
%8 = tail call i32 @AR_KEYTABLE_KEY1(i64 noundef %1) #2
%9 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %8, i32 noundef 0) #2
%10 = tail call i32 @AR_KEYTABLE_KEY2(i64 noundef %1) #2
%11 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %10, i32 noundef 0) #2
%12 = tail call i32 @AR_KEYTABLE_KEY3(i64 noundef %1) #2
%13 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %12, i32 noundef 0) #2
%14 = tail call i32 @AR_KEYTABLE_KEY4(i64 noundef %1) #2
%15 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %14, i32 noundef 0) #2
%16 = tail call i32 @AR_KEYTABLE_TYPE(i64 noundef %1) #2
%17 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %16, i32 noundef 0) #2
%18 = tail call i32 @AR_KEYTABLE_MAC0(i64 noundef %1) #2
%19 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %18, i32 noundef 0) #2
%20 = tail call i32 @AR_KEYTABLE_MAC1(i64 noundef %1) #2
%21 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %20, i32 noundef 0) #2
br label %22
22: ; preds = %2, %5
%23 = phi ptr [ @AH_TRUE, %5 ], [ @AH_FALSE, %2 ]
%24 = load i32, ptr %23, align 4, !tbaa !9
ret i32 %24
}
declare i32 @OS_REG_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY0(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY1(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY2(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY3(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY4(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_TYPE(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_MAC0(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_MAC1(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/ath/ath_hal/ar5211/extr_ar5211_keycache.c_ar5211ResetKeyCacheEntry.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5211/extr_ar5211_keycache.c_ar5211ResetKeyCacheEntry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AR_KEYTABLE_SIZE = common local_unnamed_addr global i64 0, align 8
@AH_TRUE = common local_unnamed_addr global i32 0, align 4
@AH_FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ar5211ResetKeyCacheEntry(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr @AR_KEYTABLE_SIZE, align 8, !tbaa !6
%4 = icmp sgt i64 %3, %1
br i1 %4, label %5, label %22
5: ; preds = %2
%6 = tail call i32 @AR_KEYTABLE_KEY0(i64 noundef %1) #2
%7 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %6, i32 noundef 0) #2
%8 = tail call i32 @AR_KEYTABLE_KEY1(i64 noundef %1) #2
%9 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %8, i32 noundef 0) #2
%10 = tail call i32 @AR_KEYTABLE_KEY2(i64 noundef %1) #2
%11 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %10, i32 noundef 0) #2
%12 = tail call i32 @AR_KEYTABLE_KEY3(i64 noundef %1) #2
%13 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %12, i32 noundef 0) #2
%14 = tail call i32 @AR_KEYTABLE_KEY4(i64 noundef %1) #2
%15 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %14, i32 noundef 0) #2
%16 = tail call i32 @AR_KEYTABLE_TYPE(i64 noundef %1) #2
%17 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %16, i32 noundef 0) #2
%18 = tail call i32 @AR_KEYTABLE_MAC0(i64 noundef %1) #2
%19 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %18, i32 noundef 0) #2
%20 = tail call i32 @AR_KEYTABLE_MAC1(i64 noundef %1) #2
%21 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %20, i32 noundef 0) #2
br label %22
22: ; preds = %2, %5
%23 = phi ptr [ @AH_TRUE, %5 ], [ @AH_FALSE, %2 ]
%24 = load i32, ptr %23, align 4, !tbaa !10
ret i32 %24
}
declare i32 @OS_REG_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY0(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY1(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY2(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY3(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_KEY4(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_TYPE(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_MAC0(i64 noundef) local_unnamed_addr #1
declare i32 @AR_KEYTABLE_MAC1(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_ath_ath_hal_ar5211_extr_ar5211_keycache.c_ar5211ResetKeyCacheEntry |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_ahci_xgene.c_xgene_ahci_init_memram.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_ahci_xgene.c_xgene_ahci_init_memram.c"
target datalayout = "e-m:e-p270:32:32-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.xgene_ahci_context = type { i32, i64 }
@.str = private unnamed_addr constant [30 x i8] c"Release memory from shutdown\0A\00", align 1
@CFG_MEM_RAM_SHUTDOWN = dso_local local_unnamed_addr global i64 0, align 8
@BLOCK_MEM_RDY = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [40 x i8] c"failed to release memory from shutdown\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xgene_ahci_init_memram], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xgene_ahci_init_memram(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @dev_dbg(i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds %struct.xgene_ahci_context, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = load i64, ptr @CFG_MEM_RAM_SHUTDOWN, align 8, !tbaa !12
%7 = add nsw i64 %6, %5
%8 = tail call i32 @writel(i32 noundef 0, i64 noundef %7) #2
%9 = load i64, ptr %4, align 8, !tbaa !11
%10 = load i64, ptr @CFG_MEM_RAM_SHUTDOWN, align 8, !tbaa !12
%11 = add nsw i64 %10, %9
%12 = tail call i32 @readl(i64 noundef %11) #2
%13 = tail call i32 @msleep(i32 noundef 1) #2
%14 = load i64, ptr %4, align 8, !tbaa !11
%15 = load i64, ptr @BLOCK_MEM_RDY, align 8, !tbaa !12
%16 = add nsw i64 %15, %14
%17 = tail call i32 @readl(i64 noundef %16) #2
%18 = icmp eq i32 %17, -1
br i1 %18, label %24, label %19
19: ; preds = %1
%20 = load i32, ptr %0, align 8, !tbaa !5
%21 = tail call i32 @dev_err(i32 noundef %20, ptr noundef nonnull @.str.1) #2
%22 = load i32, ptr @ENODEV, align 4, !tbaa !13
%23 = sub nsw i32 0, %22
br label %24
24: ; preds = %1, %19
%25 = phi i32 [ %23, %19 ], [ 0, %1 ]
ret i32 %25
}
declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"xgene_ahci_context", !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, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_ahci_xgene.c_xgene_ahci_init_memram.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_ahci_xgene.c_xgene_ahci_init_memram.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"Release memory from shutdown\0A\00", align 1
@CFG_MEM_RAM_SHUTDOWN = common local_unnamed_addr global i64 0, align 8
@BLOCK_MEM_RDY = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [40 x i8] c"failed to release memory from shutdown\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xgene_ahci_init_memram], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @xgene_ahci_init_memram(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @dev_dbg(i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = load i64, ptr @CFG_MEM_RAM_SHUTDOWN, align 8, !tbaa !13
%7 = add nsw i64 %6, %5
%8 = tail call i32 @writel(i32 noundef 0, i64 noundef %7) #2
%9 = load i64, ptr %4, align 8, !tbaa !12
%10 = load i64, ptr @CFG_MEM_RAM_SHUTDOWN, align 8, !tbaa !13
%11 = add nsw i64 %10, %9
%12 = tail call i32 @readl(i64 noundef %11) #2
%13 = tail call i32 @msleep(i32 noundef 1) #2
%14 = load i64, ptr %4, align 8, !tbaa !12
%15 = load i64, ptr @BLOCK_MEM_RDY, align 8, !tbaa !13
%16 = add nsw i64 %15, %14
%17 = tail call i32 @readl(i64 noundef %16) #2
%18 = icmp eq i32 %17, -1
br i1 %18, label %24, label %19
19: ; preds = %1
%20 = load i32, ptr %0, align 8, !tbaa !6
%21 = tail call i32 @dev_err(i32 noundef %20, ptr noundef nonnull @.str.1) #2
%22 = load i32, ptr @ENODEV, align 4, !tbaa !14
%23 = sub nsw i32 0, %22
br label %24
24: ; preds = %1, %19
%25 = phi i32 [ %23, %19 ], [ 0, %1 ]
ret i32 %25
}
declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"xgene_ahci_context", !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, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!8, !8, i64 0}
| linux_drivers_ata_extr_ahci_xgene.c_xgene_ahci_init_memram |
; ModuleID = 'AnghaBench/linux/arch/powerpc/lib/extr_code-patching.c_create_branch.c'
source_filename = "AnghaBench/linux/arch/powerpc/lib/extr_code-patching.c_create_branch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BRANCH_ABSOLUTE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @create_branch(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @BRANCH_ABSOLUTE, align 4, !tbaa !5
%5 = and i32 %4, %2
%6 = icmp eq i32 %5, 0
%7 = ptrtoint ptr %0 to i64
%8 = select i1 %6, i64 %7, i64 0
%9 = sub i64 %1, %8
%10 = tail call i32 @is_offset_in_branch_range(i64 noundef %9) #2
%11 = icmp eq i32 %10, 0
%12 = and i32 %2, 3
%13 = trunc i64 %9 to i32
%14 = and i32 %13, 67108860
%15 = or disjoint i32 %12, %14
%16 = or disjoint i32 %15, 1207959552
%17 = select i1 %11, i32 0, i32 %16
ret i32 %17
}
declare i32 @is_offset_in_branch_range(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/lib/extr_code-patching.c_create_branch.c'
source_filename = "AnghaBench/linux/arch/powerpc/lib/extr_code-patching.c_create_branch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BRANCH_ABSOLUTE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 1275068416) i32 @create_branch(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @BRANCH_ABSOLUTE, align 4, !tbaa !6
%5 = and i32 %4, %2
%6 = icmp eq i32 %5, 0
%7 = ptrtoint ptr %0 to i64
%8 = select i1 %6, i64 %7, i64 0
%9 = sub i64 %1, %8
%10 = tail call i32 @is_offset_in_branch_range(i64 noundef %9) #2
%11 = icmp eq i32 %10, 0
%12 = and i32 %2, 3
%13 = trunc i64 %9 to i32
%14 = and i32 %13, 67108860
%15 = or disjoint i32 %12, %14
%16 = or disjoint i32 %15, 1207959552
%17 = select i1 %11, i32 0, i32 %16
ret i32 %17
}
declare i32 @is_offset_in_branch_range(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_powerpc_lib_extr_code-patching.c_create_branch |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_output.c_dss_mgr_enable.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_output.c_dss_mgr_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@dss_mgr_ops = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @dss_mgr_enable(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @dss_mgr_ops, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !9
%4 = tail call i32 %3(ptr noundef %0) #1
ret 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_output.c_dss_mgr_enable.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_output.c_dss_mgr_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dss_mgr_ops = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dss_mgr_enable(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @dss_mgr_ops, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = tail call i32 %3(ptr noundef %0) #1
ret 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| linux_drivers_video_fbdev_omap2_omapfb_dss_extr_output.c_dss_mgr_enable |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_aviobuf.c_avio_flush.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_aviobuf.c_avio_flush.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64, i64, i64 }
@SEEK_CUR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @avio_flush(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @flush_buffer(ptr noundef nonnull %0) #2
br label %18
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !10
%10 = load i64, ptr %0, align 8, !tbaa !11
%11 = sub nsw i64 %9, %10
%12 = tail call i32 @FFMIN(i32 noundef 0, i64 noundef %11) #2
%13 = tail call i32 @flush_buffer(ptr noundef nonnull %0) #2
%14 = icmp eq i32 %12, 0
br i1 %14, label %18, label %15
15: ; preds = %7
%16 = load i32, ptr @SEEK_CUR, align 4, !tbaa !12
%17 = tail call i32 @avio_seek(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %16) #2
br label %18
18: ; preds = %5, %15, %7
ret void
}
declare i32 @FFMIN(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @flush_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @avio_seek(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 16}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_aviobuf.c_avio_flush.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_aviobuf.c_avio_flush.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SEEK_CUR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @avio_flush(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @flush_buffer(ptr noundef nonnull %0) #2
br label %18
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = load i64, ptr %0, align 8, !tbaa !12
%11 = sub nsw i64 %9, %10
%12 = tail call i32 @FFMIN(i32 noundef 0, i64 noundef %11) #2
%13 = tail call i32 @flush_buffer(ptr noundef nonnull %0) #2
%14 = icmp eq i32 %12, 0
br i1 %14, label %18, label %15
15: ; preds = %7
%16 = load i32, ptr @SEEK_CUR, align 4, !tbaa !13
%17 = tail call i32 @avio_seek(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %16) #2
br label %18
18: ; preds = %5, %15, %7
ret void
}
declare i32 @FFMIN(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @flush_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @avio_seek(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 16}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
| FFmpeg_libavformat_extr_aviobuf.c_avio_flush |
; ModuleID = 'AnghaBench/mpv/video/out/extr_w32_common.c_handle_mouse_up.c'
source_filename = "AnghaBench/mpv/video/out/extr_w32_common.c_handle_mouse_up.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MP_KEY_STATE_UP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @handle_mouse_up], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @handle_mouse_up(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @mod_state(ptr noundef %0) #2
%4 = or i32 %3, %1
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = load i32, ptr @MP_KEY_STATE_UP, align 4, !tbaa !10
%7 = or i32 %4, %6
%8 = tail call i32 @mp_input_put_key(i32 noundef %5, i32 noundef %7) #2
%9 = tail call i32 (...) @ReleaseCapture() #2
ret void
}
declare i32 @mod_state(ptr noundef) local_unnamed_addr #1
declare i32 @mp_input_put_key(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseCapture(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"vo_w32_state", !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/mpv/video/out/extr_w32_common.c_handle_mouse_up.c'
source_filename = "AnghaBench/mpv/video/out/extr_w32_common.c_handle_mouse_up.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MP_KEY_STATE_UP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @handle_mouse_up], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @handle_mouse_up(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @mod_state(ptr noundef %0) #2
%4 = or i32 %3, %1
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = load i32, ptr @MP_KEY_STATE_UP, align 4, !tbaa !11
%7 = or i32 %4, %6
%8 = tail call i32 @mp_input_put_key(i32 noundef %5, i32 noundef %7) #2
%9 = tail call i32 @ReleaseCapture() #2
ret void
}
declare i32 @mod_state(ptr noundef) local_unnamed_addr #1
declare i32 @mp_input_put_key(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseCapture(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"vo_w32_state", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| mpv_video_out_extr_w32_common.c_handle_mouse_up |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_rpo_lro_en_set.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_rpo_lro_en_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"
@HW_ATL_RPO_LRO_EN_ADR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @hw_atl_rpo_lro_en_set(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @HW_ATL_RPO_LRO_EN_ADR, align 4, !tbaa !5
%4 = tail call i32 @aq_hw_write_reg(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2
ret void
}
declare i32 @aq_hw_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_rpo_lro_en_set.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_rpo_lro_en_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HW_ATL_RPO_LRO_EN_ADR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @hw_atl_rpo_lro_en_set(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @HW_ATL_RPO_LRO_EN_ADR, align 4, !tbaa !6
%4 = tail call i32 @aq_hw_write_reg(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2
ret void
}
declare i32 @aq_hw_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_aquantia_atlantic_hw_atl_extr_hw_atl_llh.c_hw_atl_rpo_lro_en_set |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/addi-data/extr_APCI1710_Chrono.c_i_APCI1710_ConvertChronoValue.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/addi-data/extr_APCI1710_Chrono.c_i_APCI1710_ConvertChronoValue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32, i32, i64 }
@devpriv = dso_local local_unnamed_addr global ptr null, align 8
@APCI1710_CHRONOMETER = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Chronometer not initialised\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"The module is not a Chronometer module\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Module number error\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @i_APCI1710_ConvertChronoValue(ptr nocapture noundef readnone %0, i8 noundef zeroext %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6, ptr nocapture noundef writeonly %7, ptr nocapture noundef writeonly %8) local_unnamed_addr #0 {
%10 = icmp ult i8 %1, 4
br i1 %10, label %11, label %81
11: ; preds = %9
%12 = load ptr, ptr @devpriv, align 8, !tbaa !5
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %12, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !9
%15 = zext nneg i8 %1 to i64
%16 = getelementptr inbounds i32, ptr %14, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = and i32 %17, -65536
%19 = zext i32 %18 to i64
%20 = load i32, ptr @APCI1710_CHRONOMETER, align 4, !tbaa !12
%21 = sext i32 %20 to i64
%22 = icmp eq i64 %19, %21
br i1 %22, label %23, label %79
23: ; preds = %11
%24 = load ptr, ptr %12, align 8, !tbaa !14
%25 = getelementptr inbounds %struct.TYPE_7__, ptr %24, i64 %15
%26 = load i32, ptr %25, align 8, !tbaa !15
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %77
28: ; preds = %23
%29 = tail call i32 (...) @fpu_begin() #2
%30 = uitofp i32 %2 to double
%31 = load ptr, ptr @devpriv, align 8, !tbaa !5
%32 = load ptr, ptr %31, align 8, !tbaa !14
%33 = getelementptr inbounds %struct.TYPE_7__, ptr %32, i64 %15
%34 = getelementptr inbounds %struct.TYPE_6__, ptr %33, i64 0, i32 2
%35 = load i64, ptr %34, align 8, !tbaa !19
%36 = sitofp i64 %35 to double
%37 = fmul double %30, %36
%38 = getelementptr inbounds %struct.TYPE_6__, ptr %33, i64 0, i32 1
%39 = load i32, ptr %38, align 4, !tbaa !20
switch i32 %39, label %75 [
i32 0, label %40
i32 1, label %42
i32 2, label %45
i32 3, label %48
i32 4, label %51
]
40: ; preds = %28
%41 = fdiv double %37, 1.000000e+03
br label %42
42: ; preds = %28, %40
%43 = phi double [ %37, %28 ], [ %41, %40 ]
%44 = fdiv double %43, 1.000000e+03
br label %45
45: ; preds = %28, %42
%46 = phi double [ %37, %28 ], [ %44, %42 ]
%47 = fdiv double %46, 1.000000e+03
br label %48
48: ; preds = %28, %45
%49 = phi double [ %37, %28 ], [ %47, %45 ]
%50 = fdiv double %49, 6.000000e+01
br label %51
51: ; preds = %28, %48
%52 = phi double [ %37, %28 ], [ %50, %48 ]
%53 = fdiv double %52, 6.000000e+01
%54 = fptoui double %53 to i32
store i32 %54, ptr %3, align 4, !tbaa !12
%55 = uitofp i32 %54 to double
%56 = fsub double %53, %55
%57 = fmul double %56, 6.000000e+01
%58 = fptoui double %57 to i8
store i8 %58, ptr %4, align 1, !tbaa !21
%59 = uitofp i8 %58 to double
%60 = fsub double %57, %59
%61 = fmul double %60, 6.000000e+01
%62 = fptoui double %61 to i8
store i8 %62, ptr %5, align 1, !tbaa !21
%63 = uitofp i8 %62 to double
%64 = fsub double %61, %63
%65 = fmul double %64, 1.000000e+03
%66 = fptoui double %65 to i32
store i32 %66, ptr %6, align 4, !tbaa !12
%67 = uitofp i32 %66 to double
%68 = fsub double %65, %67
%69 = fmul double %68, 1.000000e+03
%70 = fptoui double %69 to i32
store i32 %70, ptr %7, align 4, !tbaa !12
%71 = uitofp i32 %70 to double
%72 = fsub double %69, %71
%73 = fmul double %72, 1.000000e+03
%74 = fptoui double %73 to i32
store i32 %74, ptr %8, align 4, !tbaa !12
br label %75
75: ; preds = %28, %51
%76 = tail call i32 (...) @fpu_end() #2
br label %83
77: ; preds = %23
%78 = tail call i32 @DPRINTK(ptr noundef nonnull @.str) #2
br label %83
79: ; preds = %11
%80 = tail call i32 @DPRINTK(ptr noundef nonnull @.str.1) #2
br label %83
81: ; preds = %9
%82 = tail call i32 @DPRINTK(ptr noundef nonnull @.str.2) #2
br label %83
83: ; preds = %79, %77, %75, %81
%84 = phi i32 [ 0, %75 ], [ -4, %77 ], [ -3, %79 ], [ -2, %81 ]
ret i32 %84
}
declare i32 @fpu_begin(...) local_unnamed_addr #1
declare i32 @fpu_end(...) local_unnamed_addr #1
declare i32 @DPRINTK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_8__", !6, i64 0, !11, i64 8}
!11 = !{!"TYPE_5__", !6, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !6, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_7__", !17, i64 0}
!17 = !{!"TYPE_6__", !13, i64 0, !13, i64 4, !18, i64 8}
!18 = !{!"long", !7, i64 0}
!19 = !{!16, !18, i64 8}
!20 = !{!16, !13, i64 4}
!21 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/addi-data/extr_APCI1710_Chrono.c_i_APCI1710_ConvertChronoValue.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/addi-data/extr_APCI1710_Chrono.c_i_APCI1710_ConvertChronoValue.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32, i32, i64 }
@devpriv = common local_unnamed_addr global ptr null, align 8
@APCI1710_CHRONOMETER = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Chronometer not initialised\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"The module is not a Chronometer module\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Module number error\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -4, 1) i32 @i_APCI1710_ConvertChronoValue(ptr nocapture noundef readnone %0, i8 noundef zeroext %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6, ptr nocapture noundef writeonly %7, ptr nocapture noundef writeonly %8) local_unnamed_addr #0 {
%10 = icmp ult i8 %1, 4
br i1 %10, label %11, label %81
11: ; preds = %9
%12 = load ptr, ptr @devpriv, align 8, !tbaa !6
%13 = getelementptr inbounds i8, ptr %12, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !10
%15 = zext nneg i8 %1 to i64
%16 = getelementptr inbounds i32, ptr %14, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = and i32 %17, -65536
%19 = zext i32 %18 to i64
%20 = load i32, ptr @APCI1710_CHRONOMETER, align 4, !tbaa !13
%21 = sext i32 %20 to i64
%22 = icmp eq i64 %19, %21
br i1 %22, label %23, label %79
23: ; preds = %11
%24 = load ptr, ptr %12, align 8, !tbaa !15
%25 = getelementptr inbounds %struct.TYPE_7__, ptr %24, i64 %15
%26 = load i32, ptr %25, align 8, !tbaa !16
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %77
28: ; preds = %23
%29 = tail call i32 @fpu_begin() #2
%30 = uitofp i32 %2 to double
%31 = load ptr, ptr @devpriv, align 8, !tbaa !6
%32 = load ptr, ptr %31, align 8, !tbaa !15
%33 = getelementptr inbounds %struct.TYPE_7__, ptr %32, i64 %15
%34 = getelementptr inbounds i8, ptr %33, i64 8
%35 = load i64, ptr %34, align 8, !tbaa !20
%36 = sitofp i64 %35 to double
%37 = fmul double %30, %36
%38 = getelementptr inbounds i8, ptr %33, i64 4
%39 = load i32, ptr %38, align 4, !tbaa !21
switch i32 %39, label %75 [
i32 0, label %40
i32 1, label %42
i32 2, label %45
i32 3, label %48
i32 4, label %51
]
40: ; preds = %28
%41 = fdiv double %37, 1.000000e+03
br label %42
42: ; preds = %28, %40
%43 = phi double [ %37, %28 ], [ %41, %40 ]
%44 = fdiv double %43, 1.000000e+03
br label %45
45: ; preds = %28, %42
%46 = phi double [ %37, %28 ], [ %44, %42 ]
%47 = fdiv double %46, 1.000000e+03
br label %48
48: ; preds = %28, %45
%49 = phi double [ %37, %28 ], [ %47, %45 ]
%50 = fdiv double %49, 6.000000e+01
br label %51
51: ; preds = %28, %48
%52 = phi double [ %37, %28 ], [ %50, %48 ]
%53 = fdiv double %52, 6.000000e+01
%54 = fptoui double %53 to i32
store i32 %54, ptr %3, align 4, !tbaa !13
%55 = uitofp i32 %54 to double
%56 = fsub double %53, %55
%57 = fmul double %56, 6.000000e+01
%58 = fptoui double %57 to i8
store i8 %58, ptr %4, align 1, !tbaa !22
%59 = uitofp i8 %58 to double
%60 = fsub double %57, %59
%61 = fmul double %60, 6.000000e+01
%62 = fptoui double %61 to i8
store i8 %62, ptr %5, align 1, !tbaa !22
%63 = uitofp i8 %62 to double
%64 = fsub double %61, %63
%65 = fmul double %64, 1.000000e+03
%66 = fptoui double %65 to i32
store i32 %66, ptr %6, align 4, !tbaa !13
%67 = uitofp i32 %66 to double
%68 = fsub double %65, %67
%69 = fmul double %68, 1.000000e+03
%70 = fptoui double %69 to i32
store i32 %70, ptr %7, align 4, !tbaa !13
%71 = uitofp i32 %70 to double
%72 = fsub double %69, %71
%73 = fmul double %72, 1.000000e+03
%74 = fptoui double %73 to i32
store i32 %74, ptr %8, align 4, !tbaa !13
br label %75
75: ; preds = %28, %51
%76 = tail call i32 @fpu_end() #2
br label %83
77: ; preds = %23
%78 = tail call i32 @DPRINTK(ptr noundef nonnull @.str) #2
br label %83
79: ; preds = %11
%80 = tail call i32 @DPRINTK(ptr noundef nonnull @.str.1) #2
br label %83
81: ; preds = %9
%82 = tail call i32 @DPRINTK(ptr noundef nonnull @.str.2) #2
br label %83
83: ; preds = %79, %77, %75, %81
%84 = phi i32 [ 0, %75 ], [ -4, %77 ], [ -3, %79 ], [ -2, %81 ]
ret i32 %84
}
declare i32 @fpu_begin(...) local_unnamed_addr #1
declare i32 @fpu_end(...) local_unnamed_addr #1
declare i32 @DPRINTK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_8__", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_5__", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!11, !7, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_7__", !18, i64 0}
!18 = !{!"TYPE_6__", !14, i64 0, !14, i64 4, !19, i64 8}
!19 = !{!"long", !8, i64 0}
!20 = !{!17, !19, i64 8}
!21 = !{!17, !14, i64 4}
!22 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_staging_comedi_drivers_addi-data_extr_APCI1710_Chrono.c_i_APCI1710_ConvertChronoValue |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_a100u2w.c_wait_hdi_set.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_a100u2w.c_wait_hdi_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"
@ORC_HSTUS = dso_local local_unnamed_addr global i64 0, align 8
@HDI = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wait_hdi_set], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @wait_hdi_set(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%5 = add nsw i64 %4, %3
%6 = tail call i32 @inb(i64 noundef %5) #2
store i32 %6, ptr %1, align 4, !tbaa !11
%7 = load i32, ptr @HDI, align 4, !tbaa !11
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %93
10: ; preds = %2
%11 = tail call i32 @mdelay(i32 noundef 100) #2
%12 = load i64, ptr %0, align 8, !tbaa !5
%13 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%14 = add nsw i64 %13, %12
%15 = tail call i32 @inb(i64 noundef %14) #2
store i32 %15, ptr %1, align 4, !tbaa !11
%16 = load i32, ptr @HDI, align 4, !tbaa !11
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %93
19: ; preds = %10
%20 = tail call i32 @mdelay(i32 noundef 100) #2
%21 = load i64, ptr %0, align 8, !tbaa !5
%22 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%23 = add nsw i64 %22, %21
%24 = tail call i32 @inb(i64 noundef %23) #2
store i32 %24, ptr %1, align 4, !tbaa !11
%25 = load i32, ptr @HDI, align 4, !tbaa !11
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %93
28: ; preds = %19
%29 = tail call i32 @mdelay(i32 noundef 100) #2
%30 = load i64, ptr %0, align 8, !tbaa !5
%31 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%32 = add nsw i64 %31, %30
%33 = tail call i32 @inb(i64 noundef %32) #2
store i32 %33, ptr %1, align 4, !tbaa !11
%34 = load i32, ptr @HDI, align 4, !tbaa !11
%35 = and i32 %34, %33
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %93
37: ; preds = %28
%38 = tail call i32 @mdelay(i32 noundef 100) #2
%39 = load i64, ptr %0, align 8, !tbaa !5
%40 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%41 = add nsw i64 %40, %39
%42 = tail call i32 @inb(i64 noundef %41) #2
store i32 %42, ptr %1, align 4, !tbaa !11
%43 = load i32, ptr @HDI, align 4, !tbaa !11
%44 = and i32 %43, %42
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %93
46: ; preds = %37
%47 = tail call i32 @mdelay(i32 noundef 100) #2
%48 = load i64, ptr %0, align 8, !tbaa !5
%49 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%50 = add nsw i64 %49, %48
%51 = tail call i32 @inb(i64 noundef %50) #2
store i32 %51, ptr %1, align 4, !tbaa !11
%52 = load i32, ptr @HDI, align 4, !tbaa !11
%53 = and i32 %52, %51
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %93
55: ; preds = %46
%56 = tail call i32 @mdelay(i32 noundef 100) #2
%57 = load i64, ptr %0, align 8, !tbaa !5
%58 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%59 = add nsw i64 %58, %57
%60 = tail call i32 @inb(i64 noundef %59) #2
store i32 %60, ptr %1, align 4, !tbaa !11
%61 = load i32, ptr @HDI, align 4, !tbaa !11
%62 = and i32 %61, %60
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %93
64: ; preds = %55
%65 = tail call i32 @mdelay(i32 noundef 100) #2
%66 = load i64, ptr %0, align 8, !tbaa !5
%67 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%68 = add nsw i64 %67, %66
%69 = tail call i32 @inb(i64 noundef %68) #2
store i32 %69, ptr %1, align 4, !tbaa !11
%70 = load i32, ptr @HDI, align 4, !tbaa !11
%71 = and i32 %70, %69
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %93
73: ; preds = %64
%74 = tail call i32 @mdelay(i32 noundef 100) #2
%75 = load i64, ptr %0, align 8, !tbaa !5
%76 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%77 = add nsw i64 %76, %75
%78 = tail call i32 @inb(i64 noundef %77) #2
store i32 %78, ptr %1, align 4, !tbaa !11
%79 = load i32, ptr @HDI, align 4, !tbaa !11
%80 = and i32 %79, %78
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %93
82: ; preds = %73
%83 = tail call i32 @mdelay(i32 noundef 100) #2
%84 = load i64, ptr %0, align 8, !tbaa !5
%85 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !10
%86 = add nsw i64 %85, %84
%87 = tail call i32 @inb(i64 noundef %86) #2
store i32 %87, ptr %1, align 4, !tbaa !11
%88 = load i32, ptr @HDI, align 4, !tbaa !11
%89 = and i32 %88, %87
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %82
%92 = tail call i32 @mdelay(i32 noundef 100) #2
br label %93
93: ; preds = %91, %82, %73, %64, %55, %46, %37, %28, %19, %10, %2
%94 = phi i32 [ 1, %2 ], [ 1, %10 ], [ 1, %19 ], [ 1, %28 ], [ 1, %37 ], [ 1, %46 ], [ 1, %55 ], [ 1, %64 ], [ 1, %73 ], [ 1, %82 ], [ 0, %91 ]
ret i32 %94
}
declare i32 @inb(i64 noundef) local_unnamed_addr #1
declare i32 @mdelay(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 = !{!"orc_host", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_a100u2w.c_wait_hdi_set.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_a100u2w.c_wait_hdi_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ORC_HSTUS = common local_unnamed_addr global i64 0, align 8
@HDI = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wait_hdi_set], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @wait_hdi_set(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%5 = add nsw i64 %4, %3
%6 = tail call i32 @inb(i64 noundef %5) #2
store i32 %6, ptr %1, align 4, !tbaa !12
%7 = load i32, ptr @HDI, align 4, !tbaa !12
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %93
10: ; preds = %2
%11 = tail call i32 @mdelay(i32 noundef 100) #2
%12 = load i64, ptr %0, align 8, !tbaa !6
%13 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%14 = add nsw i64 %13, %12
%15 = tail call i32 @inb(i64 noundef %14) #2
store i32 %15, ptr %1, align 4, !tbaa !12
%16 = load i32, ptr @HDI, align 4, !tbaa !12
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %93
19: ; preds = %10
%20 = tail call i32 @mdelay(i32 noundef 100) #2
%21 = load i64, ptr %0, align 8, !tbaa !6
%22 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%23 = add nsw i64 %22, %21
%24 = tail call i32 @inb(i64 noundef %23) #2
store i32 %24, ptr %1, align 4, !tbaa !12
%25 = load i32, ptr @HDI, align 4, !tbaa !12
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %93
28: ; preds = %19
%29 = tail call i32 @mdelay(i32 noundef 100) #2
%30 = load i64, ptr %0, align 8, !tbaa !6
%31 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%32 = add nsw i64 %31, %30
%33 = tail call i32 @inb(i64 noundef %32) #2
store i32 %33, ptr %1, align 4, !tbaa !12
%34 = load i32, ptr @HDI, align 4, !tbaa !12
%35 = and i32 %34, %33
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %93
37: ; preds = %28
%38 = tail call i32 @mdelay(i32 noundef 100) #2
%39 = load i64, ptr %0, align 8, !tbaa !6
%40 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%41 = add nsw i64 %40, %39
%42 = tail call i32 @inb(i64 noundef %41) #2
store i32 %42, ptr %1, align 4, !tbaa !12
%43 = load i32, ptr @HDI, align 4, !tbaa !12
%44 = and i32 %43, %42
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %93
46: ; preds = %37
%47 = tail call i32 @mdelay(i32 noundef 100) #2
%48 = load i64, ptr %0, align 8, !tbaa !6
%49 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%50 = add nsw i64 %49, %48
%51 = tail call i32 @inb(i64 noundef %50) #2
store i32 %51, ptr %1, align 4, !tbaa !12
%52 = load i32, ptr @HDI, align 4, !tbaa !12
%53 = and i32 %52, %51
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %93
55: ; preds = %46
%56 = tail call i32 @mdelay(i32 noundef 100) #2
%57 = load i64, ptr %0, align 8, !tbaa !6
%58 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%59 = add nsw i64 %58, %57
%60 = tail call i32 @inb(i64 noundef %59) #2
store i32 %60, ptr %1, align 4, !tbaa !12
%61 = load i32, ptr @HDI, align 4, !tbaa !12
%62 = and i32 %61, %60
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %93
64: ; preds = %55
%65 = tail call i32 @mdelay(i32 noundef 100) #2
%66 = load i64, ptr %0, align 8, !tbaa !6
%67 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%68 = add nsw i64 %67, %66
%69 = tail call i32 @inb(i64 noundef %68) #2
store i32 %69, ptr %1, align 4, !tbaa !12
%70 = load i32, ptr @HDI, align 4, !tbaa !12
%71 = and i32 %70, %69
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %93
73: ; preds = %64
%74 = tail call i32 @mdelay(i32 noundef 100) #2
%75 = load i64, ptr %0, align 8, !tbaa !6
%76 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%77 = add nsw i64 %76, %75
%78 = tail call i32 @inb(i64 noundef %77) #2
store i32 %78, ptr %1, align 4, !tbaa !12
%79 = load i32, ptr @HDI, align 4, !tbaa !12
%80 = and i32 %79, %78
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %93
82: ; preds = %73
%83 = tail call i32 @mdelay(i32 noundef 100) #2
%84 = load i64, ptr %0, align 8, !tbaa !6
%85 = load i64, ptr @ORC_HSTUS, align 8, !tbaa !11
%86 = add nsw i64 %85, %84
%87 = tail call i32 @inb(i64 noundef %86) #2
store i32 %87, ptr %1, align 4, !tbaa !12
%88 = load i32, ptr @HDI, align 4, !tbaa !12
%89 = and i32 %88, %87
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %82
%92 = tail call i32 @mdelay(i32 noundef 100) #2
br label %93
93: ; preds = %91, %82, %73, %64, %55, %46, %37, %28, %19, %10, %2
%94 = phi i32 [ 1, %2 ], [ 1, %10 ], [ 1, %19 ], [ 1, %28 ], [ 1, %37 ], [ 1, %46 ], [ 1, %55 ], [ 1, %64 ], [ 1, %73 ], [ 1, %82 ], [ 0, %91 ]
ret i32 %94
}
declare i32 @inb(i64 noundef) local_unnamed_addr #1
declare i32 @mdelay(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 = !{!"orc_host", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_scsi_extr_a100u2w.c_wait_hdi_set |
; ModuleID = 'AnghaBench/vlc/modules/access/v4l2/extr_access.c_AccessPoll.c'
source_filename = "AnghaBench/vlc/modules/access/v4l2/extr_access.c_AccessPoll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.pollfd = type { i32, i32 }
@POLLIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @AccessPoll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @AccessPoll(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.pollfd, align 4
%3 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = getelementptr inbounds %struct.pollfd, ptr %2, i64 0, i32 1
store i32 %4, ptr %5, align 4, !tbaa !13
%6 = load i32, ptr @POLLIN, align 4, !tbaa !15
store i32 %6, ptr %2, align 4, !tbaa !16
%7 = call i32 @vlc_poll_i11e(ptr noundef nonnull %2, i32 noundef 1, i32 noundef -1) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vlc_poll_i11e(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"pollfd", !12, i64 0, !12, i64 4}
!15 = !{!12, !12, i64 0}
!16 = !{!14, !12, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/access/v4l2/extr_access.c_AccessPoll.c'
source_filename = "AnghaBench/vlc/modules/access/v4l2/extr_access.c_AccessPoll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pollfd = type { i32, i32 }
@POLLIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @AccessPoll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @AccessPoll(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.pollfd, align 4
%3 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %4, ptr %5, align 4, !tbaa !14
%6 = load i32, ptr @POLLIN, align 4, !tbaa !16
store i32 %6, ptr %2, align 4, !tbaa !17
%7 = call i32 @vlc_poll_i11e(ptr noundef nonnull %2, i32 noundef 1, i32 noundef -1) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vlc_poll_i11e(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 4}
!15 = !{!"pollfd", !13, i64 0, !13, i64 4}
!16 = !{!13, !13, i64 0}
!17 = !{!15, !13, i64 0}
| vlc_modules_access_v4l2_extr_access.c_AccessPoll |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/pci/extr_numaq_32.c_write_cf8.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/pci/extr_numaq_32.c_write_cf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@xquad_portio = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_cf8], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @write_cf8(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @PCI_CONF1_MQ_ADDRESS(i32 noundef %0, i32 noundef %1, i32 noundef %2) #2
%5 = load i64, ptr @xquad_portio, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %3
%8 = tail call i32 @BUS2QUAD(i32 noundef %0) #2
%9 = tail call i32 @XQUAD_PORT_ADDR(i32 noundef 3320, i32 noundef %8) #2
%10 = tail call i32 @writel(i32 noundef %4, i32 noundef %9) #2
br label %13
11: ; preds = %3
%12 = tail call i32 @outl(i32 noundef %4, i32 noundef 3320) #2
br label %13
13: ; preds = %11, %7
ret void
}
declare i32 @PCI_CONF1_MQ_ADDRESS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XQUAD_PORT_ADDR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUS2QUAD(i32 noundef) local_unnamed_addr #1
declare i32 @outl(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/pci/extr_numaq_32.c_write_cf8.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/pci/extr_numaq_32.c_write_cf8.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@xquad_portio = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @write_cf8], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @write_cf8(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @PCI_CONF1_MQ_ADDRESS(i32 noundef %0, i32 noundef %1, i32 noundef %2) #2
%5 = load i64, ptr @xquad_portio, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %3
%8 = tail call i32 @BUS2QUAD(i32 noundef %0) #2
%9 = tail call i32 @XQUAD_PORT_ADDR(i32 noundef 3320, i32 noundef %8) #2
%10 = tail call i32 @writel(i32 noundef %4, i32 noundef %9) #2
br label %13
11: ; preds = %3
%12 = tail call i32 @outl(i32 noundef %4, i32 noundef 3320) #2
br label %13
13: ; preds = %11, %7
ret void
}
declare i32 @PCI_CONF1_MQ_ADDRESS(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XQUAD_PORT_ADDR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUS2QUAD(i32 noundef) local_unnamed_addr #1
declare i32 @outl(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_x86_pci_extr_numaq_32.c_write_cf8 |
; ModuleID = 'AnghaBench/freebsd/tests/sys/cddl/zfs/tests/txg_integrity/extr_txg_integrity.c_write_chunk.c'
source_filename = "AnghaBench/freebsd/tests/sys/cddl/zfs/tests/txg_integrity/extr_txg_integrity.c_write_chunk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@outfd = dso_local local_unnamed_addr global i32 0, align 4
@p_file = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_chunk], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @write_chunk(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%6 = call i32 @get_chunk_range(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
%7 = load i32, ptr %5, align 4, !tbaa !5
%8 = load i32, ptr %4, align 4, !tbaa !5
%9 = sub nsw i32 %7, %8
%10 = sext i32 %9 to i64
%11 = call ptr @malloc(i64 noundef %10)
%12 = call i32 @marker_fill(ptr noundef %11, i32 noundef %8, i64 noundef %10, i32 noundef %2) #4
%13 = load i32, ptr @outfd, align 4, !tbaa !5
%14 = load i32, ptr %4, align 4, !tbaa !5
%15 = call i32 @pwrite(i32 noundef %13, ptr noundef %11, i64 noundef %10, i32 noundef %14) #4
%16 = call i32 @free(ptr noundef %11) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_chunk_range(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3
declare i32 @marker_fill(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pwrite(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @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 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/tests/sys/cddl/zfs/tests/txg_integrity/extr_txg_integrity.c_write_chunk.c'
source_filename = "AnghaBench/freebsd/tests/sys/cddl/zfs/tests/txg_integrity/extr_txg_integrity.c_write_chunk.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@outfd = common local_unnamed_addr global i32 0, align 4
@p_file = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @write_chunk], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @write_chunk(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%6 = call i32 @get_chunk_range(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
%7 = load i32, ptr %5, align 4, !tbaa !6
%8 = load i32, ptr %4, align 4, !tbaa !6
%9 = sub nsw i32 %7, %8
%10 = sext i32 %9 to i64
%11 = call ptr @malloc(i64 noundef %10)
%12 = call i32 @marker_fill(ptr noundef %11, i32 noundef %8, i64 noundef %10, i32 noundef %2) #4
%13 = load i32, ptr @outfd, align 4, !tbaa !6
%14 = load i32, ptr %4, align 4, !tbaa !6
%15 = call i32 @pwrite(i32 noundef %13, ptr noundef %11, i64 noundef %10, i32 noundef %14) #4
%16 = call i32 @free(ptr noundef %11) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_chunk_range(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3
declare i32 @marker_fill(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pwrite(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @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 = { 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 #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_tests_sys_cddl_zfs_tests_txg_integrity_extr_txg_integrity.c_write_chunk |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_jme.c_jme_set_msglevel.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_jme.c_jme_set_msglevel.c"
target datalayout = "e-m:e-p270:32:32-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 @jme_set_msglevel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @jme_set_msglevel(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
store i32 %1, ptr %3, align 4, !tbaa !5
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"jme_adapter", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_jme.c_jme_set_msglevel.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_jme.c_jme_set_msglevel.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 @jme_set_msglevel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @jme_set_msglevel(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
store i32 %1, ptr %3, align 4, !tbaa !6
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"jme_adapter", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_extr_jme.c_jme_set_msglevel |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_rar5.c_get_context.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_rar5.c_get_context.c"
target datalayout = "e-m:e-p270:32:32-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_context], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal ptr @get_context(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr %2, align 8, !tbaa !10
%4 = inttoptr i64 %3 to ptr
ret ptr %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"archive_read", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_rar5.c_get_context.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_format_rar5.c_get_context.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_context], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @get_context(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr %2, align 8, !tbaa !11
%4 = inttoptr i64 %3 to ptr
ret ptr %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"archive_read", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
| freebsd_contrib_libarchive_libarchive_extr_archive_read_support_format_rar5.c_get_context |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_set_d0_lplu_state_ich8lan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_set_d0_lplu_state_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_2__, %struct.e1000_phy_info }
%struct.TYPE_2__ = type { i64 }
%struct.e1000_phy_info = type { i64, i64 }
@e1000_phy_ife = dso_local local_unnamed_addr global i64 0, align 8
@PHY_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@E1000_PHY_CTRL_D0A_LPLU = dso_local local_unnamed_addr global i32 0, align 4
@e1000_phy_igp_3 = dso_local local_unnamed_addr global i64 0, align 8
@e1000_ich8lan = dso_local local_unnamed_addr global i64 0, align 8
@IGP01E1000_PHY_PORT_CONFIG = dso_local local_unnamed_addr global i32 0, align 4
@IGP01E1000_PSCFR_SMART_SPEED = dso_local local_unnamed_addr global i32 0, align 4
@e1000_smart_speed_on = dso_local local_unnamed_addr global i64 0, align 8
@e1000_smart_speed_off = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_set_d0_lplu_state_ich8lan], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @e1000_set_d0_lplu_state_ich8lan(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr @e1000_phy_ife, align 8, !tbaa !10
%7 = icmp eq i64 %5, %6
br i1 %7, label %78, label %8
8: ; preds = %2
%9 = load i32, ptr @PHY_CTRL, align 4, !tbaa !11
%10 = tail call i32 @er32(i32 noundef %9) #3
%11 = icmp eq i32 %1, 0
%12 = load i32, ptr @E1000_PHY_CTRL_D0A_LPLU, align 4, !tbaa !11
br i1 %11, label %38, label %13
13: ; preds = %8
%14 = or i32 %12, %10
%15 = load i32, ptr @PHY_CTRL, align 4, !tbaa !11
%16 = tail call i32 @ew32(i32 noundef %15, i32 noundef %14) #3
%17 = load i64, ptr %4, align 8, !tbaa !5
%18 = load i64, ptr @e1000_phy_igp_3, align 8, !tbaa !10
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %78
20: ; preds = %13
%21 = load i64, ptr %0, align 8, !tbaa !13
%22 = load i64, ptr @e1000_ich8lan, align 8, !tbaa !10
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = tail call i32 @e1000e_gig_downshift_workaround_ich8lan(ptr noundef nonnull %0) #3
br label %26
26: ; preds = %24, %20
%27 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !11
%28 = call i64 @e1e_rphy(ptr noundef nonnull %0, i32 noundef %27, ptr noundef nonnull %3) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %78
30: ; preds = %26
%31 = load i32, ptr @IGP01E1000_PSCFR_SMART_SPEED, align 4, !tbaa !11
%32 = xor i32 %31, -1
%33 = load i32, ptr %3, align 4, !tbaa !11
%34 = and i32 %33, %32
store i32 %34, ptr %3, align 4, !tbaa !11
%35 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !11
%36 = call i64 @e1e_wphy(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %34) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %77, label %78
38: ; preds = %8
%39 = xor i32 %12, -1
%40 = and i32 %10, %39
%41 = load i32, ptr @PHY_CTRL, align 4, !tbaa !11
%42 = tail call i32 @ew32(i32 noundef %41, i32 noundef %40) #3
%43 = load i64, ptr %4, align 8, !tbaa !5
%44 = load i64, ptr @e1000_phy_igp_3, align 8, !tbaa !10
%45 = icmp eq i64 %43, %44
br i1 %45, label %46, label %78
46: ; preds = %38
%47 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 1
%48 = load i64, ptr %47, align 8, !tbaa !16
%49 = load i64, ptr @e1000_smart_speed_on, align 8, !tbaa !10
%50 = icmp eq i64 %48, %49
br i1 %50, label %51, label %62
51: ; preds = %46
%52 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !11
%53 = call i64 @e1e_rphy(ptr noundef nonnull %0, i32 noundef %52, ptr noundef nonnull %3) #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %78
55: ; preds = %51
%56 = load i32, ptr @IGP01E1000_PSCFR_SMART_SPEED, align 4, !tbaa !11
%57 = load i32, ptr %3, align 4, !tbaa !11
%58 = or i32 %57, %56
store i32 %58, ptr %3, align 4, !tbaa !11
%59 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !11
%60 = call i64 @e1e_wphy(ptr noundef nonnull %0, i32 noundef %59, i32 noundef %58) #3
%61 = icmp eq i64 %60, 0
br i1 %61, label %77, label %78
62: ; preds = %46
%63 = load i64, ptr @e1000_smart_speed_off, align 8, !tbaa !10
%64 = icmp eq i64 %48, %63
br i1 %64, label %65, label %77
65: ; preds = %62
%66 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !11
%67 = call i64 @e1e_rphy(ptr noundef nonnull %0, i32 noundef %66, ptr noundef nonnull %3) #3
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %78
69: ; preds = %65
%70 = load i32, ptr @IGP01E1000_PSCFR_SMART_SPEED, align 4, !tbaa !11
%71 = xor i32 %70, -1
%72 = load i32, ptr %3, align 4, !tbaa !11
%73 = and i32 %72, %71
store i32 %73, ptr %3, align 4, !tbaa !11
%74 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !11
%75 = call i64 @e1e_wphy(ptr noundef nonnull %0, i32 noundef %74, i32 noundef %73) #3
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %55, %69, %62, %30
br label %78
78: ; preds = %69, %65, %55, %51, %38, %30, %26, %13, %2, %77
%79 = phi i64 [ 0, %77 ], [ 0, %2 ], [ 0, %13 ], [ %28, %26 ], [ %36, %30 ], [ 0, %38 ], [ %53, %51 ], [ %60, %55 ], [ %67, %65 ], [ %75, %69 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i64 %79
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @er32(i32 noundef) local_unnamed_addr #2
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @e1000e_gig_downshift_workaround_ich8lan(ptr noundef) local_unnamed_addr #2
declare i64 @e1e_rphy(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @e1e_wphy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"e1000_phy_info", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"e1000_hw", !15, i64 0, !6, i64 8}
!15 = !{!"TYPE_2__", !7, i64 0}
!16 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_set_d0_lplu_state_ich8lan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_set_d0_lplu_state_ich8lan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@e1000_phy_ife = common local_unnamed_addr global i64 0, align 8
@PHY_CTRL = common local_unnamed_addr global i32 0, align 4
@E1000_PHY_CTRL_D0A_LPLU = common local_unnamed_addr global i32 0, align 4
@e1000_phy_igp_3 = common local_unnamed_addr global i64 0, align 8
@e1000_ich8lan = common local_unnamed_addr global i64 0, align 8
@IGP01E1000_PHY_PORT_CONFIG = common local_unnamed_addr global i32 0, align 4
@IGP01E1000_PSCFR_SMART_SPEED = common local_unnamed_addr global i32 0, align 4
@e1000_smart_speed_on = common local_unnamed_addr global i64 0, align 8
@e1000_smart_speed_off = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @e1000_set_d0_lplu_state_ich8lan], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @e1000_set_d0_lplu_state_ich8lan(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = getelementptr inbounds i8, ptr %0, i64 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr @e1000_phy_ife, align 8, !tbaa !11
%7 = icmp eq i64 %5, %6
br i1 %7, label %78, label %8
8: ; preds = %2
%9 = load i32, ptr @PHY_CTRL, align 4, !tbaa !12
%10 = tail call i32 @er32(i32 noundef %9) #3
%11 = icmp eq i32 %1, 0
%12 = load i32, ptr @E1000_PHY_CTRL_D0A_LPLU, align 4, !tbaa !12
br i1 %11, label %38, label %13
13: ; preds = %8
%14 = or i32 %12, %10
%15 = load i32, ptr @PHY_CTRL, align 4, !tbaa !12
%16 = tail call i32 @ew32(i32 noundef %15, i32 noundef %14) #3
%17 = load i64, ptr %4, align 8, !tbaa !6
%18 = load i64, ptr @e1000_phy_igp_3, align 8, !tbaa !11
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %78
20: ; preds = %13
%21 = load i64, ptr %0, align 8, !tbaa !14
%22 = load i64, ptr @e1000_ich8lan, align 8, !tbaa !11
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = tail call i32 @e1000e_gig_downshift_workaround_ich8lan(ptr noundef nonnull %0) #3
br label %26
26: ; preds = %24, %20
%27 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !12
%28 = call i64 @e1e_rphy(ptr noundef nonnull %0, i32 noundef %27, ptr noundef nonnull %3) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %78
30: ; preds = %26
%31 = load i32, ptr @IGP01E1000_PSCFR_SMART_SPEED, align 4, !tbaa !12
%32 = xor i32 %31, -1
%33 = load i32, ptr %3, align 4, !tbaa !12
%34 = and i32 %33, %32
store i32 %34, ptr %3, align 4, !tbaa !12
%35 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !12
%36 = call i64 @e1e_wphy(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %34) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %77, label %78
38: ; preds = %8
%39 = xor i32 %12, -1
%40 = and i32 %10, %39
%41 = load i32, ptr @PHY_CTRL, align 4, !tbaa !12
%42 = tail call i32 @ew32(i32 noundef %41, i32 noundef %40) #3
%43 = load i64, ptr %4, align 8, !tbaa !6
%44 = load i64, ptr @e1000_phy_igp_3, align 8, !tbaa !11
%45 = icmp eq i64 %43, %44
br i1 %45, label %46, label %78
46: ; preds = %38
%47 = getelementptr inbounds i8, ptr %0, i64 16
%48 = load i64, ptr %47, align 8, !tbaa !17
%49 = load i64, ptr @e1000_smart_speed_on, align 8, !tbaa !11
%50 = icmp eq i64 %48, %49
br i1 %50, label %51, label %62
51: ; preds = %46
%52 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !12
%53 = call i64 @e1e_rphy(ptr noundef nonnull %0, i32 noundef %52, ptr noundef nonnull %3) #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %78
55: ; preds = %51
%56 = load i32, ptr @IGP01E1000_PSCFR_SMART_SPEED, align 4, !tbaa !12
%57 = load i32, ptr %3, align 4, !tbaa !12
%58 = or i32 %57, %56
store i32 %58, ptr %3, align 4, !tbaa !12
%59 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !12
%60 = call i64 @e1e_wphy(ptr noundef nonnull %0, i32 noundef %59, i32 noundef %58) #3
%61 = icmp eq i64 %60, 0
br i1 %61, label %77, label %78
62: ; preds = %46
%63 = load i64, ptr @e1000_smart_speed_off, align 8, !tbaa !11
%64 = icmp eq i64 %48, %63
br i1 %64, label %65, label %77
65: ; preds = %62
%66 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !12
%67 = call i64 @e1e_rphy(ptr noundef nonnull %0, i32 noundef %66, ptr noundef nonnull %3) #3
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %78
69: ; preds = %65
%70 = load i32, ptr @IGP01E1000_PSCFR_SMART_SPEED, align 4, !tbaa !12
%71 = xor i32 %70, -1
%72 = load i32, ptr %3, align 4, !tbaa !12
%73 = and i32 %72, %71
store i32 %73, ptr %3, align 4, !tbaa !12
%74 = load i32, ptr @IGP01E1000_PHY_PORT_CONFIG, align 4, !tbaa !12
%75 = call i64 @e1e_wphy(ptr noundef nonnull %0, i32 noundef %74, i32 noundef %73) #3
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %55, %69, %62, %30
br label %78
78: ; preds = %69, %65, %55, %51, %38, %30, %26, %13, %2, %77
%79 = phi i64 [ 0, %77 ], [ 0, %2 ], [ 0, %13 ], [ %28, %26 ], [ %36, %30 ], [ 0, %38 ], [ %53, %51 ], [ %60, %55 ], [ %67, %65 ], [ %75, %69 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i64 %79
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @er32(i32 noundef) local_unnamed_addr #2
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @e1000e_gig_downshift_workaround_ich8lan(ptr noundef) local_unnamed_addr #2
declare i64 @e1e_rphy(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @e1e_wphy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"e1000_phy_info", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"e1000_hw", !16, i64 0, !7, i64 8}
!16 = !{!"TYPE_2__", !8, i64 0}
!17 = !{!7, !8, i64 8}
| fastsocket_kernel_drivers_net_e1000e_extr_ich8lan.c_e1000_set_d0_lplu_state_ich8lan |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_xhci-mem.c_xhci_alloc_container_ctx.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_xhci-mem.c_xhci_alloc_container_ctx.c"
target datalayout = "e-m:e-p270:32:32-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.xhci_hcd = type { i32, i32 }
%struct.xhci_container_ctx = type { i32, i32, i32, i32 }
@XHCI_CTX_TYPE_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@XHCI_CTX_TYPE_INPUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xhci_alloc_container_ctx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @xhci_alloc_container_ctx(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %2) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %35, label %6
6: ; preds = %3
%7 = load i32, ptr @XHCI_CTX_TYPE_DEVICE, align 4, !tbaa !5
%8 = icmp ne i32 %7, %1
%9 = load i32, ptr @XHCI_CTX_TYPE_INPUT, align 4
%10 = icmp ne i32 %9, %1
%11 = select i1 %8, i1 %10, i1 false
%12 = zext i1 %11 to i32
%13 = tail call i32 @BUG_ON(i32 noundef %12) #2
store i32 %1, ptr %4, align 4, !tbaa !9
%14 = getelementptr inbounds %struct.xhci_hcd, ptr %0, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = tail call i64 @HCC_64BYTE_CONTEXT(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
%18 = select i1 %17, i32 1024, i32 2048
%19 = getelementptr inbounds %struct.xhci_container_ctx, ptr %4, i64 0, i32 1
store i32 %18, ptr %19, align 4, !tbaa !13
%20 = load i32, ptr @XHCI_CTX_TYPE_INPUT, align 4, !tbaa !5
%21 = icmp eq i32 %20, %1
br i1 %21, label %22, label %28
22: ; preds = %6
%23 = load i32, ptr %14, align 4, !tbaa !11
%24 = tail call i64 @CTX_SIZE(i32 noundef %23) #2
%25 = load i32, ptr %19, align 4, !tbaa !13
%26 = trunc i64 %24 to i32
%27 = add i32 %25, %26
store i32 %27, ptr %19, align 4, !tbaa !13
br label %28
28: ; preds = %22, %6
%29 = load i32, ptr %0, align 4, !tbaa !14
%30 = getelementptr inbounds %struct.xhci_container_ctx, ptr %4, i64 0, i32 3
%31 = tail call i32 @dma_pool_alloc(i32 noundef %29, i32 noundef %2, ptr noundef nonnull %30) #2
%32 = getelementptr inbounds %struct.xhci_container_ctx, ptr %4, i64 0, i32 2
store i32 %31, ptr %32, align 4, !tbaa !15
%33 = load i32, ptr %19, align 4, !tbaa !13
%34 = tail call i32 @memset(i32 noundef %31, i32 noundef 0, i32 noundef %33) #2
br label %35
35: ; preds = %3, %28
ret ptr %4
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i64 @HCC_64BYTE_CONTEXT(i32 noundef) local_unnamed_addr #1
declare i64 @CTX_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @dma_pool_alloc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"xhci_container_ctx", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!12, !6, i64 4}
!12 = !{!"xhci_hcd", !6, i64 0, !6, i64 4}
!13 = !{!10, !6, i64 4}
!14 = !{!12, !6, i64 0}
!15 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_xhci-mem.c_xhci_alloc_container_ctx.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_xhci-mem.c_xhci_alloc_container_ctx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XHCI_CTX_TYPE_DEVICE = common local_unnamed_addr global i32 0, align 4
@XHCI_CTX_TYPE_INPUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xhci_alloc_container_ctx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @xhci_alloc_container_ctx(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %2) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %35, label %6
6: ; preds = %3
%7 = load i32, ptr @XHCI_CTX_TYPE_DEVICE, align 4, !tbaa !6
%8 = icmp ne i32 %7, %1
%9 = load i32, ptr @XHCI_CTX_TYPE_INPUT, align 4
%10 = icmp ne i32 %9, %1
%11 = select i1 %8, i1 %10, i1 false
%12 = zext i1 %11 to i32
%13 = tail call i32 @BUG_ON(i32 noundef %12) #2
store i32 %1, ptr %4, align 4, !tbaa !10
%14 = getelementptr inbounds i8, ptr %0, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = tail call i64 @HCC_64BYTE_CONTEXT(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
%18 = select i1 %17, i32 1024, i32 2048
%19 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %18, ptr %19, align 4, !tbaa !14
%20 = load i32, ptr @XHCI_CTX_TYPE_INPUT, align 4, !tbaa !6
%21 = icmp eq i32 %20, %1
br i1 %21, label %22, label %28
22: ; preds = %6
%23 = load i32, ptr %14, align 4, !tbaa !12
%24 = tail call i64 @CTX_SIZE(i32 noundef %23) #2
%25 = load i32, ptr %19, align 4, !tbaa !14
%26 = trunc i64 %24 to i32
%27 = add i32 %25, %26
store i32 %27, ptr %19, align 4, !tbaa !14
br label %28
28: ; preds = %22, %6
%29 = load i32, ptr %0, align 4, !tbaa !15
%30 = getelementptr inbounds i8, ptr %4, i64 12
%31 = tail call i32 @dma_pool_alloc(i32 noundef %29, i32 noundef %2, ptr noundef nonnull %30) #2
%32 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %31, ptr %32, align 4, !tbaa !16
%33 = load i32, ptr %19, align 4, !tbaa !14
%34 = tail call i32 @memset(i32 noundef %31, i32 noundef 0, i32 noundef %33) #2
br label %35
35: ; preds = %3, %28
ret ptr %4
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i64 @HCC_64BYTE_CONTEXT(i32 noundef) local_unnamed_addr #1
declare i64 @CTX_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @dma_pool_alloc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"xhci_container_ctx", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!13, !7, i64 4}
!13 = !{!"xhci_hcd", !7, i64 0, !7, i64 4}
!14 = !{!11, !7, i64 4}
!15 = !{!13, !7, i64 0}
!16 = !{!11, !7, i64 8}
| fastsocket_kernel_drivers_usb_host_extr_xhci-mem.c_xhci_alloc_container_ctx |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/vm/extr_..kselftest.h_ksft_exit_fail.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/vm/extr_..kselftest.h_ksft_exit_fail.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Bail out!\0A\00", align 1
@KSFT_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ksft_exit_fail], section "llvm.metadata"
; Function Attrs: inlinehint noreturn nounwind uwtable
define internal noundef i32 @ksft_exit_fail() #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #3
%2 = tail call i32 (...) @ksft_print_cnts() #3
%3 = load i32, ptr @KSFT_FAIL, align 4, !tbaa !5
%4 = tail call i32 @exit(i32 noundef %3) #4
unreachable
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i32 @ksft_print_cnts(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { inlinehint 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/linux/tools/testing/selftests/vm/extr_..kselftest.h_ksft_exit_fail.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/vm/extr_..kselftest.h_ksft_exit_fail.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [11 x i8] c"Bail out!\0A\00", align 1
@KSFT_FAIL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ksft_exit_fail], section "llvm.metadata"
; Function Attrs: inlinehint noreturn nounwind ssp uwtable(sync)
define internal noundef i32 @ksft_exit_fail() #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #3
%2 = tail call i32 @ksft_print_cnts() #3
%3 = load i32, ptr @KSFT_FAIL, align 4, !tbaa !6
%4 = tail call i32 @exit(i32 noundef %3) #4
unreachable
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i32 @ksft_print_cnts(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { inlinehint 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"}
| linux_tools_testing_selftests_vm_extr_..kselftest.h_ksft_exit_fail |
; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_ts_metadata.c_ID3TAG_Parse_Handler.c'
source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_ts_metadata.c_ID3TAG_Parse_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"
@VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ID3TAG_Parse_Handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ID3TAG_Parse_Handler(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @ID3HandleTag(ptr noundef %1, i64 noundef %2, i32 noundef %0, ptr noundef %3, ptr noundef null) #2
%6 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !5
ret i32 %6
}
declare i32 @ID3HandleTag(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_ts_metadata.c_ID3TAG_Parse_Handler.c'
source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_ts_metadata.c_ID3TAG_Parse_Handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ID3TAG_Parse_Handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ID3TAG_Parse_Handler(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @ID3HandleTag(ptr noundef %1, i64 noundef %2, i32 noundef %0, ptr noundef %3, ptr noundef null) #2
%6 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !6
ret i32 %6
}
declare i32 @ID3HandleTag(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| vlc_modules_demux_mpeg_extr_ts_metadata.c_ID3TAG_Parse_Handler |
; ModuleID = 'AnghaBench/vlc/modules/video_filter/extr_puzzle_mgt.c_puzzle_piece_foreground.c'
source_filename = "AnghaBench/vlc/modules/video_filter/extr_puzzle_mgt.c_puzzle_piece_foreground.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i64 }
%struct.TYPE_13__ = type { ptr, %struct.TYPE_10__ }
%struct.TYPE_10__ = type { i32 }
@VLC_ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @puzzle_piece_foreground(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 %1
%6 = load i64, ptr %5, align 8, !tbaa !14
%7 = getelementptr inbounds %struct.TYPE_13__, ptr %3, i64 0, i32 1
%8 = load i32, ptr %7, align 8, !tbaa !17
%9 = shl i32 %8, 3
%10 = tail call ptr @malloc(i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %63, label %12
12: ; preds = %2
%13 = load ptr, ptr %3, align 8, !tbaa !10
%14 = getelementptr inbounds %struct.TYPE_11__, ptr %13, i64 %1
%15 = tail call i32 @memcpy(ptr noundef nonnull %10, ptr noundef %14, i32 noundef 8) #2
%16 = load i32, ptr %7, align 8, !tbaa !17
%17 = icmp eq i32 %16, 0
br i1 %17, label %41, label %20
18: ; preds = %35
%19 = icmp eq i32 %36, 0
br i1 %19, label %41, label %44
20: ; preds = %12, %35
%21 = phi i32 [ %36, %35 ], [ %16, %12 ]
%22 = phi i64 [ %38, %35 ], [ 0, %12 ]
%23 = phi i64 [ %37, %35 ], [ 1, %12 ]
%24 = load ptr, ptr %3, align 8, !tbaa !10
%25 = getelementptr inbounds %struct.TYPE_11__, ptr %24, i64 %22
%26 = load i64, ptr %25, align 8, !tbaa !14
%27 = icmp ne i64 %26, %6
%28 = icmp eq i64 %22, %1
%29 = or i1 %28, %27
br i1 %29, label %35, label %30
30: ; preds = %20
%31 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 %23
%32 = tail call i32 @memcpy(ptr noundef nonnull %31, ptr noundef nonnull %25, i32 noundef 8) #2
%33 = add i64 %23, 1
%34 = load i32, ptr %7, align 8, !tbaa !17
br label %35
35: ; preds = %20, %30
%36 = phi i32 [ %34, %30 ], [ %21, %20 ]
%37 = phi i64 [ %33, %30 ], [ %23, %20 ]
%38 = add nuw i64 %22, 1
%39 = sext i32 %36 to i64
%40 = icmp ult i64 %38, %39
br i1 %40, label %20, label %18, !llvm.loop !18
41: ; preds = %57, %12, %18
%42 = load ptr, ptr %3, align 8, !tbaa !10
%43 = tail call i32 @free(ptr noundef %42) #2
store ptr %10, ptr %3, align 8, !tbaa !10
br label %63
44: ; preds = %18, %57
%45 = phi i32 [ %58, %57 ], [ %36, %18 ]
%46 = phi i64 [ %60, %57 ], [ 0, %18 ]
%47 = phi i64 [ %59, %57 ], [ %37, %18 ]
%48 = load ptr, ptr %3, align 8, !tbaa !10
%49 = getelementptr inbounds %struct.TYPE_11__, ptr %48, i64 %46
%50 = load i64, ptr %49, align 8, !tbaa !14
%51 = icmp eq i64 %50, %6
br i1 %51, label %57, label %52
52: ; preds = %44
%53 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 %47
%54 = tail call i32 @memcpy(ptr noundef nonnull %53, ptr noundef nonnull %49, i32 noundef 8) #2
%55 = add i64 %47, 1
%56 = load i32, ptr %7, align 8, !tbaa !17
br label %57
57: ; preds = %44, %52
%58 = phi i32 [ %56, %52 ], [ %45, %44 ]
%59 = phi i64 [ %55, %52 ], [ %47, %44 ]
%60 = add nuw i64 %46, 1
%61 = sext i32 %58 to i64
%62 = icmp ult i64 %60, %61
br i1 %62, label %44, label %41, !llvm.loop !20
63: ; preds = %2, %41
%64 = phi ptr [ @VLC_SUCCESS, %41 ], [ @VLC_ENOMEM, %2 ]
%65 = load i32, ptr %64, align 4, !tbaa !21
ret i32 %65
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_12__", !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_13__", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_10__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_11__", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!11, !13, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/video_filter/extr_puzzle_mgt.c_puzzle_piece_foreground.c'
source_filename = "AnghaBench/vlc/modules/video_filter/extr_puzzle_mgt.c_puzzle_piece_foreground.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { i64 }
@VLC_ENOMEM = common local_unnamed_addr global i32 0, align 4
@VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @puzzle_piece_foreground(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 %1
%6 = load i64, ptr %5, align 8, !tbaa !15
%7 = getelementptr inbounds i8, ptr %3, i64 8
%8 = load i32, ptr %7, align 8, !tbaa !18
%9 = shl i32 %8, 3
%10 = tail call ptr @malloc(i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %63, label %12
12: ; preds = %2
%13 = load ptr, ptr %3, align 8, !tbaa !11
%14 = getelementptr inbounds %struct.TYPE_11__, ptr %13, i64 %1
%15 = tail call i32 @memcpy(ptr noundef nonnull %10, ptr noundef %14, i32 noundef 8) #2
%16 = load i32, ptr %7, align 8, !tbaa !18
%17 = icmp eq i32 %16, 0
br i1 %17, label %41, label %20
18: ; preds = %35
%19 = icmp eq i32 %36, 0
br i1 %19, label %41, label %44
20: ; preds = %12, %35
%21 = phi i32 [ %36, %35 ], [ %16, %12 ]
%22 = phi i64 [ %38, %35 ], [ 0, %12 ]
%23 = phi i64 [ %37, %35 ], [ 1, %12 ]
%24 = load ptr, ptr %3, align 8, !tbaa !11
%25 = getelementptr inbounds %struct.TYPE_11__, ptr %24, i64 %22
%26 = load i64, ptr %25, align 8, !tbaa !15
%27 = icmp ne i64 %26, %6
%28 = icmp eq i64 %22, %1
%29 = or i1 %28, %27
br i1 %29, label %35, label %30
30: ; preds = %20
%31 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 %23
%32 = tail call i32 @memcpy(ptr noundef nonnull %31, ptr noundef nonnull %25, i32 noundef 8) #2
%33 = add i64 %23, 1
%34 = load i32, ptr %7, align 8, !tbaa !18
br label %35
35: ; preds = %20, %30
%36 = phi i32 [ %34, %30 ], [ %21, %20 ]
%37 = phi i64 [ %33, %30 ], [ %23, %20 ]
%38 = add nuw i64 %22, 1
%39 = sext i32 %36 to i64
%40 = icmp ult i64 %38, %39
br i1 %40, label %20, label %18, !llvm.loop !19
41: ; preds = %57, %12, %18
%42 = load ptr, ptr %3, align 8, !tbaa !11
%43 = tail call i32 @free(ptr noundef %42) #2
store ptr %10, ptr %3, align 8, !tbaa !11
br label %63
44: ; preds = %18, %57
%45 = phi i32 [ %58, %57 ], [ %36, %18 ]
%46 = phi i64 [ %60, %57 ], [ 0, %18 ]
%47 = phi i64 [ %59, %57 ], [ %37, %18 ]
%48 = load ptr, ptr %3, align 8, !tbaa !11
%49 = getelementptr inbounds %struct.TYPE_11__, ptr %48, i64 %46
%50 = load i64, ptr %49, align 8, !tbaa !15
%51 = icmp eq i64 %50, %6
br i1 %51, label %57, label %52
52: ; preds = %44
%53 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 %47
%54 = tail call i32 @memcpy(ptr noundef nonnull %53, ptr noundef nonnull %49, i32 noundef 8) #2
%55 = add i64 %47, 1
%56 = load i32, ptr %7, align 8, !tbaa !18
br label %57
57: ; preds = %44, %52
%58 = phi i32 [ %56, %52 ], [ %45, %44 ]
%59 = phi i64 [ %55, %52 ], [ %47, %44 ]
%60 = add nuw i64 %46, 1
%61 = sext i32 %58 to i64
%62 = icmp ult i64 %60, %61
br i1 %62, label %44, label %41, !llvm.loop !21
63: ; preds = %2, %41
%64 = phi ptr [ @VLC_SUCCESS, %41 ], [ @VLC_ENOMEM, %2 ]
%65 = load i32, ptr %64, align 4, !tbaa !22
ret i32 %65
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_12__", !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_13__", !8, i64 0, !13, i64 8}
!13 = !{!"TYPE_10__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_11__", !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!12, !14, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!14, !14, i64 0}
| vlc_modules_video_filter_extr_puzzle_mgt.c_puzzle_piece_foreground |
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_set_no_params.c'
source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_set_no_params.c"
target datalayout = "e-m:e-p270:32:32-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 @set_no_params], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @set_no_params(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_set_no_params.c'
source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_set_no_params.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 @set_no_params], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @set_no_params(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_sound_pci_oxygen_extr_oxygen.c_set_no_params |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_cvar.c_Cvar_SetA_f.c'
source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_cvar.c_Cvar_SetA_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"usage: seta <variable> <value>\0A\00", align 1
@CVAR_ARCHIVE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @Cvar_SetA_f() local_unnamed_addr #0 {
%1 = tail call i32 (...) @Cmd_Argc() #2
%2 = icmp eq i32 %1, 3
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @Com_Printf(ptr noundef nonnull @.str) #2
br label %14
5: ; preds = %0
%6 = tail call i32 (...) @Cvar_Set_f() #2
%7 = tail call i32 @Cmd_Argv(i32 noundef 1) #2
%8 = tail call ptr @Cvar_FindVar(i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %14, label %10
10: ; preds = %5
%11 = load i32, ptr @CVAR_ARCHIVE, align 4, !tbaa !5
%12 = load i32, ptr %8, align 4, !tbaa !9
%13 = or i32 %12, %11
store i32 %13, ptr %8, align 4, !tbaa !9
br label %14
14: ; preds = %5, %10, %3
ret void
}
declare i32 @Cmd_Argc(...) local_unnamed_addr #1
declare i32 @Com_Printf(ptr noundef) local_unnamed_addr #1
declare i32 @Cvar_Set_f(...) local_unnamed_addr #1
declare ptr @Cvar_FindVar(i32 noundef) local_unnamed_addr #1
declare i32 @Cmd_Argv(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_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_cvar.c_Cvar_SetA_f.c'
source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_cvar.c_Cvar_SetA_f.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [32 x i8] c"usage: seta <variable> <value>\0A\00", align 1
@CVAR_ARCHIVE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @Cvar_SetA_f() local_unnamed_addr #0 {
%1 = tail call i32 @Cmd_Argc() #2
%2 = icmp eq i32 %1, 3
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @Com_Printf(ptr noundef nonnull @.str) #2
br label %14
5: ; preds = %0
%6 = tail call i32 @Cvar_Set_f() #2
%7 = tail call i32 @Cmd_Argv(i32 noundef 1) #2
%8 = tail call ptr @Cvar_FindVar(i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %14, label %10
10: ; preds = %5
%11 = load i32, ptr @CVAR_ARCHIVE, align 4, !tbaa !6
%12 = load i32, ptr %8, align 4, !tbaa !10
%13 = or i32 %12, %11
store i32 %13, ptr %8, align 4, !tbaa !10
br label %14
14: ; preds = %5, %10, %3
ret void
}
declare i32 @Cmd_Argc(...) local_unnamed_addr #1
declare i32 @Com_Printf(ptr noundef) local_unnamed_addr #1
declare i32 @Cvar_Set_f(...) local_unnamed_addr #1
declare ptr @Cvar_FindVar(i32 noundef) local_unnamed_addr #1
declare i32 @Cmd_Argv(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}
| Quake-III-Arena_code_qcommon_extr_cvar.c_Cvar_SetA_f |
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/powermac/extr_smu.c_smu_fill_fan_prop.c'
source_filename = "AnghaBench/freebsd/sys/powerpc/powermac/extr_smu.c_smu_fill_fan_prop.c"
target datalayout = "e-m:e-p270:32:32-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.smu_fan = type { i64, i8, i32, i32, %struct.TYPE_2__, i64, i32 }
%struct.TYPE_2__ = type { i8, i8, i8, i8, ptr }
@.str = private unnamed_addr constant [12 x i8] c"device_type\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"fan-rpm-control\00", align 1
@SMU_FAN_RPM = dso_local local_unnamed_addr global i64 0, align 8
@SMU_FAN_PWM = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [4 x i8] c"reg\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"min-value\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"max-value\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"zone\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"unmanaged-value\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"location\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @smu_fill_fan_prop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @smu_fill_fan_prop(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca [32 x i8], align 16
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
%5 = tail call ptr @device_get_softc(i32 noundef %0) #3
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7
%9 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %4, i32 noundef 32) #3
%10 = call i64 @strcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.1) #3
%11 = icmp eq i64 %10, 0
%12 = load i64, ptr @SMU_FAN_RPM, align 8
%13 = load i64, ptr @SMU_FAN_PWM, align 8
%14 = select i1 %11, i64 %12, i64 %13
store i64 %14, ptr %8, align 8, !tbaa !10
%15 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 6
store i32 %0, ptr %15, align 8, !tbaa !15
%16 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 5
store i64 0, ptr %16, align 8, !tbaa !16
%17 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 1
%18 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %17, i32 noundef 4) #3
%19 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 4
%20 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.3, ptr noundef nonnull %19, i32 noundef 4) #3
%21 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 4, i32 1
%22 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.4, ptr noundef nonnull %21, i32 noundef 4) #3
%23 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 4, i32 2
%24 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.5, ptr noundef nonnull %23, i32 noundef 4) #3
%25 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 4, i32 3
%26 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.6, ptr noundef nonnull %25, i32 noundef 4) #3
%27 = icmp eq i32 %26, 4
br i1 %27, label %30, label %28
28: ; preds = %3
%29 = load i8, ptr %21, align 1, !tbaa !17
store i8 %29, ptr %25, align 1, !tbaa !18
br label %30
30: ; preds = %28, %3
%31 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 4, i32 4
%32 = load ptr, ptr %31, align 8, !tbaa !19
%33 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.7, ptr noundef %32, i32 noundef 8) #3
%34 = load i64, ptr %8, align 8, !tbaa !10
%35 = load i64, ptr @SMU_FAN_RPM, align 8, !tbaa !20
%36 = icmp eq i64 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %30
%38 = call i32 @smu_fan_read_rpm(ptr noundef nonnull %8) #3
%39 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 3
store i32 %38, ptr %39, align 8, !tbaa !21
br label %44
40: ; preds = %30
%41 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 3
%42 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7, i32 2
%43 = call i32 @smu_fan_read_pwm(ptr noundef nonnull %8, ptr noundef nonnull %41, ptr noundef nonnull %42) #3
br label %44
44: ; preds = %40, %37
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i32 @OF_getprop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @smu_fan_read_rpm(ptr noundef) local_unnamed_addr #2
declare i32 @smu_fan_read_pwm(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"smu_softc", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"smu_fan", !12, i64 0, !8, i64 8, !13, i64 12, !13, i64 16, !14, i64 24, !12, i64 40, !13, i64 48}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !7, i64 8}
!15 = !{!11, !13, i64 48}
!16 = !{!11, !12, i64 40}
!17 = !{!11, !8, i64 25}
!18 = !{!11, !8, i64 27}
!19 = !{!11, !7, i64 32}
!20 = !{!12, !12, i64 0}
!21 = !{!11, !13, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/powerpc/powermac/extr_smu.c_smu_fill_fan_prop.c'
source_filename = "AnghaBench/freebsd/sys/powerpc/powermac/extr_smu.c_smu_fill_fan_prop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.smu_fan = type { i64, i8, i32, i32, %struct.TYPE_2__, i64, i32 }
%struct.TYPE_2__ = type { i8, i8, i8, i8, ptr }
@.str = private unnamed_addr constant [12 x i8] c"device_type\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"fan-rpm-control\00", align 1
@SMU_FAN_RPM = common local_unnamed_addr global i64 0, align 8
@SMU_FAN_PWM = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [4 x i8] c"reg\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"min-value\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"max-value\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"zone\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"unmanaged-value\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"location\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @smu_fill_fan_prop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @smu_fill_fan_prop(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca [32 x i8], align 1
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
%5 = tail call ptr @device_get_softc(i32 noundef %0) #3
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds %struct.smu_fan, ptr %6, i64 %7
%9 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %4, i32 noundef 32) #3
%10 = call i64 @strcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.1) #3
%11 = icmp eq i64 %10, 0
%12 = load i64, ptr @SMU_FAN_RPM, align 8
%13 = load i64, ptr @SMU_FAN_PWM, align 8
%14 = select i1 %11, i64 %12, i64 %13
store i64 %14, ptr %8, align 8, !tbaa !11
%15 = getelementptr inbounds i8, ptr %8, i64 48
store i32 %0, ptr %15, align 8, !tbaa !16
%16 = getelementptr inbounds i8, ptr %8, i64 40
store i64 0, ptr %16, align 8, !tbaa !17
%17 = getelementptr inbounds i8, ptr %8, i64 8
%18 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %17, i32 noundef 4) #3
%19 = getelementptr inbounds i8, ptr %8, i64 24
%20 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.3, ptr noundef nonnull %19, i32 noundef 4) #3
%21 = getelementptr inbounds i8, ptr %8, i64 25
%22 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.4, ptr noundef nonnull %21, i32 noundef 4) #3
%23 = getelementptr inbounds i8, ptr %8, i64 26
%24 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.5, ptr noundef nonnull %23, i32 noundef 4) #3
%25 = getelementptr inbounds i8, ptr %8, i64 27
%26 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.6, ptr noundef nonnull %25, i32 noundef 4) #3
%27 = icmp eq i32 %26, 4
br i1 %27, label %30, label %28
28: ; preds = %3
%29 = load i8, ptr %21, align 1, !tbaa !18
store i8 %29, ptr %25, align 1, !tbaa !19
br label %30
30: ; preds = %28, %3
%31 = getelementptr inbounds i8, ptr %8, i64 32
%32 = load ptr, ptr %31, align 8, !tbaa !20
%33 = call i32 @OF_getprop(i32 noundef %1, ptr noundef nonnull @.str.7, ptr noundef %32, i32 noundef 8) #3
%34 = load i64, ptr %8, align 8, !tbaa !11
%35 = load i64, ptr @SMU_FAN_RPM, align 8, !tbaa !21
%36 = icmp eq i64 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %30
%38 = call i32 @smu_fan_read_rpm(ptr noundef nonnull %8) #3
%39 = getelementptr inbounds i8, ptr %8, i64 16
store i32 %38, ptr %39, align 8, !tbaa !22
br label %44
40: ; preds = %30
%41 = getelementptr inbounds i8, ptr %8, i64 16
%42 = getelementptr inbounds i8, ptr %8, i64 12
%43 = call i32 @smu_fan_read_pwm(ptr noundef nonnull %8, ptr noundef nonnull %41, ptr noundef nonnull %42) #3
br label %44
44: ; preds = %40, %37
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i32 @OF_getprop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @smu_fan_read_rpm(ptr noundef) local_unnamed_addr #2
declare i32 @smu_fan_read_pwm(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"smu_softc", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"smu_fan", !13, i64 0, !9, i64 8, !14, i64 12, !14, i64 16, !15, i64 24, !13, i64 40, !14, i64 48}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!"TYPE_2__", !9, i64 0, !9, i64 1, !9, i64 2, !9, i64 3, !8, i64 8}
!16 = !{!12, !14, i64 48}
!17 = !{!12, !13, i64 40}
!18 = !{!12, !9, i64 25}
!19 = !{!12, !9, i64 27}
!20 = !{!12, !8, i64 32}
!21 = !{!13, !13, i64 0}
!22 = !{!12, !14, i64 16}
| freebsd_sys_powerpc_powermac_extr_smu.c_smu_fill_fan_prop |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_movenc.c_mov_write_tmpo_tag.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_movenc.c_mov_write_tmpo_tag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"tmpo\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"data\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mov_write_tmpo_tag], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mov_write_tmpo_tag(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = tail call ptr @av_dict_get(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %18, label %6
6: ; preds = %2
%7 = load i32, ptr %4, align 4, !tbaa !10
%8 = tail call i32 @atoi(i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %6
%11 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 26) #2
%12 = tail call i32 @ffio_wfourcc(ptr noundef %0, ptr noundef nonnull @.str) #2
%13 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 18) #2
%14 = tail call i32 @ffio_wfourcc(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%15 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 21) #2
%16 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 0) #2
%17 = tail call i32 @avio_wb16(ptr noundef %0, i32 noundef %8) #2
br label %18
18: ; preds = %2, %10, %6
%19 = phi i32 [ 26, %10 ], [ 0, %6 ], [ 0, %2 ]
ret i32 %19
}
declare ptr @av_dict_get(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atoi(i32 noundef) local_unnamed_addr #1
declare i32 @avio_wb32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ffio_wfourcc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @avio_wb16(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!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}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_movenc.c_mov_write_tmpo_tag.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_movenc.c_mov_write_tmpo_tag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [5 x i8] c"tmpo\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"data\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mov_write_tmpo_tag], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 27) i32 @mov_write_tmpo_tag(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = tail call ptr @av_dict_get(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %18, label %6
6: ; preds = %2
%7 = load i32, ptr %4, align 4, !tbaa !11
%8 = tail call i32 @atoi(i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %18, label %10
10: ; preds = %6
%11 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 26) #2
%12 = tail call i32 @ffio_wfourcc(ptr noundef %0, ptr noundef nonnull @.str) #2
%13 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 18) #2
%14 = tail call i32 @ffio_wfourcc(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%15 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 21) #2
%16 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 0) #2
%17 = tail call i32 @avio_wb16(ptr noundef %0, i32 noundef %8) #2
br label %18
18: ; preds = %2, %10, %6
%19 = phi i32 [ 26, %10 ], [ 0, %6 ], [ 0, %2 ]
ret i32 %19
}
declare ptr @av_dict_get(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atoi(i32 noundef) local_unnamed_addr #1
declare i32 @avio_wb32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ffio_wfourcc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @avio_wb16(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_6__", !8, i64 0}
| FFmpeg_libavformat_extr_movenc.c_mov_write_tmpo_tag |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_l_math.c__DotProduct.c'
source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_l_math.c__DotProduct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @_DotProduct(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = mul nsw i32 %4, %3
%6 = getelementptr inbounds i32, ptr %0, i64 1
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = getelementptr inbounds i32, ptr %1, i64 1
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = mul nsw i32 %9, %7
%11 = add nsw i32 %10, %5
%12 = getelementptr inbounds i32, ptr %0, i64 2
%13 = load i32, ptr %12, align 4, !tbaa !5
%14 = getelementptr inbounds i32, ptr %1, i64 2
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = mul nsw i32 %15, %13
%17 = add nsw i32 %11, %16
ret i32 %17
}
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, !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/bspc/extr_l_math.c__DotProduct.c'
source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_l_math.c__DotProduct.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @_DotProduct(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = mul nsw i32 %4, %3
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = mul nsw i32 %9, %7
%11 = add nsw i32 %10, %5
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i32, ptr %12, align 4, !tbaa !6
%14 = getelementptr inbounds i8, ptr %1, i64 8
%15 = load i32, ptr %14, align 4, !tbaa !6
%16 = mul nsw i32 %15, %13
%17 = add nsw i32 %11, %16
ret i32 %17
}
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Quake-III-Arena_code_bspc_extr_l_math.c__DotProduct |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_adp.c_adp_read_packet.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_adp.c_adp_read_packet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AVERROR_EOF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @adp_read_packet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @adp_read_packet(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i64 @avio_feof(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = load i32, ptr @AVERROR_EOF, align 4, !tbaa !10
br label %19
8: ; preds = %2
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = tail call i32 @av_get_packet(i32 noundef %9, ptr noundef %1, i32 noundef 1024) #2
%11 = icmp eq i32 %10, 1024
br i1 %11, label %18, label %12
12: ; preds = %8
%13 = icmp slt i32 %10, 0
br i1 %13, label %14, label %16
14: ; preds = %12
%15 = tail call i32 @av_packet_unref(ptr noundef %1) #2
br label %19
16: ; preds = %12
%17 = tail call i32 @av_shrink_packet(ptr noundef %1, i32 noundef %10) #2
br label %18
18: ; preds = %16, %8
store i64 0, ptr %1, align 8, !tbaa !11
br label %19
19: ; preds = %18, %14, %6
%20 = phi i32 [ %7, %6 ], [ %10, %14 ], [ %10, %18 ]
ret i32 %20
}
declare i64 @avio_feof(i32 noundef) local_unnamed_addr #1
declare i32 @av_get_packet(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_packet_unref(ptr noundef) local_unnamed_addr #1
declare i32 @av_shrink_packet(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_9__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_8__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_adp.c_adp_read_packet.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_adp.c_adp_read_packet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AVERROR_EOF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @adp_read_packet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @adp_read_packet(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i64 @avio_feof(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = load i32, ptr @AVERROR_EOF, align 4, !tbaa !11
br label %19
8: ; preds = %2
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = tail call i32 @av_get_packet(i32 noundef %9, ptr noundef %1, i32 noundef 1024) #2
%11 = icmp eq i32 %10, 1024
br i1 %11, label %18, label %12
12: ; preds = %8
%13 = icmp slt i32 %10, 0
br i1 %13, label %14, label %16
14: ; preds = %12
%15 = tail call i32 @av_packet_unref(ptr noundef %1) #2
br label %19
16: ; preds = %12
%17 = tail call i32 @av_shrink_packet(ptr noundef %1, i32 noundef %10) #2
br label %18
18: ; preds = %16, %8
store i64 0, ptr %1, align 8, !tbaa !12
br label %19
19: ; preds = %18, %14, %6
%20 = phi i32 [ %7, %6 ], [ %10, %14 ], [ %10, %18 ]
ret i32 %20
}
declare i64 @avio_feof(i32 noundef) local_unnamed_addr #1
declare i32 @av_get_packet(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_packet_unref(ptr noundef) local_unnamed_addr #1
declare i32 @av_shrink_packet(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_9__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
| FFmpeg_libavformat_extr_adp.c_adp_read_packet |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_md.c_rdev_clear_badblocks.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_md.c_rdev_clear_badblocks.c"
target datalayout = "e-m:e-p270:32:32-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.md_rdev = type { i32, i64, i64 }
; Function Attrs: nounwind uwtable
define dso_local i32 @rdev_clear_badblocks(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp eq i32 %3, 0
%6 = getelementptr inbounds %struct.md_rdev, ptr %0, i64 0, i32 2
%7 = getelementptr inbounds %struct.md_rdev, ptr %0, i64 0, i32 1
%8 = select i1 %5, ptr %7, ptr %6
%9 = load i64, ptr %8, align 8, !tbaa !5
%10 = trunc i64 %9 to i32
%11 = add i32 %10, %1
%12 = tail call i32 @md_clear_badblocks(ptr noundef %0, i32 noundef %11, i32 noundef %2) #2
ret i32 %12
}
declare i32 @md_clear_badblocks(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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_md.c_rdev_clear_badblocks.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_md.c_rdev_clear_badblocks.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 @rdev_clear_badblocks(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp eq i32 %3, 0
%6 = select i1 %5, i64 8, i64 16
%7 = getelementptr inbounds i8, ptr %0, i64 %6
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = trunc i64 %8 to i32
%10 = add i32 %9, %1
%11 = tail call i32 @md_clear_badblocks(ptr noundef %0, i32 noundef %10, i32 noundef %2) #2
ret i32 %11
}
declare i32 @md_clear_badblocks(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_md_extr_md.c_rdev_clear_badblocks |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_ad1889.c_snd_ad1889_ac97_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_ad1889.c_snd_ad1889_ac97_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"
@AD_AC97_BASE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ad1889_ac97_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_ad1889_ac97_read(ptr nocapture noundef readonly %0, i16 noundef zeroext %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @AD_AC97_BASE, align 8, !tbaa !10
%5 = zext i16 %1 to i64
%6 = add nsw i64 %4, %5
%7 = tail call i32 @ad1889_readw(ptr noundef %3, i64 noundef %6) #2
ret i32 %7
}
declare i32 @ad1889_readw(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_ac97", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_ad1889.c_snd_ad1889_ac97_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_ad1889.c_snd_ad1889_ac97_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AD_AC97_BASE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @snd_ad1889_ac97_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @snd_ad1889_ac97_read(ptr nocapture noundef readonly %0, i16 noundef zeroext %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @AD_AC97_BASE, align 8, !tbaa !11
%5 = zext i16 %1 to i64
%6 = add nsw i64 %4, %5
%7 = tail call i32 @ad1889_readw(ptr noundef %3, i64 noundef %6) #2
ret i32 %7
}
declare i32 @ad1889_readw(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_ac97", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
| fastsocket_kernel_sound_pci_extr_ad1889.c_snd_ad1889_ac97_read |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_remote-utils.c_unhexify.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_remote-utils.c_unhexify.c"
target datalayout = "e-m:e-p270:32:32-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 @unhexify(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i32 %2, 0
br i1 %4, label %5, label %26
5: ; preds = %3, %15
%6 = phi i32 [ %24, %15 ], [ 0, %3 ]
%7 = phi ptr [ %23, %15 ], [ %1, %3 ]
%8 = phi ptr [ %22, %15 ], [ %0, %3 ]
%9 = load i8, ptr %7, align 1, !tbaa !5
%10 = icmp eq i8 %9, 0
br i1 %10, label %26, label %11
11: ; preds = %5
%12 = getelementptr inbounds i8, ptr %7, i64 1
%13 = load i8, ptr %12, align 1, !tbaa !5
%14 = icmp eq i8 %13, 0
br i1 %14, label %26, label %15
15: ; preds = %11
%16 = tail call i32 @fromhex(i8 noundef signext %9) #2
%17 = shl nsw i32 %16, 4
%18 = load i8, ptr %12, align 1, !tbaa !5
%19 = tail call i32 @fromhex(i8 noundef signext %18) #2
%20 = add nsw i32 %19, %17
%21 = trunc i32 %20 to i8
%22 = getelementptr inbounds i8, ptr %8, i64 1
store i8 %21, ptr %8, align 1, !tbaa !5
%23 = getelementptr inbounds i8, ptr %7, i64 2
%24 = add nuw nsw i32 %6, 1
%25 = icmp eq i32 %24, %2
br i1 %25, label %26, label %5, !llvm.loop !8
26: ; preds = %11, %5, %15, %3
%27 = phi i32 [ 0, %3 ], [ %2, %15 ], [ %6, %5 ], [ %6, %11 ]
ret i32 %27
}
declare i32 @fromhex(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_remote-utils.c_unhexify.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_remote-utils.c_unhexify.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 @unhexify(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp sgt i32 %2, 0
br i1 %4, label %5, label %26
5: ; preds = %3, %15
%6 = phi i32 [ %24, %15 ], [ 0, %3 ]
%7 = phi ptr [ %23, %15 ], [ %1, %3 ]
%8 = phi ptr [ %22, %15 ], [ %0, %3 ]
%9 = load i8, ptr %7, align 1, !tbaa !6
%10 = icmp eq i8 %9, 0
br i1 %10, label %26, label %11
11: ; preds = %5
%12 = getelementptr inbounds i8, ptr %7, i64 1
%13 = load i8, ptr %12, align 1, !tbaa !6
%14 = icmp eq i8 %13, 0
br i1 %14, label %26, label %15
15: ; preds = %11
%16 = tail call i32 @fromhex(i8 noundef signext %9) #2
%17 = shl nsw i32 %16, 4
%18 = load i8, ptr %12, align 1, !tbaa !6
%19 = tail call i32 @fromhex(i8 noundef signext %18) #2
%20 = add nsw i32 %19, %17
%21 = trunc i32 %20 to i8
%22 = getelementptr inbounds i8, ptr %8, i64 1
store i8 %21, ptr %8, align 1, !tbaa !6
%23 = getelementptr inbounds i8, ptr %7, i64 2
%24 = add nuw nsw i32 %6, 1
%25 = icmp eq i32 %24, %2
br i1 %25, label %26, label %5, !llvm.loop !9
26: ; preds = %11, %5, %15, %3
%27 = phi i32 [ 0, %3 ], [ %2, %15 ], [ %6, %5 ], [ %6, %11 ]
ret i32 %27
}
declare i32 @fromhex(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_gdb_gdb_gdbserver_extr_remote-utils.c_unhexify |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_atombios.c_radeon_atom_output_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_atombios.c_radeon_atom_output_lock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CHIP_R600 = dso_local local_unnamed_addr global i64 0, align 8
@R600_BIOS_6_SCRATCH = dso_local local_unnamed_addr global i32 0, align 4
@RADEON_BIOS_6_SCRATCH = dso_local local_unnamed_addr global i32 0, align 4
@ATOM_S6_CRITICAL_STATE = dso_local local_unnamed_addr global i32 0, align 4
@ATOM_S6_ACC_MODE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @radeon_atom_output_lock(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = load i64, ptr @CHIP_R600, align 8, !tbaa !15
%7 = icmp slt i64 %5, %6
%8 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4
%9 = load i32, ptr @R600_BIOS_6_SCRATCH, align 4
%10 = select i1 %7, i32 %8, i32 %9
%11 = tail call i32 @RREG32(i32 noundef %10) #2
%12 = icmp eq i32 %1, 0
%13 = load i32, ptr @ATOM_S6_CRITICAL_STATE, align 4, !tbaa !16
br i1 %12, label %19, label %14
14: ; preds = %2
%15 = or i32 %13, %11
%16 = load i32, ptr @ATOM_S6_ACC_MODE, align 4, !tbaa !16
%17 = xor i32 %16, -1
%18 = and i32 %15, %17
br label %24
19: ; preds = %2
%20 = xor i32 %13, -1
%21 = and i32 %11, %20
%22 = load i32, ptr @ATOM_S6_ACC_MODE, align 4, !tbaa !16
%23 = or i32 %21, %22
br label %24
24: ; preds = %19, %14
%25 = phi i32 [ %18, %14 ], [ %23, %19 ]
%26 = load i64, ptr %4, align 8, !tbaa !12
%27 = load i64, ptr @CHIP_R600, align 8, !tbaa !15
%28 = icmp slt i64 %26, %27
%29 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4
%30 = load i32, ptr @R600_BIOS_6_SCRATCH, align 4
%31 = select i1 %28, i32 %29, i32 %30
%32 = tail call i32 @WREG32(i32 noundef %31, i32 noundef %25) #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, !7, i64 0}
!6 = !{!"drm_encoder", !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 = !{!"drm_device", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"radeon_device", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_atombios.c_radeon_atom_output_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_atombios.c_radeon_atom_output_lock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CHIP_R600 = common local_unnamed_addr global i64 0, align 8
@R600_BIOS_6_SCRATCH = common local_unnamed_addr global i32 0, align 4
@RADEON_BIOS_6_SCRATCH = common local_unnamed_addr global i32 0, align 4
@ATOM_S6_CRITICAL_STATE = common local_unnamed_addr global i32 0, align 4
@ATOM_S6_ACC_MODE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @radeon_atom_output_lock(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = load i64, ptr @CHIP_R600, align 8, !tbaa !16
%7 = icmp slt i64 %5, %6
%8 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4
%9 = load i32, ptr @R600_BIOS_6_SCRATCH, align 4
%10 = select i1 %7, i32 %8, i32 %9
%11 = tail call i32 @RREG32(i32 noundef %10) #2
%12 = icmp eq i32 %1, 0
%13 = load i32, ptr @ATOM_S6_CRITICAL_STATE, align 4, !tbaa !17
br i1 %12, label %19, label %14
14: ; preds = %2
%15 = or i32 %13, %11
%16 = load i32, ptr @ATOM_S6_ACC_MODE, align 4, !tbaa !17
%17 = xor i32 %16, -1
%18 = and i32 %15, %17
br label %24
19: ; preds = %2
%20 = xor i32 %13, -1
%21 = and i32 %11, %20
%22 = load i32, ptr @ATOM_S6_ACC_MODE, align 4, !tbaa !17
%23 = or i32 %21, %22
br label %24
24: ; preds = %19, %14
%25 = phi i32 [ %18, %14 ], [ %23, %19 ]
%26 = load i64, ptr %4, align 8, !tbaa !13
%27 = load i64, ptr @CHIP_R600, align 8, !tbaa !16
%28 = icmp slt i64 %26, %27
%29 = load i32, ptr @RADEON_BIOS_6_SCRATCH, align 4
%30 = load i32, ptr @R600_BIOS_6_SCRATCH, align 4
%31 = select i1 %28, i32 %29, i32 %30
%32 = tail call i32 @WREG32(i32 noundef %31, i32 noundef %25) #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, !8, i64 0}
!7 = !{!"drm_encoder", !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 = !{!"drm_device", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"radeon_device", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_gpu_drm_radeon_extr_radeon_atombios.c_radeon_atom_output_lock |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/savage/extr_savage_bci.c_savage_bci_wait_fifo_s4.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/savage/extr_savage_bci.c_savage_bci_wait_fifo_s4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SAVAGE_BCI_FIFO_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@SAVAGE_DEFAULT_USEC_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@SAVAGE_ALT_STATUS_WORD0 = dso_local local_unnamed_addr global i32 0, align 4
@SAVAGE_FIFO_USED_MASK_S4 = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @savage_bci_wait_fifo_s4], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @savage_bci_wait_fifo_s4(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr @SAVAGE_BCI_FIFO_SIZE, align 4, !tbaa !10
%5 = sub i32 %3, %1
%6 = add i32 %5, %4
%7 = load i32, ptr @SAVAGE_DEFAULT_USEC_TIMEOUT, align 4, !tbaa !10
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %21
9: ; preds = %2, %16
%10 = phi i32 [ %18, %16 ], [ 0, %2 ]
%11 = load i32, ptr @SAVAGE_ALT_STATUS_WORD0, align 4, !tbaa !10
%12 = tail call i32 @SAVAGE_READ(i32 noundef %11) #2
%13 = load i32, ptr @SAVAGE_FIFO_USED_MASK_S4, align 4, !tbaa !10
%14 = and i32 %13, %12
%15 = icmp sgt i32 %14, %6
br i1 %15, label %16, label %24
16: ; preds = %9
%17 = tail call i32 @udelay(i32 noundef 1) #2
%18 = add nuw nsw i32 %10, 1
%19 = load i32, ptr @SAVAGE_DEFAULT_USEC_TIMEOUT, align 4, !tbaa !10
%20 = icmp slt i32 %18, %19
br i1 %20, label %9, label %21, !llvm.loop !11
21: ; preds = %16, %2
%22 = load i32, ptr @EBUSY, align 4, !tbaa !10
%23 = sub nsw i32 0, %22
br label %24
24: ; preds = %9, %21
%25 = phi i32 [ %23, %21 ], [ 0, %9 ]
ret i32 %25
}
declare i32 @SAVAGE_READ(i32 noundef) local_unnamed_addr #1
declare i32 @udelay(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/linux/drivers/gpu/drm/savage/extr_savage_bci.c_savage_bci_wait_fifo_s4.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/savage/extr_savage_bci.c_savage_bci_wait_fifo_s4.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SAVAGE_BCI_FIFO_SIZE = common local_unnamed_addr global i32 0, align 4
@SAVAGE_DEFAULT_USEC_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@SAVAGE_ALT_STATUS_WORD0 = common local_unnamed_addr global i32 0, align 4
@SAVAGE_FIFO_USED_MASK_S4 = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @savage_bci_wait_fifo_s4], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @savage_bci_wait_fifo_s4(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr @SAVAGE_BCI_FIFO_SIZE, align 4, !tbaa !11
%5 = sub i32 %3, %1
%6 = add i32 %5, %4
%7 = load i32, ptr @SAVAGE_DEFAULT_USEC_TIMEOUT, align 4, !tbaa !11
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %21
9: ; preds = %2, %16
%10 = phi i32 [ %18, %16 ], [ 0, %2 ]
%11 = load i32, ptr @SAVAGE_ALT_STATUS_WORD0, align 4, !tbaa !11
%12 = tail call i32 @SAVAGE_READ(i32 noundef %11) #2
%13 = load i32, ptr @SAVAGE_FIFO_USED_MASK_S4, align 4, !tbaa !11
%14 = and i32 %13, %12
%15 = icmp sgt i32 %14, %6
br i1 %15, label %16, label %24
16: ; preds = %9
%17 = tail call i32 @udelay(i32 noundef 1) #2
%18 = add nuw nsw i32 %10, 1
%19 = load i32, ptr @SAVAGE_DEFAULT_USEC_TIMEOUT, align 4, !tbaa !11
%20 = icmp slt i32 %18, %19
br i1 %20, label %9, label %21, !llvm.loop !12
21: ; preds = %16, %2
%22 = load i32, ptr @EBUSY, align 4, !tbaa !11
%23 = sub nsw i32 0, %22
br label %24
24: ; preds = %9, %21
%25 = phi i32 [ %23, %21 ], [ 0, %9 ]
ret i32 %25
}
declare i32 @SAVAGE_READ(i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| linux_drivers_gpu_drm_savage_extr_savage_bci.c_savage_bci_wait_fifo_s4 |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sunrpc/extr_rpc_pipe.c_rpc_unlink.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/extr_rpc_pipe.c_rpc_unlink.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@I_MUTEX_PARENT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @rpc_unlink(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @dget_parent(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr @I_MUTEX_PARENT, align 4, !tbaa !10
%5 = tail call i32 @mutex_lock_nested(ptr noundef %3, i32 noundef %4) #2
%6 = tail call i32 @__rpc_rmpipe(ptr noundef %3, ptr noundef %0) #2
%7 = tail call i32 @mutex_unlock(ptr noundef %3) #2
%8 = tail call i32 @dput(ptr noundef nonnull %2) #2
ret i32 %6
}
declare ptr @dget_parent(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock_nested(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__rpc_rmpipe(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @dput(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 = !{!"dentry", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/sunrpc/extr_rpc_pipe.c_rpc_unlink.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/extr_rpc_pipe.c_rpc_unlink.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I_MUTEX_PARENT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @rpc_unlink(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @dget_parent(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr @I_MUTEX_PARENT, align 4, !tbaa !11
%5 = tail call i32 @mutex_lock_nested(ptr noundef %3, i32 noundef %4) #2
%6 = tail call i32 @__rpc_rmpipe(ptr noundef %3, ptr noundef %0) #2
%7 = tail call i32 @mutex_unlock(ptr noundef %3) #2
%8 = tail call i32 @dput(ptr noundef nonnull %2) #2
ret i32 %6
}
declare ptr @dget_parent(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock_nested(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__rpc_rmpipe(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @dput(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 = !{!"dentry", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| fastsocket_kernel_net_sunrpc_extr_rpc_pipe.c_rpc_unlink |
; ModuleID = 'AnghaBench/linux/drivers/mmc/core/extr_core.c_mmc_sw_reset.c'
source_filename = "AnghaBench/linux/drivers/mmc/core/extr_core.c_mmc_sw_reset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mmc_host = type { ptr, i64, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"%s: tried to SW reset card, got error %d\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @mmc_sw_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.mmc_host, ptr %0, i64 0, i32 2
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @EINVAL, align 4, !tbaa !12
%7 = sub nsw i32 0, %6
br label %30
8: ; preds = %1
%9 = tail call i32 @mmc_bus_get(ptr noundef nonnull %0) #2
%10 = load ptr, ptr %0, align 8, !tbaa !13
%11 = icmp eq ptr %10, null
br i1 %11, label %19, label %12
12: ; preds = %8
%13 = getelementptr inbounds %struct.mmc_host, ptr %0, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %10, align 8, !tbaa !15
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %16, %12, %8
%20 = tail call i32 @mmc_bus_put(ptr noundef nonnull %0) #2
%21 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12
%22 = sub nsw i32 0, %21
br label %30
23: ; preds = %16
%24 = tail call i32 %17(ptr noundef nonnull %0) #2
%25 = tail call i32 @mmc_bus_put(ptr noundef nonnull %0) #2
%26 = icmp eq i32 %24, 0
br i1 %26, label %30, label %27
27: ; preds = %23
%28 = tail call i32 @mmc_hostname(ptr noundef nonnull %0) #2
%29 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %28, i32 noundef %24) #2
br label %30
30: ; preds = %23, %27, %19, %5
%31 = phi i32 [ %22, %19 ], [ %7, %5 ], [ %24, %27 ], [ 0, %23 ]
ret i32 %31
}
declare i32 @mmc_bus_get(ptr noundef) local_unnamed_addr #1
declare i32 @mmc_bus_put(ptr noundef) local_unnamed_addr #1
declare i32 @pr_warn(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mmc_hostname(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 = !{!"mmc_host", !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 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mmc/core/extr_core.c_mmc_sw_reset.c'
source_filename = "AnghaBench/linux/drivers/mmc/core/extr_core.c_mmc_sw_reset.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
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"%s: tried to SW reset card, got error %d\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mmc_sw_reset(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @EINVAL, align 4, !tbaa !13
%7 = sub nsw i32 0, %6
br label %30
8: ; preds = %1
%9 = tail call i32 @mmc_bus_get(ptr noundef nonnull %0) #2
%10 = load ptr, ptr %0, align 8, !tbaa !14
%11 = icmp eq ptr %10, null
br i1 %11, label %19, label %12
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !15
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load ptr, ptr %10, align 8, !tbaa !16
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %16, %12, %8
%20 = tail call i32 @mmc_bus_put(ptr noundef nonnull %0) #2
%21 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !13
%22 = sub nsw i32 0, %21
br label %30
23: ; preds = %16
%24 = tail call i32 %17(ptr noundef nonnull %0) #2
%25 = tail call i32 @mmc_bus_put(ptr noundef nonnull %0) #2
%26 = icmp eq i32 %24, 0
br i1 %26, label %30, label %27
27: ; preds = %23
%28 = tail call i32 @mmc_hostname(ptr noundef nonnull %0) #2
%29 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %28, i32 noundef %24) #2
br label %30
30: ; preds = %23, %27, %19, %5
%31 = phi i32 [ %22, %19 ], [ %7, %5 ], [ %24, %27 ], [ 0, %23 ]
ret i32 %31
}
declare i32 @mmc_bus_get(ptr noundef) local_unnamed_addr #1
declare i32 @mmc_bus_put(ptr noundef) local_unnamed_addr #1
declare i32 @pr_warn(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mmc_hostname(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 = !{!"mmc_host", !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 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_mmc_core_extr_core.c_mmc_sw_reset |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/extr_enclosure.c_enclosure_register.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/extr_enclosure.c_enclosure_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"
%struct.enclosure_device = type { i32, %struct.TYPE_5__, i32, ptr, ptr }
%struct.TYPE_5__ = type { i32, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@enclosure_class = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@container_list_lock = dso_local global i32 0, align 4
@container_list = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @enclosure_register(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = shl i32 %2, 2
%6 = add i32 %5, 48
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%8 = tail call ptr @kzalloc(i32 noundef %6, i32 noundef %7) #3
%9 = icmp eq ptr %3, null
%10 = zext i1 %9 to i32
%11 = tail call i32 @BUG_ON(i32 noundef %10) #3
%12 = icmp eq ptr %8, null
br i1 %12, label %13, label %17
13: ; preds = %4
%14 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%15 = sub nsw i32 0, %14
%16 = tail call ptr @ERR_PTR(i32 noundef %15) #3
br label %42
17: ; preds = %4
store i32 %2, ptr %8, align 8, !tbaa !9
%18 = getelementptr inbounds %struct.enclosure_device, ptr %8, i64 0, i32 1
%19 = getelementptr inbounds %struct.enclosure_device, ptr %8, i64 0, i32 1, i32 1
store ptr @enclosure_class, ptr %19, align 8, !tbaa !13
%20 = tail call i32 @get_device(ptr noundef %0) #3
store i32 %20, ptr %18, align 8, !tbaa !14
%21 = getelementptr inbounds %struct.enclosure_device, ptr %8, i64 0, i32 4
store ptr %3, ptr %21, align 8, !tbaa !15
%22 = tail call i32 @dev_set_name(ptr noundef nonnull %18, ptr noundef nonnull @.str, ptr noundef %1) #3
%23 = tail call i32 @device_register(ptr noundef nonnull %18) #3
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %37
25: ; preds = %17
%26 = icmp sgt i32 %2, 0
br i1 %26, label %27, label %32
27: ; preds = %25
%28 = getelementptr inbounds %struct.enclosure_device, ptr %8, i64 0, i32 3
%29 = load ptr, ptr %28, align 8, !tbaa !16
%30 = zext nneg i32 %2 to i64
%31 = shl nuw nsw i64 %30, 2
tail call void @llvm.memset.p0.i64(ptr align 4 %29, i8 -1, i64 %31, i1 false), !tbaa !17
br label %32
32: ; preds = %27, %25
%33 = tail call i32 @mutex_lock(ptr noundef nonnull @container_list_lock) #3
%34 = getelementptr inbounds %struct.enclosure_device, ptr %8, i64 0, i32 2
%35 = tail call i32 @list_add_tail(ptr noundef nonnull %34, ptr noundef nonnull @container_list) #3
%36 = tail call i32 @mutex_unlock(ptr noundef nonnull @container_list_lock) #3
br label %42
37: ; preds = %17
%38 = load i32, ptr %18, align 8, !tbaa !14
%39 = tail call i32 @put_device(i32 noundef %38) #3
%40 = tail call i32 @kfree(ptr noundef nonnull %8) #3
%41 = tail call ptr @ERR_PTR(i32 noundef %23) #3
br label %42
42: ; preds = %37, %32, %13
%43 = phi ptr [ %41, %37 ], [ %8, %32 ], [ %16, %13 ]
ret ptr %43
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @get_device(ptr noundef) local_unnamed_addr #1
declare i32 @dev_set_name(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_register(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @put_device(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"enclosure_device", !6, i64 0, !11, i64 8, !6, i64 24, !12, i64 32, !12, i64 40}
!11 = !{!"TYPE_5__", !6, i64 0, !12, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!10, !6, i64 8}
!15 = !{!10, !12, i64 40}
!16 = !{!10, !12, i64 32}
!17 = !{!18, !6, i64 0}
!18 = !{!"TYPE_4__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/extr_enclosure.c_enclosure_register.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/extr_enclosure.c_enclosure_register.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
@enclosure_class = common global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@container_list_lock = common global i32 0, align 4
@container_list = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @enclosure_register(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = shl i32 %2, 2
%6 = add i32 %5, 48
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%8 = tail call ptr @kzalloc(i32 noundef %6, i32 noundef %7) #3
%9 = icmp eq ptr %3, null
%10 = zext i1 %9 to i32
%11 = tail call i32 @BUG_ON(i32 noundef %10) #3
%12 = icmp eq ptr %8, null
br i1 %12, label %13, label %17
13: ; preds = %4
%14 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%15 = sub nsw i32 0, %14
%16 = tail call ptr @ERR_PTR(i32 noundef %15) #3
br label %42
17: ; preds = %4
store i32 %2, ptr %8, align 8, !tbaa !10
%18 = getelementptr inbounds i8, ptr %8, i64 8
%19 = getelementptr inbounds i8, ptr %8, i64 16
store ptr @enclosure_class, ptr %19, align 8, !tbaa !14
%20 = tail call i32 @get_device(ptr noundef %0) #3
store i32 %20, ptr %18, align 8, !tbaa !15
%21 = getelementptr inbounds i8, ptr %8, i64 40
store ptr %3, ptr %21, align 8, !tbaa !16
%22 = tail call i32 @dev_set_name(ptr noundef nonnull %18, ptr noundef nonnull @.str, ptr noundef %1) #3
%23 = tail call i32 @device_register(ptr noundef nonnull %18) #3
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %37
25: ; preds = %17
%26 = icmp sgt i32 %2, 0
br i1 %26, label %27, label %32
27: ; preds = %25
%28 = getelementptr inbounds i8, ptr %8, i64 32
%29 = load ptr, ptr %28, align 8, !tbaa !17
%30 = zext nneg i32 %2 to i64
%31 = shl nuw nsw i64 %30, 2
tail call void @llvm.memset.p0.i64(ptr align 4 %29, i8 -1, i64 %31, i1 false), !tbaa !18
br label %32
32: ; preds = %27, %25
%33 = tail call i32 @mutex_lock(ptr noundef nonnull @container_list_lock) #3
%34 = getelementptr inbounds i8, ptr %8, i64 24
%35 = tail call i32 @list_add_tail(ptr noundef nonnull %34, ptr noundef nonnull @container_list) #3
%36 = tail call i32 @mutex_unlock(ptr noundef nonnull @container_list_lock) #3
br label %42
37: ; preds = %17
%38 = load i32, ptr %18, align 8, !tbaa !15
%39 = tail call i32 @put_device(i32 noundef %38) #3
%40 = tail call i32 @kfree(ptr noundef nonnull %8) #3
%41 = tail call ptr @ERR_PTR(i32 noundef %23) #3
br label %42
42: ; preds = %37, %32, %13
%43 = phi ptr [ %41, %37 ], [ %8, %32 ], [ %16, %13 ]
ret ptr %43
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @get_device(ptr noundef) local_unnamed_addr #1
declare i32 @dev_set_name(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_register(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @put_device(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"enclosure_device", !7, i64 0, !12, i64 8, !7, i64 24, !13, i64 32, !13, i64 40}
!12 = !{!"TYPE_5__", !7, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = !{!11, !7, i64 8}
!16 = !{!11, !13, i64 40}
!17 = !{!11, !13, i64 32}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_4__", !7, i64 0}
| fastsocket_kernel_drivers_misc_extr_enclosure.c_enclosure_register |
; ModuleID = 'AnghaBench/sway/swaybar/extr_input.c_swaybar_seat_free.c'
source_filename = "AnghaBench/sway/swaybar/extr_input.c_swaybar_seat_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.swaybar_seat = type { i32, i32, %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_3__ = type { ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @swaybar_seat_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %27, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.swaybar_seat, ptr %0, i64 0, i32 3
%5 = getelementptr inbounds %struct.swaybar_seat, ptr %0, i64 0, i32 3, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = tail call i32 @wl_pointer_release(ptr noundef nonnull %6) #2
br label %10
10: ; preds = %8, %3
%11 = load ptr, ptr %4, align 8, !tbaa !13
%12 = icmp eq ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = tail call i32 @wl_surface_destroy(ptr noundef nonnull %11) #2
br label %15
15: ; preds = %13, %10
%16 = getelementptr inbounds %struct.swaybar_seat, ptr %0, i64 0, i32 2
%17 = load ptr, ptr %16, align 8, !tbaa !14
%18 = icmp eq ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = tail call i32 @wl_touch_release(ptr noundef nonnull %17) #2
br label %21
21: ; preds = %19, %15
%22 = getelementptr inbounds %struct.swaybar_seat, ptr %0, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = tail call i32 @wl_seat_destroy(i32 noundef %23) #2
%25 = tail call i32 @wl_list_remove(ptr noundef nonnull %0) #2
%26 = tail call i32 @free(ptr noundef nonnull %0) #2
br label %27
27: ; preds = %1, %21
ret void
}
declare i32 @wl_pointer_release(ptr noundef) local_unnamed_addr #1
declare i32 @wl_surface_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @wl_touch_release(ptr noundef) local_unnamed_addr #1
declare i32 @wl_seat_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @wl_list_remove(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, !11, i64 24}
!6 = !{!"swaybar_seat", !7, i64 0, !7, i64 4, !10, i64 8, !12, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"TYPE_3__", !11, i64 0, !11, i64 8}
!13 = !{!6, !11, i64 16}
!14 = !{!6, !11, i64 8}
!15 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/sway/swaybar/extr_input.c_swaybar_seat_free.c'
source_filename = "AnghaBench/sway/swaybar/extr_input.c_swaybar_seat_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 @swaybar_seat_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %27, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = tail call i32 @wl_pointer_release(ptr noundef nonnull %6) #2
br label %10
10: ; preds = %8, %3
%11 = load ptr, ptr %4, align 8, !tbaa !14
%12 = icmp eq ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = tail call i32 @wl_surface_destroy(ptr noundef nonnull %11) #2
br label %15
15: ; preds = %13, %10
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !15
%18 = icmp eq ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = tail call i32 @wl_touch_release(ptr noundef nonnull %17) #2
br label %21
21: ; preds = %19, %15
%22 = getelementptr inbounds i8, ptr %0, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = tail call i32 @wl_seat_destroy(i32 noundef %23) #2
%25 = tail call i32 @wl_list_remove(ptr noundef nonnull %0) #2
%26 = tail call i32 @free(ptr noundef nonnull %0) #2
br label %27
27: ; preds = %1, %21
ret void
}
declare i32 @wl_pointer_release(ptr noundef) local_unnamed_addr #1
declare i32 @wl_surface_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @wl_touch_release(ptr noundef) local_unnamed_addr #1
declare i32 @wl_seat_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @wl_list_remove(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, !12, i64 24}
!7 = !{!"swaybar_seat", !8, i64 0, !8, i64 4, !11, i64 8, !13, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"TYPE_3__", !12, i64 0, !12, i64 8}
!14 = !{!7, !12, i64 16}
!15 = !{!7, !12, i64 8}
!16 = !{!7, !8, i64 4}
| sway_swaybar_extr_input.c_swaybar_seat_free |
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_parseHhMmSs.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_parseHhMmSs.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @parseHhMmSs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @parseHhMmSs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%6 = call i32 (ptr, i32, i32, i32, i8, ptr, ...) @getDigits(ptr noundef %0, i32 noundef 2, i32 noundef 0, i32 noundef 24, i8 noundef signext 58, ptr noundef nonnull %3, i32 noundef 2, i32 noundef 0, i32 noundef 59, i32 noundef 0, ptr noundef nonnull %4) #4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %66
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %0, i64 5
%10 = load i8, ptr %9, align 1, !tbaa !5
%11 = icmp eq i8 %10, 58
br i1 %11, label %12, label %44
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %0, i64 6
%14 = call i32 (ptr, i32, i32, i32, i8, ptr, ...) @getDigits(ptr noundef nonnull %13, i32 noundef 2, i32 noundef 0, i32 noundef 59, i8 noundef signext 0, ptr noundef nonnull %5) #4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %66
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i8, ptr %17, align 1, !tbaa !5
%19 = icmp eq i8 %18, 46
br i1 %19, label %20, label %45
20: ; preds = %16
%21 = getelementptr inbounds i8, ptr %0, i64 9
%22 = load i8, ptr %21, align 1, !tbaa !5
%23 = call i64 @sqlite3Isdigit(i8 noundef signext %22) #4
%24 = icmp eq i64 %23, 0
br i1 %24, label %45, label %25
25: ; preds = %20
%26 = load i8, ptr %21, align 1, !tbaa !5
%27 = call i64 @sqlite3Isdigit(i8 noundef signext %26) #4
%28 = icmp eq i64 %27, 0
br i1 %28, label %45, label %29
29: ; preds = %25, %29
%30 = phi double [ %37, %29 ], [ 1.000000e+00, %25 ]
%31 = phi double [ %36, %29 ], [ 0.000000e+00, %25 ]
%32 = phi ptr [ %38, %29 ], [ %21, %25 ]
%33 = load i8, ptr %32, align 1, !tbaa !5
%34 = sitofp i8 %33 to double
%35 = call double @llvm.fmuladd.f64(double %31, double 1.000000e+01, double %34)
%36 = fadd double %35, -4.800000e+01
%37 = fmul double %30, 1.000000e+01
%38 = getelementptr inbounds i8, ptr %32, i64 1
%39 = load i8, ptr %38, align 1, !tbaa !5
%40 = call i64 @sqlite3Isdigit(i8 noundef signext %39) #4
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %29, !llvm.loop !8
42: ; preds = %29
%43 = fdiv double %36, %37
br label %45
44: ; preds = %8
store i32 0, ptr %5, align 4, !tbaa !10
br label %45
45: ; preds = %25, %42, %16, %20, %44
%46 = phi ptr [ %17, %20 ], [ %17, %16 ], [ %9, %44 ], [ %21, %25 ], [ %38, %42 ]
%47 = phi double [ 0.000000e+00, %20 ], [ 0.000000e+00, %16 ], [ 0.000000e+00, %44 ], [ 0.000000e+00, %25 ], [ %43, %42 ]
%48 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 6
store i64 0, ptr %48, align 8, !tbaa !12
store i32 1, ptr %1, align 8, !tbaa !15
%49 = load i32, ptr %3, align 4, !tbaa !10
%50 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
store i32 %49, ptr %50, align 4, !tbaa !16
%51 = load i32, ptr %4, align 4, !tbaa !10
%52 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2
store i32 %51, ptr %52, align 8, !tbaa !17
%53 = load i32, ptr %5, align 4, !tbaa !10
%54 = sitofp i32 %53 to double
%55 = fadd double %47, %54
%56 = fptosi double %55 to i32
%57 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3
store i32 %56, ptr %57, align 4, !tbaa !18
%58 = call i64 @parseTimezone(ptr noundef nonnull %46, ptr noundef nonnull %1) #4
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %66
60: ; preds = %45
%61 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 5
%62 = load i64, ptr %61, align 8, !tbaa !19
%63 = icmp ne i64 %62, 0
%64 = zext i1 %63 to i32
%65 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 4
store i32 %64, ptr %65, align 8, !tbaa !20
br label %66
66: ; preds = %45, %12, %2, %60
%67 = phi i32 [ 0, %60 ], [ 1, %2 ], [ 1, %12 ], [ 1, %45 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret i32 %67
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @getDigits(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, ptr noundef, ...) local_unnamed_addr #2
declare i64 @sqlite3Isdigit(i8 noundef signext) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @parseTimezone(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !6, i64 0}
!12 = !{!13, !14, i64 32}
!13 = !{!"TYPE_4__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !14, i64 24, !14, i64 32}
!14 = !{!"long", !6, i64 0}
!15 = !{!13, !11, i64 0}
!16 = !{!13, !11, i64 4}
!17 = !{!13, !11, i64 8}
!18 = !{!13, !11, i64 12}
!19 = !{!13, !14, i64 24}
!20 = !{!13, !11, i64 16}
| ; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_parseHhMmSs.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_parseHhMmSs.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 @parseHhMmSs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @parseHhMmSs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%6 = call i32 (ptr, i32, i32, i32, i8, ptr, ...) @getDigits(ptr noundef %0, i32 noundef 2, i32 noundef 0, i32 noundef 24, i8 noundef signext 58, ptr noundef nonnull %3, i32 noundef 2, i32 noundef 0, i32 noundef 59, i32 noundef 0, ptr noundef nonnull %4) #4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %66
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %0, i64 5
%10 = load i8, ptr %9, align 1, !tbaa !6
%11 = icmp eq i8 %10, 58
br i1 %11, label %12, label %44
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %0, i64 6
%14 = call i32 (ptr, i32, i32, i32, i8, ptr, ...) @getDigits(ptr noundef nonnull %13, i32 noundef 2, i32 noundef 0, i32 noundef 59, i8 noundef signext 0, ptr noundef nonnull %5) #4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %66
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i8, ptr %17, align 1, !tbaa !6
%19 = icmp eq i8 %18, 46
br i1 %19, label %20, label %45
20: ; preds = %16
%21 = getelementptr inbounds i8, ptr %0, i64 9
%22 = load i8, ptr %21, align 1, !tbaa !6
%23 = call i64 @sqlite3Isdigit(i8 noundef signext %22) #4
%24 = icmp eq i64 %23, 0
br i1 %24, label %45, label %25
25: ; preds = %20
%26 = load i8, ptr %21, align 1, !tbaa !6
%27 = call i64 @sqlite3Isdigit(i8 noundef signext %26) #4
%28 = icmp eq i64 %27, 0
br i1 %28, label %45, label %29
29: ; preds = %25, %29
%30 = phi double [ %37, %29 ], [ 1.000000e+00, %25 ]
%31 = phi double [ %36, %29 ], [ 0.000000e+00, %25 ]
%32 = phi ptr [ %38, %29 ], [ %21, %25 ]
%33 = load i8, ptr %32, align 1, !tbaa !6
%34 = sitofp i8 %33 to double
%35 = call double @llvm.fmuladd.f64(double %31, double 1.000000e+01, double %34)
%36 = fadd double %35, -4.800000e+01
%37 = fmul double %30, 1.000000e+01
%38 = getelementptr inbounds i8, ptr %32, i64 1
%39 = load i8, ptr %38, align 1, !tbaa !6
%40 = call i64 @sqlite3Isdigit(i8 noundef signext %39) #4
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %29, !llvm.loop !9
42: ; preds = %29
%43 = fdiv double %36, %37
br label %45
44: ; preds = %8
store i32 0, ptr %5, align 4, !tbaa !11
br label %45
45: ; preds = %25, %42, %16, %20, %44
%46 = phi ptr [ %17, %20 ], [ %17, %16 ], [ %9, %44 ], [ %21, %25 ], [ %38, %42 ]
%47 = phi double [ 0.000000e+00, %20 ], [ 0.000000e+00, %16 ], [ 0.000000e+00, %44 ], [ 0.000000e+00, %25 ], [ %43, %42 ]
%48 = getelementptr inbounds i8, ptr %1, i64 32
store i64 0, ptr %48, align 8, !tbaa !13
store i32 1, ptr %1, align 8, !tbaa !16
%49 = load i32, ptr %3, align 4, !tbaa !11
%50 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %49, ptr %50, align 4, !tbaa !17
%51 = load i32, ptr %4, align 4, !tbaa !11
%52 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %51, ptr %52, align 8, !tbaa !18
%53 = load i32, ptr %5, align 4, !tbaa !11
%54 = sitofp i32 %53 to double
%55 = fadd double %47, %54
%56 = fptosi double %55 to i32
%57 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %56, ptr %57, align 4, !tbaa !19
%58 = call i64 @parseTimezone(ptr noundef nonnull %46, ptr noundef nonnull %1) #4
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %66
60: ; preds = %45
%61 = getelementptr inbounds i8, ptr %1, i64 24
%62 = load i64, ptr %61, align 8, !tbaa !20
%63 = icmp ne i64 %62, 0
%64 = zext i1 %63 to i32
%65 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %64, ptr %65, align 8, !tbaa !21
br label %66
66: ; preds = %45, %12, %2, %60
%67 = phi i32 [ 0, %60 ], [ 1, %2 ], [ 1, %12 ], [ 1, %45 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret i32 %67
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @getDigits(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, ptr noundef, ...) local_unnamed_addr #2
declare i64 @sqlite3Isdigit(i8 noundef signext) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @parseTimezone(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 32}
!14 = !{!"TYPE_4__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !15, i64 24, !15, i64 32}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !12, i64 0}
!17 = !{!14, !12, i64 4}
!18 = !{!14, !12, i64 8}
!19 = !{!14, !12, i64 12}
!20 = !{!14, !15, i64 24}
!21 = !{!14, !12, i64 16}
| Craft_deps_sqlite_extr_sqlite3.c_parseHhMmSs |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v11_0.c_dce_v11_0_set_crtc_vblank_interrupt_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v11_0.c_dce_v11_0_set_crtc_vblank_interrupt_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"invalid crtc %d\0A\00", align 1
@mmLB_INTERRUPT_MASK = dso_local local_unnamed_addr global i64 0, align 8
@crtc_offsets = dso_local local_unnamed_addr global ptr null, align 8
@LB_INTERRUPT_MASK = dso_local local_unnamed_addr global i32 0, align 4
@VBLANK_INTERRUPT_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dce_v11_0_set_crtc_vblank_interrupt_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dce_v11_0_set_crtc_vblank_interrupt_state(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = icmp sgt i32 %4, %1
br i1 %5, label %8, label %6
6: ; preds = %3
%7 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str, i32 noundef %1) #2
br label %43
8: ; preds = %3
switch i32 %2, label %43 [
i32 129, label %9
i32 128, label %26
]
9: ; preds = %8
%10 = load i64, ptr @mmLB_INTERRUPT_MASK, align 8, !tbaa !11
%11 = load ptr, ptr @crtc_offsets, align 8, !tbaa !13
%12 = sext i32 %1 to i64
%13 = getelementptr inbounds i64, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !11
%15 = add nsw i64 %14, %10
%16 = tail call i32 @RREG32(i64 noundef %15) #2
%17 = load i32, ptr @LB_INTERRUPT_MASK, align 4, !tbaa !15
%18 = load i32, ptr @VBLANK_INTERRUPT_MASK, align 4, !tbaa !15
%19 = tail call i32 @REG_SET_FIELD(i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef 0) #2
%20 = load i64, ptr @mmLB_INTERRUPT_MASK, align 8, !tbaa !11
%21 = load ptr, ptr @crtc_offsets, align 8, !tbaa !13
%22 = getelementptr inbounds i64, ptr %21, i64 %12
%23 = load i64, ptr %22, align 8, !tbaa !11
%24 = add nsw i64 %23, %20
%25 = tail call i32 @WREG32(i64 noundef %24, i32 noundef %19) #2
br label %43
26: ; preds = %8
%27 = load i64, ptr @mmLB_INTERRUPT_MASK, align 8, !tbaa !11
%28 = load ptr, ptr @crtc_offsets, align 8, !tbaa !13
%29 = sext i32 %1 to i64
%30 = getelementptr inbounds i64, ptr %28, i64 %29
%31 = load i64, ptr %30, align 8, !tbaa !11
%32 = add nsw i64 %31, %27
%33 = tail call i32 @RREG32(i64 noundef %32) #2
%34 = load i32, ptr @LB_INTERRUPT_MASK, align 4, !tbaa !15
%35 = load i32, ptr @VBLANK_INTERRUPT_MASK, align 4, !tbaa !15
%36 = tail call i32 @REG_SET_FIELD(i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef 1) #2
%37 = load i64, ptr @mmLB_INTERRUPT_MASK, align 8, !tbaa !11
%38 = load ptr, ptr @crtc_offsets, align 8, !tbaa !13
%39 = getelementptr inbounds i64, ptr %38, i64 %29
%40 = load i64, ptr %39, align 8, !tbaa !11
%41 = add nsw i64 %40, %37
%42 = tail call i32 @WREG32(i64 noundef %41, i32 noundef %36) #2
br label %43
43: ; preds = %9, %26, %8, %6
ret void
}
declare i32 @DRM_DEBUG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WREG32(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, !8, i64 0}
!6 = !{!"amdgpu_device", !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"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v11_0.c_dce_v11_0_set_crtc_vblank_interrupt_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_dce_v11_0.c_dce_v11_0_set_crtc_vblank_interrupt_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [17 x i8] c"invalid crtc %d\0A\00", align 1
@mmLB_INTERRUPT_MASK = common local_unnamed_addr global i64 0, align 8
@crtc_offsets = common local_unnamed_addr global ptr null, align 8
@LB_INTERRUPT_MASK = common local_unnamed_addr global i32 0, align 4
@VBLANK_INTERRUPT_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dce_v11_0_set_crtc_vblank_interrupt_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dce_v11_0_set_crtc_vblank_interrupt_state(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = icmp sgt i32 %4, %1
br i1 %5, label %8, label %6
6: ; preds = %3
%7 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str, i32 noundef %1) #2
br label %43
8: ; preds = %3
switch i32 %2, label %43 [
i32 129, label %9
i32 128, label %26
]
9: ; preds = %8
%10 = load i64, ptr @mmLB_INTERRUPT_MASK, align 8, !tbaa !12
%11 = load ptr, ptr @crtc_offsets, align 8, !tbaa !14
%12 = sext i32 %1 to i64
%13 = getelementptr inbounds i64, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !12
%15 = add nsw i64 %14, %10
%16 = tail call i32 @RREG32(i64 noundef %15) #2
%17 = load i32, ptr @LB_INTERRUPT_MASK, align 4, !tbaa !16
%18 = load i32, ptr @VBLANK_INTERRUPT_MASK, align 4, !tbaa !16
%19 = tail call i32 @REG_SET_FIELD(i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef 0) #2
%20 = load i64, ptr @mmLB_INTERRUPT_MASK, align 8, !tbaa !12
%21 = load ptr, ptr @crtc_offsets, align 8, !tbaa !14
%22 = getelementptr inbounds i64, ptr %21, i64 %12
%23 = load i64, ptr %22, align 8, !tbaa !12
%24 = add nsw i64 %23, %20
%25 = tail call i32 @WREG32(i64 noundef %24, i32 noundef %19) #2
br label %43
26: ; preds = %8
%27 = load i64, ptr @mmLB_INTERRUPT_MASK, align 8, !tbaa !12
%28 = load ptr, ptr @crtc_offsets, align 8, !tbaa !14
%29 = sext i32 %1 to i64
%30 = getelementptr inbounds i64, ptr %28, i64 %29
%31 = load i64, ptr %30, align 8, !tbaa !12
%32 = add nsw i64 %31, %27
%33 = tail call i32 @RREG32(i64 noundef %32) #2
%34 = load i32, ptr @LB_INTERRUPT_MASK, align 4, !tbaa !16
%35 = load i32, ptr @VBLANK_INTERRUPT_MASK, align 4, !tbaa !16
%36 = tail call i32 @REG_SET_FIELD(i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef 1) #2
%37 = load i64, ptr @mmLB_INTERRUPT_MASK, align 8, !tbaa !12
%38 = load ptr, ptr @crtc_offsets, align 8, !tbaa !14
%39 = getelementptr inbounds i64, ptr %38, i64 %29
%40 = load i64, ptr %39, align 8, !tbaa !12
%41 = add nsw i64 %40, %37
%42 = tail call i32 @WREG32(i64 noundef %41, i32 noundef %36) #2
br label %43
43: ; preds = %9, %26, %8, %6
ret void
}
declare i32 @DRM_DEBUG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WREG32(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, !9, i64 0}
!7 = !{!"amdgpu_device", !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"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !10, i64 0}
!16 = !{!9, !9, i64 0}
| linux_drivers_gpu_drm_amd_amdgpu_extr_dce_v11_0.c_dce_v11_0_set_crtc_vblank_interrupt_state |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/extr_indexer.h_idm_at.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/extr_indexer.h_idm_at.c"
target datalayout = "e-m:e-p270:32:32-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 @idm_at], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @idm_at(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i64 @idx_array_index(i32 noundef %1) #2
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = tail call i64 @idx_entry_index(i32 noundef %1) #2
%8 = getelementptr inbounds ptr, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !10
ret ptr %9
}
declare i64 @idx_array_index(i32 noundef) local_unnamed_addr #1
declare i64 @idx_entry_index(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 = !{!"index_map", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/extr_indexer.h_idm_at.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/extr_indexer.h_idm_at.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 @idm_at], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @idm_at(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i64 @idx_array_index(i32 noundef %1) #2
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i64 @idx_entry_index(i32 noundef %1) #2
%8 = getelementptr inbounds ptr, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !11
ret ptr %9
}
declare i64 @idx_array_index(i32 noundef) local_unnamed_addr #1
declare i64 @idx_entry_index(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 = !{!"index_map", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| freebsd_contrib_ofed_librdmacm_extr_indexer.h_idm_at |
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_hyperv.c_kvm_hv_eventfd_deassign.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_hyperv.c_kvm_hv_eventfd_deassign.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.kvm = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { %struct.kvm_hv }
%struct.kvm_hv = type { i32, i32 }
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @kvm_hv_eventfd_deassign], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @kvm_hv_eventfd_deassign(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.kvm, ptr %0, i64 0, i32 1
%4 = tail call i32 @mutex_lock(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds %struct.kvm, ptr %0, i64 0, i32 1, i32 0, i32 1
%6 = tail call ptr @idr_remove(ptr noundef nonnull %5, i32 noundef %1) #2
%7 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2
%8 = icmp eq ptr %6, null
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @ENOENT, align 4, !tbaa !5
%11 = sub nsw i32 0, %10
br label %15
12: ; preds = %2
%13 = tail call i32 @synchronize_srcu(ptr noundef %0) #2
%14 = tail call i32 @eventfd_ctx_put(ptr noundef nonnull %6) #2
br label %15
15: ; preds = %12, %9
%16 = phi i32 [ 0, %12 ], [ %11, %9 ]
ret i32 %16
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @idr_remove(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @synchronize_srcu(ptr noundef) local_unnamed_addr #1
declare i32 @eventfd_ctx_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_hyperv.c_kvm_hv_eventfd_deassign.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_hyperv.c_kvm_hv_eventfd_deassign.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @kvm_hv_eventfd_deassign], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @kvm_hv_eventfd_deassign(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = tail call i32 @mutex_lock(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = tail call ptr @idr_remove(ptr noundef nonnull %5, i32 noundef %1) #2
%7 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2
%8 = icmp eq ptr %6, null
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @ENOENT, align 4, !tbaa !6
%11 = sub nsw i32 0, %10
br label %15
12: ; preds = %2
%13 = tail call i32 @synchronize_srcu(ptr noundef %0) #2
%14 = tail call i32 @eventfd_ctx_put(ptr noundef nonnull %6) #2
br label %15
15: ; preds = %12, %9
%16 = phi i32 [ 0, %12 ], [ %11, %9 ]
ret i32 %16
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @idr_remove(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @synchronize_srcu(ptr noundef) local_unnamed_addr #1
declare i32 @eventfd_ctx_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_x86_kvm_extr_hyperv.c_kvm_hv_eventfd_deassign |
; ModuleID = 'AnghaBench/linux/kernel/time/extr_hrtimer.c_debug_activate.c'
source_filename = "AnghaBench/linux/kernel/time/extr_hrtimer.c_debug_activate.c"
target datalayout = "e-m:e-p270:32:32-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 @debug_activate], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @debug_activate(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @debug_hrtimer_activate(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @trace_hrtimer_start(ptr noundef %0, i32 noundef %1) #2
ret void
}
declare i32 @debug_hrtimer_activate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trace_hrtimer_start(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/kernel/time/extr_hrtimer.c_debug_activate.c'
source_filename = "AnghaBench/linux/kernel/time/extr_hrtimer.c_debug_activate.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 @debug_activate], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @debug_activate(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @debug_hrtimer_activate(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @trace_hrtimer_start(ptr noundef %0, i32 noundef %1) #2
ret void
}
declare i32 @debug_hrtimer_activate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @trace_hrtimer_start(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_kernel_time_extr_hrtimer.c_debug_activate |
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_scrub.c_scrub_recheck_block.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_scrub.c_scrub_recheck_block.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.scrub_block = type { i32, i32, ptr }
%struct.scrub_page = type { i32, i32, i32, ptr }
%struct.bio = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@REQ_OP_READ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @scrub_recheck_block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @scrub_recheck_block(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
store i32 1, ptr %1, align 8, !tbaa !5
%4 = icmp eq i32 %2, 0
br i1 %4, label %5, label %12
5: ; preds = %3
%6 = getelementptr inbounds %struct.scrub_block, ptr %1, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = tail call i64 @scrub_is_page_on_raid56(ptr noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %5
tail call void @scrub_recheck_block_on_raid56(ptr noundef %0, ptr noundef nonnull %1) #2
br label %63
12: ; preds = %5, %3
%13 = getelementptr inbounds %struct.scrub_block, ptr %1, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %58
16: ; preds = %12
%17 = getelementptr inbounds %struct.scrub_block, ptr %1, i64 0, i32 2
br label %18
18: ; preds = %16, %53
%19 = phi i32 [ %14, %16 ], [ %54, %53 ]
%20 = phi i64 [ 0, %16 ], [ %55, %53 ]
%21 = load ptr, ptr %17, align 8, !tbaa !11
%22 = getelementptr inbounds ptr, ptr %21, i64 %20
%23 = load ptr, ptr %22, align 8, !tbaa !12
%24 = getelementptr inbounds %struct.scrub_page, ptr %23, i64 0, i32 3
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = load ptr, ptr %25, align 8, !tbaa !16
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %18
store i32 1, ptr %23, align 8, !tbaa !18
store i32 0, ptr %1, align 8, !tbaa !5
br label %53
29: ; preds = %18
%30 = getelementptr inbounds %struct.scrub_page, ptr %23, i64 0, i32 2
%31 = load i32, ptr %30, align 8, !tbaa !19
%32 = icmp eq i32 %31, 0
%33 = zext i1 %32 to i32
%34 = tail call i32 @WARN_ON(i32 noundef %33) #2
%35 = tail call ptr @btrfs_io_bio_alloc(i32 noundef 1) #2
%36 = load ptr, ptr %24, align 8, !tbaa !14
%37 = load ptr, ptr %36, align 8, !tbaa !16
%38 = tail call i32 @bio_set_dev(ptr noundef %35, ptr noundef %37) #2
%39 = load i32, ptr %30, align 8, !tbaa !19
%40 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !20
%41 = tail call i32 @bio_add_page(ptr noundef %35, i32 noundef %39, i32 noundef %40, i32 noundef 0) #2
%42 = getelementptr inbounds %struct.scrub_page, ptr %23, i64 0, i32 1
%43 = load i32, ptr %42, align 4, !tbaa !21
%44 = ashr i32 %43, 9
%45 = getelementptr inbounds %struct.bio, ptr %35, i64 0, i32 1
store i32 %44, ptr %45, align 4, !tbaa !22
%46 = load i32, ptr @REQ_OP_READ, align 4, !tbaa !20
store i32 %46, ptr %35, align 4, !tbaa !25
%47 = tail call i64 @btrfsic_submit_bio_wait(ptr noundef nonnull %35) #2
%48 = icmp eq i64 %47, 0
br i1 %48, label %50, label %49
49: ; preds = %29
store i32 1, ptr %23, align 8, !tbaa !18
store i32 0, ptr %1, align 8, !tbaa !5
br label %50
50: ; preds = %49, %29
%51 = tail call i32 @bio_put(ptr noundef nonnull %35) #2
%52 = load i32, ptr %13, align 4, !tbaa !13
br label %53
53: ; preds = %50, %28
%54 = phi i32 [ %52, %50 ], [ %19, %28 ]
%55 = add nuw nsw i64 %20, 1
%56 = sext i32 %54 to i64
%57 = icmp slt i64 %55, %56
br i1 %57, label %18, label %58, !llvm.loop !26
58: ; preds = %53, %12
%59 = load i32, ptr %1, align 8, !tbaa !5
%60 = icmp eq i32 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %58
%62 = tail call i32 @scrub_recheck_block_checksum(ptr noundef nonnull %1) #2
br label %63
63: ; preds = %58, %61, %11
ret void
}
declare i64 @scrub_is_page_on_raid56(ptr noundef) local_unnamed_addr #1
declare void @scrub_recheck_block_on_raid56(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare ptr @btrfs_io_bio_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @bio_set_dev(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bio_add_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @btrfsic_submit_bio_wait(ptr noundef) local_unnamed_addr #1
declare i32 @bio_put(ptr noundef) local_unnamed_addr #1
declare i32 @scrub_recheck_block_checksum(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 = !{!"scrub_block", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!15, !10, i64 16}
!15 = !{!"scrub_page", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!16 = !{!17, !10, i64 0}
!17 = !{!"TYPE_3__", !10, i64 0}
!18 = !{!15, !7, i64 0}
!19 = !{!15, !7, i64 8}
!20 = !{!7, !7, i64 0}
!21 = !{!15, !7, i64 4}
!22 = !{!23, !7, i64 4}
!23 = !{!"bio", !7, i64 0, !24, i64 4}
!24 = !{!"TYPE_4__", !7, i64 0}
!25 = !{!23, !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_scrub.c_scrub_recheck_block.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_scrub.c_scrub_recheck_block.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@REQ_OP_READ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @scrub_recheck_block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @scrub_recheck_block(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
store i32 1, ptr %1, align 8, !tbaa !6
%4 = icmp eq i32 %2, 0
br i1 %4, label %5, label %12
5: ; preds = %3
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = tail call i64 @scrub_is_page_on_raid56(ptr noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %5
tail call void @scrub_recheck_block_on_raid56(ptr noundef %0, ptr noundef nonnull %1) #2
br label %63
12: ; preds = %5, %3
%13 = getelementptr inbounds i8, ptr %1, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %58
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %1, i64 8
br label %18
18: ; preds = %16, %53
%19 = phi i32 [ %14, %16 ], [ %54, %53 ]
%20 = phi i64 [ 0, %16 ], [ %55, %53 ]
%21 = load ptr, ptr %17, align 8, !tbaa !12
%22 = getelementptr inbounds ptr, ptr %21, i64 %20
%23 = load ptr, ptr %22, align 8, !tbaa !13
%24 = getelementptr inbounds i8, ptr %23, i64 16
%25 = load ptr, ptr %24, align 8, !tbaa !15
%26 = load ptr, ptr %25, align 8, !tbaa !17
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %18
store i32 1, ptr %23, align 8, !tbaa !19
store i32 0, ptr %1, align 8, !tbaa !6
br label %53
29: ; preds = %18
%30 = getelementptr inbounds i8, ptr %23, i64 8
%31 = load i32, ptr %30, align 8, !tbaa !20
%32 = icmp eq i32 %31, 0
%33 = zext i1 %32 to i32
%34 = tail call i32 @WARN_ON(i32 noundef %33) #2
%35 = tail call ptr @btrfs_io_bio_alloc(i32 noundef 1) #2
%36 = load ptr, ptr %24, align 8, !tbaa !15
%37 = load ptr, ptr %36, align 8, !tbaa !17
%38 = tail call i32 @bio_set_dev(ptr noundef %35, ptr noundef %37) #2
%39 = load i32, ptr %30, align 8, !tbaa !20
%40 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !21
%41 = tail call i32 @bio_add_page(ptr noundef %35, i32 noundef %39, i32 noundef %40, i32 noundef 0) #2
%42 = getelementptr inbounds i8, ptr %23, i64 4
%43 = load i32, ptr %42, align 4, !tbaa !22
%44 = ashr i32 %43, 9
%45 = getelementptr inbounds i8, ptr %35, i64 4
store i32 %44, ptr %45, align 4, !tbaa !23
%46 = load i32, ptr @REQ_OP_READ, align 4, !tbaa !21
store i32 %46, ptr %35, align 4, !tbaa !26
%47 = tail call i64 @btrfsic_submit_bio_wait(ptr noundef nonnull %35) #2
%48 = icmp eq i64 %47, 0
br i1 %48, label %50, label %49
49: ; preds = %29
store i32 1, ptr %23, align 8, !tbaa !19
store i32 0, ptr %1, align 8, !tbaa !6
br label %50
50: ; preds = %49, %29
%51 = tail call i32 @bio_put(ptr noundef nonnull %35) #2
%52 = load i32, ptr %13, align 4, !tbaa !14
br label %53
53: ; preds = %50, %28
%54 = phi i32 [ %52, %50 ], [ %19, %28 ]
%55 = add nuw nsw i64 %20, 1
%56 = sext i32 %54 to i64
%57 = icmp slt i64 %55, %56
br i1 %57, label %18, label %58, !llvm.loop !27
58: ; preds = %53, %12
%59 = load i32, ptr %1, align 8, !tbaa !6
%60 = icmp eq i32 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %58
%62 = tail call i32 @scrub_recheck_block_checksum(ptr noundef nonnull %1) #2
br label %63
63: ; preds = %58, %61, %11
ret void
}
declare i64 @scrub_is_page_on_raid56(ptr noundef) local_unnamed_addr #1
declare void @scrub_recheck_block_on_raid56(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare ptr @btrfs_io_bio_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @bio_set_dev(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bio_add_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @btrfsic_submit_bio_wait(ptr noundef) local_unnamed_addr #1
declare i32 @bio_put(ptr noundef) local_unnamed_addr #1
declare i32 @scrub_recheck_block_checksum(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 = !{!"scrub_block", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!16, !11, i64 16}
!16 = !{!"scrub_page", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_3__", !11, i64 0}
!19 = !{!16, !8, i64 0}
!20 = !{!16, !8, i64 8}
!21 = !{!8, !8, i64 0}
!22 = !{!16, !8, i64 4}
!23 = !{!24, !8, i64 4}
!24 = !{!"bio", !8, i64 0, !25, i64 4}
!25 = !{!"TYPE_4__", !8, i64 0}
!26 = !{!24, !8, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
| linux_fs_btrfs_extr_scrub.c_scrub_recheck_block |
; ModuleID = 'AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/string/extr_memcpy.c_memcpy.c'
source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/string/extr_memcpy.c_memcpy.c"
target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local noundef ptr @memcpy(ptr noundef returned writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %102, label %5
5: ; preds = %3
%6 = ptrtoint ptr %0 to i64
%7 = ptrtoint ptr %1 to i64
%8 = icmp ult i64 %2, 8
%9 = sub i64 %6, %7
%10 = icmp ult i64 %9, 32
%11 = or i1 %8, %10
br i1 %11, label %49, label %12
12: ; preds = %5
%13 = icmp ult i64 %2, 32
br i1 %13, label %34, label %14
14: ; preds = %12
%15 = and i64 %2, -32
br label %16
16: ; preds = %16, %14
%17 = phi i64 [ 0, %14 ], [ %24, %16 ]
%18 = getelementptr i8, ptr %1, i64 %17
%19 = getelementptr i8, ptr %0, i64 %17
%20 = getelementptr i8, ptr %18, i64 16
%21 = load <16 x i8>, ptr %18, align 1, !tbaa !5
%22 = load <16 x i8>, ptr %20, align 1, !tbaa !5
%23 = getelementptr i8, ptr %19, i64 16
store <16 x i8> %21, ptr %19, align 1, !tbaa !5
store <16 x i8> %22, ptr %23, align 1, !tbaa !5
%24 = add nuw i64 %17, 32
%25 = icmp eq i64 %24, %15
br i1 %25, label %26, label %16, !llvm.loop !8
26: ; preds = %16
%27 = icmp eq i64 %15, %2
br i1 %27, label %102, label %28
28: ; preds = %26
%29 = and i64 %2, 31
%30 = getelementptr i8, ptr %0, i64 %15
%31 = getelementptr i8, ptr %1, i64 %15
%32 = and i64 %2, 24
%33 = icmp eq i64 %32, 0
br i1 %33, label %49, label %34
34: ; preds = %12, %28
%35 = phi i64 [ %15, %28 ], [ 0, %12 ]
%36 = and i64 %2, -8
%37 = getelementptr i8, ptr %1, i64 %36
%38 = getelementptr i8, ptr %0, i64 %36
%39 = and i64 %2, 7
br label %40
40: ; preds = %40, %34
%41 = phi i64 [ %35, %34 ], [ %45, %40 ]
%42 = getelementptr i8, ptr %1, i64 %41
%43 = getelementptr i8, ptr %0, i64 %41
%44 = load <8 x i8>, ptr %42, align 1, !tbaa !5
store <8 x i8> %44, ptr %43, align 1, !tbaa !5
%45 = add nuw i64 %41, 8
%46 = icmp eq i64 %45, %36
br i1 %46, label %47, label %40, !llvm.loop !12
47: ; preds = %40
%48 = icmp eq i64 %36, %2
br i1 %48, label %102, label %49
49: ; preds = %5, %28, %47
%50 = phi ptr [ %1, %5 ], [ %31, %28 ], [ %37, %47 ]
%51 = phi ptr [ %0, %5 ], [ %30, %28 ], [ %38, %47 ]
%52 = phi i64 [ %2, %5 ], [ %29, %28 ], [ %39, %47 ]
%53 = add i64 %52, -1
%54 = and i64 %52, 7
%55 = icmp eq i64 %54, 0
br i1 %55, label %67, label %56
56: ; preds = %49, %56
%57 = phi ptr [ %62, %56 ], [ %50, %49 ]
%58 = phi ptr [ %64, %56 ], [ %51, %49 ]
%59 = phi i64 [ %61, %56 ], [ %52, %49 ]
%60 = phi i64 [ %65, %56 ], [ 0, %49 ]
%61 = add i64 %59, -1
%62 = getelementptr inbounds i8, ptr %57, i64 1
%63 = load i8, ptr %57, align 1, !tbaa !5
%64 = getelementptr inbounds i8, ptr %58, i64 1
store i8 %63, ptr %58, align 1, !tbaa !5
%65 = add i64 %60, 1
%66 = icmp eq i64 %65, %54
br i1 %66, label %67, label %56, !llvm.loop !13
67: ; preds = %56, %49
%68 = phi ptr [ %50, %49 ], [ %62, %56 ]
%69 = phi ptr [ %51, %49 ], [ %64, %56 ]
%70 = phi i64 [ %52, %49 ], [ %61, %56 ]
%71 = icmp ult i64 %53, 7
br i1 %71, label %102, label %72
72: ; preds = %67, %72
%73 = phi ptr [ %98, %72 ], [ %68, %67 ]
%74 = phi ptr [ %100, %72 ], [ %69, %67 ]
%75 = phi i64 [ %97, %72 ], [ %70, %67 ]
%76 = getelementptr inbounds i8, ptr %73, i64 1
%77 = load i8, ptr %73, align 1, !tbaa !5
%78 = getelementptr inbounds i8, ptr %74, i64 1
store i8 %77, ptr %74, align 1, !tbaa !5
%79 = getelementptr inbounds i8, ptr %73, i64 2
%80 = load i8, ptr %76, align 1, !tbaa !5
%81 = getelementptr inbounds i8, ptr %74, i64 2
store i8 %80, ptr %78, align 1, !tbaa !5
%82 = getelementptr inbounds i8, ptr %73, i64 3
%83 = load i8, ptr %79, align 1, !tbaa !5
%84 = getelementptr inbounds i8, ptr %74, i64 3
store i8 %83, ptr %81, align 1, !tbaa !5
%85 = getelementptr inbounds i8, ptr %73, i64 4
%86 = load i8, ptr %82, align 1, !tbaa !5
%87 = getelementptr inbounds i8, ptr %74, i64 4
store i8 %86, ptr %84, align 1, !tbaa !5
%88 = getelementptr inbounds i8, ptr %73, i64 5
%89 = load i8, ptr %85, align 1, !tbaa !5
%90 = getelementptr inbounds i8, ptr %74, i64 5
store i8 %89, ptr %87, align 1, !tbaa !5
%91 = getelementptr inbounds i8, ptr %73, i64 6
%92 = load i8, ptr %88, align 1, !tbaa !5
%93 = getelementptr inbounds i8, ptr %74, i64 6
store i8 %92, ptr %90, align 1, !tbaa !5
%94 = getelementptr inbounds i8, ptr %73, i64 7
%95 = load i8, ptr %91, align 1, !tbaa !5
%96 = getelementptr inbounds i8, ptr %74, i64 7
store i8 %95, ptr %93, align 1, !tbaa !5
%97 = add i64 %75, -8
%98 = getelementptr inbounds i8, ptr %73, i64 8
%99 = load i8, ptr %94, align 1, !tbaa !5
%100 = getelementptr inbounds i8, ptr %74, i64 8
store i8 %99, ptr %96, align 1, !tbaa !5
%101 = icmp eq i64 %97, 0
br i1 %101, label %102, label %72, !llvm.loop !15
102: ; preds = %67, %72, %26, %47, %3
ret ptr %0
}
attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9, !10, !11}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!"llvm.loop.isvectorized", i32 1}
!11 = !{!"llvm.loop.unroll.runtime.disable"}
!12 = distinct !{!12, !9, !10, !11}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.unroll.disable"}
!15 = distinct !{!15, !9, !10}
| ; ModuleID = 'AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/string/extr_memcpy.c_memcpy.c'
source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/string/extr_memcpy.c_memcpy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define noundef ptr @memcpy(ptr noundef returned writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %68, label %5
5: ; preds = %3
%6 = ptrtoint ptr %0 to i64
%7 = ptrtoint ptr %1 to i64
%8 = icmp ult i64 %2, 8
%9 = sub i64 %6, %7
%10 = icmp ult i64 %9, 64
%11 = or i1 %8, %10
br i1 %11, label %55, label %12
12: ; preds = %5
%13 = icmp ult i64 %2, 64
br i1 %13, label %40, label %14
14: ; preds = %12
%15 = and i64 %2, -64
br label %16
16: ; preds = %16, %14
%17 = phi i64 [ 0, %14 ], [ %30, %16 ]
%18 = getelementptr i8, ptr %1, i64 %17
%19 = getelementptr i8, ptr %0, i64 %17
%20 = getelementptr i8, ptr %18, i64 16
%21 = getelementptr i8, ptr %18, i64 32
%22 = getelementptr i8, ptr %18, i64 48
%23 = load <16 x i8>, ptr %18, align 1, !tbaa !6
%24 = load <16 x i8>, ptr %20, align 1, !tbaa !6
%25 = load <16 x i8>, ptr %21, align 1, !tbaa !6
%26 = load <16 x i8>, ptr %22, align 1, !tbaa !6
%27 = getelementptr i8, ptr %19, i64 16
%28 = getelementptr i8, ptr %19, i64 32
%29 = getelementptr i8, ptr %19, i64 48
store <16 x i8> %23, ptr %19, align 1, !tbaa !6
store <16 x i8> %24, ptr %27, align 1, !tbaa !6
store <16 x i8> %25, ptr %28, align 1, !tbaa !6
store <16 x i8> %26, ptr %29, align 1, !tbaa !6
%30 = add nuw i64 %17, 64
%31 = icmp eq i64 %30, %15
br i1 %31, label %32, label %16, !llvm.loop !9
32: ; preds = %16
%33 = icmp eq i64 %15, %2
br i1 %33, label %68, label %34
34: ; preds = %32
%35 = and i64 %2, 63
%36 = getelementptr i8, ptr %0, i64 %15
%37 = getelementptr i8, ptr %1, i64 %15
%38 = and i64 %2, 56
%39 = icmp eq i64 %38, 0
br i1 %39, label %55, label %40
40: ; preds = %12, %34
%41 = phi i64 [ %15, %34 ], [ 0, %12 ]
%42 = and i64 %2, -8
%43 = getelementptr i8, ptr %1, i64 %42
%44 = getelementptr i8, ptr %0, i64 %42
%45 = and i64 %2, 7
br label %46
46: ; preds = %46, %40
%47 = phi i64 [ %41, %40 ], [ %51, %46 ]
%48 = getelementptr i8, ptr %1, i64 %47
%49 = getelementptr i8, ptr %0, i64 %47
%50 = load <8 x i8>, ptr %48, align 1, !tbaa !6
store <8 x i8> %50, ptr %49, align 1, !tbaa !6
%51 = add nuw i64 %47, 8
%52 = icmp eq i64 %51, %42
br i1 %52, label %53, label %46, !llvm.loop !13
53: ; preds = %46
%54 = icmp eq i64 %42, %2
br i1 %54, label %68, label %55
55: ; preds = %53, %5, %34
%56 = phi ptr [ %1, %5 ], [ %37, %34 ], [ %43, %53 ]
%57 = phi ptr [ %0, %5 ], [ %36, %34 ], [ %44, %53 ]
%58 = phi i64 [ %2, %5 ], [ %35, %34 ], [ %45, %53 ]
br label %59
59: ; preds = %55, %59
%60 = phi ptr [ %64, %59 ], [ %56, %55 ]
%61 = phi ptr [ %66, %59 ], [ %57, %55 ]
%62 = phi i64 [ %63, %59 ], [ %58, %55 ]
%63 = add i64 %62, -1
%64 = getelementptr inbounds i8, ptr %60, i64 1
%65 = load i8, ptr %60, align 1, !tbaa !6
%66 = getelementptr inbounds i8, ptr %61, i64 1
store i8 %65, ptr %61, align 1, !tbaa !6
%67 = icmp eq i64 %63, 0
br i1 %67, label %68, label %59, !llvm.loop !14
68: ; preds = %59, %32, %53, %3
ret ptr %0
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !11, !12}
!14 = distinct !{!14, !10, !11}
| How-to-Make-a-Computer-Operating-System_src_sdk_src_libc_src_string_extr_memcpy.c_memcpy |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_atkbd.c_atkbd_set_keycode_table.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_atkbd.c_atkbd_set_keycode_table.c"
target datalayout = "e-m:e-p270:32:32-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.atkbd = type { i32, i32, ptr, i64, i64 }
%struct.TYPE_3__ = type { i32, ptr }
@ATKBD_KEYMAP_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@atkbd_unxlate_table = dso_local local_unnamed_addr global ptr null, align 8
@atkbd_set2_keycode = dso_local local_unnamed_addr global ptr null, align 8
@atkbd_scroll_keys = dso_local local_unnamed_addr global ptr null, align 8
@atkbd_set3_keycode = dso_local local_unnamed_addr global ptr null, align 8
@ATKBD_RET_HANGEUL = dso_local local_unnamed_addr global i32 0, align 4
@KEY_HANGEUL = dso_local local_unnamed_addr global ptr null, align 8
@ATKBD_RET_HANJA = dso_local local_unnamed_addr global i32 0, align 4
@KEY_HANJA = dso_local local_unnamed_addr global ptr null, align 8
@atkbd_platform_fixup_data = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @atkbd_set_keycode_table], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @atkbd_set_keycode_table(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.atkbd, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 8) #2
%5 = getelementptr inbounds %struct.atkbd, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = load i32, ptr @ATKBD_KEYMAP_SIZE, align 4, !tbaa !13
%8 = tail call i32 @bitmap_zero(i32 noundef %6, i32 noundef %7) #2
%9 = getelementptr inbounds %struct.atkbd, ptr %0, i64 0, i32 4
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = icmp eq i64 %10, 0
br i1 %11, label %60, label %12
12: ; preds = %1
%13 = getelementptr inbounds %struct.atkbd, ptr %0, i64 0, i32 3
br label %14
14: ; preds = %12, %57
%15 = phi i64 [ 0, %12 ], [ %58, %57 ]
%16 = load ptr, ptr @atkbd_unxlate_table, align 8, !tbaa !15
%17 = getelementptr inbounds i32, ptr %16, i64 %15
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = load ptr, ptr @atkbd_set2_keycode, align 8, !tbaa !15
%20 = zext i32 %18 to i64
%21 = getelementptr inbounds ptr, ptr %19, i64 %20
%22 = load ptr, ptr %21, align 8, !tbaa !15
%23 = load ptr, ptr %2, align 8, !tbaa !5
%24 = getelementptr inbounds ptr, ptr %23, i64 %15
store ptr %22, ptr %24, align 8, !tbaa !15
%25 = load ptr, ptr @atkbd_set2_keycode, align 8, !tbaa !15
%26 = or i32 %18, 128
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8, !tbaa !15
%30 = load ptr, ptr %2, align 8, !tbaa !5
%31 = or disjoint i64 %15, 128
%32 = getelementptr inbounds ptr, ptr %30, i64 %31
store ptr %29, ptr %32, align 8, !tbaa !15
%33 = load i64, ptr %13, align 8, !tbaa !16
%34 = icmp eq i64 %33, 0
br i1 %34, label %57, label %35
35: ; preds = %14
%36 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !15
%37 = tail call i32 @ARRAY_SIZE(ptr noundef %36) #2
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %57
39: ; preds = %35, %51
%40 = phi i64 [ %53, %51 ], [ 0, %35 ]
%41 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !15
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i64 %40
%43 = load i32, ptr %42, align 8, !tbaa !17
%44 = icmp eq i32 %26, %43
br i1 %44, label %45, label %51
45: ; preds = %39
%46 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i64 %40, i32 1
%47 = load ptr, ptr %46, align 8, !tbaa !19
%48 = load ptr, ptr %2, align 8, !tbaa !5
%49 = getelementptr inbounds ptr, ptr %48, i64 %31
store ptr %47, ptr %49, align 8, !tbaa !15
%50 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !15
br label %51
51: ; preds = %39, %45
%52 = phi ptr [ %41, %39 ], [ %50, %45 ]
%53 = add nuw nsw i64 %40, 1
%54 = tail call i32 @ARRAY_SIZE(ptr noundef %52) #2
%55 = sext i32 %54 to i64
%56 = icmp slt i64 %53, %55
br i1 %56, label %39, label %57, !llvm.loop !20
57: ; preds = %51, %35, %14
%58 = add nuw nsw i64 %15, 1
%59 = icmp eq i64 %58, 128
br i1 %59, label %92, label %14, !llvm.loop !22
60: ; preds = %1
%61 = load i32, ptr %0, align 8, !tbaa !23
%62 = icmp eq i32 %61, 3
%63 = load ptr, ptr %2, align 8, !tbaa !5
br i1 %62, label %64, label %67
64: ; preds = %60
%65 = load ptr, ptr @atkbd_set3_keycode, align 8, !tbaa !15
%66 = tail call i32 @memcpy(ptr noundef %63, ptr noundef %65, i32 noundef 8) #2
br label %92
67: ; preds = %60
%68 = load ptr, ptr @atkbd_set2_keycode, align 8, !tbaa !15
%69 = tail call i32 @memcpy(ptr noundef %63, ptr noundef %68, i32 noundef 8) #2
%70 = getelementptr inbounds %struct.atkbd, ptr %0, i64 0, i32 3
%71 = load i64, ptr %70, align 8, !tbaa !16
%72 = icmp eq i64 %71, 0
br i1 %72, label %92, label %73
73: ; preds = %67
%74 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !15
%75 = tail call i32 @ARRAY_SIZE(ptr noundef %74) #2
%76 = icmp sgt i32 %75, 0
br i1 %76, label %77, label %92
77: ; preds = %73, %77
%78 = phi i64 [ %87, %77 ], [ 0, %73 ]
%79 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !15
%80 = getelementptr inbounds %struct.TYPE_3__, ptr %79, i64 %78
%81 = load i32, ptr %80, align 8, !tbaa !17
%82 = getelementptr inbounds %struct.TYPE_3__, ptr %79, i64 %78, i32 1
%83 = load ptr, ptr %82, align 8, !tbaa !19
%84 = load ptr, ptr %2, align 8, !tbaa !5
%85 = zext i32 %81 to i64
%86 = getelementptr inbounds ptr, ptr %84, i64 %85
store ptr %83, ptr %86, align 8, !tbaa !15
%87 = add nuw nsw i64 %78, 1
%88 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !15
%89 = tail call i32 @ARRAY_SIZE(ptr noundef %88) #2
%90 = sext i32 %89 to i64
%91 = icmp slt i64 %87, %90
br i1 %91, label %77, label %92, !llvm.loop !24
92: ; preds = %57, %77, %73, %64, %67
%93 = load i32, ptr @ATKBD_RET_HANGEUL, align 4, !tbaa !13
%94 = tail call i32 @atkbd_compat_scancode(ptr noundef %0, i32 noundef %93) #2
%95 = load ptr, ptr @KEY_HANGEUL, align 8, !tbaa !15
%96 = load ptr, ptr %2, align 8, !tbaa !5
%97 = zext i32 %94 to i64
%98 = getelementptr inbounds ptr, ptr %96, i64 %97
store ptr %95, ptr %98, align 8, !tbaa !15
%99 = load i32, ptr %5, align 4, !tbaa !12
%100 = tail call i32 @__set_bit(i32 noundef %94, i32 noundef %99) #2
%101 = load i32, ptr @ATKBD_RET_HANJA, align 4, !tbaa !13
%102 = tail call i32 @atkbd_compat_scancode(ptr noundef %0, i32 noundef %101) #2
%103 = load ptr, ptr @KEY_HANJA, align 8, !tbaa !15
%104 = load ptr, ptr %2, align 8, !tbaa !5
%105 = zext i32 %102 to i64
%106 = getelementptr inbounds ptr, ptr %104, i64 %105
store ptr %103, ptr %106, align 8, !tbaa !15
%107 = load i32, ptr %5, align 4, !tbaa !12
%108 = tail call i32 @__set_bit(i32 noundef %102, i32 noundef %107) #2
%109 = load i32, ptr @atkbd_platform_fixup_data, align 4, !tbaa !13
%110 = tail call i32 @atkbd_platform_fixup(ptr noundef %0, i32 noundef %109) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bitmap_zero(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atkbd_compat_scancode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atkbd_platform_fixup(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"atkbd", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !11, 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 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !11, i64 24}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !11, i64 16}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!19 = !{!18, !10, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!6, !7, i64 0}
!24 = distinct !{!24, !21}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_atkbd.c_atkbd_set_keycode_table.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/input/keyboard/extr_atkbd.c_atkbd_set_keycode_table.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, ptr }
@ATKBD_KEYMAP_SIZE = common local_unnamed_addr global i32 0, align 4
@atkbd_unxlate_table = common local_unnamed_addr global ptr null, align 8
@atkbd_set2_keycode = common local_unnamed_addr global ptr null, align 8
@atkbd_scroll_keys = common local_unnamed_addr global ptr null, align 8
@atkbd_set3_keycode = common local_unnamed_addr global ptr null, align 8
@ATKBD_RET_HANGEUL = common local_unnamed_addr global i32 0, align 4
@KEY_HANGEUL = common local_unnamed_addr global ptr null, align 8
@ATKBD_RET_HANJA = common local_unnamed_addr global i32 0, align 4
@KEY_HANJA = common local_unnamed_addr global ptr null, align 8
@atkbd_platform_fixup_data = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @atkbd_set_keycode_table], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @atkbd_set_keycode_table(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 8) #2
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = load i32, ptr @ATKBD_KEYMAP_SIZE, align 4, !tbaa !14
%8 = tail call i32 @bitmap_zero(i32 noundef %6, i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 24
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = icmp eq i64 %10, 0
br i1 %11, label %60, label %12
12: ; preds = %1
%13 = getelementptr inbounds i8, ptr %0, i64 16
br label %14
14: ; preds = %12, %57
%15 = phi i64 [ 0, %12 ], [ %58, %57 ]
%16 = load ptr, ptr @atkbd_unxlate_table, align 8, !tbaa !16
%17 = getelementptr inbounds i32, ptr %16, i64 %15
%18 = load i32, ptr %17, align 4, !tbaa !14
%19 = load ptr, ptr @atkbd_set2_keycode, align 8, !tbaa !16
%20 = zext i32 %18 to i64
%21 = getelementptr inbounds ptr, ptr %19, i64 %20
%22 = load ptr, ptr %21, align 8, !tbaa !16
%23 = load ptr, ptr %2, align 8, !tbaa !6
%24 = getelementptr inbounds ptr, ptr %23, i64 %15
store ptr %22, ptr %24, align 8, !tbaa !16
%25 = load ptr, ptr @atkbd_set2_keycode, align 8, !tbaa !16
%26 = or i32 %18, 128
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8, !tbaa !16
%30 = load ptr, ptr %2, align 8, !tbaa !6
%31 = or disjoint i64 %15, 128
%32 = getelementptr inbounds ptr, ptr %30, i64 %31
store ptr %29, ptr %32, align 8, !tbaa !16
%33 = load i64, ptr %13, align 8, !tbaa !17
%34 = icmp eq i64 %33, 0
br i1 %34, label %57, label %35
35: ; preds = %14
%36 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !16
%37 = tail call i32 @ARRAY_SIZE(ptr noundef %36) #2
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %57
39: ; preds = %35, %51
%40 = phi i64 [ %53, %51 ], [ 0, %35 ]
%41 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !16
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i64 %40
%43 = load i32, ptr %42, align 8, !tbaa !18
%44 = icmp eq i32 %26, %43
br i1 %44, label %45, label %51
45: ; preds = %39
%46 = getelementptr inbounds i8, ptr %42, i64 8
%47 = load ptr, ptr %46, align 8, !tbaa !20
%48 = load ptr, ptr %2, align 8, !tbaa !6
%49 = getelementptr inbounds ptr, ptr %48, i64 %31
store ptr %47, ptr %49, align 8, !tbaa !16
%50 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !16
br label %51
51: ; preds = %39, %45
%52 = phi ptr [ %41, %39 ], [ %50, %45 ]
%53 = add nuw nsw i64 %40, 1
%54 = tail call i32 @ARRAY_SIZE(ptr noundef %52) #2
%55 = sext i32 %54 to i64
%56 = icmp slt i64 %53, %55
br i1 %56, label %39, label %57, !llvm.loop !21
57: ; preds = %51, %35, %14
%58 = add nuw nsw i64 %15, 1
%59 = icmp eq i64 %58, 128
br i1 %59, label %92, label %14, !llvm.loop !23
60: ; preds = %1
%61 = load i32, ptr %0, align 8, !tbaa !24
%62 = icmp eq i32 %61, 3
%63 = load ptr, ptr %2, align 8, !tbaa !6
br i1 %62, label %64, label %67
64: ; preds = %60
%65 = load ptr, ptr @atkbd_set3_keycode, align 8, !tbaa !16
%66 = tail call i32 @memcpy(ptr noundef %63, ptr noundef %65, i32 noundef 8) #2
br label %92
67: ; preds = %60
%68 = load ptr, ptr @atkbd_set2_keycode, align 8, !tbaa !16
%69 = tail call i32 @memcpy(ptr noundef %63, ptr noundef %68, i32 noundef 8) #2
%70 = getelementptr inbounds i8, ptr %0, i64 16
%71 = load i64, ptr %70, align 8, !tbaa !17
%72 = icmp eq i64 %71, 0
br i1 %72, label %92, label %73
73: ; preds = %67
%74 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !16
%75 = tail call i32 @ARRAY_SIZE(ptr noundef %74) #2
%76 = icmp sgt i32 %75, 0
br i1 %76, label %77, label %92
77: ; preds = %73, %77
%78 = phi i64 [ %87, %77 ], [ 0, %73 ]
%79 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !16
%80 = getelementptr inbounds %struct.TYPE_3__, ptr %79, i64 %78
%81 = load i32, ptr %80, align 8, !tbaa !18
%82 = getelementptr inbounds i8, ptr %80, i64 8
%83 = load ptr, ptr %82, align 8, !tbaa !20
%84 = load ptr, ptr %2, align 8, !tbaa !6
%85 = zext i32 %81 to i64
%86 = getelementptr inbounds ptr, ptr %84, i64 %85
store ptr %83, ptr %86, align 8, !tbaa !16
%87 = add nuw nsw i64 %78, 1
%88 = load ptr, ptr @atkbd_scroll_keys, align 8, !tbaa !16
%89 = tail call i32 @ARRAY_SIZE(ptr noundef %88) #2
%90 = sext i32 %89 to i64
%91 = icmp slt i64 %87, %90
br i1 %91, label %77, label %92, !llvm.loop !25
92: ; preds = %57, %77, %73, %64, %67
%93 = load i32, ptr @ATKBD_RET_HANGEUL, align 4, !tbaa !14
%94 = tail call i32 @atkbd_compat_scancode(ptr noundef %0, i32 noundef %93) #2
%95 = load ptr, ptr @KEY_HANGEUL, align 8, !tbaa !16
%96 = load ptr, ptr %2, align 8, !tbaa !6
%97 = zext i32 %94 to i64
%98 = getelementptr inbounds ptr, ptr %96, i64 %97
store ptr %95, ptr %98, align 8, !tbaa !16
%99 = load i32, ptr %5, align 4, !tbaa !13
%100 = tail call i32 @__set_bit(i32 noundef %94, i32 noundef %99) #2
%101 = load i32, ptr @ATKBD_RET_HANJA, align 4, !tbaa !14
%102 = tail call i32 @atkbd_compat_scancode(ptr noundef %0, i32 noundef %101) #2
%103 = load ptr, ptr @KEY_HANJA, align 8, !tbaa !16
%104 = load ptr, ptr %2, align 8, !tbaa !6
%105 = zext i32 %102 to i64
%106 = getelementptr inbounds ptr, ptr %104, i64 %105
store ptr %103, ptr %106, align 8, !tbaa !16
%107 = load i32, ptr %5, align 4, !tbaa !13
%108 = tail call i32 @__set_bit(i32 noundef %102, i32 noundef %107) #2
%109 = load i32, ptr @atkbd_platform_fixup_data, align 4, !tbaa !14
%110 = tail call i32 @atkbd_platform_fixup(ptr noundef %0, i32 noundef %109) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bitmap_zero(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atkbd_compat_scancode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atkbd_platform_fixup(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"atkbd", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !12, 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 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !12, i64 24}
!16 = !{!11, !11, i64 0}
!17 = !{!7, !12, i64 16}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!20 = !{!19, !11, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!7, !8, i64 0}
!25 = distinct !{!25, !22}
| fastsocket_kernel_drivers_input_keyboard_extr_atkbd.c_atkbd_set_keycode_table |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_mcast.c_igmp6_group_queried.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_mcast.c_igmp6_group_queried.c"
target datalayout = "e-m:e-p270:32:32-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.ifmcaddr6 = type { i32, i32, %struct.TYPE_3__, i32 }
%struct.TYPE_3__ = type { ptr }
@IPV6_ADDR_SCOPE_LINKLOCAL = dso_local local_unnamed_addr global i64 0, align 8
@jiffies = dso_local local_unnamed_addr global ptr null, align 8
@MAF_TIMER_RUNNING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @igmp6_group_queried], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @igmp6_group_queried(ptr noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds %struct.ifmcaddr6, ptr %0, i64 0, i32 3
%4 = tail call i64 @ipv6_addr_is_ll_all_nodes(ptr noundef nonnull %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %41
6: ; preds = %2
%7 = tail call i64 @IPV6_ADDR_MC_SCOPE(ptr noundef nonnull %3) #2
%8 = load i64, ptr @IPV6_ADDR_SCOPE_LINKLOCAL, align 8, !tbaa !5
%9 = icmp slt i64 %7, %8
br i1 %9, label %41, label %10
10: ; preds = %6
%11 = getelementptr inbounds %struct.ifmcaddr6, ptr %0, i64 0, i32 2
%12 = tail call i64 @del_timer(ptr noundef nonnull %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %23, label %14
14: ; preds = %10
%15 = getelementptr inbounds %struct.ifmcaddr6, ptr %0, i64 0, i32 1
%16 = tail call i32 @atomic_dec(ptr noundef nonnull %15) #2
%17 = load ptr, ptr %11, align 8, !tbaa !9
%18 = load ptr, ptr @jiffies, align 8, !tbaa !14
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
%22 = icmp ult i64 %21, %1
br i1 %22, label %28, label %23
23: ; preds = %10, %14
%24 = icmp eq i64 %1, 0
br i1 %24, label %28, label %25
25: ; preds = %23
%26 = tail call i64 (...) @net_random() #2
%27 = urem i64 %26, %1
br label %28
28: ; preds = %23, %25, %14
%29 = phi i64 [ %27, %25 ], [ %21, %14 ], [ 1, %23 ]
%30 = load ptr, ptr @jiffies, align 8, !tbaa !14
%31 = getelementptr inbounds i8, ptr %30, i64 %29
store ptr %31, ptr %11, align 8, !tbaa !9
%32 = tail call i32 @mod_timer(ptr noundef nonnull %11, ptr noundef %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = getelementptr inbounds %struct.ifmcaddr6, ptr %0, i64 0, i32 1
%36 = tail call i32 @atomic_inc(ptr noundef nonnull %35) #2
br label %37
37: ; preds = %34, %28
%38 = load i32, ptr @MAF_TIMER_RUNNING, align 4, !tbaa !15
%39 = load i32, ptr %0, align 8, !tbaa !16
%40 = or i32 %39, %38
store i32 %40, ptr %0, align 8, !tbaa !16
br label %41
41: ; preds = %2, %6, %37
ret void
}
declare i64 @ipv6_addr_is_ll_all_nodes(ptr noundef) local_unnamed_addr #1
declare i64 @IPV6_ADDR_MC_SCOPE(ptr noundef) local_unnamed_addr #1
declare i64 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i64 @net_random(...) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 8}
!10 = !{!"ifmcaddr6", !11, i64 0, !11, i64 4, !12, i64 8, !11, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_mcast.c_igmp6_group_queried.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_mcast.c_igmp6_group_queried.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IPV6_ADDR_SCOPE_LINKLOCAL = common local_unnamed_addr global i64 0, align 8
@jiffies = common local_unnamed_addr global ptr null, align 8
@MAF_TIMER_RUNNING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @igmp6_group_queried], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @igmp6_group_queried(ptr noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = tail call i64 @ipv6_addr_is_ll_all_nodes(ptr noundef nonnull %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %41
6: ; preds = %2
%7 = tail call i64 @IPV6_ADDR_MC_SCOPE(ptr noundef nonnull %3) #2
%8 = load i64, ptr @IPV6_ADDR_SCOPE_LINKLOCAL, align 8, !tbaa !6
%9 = icmp slt i64 %7, %8
br i1 %9, label %41, label %10
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = tail call i64 @del_timer(ptr noundef nonnull %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %23, label %14
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %0, i64 4
%16 = tail call i32 @atomic_dec(ptr noundef nonnull %15) #2
%17 = load ptr, ptr %11, align 8, !tbaa !10
%18 = load ptr, ptr @jiffies, align 8, !tbaa !15
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
%22 = icmp ult i64 %21, %1
br i1 %22, label %28, label %23
23: ; preds = %10, %14
%24 = icmp eq i64 %1, 0
br i1 %24, label %28, label %25
25: ; preds = %23
%26 = tail call i64 @net_random() #2
%27 = urem i64 %26, %1
br label %28
28: ; preds = %23, %25, %14
%29 = phi i64 [ %27, %25 ], [ %21, %14 ], [ 1, %23 ]
%30 = load ptr, ptr @jiffies, align 8, !tbaa !15
%31 = getelementptr inbounds i8, ptr %30, i64 %29
store ptr %31, ptr %11, align 8, !tbaa !10
%32 = tail call i32 @mod_timer(ptr noundef nonnull %11, ptr noundef %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = getelementptr inbounds i8, ptr %0, i64 4
%36 = tail call i32 @atomic_inc(ptr noundef nonnull %35) #2
br label %37
37: ; preds = %34, %28
%38 = load i32, ptr @MAF_TIMER_RUNNING, align 4, !tbaa !16
%39 = load i32, ptr %0, align 8, !tbaa !17
%40 = or i32 %39, %38
store i32 %40, ptr %0, align 8, !tbaa !17
br label %41
41: ; preds = %2, %6, %37
ret void
}
declare i64 @ipv6_addr_is_ll_all_nodes(ptr noundef) local_unnamed_addr #1
declare i64 @IPV6_ADDR_MC_SCOPE(ptr noundef) local_unnamed_addr #1
declare i64 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i64 @net_random(...) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 8}
!11 = !{!"ifmcaddr6", !12, i64 0, !12, i64 4, !13, i64 8, !12, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!11, !12, i64 0}
| fastsocket_kernel_net_ipv6_extr_mcast.c_igmp6_group_queried |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/omap3isp/extr_isp.c_omap3isp_get.c'
source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_isp.c_omap3isp_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @omap3isp_get(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @__omap3isp_get(ptr noundef %0, i32 noundef 1) #2
ret ptr %2
}
declare ptr @__omap3isp_get(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/omap3isp/extr_isp.c_omap3isp_get.c'
source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_isp.c_omap3isp_get.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 @omap3isp_get(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @__omap3isp_get(ptr noundef %0, i32 noundef 1) #2
ret ptr %2
}
declare ptr @__omap3isp_get(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_media_platform_omap3isp_extr_isp.c_omap3isp_get |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_dm.c_rtl92ee_dm_init_rate_adaptive_mask.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_dm.c_rtl92ee_dm_init_rate_adaptive_mask.c"
target datalayout = "e-m:e-p270:32:32-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.rtl_priv = type { %struct.TYPE_2__, %struct.rate_adaptive }
%struct.TYPE_2__ = type { i64, i32 }
%struct.rate_adaptive = type { i32, i32, i32, i32, ptr, ptr }
@DM_RATR_STA_INIT = dso_local local_unnamed_addr global ptr null, align 8
@DM_TYPE_BYDRIVER = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @rtl92ee_dm_init_rate_adaptive_mask(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @rtl_priv(ptr noundef %0) #2
%3 = load ptr, ptr @DM_RATR_STA_INIT, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.rtl_priv, ptr %2, i64 0, i32 1, i32 5
store ptr %3, ptr %4, align 8, !tbaa !9
%5 = getelementptr inbounds %struct.rtl_priv, ptr %2, i64 0, i32 1, i32 4
store ptr %3, ptr %5, align 8, !tbaa !12
%6 = load i64, ptr %2, align 8, !tbaa !13
%7 = load i64, ptr @DM_TYPE_BYDRIVER, align 8, !tbaa !17
%8 = icmp eq i64 %6, %7
%9 = zext i1 %8 to i32
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
store i32 %9, ptr %10, align 8
%11 = getelementptr inbounds %struct.rtl_priv, ptr %2, i64 0, i32 1
store <4 x i32> <i32 35, i32 0, i32 50, i32 20>, ptr %11, align 8, !tbaa !18
ret void
}
declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 24}
!10 = !{!"rate_adaptive", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 16}
!13 = !{!14, !16, i64 0}
!14 = !{!"rtl_priv", !15, i64 0, !10, i64 16}
!15 = !{!"TYPE_2__", !16, i64 0, !11, i64 8}
!16 = !{!"long", !7, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_dm.c_rtl92ee_dm_init_rate_adaptive_mask.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_dm.c_rtl92ee_dm_init_rate_adaptive_mask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DM_RATR_STA_INIT = common local_unnamed_addr global ptr null, align 8
@DM_TYPE_BYDRIVER = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @rtl92ee_dm_init_rate_adaptive_mask(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @rtl_priv(ptr noundef %0) #2
%3 = load ptr, ptr @DM_RATR_STA_INIT, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %2, i64 40
store ptr %3, ptr %4, align 8, !tbaa !10
%5 = getelementptr inbounds i8, ptr %2, i64 32
store ptr %3, ptr %5, align 8, !tbaa !13
%6 = load i64, ptr %2, align 8, !tbaa !14
%7 = load i64, ptr @DM_TYPE_BYDRIVER, align 8, !tbaa !18
%8 = icmp eq i64 %6, %7
%9 = zext i1 %8 to i32
%10 = getelementptr inbounds i8, ptr %2, i64 8
store i32 %9, ptr %10, align 8
%11 = getelementptr inbounds i8, ptr %2, i64 16
store <4 x i32> <i32 35, i32 0, i32 50, i32 20>, ptr %11, align 8, !tbaa !19
ret void
}
declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 24}
!11 = !{!"rate_adaptive", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !7, i64 16, !7, i64 24}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 16}
!14 = !{!15, !17, i64 0}
!15 = !{!"rtl_priv", !16, i64 0, !11, i64 16}
!16 = !{!"TYPE_2__", !17, i64 0, !12, i64 8}
!17 = !{!"long", !8, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{!12, !12, i64 0}
| linux_drivers_net_wireless_realtek_rtlwifi_rtl8192ee_extr_dm.c_rtl92ee_dm_init_rate_adaptive_mask |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_cmd_parser.c_intel_engine_cleanup_cmd_parser.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_cmd_parser.c_intel_engine_cleanup_cmd_parser.c"
target datalayout = "e-m:e-p270:32:32-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 @intel_engine_cleanup_cmd_parser(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @intel_engine_using_cmd_parser(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @fini_hash_table(ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
ret void
}
declare i32 @intel_engine_using_cmd_parser(ptr noundef) local_unnamed_addr #1
declare i32 @fini_hash_table(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_cmd_parser.c_intel_engine_cleanup_cmd_parser.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_cmd_parser.c_intel_engine_cleanup_cmd_parser.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 @intel_engine_cleanup_cmd_parser(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @intel_engine_using_cmd_parser(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @fini_hash_table(ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
ret void
}
declare i32 @intel_engine_using_cmd_parser(ptr noundef) local_unnamed_addr #1
declare i32 @fini_hash_table(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_i915_extr_i915_cmd_parser.c_intel_engine_cleanup_cmd_parser |
; ModuleID = 'AnghaBench/linux/fs/extr_dcache.c_shrink_dcache_parent.c'
source_filename = "AnghaBench/linux/fs/extr_dcache.c_shrink_dcache_parent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.select_data = type { i32, ptr, i32, ptr }
%struct.dentry = type { ptr, i32 }
@select_collect = dso_local local_unnamed_addr global i32 0, align 4
@select_collect2 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @shrink_dcache_parent(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.select_data, align 8
%3 = getelementptr inbounds %struct.select_data, ptr %2, i64 0, i32 3
%4 = getelementptr inbounds %struct.select_data, ptr %2, i64 0, i32 2
%5 = getelementptr inbounds %struct.select_data, ptr %2, i64 0, i32 1
br label %6
6: ; preds = %48, %1
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 0, i64 24, i1 false)
store ptr %0, ptr %3, align 8, !tbaa !5
%7 = call i32 @INIT_LIST_HEAD(ptr noundef nonnull %2) #4
%8 = load i32, ptr @select_collect, align 4, !tbaa !11
%9 = call i32 @d_walk(ptr noundef %0, ptr noundef nonnull %2, i32 noundef %8) #4
%10 = call i32 @list_empty(ptr noundef nonnull %2) #4
%11 = icmp eq i32 %10, 0
br i1 %11, label %46, label %12
12: ; preds = %6
%13 = call i32 (...) @cond_resched() #4
%14 = load i32, ptr %4, align 8, !tbaa !12
%15 = icmp eq i32 %14, 0
br i1 %15, label %49, label %16
16: ; preds = %12
store ptr null, ptr %5, align 8, !tbaa !13
%17 = load i32, ptr @select_collect2, align 4, !tbaa !11
%18 = call i32 @d_walk(ptr noundef %0, ptr noundef nonnull %2, i32 noundef %17) #4
%19 = load ptr, ptr %5, align 8, !tbaa !13
%20 = icmp eq ptr %19, null
br i1 %20, label %43, label %21
21: ; preds = %16
%22 = getelementptr inbounds %struct.dentry, ptr %19, i64 0, i32 1
%23 = call i32 @spin_lock(ptr noundef nonnull %22) #4
%24 = load ptr, ptr %5, align 8, !tbaa !13
%25 = call i32 @shrink_lock_dentry(ptr noundef %24) #4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %21
%28 = load ptr, ptr %5, align 8, !tbaa !13
%29 = getelementptr inbounds %struct.dentry, ptr %28, i64 0, i32 1
%30 = call i32 @spin_unlock(ptr noundef nonnull %29) #4
%31 = call i32 (...) @rcu_read_unlock() #4
br label %43
32: ; preds = %21
%33 = call i32 (...) @rcu_read_unlock() #4
%34 = load ptr, ptr %5, align 8, !tbaa !13
%35 = load ptr, ptr %34, align 8, !tbaa !14
%36 = icmp eq ptr %35, %34
br i1 %36, label %40, label %37
37: ; preds = %32
%38 = call i32 @__dput_to_list(ptr noundef %35, ptr noundef nonnull %2) #4
%39 = load ptr, ptr %5, align 8, !tbaa !13
br label %40
40: ; preds = %37, %32
%41 = phi ptr [ %39, %37 ], [ %34, %32 ]
%42 = call i32 @__dentry_kill(ptr noundef %41) #4
br label %43
43: ; preds = %27, %40, %16
%44 = call i32 @list_empty(ptr noundef nonnull %2) #4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %43, %6
%47 = call i32 @shrink_dentry_list(ptr noundef nonnull %2) #4
br label %48
48: ; preds = %46, %43
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
br label %6
49: ; preds = %12
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #3
declare i32 @d_walk(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @list_empty(ptr noundef) local_unnamed_addr #3
declare i32 @shrink_dentry_list(ptr noundef) local_unnamed_addr #3
declare i32 @cond_resched(...) local_unnamed_addr #3
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #3
declare i32 @shrink_lock_dentry(ptr noundef) local_unnamed_addr #3
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #3
declare i32 @rcu_read_unlock(...) local_unnamed_addr #3
declare i32 @__dput_to_list(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @__dentry_kill(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"select_data", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 16}
!13 = !{!6, !10, i64 8}
!14 = !{!15, !10, i64 0}
!15 = !{!"dentry", !10, i64 0, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/fs/extr_dcache.c_shrink_dcache_parent.c'
source_filename = "AnghaBench/linux/fs/extr_dcache.c_shrink_dcache_parent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.select_data = type { i32, ptr, i32, ptr }
@select_collect = common local_unnamed_addr global i32 0, align 4
@select_collect2 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @shrink_dcache_parent(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.select_data, align 8
%3 = getelementptr inbounds i8, ptr %2, i64 24
%4 = getelementptr inbounds i8, ptr %2, i64 16
%5 = getelementptr inbounds i8, ptr %2, i64 8
br label %6
6: ; preds = %48, %1
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 0, i64 24, i1 false)
store ptr %0, ptr %3, align 8, !tbaa !6
%7 = call i32 @INIT_LIST_HEAD(ptr noundef nonnull %2) #4
%8 = load i32, ptr @select_collect, align 4, !tbaa !12
%9 = call i32 @d_walk(ptr noundef %0, ptr noundef nonnull %2, i32 noundef %8) #4
%10 = call i32 @list_empty(ptr noundef nonnull %2) #4
%11 = icmp eq i32 %10, 0
br i1 %11, label %46, label %12
12: ; preds = %6
%13 = call i32 @cond_resched() #4
%14 = load i32, ptr %4, align 8, !tbaa !13
%15 = icmp eq i32 %14, 0
br i1 %15, label %49, label %16
16: ; preds = %12
store ptr null, ptr %5, align 8, !tbaa !14
%17 = load i32, ptr @select_collect2, align 4, !tbaa !12
%18 = call i32 @d_walk(ptr noundef %0, ptr noundef nonnull %2, i32 noundef %17) #4
%19 = load ptr, ptr %5, align 8, !tbaa !14
%20 = icmp eq ptr %19, null
br i1 %20, label %43, label %21
21: ; preds = %16
%22 = getelementptr inbounds i8, ptr %19, i64 8
%23 = call i32 @spin_lock(ptr noundef nonnull %22) #4
%24 = load ptr, ptr %5, align 8, !tbaa !14
%25 = call i32 @shrink_lock_dentry(ptr noundef %24) #4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %21
%28 = load ptr, ptr %5, align 8, !tbaa !14
%29 = getelementptr inbounds i8, ptr %28, i64 8
%30 = call i32 @spin_unlock(ptr noundef nonnull %29) #4
%31 = call i32 @rcu_read_unlock() #4
br label %43
32: ; preds = %21
%33 = call i32 @rcu_read_unlock() #4
%34 = load ptr, ptr %5, align 8, !tbaa !14
%35 = load ptr, ptr %34, align 8, !tbaa !15
%36 = icmp eq ptr %35, %34
br i1 %36, label %40, label %37
37: ; preds = %32
%38 = call i32 @__dput_to_list(ptr noundef %35, ptr noundef nonnull %2) #4
%39 = load ptr, ptr %5, align 8, !tbaa !14
br label %40
40: ; preds = %37, %32
%41 = phi ptr [ %39, %37 ], [ %34, %32 ]
%42 = call i32 @__dentry_kill(ptr noundef %41) #4
br label %43
43: ; preds = %27, %40, %16
%44 = call i32 @list_empty(ptr noundef nonnull %2) #4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %43, %6
%47 = call i32 @shrink_dentry_list(ptr noundef nonnull %2) #4
br label %48
48: ; preds = %46, %43
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
br label %6
49: ; preds = %12
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #3
declare i32 @d_walk(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @list_empty(ptr noundef) local_unnamed_addr #3
declare i32 @shrink_dentry_list(ptr noundef) local_unnamed_addr #3
declare i32 @cond_resched(...) local_unnamed_addr #3
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #3
declare i32 @shrink_lock_dentry(ptr noundef) local_unnamed_addr #3
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #3
declare i32 @rcu_read_unlock(...) local_unnamed_addr #3
declare i32 @__dput_to_list(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @__dentry_kill(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"select_data", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 16}
!14 = !{!7, !11, i64 8}
!15 = !{!16, !11, i64 0}
!16 = !{!"dentry", !11, i64 0, !8, i64 8}
| linux_fs_extr_dcache.c_shrink_dcache_parent |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sctp/extr_socket.c_sctp_wspace.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sctp/extr_socket.c_sctp_wspace.c"
target datalayout = "e-m:e-p270:32:32-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.sctp_association = type { i32, %struct.TYPE_5__, ptr }
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_7__ = type { i32, i32 }
@SOCK_SNDBUF_LOCK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sctp_wspace], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @sctp_wspace(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.sctp_association, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = load i32, ptr %0, align 8, !tbaa !15
br label %12
8: ; preds = %1
%9 = getelementptr inbounds %struct.sctp_association, ptr %0, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !16
%11 = tail call i32 @sk_wmem_alloc_get(ptr noundef %10) #3
br label %12
12: ; preds = %8, %6
%13 = phi i32 [ %7, %6 ], [ %11, %8 ]
%14 = getelementptr inbounds %struct.sctp_association, ptr %0, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !16
%16 = load i32, ptr %15, align 4, !tbaa !17
%17 = icmp slt i32 %13, %16
br i1 %17, label %27, label %18
18: ; preds = %12
%19 = getelementptr inbounds %struct.TYPE_7__, ptr %15, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !19
%21 = load i32, ptr @SOCK_SNDBUF_LOCK, align 4, !tbaa !20
%22 = and i32 %21, %20
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %18
%25 = tail call i32 @sk_stream_wspace(ptr noundef nonnull %15) #3
%26 = tail call i32 @llvm.smax.i32(i32 %25, i32 0)
br label %29
27: ; preds = %12
%28 = sub nsw i32 %16, %13
br label %29
29: ; preds = %18, %24, %27
%30 = phi i32 [ %26, %24 ], [ %28, %27 ], [ 0, %18 ]
ret i32 %30
}
declare i32 @sk_wmem_alloc_get(ptr noundef) local_unnamed_addr #1
declare i32 @sk_stream_wspace(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
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 = { 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, !11, i64 16}
!6 = !{!"sctp_association", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !11, i64 8}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_7__", !7, i64 0, !7, i64 4}
!19 = !{!18, !7, i64 4}
!20 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/sctp/extr_socket.c_sctp_wspace.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sctp/extr_socket.c_sctp_wspace.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SOCK_SNDBUF_LOCK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sctp_wspace], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @sctp_wspace(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !13
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = load i32, ptr %0, align 8, !tbaa !16
br label %12
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !17
%11 = tail call i32 @sk_wmem_alloc_get(ptr noundef %10) #3
br label %12
12: ; preds = %8, %6
%13 = phi i32 [ %7, %6 ], [ %11, %8 ]
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !17
%16 = load i32, ptr %15, align 4, !tbaa !18
%17 = icmp slt i32 %13, %16
br i1 %17, label %27, label %18
18: ; preds = %12
%19 = getelementptr inbounds i8, ptr %15, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !20
%21 = load i32, ptr @SOCK_SNDBUF_LOCK, align 4, !tbaa !21
%22 = and i32 %21, %20
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %18
%25 = tail call i32 @sk_stream_wspace(ptr noundef nonnull %15) #3
%26 = tail call i32 @llvm.smax.i32(i32 %25, i32 0)
br label %29
27: ; preds = %12
%28 = sub nsw i32 %16, %13
br label %29
29: ; preds = %18, %24, %27
%30 = phi i32 [ %26, %24 ], [ %28, %27 ], [ 0, %18 ]
ret i32 %30
}
declare i32 @sk_wmem_alloc_get(ptr noundef) local_unnamed_addr #1
declare i32 @sk_stream_wspace(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
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 = { 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, !12, i64 16}
!7 = !{!"sctp_association", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !12, i64 8}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_7__", !8, i64 0, !8, i64 4}
!20 = !{!19, !8, i64 4}
!21 = !{!8, !8, i64 0}
| fastsocket_kernel_net_sctp_extr_socket.c_sctp_wspace |
; ModuleID = 'AnghaBench/linux/drivers/misc/cxl/extr_native.c_cxl_invalidate_all_psl9.c'
source_filename = "AnghaBench/linux/drivers/misc/cxl/extr_native.c_cxl_invalidate_all_psl9.c"
target datalayout = "e-m:e-p270:32:32-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 i64 0, align 8
@HZ = dso_local local_unnamed_addr global i64 0, align 8
@CXL_TIMEOUT = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [48 x i8] c"CXL adapter - invalidation of all ERAT entries\0A\00", align 1
@CXL_XSL9_IERAT_IALL = dso_local local_unnamed_addr global i32 0, align 4
@CXL_XSL9_IERAT_INVR = dso_local local_unnamed_addr global i32 0, align 4
@CXL_XSL9_IERAT = dso_local local_unnamed_addr global i32 0, align 4
@CXL_XSL9_IERAT_IINPROG = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [66 x i8] c"WARNING: CXL adapter invalidation of all ERAT entries timed out!\0A\00", align 1
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@cxl_ops = dso_local local_unnamed_addr global ptr null, align 8
@EIO = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @cxl_invalidate_all_psl9(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @jiffies, align 8, !tbaa !5
%3 = load i64, ptr @HZ, align 8, !tbaa !5
%4 = load i64, ptr @CXL_TIMEOUT, align 8, !tbaa !5
%5 = mul i64 %4, %3
%6 = add i64 %5, %2
%7 = tail call i32 @pr_devel(ptr noundef nonnull @.str) #2
%8 = load i32, ptr @CXL_XSL9_IERAT_IALL, align 4, !tbaa !9
%9 = tail call i64 (...) @radix_enabled() #2
%10 = icmp eq i64 %9, 0
%11 = load i32, ptr @CXL_XSL9_IERAT_INVR, align 4
%12 = select i1 %10, i32 0, i32 %11
%13 = or i32 %12, %8
%14 = load i32, ptr @CXL_XSL9_IERAT, align 4, !tbaa !9
%15 = tail call i32 @cxl_p1_write(ptr noundef %0, i32 noundef %14, i32 noundef %13) #2
%16 = load i32, ptr @CXL_XSL9_IERAT, align 4, !tbaa !9
%17 = tail call i32 @cxl_p1_read(ptr noundef %0, i32 noundef %16) #2
%18 = load i32, ptr @CXL_XSL9_IERAT_IINPROG, align 4, !tbaa !9
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %44, label %21
21: ; preds = %1, %37
%22 = load i64, ptr @jiffies, align 8, !tbaa !5
%23 = tail call i64 @time_after_eq(i64 noundef %22, i64 noundef %6) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %29, label %25
25: ; preds = %21
%26 = tail call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%27 = load i32, ptr @EBUSY, align 4, !tbaa !9
%28 = sub nsw i32 0, %27
br label %44
29: ; preds = %21
%30 = load ptr, ptr @cxl_ops, align 8, !tbaa !11
%31 = load ptr, ptr %30, align 8, !tbaa !13
%32 = tail call i32 %31(ptr noundef %0, ptr noundef null) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr @EIO, align 4, !tbaa !9
%36 = sub nsw i32 0, %35
br label %44
37: ; preds = %29
%38 = tail call i32 (...) @cpu_relax() #2
%39 = load i32, ptr @CXL_XSL9_IERAT, align 4, !tbaa !9
%40 = tail call i32 @cxl_p1_read(ptr noundef %0, i32 noundef %39) #2
%41 = load i32, ptr @CXL_XSL9_IERAT_IINPROG, align 4, !tbaa !9
%42 = and i32 %41, %40
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %21, !llvm.loop !15
44: ; preds = %37, %1, %34, %25
%45 = phi i32 [ %28, %25 ], [ %36, %34 ], [ 0, %1 ], [ 0, %37 ]
ret i32 %45
}
declare i32 @pr_devel(ptr noundef) local_unnamed_addr #1
declare i64 @radix_enabled(...) local_unnamed_addr #1
declare i32 @cxl_p1_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxl_p1_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @time_after_eq(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cpu_relax(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/cxl/extr_native.c_cxl_invalidate_all_psl9.c'
source_filename = "AnghaBench/linux/drivers/misc/cxl/extr_native.c_cxl_invalidate_all_psl9.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
@HZ = common local_unnamed_addr global i64 0, align 8
@CXL_TIMEOUT = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [48 x i8] c"CXL adapter - invalidation of all ERAT entries\0A\00", align 1
@CXL_XSL9_IERAT_IALL = common local_unnamed_addr global i32 0, align 4
@CXL_XSL9_IERAT_INVR = common local_unnamed_addr global i32 0, align 4
@CXL_XSL9_IERAT = common local_unnamed_addr global i32 0, align 4
@CXL_XSL9_IERAT_IINPROG = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [66 x i8] c"WARNING: CXL adapter invalidation of all ERAT entries timed out!\0A\00", align 1
@EBUSY = common local_unnamed_addr global i32 0, align 4
@cxl_ops = common local_unnamed_addr global ptr null, align 8
@EIO = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @cxl_invalidate_all_psl9(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @jiffies, align 8, !tbaa !6
%3 = load i64, ptr @HZ, align 8, !tbaa !6
%4 = load i64, ptr @CXL_TIMEOUT, align 8, !tbaa !6
%5 = mul i64 %4, %3
%6 = add i64 %5, %2
%7 = tail call i32 @pr_devel(ptr noundef nonnull @.str) #2
%8 = load i32, ptr @CXL_XSL9_IERAT_IALL, align 4, !tbaa !10
%9 = tail call i64 @radix_enabled() #2
%10 = icmp eq i64 %9, 0
%11 = load i32, ptr @CXL_XSL9_IERAT_INVR, align 4
%12 = select i1 %10, i32 0, i32 %11
%13 = or i32 %12, %8
%14 = load i32, ptr @CXL_XSL9_IERAT, align 4, !tbaa !10
%15 = tail call i32 @cxl_p1_write(ptr noundef %0, i32 noundef %14, i32 noundef %13) #2
%16 = load i32, ptr @CXL_XSL9_IERAT, align 4, !tbaa !10
%17 = tail call i32 @cxl_p1_read(ptr noundef %0, i32 noundef %16) #2
%18 = load i32, ptr @CXL_XSL9_IERAT_IINPROG, align 4, !tbaa !10
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %44, label %21
21: ; preds = %1, %37
%22 = load i64, ptr @jiffies, align 8, !tbaa !6
%23 = tail call i64 @time_after_eq(i64 noundef %22, i64 noundef %6) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %29, label %25
25: ; preds = %21
%26 = tail call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%27 = load i32, ptr @EBUSY, align 4, !tbaa !10
%28 = sub nsw i32 0, %27
br label %44
29: ; preds = %21
%30 = load ptr, ptr @cxl_ops, align 8, !tbaa !12
%31 = load ptr, ptr %30, align 8, !tbaa !14
%32 = tail call i32 %31(ptr noundef %0, ptr noundef null) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load i32, ptr @EIO, align 4, !tbaa !10
%36 = sub nsw i32 0, %35
br label %44
37: ; preds = %29
%38 = tail call i32 @cpu_relax() #2
%39 = load i32, ptr @CXL_XSL9_IERAT, align 4, !tbaa !10
%40 = tail call i32 @cxl_p1_read(ptr noundef %0, i32 noundef %39) #2
%41 = load i32, ptr @CXL_XSL9_IERAT_IINPROG, align 4, !tbaa !10
%42 = and i32 %41, %40
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %21, !llvm.loop !16
44: ; preds = %37, %1, %34, %25
%45 = phi i32 [ %28, %25 ], [ %36, %34 ], [ 0, %1 ], [ 0, %37 ]
ret i32 %45
}
declare i32 @pr_devel(ptr noundef) local_unnamed_addr #1
declare i64 @radix_enabled(...) local_unnamed_addr #1
declare i32 @cxl_p1_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxl_p1_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @time_after_eq(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cpu_relax(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_2__", !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| linux_drivers_misc_cxl_extr_native.c_cxl_invalidate_all_psl9 |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_async.c_ring_init.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_async.c_ring_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_4__ = type { i32, i32 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ring_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ring_init(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 8) #2
%5 = add i32 %2, %1
%6 = tail call i32 @av_fifo_alloc(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
store i32 %6, ptr %7, align 4, !tbaa !5
%8 = icmp eq i32 %6, 0
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%11 = tail call i32 @AVERROR(i32 noundef %10) #2
br label %13
12: ; preds = %3
store i32 %2, ptr %0, align 4, !tbaa !11
br label %13
13: ; preds = %12, %9
%14 = phi i32 [ 0, %12 ], [ %11, %9 ]
ret i32 %14
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_fifo_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(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_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/FFmpeg/libavformat/extr_async.c_ring_init.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_async.c_ring_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ring_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ring_init(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 8) #2
%5 = add i32 %2, %1
%6 = tail call i32 @av_fifo_alloc(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %6, ptr %7, align 4, !tbaa !6
%8 = icmp eq i32 %6, 0
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%11 = tail call i32 @AVERROR(i32 noundef %10) #2
br label %13
12: ; preds = %3
store i32 %2, ptr %0, align 4, !tbaa !12
br label %13
13: ; preds = %12, %9
%14 = phi i32 [ 0, %12 ], [ %11, %9 ]
ret i32 %14
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_fifo_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(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_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}
| FFmpeg_libavformat_extr_async.c_ring_init |
; ModuleID = 'AnghaBench/fastdfs/client/extr_storage_client.c_storage_modify_by_filename.c'
source_filename = "AnghaBench/fastdfs/client/extr_storage_client.c_storage_modify_by_filename.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.stat = type { i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i64 0, align 8
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
@FDFS_UPLOAD_BY_FILE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @storage_modify_by_filename(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = alloca %struct.stat, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = icmp eq ptr %5, null
br i1 %8, label %17, label %9
9: ; preds = %6
%10 = load i8, ptr %5, align 1, !tbaa !5
%11 = icmp eq i8 %10, 0
%12 = icmp eq ptr %4, null
%13 = or i1 %12, %11
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = load i8, ptr %4, align 1, !tbaa !5
%16 = icmp eq i8 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14, %9, %6
%18 = load i32, ptr @EINVAL, align 4, !tbaa !8
br label %40
19: ; preds = %14
%20 = call i64 @stat(ptr noundef %2, ptr noundef nonnull %7) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %29, label %22
22: ; preds = %19
%23 = load i64, ptr @errno, align 8
%24 = icmp eq i64 %23, 0
%25 = load i32, ptr @EPERM, align 4
%26 = zext i32 %25 to i64
%27 = select i1 %24, i64 %26, i64 %23
%28 = trunc i64 %27 to i32
br label %40
29: ; preds = %19
%30 = getelementptr inbounds %struct.stat, ptr %7, i64 0, i32 1
%31 = load i32, ptr %30, align 4, !tbaa !10
%32 = call i32 @S_ISREG(i32 noundef %31) #3
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load i32, ptr @EINVAL, align 4, !tbaa !8
br label %40
36: ; preds = %29
%37 = load i32, ptr @FDFS_UPLOAD_BY_FILE, align 4, !tbaa !8
%38 = load i32, ptr %7, align 4, !tbaa !12
%39 = call i32 @storage_do_modify_file(ptr noundef %0, ptr noundef %1, i32 noundef %37, ptr noundef %2, ptr noundef null, i32 noundef %3, i32 noundef %38, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
br label %40
40: ; preds = %36, %34, %22, %17
%41 = phi i32 [ %18, %17 ], [ %28, %22 ], [ %39, %36 ], [ %35, %34 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @stat(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @S_ISREG(i32 noundef) local_unnamed_addr #2
declare i32 @storage_do_modify_file(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !9, i64 4}
!11 = !{!"stat", !9, i64 0, !9, i64 4}
!12 = !{!11, !9, i64 0}
| ; ModuleID = 'AnghaBench/fastdfs/client/extr_storage_client.c_storage_modify_by_filename.c'
source_filename = "AnghaBench/fastdfs/client/extr_storage_client.c_storage_modify_by_filename.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.stat = type { i32, i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i64 0, align 8
@EPERM = common local_unnamed_addr global i32 0, align 4
@FDFS_UPLOAD_BY_FILE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @storage_modify_by_filename(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = alloca %struct.stat, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = icmp eq ptr %5, null
br i1 %8, label %17, label %9
9: ; preds = %6
%10 = load i8, ptr %5, align 1, !tbaa !6
%11 = icmp eq i8 %10, 0
%12 = icmp eq ptr %4, null
%13 = or i1 %12, %11
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = load i8, ptr %4, align 1, !tbaa !6
%16 = icmp eq i8 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14, %9, %6
%18 = load i32, ptr @EINVAL, align 4, !tbaa !9
br label %40
19: ; preds = %14
%20 = call i64 @stat(ptr noundef %2, ptr noundef nonnull %7) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %29, label %22
22: ; preds = %19
%23 = load i64, ptr @errno, align 8
%24 = icmp eq i64 %23, 0
%25 = load i32, ptr @EPERM, align 4
%26 = zext i32 %25 to i64
%27 = select i1 %24, i64 %26, i64 %23
%28 = trunc i64 %27 to i32
br label %40
29: ; preds = %19
%30 = getelementptr inbounds i8, ptr %7, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !11
%32 = call i32 @S_ISREG(i32 noundef %31) #3
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = load i32, ptr @EINVAL, align 4, !tbaa !9
br label %40
36: ; preds = %29
%37 = load i32, ptr @FDFS_UPLOAD_BY_FILE, align 4, !tbaa !9
%38 = load i32, ptr %7, align 4, !tbaa !13
%39 = call i32 @storage_do_modify_file(ptr noundef %0, ptr noundef %1, i32 noundef %37, ptr noundef %2, ptr noundef null, i32 noundef %3, i32 noundef %38, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
br label %40
40: ; preds = %36, %34, %22, %17
%41 = phi i32 [ %18, %17 ], [ %28, %22 ], [ %39, %36 ], [ %35, %34 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @stat(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @S_ISREG(i32 noundef) local_unnamed_addr #2
declare i32 @storage_do_modify_file(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"stat", !10, i64 0, !10, i64 4}
!13 = !{!12, !10, i64 0}
| fastdfs_client_extr_storage_client.c_storage_modify_by_filename |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/sun4i/extr_sun8i_ui_layer.c_sun8i_ui_layer_atomic_check.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/sun4i/extr_sun8i_ui_layer.c_sun8i_ui_layer_atomic_check.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.drm_plane_state = type { i32, ptr }
%struct.sun8i_ui_layer = type { i32, ptr }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@DRM_PLANE_HELPER_NO_SCALING = dso_local local_unnamed_addr global i32 0, align 4
@SUN8I_UI_SCALER_SCALE_MIN = dso_local local_unnamed_addr global i32 0, align 4
@SUN8I_UI_SCALER_SCALE_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sun8i_ui_layer_atomic_check], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sun8i_ui_layer_atomic_check(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @plane_to_sun8i_ui_layer(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.drm_plane_state, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %32, label %7
7: ; preds = %2
%8 = load i32, ptr %1, align 8, !tbaa !11
%9 = tail call ptr @drm_atomic_get_existing_crtc_state(i32 noundef %8, ptr noundef nonnull %5) #2
%10 = icmp eq ptr %9, null
%11 = zext i1 %10 to i32
%12 = tail call i64 @WARN_ON(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %7
%15 = load i32, ptr @EINVAL, align 4, !tbaa !12
%16 = sub nsw i32 0, %15
br label %32
17: ; preds = %7
%18 = load i32, ptr @DRM_PLANE_HELPER_NO_SCALING, align 4, !tbaa !12
%19 = getelementptr inbounds %struct.sun8i_ui_layer, ptr %3, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !13
%21 = load ptr, ptr %20, align 8, !tbaa !15
%22 = load i32, ptr %21, align 4, !tbaa !17
%23 = load i32, ptr %3, align 8, !tbaa !19
%24 = tail call i32 @BIT(i32 noundef %23) #2
%25 = and i32 %24, %22
%26 = icmp eq i32 %25, 0
%27 = load i32, ptr @SUN8I_UI_SCALER_SCALE_MIN, align 4
%28 = load i32, ptr @SUN8I_UI_SCALER_SCALE_MAX, align 4
%29 = select i1 %26, i32 %18, i32 %27
%30 = select i1 %26, i32 %18, i32 %28
%31 = tail call i32 @drm_atomic_helper_check_plane_state(ptr noundef nonnull %1, ptr noundef %9, i32 noundef %29, i32 noundef %30, i32 noundef 1, i32 noundef 1) #2
br label %32
32: ; preds = %2, %17, %14
%33 = phi i32 [ %16, %14 ], [ %31, %17 ], [ 0, %2 ]
ret i32 %33
}
declare ptr @plane_to_sun8i_ui_layer(ptr noundef) local_unnamed_addr #1
declare ptr @drm_atomic_get_existing_crtc_state(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @BIT(i32 noundef) local_unnamed_addr #1
declare i32 @drm_atomic_helper_check_plane_state(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"drm_plane_state", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"sun8i_ui_layer", !7, i64 0, !10, i64 8}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_4__", !10, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_3__", !7, i64 0}
!19 = !{!14, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/sun4i/extr_sun8i_ui_layer.c_sun8i_ui_layer_atomic_check.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/sun4i/extr_sun8i_ui_layer.c_sun8i_ui_layer_atomic_check.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
@DRM_PLANE_HELPER_NO_SCALING = common local_unnamed_addr global i32 0, align 4
@SUN8I_UI_SCALER_SCALE_MIN = common local_unnamed_addr global i32 0, align 4
@SUN8I_UI_SCALER_SCALE_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sun8i_ui_layer_atomic_check], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sun8i_ui_layer_atomic_check(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @plane_to_sun8i_ui_layer(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %32, label %7
7: ; preds = %2
%8 = load i32, ptr %1, align 8, !tbaa !12
%9 = tail call ptr @drm_atomic_get_existing_crtc_state(i32 noundef %8, ptr noundef nonnull %5) #2
%10 = icmp eq ptr %9, null
%11 = zext i1 %10 to i32
%12 = tail call i64 @WARN_ON(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %7
%15 = load i32, ptr @EINVAL, align 4, !tbaa !13
%16 = sub nsw i32 0, %15
br label %32
17: ; preds = %7
%18 = load i32, ptr @DRM_PLANE_HELPER_NO_SCALING, align 4, !tbaa !13
%19 = getelementptr inbounds i8, ptr %3, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !14
%21 = load ptr, ptr %20, align 8, !tbaa !16
%22 = load i32, ptr %21, align 4, !tbaa !18
%23 = load i32, ptr %3, align 8, !tbaa !20
%24 = tail call i32 @BIT(i32 noundef %23) #2
%25 = and i32 %24, %22
%26 = icmp eq i32 %25, 0
%27 = load i32, ptr @SUN8I_UI_SCALER_SCALE_MIN, align 4
%28 = load i32, ptr @SUN8I_UI_SCALER_SCALE_MAX, align 4
%29 = select i1 %26, i32 %18, i32 %27
%30 = select i1 %26, i32 %18, i32 %28
%31 = tail call i32 @drm_atomic_helper_check_plane_state(ptr noundef nonnull %1, ptr noundef %9, i32 noundef %29, i32 noundef %30, i32 noundef 1, i32 noundef 1) #2
br label %32
32: ; preds = %2, %17, %14
%33 = phi i32 [ %16, %14 ], [ %31, %17 ], [ 0, %2 ]
ret i32 %33
}
declare ptr @plane_to_sun8i_ui_layer(ptr noundef) local_unnamed_addr #1
declare ptr @drm_atomic_get_existing_crtc_state(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @BIT(i32 noundef) local_unnamed_addr #1
declare i32 @drm_atomic_helper_check_plane_state(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"drm_plane_state", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !11, i64 8}
!15 = !{!"sun8i_ui_layer", !8, i64 0, !11, i64 8}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_4__", !11, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_3__", !8, i64 0}
!20 = !{!15, !8, i64 0}
| linux_drivers_gpu_drm_sun4i_extr_sun8i_ui_layer.c_sun8i_ui_layer_atomic_check |
; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_env_set.c_env_set_get.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_env_set.c_env_set_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.env_item = type { ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local ptr @env_set_get(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %16, label %5
5: ; preds = %2, %10
%6 = phi ptr [ %12, %10 ], [ %3, %2 ]
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = tail call i32 @env_string_equal(ptr noundef %7, ptr noundef %1) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = getelementptr inbounds %struct.env_item, ptr %6, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
br i1 %13, label %16, label %5, !llvm.loop !11
14: ; preds = %5
%15 = load ptr, ptr %6, align 8, !tbaa !9
br label %16
16: ; preds = %10, %2, %14
%17 = phi ptr [ %15, %14 ], [ null, %2 ], [ null, %10 ]
ret ptr %17
}
declare i32 @env_string_equal(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"env_item", !6, i64 0, !6, i64 8}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_env_set.c_env_set_get.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_env_set.c_env_set_get.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 @env_set_get(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %16, label %5
5: ; preds = %2, %10
%6 = phi ptr [ %12, %10 ], [ %3, %2 ]
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = tail call i32 @env_string_equal(ptr noundef %7, ptr noundef %1) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = getelementptr inbounds i8, ptr %6, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
br i1 %13, label %16, label %5, !llvm.loop !12
14: ; preds = %5
%15 = load ptr, ptr %6, align 8, !tbaa !10
br label %16
16: ; preds = %10, %2, %14
%17 = phi ptr [ %15, %14 ], [ null, %2 ], [ null, %10 ]
ret ptr %17
}
declare i32 @env_string_equal(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"env_item", !7, i64 0, !7, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| openvpn_src_openvpn_extr_env_set.c_env_set_get |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ntfs/extr_aops.c_ntfs_readpage.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ntfs/extr_aops.c_ntfs_readpage.c"
target datalayout = "e-m:e-p270:32:32-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.page = type { i32, ptr }
%struct.TYPE_24__ = type { i64, i32, i32, i32, i32, %struct.TYPE_20__ }
%struct.TYPE_20__ = type { ptr }
%struct.TYPE_21__ = type { i32, i32 }
@PAGE_CACHE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_CACHE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Read outside i_size - truncated?\00", align 1
@AT_INDEX_ALLOCATION = dso_local local_unnamed_addr global i64 0, align 8
@AT_DATA = dso_local local_unnamed_addr global i64 0, align 8
@EACCES = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@CASE_SENSITIVE = dso_local local_unnamed_addr global i32 0, align 4
@KM_USER0 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ntfs_readpage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ntfs_readpage(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.page, ptr %1, i64 0, i32 1
br label %4
4: ; preds = %94, %2
%5 = tail call i32 @PageLocked(ptr noundef %1) #2
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @BUG_ON(i32 noundef %7) #2
%9 = load ptr, ptr %3, align 8, !tbaa !5
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = tail call i32 @i_size_read(ptr noundef %10) #2
%12 = load i32, ptr %1, align 8, !tbaa !13
%13 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !14
%14 = add i32 %11, -1
%15 = add i32 %14, %13
%16 = load i32, ptr @PAGE_CACHE_SHIFT, align 4, !tbaa !14
%17 = ashr i32 %15, %16
%18 = icmp sge i32 %12, %17
%19 = zext i1 %18 to i32
%20 = tail call i64 @unlikely(i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %4
%23 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !14
%24 = tail call i32 @zero_user(ptr noundef nonnull %1, i32 noundef 0, i32 noundef %23) #2
%25 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str) #2
br label %160
26: ; preds = %4
%27 = tail call i64 @PageUptodate(ptr noundef nonnull %1) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 @unlock_page(ptr noundef nonnull %1) #2
br label %166
31: ; preds = %26
%32 = tail call ptr @NTFS_I(ptr noundef %10) #2
%33 = load i64, ptr %32, align 8, !tbaa !15
%34 = load i64, ptr @AT_INDEX_ALLOCATION, align 8, !tbaa !19
%35 = icmp eq i64 %33, %34
br i1 %35, label %63, label %36
36: ; preds = %31
%37 = tail call i64 @NInoEncrypted(ptr noundef nonnull %32) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %47, label %39
39: ; preds = %36
%40 = load i64, ptr %32, align 8, !tbaa !15
%41 = load i64, ptr @AT_DATA, align 8, !tbaa !19
%42 = icmp ne i64 %40, %41
%43 = zext i1 %42 to i32
%44 = tail call i32 @BUG_ON(i32 noundef %43) #2
%45 = load i32, ptr @EACCES, align 4, !tbaa !14
%46 = sub nsw i32 0, %45
br label %163
47: ; preds = %36
%48 = tail call i32 @NInoNonResident(ptr noundef nonnull %32) #2
%49 = icmp eq i32 %48, 0
br i1 %49, label %63, label %50
50: ; preds = %47
%51 = tail call i64 @NInoCompressed(ptr noundef nonnull %32) #2
%52 = icmp eq i64 %51, 0
br i1 %52, label %63, label %53
53: ; preds = %50
%54 = load i64, ptr %32, align 8, !tbaa !15
%55 = load i64, ptr @AT_DATA, align 8, !tbaa !19
%56 = icmp ne i64 %54, %55
%57 = zext i1 %56 to i32
%58 = tail call i32 @BUG_ON(i32 noundef %57) #2
%59 = getelementptr inbounds %struct.TYPE_24__, ptr %32, i64 0, i32 1
%60 = load i32, ptr %59, align 8, !tbaa !20
%61 = tail call i32 @BUG_ON(i32 noundef %60) #2
%62 = tail call i32 @ntfs_read_compressed_block(ptr noundef nonnull %1) #2
br label %166
63: ; preds = %47, %50, %31
%64 = tail call i32 @NInoNonResident(ptr noundef nonnull %32) #2
%65 = icmp eq i32 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %63
%67 = tail call i32 @ntfs_read_block(ptr noundef nonnull %1) #2
br label %166
68: ; preds = %63
%69 = load i32, ptr %1, align 8, !tbaa !13
%70 = icmp sgt i32 %69, 0
%71 = zext i1 %70 to i32
%72 = tail call i64 @unlikely(i32 noundef %71) #2
%73 = icmp eq i64 %72, 0
br i1 %73, label %77, label %74
74: ; preds = %68
%75 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !14
%76 = tail call i32 @zero_user(ptr noundef nonnull %1, i32 noundef 0, i32 noundef %75) #2
br label %160
77: ; preds = %68
%78 = tail call i32 @NInoAttr(ptr noundef nonnull %32) #2
%79 = icmp eq i32 %78, 0
br i1 %79, label %83, label %80
80: ; preds = %77
%81 = getelementptr inbounds %struct.TYPE_24__, ptr %32, i64 0, i32 5
%82 = load ptr, ptr %81, align 8, !tbaa !21
br label %83
83: ; preds = %77, %80
%84 = phi ptr [ %82, %80 ], [ %32, %77 ]
%85 = tail call ptr @map_mft_record(ptr noundef %84) #2
%86 = tail call i64 @IS_ERR(ptr noundef %85) #2
%87 = icmp eq i64 %86, 0
br i1 %87, label %90, label %88
88: ; preds = %83
%89 = tail call i32 @PTR_ERR(ptr noundef %85) #2
br label %163
90: ; preds = %83
%91 = tail call i32 @NInoNonResident(ptr noundef nonnull %32) #2
%92 = tail call i64 @unlikely(i32 noundef %91) #2
%93 = icmp eq i64 %92, 0
br i1 %93, label %96, label %94
94: ; preds = %90
%95 = tail call i32 @unmap_mft_record(ptr noundef %84) #2
br label %4
96: ; preds = %90
%97 = tail call ptr @ntfs_attr_get_search_ctx(ptr noundef %84, ptr noundef %85) #2
%98 = icmp eq ptr %97, null
%99 = zext i1 %98 to i32
%100 = tail call i64 @unlikely(i32 noundef %99) #2
%101 = icmp eq i64 %100, 0
br i1 %101, label %105, label %102
102: ; preds = %96
%103 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%104 = sub nsw i32 0, %103
br label %157
105: ; preds = %96
%106 = load i64, ptr %32, align 8, !tbaa !15
%107 = getelementptr inbounds %struct.TYPE_24__, ptr %32, i64 0, i32 4
%108 = load i32, ptr %107, align 4, !tbaa !22
%109 = getelementptr inbounds %struct.TYPE_24__, ptr %32, i64 0, i32 1
%110 = load i32, ptr %109, align 8, !tbaa !20
%111 = load i32, ptr @CASE_SENSITIVE, align 4, !tbaa !14
%112 = tail call i32 @ntfs_attr_lookup(i64 noundef %106, i32 noundef %108, i32 noundef %110, i32 noundef %111, i32 noundef 0, ptr noundef null, i32 noundef 0, ptr noundef %97) #2
%113 = tail call i64 @unlikely(i32 noundef %112) #2
%114 = icmp eq i64 %113, 0
br i1 %114, label %115, label %155
115: ; preds = %105
%116 = load ptr, ptr %97, align 8, !tbaa !23
%117 = getelementptr inbounds %struct.TYPE_21__, ptr %116, i64 0, i32 1
%118 = load i32, ptr %117, align 4, !tbaa !25
%119 = tail call i32 @le32_to_cpu(i32 noundef %118) #2
%120 = getelementptr inbounds %struct.TYPE_24__, ptr %32, i64 0, i32 3
%121 = tail call i32 @read_lock_irqsave(ptr noundef nonnull %120, i64 noundef undef) #2
%122 = getelementptr inbounds %struct.TYPE_24__, ptr %32, i64 0, i32 2
%123 = load i32, ptr %122, align 4, !tbaa !29
%124 = icmp sgt i32 %119, %123
%125 = zext i1 %124 to i32
%126 = tail call i64 @unlikely(i32 noundef %125) #2
%127 = icmp eq i64 %126, 0
br i1 %127, label %130, label %128
128: ; preds = %115
%129 = load i32, ptr %122, align 4, !tbaa !29
br label %130
130: ; preds = %128, %115
%131 = phi i32 [ %129, %128 ], [ %119, %115 ]
%132 = tail call i32 @i_size_read(ptr noundef %10) #2
%133 = tail call i32 @read_unlock_irqrestore(ptr noundef nonnull %120, i64 noundef undef) #2
%134 = icmp sgt i32 %131, %132
%135 = zext i1 %134 to i32
%136 = tail call i64 @unlikely(i32 noundef %135) #2
%137 = icmp eq i64 %136, 0
%138 = select i1 %137, i32 %131, i32 %132
%139 = load i32, ptr @KM_USER0, align 4, !tbaa !14
%140 = tail call ptr @kmap_atomic(ptr noundef nonnull %1, i32 noundef %139) #2
%141 = load ptr, ptr %97, align 8, !tbaa !23
%142 = load i32, ptr %141, align 4, !tbaa !30
%143 = tail call i32 @le16_to_cpu(i32 noundef %142) #2
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i32, ptr %141, i64 %144
%146 = tail call i32 @memcpy(ptr noundef %140, ptr noundef nonnull %145, i32 noundef %138) #2
%147 = sext i32 %138 to i64
%148 = getelementptr inbounds i32, ptr %140, i64 %147
%149 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !14
%150 = sub nsw i32 %149, %138
%151 = tail call i32 @memset(ptr noundef %148, i32 noundef 0, i32 noundef %150) #2
%152 = tail call i32 @flush_dcache_page(ptr noundef nonnull %1) #2
%153 = load i32, ptr @KM_USER0, align 4, !tbaa !14
%154 = tail call i32 @kunmap_atomic(ptr noundef %140, i32 noundef %153) #2
br label %155
155: ; preds = %105, %130
%156 = tail call i32 @ntfs_attr_put_search_ctx(ptr noundef %97) #2
br label %157
157: ; preds = %155, %102
%158 = phi i32 [ %104, %102 ], [ %112, %155 ]
%159 = tail call i32 @unmap_mft_record(ptr noundef %84) #2
br label %160
160: ; preds = %157, %74, %22
%161 = phi i32 [ 0, %22 ], [ 0, %74 ], [ %158, %157 ]
%162 = tail call i32 @SetPageUptodate(ptr noundef nonnull %1) #2
br label %163
163: ; preds = %160, %88, %39
%164 = phi i32 [ %161, %160 ], [ %46, %39 ], [ %89, %88 ]
%165 = tail call i32 @unlock_page(ptr noundef nonnull %1) #2
br label %166
166: ; preds = %163, %66, %53, %29
%167 = phi i32 [ %164, %163 ], [ 0, %29 ], [ %62, %53 ], [ %67, %66 ]
ret i32 %167
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @PageLocked(ptr noundef) local_unnamed_addr #1
declare i32 @i_size_read(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @zero_user(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntfs_debug(ptr noundef) local_unnamed_addr #1
declare i64 @PageUptodate(ptr noundef) local_unnamed_addr #1
declare i32 @unlock_page(ptr noundef) local_unnamed_addr #1
declare ptr @NTFS_I(ptr noundef) local_unnamed_addr #1
declare i64 @NInoEncrypted(ptr noundef) local_unnamed_addr #1
declare i32 @NInoNonResident(ptr noundef) local_unnamed_addr #1
declare i64 @NInoCompressed(ptr noundef) local_unnamed_addr #1
declare i32 @ntfs_read_compressed_block(ptr noundef) local_unnamed_addr #1
declare i32 @ntfs_read_block(ptr noundef) local_unnamed_addr #1
declare i32 @NInoAttr(ptr noundef) local_unnamed_addr #1
declare ptr @map_mft_record(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @unmap_mft_record(ptr noundef) local_unnamed_addr #1
declare ptr @ntfs_attr_get_search_ctx(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ntfs_attr_lookup(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @read_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @read_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @kmap_atomic(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @flush_dcache_page(ptr noundef) local_unnamed_addr #1
declare i32 @kunmap_atomic(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntfs_attr_put_search_ctx(ptr noundef) local_unnamed_addr #1
declare i32 @SetPageUptodate(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 = !{!"page", !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_19__", !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_24__", !17, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !18, i64 24}
!17 = !{!"long", !8, i64 0}
!18 = !{!"TYPE_20__", !10, i64 0}
!19 = !{!17, !17, i64 0}
!20 = !{!16, !7, i64 8}
!21 = !{!16, !10, i64 24}
!22 = !{!16, !7, i64 20}
!23 = !{!24, !10, i64 0}
!24 = !{!"TYPE_25__", !10, i64 0}
!25 = !{!26, !7, i64 4}
!26 = !{!"TYPE_23__", !27, i64 0}
!27 = !{!"TYPE_22__", !28, i64 0}
!28 = !{!"TYPE_21__", !7, i64 0, !7, i64 4}
!29 = !{!16, !7, i64 12}
!30 = !{!26, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ntfs/extr_aops.c_ntfs_readpage.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ntfs/extr_aops.c_ntfs_readpage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_CACHE_SIZE = common local_unnamed_addr global i32 0, align 4
@PAGE_CACHE_SHIFT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Read outside i_size - truncated?\00", align 1
@AT_INDEX_ALLOCATION = common local_unnamed_addr global i64 0, align 8
@AT_DATA = common local_unnamed_addr global i64 0, align 8
@EACCES = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@CASE_SENSITIVE = common local_unnamed_addr global i32 0, align 4
@KM_USER0 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ntfs_readpage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ntfs_readpage(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
br label %4
4: ; preds = %94, %2
%5 = tail call i32 @PageLocked(ptr noundef %1) #2
%6 = icmp eq i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @BUG_ON(i32 noundef %7) #2
%9 = load ptr, ptr %3, align 8, !tbaa !6
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = tail call i32 @i_size_read(ptr noundef %10) #2
%12 = load i32, ptr %1, align 8, !tbaa !14
%13 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !15
%14 = add i32 %11, -1
%15 = add i32 %14, %13
%16 = load i32, ptr @PAGE_CACHE_SHIFT, align 4, !tbaa !15
%17 = ashr i32 %15, %16
%18 = icmp sge i32 %12, %17
%19 = zext i1 %18 to i32
%20 = tail call i64 @unlikely(i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %4
%23 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !15
%24 = tail call i32 @zero_user(ptr noundef nonnull %1, i32 noundef 0, i32 noundef %23) #2
%25 = tail call i32 @ntfs_debug(ptr noundef nonnull @.str) #2
br label %160
26: ; preds = %4
%27 = tail call i64 @PageUptodate(ptr noundef nonnull %1) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 @unlock_page(ptr noundef nonnull %1) #2
br label %166
31: ; preds = %26
%32 = tail call ptr @NTFS_I(ptr noundef %10) #2
%33 = load i64, ptr %32, align 8, !tbaa !16
%34 = load i64, ptr @AT_INDEX_ALLOCATION, align 8, !tbaa !20
%35 = icmp eq i64 %33, %34
br i1 %35, label %63, label %36
36: ; preds = %31
%37 = tail call i64 @NInoEncrypted(ptr noundef nonnull %32) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %47, label %39
39: ; preds = %36
%40 = load i64, ptr %32, align 8, !tbaa !16
%41 = load i64, ptr @AT_DATA, align 8, !tbaa !20
%42 = icmp ne i64 %40, %41
%43 = zext i1 %42 to i32
%44 = tail call i32 @BUG_ON(i32 noundef %43) #2
%45 = load i32, ptr @EACCES, align 4, !tbaa !15
%46 = sub nsw i32 0, %45
br label %163
47: ; preds = %36
%48 = tail call i32 @NInoNonResident(ptr noundef nonnull %32) #2
%49 = icmp eq i32 %48, 0
br i1 %49, label %63, label %50
50: ; preds = %47
%51 = tail call i64 @NInoCompressed(ptr noundef nonnull %32) #2
%52 = icmp eq i64 %51, 0
br i1 %52, label %63, label %53
53: ; preds = %50
%54 = load i64, ptr %32, align 8, !tbaa !16
%55 = load i64, ptr @AT_DATA, align 8, !tbaa !20
%56 = icmp ne i64 %54, %55
%57 = zext i1 %56 to i32
%58 = tail call i32 @BUG_ON(i32 noundef %57) #2
%59 = getelementptr inbounds i8, ptr %32, i64 8
%60 = load i32, ptr %59, align 8, !tbaa !21
%61 = tail call i32 @BUG_ON(i32 noundef %60) #2
%62 = tail call i32 @ntfs_read_compressed_block(ptr noundef nonnull %1) #2
br label %166
63: ; preds = %47, %50, %31
%64 = tail call i32 @NInoNonResident(ptr noundef nonnull %32) #2
%65 = icmp eq i32 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %63
%67 = tail call i32 @ntfs_read_block(ptr noundef nonnull %1) #2
br label %166
68: ; preds = %63
%69 = load i32, ptr %1, align 8, !tbaa !14
%70 = icmp sgt i32 %69, 0
%71 = zext i1 %70 to i32
%72 = tail call i64 @unlikely(i32 noundef %71) #2
%73 = icmp eq i64 %72, 0
br i1 %73, label %77, label %74
74: ; preds = %68
%75 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !15
%76 = tail call i32 @zero_user(ptr noundef nonnull %1, i32 noundef 0, i32 noundef %75) #2
br label %160
77: ; preds = %68
%78 = tail call i32 @NInoAttr(ptr noundef nonnull %32) #2
%79 = icmp eq i32 %78, 0
br i1 %79, label %83, label %80
80: ; preds = %77
%81 = getelementptr inbounds i8, ptr %32, i64 24
%82 = load ptr, ptr %81, align 8, !tbaa !22
br label %83
83: ; preds = %77, %80
%84 = phi ptr [ %82, %80 ], [ %32, %77 ]
%85 = tail call ptr @map_mft_record(ptr noundef %84) #2
%86 = tail call i64 @IS_ERR(ptr noundef %85) #2
%87 = icmp eq i64 %86, 0
br i1 %87, label %90, label %88
88: ; preds = %83
%89 = tail call i32 @PTR_ERR(ptr noundef %85) #2
br label %163
90: ; preds = %83
%91 = tail call i32 @NInoNonResident(ptr noundef nonnull %32) #2
%92 = tail call i64 @unlikely(i32 noundef %91) #2
%93 = icmp eq i64 %92, 0
br i1 %93, label %96, label %94
94: ; preds = %90
%95 = tail call i32 @unmap_mft_record(ptr noundef %84) #2
br label %4
96: ; preds = %90
%97 = tail call ptr @ntfs_attr_get_search_ctx(ptr noundef %84, ptr noundef %85) #2
%98 = icmp eq ptr %97, null
%99 = zext i1 %98 to i32
%100 = tail call i64 @unlikely(i32 noundef %99) #2
%101 = icmp eq i64 %100, 0
br i1 %101, label %105, label %102
102: ; preds = %96
%103 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%104 = sub nsw i32 0, %103
br label %157
105: ; preds = %96
%106 = load i64, ptr %32, align 8, !tbaa !16
%107 = getelementptr inbounds i8, ptr %32, i64 20
%108 = load i32, ptr %107, align 4, !tbaa !23
%109 = getelementptr inbounds i8, ptr %32, i64 8
%110 = load i32, ptr %109, align 8, !tbaa !21
%111 = load i32, ptr @CASE_SENSITIVE, align 4, !tbaa !15
%112 = tail call i32 @ntfs_attr_lookup(i64 noundef %106, i32 noundef %108, i32 noundef %110, i32 noundef %111, i32 noundef 0, ptr noundef null, i32 noundef 0, ptr noundef %97) #2
%113 = tail call i64 @unlikely(i32 noundef %112) #2
%114 = icmp eq i64 %113, 0
br i1 %114, label %115, label %155
115: ; preds = %105
%116 = load ptr, ptr %97, align 8, !tbaa !24
%117 = getelementptr inbounds i8, ptr %116, i64 4
%118 = load i32, ptr %117, align 4, !tbaa !26
%119 = tail call i32 @le32_to_cpu(i32 noundef %118) #2
%120 = getelementptr inbounds i8, ptr %32, i64 16
%121 = tail call i32 @read_lock_irqsave(ptr noundef nonnull %120, i64 noundef undef) #2
%122 = getelementptr inbounds i8, ptr %32, i64 12
%123 = load i32, ptr %122, align 4, !tbaa !30
%124 = icmp sgt i32 %119, %123
%125 = zext i1 %124 to i32
%126 = tail call i64 @unlikely(i32 noundef %125) #2
%127 = icmp eq i64 %126, 0
br i1 %127, label %130, label %128
128: ; preds = %115
%129 = load i32, ptr %122, align 4, !tbaa !30
br label %130
130: ; preds = %128, %115
%131 = phi i32 [ %129, %128 ], [ %119, %115 ]
%132 = tail call i32 @i_size_read(ptr noundef %10) #2
%133 = tail call i32 @read_unlock_irqrestore(ptr noundef nonnull %120, i64 noundef undef) #2
%134 = icmp sgt i32 %131, %132
%135 = zext i1 %134 to i32
%136 = tail call i64 @unlikely(i32 noundef %135) #2
%137 = icmp eq i64 %136, 0
%138 = select i1 %137, i32 %131, i32 %132
%139 = load i32, ptr @KM_USER0, align 4, !tbaa !15
%140 = tail call ptr @kmap_atomic(ptr noundef nonnull %1, i32 noundef %139) #2
%141 = load ptr, ptr %97, align 8, !tbaa !24
%142 = load i32, ptr %141, align 4, !tbaa !31
%143 = tail call i32 @le16_to_cpu(i32 noundef %142) #2
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i32, ptr %141, i64 %144
%146 = tail call i32 @memcpy(ptr noundef %140, ptr noundef nonnull %145, i32 noundef %138) #2
%147 = sext i32 %138 to i64
%148 = getelementptr inbounds i32, ptr %140, i64 %147
%149 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !15
%150 = sub nsw i32 %149, %138
%151 = tail call i32 @memset(ptr noundef %148, i32 noundef 0, i32 noundef %150) #2
%152 = tail call i32 @flush_dcache_page(ptr noundef nonnull %1) #2
%153 = load i32, ptr @KM_USER0, align 4, !tbaa !15
%154 = tail call i32 @kunmap_atomic(ptr noundef %140, i32 noundef %153) #2
br label %155
155: ; preds = %105, %130
%156 = tail call i32 @ntfs_attr_put_search_ctx(ptr noundef %97) #2
br label %157
157: ; preds = %155, %102
%158 = phi i32 [ %104, %102 ], [ %112, %155 ]
%159 = tail call i32 @unmap_mft_record(ptr noundef %84) #2
br label %160
160: ; preds = %157, %74, %22
%161 = phi i32 [ 0, %22 ], [ 0, %74 ], [ %158, %157 ]
%162 = tail call i32 @SetPageUptodate(ptr noundef nonnull %1) #2
br label %163
163: ; preds = %160, %88, %39
%164 = phi i32 [ %161, %160 ], [ %46, %39 ], [ %89, %88 ]
%165 = tail call i32 @unlock_page(ptr noundef nonnull %1) #2
br label %166
166: ; preds = %163, %66, %53, %29
%167 = phi i32 [ %164, %163 ], [ 0, %29 ], [ %62, %53 ], [ %67, %66 ]
ret i32 %167
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @PageLocked(ptr noundef) local_unnamed_addr #1
declare i32 @i_size_read(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @zero_user(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntfs_debug(ptr noundef) local_unnamed_addr #1
declare i64 @PageUptodate(ptr noundef) local_unnamed_addr #1
declare i32 @unlock_page(ptr noundef) local_unnamed_addr #1
declare ptr @NTFS_I(ptr noundef) local_unnamed_addr #1
declare i64 @NInoEncrypted(ptr noundef) local_unnamed_addr #1
declare i32 @NInoNonResident(ptr noundef) local_unnamed_addr #1
declare i64 @NInoCompressed(ptr noundef) local_unnamed_addr #1
declare i32 @ntfs_read_compressed_block(ptr noundef) local_unnamed_addr #1
declare i32 @ntfs_read_block(ptr noundef) local_unnamed_addr #1
declare i32 @NInoAttr(ptr noundef) local_unnamed_addr #1
declare ptr @map_mft_record(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @unmap_mft_record(ptr noundef) local_unnamed_addr #1
declare ptr @ntfs_attr_get_search_ctx(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ntfs_attr_lookup(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @read_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @read_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @kmap_atomic(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @flush_dcache_page(ptr noundef) local_unnamed_addr #1
declare i32 @kunmap_atomic(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntfs_attr_put_search_ctx(ptr noundef) local_unnamed_addr #1
declare i32 @SetPageUptodate(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 = !{!"page", !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_19__", !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_24__", !18, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !19, i64 24}
!18 = !{!"long", !9, i64 0}
!19 = !{!"TYPE_20__", !11, i64 0}
!20 = !{!18, !18, i64 0}
!21 = !{!17, !8, i64 8}
!22 = !{!17, !11, i64 24}
!23 = !{!17, !8, i64 20}
!24 = !{!25, !11, i64 0}
!25 = !{!"TYPE_25__", !11, i64 0}
!26 = !{!27, !8, i64 4}
!27 = !{!"TYPE_23__", !28, i64 0}
!28 = !{!"TYPE_22__", !29, i64 0}
!29 = !{!"TYPE_21__", !8, i64 0, !8, i64 4}
!30 = !{!17, !8, i64 12}
!31 = !{!27, !8, i64 0}
| fastsocket_kernel_fs_ntfs_extr_aops.c_ntfs_readpage |
; ModuleID = 'AnghaBench/h2o/lib/handler/extr_errordoc.c_prefilter_is_registered.c'
source_filename = "AnghaBench/h2o/lib/handler/extr_errordoc.c_prefilter_is_registered.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@on_prefilter_setup_stream = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @prefilter_is_registered], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal noundef i32 @prefilter_is_registered(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %14, label %4
4: ; preds = %1
%5 = load i64, ptr @on_prefilter_setup_stream, align 8, !tbaa !9
br label %10
6: ; preds = %10
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %11, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = icmp eq ptr %8, null
br i1 %9, label %14, label %10, !llvm.loop !11
10: ; preds = %4, %6
%11 = phi ptr [ %2, %4 ], [ %8, %6 ]
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = icmp eq i64 %12, %5
br i1 %13, label %14, label %6
14: ; preds = %10, %6, %1
%15 = phi i32 [ 0, %1 ], [ 0, %6 ], [ 1, %10 ]
ret i32 %15
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_5__", !10, i64 0, !6, i64 8}
| ; ModuleID = 'AnghaBench/h2o/lib/handler/extr_errordoc.c_prefilter_is_registered.c'
source_filename = "AnghaBench/h2o/lib/handler/extr_errordoc.c_prefilter_is_registered.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@on_prefilter_setup_stream = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @prefilter_is_registered], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @prefilter_is_registered(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %14, label %4
4: ; preds = %1
%5 = load i64, ptr @on_prefilter_setup_stream, align 8, !tbaa !10
br label %10
6: ; preds = %10
%7 = getelementptr inbounds i8, ptr %11, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = icmp eq ptr %8, null
br i1 %9, label %14, label %10, !llvm.loop !12
10: ; preds = %4, %6
%11 = phi ptr [ %2, %4 ], [ %8, %6 ]
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = icmp eq i64 %12, %5
br i1 %13, label %14, label %6
14: ; preds = %10, %6, %1
%15 = phi i32 [ 0, %1 ], [ 0, %6 ], [ 1, %10 ]
ret i32 %15
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_5__", !11, i64 0, !7, i64 8}
| h2o_lib_handler_extr_errordoc.c_prefilter_is_registered |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/acpica/extr_utlock.c_acpi_ut_acquire_write_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/acpica/extr_utlock.c_acpi_ut_acquire_write_lock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ACPI_WAIT_FOREVER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @acpi_ut_acquire_write_lock(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @ACPI_WAIT_FOREVER, align 4, !tbaa !10
%4 = tail call i32 @acpi_os_acquire_mutex(i32 noundef %2, i32 noundef %3) #2
ret i32 %4
}
declare i32 @acpi_os_acquire_mutex(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 = !{!"acpi_rw_lock", !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/fastsocket/kernel/drivers/acpi/acpica/extr_utlock.c_acpi_ut_acquire_write_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/acpica/extr_utlock.c_acpi_ut_acquire_write_lock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACPI_WAIT_FOREVER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @acpi_ut_acquire_write_lock(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @ACPI_WAIT_FOREVER, align 4, !tbaa !11
%4 = tail call i32 @acpi_os_acquire_mutex(i32 noundef %2, i32 noundef %3) #2
ret i32 %4
}
declare i32 @acpi_os_acquire_mutex(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 = !{!"acpi_rw_lock", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_acpi_acpica_extr_utlock.c_acpi_ut_acquire_write_lock |
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_pwhash/extr_crypto_pwhash.c_crypto_pwhash_memlimit_interactive.c'
source_filename = "AnghaBench/libsodium/src/libsodium/crypto_pwhash/extr_crypto_pwhash.c_crypto_pwhash_memlimit_interactive.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@crypto_pwhash_MEMLIMIT_INTERACTIVE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i64 @crypto_pwhash_memlimit_interactive() local_unnamed_addr #0 {
%1 = load i64, ptr @crypto_pwhash_MEMLIMIT_INTERACTIVE, align 8, !tbaa !5
ret i64 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_pwhash/extr_crypto_pwhash.c_crypto_pwhash_memlimit_interactive.c'
source_filename = "AnghaBench/libsodium/src/libsodium/crypto_pwhash/extr_crypto_pwhash.c_crypto_pwhash_memlimit_interactive.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@crypto_pwhash_MEMLIMIT_INTERACTIVE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i64 @crypto_pwhash_memlimit_interactive() local_unnamed_addr #0 {
%1 = load i64, ptr @crypto_pwhash_MEMLIMIT_INTERACTIVE, align 8, !tbaa !6
ret i64 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| libsodium_src_libsodium_crypto_pwhash_extr_crypto_pwhash.c_crypto_pwhash_memlimit_interactive |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_imx_udc.c_imx_ep_irq_disable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_imx_udc.c_imx_ep_irq_disable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @imx_ep_irq_disable(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @EP_NO(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = tail call i64 @USB_EP_MASK(i32 noundef %2) #2
%6 = add nsw i64 %5, %4
%7 = tail call i32 @__raw_writel(i32 noundef 511, i64 noundef %6) #2
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = load i64, ptr %8, align 8, !tbaa !10
%10 = tail call i64 @USB_EP_INTR(i32 noundef %2) #2
%11 = add nsw i64 %10, %9
%12 = tail call i32 @__raw_writel(i32 noundef 511, i64 noundef %11) #2
ret void
}
declare i32 @EP_NO(ptr noundef) local_unnamed_addr #1
declare i32 @__raw_writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @USB_EP_MASK(i32 noundef) local_unnamed_addr #1
declare i64 @USB_EP_INTR(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 = !{!"imx_ep_struct", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_imx_udc.c_imx_ep_irq_disable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_imx_udc.c_imx_ep_irq_disable.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 @imx_ep_irq_disable(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @EP_NO(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = tail call i64 @USB_EP_MASK(i32 noundef %2) #2
%6 = add nsw i64 %5, %4
%7 = tail call i32 @__raw_writel(i32 noundef 511, i64 noundef %6) #2
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = tail call i64 @USB_EP_INTR(i32 noundef %2) #2
%11 = add nsw i64 %10, %9
%12 = tail call i32 @__raw_writel(i32 noundef 511, i64 noundef %11) #2
ret void
}
declare i32 @EP_NO(ptr noundef) local_unnamed_addr #1
declare i32 @__raw_writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @USB_EP_MASK(i32 noundef) local_unnamed_addr #1
declare i64 @USB_EP_INTR(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 = !{!"imx_ep_struct", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
| fastsocket_kernel_drivers_usb_gadget_extr_imx_udc.c_imx_ep_irq_disable |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_ixp4xx.c_ixp4xx_read16.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_ixp4xx.c_ixp4xx_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 @ixp4xx_read16], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal noalias noundef nonnull ptr @ixp4xx_read16(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = add i64 %3, %1
%5 = tail call i32 @flash_read16(i64 noundef %4) #2
unreachable
}
declare i32 @flash_read16(i64 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, !7, i64 0}
!6 = !{!"map_info", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_ixp4xx.c_ixp4xx_read16.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_ixp4xx.c_ixp4xx_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 @ixp4xx_read16], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal noundef i64 @ixp4xx_read16(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = add i64 %3, %1
%5 = tail call i32 @flash_read16(i64 noundef %4) #2
unreachable
}
declare i32 @flash_read16(i64 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, !8, i64 0}
!7 = !{!"map_info", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_mtd_maps_extr_ixp4xx.c_ixp4xx_read16 |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/agere/extr_et131x.c_et131x_mii_read.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/agere/extr_et131x.c_et131x_mii_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"
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @et131x_mii_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @et131x_mii_read(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @EIO, align 4, !tbaa !12
%9 = sub nsw i32 0, %8
br label %13
10: ; preds = %3
%11 = load i32, ptr %5, align 4, !tbaa !14
%12 = tail call i32 @et131x_phy_mii_read(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %1, ptr noundef %2) #2
br label %13
13: ; preds = %10, %7
%14 = phi i32 [ %12, %10 ], [ %9, %7 ]
ret i32 %14
}
declare i32 @et131x_phy_mii_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"et131x_adapter", !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_3__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"phy_device", !16, i64 0}
!16 = !{!"TYPE_4__", !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/agere/extr_et131x.c_et131x_mii_read.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/agere/extr_et131x.c_et131x_mii_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @et131x_mii_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @et131x_mii_read(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @EIO, align 4, !tbaa !13
%9 = sub nsw i32 0, %8
br label %13
10: ; preds = %3
%11 = load i32, ptr %5, align 4, !tbaa !15
%12 = tail call i32 @et131x_phy_mii_read(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %1, ptr noundef %2) #2
br label %13
13: ; preds = %10, %7
%14 = phi i32 [ %12, %10 ], [ %9, %7 ]
ret i32 %14
}
declare i32 @et131x_phy_mii_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"et131x_adapter", !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_3__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"phy_device", !17, i64 0}
!17 = !{!"TYPE_4__", !14, i64 0}
| linux_drivers_net_ethernet_agere_extr_et131x.c_et131x_mii_read |
; ModuleID = 'AnghaBench/freebsd/lib/libc/rpc/extr_rpc_generic.c_taddr2uaddr.c'
source_filename = "AnghaBench/freebsd/lib/libc/rpc/extr_rpc_generic.c_taddr2uaddr.c"
target datalayout = "e-m:e-p270:32:32-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.__rpc_sockinfo = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local ptr @taddr2uaddr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.__rpc_sockinfo, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @__rpc_nconf2sockinfo(ptr noundef %0, ptr noundef nonnull %3) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = call ptr @__rpc_taddr2uaddr_af(i32 noundef %7, ptr noundef %1) #3
br label %9
9: ; preds = %2, %6
%10 = phi ptr [ %8, %6 ], [ null, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret ptr %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__rpc_nconf2sockinfo(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @__rpc_taddr2uaddr_af(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 = !{!"__rpc_sockinfo", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/rpc/extr_rpc_generic.c_taddr2uaddr.c'
source_filename = "AnghaBench/freebsd/lib/libc/rpc/extr_rpc_generic.c_taddr2uaddr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.__rpc_sockinfo = type { i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @taddr2uaddr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.__rpc_sockinfo, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @__rpc_nconf2sockinfo(ptr noundef %0, ptr noundef nonnull %3) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = call ptr @__rpc_taddr2uaddr_af(i32 noundef %7, ptr noundef %1) #3
br label %9
9: ; preds = %2, %6
%10 = phi ptr [ %8, %6 ], [ null, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret ptr %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__rpc_nconf2sockinfo(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @__rpc_taddr2uaddr_af(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"__rpc_sockinfo", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_lib_libc_rpc_extr_rpc_generic.c_taddr2uaddr |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_htirq.c_ht_create_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_htirq.c_ht_create_irq.c"
target datalayout = "e-m:e-p270:32:32-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 @ht_create_irq(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @__ht_create_irq(ptr noundef %0, i32 noundef %1, ptr noundef null) #2
ret i32 %3
}
declare i32 @__ht_create_irq(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_htirq.c_ht_create_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_htirq.c_ht_create_irq.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 @ht_create_irq(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @__ht_create_irq(ptr noundef %0, i32 noundef %1, ptr noundef null) #2
ret i32 %3
}
declare i32 @__ht_create_irq(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_pci_extr_htirq.c_ht_create_irq |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_filter_program.c_set_bidder_signature.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_filter_program.c_set_bidder_signature.c"
target datalayout = "e-m:e-p270:32:32-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.program_bidder = type { i64, i32 }
%struct.archive_read_filter_bidder = type { i32, ptr, i32, i32, ptr }
@program_bidder_bid = dso_local local_unnamed_addr global i32 0, align 4
@program_bidder_init = dso_local local_unnamed_addr global i32 0, align 4
@program_bidder_free = dso_local local_unnamed_addr global i32 0, align 4
@ARCHIVE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_bidder_signature], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @set_bidder_signature(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp ne ptr %2, null
%6 = icmp ne i64 %3, 0
%7 = and i1 %5, %6
br i1 %7, label %8, label %12
8: ; preds = %4
store i64 %3, ptr %1, align 8, !tbaa !5
%9 = tail call i32 @malloc(i64 noundef %3) #2
%10 = getelementptr inbounds %struct.program_bidder, ptr %1, i64 0, i32 1
store i32 %9, ptr %10, align 8, !tbaa !11
%11 = tail call i32 @memcpy(i32 noundef %9, ptr noundef nonnull %2, i64 noundef %3) #2
br label %12
12: ; preds = %8, %4
%13 = getelementptr inbounds %struct.archive_read_filter_bidder, ptr %0, i64 0, i32 4
store ptr %1, ptr %13, align 8, !tbaa !12
%14 = load i32, ptr @program_bidder_bid, align 4, !tbaa !15
%15 = getelementptr inbounds %struct.archive_read_filter_bidder, ptr %0, i64 0, i32 3
store i32 %14, ptr %15, align 4, !tbaa !16
%16 = load i32, ptr @program_bidder_init, align 4, !tbaa !15
%17 = getelementptr inbounds %struct.archive_read_filter_bidder, ptr %0, i64 0, i32 2
store i32 %16, ptr %17, align 8, !tbaa !17
%18 = getelementptr inbounds %struct.archive_read_filter_bidder, ptr %0, i64 0, i32 1
store ptr null, ptr %18, align 8, !tbaa !18
%19 = load i32, ptr @program_bidder_free, align 4, !tbaa !15
store i32 %19, ptr %0, align 8, !tbaa !19
%20 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !15
ret i32 %20
}
declare i32 @malloc(i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"program_bidder", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !14, i64 24}
!13 = !{!"archive_read_filter_bidder", !10, i64 0, !14, i64 8, !10, i64 16, !10, i64 20, !14, i64 24}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!13, !10, i64 20}
!17 = !{!13, !10, i64 16}
!18 = !{!13, !14, i64 8}
!19 = !{!13, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_filter_program.c_set_bidder_signature.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_support_filter_program.c_set_bidder_signature.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@program_bidder_bid = common local_unnamed_addr global i32 0, align 4
@program_bidder_init = common local_unnamed_addr global i32 0, align 4
@program_bidder_free = common local_unnamed_addr global i32 0, align 4
@ARCHIVE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_bidder_signature], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @set_bidder_signature(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp ne ptr %2, null
%6 = icmp ne i64 %3, 0
%7 = and i1 %5, %6
br i1 %7, label %8, label %12
8: ; preds = %4
store i64 %3, ptr %1, align 8, !tbaa !6
%9 = tail call i32 @malloc(i64 noundef %3) #2
%10 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %9, ptr %10, align 8, !tbaa !12
%11 = tail call i32 @memcpy(i32 noundef %9, ptr noundef nonnull %2, i64 noundef %3) #2
br label %12
12: ; preds = %8, %4
%13 = getelementptr inbounds i8, ptr %0, i64 24
store ptr %1, ptr %13, align 8, !tbaa !13
%14 = load i32, ptr @program_bidder_bid, align 4, !tbaa !16
%15 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %14, ptr %15, align 4, !tbaa !17
%16 = load i32, ptr @program_bidder_init, align 4, !tbaa !16
%17 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %16, ptr %17, align 8, !tbaa !18
%18 = getelementptr inbounds i8, ptr %0, i64 8
store ptr null, ptr %18, align 8, !tbaa !19
%19 = load i32, ptr @program_bidder_free, align 4, !tbaa !16
store i32 %19, ptr %0, align 8, !tbaa !20
%20 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !16
ret i32 %20
}
declare i32 @malloc(i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"program_bidder", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !15, i64 24}
!14 = !{!"archive_read_filter_bidder", !11, i64 0, !15, i64 8, !11, i64 16, !11, i64 20, !15, i64 24}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!14, !11, i64 20}
!18 = !{!14, !11, i64 16}
!19 = !{!14, !15, i64 8}
!20 = !{!14, !11, i64 0}
| freebsd_contrib_libarchive_libarchive_extr_archive_read_support_filter_program.c_set_bidder_signature |
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-pca9532.c_pca9532_probe.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-pca9532.c_pca9532_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.i2c_client = type { %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { ptr }
%struct.pca9532_data = type { i32, ptr, ptr }
@.str = private unnamed_addr constant [18 x i8] c"no platform data\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@of_pca9532_leds_match = dso_local local_unnamed_addr global i32 0, align 4
@I2C_FUNC_SMBUS_BYTE_DATA = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, 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
@pca9532_chip_info_tbl = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [23 x i8] c"setting platform data\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pca9532_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pca9532_probe(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%4 = tail call ptr @dev_get_platdata(ptr noundef %0) #2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %4, null
br i1 %6, label %7, label %32
7: ; preds = %2
%8 = icmp eq ptr %5, null
br i1 %8, label %15, label %9
9: ; preds = %7
%10 = tail call ptr @pca9532_of_populate_pdata(ptr noundef nonnull %0, ptr noundef nonnull %5) #2
%11 = tail call i64 @IS_ERR(ptr noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %19, label %13
13: ; preds = %9
%14 = tail call i32 @PTR_ERR(ptr noundef %10) #2
br label %62
15: ; preds = %7
%16 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%17 = load i32, ptr @EINVAL, align 4, !tbaa !12
%18 = sub nsw i32 0, %17
br label %62
19: ; preds = %9
%20 = load i32, ptr @of_pca9532_leds_match, align 4, !tbaa !12
%21 = tail call ptr @of_match_device(i32 noundef %20, ptr noundef nonnull %0) #2
%22 = icmp eq ptr %21, null
%23 = zext i1 %22 to i32
%24 = tail call i64 @unlikely(i32 noundef %23) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %19
%27 = load i32, ptr @EINVAL, align 4, !tbaa !12
%28 = sub nsw i32 0, %27
br label %62
29: ; preds = %19
%30 = load i64, ptr %21, align 8, !tbaa !13
%31 = trunc i64 %30 to i32
br label %34
32: ; preds = %2
%33 = load i32, ptr %1, align 4, !tbaa !16
br label %34
34: ; preds = %32, %29
%35 = phi i32 [ %33, %32 ], [ %31, %29 ]
%36 = phi ptr [ %4, %32 ], [ %10, %29 ]
%37 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1
%38 = load i32, ptr %37, align 8, !tbaa !18
%39 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !12
%40 = tail call i32 @i2c_check_functionality(i32 noundef %38, i32 noundef %39) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %34
%43 = load i32, ptr @EIO, align 4, !tbaa !12
%44 = sub nsw i32 0, %43
br label %62
45: ; preds = %34
%46 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%47 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 24, i32 noundef %46) #2
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%51 = sub nsw i32 0, %50
br label %62
52: ; preds = %45
%53 = load ptr, ptr @pca9532_chip_info_tbl, align 8, !tbaa !19
%54 = sext i32 %35 to i64
%55 = getelementptr inbounds i32, ptr %53, i64 %54
%56 = getelementptr inbounds %struct.pca9532_data, ptr %47, i64 0, i32 2
store ptr %55, ptr %56, align 8, !tbaa !20
%57 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%58 = tail call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %47) #2
%59 = getelementptr inbounds %struct.pca9532_data, ptr %47, i64 0, i32 1
store ptr %0, ptr %59, align 8, !tbaa !22
%60 = tail call i32 @mutex_init(ptr noundef nonnull %47) #2
%61 = tail call i32 @pca9532_configure(ptr noundef nonnull %0, ptr noundef nonnull %47, ptr noundef %36) #2
br label %62
62: ; preds = %52, %49, %42, %26, %15, %13
%63 = phi i32 [ %61, %52 ], [ %51, %49 ], [ %44, %42 ], [ %14, %13 ], [ %28, %26 ], [ %18, %15 ]
ret i32 %63
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1
declare ptr @pca9532_of_populate_pdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @of_match_device(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @i2c_check_functionality(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_info(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @pca9532_configure(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"i2c_client", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"of_device_id", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"i2c_device_id", !11, i64 0}
!18 = !{!6, !11, i64 8}
!19 = !{!8, !8, i64 0}
!20 = !{!21, !8, i64 16}
!21 = !{!"pca9532_data", !11, i64 0, !8, i64 8, !8, i64 16}
!22 = !{!21, !8, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-pca9532.c_pca9532_probe.c'
source_filename = "AnghaBench/linux/drivers/leds/extr_leds-pca9532.c_pca9532_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [18 x i8] c"no platform data\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@of_pca9532_leds_match = common local_unnamed_addr global i32 0, align 4
@I2C_FUNC_SMBUS_BYTE_DATA = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@pca9532_chip_info_tbl = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [23 x i8] c"setting platform data\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pca9532_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pca9532_probe(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%4 = tail call ptr @dev_get_platdata(ptr noundef %0) #2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %4, null
br i1 %6, label %7, label %32
7: ; preds = %2
%8 = icmp eq ptr %5, null
br i1 %8, label %15, label %9
9: ; preds = %7
%10 = tail call ptr @pca9532_of_populate_pdata(ptr noundef nonnull %0, ptr noundef nonnull %5) #2
%11 = tail call i64 @IS_ERR(ptr noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %19, label %13
13: ; preds = %9
%14 = tail call i32 @PTR_ERR(ptr noundef %10) #2
br label %62
15: ; preds = %7
%16 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%17 = load i32, ptr @EINVAL, align 4, !tbaa !13
%18 = sub nsw i32 0, %17
br label %62
19: ; preds = %9
%20 = load i32, ptr @of_pca9532_leds_match, align 4, !tbaa !13
%21 = tail call ptr @of_match_device(i32 noundef %20, ptr noundef nonnull %0) #2
%22 = icmp eq ptr %21, null
%23 = zext i1 %22 to i32
%24 = tail call i64 @unlikely(i32 noundef %23) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %19
%27 = load i32, ptr @EINVAL, align 4, !tbaa !13
%28 = sub nsw i32 0, %27
br label %62
29: ; preds = %19
%30 = load i64, ptr %21, align 8, !tbaa !14
%31 = trunc i64 %30 to i32
br label %34
32: ; preds = %2
%33 = load i32, ptr %1, align 4, !tbaa !17
br label %34
34: ; preds = %32, %29
%35 = phi i32 [ %33, %32 ], [ %31, %29 ]
%36 = phi ptr [ %4, %32 ], [ %10, %29 ]
%37 = getelementptr inbounds i8, ptr %0, i64 8
%38 = load i32, ptr %37, align 8, !tbaa !19
%39 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !13
%40 = tail call i32 @i2c_check_functionality(i32 noundef %38, i32 noundef %39) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %34
%43 = load i32, ptr @EIO, align 4, !tbaa !13
%44 = sub nsw i32 0, %43
br label %62
45: ; preds = %34
%46 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%47 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 24, i32 noundef %46) #2
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%51 = sub nsw i32 0, %50
br label %62
52: ; preds = %45
%53 = load ptr, ptr @pca9532_chip_info_tbl, align 8, !tbaa !20
%54 = sext i32 %35 to i64
%55 = getelementptr inbounds i32, ptr %53, i64 %54
%56 = getelementptr inbounds i8, ptr %47, i64 16
store ptr %55, ptr %56, align 8, !tbaa !21
%57 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%58 = tail call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %47) #2
%59 = getelementptr inbounds i8, ptr %47, i64 8
store ptr %0, ptr %59, align 8, !tbaa !23
%60 = tail call i32 @mutex_init(ptr noundef nonnull %47) #2
%61 = tail call i32 @pca9532_configure(ptr noundef nonnull %0, ptr noundef nonnull %47, ptr noundef %36) #2
br label %62
62: ; preds = %52, %49, %42, %26, %15, %13
%63 = phi i32 [ %61, %52 ], [ %51, %49 ], [ %44, %42 ], [ %14, %13 ], [ %28, %26 ], [ %18, %15 ]
ret i32 %63
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1
declare ptr @pca9532_of_populate_pdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @of_match_device(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @i2c_check_functionality(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_info(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @pca9532_configure(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"i2c_client", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"of_device_id", !16, i64 0}
!16 = !{!"long", !10, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"i2c_device_id", !12, i64 0}
!19 = !{!7, !12, i64 8}
!20 = !{!9, !9, i64 0}
!21 = !{!22, !9, i64 16}
!22 = !{!"pca9532_data", !12, i64 0, !9, i64 8, !9, i64 16}
!23 = !{!22, !9, i64 8}
| linux_drivers_leds_extr_leds-pca9532.c_pca9532_probe |
; ModuleID = 'AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_io.c_fetch_attr64_tok.c'
source_filename = "AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_io.c_fetch_attr64_tok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @fetch_attr64_tok], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @fetch_attr64_tok(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%5 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1, i32 0, i32 5
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = load i32, ptr %0, align 4, !tbaa !12
%8 = tail call i32 @READ_TOKEN_U_INT32(ptr noundef %1, i32 noundef %2, i32 noundef %6, i32 noundef %7, i32 noundef 0) #2
%9 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1, i32 0, i32 4
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = load i32, ptr %0, align 4, !tbaa !12
%12 = tail call i32 @READ_TOKEN_U_INT32(ptr noundef %1, i32 noundef %2, i32 noundef %10, i32 noundef %11, i32 noundef 0) #2
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1, i32 0, i32 3
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = load i32, ptr %0, align 4, !tbaa !12
%16 = tail call i32 @READ_TOKEN_U_INT32(ptr noundef %1, i32 noundef %2, i32 noundef %14, i32 noundef %15, i32 noundef 0) #2
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1, i32 0, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = load i32, ptr %0, align 4, !tbaa !12
%20 = tail call i32 @READ_TOKEN_U_INT32(ptr noundef %1, i32 noundef %2, i32 noundef %18, i32 noundef %19, i32 noundef 0) #2
%21 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1, i32 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = load i32, ptr %0, align 4, !tbaa !12
%24 = tail call i32 @READ_TOKEN_U_INT64(ptr noundef %1, i32 noundef %2, i32 noundef %22, i32 noundef %23, i32 noundef 0) #2
%25 = load i32, ptr %4, align 4, !tbaa !17
%26 = load i32, ptr %0, align 4, !tbaa !12
%27 = tail call i32 @READ_TOKEN_U_INT64(ptr noundef %1, i32 noundef %2, i32 noundef %25, i32 noundef %26, i32 noundef 0) #2
ret i32 0
}
declare i32 @READ_TOKEN_U_INT32(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @READ_TOKEN_U_INT64(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"TYPE_7__", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_6__", !11, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 20}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 12}
!16 = !{!6, !7, i64 8}
!17 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_io.c_fetch_attr64_tok.c'
source_filename = "AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_io.c_fetch_attr64_tok.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 @fetch_attr64_tok], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @fetch_attr64_tok(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = load i32, ptr %0, align 4, !tbaa !13
%8 = tail call i32 @READ_TOKEN_U_INT32(ptr noundef %1, i32 noundef %2, i32 noundef %6, i32 noundef %7, i32 noundef 0) #2
%9 = getelementptr inbounds i8, ptr %0, i64 20
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = load i32, ptr %0, align 4, !tbaa !13
%12 = tail call i32 @READ_TOKEN_U_INT32(ptr noundef %1, i32 noundef %2, i32 noundef %10, i32 noundef %11, i32 noundef 0) #2
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = load i32, ptr %0, align 4, !tbaa !13
%16 = tail call i32 @READ_TOKEN_U_INT32(ptr noundef %1, i32 noundef %2, i32 noundef %14, i32 noundef %15, i32 noundef 0) #2
%17 = getelementptr inbounds i8, ptr %0, i64 12
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = load i32, ptr %0, align 4, !tbaa !13
%20 = tail call i32 @READ_TOKEN_U_INT32(ptr noundef %1, i32 noundef %2, i32 noundef %18, i32 noundef %19, i32 noundef 0) #2
%21 = getelementptr inbounds i8, ptr %0, i64 8
%22 = load i32, ptr %21, align 4, !tbaa !17
%23 = load i32, ptr %0, align 4, !tbaa !13
%24 = tail call i32 @READ_TOKEN_U_INT64(ptr noundef %1, i32 noundef %2, i32 noundef %22, i32 noundef %23, i32 noundef 0) #2
%25 = load i32, ptr %4, align 4, !tbaa !18
%26 = load i32, ptr %0, align 4, !tbaa !13
%27 = tail call i32 @READ_TOKEN_U_INT64(ptr noundef %1, i32 noundef %2, i32 noundef %25, i32 noundef %26, i32 noundef 0) #2
ret i32 0
}
declare i32 @READ_TOKEN_U_INT32(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @READ_TOKEN_U_INT64(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"TYPE_7__", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !8, i64 20}
!15 = !{!7, !8, i64 16}
!16 = !{!7, !8, i64 12}
!17 = !{!7, !8, i64 8}
!18 = !{!7, !8, i64 4}
| freebsd_contrib_openbsm_libbsm_extr_bsm_io.c_fetch_attr64_tok |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.