IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_fs.c_qibfs_add.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_fs.c_qibfs_add.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@qib_super = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @qibfs_add(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @qib_super, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @add_cntr_files(ptr noundef nonnull %2, ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
%7 = phi i32 [ %5, %4 ], [ 0, %1 ]
ret i32 %7
}
declare i32 @add_cntr_files(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"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_fs.c_qibfs_add.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_fs.c_qibfs_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@qib_super = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @qibfs_add(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @qib_super, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @add_cntr_files(ptr noundef nonnull %2, ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
%7 = phi i32 [ %5, %4 ], [ 0, %1 ]
ret i32 %7
}
declare i32 @add_cntr_files(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"}
| fastsocket_kernel_drivers_infiniband_hw_qib_extr_qib_fs.c_qibfs_add |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_link_resolver.c_test_linkify_tar.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_link_resolver.c_test_linkify_tar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ARCHIVE_FORMAT_TAR_USTAR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"test1\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"test2\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"test3\00", align 1
@AE_IFDIR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_linkify_tar], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_linkify_tar() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = tail call ptr (...) @archive_entry_linkresolver_new() #3
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #3
%7 = load i32, ptr @ARCHIVE_FORMAT_TAR_USTAR, align 4, !tbaa !5
%8 = tail call i32 @archive_entry_linkresolver_set_strategy(ptr noundef %3, i32 noundef %7) #3
%9 = tail call ptr (...) @archive_entry_new() #3
store ptr %9, ptr %1, align 8, !tbaa !9
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = tail call i32 @assert(i32 noundef %11) #3
%13 = tail call i32 @archive_entry_set_pathname(ptr noundef %9, ptr noundef nonnull @.str) #3
%14 = tail call i32 @archive_entry_set_ino(ptr noundef %9, i32 noundef 1) #3
%15 = tail call i32 @archive_entry_set_dev(ptr noundef %9, i32 noundef 2) #3
%16 = tail call i32 @archive_entry_set_nlink(ptr noundef %9, i32 noundef 1) #3
%17 = tail call i32 @archive_entry_set_size(ptr noundef %9, i32 noundef 10) #3
%18 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%19 = load ptr, ptr %2, align 8, !tbaa !9
%20 = icmp eq ptr %19, null
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21) #3
%23 = load ptr, ptr %1, align 8, !tbaa !9
%24 = call i32 @archive_entry_size(ptr noundef %23) #3
%25 = call i32 @assertEqualInt(i32 noundef 10, i32 noundef %24) #3
%26 = load ptr, ptr %1, align 8, !tbaa !9
%27 = call i32 @archive_entry_pathname(ptr noundef %26) #3
%28 = call i32 @assertEqualString(ptr noundef nonnull @.str, i32 noundef %27) #3
%29 = load ptr, ptr %1, align 8, !tbaa !9
%30 = call i32 @archive_entry_set_pathname(ptr noundef %29, ptr noundef nonnull @.str.1) #3
%31 = load ptr, ptr %1, align 8, !tbaa !9
%32 = call i32 @archive_entry_set_nlink(ptr noundef %31, i32 noundef 2) #3
%33 = load ptr, ptr %1, align 8, !tbaa !9
%34 = call i32 @archive_entry_set_ino(ptr noundef %33, i32 noundef 2) #3
%35 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%36 = load ptr, ptr %2, align 8, !tbaa !9
%37 = icmp eq ptr %36, null
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 noundef %38) #3
%40 = load ptr, ptr %1, align 8, !tbaa !9
%41 = call i32 @archive_entry_pathname(ptr noundef %40) #3
%42 = call i32 @assertEqualString(ptr noundef nonnull @.str.1, i32 noundef %41) #3
%43 = load ptr, ptr %1, align 8, !tbaa !9
%44 = call i32 @archive_entry_hardlink(ptr noundef %43) #3
%45 = call i32 @assertEqualString(ptr noundef null, i32 noundef %44) #3
%46 = load ptr, ptr %1, align 8, !tbaa !9
%47 = call i32 @archive_entry_size(ptr noundef %46) #3
%48 = call i32 @assertEqualInt(i32 noundef 10, i32 noundef %47) #3
%49 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%50 = load ptr, ptr %2, align 8, !tbaa !9
%51 = icmp eq ptr %50, null
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 noundef %52) #3
%54 = load ptr, ptr %1, align 8, !tbaa !9
%55 = call i32 @archive_entry_pathname(ptr noundef %54) #3
%56 = call i32 @assertEqualString(ptr noundef nonnull @.str.1, i32 noundef %55) #3
%57 = load ptr, ptr %1, align 8, !tbaa !9
%58 = call i32 @archive_entry_hardlink(ptr noundef %57) #3
%59 = call i32 @assertEqualString(ptr noundef nonnull @.str.1, i32 noundef %58) #3
%60 = load ptr, ptr %1, align 8, !tbaa !9
%61 = call i32 @archive_entry_size(ptr noundef %60) #3
%62 = call i32 @assertEqualInt(i32 noundef 0, i32 noundef %61) #3
%63 = load ptr, ptr %1, align 8, !tbaa !9
%64 = call i32 @archive_entry_set_pathname(ptr noundef %63, ptr noundef nonnull @.str.2) #3
%65 = load ptr, ptr %1, align 8, !tbaa !9
%66 = call i32 @archive_entry_set_nlink(ptr noundef %65, i32 noundef 2) #3
%67 = load ptr, ptr %1, align 8, !tbaa !9
%68 = load i32, ptr @AE_IFDIR, align 4, !tbaa !5
%69 = call i32 @archive_entry_set_filetype(ptr noundef %67, i32 noundef %68) #3
%70 = load ptr, ptr %1, align 8, !tbaa !9
%71 = call i32 @archive_entry_set_ino(ptr noundef %70, i32 noundef 3) #3
%72 = load ptr, ptr %1, align 8, !tbaa !9
%73 = call i32 @archive_entry_set_hardlink(ptr noundef %72, ptr noundef null) #3
%74 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%75 = load ptr, ptr %2, align 8, !tbaa !9
%76 = icmp eq ptr %75, null
%77 = zext i1 %76 to i32
%78 = call i32 @assert(i32 noundef %77) #3
%79 = load ptr, ptr %1, align 8, !tbaa !9
%80 = call i32 @archive_entry_pathname(ptr noundef %79) #3
%81 = call i32 @assertEqualString(ptr noundef nonnull @.str.2, i32 noundef %80) #3
%82 = load ptr, ptr %1, align 8, !tbaa !9
%83 = call i32 @archive_entry_hardlink(ptr noundef %82) #3
%84 = call i32 @assertEqualString(ptr noundef null, i32 noundef %83) #3
%85 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%86 = load ptr, ptr %2, align 8, !tbaa !9
%87 = icmp eq ptr %86, null
%88 = zext i1 %87 to i32
%89 = call i32 @assert(i32 noundef %88) #3
%90 = load ptr, ptr %1, align 8, !tbaa !9
%91 = call i32 @archive_entry_pathname(ptr noundef %90) #3
%92 = call i32 @assertEqualString(ptr noundef nonnull @.str.2, i32 noundef %91) #3
%93 = load ptr, ptr %1, align 8, !tbaa !9
%94 = call i32 @archive_entry_hardlink(ptr noundef %93) #3
%95 = call i32 @assertEqualString(ptr noundef null, i32 noundef %94) #3
%96 = load ptr, ptr %1, align 8, !tbaa !9
%97 = call i32 @archive_entry_free(ptr noundef %96) #3
%98 = call i32 @archive_entry_linkresolver_free(ptr noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @archive_entry_linkresolver_new(...) local_unnamed_addr #2
declare i32 @archive_entry_linkresolver_set_strategy(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @archive_entry_new(...) local_unnamed_addr #2
declare i32 @archive_entry_set_pathname(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_ino(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_dev(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_nlink(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_size(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_linkify(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assertEqualInt(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_size(ptr noundef) local_unnamed_addr #2
declare i32 @assertEqualString(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_pathname(ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_hardlink(ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_filetype(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_hardlink(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_free(ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_linkresolver_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_link_resolver.c_test_linkify_tar.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_link_resolver.c_test_linkify_tar.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ARCHIVE_FORMAT_TAR_USTAR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"test1\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"test2\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"test3\00", align 1
@AE_IFDIR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_linkify_tar], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_linkify_tar() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = tail call ptr @archive_entry_linkresolver_new() #3
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #3
%7 = load i32, ptr @ARCHIVE_FORMAT_TAR_USTAR, align 4, !tbaa !6
%8 = tail call i32 @archive_entry_linkresolver_set_strategy(ptr noundef %3, i32 noundef %7) #3
%9 = tail call ptr @archive_entry_new() #3
store ptr %9, ptr %1, align 8, !tbaa !10
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = tail call i32 @assert(i32 noundef %11) #3
%13 = tail call i32 @archive_entry_set_pathname(ptr noundef %9, ptr noundef nonnull @.str) #3
%14 = tail call i32 @archive_entry_set_ino(ptr noundef %9, i32 noundef 1) #3
%15 = tail call i32 @archive_entry_set_dev(ptr noundef %9, i32 noundef 2) #3
%16 = tail call i32 @archive_entry_set_nlink(ptr noundef %9, i32 noundef 1) #3
%17 = tail call i32 @archive_entry_set_size(ptr noundef %9, i32 noundef 10) #3
%18 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%19 = load ptr, ptr %2, align 8, !tbaa !10
%20 = icmp eq ptr %19, null
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21) #3
%23 = load ptr, ptr %1, align 8, !tbaa !10
%24 = call i32 @archive_entry_size(ptr noundef %23) #3
%25 = call i32 @assertEqualInt(i32 noundef 10, i32 noundef %24) #3
%26 = load ptr, ptr %1, align 8, !tbaa !10
%27 = call i32 @archive_entry_pathname(ptr noundef %26) #3
%28 = call i32 @assertEqualString(ptr noundef nonnull @.str, i32 noundef %27) #3
%29 = load ptr, ptr %1, align 8, !tbaa !10
%30 = call i32 @archive_entry_set_pathname(ptr noundef %29, ptr noundef nonnull @.str.1) #3
%31 = load ptr, ptr %1, align 8, !tbaa !10
%32 = call i32 @archive_entry_set_nlink(ptr noundef %31, i32 noundef 2) #3
%33 = load ptr, ptr %1, align 8, !tbaa !10
%34 = call i32 @archive_entry_set_ino(ptr noundef %33, i32 noundef 2) #3
%35 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%36 = load ptr, ptr %2, align 8, !tbaa !10
%37 = icmp eq ptr %36, null
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 noundef %38) #3
%40 = load ptr, ptr %1, align 8, !tbaa !10
%41 = call i32 @archive_entry_pathname(ptr noundef %40) #3
%42 = call i32 @assertEqualString(ptr noundef nonnull @.str.1, i32 noundef %41) #3
%43 = load ptr, ptr %1, align 8, !tbaa !10
%44 = call i32 @archive_entry_hardlink(ptr noundef %43) #3
%45 = call i32 @assertEqualString(ptr noundef null, i32 noundef %44) #3
%46 = load ptr, ptr %1, align 8, !tbaa !10
%47 = call i32 @archive_entry_size(ptr noundef %46) #3
%48 = call i32 @assertEqualInt(i32 noundef 10, i32 noundef %47) #3
%49 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%50 = load ptr, ptr %2, align 8, !tbaa !10
%51 = icmp eq ptr %50, null
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 noundef %52) #3
%54 = load ptr, ptr %1, align 8, !tbaa !10
%55 = call i32 @archive_entry_pathname(ptr noundef %54) #3
%56 = call i32 @assertEqualString(ptr noundef nonnull @.str.1, i32 noundef %55) #3
%57 = load ptr, ptr %1, align 8, !tbaa !10
%58 = call i32 @archive_entry_hardlink(ptr noundef %57) #3
%59 = call i32 @assertEqualString(ptr noundef nonnull @.str.1, i32 noundef %58) #3
%60 = load ptr, ptr %1, align 8, !tbaa !10
%61 = call i32 @archive_entry_size(ptr noundef %60) #3
%62 = call i32 @assertEqualInt(i32 noundef 0, i32 noundef %61) #3
%63 = load ptr, ptr %1, align 8, !tbaa !10
%64 = call i32 @archive_entry_set_pathname(ptr noundef %63, ptr noundef nonnull @.str.2) #3
%65 = load ptr, ptr %1, align 8, !tbaa !10
%66 = call i32 @archive_entry_set_nlink(ptr noundef %65, i32 noundef 2) #3
%67 = load ptr, ptr %1, align 8, !tbaa !10
%68 = load i32, ptr @AE_IFDIR, align 4, !tbaa !6
%69 = call i32 @archive_entry_set_filetype(ptr noundef %67, i32 noundef %68) #3
%70 = load ptr, ptr %1, align 8, !tbaa !10
%71 = call i32 @archive_entry_set_ino(ptr noundef %70, i32 noundef 3) #3
%72 = load ptr, ptr %1, align 8, !tbaa !10
%73 = call i32 @archive_entry_set_hardlink(ptr noundef %72, ptr noundef null) #3
%74 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%75 = load ptr, ptr %2, align 8, !tbaa !10
%76 = icmp eq ptr %75, null
%77 = zext i1 %76 to i32
%78 = call i32 @assert(i32 noundef %77) #3
%79 = load ptr, ptr %1, align 8, !tbaa !10
%80 = call i32 @archive_entry_pathname(ptr noundef %79) #3
%81 = call i32 @assertEqualString(ptr noundef nonnull @.str.2, i32 noundef %80) #3
%82 = load ptr, ptr %1, align 8, !tbaa !10
%83 = call i32 @archive_entry_hardlink(ptr noundef %82) #3
%84 = call i32 @assertEqualString(ptr noundef null, i32 noundef %83) #3
%85 = call i32 @archive_entry_linkify(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%86 = load ptr, ptr %2, align 8, !tbaa !10
%87 = icmp eq ptr %86, null
%88 = zext i1 %87 to i32
%89 = call i32 @assert(i32 noundef %88) #3
%90 = load ptr, ptr %1, align 8, !tbaa !10
%91 = call i32 @archive_entry_pathname(ptr noundef %90) #3
%92 = call i32 @assertEqualString(ptr noundef nonnull @.str.2, i32 noundef %91) #3
%93 = load ptr, ptr %1, align 8, !tbaa !10
%94 = call i32 @archive_entry_hardlink(ptr noundef %93) #3
%95 = call i32 @assertEqualString(ptr noundef null, i32 noundef %94) #3
%96 = load ptr, ptr %1, align 8, !tbaa !10
%97 = call i32 @archive_entry_free(ptr noundef %96) #3
%98 = call i32 @archive_entry_linkresolver_free(ptr noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @archive_entry_linkresolver_new(...) local_unnamed_addr #2
declare i32 @archive_entry_linkresolver_set_strategy(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @archive_entry_new(...) local_unnamed_addr #2
declare i32 @archive_entry_set_pathname(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_ino(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_dev(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_nlink(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_size(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_linkify(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assertEqualInt(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_size(ptr noundef) local_unnamed_addr #2
declare i32 @assertEqualString(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_pathname(ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_hardlink(ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_filetype(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_set_hardlink(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_free(ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_linkresolver_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_libarchive_libarchive_test_extr_test_link_resolver.c_test_linkify_tar |
; ModuleID = 'AnghaBench/openssl/test/extr_ct_test.c_tear_down.c'
source_filename = "AnghaBench/openssl/test/extr_ct_test.c_tear_down.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @tear_down], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tear_down(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %9, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i32 @CTLOG_STORE_free(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !10
%8 = tail call i32 @SCT_LIST_free(i32 noundef %7) #2
br label %9
9: ; preds = %3, %1
%10 = tail call i32 @OPENSSL_free(ptr noundef %0) #2
ret void
}
declare i32 @CTLOG_STORE_free(i32 noundef) local_unnamed_addr #1
declare i32 @SCT_LIST_free(i32 noundef) local_unnamed_addr #1
declare i32 @OPENSSL_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 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 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/openssl/test/extr_ct_test.c_tear_down.c'
source_filename = "AnghaBench/openssl/test/extr_ct_test.c_tear_down.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @tear_down], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tear_down(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %9, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i32 @CTLOG_STORE_free(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !11
%8 = tail call i32 @SCT_LIST_free(i32 noundef %7) #2
br label %9
9: ; preds = %3, %1
%10 = tail call i32 @OPENSSL_free(ptr noundef %0) #2
ret void
}
declare i32 @CTLOG_STORE_free(i32 noundef) local_unnamed_addr #1
declare i32 @SCT_LIST_free(i32 noundef) local_unnamed_addr #1
declare i32 @OPENSSL_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 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 = !{!7, !8, i64 0}
| openssl_test_extr_ct_test.c_tear_down |
; ModuleID = 'AnghaBench/linux/arch/ia64/mm/extr_tlb.c_local_flush_tlb_all.c'
source_filename = "AnghaBench/linux/arch/ia64/mm/extr_tlb.c_local_flush_tlb_all.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, ptr, ptr }
@local_cpu_data = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @local_flush_tlb_all() local_unnamed_addr #0 {
%1 = load ptr, ptr @local_cpu_data, align 8, !tbaa !5
%2 = load i64, ptr %1, align 8, !tbaa !9
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = getelementptr inbounds i64, ptr %4, i64 1
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = getelementptr inbounds i64, ptr %9, i64 1
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = tail call i32 @local_irq_save(i64 noundef undef) #2
%14 = icmp eq i64 %5, 0
br i1 %14, label %32, label %15
15: ; preds = %0
%16 = icmp eq i64 %7, 0
br label %17
17: ; preds = %15, %27
%18 = phi i64 [ %2, %15 ], [ %29, %27 ]
%19 = phi i64 [ 0, %15 ], [ %30, %27 ]
br i1 %16, label %27, label %20
20: ; preds = %17, %20
%21 = phi i64 [ %24, %20 ], [ %18, %17 ]
%22 = phi i64 [ %25, %20 ], [ 0, %17 ]
%23 = tail call i32 @ia64_ptce(i64 noundef %21) #2
%24 = add i64 %21, %12
%25 = add nuw i64 %22, 1
%26 = icmp eq i64 %25, %7
br i1 %26, label %27, label %20, !llvm.loop !15
27: ; preds = %20, %17
%28 = phi i64 [ %18, %17 ], [ %24, %20 ]
%29 = add i64 %28, %10
%30 = add nuw i64 %19, 1
%31 = icmp eq i64 %30, %5
br i1 %31, label %32, label %17, !llvm.loop !17
32: ; preds = %27, %0
%33 = tail call i32 @local_irq_restore(i64 noundef undef) #2
%34 = tail call i32 (...) @ia64_srlz_i() #2
ret void
}
declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @ia64_ptce(i64 noundef) local_unnamed_addr #1
declare i32 @local_irq_restore(i64 noundef) local_unnamed_addr #1
declare i32 @ia64_srlz_i(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 16}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| ; ModuleID = 'AnghaBench/linux/arch/ia64/mm/extr_tlb.c_local_flush_tlb_all.c'
source_filename = "AnghaBench/linux/arch/ia64/mm/extr_tlb.c_local_flush_tlb_all.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@local_cpu_data = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @local_flush_tlb_all() local_unnamed_addr #0 {
%1 = load ptr, ptr @local_cpu_data, align 8, !tbaa !6
%2 = load i64, ptr %1, align 8, !tbaa !10
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = load i64, ptr %4, align 8, !tbaa !14
%6 = getelementptr inbounds i8, ptr %4, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !14
%8 = getelementptr inbounds i8, ptr %1, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = getelementptr inbounds i8, ptr %9, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = tail call i32 @local_irq_save(i64 noundef undef) #2
%14 = icmp eq i64 %5, 0
br i1 %14, label %32, label %15
15: ; preds = %0
%16 = icmp eq i64 %7, 0
br label %17
17: ; preds = %15, %27
%18 = phi i64 [ %2, %15 ], [ %29, %27 ]
%19 = phi i64 [ 0, %15 ], [ %30, %27 ]
br i1 %16, label %27, label %20
20: ; preds = %17, %20
%21 = phi i64 [ %24, %20 ], [ %18, %17 ]
%22 = phi i64 [ %25, %20 ], [ 0, %17 ]
%23 = tail call i32 @ia64_ptce(i64 noundef %21) #2
%24 = add i64 %21, %12
%25 = add nuw i64 %22, 1
%26 = icmp eq i64 %25, %7
br i1 %26, label %27, label %20, !llvm.loop !16
27: ; preds = %20, %17
%28 = phi i64 [ %18, %17 ], [ %24, %20 ]
%29 = add i64 %28, %10
%30 = add nuw i64 %19, 1
%31 = icmp eq i64 %30, %5
br i1 %31, label %32, label %17, !llvm.loop !18
32: ; preds = %27, %0
%33 = tail call i32 @local_irq_restore(i64 noundef undef) #2
%34 = tail call i32 @ia64_srlz_i() #2
ret void
}
declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @ia64_ptce(i64 noundef) local_unnamed_addr #1
declare i32 @local_irq_restore(i64 noundef) local_unnamed_addr #1
declare i32 @ia64_srlz_i(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0, !7, i64 8, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !7, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
| linux_arch_ia64_mm_extr_tlb.c_local_flush_tlb_all |
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_wmi.c_get_subobj_info.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_wmi.c_get_subobj_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AE_NOT_FOUND = dso_local local_unnamed_addr global i64 0, align 8
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_subobj_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_subobj_info(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i64 @acpi_get_handle(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %5) #3
%7 = load i64, ptr @AE_NOT_FOUND, align 8, !tbaa !5
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @ENOENT, align 4, !tbaa !9
%11 = sub nsw i32 0, %10
br label %32
12: ; preds = %3
%13 = call i64 @ACPI_FAILURE(i64 noundef %6) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr @EIO, align 4, !tbaa !9
%17 = sub nsw i32 0, %16
br label %32
18: ; preds = %12
%19 = icmp eq ptr %2, null
%20 = select i1 %19, ptr %4, ptr %2
%21 = load i32, ptr %5, align 4, !tbaa !9
%22 = call i64 @acpi_get_object_info(i32 noundef %21, ptr noundef nonnull %20) #3
%23 = call i64 @ACPI_FAILURE(i64 noundef %22) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = load i32, ptr @EIO, align 4, !tbaa !9
%27 = sub nsw i32 0, %26
br label %32
28: ; preds = %18
br i1 %19, label %29, label %32
29: ; preds = %28
%30 = load ptr, ptr %4, align 8, !tbaa !11
%31 = call i32 @kfree(ptr noundef %30) #3
br label %32
32: ; preds = %28, %29, %25, %15, %9
%33 = phi i32 [ %11, %9 ], [ %17, %15 ], [ %27, %25 ], [ 0, %29 ], [ 0, %28 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @acpi_get_handle(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ACPI_FAILURE(i64 noundef) local_unnamed_addr #2
declare i64 @acpi_get_object_info(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree(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 = !{!"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}
| ; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_wmi.c_get_subobj_info.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_wmi.c_get_subobj_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AE_NOT_FOUND = common local_unnamed_addr global i64 0, align 8
@ENOENT = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_subobj_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @get_subobj_info(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i64 @acpi_get_handle(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %5) #3
%7 = load i64, ptr @AE_NOT_FOUND, align 8, !tbaa !6
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @ENOENT, align 4, !tbaa !10
%11 = sub nsw i32 0, %10
br label %32
12: ; preds = %3
%13 = call i64 @ACPI_FAILURE(i64 noundef %6) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr @EIO, align 4, !tbaa !10
%17 = sub nsw i32 0, %16
br label %32
18: ; preds = %12
%19 = icmp eq ptr %2, null
%20 = select i1 %19, ptr %4, ptr %2
%21 = load i32, ptr %5, align 4, !tbaa !10
%22 = call i64 @acpi_get_object_info(i32 noundef %21, ptr noundef nonnull %20) #3
%23 = call i64 @ACPI_FAILURE(i64 noundef %22) #3
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = load i32, ptr @EIO, align 4, !tbaa !10
%27 = sub nsw i32 0, %26
br label %32
28: ; preds = %18
br i1 %19, label %29, label %32
29: ; preds = %28
%30 = load ptr, ptr %4, align 8, !tbaa !12
%31 = call i32 @kfree(ptr noundef %30) #3
br label %32
32: ; preds = %28, %29, %25, %15, %9
%33 = phi i32 [ %11, %9 ], [ %17, %15 ], [ %27, %25 ], [ 0, %29 ], [ 0, %28 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @acpi_get_handle(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ACPI_FAILURE(i64 noundef) local_unnamed_addr #2
declare i64 @acpi_get_object_info(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree(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 = !{!"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}
| linux_drivers_platform_x86_extr_wmi.c_get_subobj_info |
; ModuleID = 'AnghaBench/systemd/src/test/extr_test-stat-util.c_test_path_is_temporary_fs.c'
source_filename = "AnghaBench/systemd/src/test/extr_test-stat-util.c_test_path_is_temporary_fs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"/run\00", align 1
@AT_SYMLINK_FOLLOW = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"/proc\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"/i-dont-exist\00", align 1
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_path_is_temporary_fs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_path_is_temporary_fs() #0 {
%1 = load i32, ptr @AT_SYMLINK_FOLLOW, align 4, !tbaa !5
%2 = tail call i64 @path_is_mount_point(ptr noundef nonnull @.str, ptr noundef null, i32 noundef %1) #2
%3 = icmp sgt i64 %2, 0
br i1 %3, label %4, label %9
4: ; preds = %0
%5 = tail call i32 @path_is_temporary_fs(ptr noundef nonnull @.str) #2
%6 = icmp sgt i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert_se(i32 noundef %7) #2
br label %9
9: ; preds = %4, %0
%10 = tail call i32 @path_is_temporary_fs(ptr noundef nonnull @.str.1) #2
%11 = icmp eq i32 %10, 0
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert_se(i32 noundef %12) #2
%14 = tail call i32 @path_is_temporary_fs(ptr noundef nonnull @.str.2) #2
%15 = load i32, ptr @ENOENT, align 4, !tbaa !5
%16 = sub nsw i32 0, %15
%17 = icmp eq i32 %14, %16
%18 = zext i1 %17 to i32
%19 = tail call i32 @assert_se(i32 noundef %18) #2
ret void
}
declare i64 @path_is_mount_point(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert_se(i32 noundef) local_unnamed_addr #1
declare i32 @path_is_temporary_fs(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/systemd/src/test/extr_test-stat-util.c_test_path_is_temporary_fs.c'
source_filename = "AnghaBench/systemd/src/test/extr_test-stat-util.c_test_path_is_temporary_fs.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"/run\00", align 1
@AT_SYMLINK_FOLLOW = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"/proc\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"/i-dont-exist\00", align 1
@ENOENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_path_is_temporary_fs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_path_is_temporary_fs() #0 {
%1 = load i32, ptr @AT_SYMLINK_FOLLOW, align 4, !tbaa !6
%2 = tail call i64 @path_is_mount_point(ptr noundef nonnull @.str, ptr noundef null, i32 noundef %1) #2
%3 = icmp sgt i64 %2, 0
br i1 %3, label %4, label %9
4: ; preds = %0
%5 = tail call i32 @path_is_temporary_fs(ptr noundef nonnull @.str) #2
%6 = icmp sgt i32 %5, 0
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert_se(i32 noundef %7) #2
br label %9
9: ; preds = %4, %0
%10 = tail call i32 @path_is_temporary_fs(ptr noundef nonnull @.str.1) #2
%11 = icmp eq i32 %10, 0
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert_se(i32 noundef %12) #2
%14 = tail call i32 @path_is_temporary_fs(ptr noundef nonnull @.str.2) #2
%15 = load i32, ptr @ENOENT, align 4, !tbaa !6
%16 = sub nsw i32 0, %15
%17 = icmp eq i32 %14, %16
%18 = zext i1 %17 to i32
%19 = tail call i32 @assert_se(i32 noundef %18) #2
ret void
}
declare i64 @path_is_mount_point(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert_se(i32 noundef) local_unnamed_addr #1
declare i32 @path_is_temporary_fs(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"}
| systemd_src_test_extr_test-stat-util.c_test_path_is_temporary_fs |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_drv.c_meson_irq.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_drv.c_meson_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"
@VENC_INTFLAG = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @meson_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @meson_irq(i32 %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr @VENC_INTFLAG, align 4, !tbaa !13
%6 = tail call i64 @_REG(i32 noundef %5) #2
%7 = add nsw i64 %6, %4
%8 = tail call i32 @readl_relaxed(i64 noundef %7) #2
%9 = tail call i32 @meson_crtc_irq(ptr noundef nonnull %3) #2
%10 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !13
ret i32 %10
}
declare i32 @readl_relaxed(i64 noundef) local_unnamed_addr #1
declare i64 @_REG(i32 noundef) local_unnamed_addr #1
declare i32 @meson_crtc_irq(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 = !{!"drm_device", !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 = !{!"meson_drm", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_drv.c_meson_irq.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_drv.c_meson_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VENC_INTFLAG = common local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @meson_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @meson_irq(i32 %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = load i32, ptr @VENC_INTFLAG, align 4, !tbaa !14
%6 = tail call i64 @_REG(i32 noundef %5) #2
%7 = add nsw i64 %6, %4
%8 = tail call i32 @readl_relaxed(i64 noundef %7) #2
%9 = tail call i32 @meson_crtc_irq(ptr noundef nonnull %3) #2
%10 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !14
ret i32 %10
}
declare i32 @readl_relaxed(i64 noundef) local_unnamed_addr #1
declare i64 @_REG(i32 noundef) local_unnamed_addr #1
declare i32 @meson_crtc_irq(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 = !{!"drm_device", !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 = !{!"meson_drm", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
| linux_drivers_gpu_drm_meson_extr_meson_drv.c_meson_irq |
; ModuleID = 'AnghaBench/linux/net/bridge/extr_br_private.h_br_rx_handler_check_rtnl.c'
source_filename = "AnghaBench/linux/net/bridge/extr_br_private.h_br_rx_handler_check_rtnl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@br_handle_frame = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @br_rx_handler_check_rtnl], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @br_rx_handler_check_rtnl(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i64 @rcu_dereference_rtnl(i32 noundef %2) #2
%4 = load i64, ptr @br_handle_frame, align 8, !tbaa !10
%5 = icmp eq i64 %3, %4
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i64 @rcu_dereference_rtnl(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 = !{!"net_device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/bridge/extr_br_private.h_br_rx_handler_check_rtnl.c'
source_filename = "AnghaBench/linux/net/bridge/extr_br_private.h_br_rx_handler_check_rtnl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@br_handle_frame = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @br_rx_handler_check_rtnl], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @br_rx_handler_check_rtnl(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i64 @rcu_dereference_rtnl(i32 noundef %2) #2
%4 = load i64, ptr @br_handle_frame, align 8, !tbaa !11
%5 = icmp eq i64 %3, %4
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i64 @rcu_dereference_rtnl(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 = !{!"net_device", !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}
| linux_net_bridge_extr_br_private.h_br_rx_handler_check_rtnl |
; ModuleID = 'AnghaBench/obs-studio/plugins/obs-transitions/extr_transition-luma-wipe.c_luma_wipe_defaults.c'
source_filename = "AnghaBench/obs-studio/plugins/obs-transitions/extr_transition-luma-wipe.c_luma_wipe_defaults.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@S_LUMA_IMG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"linear-h.png\00", align 1
@S_LUMA_SOFT = dso_local local_unnamed_addr global i32 0, align 4
@S_LUMA_INV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @luma_wipe_defaults], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @luma_wipe_defaults(ptr noundef %0) #0 {
%2 = load i32, ptr @S_LUMA_IMG, align 4, !tbaa !5
%3 = tail call i32 @obs_data_set_default_string(ptr noundef %0, i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = load i32, ptr @S_LUMA_SOFT, align 4, !tbaa !5
%5 = tail call i32 @obs_data_set_default_double(ptr noundef %0, i32 noundef %4, double noundef 3.000000e-02) #2
%6 = load i32, ptr @S_LUMA_INV, align 4, !tbaa !5
%7 = tail call i32 @obs_data_set_default_bool(ptr noundef %0, i32 noundef %6, i32 noundef 0) #2
ret void
}
declare i32 @obs_data_set_default_string(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @obs_data_set_default_double(ptr noundef, i32 noundef, double noundef) local_unnamed_addr #1
declare i32 @obs_data_set_default_bool(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/obs-studio/plugins/obs-transitions/extr_transition-luma-wipe.c_luma_wipe_defaults.c'
source_filename = "AnghaBench/obs-studio/plugins/obs-transitions/extr_transition-luma-wipe.c_luma_wipe_defaults.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@S_LUMA_IMG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"linear-h.png\00", align 1
@S_LUMA_SOFT = common local_unnamed_addr global i32 0, align 4
@S_LUMA_INV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @luma_wipe_defaults], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @luma_wipe_defaults(ptr noundef %0) #0 {
%2 = load i32, ptr @S_LUMA_IMG, align 4, !tbaa !6
%3 = tail call i32 @obs_data_set_default_string(ptr noundef %0, i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = load i32, ptr @S_LUMA_SOFT, align 4, !tbaa !6
%5 = tail call i32 @obs_data_set_default_double(ptr noundef %0, i32 noundef %4, double noundef 3.000000e-02) #2
%6 = load i32, ptr @S_LUMA_INV, align 4, !tbaa !6
%7 = tail call i32 @obs_data_set_default_bool(ptr noundef %0, i32 noundef %6, i32 noundef 0) #2
ret void
}
declare i32 @obs_data_set_default_string(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @obs_data_set_default_double(ptr noundef, i32 noundef, double noundef) local_unnamed_addr #1
declare i32 @obs_data_set_default_bool(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"}
| obs-studio_plugins_obs-transitions_extr_transition-luma-wipe.c_luma_wipe_defaults |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_fschmd.c_watchdog_get_timeout.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_fschmd.c_watchdog_get_timeout.c"
target datalayout = "e-m:e-p270:32:32-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.fschmd_data = type { i32, i32, i32 }
@FSCHMD_WDOG_CONTROL_RESOLUTION = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @watchdog_get_timeout], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @watchdog_get_timeout(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.fschmd_data, ptr %0, i64 0, i32 2
%3 = tail call i32 @mutex_lock(ptr noundef nonnull %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = load i32, ptr @FSCHMD_WDOG_CONTROL_RESOLUTION, align 4, !tbaa !10
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = getelementptr inbounds %struct.fschmd_data, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = mul nsw i32 %9, 60
%11 = shl nsw i32 %9, 1
%12 = select i1 %7, i32 %11, i32 %10
%13 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
ret i32 %12
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fschmd_data", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_fschmd.c_watchdog_get_timeout.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_fschmd.c_watchdog_get_timeout.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FSCHMD_WDOG_CONTROL_RESOLUTION = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @watchdog_get_timeout], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @watchdog_get_timeout(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = tail call i32 @mutex_lock(ptr noundef nonnull %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = load i32, ptr @FSCHMD_WDOG_CONTROL_RESOLUTION, align 4, !tbaa !11
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = mul nsw i32 %9, 60
%11 = shl nsw i32 %9, 1
%12 = select i1 %7, i32 %11, i32 %10
%13 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2
ret i32 %12
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"fschmd_data", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
| fastsocket_kernel_drivers_hwmon_extr_fschmd.c_watchdog_get_timeout |
; ModuleID = 'AnghaBench/freebsd/gnu/usr.bin/gdb/libgdb/extr_fbsd-threads.c_init_fbsd_core_ops.c'
source_filename = "AnghaBench/freebsd/gnu/usr.bin/gdb/libgdb/extr_fbsd-threads.c_init_fbsd_core_ops.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, ptr, ptr, i32, i32, i32, i32, i64, i64, i32, i32, i32, i32, i64, i64, i32, i32, ptr, ptr, i32, i32, i32, i32, i64, i64, i32, i32 }
@.str = private unnamed_addr constant [13 x i8] c"FreeBSD-core\00", align 1
@fbsd_core_ops = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [37 x i8] c"FreeBSD multithreaded core dump file\00", align 1
@.str.2 = private unnamed_addr constant [69 x i8] c"Use a core file as a target. Specify the filename of the core file.\00", align 1
@fbsd_core_open = dso_local local_unnamed_addr global i32 0, align 4
@fbsd_core_close = dso_local local_unnamed_addr global i32 0, align 4
@fbsd_core_detach = dso_local local_unnamed_addr global i32 0, align 4
@fbsd_thread_fetch_registers = dso_local local_unnamed_addr global i32 0, align 4
@fbsd_thread_xfer_memory = dso_local local_unnamed_addr global i32 0, align 4
@fbsd_core_files_info = dso_local local_unnamed_addr global i32 0, align 4
@ignore = dso_local local_unnamed_addr global ptr null, align 8
@fbsd_thread_create_inferior = dso_local local_unnamed_addr global i32 0, align 4
@core_stratum = dso_local local_unnamed_addr global i32 0, align 4
@tc_none = dso_local local_unnamed_addr global i32 0, align 4
@fbsd_thread_alive = dso_local local_unnamed_addr global i32 0, align 4
@fbsd_thread_pid_to_str = dso_local local_unnamed_addr global i32 0, align 4
@fbsd_thread_find_new_threads = dso_local local_unnamed_addr global i32 0, align 4
@OPS_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_fbsd_core_ops], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define internal void @init_fbsd_core_ops() #0 {
store ptr @.str, ptr @fbsd_core_ops, align 8, !tbaa !5
store ptr @.str.1, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 1), align 8, !tbaa !12
store ptr @.str.2, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 2), align 8, !tbaa !13
%1 = load i32, ptr @fbsd_core_open, align 4, !tbaa !14
store i32 %1, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 26), align 4, !tbaa !15
%2 = load i32, ptr @fbsd_core_close, align 4, !tbaa !14
store i32 %2, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 25), align 8, !tbaa !16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 23), i8 0, i64 16, i1 false)
%3 = load i32, ptr @fbsd_core_detach, align 4, !tbaa !14
store i32 %3, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 22), align 4, !tbaa !17
%4 = load i32, ptr @fbsd_thread_fetch_registers, align 4, !tbaa !14
store i32 %4, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 21), align 8, !tbaa !18
%5 = load i32, ptr @fbsd_thread_xfer_memory, align 4, !tbaa !14
store i32 %5, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 20), align 4, !tbaa !19
%6 = load i32, ptr @fbsd_core_files_info, align 4, !tbaa !14
store i32 %6, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 19), align 8, !tbaa !20
%7 = load ptr, ptr @ignore, align 8, !tbaa !21
store ptr %7, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 18), align 8, !tbaa !22
store ptr %7, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 17), align 8, !tbaa !23
%8 = load i32, ptr @fbsd_thread_create_inferior, align 4, !tbaa !14
store i32 %8, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 16), align 4, !tbaa !24
%9 = load i32, ptr @core_stratum, align 4, !tbaa !14
store i32 %9, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 15), align 8, !tbaa !25
store i64 0, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 14), align 8, !tbaa !26
store i32 1, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 3), align 8, !tbaa !27
store i32 1, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 4), align 4, !tbaa !28
store i32 1, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 5), align 8, !tbaa !29
store i64 0, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 13), align 8, !tbaa !30
%10 = load i32, ptr @tc_none, align 4, !tbaa !14
store i32 %10, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 12), align 4, !tbaa !31
%11 = load i32, ptr @fbsd_thread_alive, align 4, !tbaa !14
store i32 %11, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 11), align 8, !tbaa !32
%12 = load i32, ptr @fbsd_thread_pid_to_str, align 4, !tbaa !14
store i32 %12, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 10), align 4, !tbaa !33
%13 = load i32, ptr @fbsd_thread_find_new_threads, align 4, !tbaa !14
store i32 %13, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 9), align 8, !tbaa !34
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 7), i8 0, i64 16, i1 false)
%14 = load i32, ptr @OPS_MAGIC, align 4, !tbaa !14
store i32 %14, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @fbsd_core_ops, i64 0, i32 6), align 4, !tbaa !35
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, 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" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !11, i64 40, !11, i64 48, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !11, i64 72, !11, i64 80, !10, i64 88, !10, i64 92, !7, i64 96, !7, i64 104, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !11, i64 128, !11, i64 136, !10, i64 144, !10, i64 148}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 16}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !10, i64 148}
!16 = !{!6, !10, i64 144}
!17 = !{!6, !10, i64 124}
!18 = !{!6, !10, i64 120}
!19 = !{!6, !10, i64 116}
!20 = !{!6, !10, i64 112}
!21 = !{!7, !7, i64 0}
!22 = !{!6, !7, i64 104}
!23 = !{!6, !7, i64 96}
!24 = !{!6, !10, i64 92}
!25 = !{!6, !10, i64 88}
!26 = !{!6, !11, i64 80}
!27 = !{!6, !10, i64 24}
!28 = !{!6, !10, i64 28}
!29 = !{!6, !10, i64 32}
!30 = !{!6, !11, i64 72}
!31 = !{!6, !10, i64 68}
!32 = !{!6, !10, i64 64}
!33 = !{!6, !10, i64 60}
!34 = !{!6, !10, i64 56}
!35 = !{!6, !10, i64 36}
| ; ModuleID = 'AnghaBench/freebsd/gnu/usr.bin/gdb/libgdb/extr_fbsd-threads.c_init_fbsd_core_ops.c'
source_filename = "AnghaBench/freebsd/gnu/usr.bin/gdb/libgdb/extr_fbsd-threads.c_init_fbsd_core_ops.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, ptr, ptr, i32, i32, i32, i32, i64, i64, i32, i32, i32, i32, i64, i64, i32, i32, ptr, ptr, i32, i32, i32, i32, i64, i64, i32, i32 }
@.str = private unnamed_addr constant [13 x i8] c"FreeBSD-core\00", align 1
@fbsd_core_ops = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [37 x i8] c"FreeBSD multithreaded core dump file\00", align 1
@.str.2 = private unnamed_addr constant [69 x i8] c"Use a core file as a target. Specify the filename of the core file.\00", align 1
@fbsd_core_open = common local_unnamed_addr global i32 0, align 4
@fbsd_core_close = common local_unnamed_addr global i32 0, align 4
@fbsd_core_detach = common local_unnamed_addr global i32 0, align 4
@fbsd_thread_fetch_registers = common local_unnamed_addr global i32 0, align 4
@fbsd_thread_xfer_memory = common local_unnamed_addr global i32 0, align 4
@fbsd_core_files_info = common local_unnamed_addr global i32 0, align 4
@ignore = common local_unnamed_addr global ptr null, align 8
@fbsd_thread_create_inferior = common local_unnamed_addr global i32 0, align 4
@core_stratum = common local_unnamed_addr global i32 0, align 4
@tc_none = common local_unnamed_addr global i32 0, align 4
@fbsd_thread_alive = common local_unnamed_addr global i32 0, align 4
@fbsd_thread_pid_to_str = common local_unnamed_addr global i32 0, align 4
@fbsd_thread_find_new_threads = common local_unnamed_addr global i32 0, align 4
@OPS_MAGIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @init_fbsd_core_ops], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal void @init_fbsd_core_ops() #0 {
store ptr @.str, ptr @fbsd_core_ops, align 8, !tbaa !6
store ptr @.str.1, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 8), align 8, !tbaa !13
store ptr @.str.2, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 16), align 8, !tbaa !14
%1 = load i32, ptr @fbsd_core_open, align 4, !tbaa !15
store i32 %1, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 148), align 4, !tbaa !16
%2 = load i32, ptr @fbsd_core_close, align 4, !tbaa !15
store i32 %2, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 144), align 8, !tbaa !17
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 128), i8 0, i64 16, i1 false)
%3 = load i32, ptr @fbsd_core_detach, align 4, !tbaa !15
store i32 %3, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 124), align 4, !tbaa !18
%4 = load i32, ptr @fbsd_thread_fetch_registers, align 4, !tbaa !15
store i32 %4, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 120), align 8, !tbaa !19
%5 = load i32, ptr @fbsd_thread_xfer_memory, align 4, !tbaa !15
store i32 %5, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 116), align 4, !tbaa !20
%6 = load i32, ptr @fbsd_core_files_info, align 4, !tbaa !15
store i32 %6, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 112), align 8, !tbaa !21
%7 = load ptr, ptr @ignore, align 8, !tbaa !22
store ptr %7, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 104), align 8, !tbaa !23
store ptr %7, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 96), align 8, !tbaa !24
%8 = load i32, ptr @fbsd_thread_create_inferior, align 4, !tbaa !15
store i32 %8, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 92), align 4, !tbaa !25
%9 = load i32, ptr @core_stratum, align 4, !tbaa !15
store i32 %9, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 88), align 8, !tbaa !26
store <2 x i32> <i32 1, i32 1>, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 24), align 8, !tbaa !15
store i32 1, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 32), align 8, !tbaa !27
store <2 x i64> zeroinitializer, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 72), align 8, !tbaa !28
%10 = load i32, ptr @tc_none, align 4, !tbaa !15
store i32 %10, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 68), align 4, !tbaa !29
%11 = load i32, ptr @fbsd_thread_alive, align 4, !tbaa !15
store i32 %11, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 64), align 8, !tbaa !30
%12 = load i32, ptr @fbsd_thread_pid_to_str, align 4, !tbaa !15
store i32 %12, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 60), align 4, !tbaa !31
%13 = load i32, ptr @fbsd_thread_find_new_threads, align 4, !tbaa !15
store i32 %13, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 56), align 8, !tbaa !32
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 40), i8 0, i64 16, i1 false)
%14 = load i32, ptr @OPS_MAGIC, align 4, !tbaa !15
store i32 %14, ptr getelementptr inbounds (i8, ptr @fbsd_core_ops, i64 36), align 4, !tbaa !33
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, 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" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !12, i64 40, !12, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !12, i64 72, !12, i64 80, !11, i64 88, !11, i64 92, !8, i64 96, !8, i64 104, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !12, i64 128, !12, i64 136, !11, i64 144, !11, i64 148}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 16}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !11, i64 148}
!17 = !{!7, !11, i64 144}
!18 = !{!7, !11, i64 124}
!19 = !{!7, !11, i64 120}
!20 = !{!7, !11, i64 116}
!21 = !{!7, !11, i64 112}
!22 = !{!8, !8, i64 0}
!23 = !{!7, !8, i64 104}
!24 = !{!7, !8, i64 96}
!25 = !{!7, !11, i64 92}
!26 = !{!7, !11, i64 88}
!27 = !{!7, !11, i64 32}
!28 = !{!12, !12, i64 0}
!29 = !{!7, !11, i64 68}
!30 = !{!7, !11, i64 64}
!31 = !{!7, !11, i64 60}
!32 = !{!7, !11, i64 56}
!33 = !{!7, !11, i64 36}
| freebsd_gnu_usr.bin_gdb_libgdb_extr_fbsd-threads.c_init_fbsd_core_ops |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_mbuf.c_m_uiotombuf_nomap.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_mbuf.c_m_uiotombuf_nomap.c"
target datalayout = "e-m:e-p270:32:32-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.mbuf = type { i32, %struct.TYPE_8__, %struct.TYPE_7__, ptr }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_7__ = type { i32, ptr }
%struct.mbuf_ext_pgs = type { i32, i32, ptr, i32 }
@MBUF_PEXT_MAX_PGS = dso_local local_unnamed_addr global i32 0, align 4
@VM_ALLOC_NOOBJ = dso_local local_unnamed_addr global i32 0, align 4
@VM_ALLOC_NODUMP = dso_local local_unnamed_addr global i32 0, align 4
@VM_ALLOC_WIRED = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@M_PKTHDR = dso_local local_unnamed_addr global i32 0, align 4
@mb_free_mext_pgs = dso_local local_unnamed_addr global i32 0, align 4
@MBUF_PEXT_FLAG_ANON = dso_local local_unnamed_addr global i32 0, align 4
@M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4
@PG_ZERO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @m_uiotombuf_nomap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @m_uiotombuf_nomap(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load i32, ptr @MBUF_PEXT_MAX_PGS, align 4, !tbaa !5
%7 = zext i32 %6 to i64
%8 = alloca ptr, i64 %7, align 16
%9 = tail call i32 @malloc2vm_flags(i32 noundef %1) #2
%10 = load i32, ptr @VM_ALLOC_NOOBJ, align 4, !tbaa !5
%11 = or i32 %10, %9
%12 = load i32, ptr @VM_ALLOC_NODUMP, align 4, !tbaa !5
%13 = or i32 %11, %12
%14 = load i32, ptr @VM_ALLOC_WIRED, align 4, !tbaa !5
%15 = or i32 %13, %14
%16 = icmp sgt i32 %2, 0
%17 = load i32, ptr %0, align 4, !tbaa !9
br i1 %16, label %18, label %20
18: ; preds = %5
%19 = tail call i32 @MIN(i32 noundef %17, i32 noundef %2) #2
br label %20
20: ; preds = %5, %18
%21 = phi i32 [ %19, %18 ], [ %17, %5 ]
%22 = icmp eq i32 %3, 0
%23 = load i32, ptr @MBUF_PEXT_MAX_PGS, align 4
%24 = load i32, ptr @PAGE_SIZE, align 4
%25 = mul nsw i32 %24, %23
%26 = select i1 %22, i32 %25, i32 %3
%27 = icmp sgt i32 %21, 0
br i1 %27, label %28, label %115
28: ; preds = %20
%29 = load i32, ptr @M_PKTHDR, align 4, !tbaa !5
br label %30
30: ; preds = %28, %110
%31 = phi i32 [ %103, %110 ], [ %29, %28 ]
%32 = phi i32 [ %94, %110 ], [ %21, %28 ]
%33 = phi ptr [ %44, %110 ], [ null, %28 ]
%34 = phi ptr [ %37, %110 ], [ undef, %28 ]
%35 = and i32 %31, %4
%36 = load i32, ptr @mb_free_mext_pgs, align 4, !tbaa !5
%37 = call ptr @mb_alloc_ext_pgs(i32 noundef %1, i32 noundef %35, i32 noundef %36) #2
%38 = icmp eq ptr %37, null
br i1 %38, label %112, label %39
39: ; preds = %30
%40 = icmp eq ptr %33, null
br i1 %40, label %43, label %41
41: ; preds = %39
%42 = getelementptr inbounds %struct.mbuf, ptr %34, i64 0, i32 3
store ptr %37, ptr %42, align 8, !tbaa !11
br label %43
43: ; preds = %39, %41
%44 = phi ptr [ %33, %41 ], [ %37, %39 ]
%45 = getelementptr inbounds %struct.mbuf, ptr %37, i64 0, i32 2
%46 = getelementptr inbounds %struct.mbuf, ptr %37, i64 0, i32 2, i32 1
%47 = load ptr, ptr %46, align 8, !tbaa !16
%48 = load i32, ptr @MBUF_PEXT_FLAG_ANON, align 4, !tbaa !5
%49 = getelementptr inbounds %struct.mbuf_ext_pgs, ptr %47, i64 0, i32 3
store i32 %48, ptr %49, align 8, !tbaa !17
%50 = call i32 @MIN(i32 noundef %26, i32 noundef %32) #2
%51 = icmp sgt i32 %50, 0
br i1 %51, label %55, label %52
52: ; preds = %43
%53 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%54 = load i32, ptr %47, align 8, !tbaa !19
br label %86
55: ; preds = %43
%56 = getelementptr inbounds %struct.mbuf_ext_pgs, ptr %47, i64 0, i32 2
br label %57
57: ; preds = %55, %71
%58 = phi i64 [ 0, %55 ], [ %82, %71 ]
%59 = phi i32 [ %50, %55 ], [ %84, %71 ]
%60 = call ptr @vm_page_alloc(ptr noundef null, i32 noundef 0, i32 noundef %15) #2
%61 = getelementptr inbounds ptr, ptr %8, i64 %58
store ptr %60, ptr %61, align 8, !tbaa !20
%62 = icmp eq ptr %60, null
br i1 %62, label %63, label %71
63: ; preds = %57, %67
%64 = load i32, ptr @M_NOWAIT, align 4, !tbaa !5
%65 = and i32 %64, %1
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %112
67: ; preds = %63
%68 = call i32 @vm_wait(ptr noundef null) #2
%69 = call ptr @vm_page_alloc(ptr noundef null, i32 noundef 0, i32 noundef %15) #2
store ptr %69, ptr %61, align 8, !tbaa !20
%70 = icmp eq ptr %69, null
br i1 %70, label %63, label %71
71: ; preds = %67, %57
%72 = phi ptr [ %60, %57 ], [ %69, %67 ]
%73 = load i32, ptr @PG_ZERO, align 4, !tbaa !5
%74 = xor i32 %73, -1
%75 = load i32, ptr %72, align 4, !tbaa !21
%76 = and i32 %75, %74
store i32 %76, ptr %72, align 4, !tbaa !21
%77 = call i32 @VM_PAGE_TO_PHYS(ptr noundef nonnull %72) #2
%78 = load ptr, ptr %56, align 8, !tbaa !23
%79 = getelementptr inbounds i32, ptr %78, i64 %58
store i32 %77, ptr %79, align 4, !tbaa !5
%80 = load i32, ptr %47, align 8, !tbaa !19
%81 = add nsw i32 %80, 1
store i32 %81, ptr %47, align 8, !tbaa !19
%82 = add nuw i64 %58, 1
%83 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%84 = sub nsw i32 %59, %83
%85 = icmp sgt i32 %84, 0
br i1 %85, label %57, label %86, !llvm.loop !24
86: ; preds = %71, %52
%87 = phi i32 [ %54, %52 ], [ %81, %71 ]
%88 = phi i32 [ %53, %52 ], [ %83, %71 ]
%89 = add nsw i32 %87, -1
%90 = mul nsw i32 %89, %88
%91 = sub nsw i32 %50, %90
%92 = getelementptr inbounds %struct.mbuf_ext_pgs, ptr %47, i64 0, i32 1
store i32 %91, ptr %92, align 4, !tbaa !26
%93 = call i32 @MBUF_EXT_PGS_ASSERT_SANITY(ptr noundef nonnull %47) #2
%94 = sub nsw i32 %32, %50
%95 = call i32 @uiomove_fromphys(ptr noundef nonnull %8, i32 noundef 0, i32 noundef %50, ptr noundef nonnull %0) #2
%96 = icmp eq i32 %95, 0
br i1 %96, label %97, label %112
97: ; preds = %86
store i32 %50, ptr %37, align 8, !tbaa !27
%98 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%99 = load i32, ptr %47, align 8, !tbaa !19
%100 = mul nsw i32 %99, %98
%101 = load i32, ptr %45, align 8, !tbaa !28
%102 = add nsw i32 %101, %100
store i32 %102, ptr %45, align 8, !tbaa !28
%103 = load i32, ptr @M_PKTHDR, align 4, !tbaa !5
%104 = and i32 %103, %4
%105 = icmp eq i32 %104, 0
br i1 %105, label %110, label %106
106: ; preds = %97
%107 = getelementptr inbounds %struct.mbuf, ptr %44, i64 0, i32 1
%108 = load i32, ptr %107, align 4, !tbaa !29
%109 = add nsw i32 %108, %50
store i32 %109, ptr %107, align 4, !tbaa !29
br label %110
110: ; preds = %106, %97
%111 = icmp sgt i32 %94, 0
br i1 %111, label %30, label %115, !llvm.loop !30
112: ; preds = %86, %30, %63
%113 = phi ptr [ %44, %63 ], [ %44, %86 ], [ %33, %30 ]
%114 = call i32 @m_freem(ptr noundef %113) #2
br label %115
115: ; preds = %110, %20, %112
%116 = phi ptr [ null, %112 ], [ null, %20 ], [ %44, %110 ]
ret ptr %116
}
declare i32 @malloc2vm_flags(i32 noundef) local_unnamed_addr #1
declare i32 @MIN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @mb_alloc_ext_pgs(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @vm_page_alloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vm_wait(ptr noundef) local_unnamed_addr #1
declare i32 @VM_PAGE_TO_PHYS(ptr noundef) local_unnamed_addr #1
declare i32 @MBUF_EXT_PGS_ASSERT_SANITY(ptr noundef) local_unnamed_addr #1
declare i32 @uiomove_fromphys(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @m_freem(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"uio", !6, i64 0}
!11 = !{!12, !15, i64 24}
!12 = !{!"mbuf", !6, i64 0, !13, i64 4, !14, i64 8, !15, i64 24}
!13 = !{!"TYPE_8__", !6, i64 0}
!14 = !{!"TYPE_7__", !6, i64 0, !15, i64 8}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!12, !15, i64 16}
!17 = !{!18, !6, i64 16}
!18 = !{!"mbuf_ext_pgs", !6, i64 0, !6, i64 4, !15, i64 8, !6, i64 16}
!19 = !{!18, !6, i64 0}
!20 = !{!15, !15, i64 0}
!21 = !{!22, !6, i64 0}
!22 = !{!"TYPE_9__", !6, i64 0}
!23 = !{!18, !15, i64 8}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!18, !6, i64 4}
!27 = !{!12, !6, i64 0}
!28 = !{!12, !6, i64 8}
!29 = !{!12, !6, i64 4}
!30 = distinct !{!30, !25}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_mbuf.c_m_uiotombuf_nomap.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_mbuf.c_m_uiotombuf_nomap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MBUF_PEXT_MAX_PGS = common local_unnamed_addr global i32 0, align 4
@VM_ALLOC_NOOBJ = common local_unnamed_addr global i32 0, align 4
@VM_ALLOC_NODUMP = common local_unnamed_addr global i32 0, align 4
@VM_ALLOC_WIRED = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@M_PKTHDR = common local_unnamed_addr global i32 0, align 4
@mb_free_mext_pgs = common local_unnamed_addr global i32 0, align 4
@MBUF_PEXT_FLAG_ANON = common local_unnamed_addr global i32 0, align 4
@M_NOWAIT = common local_unnamed_addr global i32 0, align 4
@PG_ZERO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @m_uiotombuf_nomap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @m_uiotombuf_nomap(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load i32, ptr @MBUF_PEXT_MAX_PGS, align 4, !tbaa !6
%7 = zext i32 %6 to i64
%8 = alloca ptr, i64 %7, align 8
%9 = tail call i32 @malloc2vm_flags(i32 noundef %1) #2
%10 = load i32, ptr @VM_ALLOC_NOOBJ, align 4, !tbaa !6
%11 = or i32 %10, %9
%12 = load i32, ptr @VM_ALLOC_NODUMP, align 4, !tbaa !6
%13 = or i32 %11, %12
%14 = load i32, ptr @VM_ALLOC_WIRED, align 4, !tbaa !6
%15 = or i32 %13, %14
%16 = icmp sgt i32 %2, 0
%17 = load i32, ptr %0, align 4, !tbaa !10
br i1 %16, label %18, label %20
18: ; preds = %5
%19 = tail call i32 @MIN(i32 noundef %17, i32 noundef %2) #2
br label %20
20: ; preds = %5, %18
%21 = phi i32 [ %19, %18 ], [ %17, %5 ]
%22 = icmp eq i32 %3, 0
%23 = load i32, ptr @MBUF_PEXT_MAX_PGS, align 4
%24 = load i32, ptr @PAGE_SIZE, align 4
%25 = mul nsw i32 %24, %23
%26 = select i1 %22, i32 %25, i32 %3
%27 = icmp sgt i32 %21, 0
br i1 %27, label %28, label %115
28: ; preds = %20
%29 = load i32, ptr @M_PKTHDR, align 4, !tbaa !6
br label %30
30: ; preds = %28, %110
%31 = phi i32 [ %103, %110 ], [ %29, %28 ]
%32 = phi i32 [ %94, %110 ], [ %21, %28 ]
%33 = phi ptr [ %44, %110 ], [ null, %28 ]
%34 = phi ptr [ %37, %110 ], [ undef, %28 ]
%35 = and i32 %31, %4
%36 = load i32, ptr @mb_free_mext_pgs, align 4, !tbaa !6
%37 = call ptr @mb_alloc_ext_pgs(i32 noundef %1, i32 noundef %35, i32 noundef %36) #2
%38 = icmp eq ptr %37, null
br i1 %38, label %112, label %39
39: ; preds = %30
%40 = icmp eq ptr %33, null
br i1 %40, label %43, label %41
41: ; preds = %39
%42 = getelementptr inbounds i8, ptr %34, i64 24
store ptr %37, ptr %42, align 8, !tbaa !12
br label %43
43: ; preds = %39, %41
%44 = phi ptr [ %33, %41 ], [ %37, %39 ]
%45 = getelementptr inbounds i8, ptr %37, i64 8
%46 = getelementptr inbounds i8, ptr %37, i64 16
%47 = load ptr, ptr %46, align 8, !tbaa !17
%48 = load i32, ptr @MBUF_PEXT_FLAG_ANON, align 4, !tbaa !6
%49 = getelementptr inbounds i8, ptr %47, i64 16
store i32 %48, ptr %49, align 8, !tbaa !18
%50 = call i32 @MIN(i32 noundef %26, i32 noundef %32) #2
%51 = icmp sgt i32 %50, 0
br i1 %51, label %55, label %52
52: ; preds = %43
%53 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6
%54 = load i32, ptr %47, align 8, !tbaa !20
br label %86
55: ; preds = %43
%56 = getelementptr inbounds i8, ptr %47, i64 8
br label %57
57: ; preds = %55, %71
%58 = phi i64 [ 0, %55 ], [ %82, %71 ]
%59 = phi i32 [ %50, %55 ], [ %84, %71 ]
%60 = call ptr @vm_page_alloc(ptr noundef null, i32 noundef 0, i32 noundef %15) #2
%61 = getelementptr inbounds ptr, ptr %8, i64 %58
store ptr %60, ptr %61, align 8, !tbaa !21
%62 = icmp eq ptr %60, null
br i1 %62, label %63, label %71
63: ; preds = %57, %67
%64 = load i32, ptr @M_NOWAIT, align 4, !tbaa !6
%65 = and i32 %64, %1
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %112
67: ; preds = %63
%68 = call i32 @vm_wait(ptr noundef null) #2
%69 = call ptr @vm_page_alloc(ptr noundef null, i32 noundef 0, i32 noundef %15) #2
store ptr %69, ptr %61, align 8, !tbaa !21
%70 = icmp eq ptr %69, null
br i1 %70, label %63, label %71
71: ; preds = %67, %57
%72 = phi ptr [ %60, %57 ], [ %69, %67 ]
%73 = load i32, ptr @PG_ZERO, align 4, !tbaa !6
%74 = xor i32 %73, -1
%75 = load i32, ptr %72, align 4, !tbaa !22
%76 = and i32 %75, %74
store i32 %76, ptr %72, align 4, !tbaa !22
%77 = call i32 @VM_PAGE_TO_PHYS(ptr noundef nonnull %72) #2
%78 = load ptr, ptr %56, align 8, !tbaa !24
%79 = getelementptr inbounds i32, ptr %78, i64 %58
store i32 %77, ptr %79, align 4, !tbaa !6
%80 = load i32, ptr %47, align 8, !tbaa !20
%81 = add nsw i32 %80, 1
store i32 %81, ptr %47, align 8, !tbaa !20
%82 = add nuw nsw i64 %58, 1
%83 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6
%84 = sub nsw i32 %59, %83
%85 = icmp sgt i32 %84, 0
br i1 %85, label %57, label %86, !llvm.loop !25
86: ; preds = %71, %52
%87 = phi i32 [ %54, %52 ], [ %81, %71 ]
%88 = phi i32 [ %53, %52 ], [ %83, %71 ]
%89 = add nsw i32 %87, -1
%90 = mul nsw i32 %89, %88
%91 = sub nsw i32 %50, %90
%92 = getelementptr inbounds i8, ptr %47, i64 4
store i32 %91, ptr %92, align 4, !tbaa !27
%93 = call i32 @MBUF_EXT_PGS_ASSERT_SANITY(ptr noundef nonnull %47) #2
%94 = sub nsw i32 %32, %50
%95 = call i32 @uiomove_fromphys(ptr noundef nonnull %8, i32 noundef 0, i32 noundef %50, ptr noundef nonnull %0) #2
%96 = icmp eq i32 %95, 0
br i1 %96, label %97, label %112
97: ; preds = %86
store i32 %50, ptr %37, align 8, !tbaa !28
%98 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6
%99 = load i32, ptr %47, align 8, !tbaa !20
%100 = mul nsw i32 %99, %98
%101 = load i32, ptr %45, align 8, !tbaa !29
%102 = add nsw i32 %101, %100
store i32 %102, ptr %45, align 8, !tbaa !29
%103 = load i32, ptr @M_PKTHDR, align 4, !tbaa !6
%104 = and i32 %103, %4
%105 = icmp eq i32 %104, 0
br i1 %105, label %110, label %106
106: ; preds = %97
%107 = getelementptr inbounds i8, ptr %44, i64 4
%108 = load i32, ptr %107, align 4, !tbaa !30
%109 = add nsw i32 %108, %50
store i32 %109, ptr %107, align 4, !tbaa !30
br label %110
110: ; preds = %106, %97
%111 = icmp sgt i32 %94, 0
br i1 %111, label %30, label %115, !llvm.loop !31
112: ; preds = %86, %30, %63
%113 = phi ptr [ %44, %63 ], [ %44, %86 ], [ %33, %30 ]
%114 = call i32 @m_freem(ptr noundef %113) #2
br label %115
115: ; preds = %110, %20, %112
%116 = phi ptr [ null, %112 ], [ null, %20 ], [ %44, %110 ]
ret ptr %116
}
declare i32 @malloc2vm_flags(i32 noundef) local_unnamed_addr #1
declare i32 @MIN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @mb_alloc_ext_pgs(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @vm_page_alloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vm_wait(ptr noundef) local_unnamed_addr #1
declare i32 @VM_PAGE_TO_PHYS(ptr noundef) local_unnamed_addr #1
declare i32 @MBUF_EXT_PGS_ASSERT_SANITY(ptr noundef) local_unnamed_addr #1
declare i32 @uiomove_fromphys(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @m_freem(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"uio", !7, i64 0}
!12 = !{!13, !16, i64 24}
!13 = !{!"mbuf", !7, i64 0, !14, i64 4, !15, i64 8, !16, i64 24}
!14 = !{!"TYPE_8__", !7, i64 0}
!15 = !{!"TYPE_7__", !7, i64 0, !16, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!13, !16, i64 16}
!18 = !{!19, !7, i64 16}
!19 = !{!"mbuf_ext_pgs", !7, i64 0, !7, i64 4, !16, i64 8, !7, i64 16}
!20 = !{!19, !7, i64 0}
!21 = !{!16, !16, i64 0}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_9__", !7, i64 0}
!24 = !{!19, !16, i64 8}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!19, !7, i64 4}
!28 = !{!13, !7, i64 0}
!29 = !{!13, !7, i64 8}
!30 = !{!13, !7, i64 4}
!31 = distinct !{!31, !26}
| freebsd_sys_kern_extr_uipc_mbuf.c_m_uiotombuf_nomap |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_ai_chat.c_BotIsFirstInRankings.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_ai_chat.c_BotIsFirstInRankings.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr }
@MAX_INFO_STRING = dso_local local_unnamed_addr global i32 0, align 4
@BotIsFirstInRankings.maxclients = internal unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"sv_maxclients\00", align 1
@PERS_SCORE = dso_local local_unnamed_addr global i64 0, align 8
@MAX_CLIENTS = dso_local local_unnamed_addr global i32 0, align 4
@CS_PLAYERS = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"n\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"t\00", align 1
@TEAM_SPECTATOR = dso_local local_unnamed_addr global i64 0, align 8
@qfalse = dso_local local_unnamed_addr global i32 0, align 4
@qtrue = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @BotIsFirstInRankings(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_7__, align 8
%3 = load i32, ptr @MAX_INFO_STRING, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%6 = load i32, ptr @BotIsFirstInRankings.maxclients, align 4, !tbaa !5
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call i32 @trap_Cvar_VariableIntegerValue(ptr noundef nonnull @.str) #3
store i32 %9, ptr @BotIsFirstInRankings.maxclients, align 4, !tbaa !5
br label %10
10: ; preds = %8, %1
%11 = phi i32 [ %9, %8 ], [ %6, %1 ]
%12 = load ptr, ptr %0, align 8, !tbaa !9
%13 = load i64, ptr @PERS_SCORE, align 8, !tbaa !13
%14 = getelementptr inbounds i32, ptr %12, i64 %13
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = icmp sgt i32 %11, 0
%17 = load i32, ptr @MAX_CLIENTS, align 4
%18 = icmp sgt i32 %17, 0
%19 = select i1 %16, i1 %18, i1 false
br i1 %19, label %20, label %53
20: ; preds = %10, %44
%21 = phi i64 [ %45, %44 ], [ 0, %10 ]
%22 = load i64, ptr @CS_PLAYERS, align 8, !tbaa !13
%23 = add nsw i64 %22, %21
%24 = call i32 @trap_GetConfigstring(i64 noundef %23, ptr noundef nonnull %5, i32 noundef %3) #3
%25 = call i32 @strlen(ptr noundef nonnull %5) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %44, label %27
27: ; preds = %20
%28 = call ptr @Info_ValueForKey(ptr noundef nonnull %5, ptr noundef nonnull @.str.1) #3
%29 = call i32 @strlen(ptr noundef %28) #3
%30 = icmp eq i32 %29, 0
br i1 %30, label %44, label %31
31: ; preds = %27
%32 = call ptr @Info_ValueForKey(ptr noundef nonnull %5, ptr noundef nonnull @.str.2) #3
%33 = call i64 @atoi(ptr noundef %32) #3
%34 = load i64, ptr @TEAM_SPECTATOR, align 8, !tbaa !13
%35 = icmp eq i64 %33, %34
br i1 %35, label %44, label %36
36: ; preds = %31
%37 = trunc i64 %21 to i32
%38 = call i32 @BotAI_GetClientState(i32 noundef %37, ptr noundef nonnull %2) #3
%39 = load ptr, ptr %2, align 8, !tbaa !15
%40 = load i64, ptr @PERS_SCORE, align 8, !tbaa !13
%41 = getelementptr inbounds i32, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !5
%43 = icmp slt i32 %15, %42
br i1 %43, label %53, label %44
44: ; preds = %36, %31, %20, %27
%45 = add nuw nsw i64 %21, 1
%46 = load i32, ptr @BotIsFirstInRankings.maxclients, align 4, !tbaa !5
%47 = sext i32 %46 to i64
%48 = icmp slt i64 %45, %47
%49 = load i32, ptr @MAX_CLIENTS, align 4
%50 = sext i32 %49 to i64
%51 = icmp slt i64 %45, %50
%52 = select i1 %48, i1 %51, i1 false
br i1 %52, label %20, label %53, !llvm.loop !17
53: ; preds = %36, %44, %10
%54 = phi ptr [ @qtrue, %10 ], [ @qtrue, %44 ], [ @qfalse, %36 ]
%55 = load i32, ptr %54, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %55
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @trap_Cvar_VariableIntegerValue(ptr noundef) local_unnamed_addr #2
declare i32 @trap_GetConfigstring(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare ptr @Info_ValueForKey(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @atoi(ptr noundef) local_unnamed_addr #2
declare i32 @BotAI_GetClientState(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"TYPE_8__", !11, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_7__", !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_ai_chat.c_BotIsFirstInRankings.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_ai_chat.c_BotIsFirstInRankings.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 { ptr }
@MAX_INFO_STRING = common local_unnamed_addr global i32 0, align 4
@BotIsFirstInRankings.maxclients = internal unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"sv_maxclients\00", align 1
@PERS_SCORE = common local_unnamed_addr global i64 0, align 8
@MAX_CLIENTS = common local_unnamed_addr global i32 0, align 4
@CS_PLAYERS = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"n\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"t\00", align 1
@TEAM_SPECTATOR = common local_unnamed_addr global i64 0, align 8
@qfalse = common local_unnamed_addr global i32 0, align 4
@qtrue = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @BotIsFirstInRankings(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_7__, align 8
%3 = load i32, ptr @MAX_INFO_STRING, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 1
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%6 = load i32, ptr @BotIsFirstInRankings.maxclients, align 4, !tbaa !6
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call i32 @trap_Cvar_VariableIntegerValue(ptr noundef nonnull @.str) #3
store i32 %9, ptr @BotIsFirstInRankings.maxclients, align 4, !tbaa !6
br label %10
10: ; preds = %8, %1
%11 = phi i32 [ %9, %8 ], [ %6, %1 ]
%12 = load ptr, ptr %0, align 8, !tbaa !10
%13 = load i64, ptr @PERS_SCORE, align 8, !tbaa !14
%14 = getelementptr inbounds i32, ptr %12, i64 %13
%15 = load i32, ptr %14, align 4, !tbaa !6
%16 = icmp sgt i32 %11, 0
%17 = load i32, ptr @MAX_CLIENTS, align 4
%18 = icmp sgt i32 %17, 0
%19 = select i1 %16, i1 %18, i1 false
br i1 %19, label %20, label %53
20: ; preds = %10, %44
%21 = phi i64 [ %45, %44 ], [ 0, %10 ]
%22 = load i64, ptr @CS_PLAYERS, align 8, !tbaa !14
%23 = add nsw i64 %22, %21
%24 = call i32 @trap_GetConfigstring(i64 noundef %23, ptr noundef nonnull %5, i32 noundef %3) #3
%25 = call i32 @strlen(ptr noundef nonnull %5) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %44, label %27
27: ; preds = %20
%28 = call ptr @Info_ValueForKey(ptr noundef nonnull %5, ptr noundef nonnull @.str.1) #3
%29 = call i32 @strlen(ptr noundef %28) #3
%30 = icmp eq i32 %29, 0
br i1 %30, label %44, label %31
31: ; preds = %27
%32 = call ptr @Info_ValueForKey(ptr noundef nonnull %5, ptr noundef nonnull @.str.2) #3
%33 = call i64 @atoi(ptr noundef %32) #3
%34 = load i64, ptr @TEAM_SPECTATOR, align 8, !tbaa !14
%35 = icmp eq i64 %33, %34
br i1 %35, label %44, label %36
36: ; preds = %31
%37 = trunc nuw nsw i64 %21 to i32
%38 = call i32 @BotAI_GetClientState(i32 noundef %37, ptr noundef nonnull %2) #3
%39 = load ptr, ptr %2, align 8, !tbaa !16
%40 = load i64, ptr @PERS_SCORE, align 8, !tbaa !14
%41 = getelementptr inbounds i32, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !6
%43 = icmp slt i32 %15, %42
br i1 %43, label %53, label %44
44: ; preds = %36, %31, %20, %27
%45 = add nuw nsw i64 %21, 1
%46 = load i32, ptr @BotIsFirstInRankings.maxclients, align 4, !tbaa !6
%47 = sext i32 %46 to i64
%48 = icmp slt i64 %45, %47
%49 = load i32, ptr @MAX_CLIENTS, align 4
%50 = sext i32 %49 to i64
%51 = icmp slt i64 %45, %50
%52 = select i1 %48, i1 %51, i1 false
br i1 %52, label %20, label %53, !llvm.loop !18
53: ; preds = %36, %44, %10
%54 = phi ptr [ @qtrue, %10 ], [ @qtrue, %44 ], [ @qfalse, %36 ]
%55 = load i32, ptr %54, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %55
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @trap_Cvar_VariableIntegerValue(ptr noundef) local_unnamed_addr #2
declare i32 @trap_GetConfigstring(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare ptr @Info_ValueForKey(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @atoi(ptr noundef) local_unnamed_addr #2
declare i32 @BotAI_GetClientState(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"TYPE_8__", !12, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_7__", !13, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| Quake-III-Arena_code_game_extr_ai_chat.c_BotIsFirstInRankings |
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_int.c_ecore_general_attention_35.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_int.c_ecore_general_attention_35.c"
target datalayout = "e-m:e-p270:32:32-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 [23 x i8] c"General attention 35!\0A\00", align 1
@ECORE_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ecore_general_attention_35], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ecore_general_attention_35(ptr noundef %0) #0 {
%2 = tail call i32 @DP_INFO(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = load i32, ptr @ECORE_SUCCESS, align 4, !tbaa !5
ret i32 %3
}
declare i32 @DP_INFO(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/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_int.c_ecore_general_attention_35.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_int.c_ecore_general_attention_35.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [23 x i8] c"General attention 35!\0A\00", align 1
@ECORE_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ecore_general_attention_35], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ecore_general_attention_35(ptr noundef %0) #0 {
%2 = tail call i32 @DP_INFO(ptr noundef %0, ptr noundef nonnull @.str) #2
%3 = load i32, ptr @ECORE_SUCCESS, align 4, !tbaa !6
ret i32 %3
}
declare i32 @DP_INFO(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"}
| freebsd_sys_dev_qlnx_qlnxe_extr_ecore_int.c_ecore_general_attention_35 |
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_vulkan.c_vulkan_suppress_screensaver.c'
source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_vulkan.c_vulkan_suppress_screensaver.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @vulkan_suppress_screensaver], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vulkan_suppress_screensaver(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %12, label %5
5: ; preds = %2
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %5
%11 = tail call i32 %8(i64 noundef %3, i32 noundef %1) #1
br label %12
12: ; preds = %2, %5, %10
%13 = phi i32 [ %11, %10 ], [ 0, %5 ], [ 0, %2 ]
ret i32 %13
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_3__", !10, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_vulkan.c_vulkan_suppress_screensaver.c'
source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_vulkan.c_vulkan_suppress_screensaver.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 @vulkan_suppress_screensaver], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vulkan_suppress_screensaver(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %12, label %5
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %5
%11 = tail call i32 %8(i64 noundef %3, i32 noundef %1) #1
br label %12
12: ; preds = %2, %5, %10
%13 = phi i32 [ %11, %10 ], [ 0, %5 ], [ 0, %2 ]
ret i32 %13
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_3__", !11, i64 0}
| RetroArch_gfx_drivers_extr_vulkan.c_vulkan_suppress_screensaver |
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_compal-laptop.c_pwm_enable_store.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_compal-laptop.c_pwm_enable_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.compal_data = type { i64, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pwm_enable_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pwm_enable_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %28
9: ; preds = %4
%10 = load i64, ptr %5, align 8, !tbaa !5
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr @EINVAL, align 4, !tbaa !9
%14 = sub nsw i32 0, %13
br label %28
15: ; preds = %9
store i64 %10, ptr %6, align 8, !tbaa !11
switch i64 %10, label %24 [
i64 0, label %16
i64 1, label %19
]
16: ; preds = %15
%17 = call i32 (...) @pwm_enable_control() #3
%18 = call i32 @set_pwm(i32 noundef 255) #3
br label %26
19: ; preds = %15
%20 = call i32 (...) @pwm_enable_control() #3
%21 = getelementptr inbounds %struct.compal_data, ptr %6, i64 0, i32 1
%22 = load i32, ptr %21, align 8, !tbaa !13
%23 = call i32 @set_pwm(i32 noundef %22) #3
br label %26
24: ; preds = %15
%25 = call i32 (...) @pwm_disable_control() #3
br label %26
26: ; preds = %24, %19, %16
%27 = trunc i64 %3 to i32
br label %28
28: ; preds = %4, %26, %12
%29 = phi i32 [ %14, %12 ], [ %27, %26 ], [ %7, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pwm_enable_control(...) local_unnamed_addr #2
declare i32 @set_pwm(i32 noundef) local_unnamed_addr #2
declare i32 @pwm_disable_control(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"compal_data", !6, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_compal-laptop.c_pwm_enable_store.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_compal-laptop.c_pwm_enable_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pwm_enable_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pwm_enable_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %28
9: ; preds = %4
%10 = load i64, ptr %5, align 8, !tbaa !6
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr @EINVAL, align 4, !tbaa !10
%14 = sub nsw i32 0, %13
br label %28
15: ; preds = %9
store i64 %10, ptr %6, align 8, !tbaa !12
switch i64 %10, label %24 [
i64 0, label %16
i64 1, label %19
]
16: ; preds = %15
%17 = call i32 @pwm_enable_control() #3
%18 = call i32 @set_pwm(i32 noundef 255) #3
br label %26
19: ; preds = %15
%20 = call i32 @pwm_enable_control() #3
%21 = getelementptr inbounds i8, ptr %6, i64 8
%22 = load i32, ptr %21, align 8, !tbaa !14
%23 = call i32 @set_pwm(i32 noundef %22) #3
br label %26
24: ; preds = %15
%25 = call i32 @pwm_disable_control() #3
br label %26
26: ; preds = %24, %19, %16
%27 = trunc i64 %3 to i32
br label %28
28: ; preds = %4, %26, %12
%29 = phi i32 [ %14, %12 ], [ %27, %26 ], [ %7, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pwm_enable_control(...) local_unnamed_addr #2
declare i32 @set_pwm(i32 noundef) local_unnamed_addr #2
declare i32 @pwm_disable_control(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"compal_data", !7, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 8}
| linux_drivers_platform_x86_extr_compal-laptop.c_pwm_enable_store |
; ModuleID = 'AnghaBench/freebsd/sys/cam/extr_cam_iosched.c_cam_iosched_get_trim.c'
source_filename = "AnghaBench/freebsd/sys/cam/extr_cam_iosched.c_cam_iosched_get_trim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@do_dynamic_iosched = dso_local local_unnamed_addr global i64 0, align 8
@iosched_debug = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @cam_iosched_get_trim(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @cam_iosched_has_more_trim(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call ptr @cam_iosched_next_trim(ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
%7 = phi ptr [ %5, %4 ], [ null, %1 ]
ret ptr %7
}
declare i32 @cam_iosched_has_more_trim(ptr noundef) local_unnamed_addr #1
declare ptr @cam_iosched_next_trim(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/freebsd/sys/cam/extr_cam_iosched.c_cam_iosched_get_trim.c'
source_filename = "AnghaBench/freebsd/sys/cam/extr_cam_iosched.c_cam_iosched_get_trim.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@do_dynamic_iosched = common local_unnamed_addr global i64 0, align 8
@iosched_debug = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @cam_iosched_get_trim(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @cam_iosched_has_more_trim(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call ptr @cam_iosched_next_trim(ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
%7 = phi ptr [ %5, %4 ], [ null, %1 ]
ret ptr %7
}
declare i32 @cam_iosched_has_more_trim(ptr noundef) local_unnamed_addr #1
declare ptr @cam_iosched_next_trim(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)"}
| freebsd_sys_cam_extr_cam_iosched.c_cam_iosched_get_trim |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslmapoutput.c_MpEmitOneDevice.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslmapoutput.c_MpEmitOneDevice.c"
target datalayout = "e-m:e-p270:32:32-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_NAMESPACE_NODE = dso_local local_unnamed_addr global i32 0, align 4
@ASL_FILE_MAP_OUTPUT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%-32s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%8s\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" // %s\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c" // %s (_DDN)\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@AE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @MpEmitOneDevice], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @MpEmitOneDevice(i32 noundef %0, i32 %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 {
%5 = load i32, ptr @ACPI_NAMESPACE_NODE, align 4, !tbaa !5
%6 = tail call i32 @ACPI_CAST_PTR(i32 noundef %5, i32 noundef %0) #2
%7 = tail call ptr @AcpiNsGetExternalPathname(i32 noundef %6) #2
%8 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !5
%9 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %8, ptr noundef nonnull @.str, ptr noundef %7) #2
%10 = load i32, ptr @ACPI_NAMESPACE_NODE, align 4, !tbaa !5
%11 = tail call i32 @ACPI_CAST_PTR(i32 noundef %10, i32 noundef %0) #2
%12 = tail call ptr @MpGetHidValue(i32 noundef %11) #2
%13 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !5
%14 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %13, ptr noundef nonnull @.str.1, ptr noundef %12) #2
%15 = tail call ptr @AcpiAhMatchHardwareId(ptr noundef %12) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %4
%18 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !5
%19 = load i32, ptr %15, align 4, !tbaa !9
%20 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %18, ptr noundef nonnull @.str.2, i32 noundef %19) #2
br label %27
21: ; preds = %4
%22 = tail call ptr @MpGetDdnValue(ptr noundef %7) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !5
%26 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %25, ptr noundef nonnull @.str.3, ptr noundef nonnull %22) #2
br label %27
27: ; preds = %21, %24, %17
%28 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !5
%29 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %28, ptr noundef nonnull @.str.4) #2
%30 = tail call i32 @ACPI_FREE(ptr noundef %7) #2
%31 = load i32, ptr @AE_OK, align 4, !tbaa !5
ret i32 %31
}
declare ptr @AcpiNsGetExternalPathname(i32 noundef) local_unnamed_addr #1
declare i32 @ACPI_CAST_PTR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FlPrintFile(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @MpGetHidValue(i32 noundef) local_unnamed_addr #1
declare ptr @AcpiAhMatchHardwareId(ptr noundef) local_unnamed_addr #1
declare ptr @MpGetDdnValue(ptr noundef) local_unnamed_addr #1
declare i32 @ACPI_FREE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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/freebsd/sys/contrib/dev/acpica/compiler/extr_aslmapoutput.c_MpEmitOneDevice.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslmapoutput.c_MpEmitOneDevice.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACPI_NAMESPACE_NODE = common local_unnamed_addr global i32 0, align 4
@ASL_FILE_MAP_OUTPUT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%-32s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%8s\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" // %s\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c" // %s (_DDN)\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@AE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @MpEmitOneDevice], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @MpEmitOneDevice(i32 noundef %0, i32 %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 {
%5 = load i32, ptr @ACPI_NAMESPACE_NODE, align 4, !tbaa !6
%6 = tail call i32 @ACPI_CAST_PTR(i32 noundef %5, i32 noundef %0) #2
%7 = tail call ptr @AcpiNsGetExternalPathname(i32 noundef %6) #2
%8 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !6
%9 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %8, ptr noundef nonnull @.str, ptr noundef %7) #2
%10 = load i32, ptr @ACPI_NAMESPACE_NODE, align 4, !tbaa !6
%11 = tail call i32 @ACPI_CAST_PTR(i32 noundef %10, i32 noundef %0) #2
%12 = tail call ptr @MpGetHidValue(i32 noundef %11) #2
%13 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !6
%14 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %13, ptr noundef nonnull @.str.1, ptr noundef %12) #2
%15 = tail call ptr @AcpiAhMatchHardwareId(ptr noundef %12) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %4
%18 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !6
%19 = load i32, ptr %15, align 4, !tbaa !10
%20 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %18, ptr noundef nonnull @.str.2, i32 noundef %19) #2
br label %27
21: ; preds = %4
%22 = tail call ptr @MpGetDdnValue(ptr noundef %7) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !6
%26 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %25, ptr noundef nonnull @.str.3, ptr noundef nonnull %22) #2
br label %27
27: ; preds = %21, %24, %17
%28 = load i32, ptr @ASL_FILE_MAP_OUTPUT, align 4, !tbaa !6
%29 = tail call i32 (i32, ptr, ...) @FlPrintFile(i32 noundef %28, ptr noundef nonnull @.str.4) #2
%30 = tail call i32 @ACPI_FREE(ptr noundef %7) #2
%31 = load i32, ptr @AE_OK, align 4, !tbaa !6
ret i32 %31
}
declare ptr @AcpiNsGetExternalPathname(i32 noundef) local_unnamed_addr #1
declare i32 @ACPI_CAST_PTR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FlPrintFile(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @MpGetHidValue(i32 noundef) local_unnamed_addr #1
declare ptr @AcpiAhMatchHardwareId(ptr noundef) local_unnamed_addr #1
declare ptr @MpGetDdnValue(ptr noundef) local_unnamed_addr #1
declare i32 @ACPI_FREE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| freebsd_sys_contrib_dev_acpica_compiler_extr_aslmapoutput.c_MpEmitOneDevice |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_dis.c_dt_dis_tst.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_dis.c_dt_dis_tst.c"
target datalayout = "e-m:e-p270:32:32-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"%-4s %%r%u\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dt_dis_tst], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dt_dis_tst(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @DIF_INSTR_R1(i32 noundef %2) #2
%6 = tail call i32 @fprintf(ptr noundef %3, ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %5) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DIF_INSTR_R1(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_dis.c_dt_dis_tst.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_dis.c_dt_dis_tst.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"%-4s %%r%u\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dt_dis_tst], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dt_dis_tst(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @DIF_INSTR_R1(i32 noundef %2) #2
%6 = tail call i32 @fprintf(ptr noundef %3, ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %5) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DIF_INSTR_R1(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_cddl_contrib_opensolaris_lib_libdtrace_common_extr_dt_dis.c_dt_dis_tst |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_sched.c___wake_up_sync_key.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_sched.c___wake_up_sync_key.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@WF_SYNC = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @__wake_up_sync_key(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @WF_SYNC, align 4, !tbaa !5
%6 = icmp eq ptr %0, null
%7 = zext i1 %6 to i32
%8 = tail call i64 @unlikely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %4
%11 = icmp eq i32 %2, 0
%12 = zext i1 %11 to i32
%13 = tail call i64 @unlikely(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
%15 = select i1 %14, i32 %5, i32 0
%16 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%17 = tail call i32 @__wake_up_common(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %15, ptr noundef %3) #2
%18 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
br label %19
19: ; preds = %4, %10
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__wake_up_common(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_sched.c___wake_up_sync_key.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_sched.c___wake_up_sync_key.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WF_SYNC = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @__wake_up_sync_key(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @WF_SYNC, align 4, !tbaa !6
%6 = icmp eq ptr %0, null
%7 = zext i1 %6 to i32
%8 = tail call i64 @unlikely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %4
%11 = icmp eq i32 %2, 0
%12 = zext i1 %11 to i32
%13 = tail call i64 @unlikely(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
%15 = select i1 %14, i32 %5, i32 0
%16 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%17 = tail call i32 @__wake_up_common(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %15, ptr noundef %3) #2
%18 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
br label %19
19: ; preds = %4, %10
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__wake_up_common(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_kernel_extr_sched.c___wake_up_sync_key |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_ah.c_mlx5_ib_query_ah.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_ah.c_mlx5_ib_query_ah.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @mlx5_ib_query_ah(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @to_mah(ptr noundef %0) #2
%4 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 4) #2
%5 = load i32, ptr %0, align 4, !tbaa !5
store i32 %5, ptr %1, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 5
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = tail call i32 @be32_to_cpu(i32 noundef %7) #2
%9 = and i32 %8, 1073741824
%10 = icmp eq i32 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %2
%12 = and i32 %8, 1048575
%13 = lshr i32 %8, 20
%14 = and i32 %13, 255
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 4
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 3
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = tail call i32 @rdma_ah_set_grh(ptr noundef nonnull %1, ptr noundef null, i32 noundef %12, i32 noundef %14, i32 noundef %16, i32 noundef %18) #2
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2
%21 = load i32, ptr %20, align 4, !tbaa !17
%22 = tail call i32 @rdma_ah_set_dgid_raw(ptr noundef nonnull %1, i32 noundef %21) #2
br label %23
23: ; preds = %11, %2
%24 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !18
%26 = tail call i32 @be16_to_cpu(i32 noundef %25) #2
%27 = tail call i32 @rdma_ah_set_dlid(ptr noundef nonnull %1, i32 noundef %26) #2
%28 = load i32, ptr %3, align 4, !tbaa !19
%29 = ashr i32 %28, 4
%30 = tail call i32 @rdma_ah_set_static_rate(ptr noundef nonnull %1, i32 noundef %29) #2
%31 = load i32, ptr %3, align 4, !tbaa !19
%32 = and i32 %31, 15
%33 = tail call i32 @rdma_ah_set_sl(ptr noundef nonnull %1, i32 noundef %32) #2
ret i32 0
}
declare ptr @to_mah(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_grh(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_dgid_raw(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_dlid(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_static_rate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_sl(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 = !{!"ib_ah", !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 = !{!"rdma_ah_attr", !7, i64 0}
!12 = !{!13, !7, i64 20}
!13 = !{!"mlx5_ib_ah", !14, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!15 = !{!13, !7, i64 16}
!16 = !{!13, !7, i64 12}
!17 = !{!13, !7, i64 8}
!18 = !{!13, !7, i64 4}
!19 = !{!13, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_ah.c_mlx5_ib_query_ah.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_ah.c_mlx5_ib_query_ah.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @mlx5_ib_query_ah(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @to_mah(ptr noundef %0) #2
%4 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 4) #2
%5 = load i32, ptr %0, align 4, !tbaa !6
store i32 %5, ptr %1, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %3, i64 20
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @be32_to_cpu(i32 noundef %7) #2
%9 = and i32 %8, 1073741824
%10 = icmp eq i32 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %2
%12 = and i32 %8, 1048575
%13 = lshr i32 %8, 20
%14 = and i32 %13, 255
%15 = getelementptr inbounds i8, ptr %3, i64 16
%16 = load i32, ptr %15, align 4, !tbaa !16
%17 = getelementptr inbounds i8, ptr %3, i64 12
%18 = load i32, ptr %17, align 4, !tbaa !17
%19 = tail call i32 @rdma_ah_set_grh(ptr noundef nonnull %1, ptr noundef null, i32 noundef %12, i32 noundef %14, i32 noundef %16, i32 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %3, i64 8
%21 = load i32, ptr %20, align 4, !tbaa !18
%22 = tail call i32 @rdma_ah_set_dgid_raw(ptr noundef nonnull %1, i32 noundef %21) #2
br label %23
23: ; preds = %11, %2
%24 = getelementptr inbounds i8, ptr %3, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !19
%26 = tail call i32 @be16_to_cpu(i32 noundef %25) #2
%27 = tail call i32 @rdma_ah_set_dlid(ptr noundef nonnull %1, i32 noundef %26) #2
%28 = load i32, ptr %3, align 4, !tbaa !20
%29 = ashr i32 %28, 4
%30 = tail call i32 @rdma_ah_set_static_rate(ptr noundef nonnull %1, i32 noundef %29) #2
%31 = load i32, ptr %3, align 4, !tbaa !20
%32 = and i32 %31, 15
%33 = tail call i32 @rdma_ah_set_sl(ptr noundef nonnull %1, i32 noundef %32) #2
ret i32 0
}
declare ptr @to_mah(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_grh(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_dgid_raw(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_dlid(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_static_rate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rdma_ah_set_sl(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 = !{!"ib_ah", !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 = !{!"rdma_ah_attr", !8, i64 0}
!13 = !{!14, !8, i64 20}
!14 = !{!"mlx5_ib_ah", !15, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!16 = !{!14, !8, i64 16}
!17 = !{!14, !8, i64 12}
!18 = !{!14, !8, i64 8}
!19 = !{!14, !8, i64 4}
!20 = !{!14, !8, i64 0}
| linux_drivers_infiniband_hw_mlx5_extr_ah.c_mlx5_ib_query_ah |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_ibmaem.c_aem_show_energy.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_ibmaem.c_aem_show_energy.c"
target datalayout = "e-m:e-p270:32:32-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.aem_data = type { ptr, i32 }
@.str = private unnamed_addr constant [6 x i8] c"%llu\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @aem_show_energy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @aem_show_energy(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%6 = getelementptr inbounds %struct.aem_data, ptr %5, i64 0, i32 1
%7 = tail call i32 @mutex_lock(ptr noundef nonnull %6) #2
%8 = load i64, ptr %4, align 8, !tbaa !5
%9 = tail call i32 @update_aem_energy_one(ptr noundef %5, i64 noundef %8) #2
%10 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2
%11 = load ptr, ptr %5, align 8, !tbaa !10
%12 = load i64, ptr %4, align 8, !tbaa !5
%13 = getelementptr inbounds i64, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = mul i64 %14, 1000
%16 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %15) #2
ret i32 %16
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @update_aem_energy_one(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sensor_device_attribute", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"aem_data", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_ibmaem.c_aem_show_energy.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_ibmaem.c_aem_show_energy.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 [6 x i8] c"%llu\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @aem_show_energy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @aem_show_energy(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = tail call i32 @mutex_lock(ptr noundef nonnull %6) #2
%8 = load i64, ptr %4, align 8, !tbaa !6
%9 = tail call i32 @update_aem_energy_one(ptr noundef %5, i64 noundef %8) #2
%10 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2
%11 = load ptr, ptr %5, align 8, !tbaa !11
%12 = load i64, ptr %4, align 8, !tbaa !6
%13 = getelementptr inbounds i64, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !15
%15 = mul i64 %14, 1000
%16 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %15) #2
ret i32 %16
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @update_aem_energy_one(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sensor_device_attribute", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"aem_data", !13, i64 0, !14, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!8, !8, i64 0}
| linux_drivers_hwmon_extr_ibmaem.c_aem_show_energy |
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s.c_kvmppc_core_check_processor_compat.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s.c_kvmppc_core_check_processor_compat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @kvmppc_core_check_processor_compat() local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s.c_kvmppc_core_check_processor_compat.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s.c_kvmppc_core_check_processor_compat.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @kvmppc_core_check_processor_compat() local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_powerpc_kvm_extr_book3s.c_kvmppc_core_check_processor_compat |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_i210.c___igb_access_xmdio_reg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_i210.c___igb_access_xmdio_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr }
@E1000_MMDAC = dso_local local_unnamed_addr global i32 0, align 4
@E1000_MMDAAD = dso_local local_unnamed_addr global i32 0, align 4
@E1000_MMDAC_FUNC_DATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__igb_access_xmdio_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @__igb_access_xmdio_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = load i32, ptr @E1000_MMDAC, align 4, !tbaa !12
%8 = tail call i64 %6(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %2) #1
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %41
10: ; preds = %5
%11 = load ptr, ptr %0, align 8, !tbaa !5
%12 = load i32, ptr @E1000_MMDAAD, align 4, !tbaa !12
%13 = tail call i64 %11(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %1) #1
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %41
15: ; preds = %10
%16 = load ptr, ptr %0, align 8, !tbaa !5
%17 = load i32, ptr @E1000_MMDAC, align 4, !tbaa !12
%18 = load i32, ptr @E1000_MMDAC_FUNC_DATA, align 4, !tbaa !12
%19 = or i32 %18, %2
%20 = tail call i64 %16(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %19) #1
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %41
22: ; preds = %15
%23 = icmp eq i32 %4, 0
br i1 %23, label %29, label %24
24: ; preds = %22
%25 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !14
%27 = load i32, ptr @E1000_MMDAAD, align 4, !tbaa !12
%28 = tail call i64 %26(ptr noundef nonnull %0, i32 noundef %27, ptr noundef %3) #1
br label %34
29: ; preds = %22
%30 = load ptr, ptr %0, align 8, !tbaa !5
%31 = load i32, ptr @E1000_MMDAAD, align 4, !tbaa !12
%32 = load i32, ptr %3, align 4, !tbaa !12
%33 = tail call i64 %30(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %32) #1
br label %34
34: ; preds = %29, %24
%35 = phi i64 [ %28, %24 ], [ %33, %29 ]
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load ptr, ptr %0, align 8, !tbaa !5
%39 = load i32, ptr @E1000_MMDAC, align 4, !tbaa !12
%40 = tail call i64 %38(ptr noundef nonnull %0, i32 noundef %39, i32 noundef 0) #1
br label %41
41: ; preds = %37, %34, %15, %10, %5
%42 = phi i64 [ %8, %5 ], [ %13, %10 ], [ %20, %15 ], [ %35, %34 ], [ %40, %37 ]
ret i64 %42
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !9, i64 0}
!6 = !{!"e1000_hw", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0, !9, i64 8}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!6, !9, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_i210.c___igb_access_xmdio_reg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_i210.c___igb_access_xmdio_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E1000_MMDAC = common local_unnamed_addr global i32 0, align 4
@E1000_MMDAAD = common local_unnamed_addr global i32 0, align 4
@E1000_MMDAC_FUNC_DATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__igb_access_xmdio_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @__igb_access_xmdio_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = load i32, ptr @E1000_MMDAC, align 4, !tbaa !13
%8 = tail call i64 %6(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %2) #1
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %41
10: ; preds = %5
%11 = load ptr, ptr %0, align 8, !tbaa !6
%12 = load i32, ptr @E1000_MMDAAD, align 4, !tbaa !13
%13 = tail call i64 %11(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %1) #1
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %41
15: ; preds = %10
%16 = load ptr, ptr %0, align 8, !tbaa !6
%17 = load i32, ptr @E1000_MMDAC, align 4, !tbaa !13
%18 = load i32, ptr @E1000_MMDAC_FUNC_DATA, align 4, !tbaa !13
%19 = or i32 %18, %2
%20 = tail call i64 %16(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %19) #1
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %41
22: ; preds = %15
%23 = icmp eq i32 %4, 0
br i1 %23, label %29, label %24
24: ; preds = %22
%25 = getelementptr inbounds i8, ptr %0, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !15
%27 = load i32, ptr @E1000_MMDAAD, align 4, !tbaa !13
%28 = tail call i64 %26(ptr noundef nonnull %0, i32 noundef %27, ptr noundef %3) #1
br label %34
29: ; preds = %22
%30 = load ptr, ptr %0, align 8, !tbaa !6
%31 = load i32, ptr @E1000_MMDAAD, align 4, !tbaa !13
%32 = load i32, ptr %3, align 4, !tbaa !13
%33 = tail call i64 %30(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %32) #1
br label %34
34: ; preds = %29, %24
%35 = phi i64 [ %28, %24 ], [ %33, %29 ]
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load ptr, ptr %0, align 8, !tbaa !6
%39 = load i32, ptr @E1000_MMDAC, align 4, !tbaa !13
%40 = tail call i64 %38(ptr noundef nonnull %0, i32 noundef %39, i32 noundef 0) #1
br label %41
41: ; preds = %37, %34, %15, %10, %5
%42 = phi i64 [ %8, %5 ], [ %13, %10 ], [ %20, %15 ], [ %35, %34 ], [ %40, %37 ]
ret i64 %42
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !10, i64 0}
!7 = !{!"e1000_hw", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0, !10, i64 8}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !11, i64 0}
!15 = !{!7, !10, i64 8}
| linux_drivers_net_ethernet_intel_igb_extr_e1000_i210.c___igb_access_xmdio_reg |
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/zte/extr_..pinmux.h_pinmux_request_gpio.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/zte/extr_..pinmux.h_pinmux_request_gpio.c"
target datalayout = "e-m:e-p270:32:32-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 @pinmux_request_gpio], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @pinmux_request_gpio(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2, i32 %3) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/pinctrl/zte/extr_..pinmux.h_pinmux_request_gpio.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/zte/extr_..pinmux.h_pinmux_request_gpio.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 @pinmux_request_gpio], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @pinmux_request_gpio(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2, i32 %3) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_pinctrl_zte_extr_..pinmux.h_pinmux_request_gpio |
; ModuleID = 'AnghaBench/kphp-kdb/hints/extr_maccub.c_chg_iter_val.c'
source_filename = "AnghaBench/kphp-kdb/hints/extr_maccub.c_chg_iter_val.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { ptr, i32, i64, ptr }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @chg_iter_val(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %32, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !12
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %16
8: ; preds = %4
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = getelementptr inbounds ptr, ptr %12, i64 %10
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = load i32, ptr %14, align 4, !tbaa !16
br label %32
16: ; preds = %4
%17 = ptrtoint ptr %2 to i64
%18 = icmp slt ptr %2, null
br i1 %18, label %19, label %24
19: ; preds = %16
%20 = icmp eq i32 %6, 0
br i1 %20, label %21, label %32
21: ; preds = %19
%22 = trunc i64 %17 to i32
%23 = sub i32 0, %22
br label %32
24: ; preds = %16
%25 = load i32, ptr %2, align 4, !tbaa !18
%26 = icmp slt i32 %6, %25
br i1 %26, label %27, label %32
27: ; preds = %24
%28 = sext i32 %6 to i64
%29 = getelementptr i32, ptr %2, i64 %28
%30 = getelementptr i32, ptr %29, i64 1
%31 = load i32, ptr %30, align 4, !tbaa !18
br label %32
32: ; preds = %24, %19, %1, %27, %21, %8
%33 = phi i32 [ %15, %8 ], [ %23, %21 ], [ %31, %27 ], [ 0, %1 ], [ 0, %19 ], [ 0, %24 ]
ret i32 %33
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !11, i64 16}
!14 = !{!6, !7, i64 24}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"TYPE_4__", !10, i64 0}
!18 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/kphp-kdb/hints/extr_maccub.c_chg_iter_val.c'
source_filename = "AnghaBench/kphp-kdb/hints/extr_maccub.c_chg_iter_val.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(read, inaccessiblemem: none) uwtable(sync)
define i32 @chg_iter_val(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %25, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !13
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %15
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = load ptr, ptr %11, align 8, !tbaa !15
%13 = getelementptr inbounds ptr, ptr %12, i64 %10
%14 = load ptr, ptr %13, align 8, !tbaa !16
br label %22
15: ; preds = %4
%16 = load i32, ptr %2, align 4, !tbaa !17
%17 = icmp slt i32 %6, %16
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = sext i32 %6 to i64
%20 = getelementptr i32, ptr %2, i64 %19
%21 = getelementptr i8, ptr %20, i64 4
br label %22
22: ; preds = %8, %18
%23 = phi ptr [ %21, %18 ], [ %14, %8 ]
%24 = load i32, ptr %23, align 4, !tbaa !17
br label %25
25: ; preds = %22, %15, %1
%26 = phi i32 [ 0, %1 ], [ 0, %15 ], [ %24, %22 ]
ret i32 %26
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !12, i64 16}
!15 = !{!7, !8, i64 24}
!16 = !{!8, !8, i64 0}
!17 = !{!11, !11, i64 0}
| kphp-kdb_hints_extr_maccub.c_chg_iter_val |
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_mmu.h_rsvd_bits.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_mmu.h_rsvd_bits.c"
target datalayout = "e-m:e-p270:32:32-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 @rsvd_bits], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i64 @rsvd_bits(i32 noundef %0, i32 noundef %1) #0 {
%3 = icmp slt i32 %1, %0
br i1 %3, label %12, label %4
4: ; preds = %2
%5 = sub i32 %1, %0
%6 = add i32 %5, 1
%7 = zext nneg i32 %6 to i64
%8 = shl nsw i64 -1, %7
%9 = xor i64 %8, -1
%10 = zext nneg i32 %0 to i64
%11 = shl i64 %9, %10
br label %12
12: ; preds = %2, %4
%13 = phi i64 [ %11, %4 ], [ 0, %2 ]
ret i64 %13
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_mmu.h_rsvd_bits.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_mmu.h_rsvd_bits.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 @rsvd_bits], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal i64 @rsvd_bits(i32 noundef %0, i32 noundef %1) #0 {
%3 = icmp slt i32 %1, %0
br i1 %3, label %12, label %4
4: ; preds = %2
%5 = sub i32 %1, %0
%6 = add i32 %5, 1
%7 = zext nneg i32 %6 to i64
%8 = shl nsw i64 -1, %7
%9 = xor i64 %8, -1
%10 = zext nneg i32 %0 to i64
%11 = shl i64 %9, %10
br label %12
12: ; preds = %2, %4
%13 = phi i64 [ %11, %4 ], [ 0, %2 ]
ret i64 %13
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_x86_kvm_extr_mmu.h_rsvd_bits |
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/sirf/extr_pinctrl-sirf.c_sirfsoc_pinmux_endisable.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/sirf/extr_pinctrl-sirf.c_sirfsoc_pinmux_endisable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr }
%struct.sirfsoc_padmux = type { i32, i32, i32, i64, ptr }
%struct.sirfsoc_pmx = type { i64, i64 }
%struct.sirfsoc_muxmask = type { i32, i32 }
@sirfsoc_pmx_functions = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sirfsoc_pinmux_endisable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sirfsoc_pinmux_endisable(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr @sirfsoc_pmx_functions, align 8, !tbaa !5
%5 = zext i32 %1 to i64
%6 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.sirfsoc_padmux, ptr %7, i64 0, i32 4
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = load i32, ptr %7, align 8, !tbaa !15
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %38
12: ; preds = %3
%13 = getelementptr inbounds %struct.sirfsoc_pmx, ptr %0, i64 0, i32 1
%14 = icmp eq i32 %2, 0
br label %15
15: ; preds = %12, %15
%16 = phi i64 [ 0, %12 ], [ %34, %15 ]
%17 = load i64, ptr %13, align 8, !tbaa !16
%18 = getelementptr inbounds %struct.sirfsoc_muxmask, ptr %9, i64 %16
%19 = getelementptr inbounds %struct.sirfsoc_muxmask, ptr %9, i64 %16, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !18
%21 = tail call i64 @SIRFSOC_GPIO_PAD_EN(i32 noundef %20) #2
%22 = add nsw i64 %21, %17
%23 = tail call i32 @readl(i64 noundef %22) #2
%24 = load i32, ptr %18, align 4, !tbaa !20
%25 = xor i32 %24, -1
%26 = and i32 %23, %25
%27 = or i32 %24, %23
%28 = select i1 %14, i32 %27, i32 %26
%29 = load i64, ptr %13, align 8, !tbaa !16
%30 = load i32, ptr %19, align 4, !tbaa !18
%31 = tail call i64 @SIRFSOC_GPIO_PAD_EN(i32 noundef %30) #2
%32 = add nsw i64 %31, %29
%33 = tail call i32 @writel(i32 noundef %28, i64 noundef %32) #2
%34 = add nuw nsw i64 %16, 1
%35 = load i32, ptr %7, align 8, !tbaa !15
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %34, %36
br i1 %37, label %15, label %38, !llvm.loop !21
38: ; preds = %15, %3
%39 = getelementptr inbounds %struct.sirfsoc_padmux, ptr %7, i64 0, i32 1
%40 = load i32, ptr %39, align 4, !tbaa !23
%41 = icmp ne i32 %40, 0
%42 = icmp ne i32 %2, 0
%43 = and i1 %42, %41
br i1 %43, label %44, label %60
44: ; preds = %38
%45 = load i64, ptr %0, align 8, !tbaa !24
%46 = getelementptr inbounds %struct.sirfsoc_padmux, ptr %7, i64 0, i32 3
%47 = load i64, ptr %46, align 8, !tbaa !25
%48 = add nsw i64 %47, %45
%49 = tail call i32 @readl(i64 noundef %48) #2
%50 = load i32, ptr %39, align 4, !tbaa !23
%51 = xor i32 %50, -1
%52 = and i32 %49, %51
%53 = getelementptr inbounds %struct.sirfsoc_padmux, ptr %7, i64 0, i32 2
%54 = load i32, ptr %53, align 8, !tbaa !26
%55 = or i32 %52, %54
%56 = load i64, ptr %0, align 8, !tbaa !24
%57 = load i64, ptr %46, align 8, !tbaa !25
%58 = add nsw i64 %57, %56
%59 = tail call i32 @writel(i32 noundef %55, i64 noundef %58) #2
br label %60
60: ; preds = %44, %38
ret void
}
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i64 @SIRFSOC_GPIO_PAD_EN(i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"sirfsoc_padmux", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 16, !6, i64 24}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!17, !14, i64 8}
!17 = !{!"sirfsoc_pmx", !14, i64 0, !14, i64 8}
!18 = !{!19, !13, i64 4}
!19 = !{!"sirfsoc_muxmask", !13, i64 0, !13, i64 4}
!20 = !{!19, !13, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!12, !13, i64 4}
!24 = !{!17, !14, i64 0}
!25 = !{!12, !14, i64 16}
!26 = !{!12, !13, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/pinctrl/sirf/extr_pinctrl-sirf.c_sirfsoc_pinmux_endisable.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/sirf/extr_pinctrl-sirf.c_sirfsoc_pinmux_endisable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
%struct.sirfsoc_muxmask = type { i32, i32 }
@sirfsoc_pmx_functions = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @sirfsoc_pinmux_endisable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sirfsoc_pinmux_endisable(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr @sirfsoc_pmx_functions, align 8, !tbaa !6
%5 = zext i32 %1 to i64
%6 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %7, i64 24
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr %7, align 8, !tbaa !16
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %38
12: ; preds = %3
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = icmp eq i32 %2, 0
br label %15
15: ; preds = %12, %15
%16 = phi i64 [ 0, %12 ], [ %34, %15 ]
%17 = load i64, ptr %13, align 8, !tbaa !17
%18 = getelementptr inbounds %struct.sirfsoc_muxmask, ptr %9, i64 %16
%19 = getelementptr inbounds i8, ptr %18, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !19
%21 = tail call i64 @SIRFSOC_GPIO_PAD_EN(i32 noundef %20) #2
%22 = add nsw i64 %21, %17
%23 = tail call i32 @readl(i64 noundef %22) #2
%24 = load i32, ptr %18, align 4, !tbaa !21
%25 = xor i32 %24, -1
%26 = and i32 %23, %25
%27 = or i32 %24, %23
%28 = select i1 %14, i32 %27, i32 %26
%29 = load i64, ptr %13, align 8, !tbaa !17
%30 = load i32, ptr %19, align 4, !tbaa !19
%31 = tail call i64 @SIRFSOC_GPIO_PAD_EN(i32 noundef %30) #2
%32 = add nsw i64 %31, %29
%33 = tail call i32 @writel(i32 noundef %28, i64 noundef %32) #2
%34 = add nuw nsw i64 %16, 1
%35 = load i32, ptr %7, align 8, !tbaa !16
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %34, %36
br i1 %37, label %15, label %38, !llvm.loop !22
38: ; preds = %15, %3
%39 = getelementptr inbounds i8, ptr %7, i64 4
%40 = load i32, ptr %39, align 4, !tbaa !24
%41 = icmp ne i32 %40, 0
%42 = icmp ne i32 %2, 0
%43 = and i1 %42, %41
br i1 %43, label %44, label %60
44: ; preds = %38
%45 = load i64, ptr %0, align 8, !tbaa !25
%46 = getelementptr inbounds i8, ptr %7, i64 16
%47 = load i64, ptr %46, align 8, !tbaa !26
%48 = add nsw i64 %47, %45
%49 = tail call i32 @readl(i64 noundef %48) #2
%50 = load i32, ptr %39, align 4, !tbaa !24
%51 = xor i32 %50, -1
%52 = and i32 %49, %51
%53 = getelementptr inbounds i8, ptr %7, i64 8
%54 = load i32, ptr %53, align 8, !tbaa !27
%55 = or i32 %52, %54
%56 = load i64, ptr %0, align 8, !tbaa !25
%57 = load i64, ptr %46, align 8, !tbaa !26
%58 = add nsw i64 %57, %56
%59 = tail call i32 @writel(i32 noundef %55, i64 noundef %58) #2
br label %60
60: ; preds = %44, %38
ret void
}
declare i32 @readl(i64 noundef) local_unnamed_addr #1
declare i64 @SIRFSOC_GPIO_PAD_EN(i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !7, i64 24}
!13 = !{!"sirfsoc_padmux", !14, i64 0, !14, i64 4, !14, i64 8, !15, i64 16, !7, i64 24}
!14 = !{!"int", !8, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!13, !14, i64 0}
!17 = !{!18, !15, i64 8}
!18 = !{!"sirfsoc_pmx", !15, i64 0, !15, i64 8}
!19 = !{!20, !14, i64 4}
!20 = !{!"sirfsoc_muxmask", !14, i64 0, !14, i64 4}
!21 = !{!20, !14, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!13, !14, i64 4}
!25 = !{!18, !15, i64 0}
!26 = !{!13, !15, i64 16}
!27 = !{!13, !14, i64 8}
| linux_drivers_pinctrl_sirf_extr_pinctrl-sirf.c_sirfsoc_pinmux_endisable |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/libunbound/extr_context.c_context_new.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/libunbound/extr_context.c_context_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.ctx_query = type { i32, i32, i32, %struct.TYPE_2__, ptr, i32, ptr, ptr, ptr, i32 }
%struct.TYPE_2__ = type { ptr }
%struct.ub_ctx = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local ptr @context_new(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = tail call i64 @calloc(i32 noundef 1, i32 noundef 72) #2
%9 = inttoptr i64 %8 to ptr
%10 = icmp eq i64 %8, 0
br i1 %10, label %56, label %11
11: ; preds = %7
%12 = tail call i32 @lock_basic_lock(ptr noundef %0) #2
%13 = getelementptr inbounds %struct.ctx_query, ptr %9, i64 0, i32 9
%14 = tail call i32 @find_id(ptr noundef %0, ptr noundef nonnull %13) #2
%15 = icmp eq i32 %14, 0
%16 = tail call i32 @lock_basic_unlock(ptr noundef %0) #2
br i1 %15, label %17, label %19
17: ; preds = %11
%18 = tail call i32 @free(ptr noundef nonnull %9) #2
br label %56
19: ; preds = %11
%20 = getelementptr inbounds %struct.ctx_query, ptr %9, i64 0, i32 3
store ptr %13, ptr %20, align 8, !tbaa !5
%21 = icmp ne ptr %4, null
%22 = icmp ne ptr %5, null
%23 = or i1 %21, %22
%24 = zext i1 %23 to i32
store i32 %24, ptr %9, align 8, !tbaa !12
%25 = getelementptr inbounds %struct.ctx_query, ptr %9, i64 0, i32 8
store ptr %4, ptr %25, align 8, !tbaa !13
%26 = getelementptr inbounds %struct.ctx_query, ptr %9, i64 0, i32 7
store ptr %5, ptr %26, align 8, !tbaa !14
%27 = getelementptr inbounds %struct.ctx_query, ptr %9, i64 0, i32 6
store ptr %6, ptr %27, align 8, !tbaa !15
%28 = tail call i64 @calloc(i32 noundef 1, i32 noundef 72) #2
%29 = inttoptr i64 %28 to ptr
%30 = getelementptr inbounds %struct.ctx_query, ptr %9, i64 0, i32 4
store ptr %29, ptr %30, align 8, !tbaa !16
%31 = icmp eq i64 %28, 0
br i1 %31, label %32, label %34
32: ; preds = %19
%33 = tail call i32 @free(ptr noundef nonnull %9) #2
br label %56
34: ; preds = %19
%35 = tail call i32 @strdup(ptr noundef %1) #2
%36 = load ptr, ptr %30, align 8, !tbaa !16
%37 = getelementptr inbounds %struct.ctx_query, ptr %36, i64 0, i32 5
store i32 %35, ptr %37, align 8, !tbaa !17
%38 = icmp eq i32 %35, 0
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = tail call i32 @free(ptr noundef nonnull %36) #2
%41 = tail call i32 @free(ptr noundef nonnull %9) #2
br label %56
42: ; preds = %34
%43 = getelementptr inbounds %struct.ctx_query, ptr %36, i64 0, i32 1
store i32 %2, ptr %43, align 4, !tbaa !18
%44 = getelementptr inbounds %struct.ctx_query, ptr %36, i64 0, i32 2
store i32 %3, ptr %44, align 8, !tbaa !19
%45 = tail call i32 @lock_basic_lock(ptr noundef %0) #2
%46 = load i32, ptr %9, align 8, !tbaa !12
%47 = icmp eq i32 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %42
%49 = getelementptr inbounds %struct.ub_ctx, ptr %0, i64 0, i32 2
%50 = load i32, ptr %49, align 4, !tbaa !20
%51 = add nsw i32 %50, 1
store i32 %51, ptr %49, align 4, !tbaa !20
br label %52
52: ; preds = %48, %42
%53 = getelementptr inbounds %struct.ub_ctx, ptr %0, i64 0, i32 1
%54 = tail call i32 @rbtree_insert(ptr noundef nonnull %53, ptr noundef nonnull %20) #2
%55 = tail call i32 @lock_basic_unlock(ptr noundef %0) #2
br label %56
56: ; preds = %7, %52, %39, %32, %17
%57 = phi ptr [ %9, %52 ], [ null, %39 ], [ null, %32 ], [ null, %17 ], [ null, %7 ]
ret ptr %57
}
declare i64 @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lock_basic_lock(ptr noundef) local_unnamed_addr #1
declare i32 @find_id(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lock_basic_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @strdup(ptr noundef) local_unnamed_addr #1
declare i32 @rbtree_insert(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, !11, i64 16}
!6 = !{!"ctx_query", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !11, i64 24, !7, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !7, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !11, i64 56}
!14 = !{!6, !11, i64 48}
!15 = !{!6, !11, i64 40}
!16 = !{!6, !11, i64 24}
!17 = !{!6, !7, i64 32}
!18 = !{!6, !7, i64 4}
!19 = !{!6, !7, i64 8}
!20 = !{!21, !7, i64 8}
!21 = !{!"ub_ctx", !7, i64 0, !7, i64 4, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/libunbound/extr_context.c_context_new.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/libunbound/extr_context.c_context_new.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 @context_new(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = tail call i64 @calloc(i32 noundef 1, i32 noundef 72) #2
%9 = inttoptr i64 %8 to ptr
%10 = icmp eq i64 %8, 0
br i1 %10, label %56, label %11
11: ; preds = %7
%12 = tail call i32 @lock_basic_lock(ptr noundef %0) #2
%13 = getelementptr inbounds i8, ptr %9, i64 64
%14 = tail call i32 @find_id(ptr noundef %0, ptr noundef nonnull %13) #2
%15 = icmp eq i32 %14, 0
%16 = tail call i32 @lock_basic_unlock(ptr noundef %0) #2
br i1 %15, label %17, label %19
17: ; preds = %11
%18 = tail call i32 @free(ptr noundef nonnull %9) #2
br label %56
19: ; preds = %11
%20 = getelementptr inbounds i8, ptr %9, i64 16
store ptr %13, ptr %20, align 8, !tbaa !6
%21 = icmp ne ptr %4, null
%22 = icmp ne ptr %5, null
%23 = or i1 %21, %22
%24 = zext i1 %23 to i32
store i32 %24, ptr %9, align 8, !tbaa !13
%25 = getelementptr inbounds i8, ptr %9, i64 56
store ptr %4, ptr %25, align 8, !tbaa !14
%26 = getelementptr inbounds i8, ptr %9, i64 48
store ptr %5, ptr %26, align 8, !tbaa !15
%27 = getelementptr inbounds i8, ptr %9, i64 40
store ptr %6, ptr %27, align 8, !tbaa !16
%28 = tail call i64 @calloc(i32 noundef 1, i32 noundef 72) #2
%29 = inttoptr i64 %28 to ptr
%30 = getelementptr inbounds i8, ptr %9, i64 24
store ptr %29, ptr %30, align 8, !tbaa !17
%31 = icmp eq i64 %28, 0
br i1 %31, label %32, label %34
32: ; preds = %19
%33 = tail call i32 @free(ptr noundef nonnull %9) #2
br label %56
34: ; preds = %19
%35 = tail call i32 @strdup(ptr noundef %1) #2
%36 = load ptr, ptr %30, align 8, !tbaa !17
%37 = getelementptr inbounds i8, ptr %36, i64 32
store i32 %35, ptr %37, align 8, !tbaa !18
%38 = icmp eq i32 %35, 0
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = tail call i32 @free(ptr noundef nonnull %36) #2
%41 = tail call i32 @free(ptr noundef nonnull %9) #2
br label %56
42: ; preds = %34
%43 = getelementptr inbounds i8, ptr %36, i64 4
store i32 %2, ptr %43, align 4, !tbaa !19
%44 = getelementptr inbounds i8, ptr %36, i64 8
store i32 %3, ptr %44, align 8, !tbaa !20
%45 = tail call i32 @lock_basic_lock(ptr noundef %0) #2
%46 = load i32, ptr %9, align 8, !tbaa !13
%47 = icmp eq i32 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %42
%49 = getelementptr inbounds i8, ptr %0, i64 8
%50 = load i32, ptr %49, align 4, !tbaa !21
%51 = add nsw i32 %50, 1
store i32 %51, ptr %49, align 4, !tbaa !21
br label %52
52: ; preds = %48, %42
%53 = getelementptr inbounds i8, ptr %0, i64 4
%54 = tail call i32 @rbtree_insert(ptr noundef nonnull %53, ptr noundef nonnull %20) #2
%55 = tail call i32 @lock_basic_unlock(ptr noundef %0) #2
br label %56
56: ; preds = %7, %52, %39, %32, %17
%57 = phi ptr [ %9, %52 ], [ null, %39 ], [ null, %32 ], [ null, %17 ], [ null, %7 ]
ret ptr %57
}
declare i64 @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lock_basic_lock(ptr noundef) local_unnamed_addr #1
declare i32 @find_id(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lock_basic_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @strdup(ptr noundef) local_unnamed_addr #1
declare i32 @rbtree_insert(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, !12, i64 16}
!7 = !{!"ctx_query", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !12, i64 24, !8, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !8, i64 64}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !12, i64 56}
!15 = !{!7, !12, i64 48}
!16 = !{!7, !12, i64 40}
!17 = !{!7, !12, i64 24}
!18 = !{!7, !8, i64 32}
!19 = !{!7, !8, i64 4}
!20 = !{!7, !8, i64 8}
!21 = !{!22, !8, i64 8}
!22 = !{!"ub_ctx", !8, i64 0, !8, i64 4, !8, i64 8}
| freebsd_contrib_unbound_libunbound_extr_context.c_context_new |
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonqueuestask_queue.c_task_queue_is_threaded.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonqueuestask_queue.c_task_queue_is_threaded.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@task_threaded_enable = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @task_queue_is_threaded() local_unnamed_addr #0 {
%1 = load i32, ptr @task_threaded_enable, align 4, !tbaa !5
ret i32 %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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonqueuestask_queue.c_task_queue_is_threaded.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonqueuestask_queue.c_task_queue_is_threaded.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@task_threaded_enable = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @task_queue_is_threaded() local_unnamed_addr #0 {
%1 = load i32, ptr @task_threaded_enable, align 4, !tbaa !6
ret i32 %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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| RetroArch_griffin_extr_..libretro-commonqueuestask_queue.c_task_queue_is_threaded |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_chipsfb.c_chipsfb_blank.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_chipsfb.c_chipsfb_blank.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @chipsfb_blank], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @chipsfb_blank(i32 %0, ptr nocapture readnone %1) #0 {
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_chipsfb.c_chipsfb_blank.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_chipsfb.c_chipsfb_blank.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 @chipsfb_blank], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @chipsfb_blank(i32 %0, ptr nocapture readnone %1) #0 {
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_video_extr_chipsfb.c_chipsfb_blank |
; ModuleID = 'AnghaBench/mpv/video/out/opengl/extr_context_dxinterop.c_d3d_size_dependent_create.c'
source_filename = "AnghaBench/mpv/video/out/opengl/extr_context_dxinterop.c_d3d_size_dependent_create.c"
target datalayout = "e-m:e-p270:32:32-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, i32 }
%struct.ra_ctx = type { i32, ptr }
%struct.priv = type { i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { ptr, ptr, ptr, ptr, ptr, ptr }
@.str = private unnamed_addr constant [29 x i8] c"Couldn't get swap chain: %s\0A\00", align 1
@IID_IDirect3DSwapChain9Ex = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [54 x i8] c"Obtained swap chain is not IDirect3DSwapChain9Ex: %s\0A\00", align 1
@D3DBACKBUFFER_TYPE_MONO = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"Couldn't get backbuffer: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"DX_interop backbuffer size: %ux%u\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"DX_interop backbuffer format: %u\0A\00", align 1
@D3DMULTISAMPLE_NONE = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [34 x i8] c"Couldn't create rendertarget: %s\0A\00", align 1
@GL_TEXTURE_2D = dso_local local_unnamed_addr global i32 0, align 4
@WGL_ACCESS_WRITE_DISCARD_NV = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [45 x i8] c"Couldn't share rendertarget with OpenGL: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"Couldn't lock rendertarget: %s\0A\00", align 1
@GL_FRAMEBUFFER = dso_local local_unnamed_addr global i32 0, align 4
@GL_COLOR_ATTACHMENT0 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @d3d_size_dependent_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @d3d_size_dependent_create(ptr nocapture noundef readonly %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.TYPE_5__, align 8
%4 = alloca ptr, align 8
%5 = getelementptr inbounds %struct.ra_ctx, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%8 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 5
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = call i32 @IDirect3DDevice9Ex_GetSwapChain(i32 noundef %9, i32 noundef 0, ptr noundef nonnull %2) #4
%11 = call i64 @FAILED(i32 noundef %10) #4
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %1
%14 = load i32, ptr %0, align 8, !tbaa !14
%15 = call i32 @mp_HRESULT_to_str(i32 noundef %10) #4
%16 = call i32 @MP_ERR(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %15) #4
br label %124
17: ; preds = %1
%18 = load ptr, ptr %2, align 8, !tbaa !15
%19 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 7
%20 = call i32 @IDirect3DSwapChain9_QueryInterface(ptr noundef %18, ptr noundef nonnull @IID_IDirect3DSwapChain9Ex, ptr noundef nonnull %19) #4
%21 = call i64 @FAILED(i32 noundef %20) #4
%22 = icmp eq i64 %21, 0
%23 = load ptr, ptr %2, align 8, !tbaa !15
%24 = call i32 @SAFE_RELEASE(ptr noundef %23) #4
br i1 %22, label %29, label %25
25: ; preds = %17
%26 = load i32, ptr %0, align 8, !tbaa !14
%27 = call i32 @mp_HRESULT_to_str(i32 noundef %20) #4
%28 = call i32 @MP_ERR(i32 noundef %26, ptr noundef nonnull @.str.1, i32 noundef %27) #4
br label %124
29: ; preds = %17
%30 = load i32, ptr %19, align 4, !tbaa !16
%31 = load i32, ptr @D3DBACKBUFFER_TYPE_MONO, align 4, !tbaa !17
%32 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 6
%33 = call i32 @IDirect3DSwapChain9Ex_GetBackBuffer(i32 noundef %30, i32 noundef 0, i32 noundef %31, ptr noundef nonnull %32) #4
%34 = call i64 @FAILED(i32 noundef %33) #4
%35 = icmp eq i64 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %29
%37 = load i32, ptr %0, align 8, !tbaa !14
%38 = call i32 @mp_HRESULT_to_str(i32 noundef %33) #4
%39 = call i32 @MP_ERR(i32 noundef %37, ptr noundef nonnull @.str.2, i32 noundef %38) #4
br label %124
40: ; preds = %29
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, i8 0, i64 32, i1 false)
%41 = load i32, ptr %32, align 8, !tbaa !18
%42 = call i32 @IDirect3DSurface9_GetDesc(i32 noundef %41, ptr noundef nonnull %3) #4
%43 = load i32, ptr %0, align 8, !tbaa !14
%44 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 2
%45 = load i64, ptr %44, align 8, !tbaa !19
%46 = trunc i64 %45 to i32
%47 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 1
%48 = load i64, ptr %47, align 8, !tbaa !22
%49 = trunc i64 %48 to i32
%50 = call i32 (i32, ptr, i32, ...) @MP_VERBOSE(i32 noundef %43, ptr noundef nonnull @.str.3, i32 noundef %46, i32 noundef %49) #4
%51 = load i32, ptr %0, align 8, !tbaa !14
%52 = load i64, ptr %3, align 8, !tbaa !23
%53 = trunc i64 %52 to i32
%54 = call i32 (i32, ptr, i32, ...) @MP_VERBOSE(i32 noundef %51, ptr noundef nonnull @.str.4, i32 noundef %53) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
store ptr null, ptr %4, align 8, !tbaa !15
%55 = load i32, ptr %8, align 4, !tbaa !11
%56 = load i64, ptr %44, align 8, !tbaa !19
%57 = load i64, ptr %47, align 8, !tbaa !22
%58 = load i64, ptr %3, align 8, !tbaa !23
%59 = load i32, ptr @D3DMULTISAMPLE_NONE, align 4, !tbaa !17
%60 = load i32, ptr @FALSE, align 4, !tbaa !17
%61 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 4
%62 = call i32 @IDirect3DDevice9Ex_CreateRenderTarget(i32 noundef %55, i64 noundef %56, i64 noundef %57, i64 noundef %58, i32 noundef %59, i32 noundef 0, i32 noundef %60, ptr noundef nonnull %61, ptr noundef nonnull %4) #4
%63 = call i64 @FAILED(i32 noundef %62) #4
%64 = icmp eq i64 %63, 0
br i1 %64, label %69, label %65
65: ; preds = %40
%66 = load i32, ptr %0, align 8, !tbaa !14
%67 = call i32 @mp_HRESULT_to_str(i32 noundef %62) #4
%68 = call i32 @MP_ERR(i32 noundef %66, ptr noundef nonnull @.str.5, i32 noundef %67) #4
br label %122
69: ; preds = %40
%70 = load ptr, ptr %4, align 8, !tbaa !15
%71 = icmp eq ptr %70, null
br i1 %71, label %77, label %72
72: ; preds = %69
%73 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 8, i32 5
%74 = load ptr, ptr %73, align 8, !tbaa !24
%75 = load i32, ptr %61, align 8, !tbaa !25
%76 = call i32 %74(i32 noundef %75, ptr noundef nonnull %70) #4
br label %77
77: ; preds = %72, %69
%78 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 8, i32 4
%79 = load ptr, ptr %78, align 8, !tbaa !26
%80 = call i32 %79(i32 noundef 1, ptr noundef nonnull %6) #4
%81 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 8, i32 3
%82 = load ptr, ptr %81, align 8, !tbaa !27
%83 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 3
%84 = load i32, ptr %83, align 4, !tbaa !28
%85 = load i32, ptr %61, align 8, !tbaa !25
%86 = load i32, ptr %6, align 8, !tbaa !29
%87 = load i32, ptr @GL_TEXTURE_2D, align 4, !tbaa !17
%88 = load i32, ptr @WGL_ACCESS_WRITE_DISCARD_NV, align 4, !tbaa !17
%89 = call i32 %82(i32 noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88) #4
%90 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 2
store i32 %89, ptr %90, align 8, !tbaa !30
%91 = icmp eq i32 %89, 0
br i1 %91, label %92, label %96
92: ; preds = %77
%93 = load i32, ptr %0, align 8, !tbaa !14
%94 = call i32 (...) @mp_LastError_to_str() #4
%95 = call i32 @MP_ERR(i32 noundef %93, ptr noundef nonnull @.str.6, i32 noundef %94) #4
br label %122
96: ; preds = %77
%97 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 8, i32 2
%98 = load ptr, ptr %97, align 8, !tbaa !31
%99 = load i32, ptr %83, align 4, !tbaa !28
%100 = call i32 %98(i32 noundef %99, i32 noundef 1, ptr noundef nonnull %90) #4
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %106
102: ; preds = %96
%103 = load i32, ptr %0, align 8, !tbaa !14
%104 = call i32 (...) @mp_LastError_to_str() #4
%105 = call i32 @MP_ERR(i32 noundef %103, ptr noundef nonnull @.str.7, i32 noundef %104) #4
br label %122
106: ; preds = %96
%107 = load ptr, ptr %7, align 8, !tbaa !32
%108 = load i32, ptr @GL_FRAMEBUFFER, align 4, !tbaa !17
%109 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 1
%110 = load i32, ptr %109, align 4, !tbaa !33
%111 = call i32 %107(i32 noundef %108, i32 noundef %110) #4
%112 = getelementptr inbounds %struct.priv, ptr %6, i64 0, i32 8, i32 1
%113 = load ptr, ptr %112, align 8, !tbaa !34
%114 = load i32, ptr @GL_FRAMEBUFFER, align 4, !tbaa !17
%115 = load i32, ptr @GL_COLOR_ATTACHMENT0, align 4, !tbaa !17
%116 = load i32, ptr @GL_TEXTURE_2D, align 4, !tbaa !17
%117 = load i32, ptr %6, align 8, !tbaa !29
%118 = call i32 %113(i32 noundef %114, i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef 0) #4
%119 = load ptr, ptr %7, align 8, !tbaa !32
%120 = load i32, ptr @GL_FRAMEBUFFER, align 4, !tbaa !17
%121 = call i32 %119(i32 noundef %120, i32 noundef 0) #4
br label %122
122: ; preds = %106, %102, %92, %65
%123 = phi i32 [ -1, %65 ], [ 0, %106 ], [ -1, %102 ], [ -1, %92 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
br label %124
124: ; preds = %122, %36, %25, %13
%125 = phi i32 [ -1, %13 ], [ -1, %25 ], [ -1, %36 ], [ %123, %122 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %125
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IDirect3DDevice9Ex_GetSwapChain(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @MP_ERR(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mp_HRESULT_to_str(i32 noundef) local_unnamed_addr #2
declare i32 @IDirect3DSwapChain9_QueryInterface(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SAFE_RELEASE(ptr noundef) local_unnamed_addr #2
declare i32 @IDirect3DSwapChain9Ex_GetBackBuffer(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @IDirect3DSurface9_GetDesc(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @IDirect3DDevice9Ex_CreateRenderTarget(i32 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mp_LastError_to_str(...) 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 nocallback nofree nounwind willreturn memory(argmem: write) }
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 8}
!6 = !{!"ra_ctx", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 20}
!12 = !{!"priv", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !13, i64 32}
!13 = !{!"TYPE_4__", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!14 = !{!6, !7, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!12, !7, i64 28}
!17 = !{!7, !7, i64 0}
!18 = !{!12, !7, i64 24}
!19 = !{!20, !21, i64 16}
!20 = !{!"TYPE_5__", !21, i64 0, !21, i64 8, !21, i64 16, !7, i64 24}
!21 = !{!"long", !8, i64 0}
!22 = !{!20, !21, i64 8}
!23 = !{!20, !21, i64 0}
!24 = !{!13, !10, i64 40}
!25 = !{!12, !7, i64 16}
!26 = !{!13, !10, i64 32}
!27 = !{!13, !10, i64 24}
!28 = !{!12, !7, i64 12}
!29 = !{!12, !7, i64 0}
!30 = !{!12, !7, i64 8}
!31 = !{!13, !10, i64 16}
!32 = !{!13, !10, i64 0}
!33 = !{!12, !7, i64 4}
!34 = !{!13, !10, i64 8}
| ; ModuleID = 'AnghaBench/mpv/video/out/opengl/extr_context_dxinterop.c_d3d_size_dependent_create.c'
source_filename = "AnghaBench/mpv/video/out/opengl/extr_context_dxinterop.c_d3d_size_dependent_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i64, i64, i64, i32 }
@.str = private unnamed_addr constant [29 x i8] c"Couldn't get swap chain: %s\0A\00", align 1
@IID_IDirect3DSwapChain9Ex = common global i32 0, align 4
@.str.1 = private unnamed_addr constant [54 x i8] c"Obtained swap chain is not IDirect3DSwapChain9Ex: %s\0A\00", align 1
@D3DBACKBUFFER_TYPE_MONO = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"Couldn't get backbuffer: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"DX_interop backbuffer size: %ux%u\0A\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"DX_interop backbuffer format: %u\0A\00", align 1
@D3DMULTISAMPLE_NONE = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [34 x i8] c"Couldn't create rendertarget: %s\0A\00", align 1
@GL_TEXTURE_2D = common local_unnamed_addr global i32 0, align 4
@WGL_ACCESS_WRITE_DISCARD_NV = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [45 x i8] c"Couldn't share rendertarget with OpenGL: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"Couldn't lock rendertarget: %s\0A\00", align 1
@GL_FRAMEBUFFER = common local_unnamed_addr global i32 0, align 4
@GL_COLOR_ATTACHMENT0 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @d3d_size_dependent_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @d3d_size_dependent_create(ptr nocapture noundef readonly %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.TYPE_5__, align 8
%4 = alloca ptr, align 8
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 32
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%8 = getelementptr inbounds i8, ptr %6, i64 20
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = call i32 @IDirect3DDevice9Ex_GetSwapChain(i32 noundef %9, i32 noundef 0, ptr noundef nonnull %2) #4
%11 = call i64 @FAILED(i32 noundef %10) #4
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %1
%14 = load i32, ptr %0, align 8, !tbaa !15
%15 = call i32 @mp_HRESULT_to_str(i32 noundef %10) #4
%16 = call i32 @MP_ERR(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %15) #4
br label %124
17: ; preds = %1
%18 = load ptr, ptr %2, align 8, !tbaa !16
%19 = getelementptr inbounds i8, ptr %6, i64 28
%20 = call i32 @IDirect3DSwapChain9_QueryInterface(ptr noundef %18, ptr noundef nonnull @IID_IDirect3DSwapChain9Ex, ptr noundef nonnull %19) #4
%21 = call i64 @FAILED(i32 noundef %20) #4
%22 = icmp eq i64 %21, 0
%23 = load ptr, ptr %2, align 8, !tbaa !16
%24 = call i32 @SAFE_RELEASE(ptr noundef %23) #4
br i1 %22, label %29, label %25
25: ; preds = %17
%26 = load i32, ptr %0, align 8, !tbaa !15
%27 = call i32 @mp_HRESULT_to_str(i32 noundef %20) #4
%28 = call i32 @MP_ERR(i32 noundef %26, ptr noundef nonnull @.str.1, i32 noundef %27) #4
br label %124
29: ; preds = %17
%30 = load i32, ptr %19, align 4, !tbaa !17
%31 = load i32, ptr @D3DBACKBUFFER_TYPE_MONO, align 4, !tbaa !18
%32 = getelementptr inbounds i8, ptr %6, i64 24
%33 = call i32 @IDirect3DSwapChain9Ex_GetBackBuffer(i32 noundef %30, i32 noundef 0, i32 noundef %31, ptr noundef nonnull %32) #4
%34 = call i64 @FAILED(i32 noundef %33) #4
%35 = icmp eq i64 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %29
%37 = load i32, ptr %0, align 8, !tbaa !15
%38 = call i32 @mp_HRESULT_to_str(i32 noundef %33) #4
%39 = call i32 @MP_ERR(i32 noundef %37, ptr noundef nonnull @.str.2, i32 noundef %38) #4
br label %124
40: ; preds = %29
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, i8 0, i64 32, i1 false)
%41 = load i32, ptr %32, align 8, !tbaa !19
%42 = call i32 @IDirect3DSurface9_GetDesc(i32 noundef %41, ptr noundef nonnull %3) #4
%43 = load i32, ptr %0, align 8, !tbaa !15
%44 = getelementptr inbounds i8, ptr %3, i64 16
%45 = load i64, ptr %44, align 8, !tbaa !20
%46 = trunc i64 %45 to i32
%47 = getelementptr inbounds i8, ptr %3, i64 8
%48 = load i64, ptr %47, align 8, !tbaa !23
%49 = trunc i64 %48 to i32
%50 = call i32 (i32, ptr, i32, ...) @MP_VERBOSE(i32 noundef %43, ptr noundef nonnull @.str.3, i32 noundef %46, i32 noundef %49) #4
%51 = load i32, ptr %0, align 8, !tbaa !15
%52 = load i64, ptr %3, align 8, !tbaa !24
%53 = trunc i64 %52 to i32
%54 = call i32 (i32, ptr, i32, ...) @MP_VERBOSE(i32 noundef %51, ptr noundef nonnull @.str.4, i32 noundef %53) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
store ptr null, ptr %4, align 8, !tbaa !16
%55 = load i32, ptr %8, align 4, !tbaa !12
%56 = load i64, ptr %44, align 8, !tbaa !20
%57 = load i64, ptr %47, align 8, !tbaa !23
%58 = load i64, ptr %3, align 8, !tbaa !24
%59 = load i32, ptr @D3DMULTISAMPLE_NONE, align 4, !tbaa !18
%60 = load i32, ptr @FALSE, align 4, !tbaa !18
%61 = getelementptr inbounds i8, ptr %6, i64 16
%62 = call i32 @IDirect3DDevice9Ex_CreateRenderTarget(i32 noundef %55, i64 noundef %56, i64 noundef %57, i64 noundef %58, i32 noundef %59, i32 noundef 0, i32 noundef %60, ptr noundef nonnull %61, ptr noundef nonnull %4) #4
%63 = call i64 @FAILED(i32 noundef %62) #4
%64 = icmp eq i64 %63, 0
br i1 %64, label %69, label %65
65: ; preds = %40
%66 = load i32, ptr %0, align 8, !tbaa !15
%67 = call i32 @mp_HRESULT_to_str(i32 noundef %62) #4
%68 = call i32 @MP_ERR(i32 noundef %66, ptr noundef nonnull @.str.5, i32 noundef %67) #4
br label %122
69: ; preds = %40
%70 = load ptr, ptr %4, align 8, !tbaa !16
%71 = icmp eq ptr %70, null
br i1 %71, label %77, label %72
72: ; preds = %69
%73 = getelementptr inbounds i8, ptr %6, i64 72
%74 = load ptr, ptr %73, align 8, !tbaa !25
%75 = load i32, ptr %61, align 8, !tbaa !26
%76 = call i32 %74(i32 noundef %75, ptr noundef nonnull %70) #4
br label %77
77: ; preds = %72, %69
%78 = getelementptr inbounds i8, ptr %6, i64 64
%79 = load ptr, ptr %78, align 8, !tbaa !27
%80 = call i32 %79(i32 noundef 1, ptr noundef nonnull %6) #4
%81 = getelementptr inbounds i8, ptr %6, i64 56
%82 = load ptr, ptr %81, align 8, !tbaa !28
%83 = getelementptr inbounds i8, ptr %6, i64 12
%84 = load i32, ptr %83, align 4, !tbaa !29
%85 = load i32, ptr %61, align 8, !tbaa !26
%86 = load i32, ptr %6, align 8, !tbaa !30
%87 = load i32, ptr @GL_TEXTURE_2D, align 4, !tbaa !18
%88 = load i32, ptr @WGL_ACCESS_WRITE_DISCARD_NV, align 4, !tbaa !18
%89 = call i32 %82(i32 noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88) #4
%90 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %89, ptr %90, align 8, !tbaa !31
%91 = icmp eq i32 %89, 0
br i1 %91, label %92, label %96
92: ; preds = %77
%93 = load i32, ptr %0, align 8, !tbaa !15
%94 = call i32 @mp_LastError_to_str() #4
%95 = call i32 @MP_ERR(i32 noundef %93, ptr noundef nonnull @.str.6, i32 noundef %94) #4
br label %122
96: ; preds = %77
%97 = getelementptr inbounds i8, ptr %6, i64 48
%98 = load ptr, ptr %97, align 8, !tbaa !32
%99 = load i32, ptr %83, align 4, !tbaa !29
%100 = call i32 %98(i32 noundef %99, i32 noundef 1, ptr noundef nonnull %90) #4
%101 = icmp eq i32 %100, 0
br i1 %101, label %102, label %106
102: ; preds = %96
%103 = load i32, ptr %0, align 8, !tbaa !15
%104 = call i32 @mp_LastError_to_str() #4
%105 = call i32 @MP_ERR(i32 noundef %103, ptr noundef nonnull @.str.7, i32 noundef %104) #4
br label %122
106: ; preds = %96
%107 = load ptr, ptr %7, align 8, !tbaa !33
%108 = load i32, ptr @GL_FRAMEBUFFER, align 4, !tbaa !18
%109 = getelementptr inbounds i8, ptr %6, i64 4
%110 = load i32, ptr %109, align 4, !tbaa !34
%111 = call i32 %107(i32 noundef %108, i32 noundef %110) #4
%112 = getelementptr inbounds i8, ptr %6, i64 40
%113 = load ptr, ptr %112, align 8, !tbaa !35
%114 = load i32, ptr @GL_FRAMEBUFFER, align 4, !tbaa !18
%115 = load i32, ptr @GL_COLOR_ATTACHMENT0, align 4, !tbaa !18
%116 = load i32, ptr @GL_TEXTURE_2D, align 4, !tbaa !18
%117 = load i32, ptr %6, align 8, !tbaa !30
%118 = call i32 %113(i32 noundef %114, i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef 0) #4
%119 = load ptr, ptr %7, align 8, !tbaa !33
%120 = load i32, ptr @GL_FRAMEBUFFER, align 4, !tbaa !18
%121 = call i32 %119(i32 noundef %120, i32 noundef 0) #4
br label %122
122: ; preds = %106, %102, %92, %65
%123 = phi i32 [ -1, %65 ], [ 0, %106 ], [ -1, %102 ], [ -1, %92 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
br label %124
124: ; preds = %122, %36, %25, %13
%125 = phi i32 [ -1, %13 ], [ -1, %25 ], [ -1, %36 ], [ %123, %122 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %125
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IDirect3DDevice9Ex_GetSwapChain(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @MP_ERR(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mp_HRESULT_to_str(i32 noundef) local_unnamed_addr #2
declare i32 @IDirect3DSwapChain9_QueryInterface(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SAFE_RELEASE(ptr noundef) local_unnamed_addr #2
declare i32 @IDirect3DSwapChain9Ex_GetBackBuffer(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i32 @IDirect3DSurface9_GetDesc(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @IDirect3DDevice9Ex_CreateRenderTarget(i32 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mp_LastError_to_str(...) 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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"ra_ctx", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 20}
!13 = !{!"priv", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !14, i64 32}
!14 = !{!"TYPE_4__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!15 = !{!7, !8, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!13, !8, i64 28}
!18 = !{!8, !8, i64 0}
!19 = !{!13, !8, i64 24}
!20 = !{!21, !22, i64 16}
!21 = !{!"TYPE_5__", !22, i64 0, !22, i64 8, !22, i64 16, !8, i64 24}
!22 = !{!"long", !9, i64 0}
!23 = !{!21, !22, i64 8}
!24 = !{!21, !22, i64 0}
!25 = !{!14, !11, i64 40}
!26 = !{!13, !8, i64 16}
!27 = !{!14, !11, i64 32}
!28 = !{!14, !11, i64 24}
!29 = !{!13, !8, i64 12}
!30 = !{!13, !8, i64 0}
!31 = !{!13, !8, i64 8}
!32 = !{!14, !11, i64 16}
!33 = !{!14, !11, i64 0}
!34 = !{!13, !8, i64 4}
!35 = !{!14, !11, i64 8}
| mpv_video_out_opengl_extr_context_dxinterop.c_d3d_size_dependent_create |
; ModuleID = 'AnghaBench/freebsd/contrib/atf/atf-c/extr_check_test.c_do_exec.c'
source_filename = "AnghaBench/freebsd/contrib/atf/atf-c/extr_check_test.c_do_exec.c"
target datalayout = "e-m:e-p270:32:32-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"Executing %s %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_exec], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @do_exec(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca [3 x ptr], align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
%6 = call i32 @get_process_helpers_path(ptr noundef %0, i32 noundef 0, ptr noundef nonnull %4) #3
%7 = call ptr @atf_fs_path_cstring(ptr noundef nonnull %4) #3
store ptr %7, ptr %5, align 16, !tbaa !5
%8 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 1
store ptr %1, ptr %8, align 8, !tbaa !5
%9 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 2
store ptr null, ptr %9, align 16, !tbaa !5
%10 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %7, ptr noundef %1) #3
%11 = call i32 @atf_check_exec_array(ptr noundef nonnull %5, ptr noundef %2) #3
%12 = call i32 @RE(i32 noundef %11) #3
%13 = call i32 @atf_fs_path_fini(ptr noundef nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_process_helpers_path(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @atf_fs_path_cstring(ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RE(i32 noundef) local_unnamed_addr #2
declare i32 @atf_check_exec_array(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atf_fs_path_fini(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/atf/atf-c/extr_check_test.c_do_exec.c'
source_filename = "AnghaBench/freebsd/contrib/atf/atf-c/extr_check_test.c_do_exec.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"Executing %s %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @do_exec], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @do_exec(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca [3 x ptr], align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
%6 = call i32 @get_process_helpers_path(ptr noundef %0, i32 noundef 0, ptr noundef nonnull %4) #3
%7 = call ptr @atf_fs_path_cstring(ptr noundef nonnull %4) #3
store ptr %7, ptr %5, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %1, ptr %8, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %5, i64 16
store ptr null, ptr %9, align 8, !tbaa !6
%10 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %7, ptr noundef %1) #3
%11 = call i32 @atf_check_exec_array(ptr noundef nonnull %5, ptr noundef %2) #3
%12 = call i32 @RE(i32 noundef %11) #3
%13 = call i32 @atf_fs_path_fini(ptr noundef nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_process_helpers_path(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @atf_fs_path_cstring(ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RE(i32 noundef) local_unnamed_addr #2
declare i32 @atf_check_exec_array(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atf_fs_path_fini(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_atf_atf-c_extr_check_test.c_do_exec |
; ModuleID = 'AnghaBench/linux/drivers/cpufreq/extr_powernv-cpufreq.c_powernv_fast_switch.c'
source_filename = "AnghaBench/linux/drivers/cpufreq/extr_powernv-cpufreq.c_powernv_fast_switch.c"
target datalayout = "e-m:e-p270:32:32-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.powernv_smp_call_data = type { i32, i32 }
%struct.TYPE_2__ = type { i32, i32 }
@powernv_freqs = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @powernv_fast_switch], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @powernv_fast_switch(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.powernv_smp_call_data, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = tail call i32 @cpufreq_table_find_index_dl(ptr noundef %0, i32 noundef %1) #3
%5 = load ptr, ptr @powernv_freqs, align 8, !tbaa !5
%6 = sext i32 %4 to i64
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %6, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !9
%9 = getelementptr inbounds %struct.powernv_smp_call_data, ptr %3, i64 0, i32 1
store i32 %8, ptr %9, align 4, !tbaa !12
store i32 %8, ptr %3, align 4, !tbaa !14
%10 = call i32 @set_pstate(ptr noundef nonnull %3) #3
%11 = load ptr, ptr @powernv_freqs, align 8, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %6
%13 = load i32, ptr %12, align 4, !tbaa !15
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cpufreq_table_find_index_dl(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_pstate(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 = !{!10, !11, i64 4}
!10 = !{!"TYPE_2__", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 4}
!13 = !{!"powernv_smp_call_data", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 0}
!15 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/cpufreq/extr_powernv-cpufreq.c_powernv_fast_switch.c'
source_filename = "AnghaBench/linux/drivers/cpufreq/extr_powernv-cpufreq.c_powernv_fast_switch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.powernv_smp_call_data = type { i32, i32 }
%struct.TYPE_2__ = type { i32, i32 }
@powernv_freqs = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @powernv_fast_switch], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @powernv_fast_switch(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.powernv_smp_call_data, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = tail call i32 @cpufreq_table_find_index_dl(ptr noundef %0, i32 noundef %1) #3
%5 = load ptr, ptr @powernv_freqs, align 8, !tbaa !6
%6 = sext i32 %4 to i64
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %6, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %8, ptr %9, align 4, !tbaa !13
store i32 %8, ptr %3, align 4, !tbaa !15
%10 = call i32 @set_pstate(ptr noundef nonnull %3) #3
%11 = load ptr, ptr @powernv_freqs, align 8, !tbaa !6
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %6
%13 = load i32, ptr %12, align 4, !tbaa !16
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cpufreq_table_find_index_dl(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_pstate(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 = !{!11, !12, i64 4}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"powernv_smp_call_data", !12, i64 0, !12, i64 4}
!15 = !{!14, !12, i64 0}
!16 = !{!11, !12, i64 0}
| linux_drivers_cpufreq_extr_powernv-cpufreq.c_powernv_fast_switch |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mps/extr_mps_pci.c_mps_pci_detach.c'
source_filename = "AnghaBench/freebsd/sys/dev/mps/extr_mps_pci.c_mps_pci_detach.c"
target datalayout = "e-m:e-p270:32:32-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 @mps_pci_detach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mps_pci_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = tail call i32 @mps_free(ptr noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @mps_pci_free(ptr noundef %2) #2
br label %7
7: ; preds = %1, %5
ret i32 %3
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @mps_free(ptr noundef) local_unnamed_addr #1
declare i32 @mps_pci_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mps/extr_mps_pci.c_mps_pci_detach.c'
source_filename = "AnghaBench/freebsd/sys/dev/mps/extr_mps_pci.c_mps_pci_detach.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 @mps_pci_detach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mps_pci_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = tail call i32 @mps_free(ptr noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @mps_pci_free(ptr noundef %2) #2
br label %7
7: ; preds = %1, %5
ret i32 %3
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @mps_free(ptr noundef) local_unnamed_addr #1
declare i32 @mps_pci_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)"}
| freebsd_sys_dev_mps_extr_mps_pci.c_mps_pci_detach |
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_date.c_date2timestamptz_opt_overflow.c'
source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_date.c_date2timestamptz_opt_overflow.c"
target datalayout = "e-m:e-p270:32:32-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.pg_tm = type { i64, i64, i64, i32, i32, i32 }
@TIMESTAMP_END_JULIAN = dso_local local_unnamed_addr global i32 0, align 4
@POSTGRES_EPOCH_JDATE = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_DATETIME_VALUE_OUT_OF_RANGE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"date out of range for timestamp\00", align 1
@session_timezone = dso_local local_unnamed_addr global i32 0, align 4
@USECS_PER_DAY = dso_local local_unnamed_addr global i32 0, align 4
@USECS_PER_SEC = dso_local local_unnamed_addr global i32 0, align 4
@MIN_TIMESTAMP = dso_local local_unnamed_addr global i32 0, align 4
@END_TIMESTAMP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @date2timestamptz_opt_overflow(i32 noundef %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.pg_tm, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
%4 = tail call i64 @DATE_IS_NOBEGIN(i32 noundef %0) #4
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @TIMESTAMP_NOBEGIN(i32 noundef undef) #4
br label %62
8: ; preds = %2
%9 = tail call i64 @DATE_IS_NOEND(i32 noundef %0) #4
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 @TIMESTAMP_NOEND(i32 noundef undef) #4
br label %62
13: ; preds = %8
%14 = load i32, ptr @TIMESTAMP_END_JULIAN, align 4, !tbaa !5
%15 = load i32, ptr @POSTGRES_EPOCH_JDATE, align 4, !tbaa !5
%16 = sub nsw i32 %14, %15
%17 = icmp sgt i32 %16, %0
br i1 %17, label %28, label %18
18: ; preds = %13
%19 = icmp eq ptr %1, null
br i1 %19, label %21, label %20
20: ; preds = %18
store i32 1, ptr %1, align 4, !tbaa !5
br label %62
21: ; preds = %18
%22 = load i32, ptr @ERROR, align 4, !tbaa !5
%23 = load i32, ptr @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE, align 4, !tbaa !5
%24 = tail call i32 @errcode(i32 noundef %23) #4
%25 = tail call i32 @errmsg(ptr noundef nonnull @.str) #4
%26 = tail call i32 @ereport(i32 noundef %22, i32 noundef %25) #4
%27 = load i32, ptr @POSTGRES_EPOCH_JDATE, align 4, !tbaa !5
br label %28
28: ; preds = %21, %13
%29 = phi i32 [ %27, %21 ], [ %15, %13 ]
%30 = add nsw i32 %29, %0
%31 = getelementptr inbounds %struct.pg_tm, ptr %3, i64 0, i32 5
%32 = getelementptr inbounds %struct.pg_tm, ptr %3, i64 0, i32 4
%33 = getelementptr inbounds %struct.pg_tm, ptr %3, i64 0, i32 3
%34 = call i32 @j2date(i32 noundef %30, ptr noundef nonnull %31, ptr noundef nonnull %32, ptr noundef nonnull %33) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, i8 0, i64 24, i1 false)
%35 = load i32, ptr @session_timezone, align 4, !tbaa !5
%36 = call i32 @DetermineTimeZoneOffset(ptr noundef nonnull %3, i32 noundef %35) #4
%37 = load i32, ptr @USECS_PER_DAY, align 4, !tbaa !5
%38 = mul nsw i32 %37, %0
%39 = load i32, ptr @USECS_PER_SEC, align 4, !tbaa !5
%40 = mul nsw i32 %39, %36
%41 = add nsw i32 %40, %38
%42 = call i32 @IS_VALID_TIMESTAMP(i32 noundef %41) #4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %62
44: ; preds = %28
%45 = icmp eq ptr %1, null
br i1 %45, label %56, label %46
46: ; preds = %44
%47 = load i32, ptr @MIN_TIMESTAMP, align 4, !tbaa !5
%48 = icmp slt i32 %41, %47
br i1 %48, label %54, label %49
49: ; preds = %46
%50 = load i32, ptr @END_TIMESTAMP, align 4, !tbaa !5
%51 = icmp sge i32 %41, %50
%52 = zext i1 %51 to i32
%53 = call i32 @Assert(i32 noundef %52) #4
br label %54
54: ; preds = %46, %49
%55 = phi i32 [ 1, %49 ], [ -1, %46 ]
store i32 %55, ptr %1, align 4, !tbaa !5
br label %62
56: ; preds = %44
%57 = load i32, ptr @ERROR, align 4, !tbaa !5
%58 = load i32, ptr @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE, align 4, !tbaa !5
%59 = call i32 @errcode(i32 noundef %58) #4
%60 = call i32 @errmsg(ptr noundef nonnull @.str) #4
%61 = call i32 @ereport(i32 noundef %57, i32 noundef %60) #4
br label %62
62: ; preds = %6, %28, %56, %11, %54, %20
%63 = phi i32 [ 0, %20 ], [ 0, %54 ], [ undef, %6 ], [ undef, %11 ], [ %41, %28 ], [ %41, %56 ]
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
ret i32 %63
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @DATE_IS_NOBEGIN(i32 noundef) local_unnamed_addr #2
declare i32 @TIMESTAMP_NOBEGIN(i32 noundef) local_unnamed_addr #2
declare i64 @DATE_IS_NOEND(i32 noundef) local_unnamed_addr #2
declare i32 @TIMESTAMP_NOEND(i32 noundef) local_unnamed_addr #2
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errcode(i32 noundef) local_unnamed_addr #2
declare i32 @errmsg(ptr noundef) local_unnamed_addr #2
declare i32 @j2date(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DetermineTimeZoneOffset(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @IS_VALID_TIMESTAMP(i32 noundef) local_unnamed_addr #2
declare i32 @Assert(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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/postgres/src/backend/utils/adt/extr_date.c_date2timestamptz_opt_overflow.c'
source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_date.c_date2timestamptz_opt_overflow.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pg_tm = type { i64, i64, i64, i32, i32, i32 }
@TIMESTAMP_END_JULIAN = common local_unnamed_addr global i32 0, align 4
@POSTGRES_EPOCH_JDATE = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@ERRCODE_DATETIME_VALUE_OUT_OF_RANGE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"date out of range for timestamp\00", align 1
@session_timezone = common local_unnamed_addr global i32 0, align 4
@USECS_PER_DAY = common local_unnamed_addr global i32 0, align 4
@USECS_PER_SEC = common local_unnamed_addr global i32 0, align 4
@MIN_TIMESTAMP = common local_unnamed_addr global i32 0, align 4
@END_TIMESTAMP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @date2timestamptz_opt_overflow(i32 noundef %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.pg_tm, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
%4 = tail call i64 @DATE_IS_NOBEGIN(i32 noundef %0) #4
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @TIMESTAMP_NOBEGIN(i32 noundef undef) #4
br label %62
8: ; preds = %2
%9 = tail call i64 @DATE_IS_NOEND(i32 noundef %0) #4
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 @TIMESTAMP_NOEND(i32 noundef undef) #4
br label %62
13: ; preds = %8
%14 = load i32, ptr @TIMESTAMP_END_JULIAN, align 4, !tbaa !6
%15 = load i32, ptr @POSTGRES_EPOCH_JDATE, align 4, !tbaa !6
%16 = sub nsw i32 %14, %15
%17 = icmp sgt i32 %16, %0
br i1 %17, label %28, label %18
18: ; preds = %13
%19 = icmp eq ptr %1, null
br i1 %19, label %21, label %20
20: ; preds = %18
store i32 1, ptr %1, align 4, !tbaa !6
br label %62
21: ; preds = %18
%22 = load i32, ptr @ERROR, align 4, !tbaa !6
%23 = load i32, ptr @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE, align 4, !tbaa !6
%24 = tail call i32 @errcode(i32 noundef %23) #4
%25 = tail call i32 @errmsg(ptr noundef nonnull @.str) #4
%26 = tail call i32 @ereport(i32 noundef %22, i32 noundef %25) #4
%27 = load i32, ptr @POSTGRES_EPOCH_JDATE, align 4, !tbaa !6
br label %28
28: ; preds = %21, %13
%29 = phi i32 [ %27, %21 ], [ %15, %13 ]
%30 = add nsw i32 %29, %0
%31 = getelementptr inbounds i8, ptr %3, i64 32
%32 = getelementptr inbounds i8, ptr %3, i64 28
%33 = getelementptr inbounds i8, ptr %3, i64 24
%34 = call i32 @j2date(i32 noundef %30, ptr noundef nonnull %31, ptr noundef nonnull %32, ptr noundef nonnull %33) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, i8 0, i64 24, i1 false)
%35 = load i32, ptr @session_timezone, align 4, !tbaa !6
%36 = call i32 @DetermineTimeZoneOffset(ptr noundef nonnull %3, i32 noundef %35) #4
%37 = load i32, ptr @USECS_PER_DAY, align 4, !tbaa !6
%38 = mul nsw i32 %37, %0
%39 = load i32, ptr @USECS_PER_SEC, align 4, !tbaa !6
%40 = mul nsw i32 %39, %36
%41 = add nsw i32 %40, %38
%42 = call i32 @IS_VALID_TIMESTAMP(i32 noundef %41) #4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %62
44: ; preds = %28
%45 = icmp eq ptr %1, null
br i1 %45, label %56, label %46
46: ; preds = %44
%47 = load i32, ptr @MIN_TIMESTAMP, align 4, !tbaa !6
%48 = icmp slt i32 %41, %47
br i1 %48, label %54, label %49
49: ; preds = %46
%50 = load i32, ptr @END_TIMESTAMP, align 4, !tbaa !6
%51 = icmp sge i32 %41, %50
%52 = zext i1 %51 to i32
%53 = call i32 @Assert(i32 noundef %52) #4
br label %54
54: ; preds = %46, %49
%55 = phi i32 [ 1, %49 ], [ -1, %46 ]
store i32 %55, ptr %1, align 4, !tbaa !6
br label %62
56: ; preds = %44
%57 = load i32, ptr @ERROR, align 4, !tbaa !6
%58 = load i32, ptr @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE, align 4, !tbaa !6
%59 = call i32 @errcode(i32 noundef %58) #4
%60 = call i32 @errmsg(ptr noundef nonnull @.str) #4
%61 = call i32 @ereport(i32 noundef %57, i32 noundef %60) #4
br label %62
62: ; preds = %6, %28, %56, %11, %54, %20
%63 = phi i32 [ 0, %20 ], [ 0, %54 ], [ undef, %6 ], [ undef, %11 ], [ %41, %28 ], [ %41, %56 ]
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
ret i32 %63
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @DATE_IS_NOBEGIN(i32 noundef) local_unnamed_addr #2
declare i32 @TIMESTAMP_NOBEGIN(i32 noundef) local_unnamed_addr #2
declare i64 @DATE_IS_NOEND(i32 noundef) local_unnamed_addr #2
declare i32 @TIMESTAMP_NOEND(i32 noundef) local_unnamed_addr #2
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errcode(i32 noundef) local_unnamed_addr #2
declare i32 @errmsg(ptr noundef) local_unnamed_addr #2
declare i32 @j2date(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DetermineTimeZoneOffset(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @IS_VALID_TIMESTAMP(i32 noundef) local_unnamed_addr #2
declare i32 @Assert(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| postgres_src_backend_utils_adt_extr_date.c_date2timestamptz_opt_overflow |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bridge/extr_sil-sii8620.c_sii8620_burst_tx_rbuf_info.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/extr_sil-sii8620.c_sii8620_burst_tx_rbuf_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mhl_burst_blk_rcv_buffer_info = type { i32, i32 }
@MHL_BURST_ID_BLK_RCV_BUFFER_INFO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sii8620_burst_tx_rbuf_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sii8620_burst_tx_rbuf_info(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @sii8620_burst_get_tx_buf(ptr noundef %0, i32 noundef 8) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %2
%6 = load i32, ptr @MHL_BURST_ID_BLK_RCV_BUFFER_INFO, align 4, !tbaa !5
%7 = tail call i32 @cpu_to_be16(i32 noundef %6) #2
%8 = getelementptr inbounds %struct.mhl_burst_blk_rcv_buffer_info, ptr %3, i64 0, i32 1
store i32 %7, ptr %8, align 4, !tbaa !9
%9 = tail call i32 @cpu_to_le16(i32 noundef %1) #2
store i32 %9, ptr %3, align 4, !tbaa !11
br label %10
10: ; preds = %2, %5
ret void
}
declare ptr @sii8620_burst_get_tx_buf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(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 4}
!10 = !{!"mhl_burst_blk_rcv_buffer_info", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bridge/extr_sil-sii8620.c_sii8620_burst_tx_rbuf_info.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/extr_sil-sii8620.c_sii8620_burst_tx_rbuf_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MHL_BURST_ID_BLK_RCV_BUFFER_INFO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sii8620_burst_tx_rbuf_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sii8620_burst_tx_rbuf_info(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @sii8620_burst_get_tx_buf(ptr noundef %0, i32 noundef 8) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %2
%6 = load i32, ptr @MHL_BURST_ID_BLK_RCV_BUFFER_INFO, align 4, !tbaa !6
%7 = tail call i32 @cpu_to_be16(i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %7, ptr %8, align 4, !tbaa !10
%9 = tail call i32 @cpu_to_le16(i32 noundef %1) #2
store i32 %9, ptr %3, align 4, !tbaa !12
br label %10
10: ; preds = %2, %5
ret void
}
declare ptr @sii8620_burst_get_tx_buf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(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 4}
!11 = !{!"mhl_burst_blk_rcv_buffer_info", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
| linux_drivers_gpu_drm_bridge_extr_sil-sii8620.c_sii8620_burst_tx_rbuf_info |
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-data.h_obs_data_newref.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-data.h_obs_data_newref.c"
target datalayout = "e-m:e-p270:32:32-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 @obs_data_newref], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @obs_data_newref(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %5, label %3
3: ; preds = %1
%4 = tail call i32 @obs_data_addref(ptr noundef nonnull %0) #2
br label %7
5: ; preds = %1
%6 = tail call ptr (...) @obs_data_create() #2
br label %7
7: ; preds = %5, %3
%8 = phi ptr [ %0, %3 ], [ %6, %5 ]
ret ptr %8
}
declare i32 @obs_data_addref(ptr noundef) local_unnamed_addr #1
declare ptr @obs_data_create(...) 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/obs-studio/libobs/extr_obs-data.h_obs_data_newref.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-data.h_obs_data_newref.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 @obs_data_newref], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @obs_data_newref(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %5, label %3
3: ; preds = %1
%4 = tail call i32 @obs_data_addref(ptr noundef nonnull %0) #2
br label %7
5: ; preds = %1
%6 = tail call ptr @obs_data_create() #2
br label %7
7: ; preds = %5, %3
%8 = phi ptr [ %0, %3 ], [ %6, %5 ]
ret ptr %8
}
declare i32 @obs_data_addref(ptr noundef) local_unnamed_addr #1
declare ptr @obs_data_create(...) 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)"}
| obs-studio_libobs_extr_obs-data.h_obs_data_newref |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_er.c_wps_er_http_resp_ok.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_er.c_wps_er_http_resp_ok.c"
target datalayout = "e-m:e-p270:32:32-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 [100 x i8] c"HTTP/1.1 200 OK\0D\0AServer: unspecified, UPnP/1.0, unspecified\0D\0AConnection: close\0D\0AContent-Length: 0\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @wps_er_http_resp_ok], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wps_er_http_resp_ok(ptr noundef %0) #0 {
%2 = tail call ptr @wpabuf_alloc(i32 noundef 200) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @http_request_deinit(ptr noundef %0) #2
br label %11
6: ; preds = %1
%7 = tail call i32 @wpabuf_put_str(ptr noundef nonnull %2, ptr noundef nonnull @.str) #2
%8 = tail call i32 @http_put_date(ptr noundef nonnull %2) #2
%9 = tail call i32 @wpabuf_put_str(ptr noundef nonnull %2, ptr noundef nonnull @.str.1) #2
%10 = tail call i32 @http_request_send_and_deinit(ptr noundef %0, ptr noundef nonnull %2) #2
br label %11
11: ; preds = %6, %4
ret void
}
declare ptr @wpabuf_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @http_request_deinit(ptr noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_str(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @http_put_date(ptr noundef) local_unnamed_addr #1
declare i32 @http_request_send_and_deinit(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_er.c_wps_er_http_resp_ok.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/wps/extr_wps_er.c_wps_er_http_resp_ok.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 [100 x i8] c"HTTP/1.1 200 OK\0D\0AServer: unspecified, UPnP/1.0, unspecified\0D\0AConnection: close\0D\0AContent-Length: 0\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @wps_er_http_resp_ok], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wps_er_http_resp_ok(ptr noundef %0) #0 {
%2 = tail call ptr @wpabuf_alloc(i32 noundef 200) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @http_request_deinit(ptr noundef %0) #2
br label %11
6: ; preds = %1
%7 = tail call i32 @wpabuf_put_str(ptr noundef nonnull %2, ptr noundef nonnull @.str) #2
%8 = tail call i32 @http_put_date(ptr noundef nonnull %2) #2
%9 = tail call i32 @wpabuf_put_str(ptr noundef nonnull %2, ptr noundef nonnull @.str.1) #2
%10 = tail call i32 @http_request_send_and_deinit(ptr noundef %0, ptr noundef nonnull %2) #2
br label %11
11: ; preds = %6, %4
ret void
}
declare ptr @wpabuf_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @http_request_deinit(ptr noundef) local_unnamed_addr #1
declare i32 @wpabuf_put_str(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @http_put_date(ptr noundef) local_unnamed_addr #1
declare i32 @http_request_send_and_deinit(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)"}
| freebsd_contrib_wpa_src_wps_extr_wps_er.c_wps_er_http_resp_ok |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ca0106/extr_ca0106_mixer.c_snd_ca0106_volume_info.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ca0106/extr_ca0106_mixer.c_snd_ca0106_volume_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_ctl_elem_info = type { i32, %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32, i64 }
@SNDRV_CTL_ELEM_TYPE_INTEGER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ca0106_volume_info], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal noundef i32 @snd_ca0106_volume_info(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_INTEGER, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 2
store i32 %3, ptr %4, align 8, !tbaa !9
store i32 2, ptr %1, align 8, !tbaa !14
%5 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 1
%6 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 1, i32 0, i32 1
store i64 0, ptr %6, align 8, !tbaa !15
store i32 255, ptr %5, align 8, !tbaa !16
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"snd_ctl_elem_info", !6, i64 0, !11, i64 8, !6, i64 24}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !6, i64 0}
!15 = !{!10, !13, i64 16}
!16 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ca0106/extr_ca0106_mixer.c_snd_ca0106_volume_info.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ca0106/extr_ca0106_mixer.c_snd_ca0106_volume_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDRV_CTL_ELEM_TYPE_INTEGER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_ca0106_volume_info], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @snd_ca0106_volume_info(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_INTEGER, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 24
store i32 %3, ptr %4, align 8, !tbaa !10
store i32 2, ptr %1, align 8, !tbaa !15
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = getelementptr inbounds i8, ptr %1, i64 16
store i64 0, ptr %6, align 8, !tbaa !16
store i32 255, ptr %5, align 8, !tbaa !17
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"snd_ctl_elem_info", !7, i64 0, !12, i64 8, !7, i64 24}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !7, i64 0}
!16 = !{!11, !14, i64 16}
!17 = !{!11, !7, i64 8}
| fastsocket_kernel_sound_pci_ca0106_extr_ca0106_mixer.c_snd_ca0106_volume_info |
; ModuleID = 'AnghaBench/freebsd/contrib/mandoc/extr_mandocd.c_usage.c'
source_filename = "AnghaBench/freebsd/contrib/mandoc/extr_mandocd.c_usage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"usage: mandocd [-I os=name] [-T output] socket_fd\0A\00", align 1
; Function Attrs: noreturn nounwind uwtable
define dso_local void @usage() local_unnamed_addr #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !5
%2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #3
%3 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/mandoc/extr_mandocd.c_usage.c'
source_filename = "AnghaBench/freebsd/contrib/mandoc/extr_mandocd.c_usage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"usage: mandocd [-I os=name] [-T output] socket_fd\0A\00", align 1
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define void @usage() local_unnamed_addr #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !6
%2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #3
%3 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_mandoc_extr_mandocd.c_usage |
; ModuleID = 'AnghaBench/netdata/web/api/queries/extr_rrdr.c_rrdr_lock_rrdset.c'
source_filename = "AnghaBench/netdata/web/api/queries/extr_rrdr.c_rrdr_lock_rrdset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@.str = private unnamed_addr constant [18 x i8] c"NULL value given!\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rrdr_lock_rrdset], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @rrdr_lock_rrdset(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i64 @unlikely(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @error(ptr noundef nonnull @.str) #2
br label %12
8: ; preds = %1
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !5
%11 = tail call i32 @rrdset_rdlock(i32 noundef %10) #2
store i32 1, ptr %0, align 4, !tbaa !10
br label %12
12: ; preds = %8, %6
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef) local_unnamed_addr #1
declare i32 @rrdset_rdlock(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 4}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/netdata/web/api/queries/extr_rrdr.c_rrdr_lock_rrdset.c'
source_filename = "AnghaBench/netdata/web/api/queries/extr_rrdr.c_rrdr_lock_rrdset.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"NULL value given!\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rrdr_lock_rrdset], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @rrdr_lock_rrdset(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i64 @unlikely(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @error(ptr noundef nonnull @.str) #2
br label %12
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !6
%11 = tail call i32 @rrdset_rdlock(i32 noundef %10) #2
store i32 1, ptr %0, align 4, !tbaa !11
br label %12
12: ; preds = %8, %6
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef) local_unnamed_addr #1
declare i32 @rrdset_rdlock(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 4}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| netdata_web_api_queries_extr_rrdr.c_rrdr_lock_rrdset |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_coid.c_zfiWlanQueryAdHocIsCreator.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_coid.c_zfiWlanQueryAdHocIsCreator.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@wd = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @zfiWlanQueryAdHocIsCreator(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2
%3 = load ptr, ptr @wd, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !9
ret i32 %4
}
declare i32 @zmw_get_wlan_dev(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, !12, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_coid.c_zfiWlanQueryAdHocIsCreator.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_coid.c_zfiWlanQueryAdHocIsCreator.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@wd = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @zfiWlanQueryAdHocIsCreator(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2
%3 = load ptr, ptr @wd, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !10
ret i32 %4
}
declare i32 @zmw_get_wlan_dev(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, !13, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
| fastsocket_kernel_drivers_staging_otus_80211core_extr_coid.c_zfiWlanQueryAdHocIsCreator |
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman_test_stash.c_allocate_frame_data.c'
source_filename = "AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman_test_stash.c_allocate_frame_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HP_FIRST_WORD = dso_local local_unnamed_addr global i32 0, align 4
@qman_dma_portal = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"portal not available\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@pcfg = dso_local local_unnamed_addr global ptr null, align 8
@HP_NUM_WORDS = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@__frame_ptr = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@frame_ptr = dso_local local_unnamed_addr global ptr null, align 8
@DMA_BIDIRECTIONAL = dso_local local_unnamed_addr global i32 0, align 4
@frame_dma = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"dma mapping failure\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @allocate_frame_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @allocate_frame_data() #0 {
%1 = load i32, ptr @HP_FIRST_WORD, align 4, !tbaa !5
%2 = load i32, ptr @qman_dma_portal, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %0
%5 = tail call i32 @pr_crit(ptr noundef nonnull @.str) #2
%6 = load i32, ptr @EIO, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %52
8: ; preds = %0
%9 = tail call ptr @qman_get_qm_portal_config(i32 noundef %2) #2
store ptr %9, ptr @pcfg, align 8, !tbaa !9
%10 = load i32, ptr @HP_NUM_WORDS, align 4, !tbaa !5
%11 = shl nsw i32 %10, 2
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%13 = tail call i32 @kmalloc(i32 noundef %11, i32 noundef %12) #2
store i32 %13, ptr @__frame_ptr, align 4, !tbaa !5
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %8
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %52
18: ; preds = %8
%19 = tail call ptr @PTR_ALIGN(i32 noundef %13, i32 noundef 64) #2
store ptr %19, ptr @frame_ptr, align 8, !tbaa !9
%20 = load i32, ptr @HP_NUM_WORDS, align 4, !tbaa !5
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %34
22: ; preds = %18, %22
%23 = phi i64 [ %28, %22 ], [ 0, %18 ]
%24 = phi i32 [ %27, %22 ], [ %1, %18 ]
%25 = load ptr, ptr @frame_ptr, align 8, !tbaa !9
%26 = getelementptr inbounds i32, ptr %25, i64 %23
store i32 %24, ptr %26, align 4, !tbaa !5
%27 = tail call i32 @do_lfsr(i32 noundef %24) #2
%28 = add nuw nsw i64 %23, 1
%29 = load i32, ptr @HP_NUM_WORDS, align 4, !tbaa !5
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %28, %30
br i1 %31, label %22, label %32, !llvm.loop !11
32: ; preds = %22
%33 = load ptr, ptr @frame_ptr, align 8, !tbaa !9
br label %34
34: ; preds = %32, %18
%35 = phi ptr [ %19, %18 ], [ %33, %32 ]
%36 = phi i32 [ %20, %18 ], [ %29, %32 ]
%37 = load ptr, ptr @pcfg, align 8, !tbaa !9
%38 = load i32, ptr %37, align 4, !tbaa !13
%39 = shl nsw i32 %36, 2
%40 = load i32, ptr @DMA_BIDIRECTIONAL, align 4, !tbaa !5
%41 = tail call i32 @dma_map_single(i32 noundef %38, ptr noundef %35, i32 noundef %39, i32 noundef %40) #2
store i32 %41, ptr @frame_dma, align 4, !tbaa !5
%42 = load ptr, ptr @pcfg, align 8, !tbaa !9
%43 = load i32, ptr %42, align 4, !tbaa !13
%44 = tail call i64 @dma_mapping_error(i32 noundef %43, i32 noundef %41) #2
%45 = icmp eq i64 %44, 0
br i1 %45, label %52, label %46
46: ; preds = %34
%47 = tail call i32 @pr_crit(ptr noundef nonnull @.str.1) #2
%48 = load i32, ptr @__frame_ptr, align 4, !tbaa !5
%49 = tail call i32 @kfree(i32 noundef %48) #2
%50 = load i32, ptr @EIO, align 4, !tbaa !5
%51 = sub nsw i32 0, %50
br label %52
52: ; preds = %34, %46, %15, %4
%53 = phi i32 [ %51, %46 ], [ %17, %15 ], [ %7, %4 ], [ 0, %34 ]
ret i32 %53
}
declare i32 @pr_crit(ptr noundef) local_unnamed_addr #1
declare ptr @qman_get_qm_portal_config(i32 noundef) local_unnamed_addr #1
declare i32 @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @PTR_ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @do_lfsr(i32 noundef) local_unnamed_addr #1
declare i32 @dma_map_single(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @dma_mapping_error(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman_test_stash.c_allocate_frame_data.c'
source_filename = "AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman_test_stash.c_allocate_frame_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HP_FIRST_WORD = common local_unnamed_addr global i32 0, align 4
@qman_dma_portal = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"portal not available\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@pcfg = common local_unnamed_addr global ptr null, align 8
@HP_NUM_WORDS = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@__frame_ptr = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@frame_ptr = common local_unnamed_addr global ptr null, align 8
@DMA_BIDIRECTIONAL = common local_unnamed_addr global i32 0, align 4
@frame_dma = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"dma mapping failure\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @allocate_frame_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @allocate_frame_data() #0 {
%1 = load i32, ptr @HP_FIRST_WORD, align 4, !tbaa !6
%2 = load i32, ptr @qman_dma_portal, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %0
%5 = tail call i32 @pr_crit(ptr noundef nonnull @.str) #2
%6 = load i32, ptr @EIO, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %52
8: ; preds = %0
%9 = tail call ptr @qman_get_qm_portal_config(i32 noundef %2) #2
store ptr %9, ptr @pcfg, align 8, !tbaa !10
%10 = load i32, ptr @HP_NUM_WORDS, align 4, !tbaa !6
%11 = shl nsw i32 %10, 2
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%13 = tail call i32 @kmalloc(i32 noundef %11, i32 noundef %12) #2
store i32 %13, ptr @__frame_ptr, align 4, !tbaa !6
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %8
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %52
18: ; preds = %8
%19 = tail call ptr @PTR_ALIGN(i32 noundef %13, i32 noundef 64) #2
store ptr %19, ptr @frame_ptr, align 8, !tbaa !10
%20 = load i32, ptr @HP_NUM_WORDS, align 4, !tbaa !6
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %34
22: ; preds = %18, %22
%23 = phi i64 [ %28, %22 ], [ 0, %18 ]
%24 = phi i32 [ %27, %22 ], [ %1, %18 ]
%25 = load ptr, ptr @frame_ptr, align 8, !tbaa !10
%26 = getelementptr inbounds i32, ptr %25, i64 %23
store i32 %24, ptr %26, align 4, !tbaa !6
%27 = tail call i32 @do_lfsr(i32 noundef %24) #2
%28 = add nuw nsw i64 %23, 1
%29 = load i32, ptr @HP_NUM_WORDS, align 4, !tbaa !6
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %28, %30
br i1 %31, label %22, label %32, !llvm.loop !12
32: ; preds = %22
%33 = load ptr, ptr @frame_ptr, align 8, !tbaa !10
br label %34
34: ; preds = %32, %18
%35 = phi ptr [ %19, %18 ], [ %33, %32 ]
%36 = phi i32 [ %20, %18 ], [ %29, %32 ]
%37 = load ptr, ptr @pcfg, align 8, !tbaa !10
%38 = load i32, ptr %37, align 4, !tbaa !14
%39 = shl nsw i32 %36, 2
%40 = load i32, ptr @DMA_BIDIRECTIONAL, align 4, !tbaa !6
%41 = tail call i32 @dma_map_single(i32 noundef %38, ptr noundef %35, i32 noundef %39, i32 noundef %40) #2
store i32 %41, ptr @frame_dma, align 4, !tbaa !6
%42 = load ptr, ptr @pcfg, align 8, !tbaa !10
%43 = load i32, ptr %42, align 4, !tbaa !14
%44 = tail call i64 @dma_mapping_error(i32 noundef %43, i32 noundef %41) #2
%45 = icmp eq i64 %44, 0
br i1 %45, label %52, label %46
46: ; preds = %34
%47 = tail call i32 @pr_crit(ptr noundef nonnull @.str.1) #2
%48 = load i32, ptr @__frame_ptr, align 4, !tbaa !6
%49 = tail call i32 @kfree(i32 noundef %48) #2
%50 = load i32, ptr @EIO, align 4, !tbaa !6
%51 = sub nsw i32 0, %50
br label %52
52: ; preds = %34, %46, %15, %4
%53 = phi i32 [ %51, %46 ], [ %17, %15 ], [ %7, %4 ], [ 0, %34 ]
ret i32 %53
}
declare i32 @pr_crit(ptr noundef) local_unnamed_addr #1
declare ptr @qman_get_qm_portal_config(i32 noundef) local_unnamed_addr #1
declare i32 @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @PTR_ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @do_lfsr(i32 noundef) local_unnamed_addr #1
declare i32 @dma_map_single(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @dma_mapping_error(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_3__", !7, i64 0}
| linux_drivers_soc_fsl_qbman_extr_qman_test_stash.c_allocate_frame_data |
; ModuleID = 'AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpc_blank.c'
source_filename = "AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpc_blank.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@mpcf_free = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"whitespace\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @mpc_blank() local_unnamed_addr #0 {
%1 = tail call i32 (...) @mpc_whitespaces() #2
%2 = load i32, ptr @mpcf_free, align 4, !tbaa !5
%3 = tail call i32 @mpc_apply(i32 noundef %1, i32 noundef %2) #2
%4 = tail call ptr @mpc_expect(i32 noundef %3, ptr noundef nonnull @.str) #2
ret ptr %4
}
declare ptr @mpc_expect(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mpc_apply(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mpc_whitespaces(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpc_blank.c'
source_filename = "AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpc_blank.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mpcf_free = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"whitespace\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @mpc_blank() local_unnamed_addr #0 {
%1 = tail call i32 @mpc_whitespaces() #2
%2 = load i32, ptr @mpcf_free, align 4, !tbaa !6
%3 = tail call i32 @mpc_apply(i32 noundef %1, i32 noundef %2) #2
%4 = tail call ptr @mpc_expect(i32 noundef %3, ptr noundef nonnull @.str) #2
ret ptr %4
}
declare ptr @mpc_expect(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mpc_apply(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mpc_whitespaces(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_shlr_mpc_extr_mpc.c_mpc_blank |
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_alpha_enc.c_EncodeLossless.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_alpha_enc.c_EncodeLossless.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_14__ = type { i32, i32, i32, i32 }
%struct.TYPE_13__ = type { i32, i32, i32, i32, i32, ptr }
@VP8_ENC_OK = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @EncodeLossless], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @EncodeLossless(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca %struct.TYPE_14__, align 4
%9 = alloca %struct.TYPE_13__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #3
%10 = call i32 @WebPPictureInit(ptr noundef nonnull %9) #3
store i32 %1, ptr %9, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_13__, ptr %9, i64 0, i32 1
store i32 %2, ptr %11, align 4, !tbaa !11
%12 = getelementptr inbounds %struct.TYPE_13__, ptr %9, i64 0, i32 2
store i32 1, ptr %12, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.TYPE_13__, ptr %9, i64 0, i32 5
store ptr %6, ptr %13, align 8, !tbaa !13
%14 = call i32 @WebPPictureAlloc(ptr noundef nonnull %9) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %47, label %16
16: ; preds = %7
%17 = load i32, ptr %9, align 8, !tbaa !5
%18 = load i32, ptr %11, align 4, !tbaa !11
%19 = getelementptr inbounds %struct.TYPE_13__, ptr %9, i64 0, i32 4
%20 = load i32, ptr %19, align 8, !tbaa !14
%21 = getelementptr inbounds %struct.TYPE_13__, ptr %9, i64 0, i32 3
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = call i32 @WebPDispatchAlphaToGreen(ptr noundef %0, i32 noundef %1, i32 noundef %17, i32 noundef %18, i32 noundef %20, i32 noundef %22) #3
%24 = call i32 @WebPConfigInit(ptr noundef nonnull %8) #3
store i32 1, ptr %8, align 4, !tbaa !16
%25 = getelementptr inbounds %struct.TYPE_14__, ptr %8, i64 0, i32 1
store i32 1, ptr %25, align 4, !tbaa !18
%26 = getelementptr inbounds %struct.TYPE_14__, ptr %8, i64 0, i32 2
store i32 %3, ptr %26, align 4, !tbaa !19
%27 = icmp ne i32 %4, 0
%28 = icmp eq i32 %3, 6
%29 = and i1 %28, %27
%30 = sitofp i32 %3 to float
%31 = fmul float %30, 8.000000e+00
%32 = fptosi float %31 to i32
%33 = select i1 %29, i32 100, i32 %32
%34 = getelementptr inbounds %struct.TYPE_14__, ptr %8, i64 0, i32 3
store i32 %33, ptr %34, align 4, !tbaa !20
%35 = icmp ult i32 %33, 101
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 noundef %36) #3
%38 = call i64 @VP8LEncodeStream(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %5, i32 noundef 0) #3
%39 = load i64, ptr @VP8_ENC_OK, align 8, !tbaa !21
%40 = icmp eq i64 %38, %39
%41 = call i32 @WebPPictureFree(ptr noundef nonnull %9) #3
br i1 %40, label %42, label %45
42: ; preds = %16
%43 = load i32, ptr %5, align 4, !tbaa !23
%44 = icmp eq i32 %43, 0
br i1 %44, label %47, label %45
45: ; preds = %16, %42
%46 = call i32 @VP8LBitWriterWipeOut(ptr noundef %5) #3
br label %47
47: ; preds = %42, %7, %45
%48 = phi i32 [ 0, %45 ], [ 0, %7 ], [ 1, %42 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
ret i32 %48
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @WebPPictureInit(ptr noundef) local_unnamed_addr #2
declare i32 @WebPPictureAlloc(ptr noundef) local_unnamed_addr #2
declare i32 @WebPDispatchAlphaToGreen(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WebPConfigInit(ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i64 @VP8LEncodeStream(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WebPPictureFree(ptr noundef) local_unnamed_addr #2
declare i32 @VP8LBitWriterWipeOut(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_13__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !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 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !10, i64 24}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 12}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_14__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!18 = !{!17, !7, i64 4}
!19 = !{!17, !7, i64 8}
!20 = !{!17, !7, i64 12}
!21 = !{!22, !22, i64 0}
!22 = !{!"long", !8, i64 0}
!23 = !{!24, !7, i64 0}
!24 = !{!"TYPE_15__", !7, i64 0}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_alpha_enc.c_EncodeLossless.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_alpha_enc.c_EncodeLossless.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_14__ = type { i32, i32, i32, i32 }
%struct.TYPE_13__ = type { i32, i32, i32, i32, i32, ptr }
@VP8_ENC_OK = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @EncodeLossless], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @EncodeLossless(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca %struct.TYPE_14__, align 8
%9 = alloca %struct.TYPE_13__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #3
%10 = call i32 @WebPPictureInit(ptr noundef nonnull %9) #3
store i32 %1, ptr %9, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %9, i64 4
store i32 %2, ptr %11, align 4, !tbaa !12
%12 = getelementptr inbounds i8, ptr %9, i64 8
store i32 1, ptr %12, align 8, !tbaa !13
%13 = getelementptr inbounds i8, ptr %9, i64 24
store ptr %6, ptr %13, align 8, !tbaa !14
%14 = call i32 @WebPPictureAlloc(ptr noundef nonnull %9) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %46, label %16
16: ; preds = %7
%17 = load i32, ptr %9, align 8, !tbaa !6
%18 = load i32, ptr %11, align 4, !tbaa !12
%19 = getelementptr inbounds i8, ptr %9, i64 16
%20 = load i32, ptr %19, align 8, !tbaa !15
%21 = getelementptr inbounds i8, ptr %9, i64 12
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = call i32 @WebPDispatchAlphaToGreen(ptr noundef %0, i32 noundef %1, i32 noundef %17, i32 noundef %18, i32 noundef %20, i32 noundef %22) #3
%24 = call i32 @WebPConfigInit(ptr noundef nonnull %8) #3
store <2 x i32> <i32 1, i32 1>, ptr %8, align 8, !tbaa !17
%25 = getelementptr inbounds i8, ptr %8, i64 8
store i32 %3, ptr %25, align 8, !tbaa !18
%26 = icmp ne i32 %4, 0
%27 = icmp eq i32 %3, 6
%28 = and i1 %27, %26
%29 = sitofp i32 %3 to float
%30 = fmul float %29, 8.000000e+00
%31 = fptosi float %30 to i32
%32 = select i1 %28, i32 100, i32 %31
%33 = getelementptr inbounds i8, ptr %8, i64 12
store i32 %32, ptr %33, align 4, !tbaa !20
%34 = icmp ult i32 %32, 101
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35) #3
%37 = call i64 @VP8LEncodeStream(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %5, i32 noundef 0) #3
%38 = load i64, ptr @VP8_ENC_OK, align 8, !tbaa !21
%39 = icmp eq i64 %37, %38
%40 = call i32 @WebPPictureFree(ptr noundef nonnull %9) #3
br i1 %39, label %41, label %44
41: ; preds = %16
%42 = load i32, ptr %5, align 4, !tbaa !23
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %16, %41
%45 = call i32 @VP8LBitWriterWipeOut(ptr noundef %5) #3
br label %46
46: ; preds = %41, %7, %44
%47 = phi i32 [ 0, %44 ], [ 0, %7 ], [ 1, %41 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
ret i32 %47
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @WebPPictureInit(ptr noundef) local_unnamed_addr #2
declare i32 @WebPPictureAlloc(ptr noundef) local_unnamed_addr #2
declare i32 @WebPDispatchAlphaToGreen(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WebPConfigInit(ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i64 @VP8LEncodeStream(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WebPPictureFree(ptr noundef) local_unnamed_addr #2
declare i32 @VP8LBitWriterWipeOut(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_13__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !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 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !11, i64 24}
!15 = !{!7, !8, i64 16}
!16 = !{!7, !8, i64 12}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !8, i64 8}
!19 = !{!"TYPE_14__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!20 = !{!19, !8, i64 12}
!21 = !{!22, !22, i64 0}
!22 = !{!"long", !9, i64 0}
!23 = !{!24, !8, i64 0}
!24 = !{!"TYPE_15__", !8, i64 0}
| sumatrapdf_ext_libwebp_src_enc_extr_alpha_enc.c_EncodeLossless |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_attrlist.c_attr_pack_file.c'
source_filename = "AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_attrlist.c_attr_pack_file.c"
target datalayout = "e-m:e-p270:32:32-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.vnode = type { i64, ptr, ptr }
%struct.vnode_attr = type { i64, i64, i64, i64, i32, i32, i64, i64, i64 }
@ATTR_FILE_TOTALSIZE = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_FILE_ALLOCSIZE = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_FILE_RSRCLENGTH = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_FILE_RSRCALLOCSIZE = dso_local local_unnamed_addr global i32 0, align 4
@XATTR_RESOURCEFORK_NAME = dso_local local_unnamed_addr global i32 0, align 4
@XATTR_NOSECURITY = dso_local local_unnamed_addr global i32 0, align 4
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@ENOATTR = dso_local local_unnamed_addr global i32 0, align 4
@ENOTSUP = dso_local local_unnamed_addr global i32 0, align 4
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
@EACCES = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_FILE_LINKCOUNT = dso_local local_unnamed_addr global i32 0, align 4
@va_data_size = dso_local local_unnamed_addr global i32 0, align 4
@va_total_size = dso_local local_unnamed_addr global i32 0, align 4
@va_data_alloc = dso_local local_unnamed_addr global i32 0, align 4
@va_total_alloc = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_FILE_IOBLOCKSIZE = dso_local local_unnamed_addr global i32 0, align 4
@va_iosize = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_FILE_CLUMPSIZE = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_FILE_DEVTYPE = dso_local local_unnamed_addr global i32 0, align 4
@VCHR = dso_local local_unnamed_addr global i64 0, align 8
@VBLK = dso_local local_unnamed_addr global i64 0, align 8
@va_rdev = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_FILE_DATALENGTH = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_FILE_DATAALLOCSIZE = dso_local local_unnamed_addr global i32 0, align 4
@va_rsrc_length = dso_local local_unnamed_addr global i32 0, align 4
@va_rsrc_alloc = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @attr_pack_file], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @attr_pack_file(i32 noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
store i64 0, ptr %9, align 8, !tbaa !5
%10 = icmp eq ptr %1, null
%11 = icmp ne i32 %7, 0
%12 = or i1 %10, %11
%13 = load i32, ptr %2, align 4, !tbaa !9
br i1 %12, label %63, label %14
14: ; preds = %8
%15 = load i32, ptr @ATTR_FILE_TOTALSIZE, align 4, !tbaa !12
%16 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !12
%17 = or i32 %16, %15
%18 = load i32, ptr @ATTR_FILE_RSRCLENGTH, align 4, !tbaa !12
%19 = or i32 %17, %18
%20 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !12
%21 = or i32 %19, %20
%22 = and i32 %21, %13
%23 = icmp eq i32 %22, 0
br i1 %23, label %63, label %24
24: ; preds = %14
%25 = load i32, ptr @XATTR_RESOURCEFORK_NAME, align 4, !tbaa !12
%26 = load i32, ptr @XATTR_NOSECURITY, align 4, !tbaa !12
%27 = call i32 @vn_getxattr(ptr noundef nonnull %1, i32 noundef %25, ptr noundef null, ptr noundef nonnull %9, i32 noundef %26, i32 noundef %0) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = load i64, ptr %9, align 8, !tbaa !5
br label %47
31: ; preds = %24
%32 = load i32, ptr @ENOENT, align 4, !tbaa !12
%33 = icmp eq i32 %27, %32
%34 = load i32, ptr @ENOATTR, align 4
%35 = icmp eq i32 %27, %34
%36 = select i1 %33, i1 true, i1 %35
%37 = load i32, ptr @ENOTSUP, align 4
%38 = icmp eq i32 %27, %37
%39 = select i1 %36, i1 true, i1 %38
%40 = load i32, ptr @EPERM, align 4
%41 = icmp eq i32 %27, %40
%42 = select i1 %39, i1 true, i1 %41
%43 = load i32, ptr @EACCES, align 4
%44 = icmp eq i32 %27, %43
%45 = select i1 %42, i1 true, i1 %44
br i1 %45, label %46, label %415
46: ; preds = %31
store i64 0, ptr %9, align 8, !tbaa !5
br label %47
47: ; preds = %29, %46
%48 = phi i64 [ %30, %29 ], [ 0, %46 ]
%49 = load i32, ptr %2, align 4, !tbaa !9
%50 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !12
%51 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !12
%52 = or i32 %51, %50
%53 = and i32 %52, %49
%54 = icmp eq i32 %53, 0
br i1 %54, label %63, label %55
55: ; preds = %47
%56 = getelementptr inbounds %struct.vnode, ptr %1, i64 0, i32 2
%57 = load ptr, ptr %56, align 8, !tbaa !13
%58 = load i32, ptr %57, align 4, !tbaa !16
%59 = icmp eq i32 %58, 0
%60 = select i1 %59, i32 512, i32 %58
%61 = call i64 @roundup(i64 noundef %48, i32 noundef %60) #3
%62 = load i32, ptr %2, align 4, !tbaa !9
br label %63
63: ; preds = %47, %55, %14, %8
%64 = phi i32 [ %13, %8 ], [ %62, %55 ], [ %49, %47 ], [ %13, %14 ]
%65 = phi i64 [ 0, %8 ], [ %61, %55 ], [ 0, %47 ], [ 0, %14 ]
%66 = phi i64 [ 0, %8 ], [ %48, %55 ], [ %48, %47 ], [ 0, %14 ]
%67 = load i32, ptr @ATTR_FILE_LINKCOUNT, align 4, !tbaa !12
%68 = and i32 %67, %64
%69 = icmp eq i32 %68, 0
br i1 %69, label %80, label %70
70: ; preds = %63
%71 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 8
%72 = load i64, ptr %71, align 8, !tbaa !19
%73 = trunc i64 %72 to i32
%74 = load i32, ptr %3, align 4
%75 = call i32 @ATTR_PACK4(i32 %74, i32 noundef %73) #3
%76 = load i32, ptr @ATTR_FILE_LINKCOUNT, align 4, !tbaa !12
%77 = load i32, ptr %3, align 4, !tbaa !21
%78 = or i32 %77, %76
store i32 %78, ptr %3, align 4, !tbaa !21
%79 = load i32, ptr %2, align 4, !tbaa !9
br label %80
80: ; preds = %70, %63
%81 = phi i32 [ %79, %70 ], [ %64, %63 ]
%82 = load i32, ptr @ATTR_FILE_TOTALSIZE, align 4, !tbaa !12
%83 = and i32 %82, %81
%84 = icmp eq i32 %83, 0
br i1 %84, label %115, label %85
85: ; preds = %80
br i1 %11, label %96, label %86
86: ; preds = %85
%87 = load i32, ptr @va_data_size, align 4, !tbaa !12
%88 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %87) #3
%89 = icmp eq i64 %88, 0
br i1 %89, label %90, label %120
90: ; preds = %86
%91 = load i32, ptr @va_total_size, align 4, !tbaa !12
%92 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %91) #3
%93 = icmp eq i64 %92, 0
br i1 %93, label %124, label %94
94: ; preds = %90
%95 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 1
br label %120
96: ; preds = %85
%97 = load i32, ptr @va_total_size, align 4, !tbaa !12
%98 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %97) #3
%99 = icmp eq i64 %98, 0
br i1 %99, label %108, label %100
100: ; preds = %96
%101 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 1
%102 = load i64, ptr %101, align 8, !tbaa !24
%103 = load i32, ptr %3, align 4
%104 = call i32 @ATTR_PACK8(i32 %103, i64 noundef %102) #3
%105 = load i32, ptr @ATTR_FILE_TOTALSIZE, align 4, !tbaa !12
%106 = load i32, ptr %3, align 4, !tbaa !21
%107 = or i32 %106, %105
store i32 %107, ptr %3, align 4, !tbaa !21
br label %115
108: ; preds = %96
%109 = icmp eq i32 %5, 0
%110 = icmp ne i32 %6, 0
%111 = or i1 %109, %110
br i1 %111, label %112, label %115
112: ; preds = %108
%113 = load i32, ptr %3, align 4
%114 = call i32 @ATTR_PACK8(i32 %113, i64 noundef 0) #3
br label %115
115: ; preds = %112, %108, %100, %80
%116 = load i32, ptr %2, align 4, !tbaa !9
%117 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !12
%118 = and i32 %117, %116
%119 = icmp eq i32 %118, 0
br i1 %119, label %178, label %135
120: ; preds = %86, %94
%121 = phi ptr [ %95, %94 ], [ %4, %86 ]
%122 = load i64, ptr %121, align 8, !tbaa !5
%123 = add i64 %122, %66
br label %124
124: ; preds = %120, %90
%125 = phi i64 [ %66, %90 ], [ %123, %120 ]
%126 = load i32, ptr %3, align 4
%127 = call i32 @ATTR_PACK8(i32 %126, i64 noundef %125) #3
%128 = load i32, ptr @ATTR_FILE_TOTALSIZE, align 4, !tbaa !12
%129 = load i32, ptr %3, align 4, !tbaa !21
%130 = or i32 %129, %128
store i32 %130, ptr %3, align 4, !tbaa !21
%131 = load i32, ptr %2, align 4, !tbaa !9
%132 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !12
%133 = and i32 %132, %131
%134 = icmp eq i32 %133, 0
br i1 %134, label %178, label %136
135: ; preds = %115
br i1 %11, label %159, label %136
136: ; preds = %124, %135
%137 = load i32, ptr @va_data_alloc, align 4, !tbaa !12
%138 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %137) #3
%139 = icmp eq i64 %138, 0
br i1 %139, label %142, label %140
140: ; preds = %136
%141 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 2
br label %148
142: ; preds = %136
%143 = load i32, ptr @va_total_alloc, align 4, !tbaa !12
%144 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %143) #3
%145 = icmp eq i64 %144, 0
br i1 %145, label %152, label %146
146: ; preds = %142
%147 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 3
br label %148
148: ; preds = %140, %146
%149 = phi ptr [ %147, %146 ], [ %141, %140 ]
%150 = load i64, ptr %149, align 8, !tbaa !5
%151 = add i64 %150, %65
br label %152
152: ; preds = %148, %142
%153 = phi i64 [ %65, %142 ], [ %151, %148 ]
%154 = load i32, ptr %3, align 4
%155 = call i32 @ATTR_PACK8(i32 %154, i64 noundef %153) #3
%156 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !12
%157 = load i32, ptr %3, align 4, !tbaa !21
%158 = or i32 %157, %156
store i32 %158, ptr %3, align 4, !tbaa !21
br label %178
159: ; preds = %135
%160 = load i32, ptr @va_total_alloc, align 4, !tbaa !12
%161 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %160) #3
%162 = icmp eq i64 %161, 0
br i1 %162, label %171, label %163
163: ; preds = %159
%164 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 3
%165 = load i64, ptr %164, align 8, !tbaa !25
%166 = load i32, ptr %3, align 4
%167 = call i32 @ATTR_PACK8(i32 %166, i64 noundef %165) #3
%168 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !12
%169 = load i32, ptr %3, align 4, !tbaa !21
%170 = or i32 %169, %168
store i32 %170, ptr %3, align 4, !tbaa !21
br label %178
171: ; preds = %159
%172 = icmp eq i32 %5, 0
%173 = icmp ne i32 %6, 0
%174 = or i1 %172, %173
br i1 %174, label %175, label %178
175: ; preds = %171
%176 = load i32, ptr %3, align 4
%177 = call i32 @ATTR_PACK8(i32 %176, i64 noundef 0) #3
br label %178
178: ; preds = %124, %152, %175, %171, %163, %115
%179 = load i32, ptr %2, align 4, !tbaa !9
%180 = load i32, ptr @ATTR_FILE_IOBLOCKSIZE, align 4, !tbaa !12
%181 = and i32 %180, %179
%182 = icmp eq i32 %181, 0
br i1 %182, label %202, label %183
183: ; preds = %178
%184 = load i32, ptr @va_iosize, align 4, !tbaa !12
%185 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %184) #3
%186 = icmp eq i64 %185, 0
br i1 %186, label %195, label %187
187: ; preds = %183
%188 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 4
%189 = load i32, ptr %188, align 8, !tbaa !26
%190 = load i32, ptr %3, align 4
%191 = call i32 @ATTR_PACK4(i32 %190, i32 noundef %189) #3
%192 = load i32, ptr @ATTR_FILE_IOBLOCKSIZE, align 4, !tbaa !12
%193 = load i32, ptr %3, align 4, !tbaa !21
%194 = or i32 %193, %192
store i32 %194, ptr %3, align 4, !tbaa !21
br label %202
195: ; preds = %183
%196 = icmp eq i32 %5, 0
%197 = icmp ne i32 %6, 0
%198 = or i1 %196, %197
br i1 %198, label %199, label %202
199: ; preds = %195
%200 = load i32, ptr %3, align 4
%201 = call i32 @ATTR_PACK4(i32 %200, i32 noundef 0) #3
br label %202
202: ; preds = %187, %195, %199, %178
%203 = load i32, ptr %2, align 4, !tbaa !9
%204 = load i32, ptr @ATTR_FILE_CLUMPSIZE, align 4, !tbaa !12
%205 = and i32 %204, %203
%206 = icmp eq i32 %205, 0
br i1 %206, label %218, label %207
207: ; preds = %202
%208 = icmp eq i32 %5, 0
%209 = icmp ne i32 %6, 0
%210 = or i1 %208, %209
br i1 %210, label %211, label %218
211: ; preds = %207
%212 = load i32, ptr %3, align 4
%213 = call i32 @ATTR_PACK4(i32 %212, i32 noundef 0) #3
%214 = load i32, ptr @ATTR_FILE_CLUMPSIZE, align 4, !tbaa !12
%215 = load i32, ptr %3, align 4, !tbaa !21
%216 = or i32 %215, %214
store i32 %216, ptr %3, align 4, !tbaa !21
%217 = load i32, ptr %2, align 4, !tbaa !9
br label %218
218: ; preds = %211, %207, %202
%219 = phi i32 [ %217, %211 ], [ %203, %207 ], [ %203, %202 ]
%220 = load i32, ptr @ATTR_FILE_DEVTYPE, align 4, !tbaa !12
%221 = and i32 %220, %219
%222 = icmp eq i32 %221, 0
br i1 %222, label %276, label %223
223: ; preds = %218
br i1 %10, label %257, label %224
224: ; preds = %223
%225 = load i64, ptr %1, align 8, !tbaa !27
%226 = load i64, ptr @VCHR, align 8, !tbaa !5
%227 = icmp eq i64 %225, %226
%228 = load i64, ptr @VBLK, align 8
%229 = icmp eq i64 %225, %228
%230 = select i1 %227, i1 true, i1 %229
br i1 %230, label %231, label %251
231: ; preds = %224
%232 = getelementptr inbounds %struct.vnode, ptr %1, i64 0, i32 1
%233 = load ptr, ptr %232, align 8, !tbaa !28
%234 = icmp eq ptr %233, null
br i1 %234, label %235, label %241
235: ; preds = %231
%236 = load i32, ptr @va_rdev, align 4, !tbaa !12
%237 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %236) #3
%238 = icmp eq i64 %237, 0
br i1 %238, label %244, label %239
239: ; preds = %235
%240 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 5
br label %241
241: ; preds = %231, %239
%242 = phi ptr [ %240, %239 ], [ %233, %231 ]
%243 = load i32, ptr %242, align 4, !tbaa !12
br label %244
244: ; preds = %241, %235
%245 = phi i32 [ 0, %235 ], [ %243, %241 ]
%246 = load i32, ptr %3, align 4
%247 = call i32 @ATTR_PACK4(i32 %246, i32 noundef %245) #3
%248 = load i32, ptr @ATTR_FILE_DEVTYPE, align 4, !tbaa !12
%249 = load i32, ptr %3, align 4, !tbaa !21
%250 = or i32 %249, %248
store i32 %250, ptr %3, align 4, !tbaa !21
br label %276
251: ; preds = %224
%252 = load i32, ptr %3, align 4
%253 = call i32 @ATTR_PACK4(i32 %252, i32 noundef 0) #3
%254 = load i32, ptr @ATTR_FILE_DEVTYPE, align 4, !tbaa !12
%255 = load i32, ptr %3, align 4, !tbaa !21
%256 = or i32 %255, %254
store i32 %256, ptr %3, align 4, !tbaa !21
br label %276
257: ; preds = %223
%258 = load i32, ptr @va_rdev, align 4, !tbaa !12
%259 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %258) #3
%260 = icmp eq i64 %259, 0
br i1 %260, label %269, label %261
261: ; preds = %257
%262 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 5
%263 = load i32, ptr %262, align 4, !tbaa !29
%264 = load i32, ptr %3, align 4
%265 = call i32 @ATTR_PACK4(i32 %264, i32 noundef %263) #3
%266 = load i32, ptr @ATTR_FILE_DEVTYPE, align 4, !tbaa !12
%267 = load i32, ptr %3, align 4, !tbaa !21
%268 = or i32 %267, %266
store i32 %268, ptr %3, align 4, !tbaa !21
br label %276
269: ; preds = %257
%270 = icmp eq i32 %5, 0
%271 = icmp ne i32 %6, 0
%272 = or i1 %270, %271
br i1 %272, label %273, label %276
273: ; preds = %269
%274 = load i32, ptr %3, align 4
%275 = call i32 @ATTR_PACK4(i32 %274, i32 noundef 0) #3
br label %276
276: ; preds = %244, %261, %269, %273, %251, %218
%277 = load i32, ptr %2, align 4, !tbaa !9
%278 = load i32, ptr @ATTR_FILE_DATALENGTH, align 4, !tbaa !12
%279 = and i32 %278, %277
%280 = icmp eq i32 %279, 0
br i1 %280, label %311, label %281
281: ; preds = %276
%282 = load i32, ptr @va_data_size, align 4, !tbaa !12
%283 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %282) #3
%284 = icmp eq i64 %283, 0
br i1 %284, label %292, label %285
285: ; preds = %281
%286 = load i64, ptr %4, align 8, !tbaa !30
%287 = load i32, ptr %3, align 4
%288 = call i32 @ATTR_PACK8(i32 %287, i64 noundef %286) #3
%289 = load i32, ptr @ATTR_FILE_DATALENGTH, align 4, !tbaa !12
%290 = load i32, ptr %3, align 4, !tbaa !21
%291 = or i32 %290, %289
store i32 %291, ptr %3, align 4, !tbaa !21
br label %311
292: ; preds = %281
%293 = load i32, ptr @va_total_size, align 4, !tbaa !12
%294 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %293) #3
%295 = icmp eq i64 %294, 0
br i1 %295, label %304, label %296
296: ; preds = %292
%297 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 1
%298 = load i64, ptr %297, align 8, !tbaa !24
%299 = load i32, ptr %3, align 4
%300 = call i32 @ATTR_PACK8(i32 %299, i64 noundef %298) #3
%301 = load i32, ptr @ATTR_FILE_DATALENGTH, align 4, !tbaa !12
%302 = load i32, ptr %3, align 4, !tbaa !21
%303 = or i32 %302, %301
store i32 %303, ptr %3, align 4, !tbaa !21
br label %311
304: ; preds = %292
%305 = icmp eq i32 %5, 0
%306 = icmp ne i32 %6, 0
%307 = or i1 %305, %306
br i1 %307, label %308, label %311
308: ; preds = %304
%309 = load i32, ptr %3, align 4
%310 = call i32 @ATTR_PACK8(i32 %309, i64 noundef 0) #3
br label %311
311: ; preds = %285, %308, %304, %296, %276
%312 = load i32, ptr %2, align 4, !tbaa !9
%313 = load i32, ptr @ATTR_FILE_DATAALLOCSIZE, align 4, !tbaa !12
%314 = and i32 %313, %312
%315 = icmp eq i32 %314, 0
br i1 %315, label %347, label %316
316: ; preds = %311
%317 = load i32, ptr @va_data_alloc, align 4, !tbaa !12
%318 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %317) #3
%319 = icmp eq i64 %318, 0
br i1 %319, label %328, label %320
320: ; preds = %316
%321 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 2
%322 = load i64, ptr %321, align 8, !tbaa !31
%323 = load i32, ptr %3, align 4
%324 = call i32 @ATTR_PACK8(i32 %323, i64 noundef %322) #3
%325 = load i32, ptr @ATTR_FILE_DATAALLOCSIZE, align 4, !tbaa !12
%326 = load i32, ptr %3, align 4, !tbaa !21
%327 = or i32 %326, %325
store i32 %327, ptr %3, align 4, !tbaa !21
br label %347
328: ; preds = %316
%329 = load i32, ptr @va_total_alloc, align 4, !tbaa !12
%330 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %329) #3
%331 = icmp eq i64 %330, 0
br i1 %331, label %340, label %332
332: ; preds = %328
%333 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 3
%334 = load i64, ptr %333, align 8, !tbaa !25
%335 = load i32, ptr %3, align 4
%336 = call i32 @ATTR_PACK8(i32 %335, i64 noundef %334) #3
%337 = load i32, ptr @ATTR_FILE_DATAALLOCSIZE, align 4, !tbaa !12
%338 = load i32, ptr %3, align 4, !tbaa !21
%339 = or i32 %338, %337
store i32 %339, ptr %3, align 4, !tbaa !21
br label %347
340: ; preds = %328
%341 = icmp eq i32 %5, 0
%342 = icmp ne i32 %6, 0
%343 = or i1 %341, %342
br i1 %343, label %344, label %347
344: ; preds = %340
%345 = load i32, ptr %3, align 4
%346 = call i32 @ATTR_PACK8(i32 %345, i64 noundef 0) #3
br label %347
347: ; preds = %320, %344, %340, %332, %311
%348 = load i32, ptr %2, align 4, !tbaa !9
%349 = load i32, ptr @ATTR_FILE_RSRCLENGTH, align 4, !tbaa !12
%350 = and i32 %349, %348
%351 = icmp eq i32 %350, 0
br i1 %351, label %372, label %352
352: ; preds = %347
br i1 %11, label %353, label %377
353: ; preds = %352
%354 = load i32, ptr @va_rsrc_length, align 4, !tbaa !12
%355 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %354) #3
%356 = icmp eq i64 %355, 0
br i1 %356, label %365, label %357
357: ; preds = %353
%358 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 6
%359 = load i64, ptr %358, align 8, !tbaa !32
%360 = load i32, ptr %3, align 4
%361 = call i32 @ATTR_PACK8(i32 %360, i64 noundef %359) #3
%362 = load i32, ptr @ATTR_FILE_RSRCLENGTH, align 4, !tbaa !12
%363 = load i32, ptr %3, align 4, !tbaa !21
%364 = or i32 %363, %362
store i32 %364, ptr %3, align 4, !tbaa !21
br label %372
365: ; preds = %353
%366 = icmp eq i32 %5, 0
%367 = icmp ne i32 %6, 0
%368 = or i1 %366, %367
br i1 %368, label %369, label %372
369: ; preds = %365
%370 = load i32, ptr %3, align 4
%371 = call i32 @ATTR_PACK8(i32 %370, i64 noundef 0) #3
br label %372
372: ; preds = %369, %365, %357, %347
%373 = load i32, ptr %2, align 4, !tbaa !9
%374 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !12
%375 = and i32 %374, %373
%376 = icmp eq i32 %375, 0
br i1 %376, label %415, label %387
377: ; preds = %352
%378 = load i32, ptr %3, align 4
%379 = call i32 @ATTR_PACK8(i32 %378, i64 noundef %66) #3
%380 = load i32, ptr @ATTR_FILE_RSRCLENGTH, align 4, !tbaa !12
%381 = load i32, ptr %3, align 4, !tbaa !21
%382 = or i32 %381, %380
store i32 %382, ptr %3, align 4, !tbaa !21
%383 = load i32, ptr %2, align 4, !tbaa !9
%384 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !12
%385 = and i32 %384, %383
%386 = icmp eq i32 %385, 0
br i1 %386, label %415, label %390
387: ; preds = %372
br i1 %11, label %396, label %388
388: ; preds = %387
%389 = load i32, ptr %3, align 4
br label %390
390: ; preds = %388, %377
%391 = phi i32 [ %389, %388 ], [ %382, %377 ]
%392 = call i32 @ATTR_PACK8(i32 %391, i64 noundef %65) #3
%393 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !12
%394 = load i32, ptr %3, align 4, !tbaa !21
%395 = or i32 %394, %393
store i32 %395, ptr %3, align 4, !tbaa !21
br label %415
396: ; preds = %387
%397 = load i32, ptr @va_rsrc_alloc, align 4, !tbaa !12
%398 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %397) #3
%399 = icmp eq i64 %398, 0
br i1 %399, label %408, label %400
400: ; preds = %396
%401 = getelementptr inbounds %struct.vnode_attr, ptr %4, i64 0, i32 7
%402 = load i64, ptr %401, align 8, !tbaa !33
%403 = load i32, ptr %3, align 4
%404 = call i32 @ATTR_PACK8(i32 %403, i64 noundef %402) #3
%405 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !12
%406 = load i32, ptr %3, align 4, !tbaa !21
%407 = or i32 %406, %405
store i32 %407, ptr %3, align 4, !tbaa !21
br label %415
408: ; preds = %396
%409 = icmp eq i32 %5, 0
%410 = icmp ne i32 %6, 0
%411 = or i1 %409, %410
br i1 %411, label %412, label %415
412: ; preds = %408
%413 = load i32, ptr %3, align 4
%414 = call i32 @ATTR_PACK8(i32 %413, i64 noundef 0) #3
br label %415
415: ; preds = %377, %31, %372, %400, %408, %412, %390
%416 = phi i32 [ 0, %400 ], [ 0, %412 ], [ 0, %408 ], [ 0, %390 ], [ 0, %372 ], [ %27, %31 ], [ 0, %377 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
ret i32 %416
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vn_getxattr(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @roundup(i64 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @ATTR_PACK4(i32, i32 noundef) local_unnamed_addr #2
declare i64 @VATTR_IS_SUPPORTED(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ATTR_PACK8(i32, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"attrlist", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !15, i64 16}
!14 = !{!"vnode", !6, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_6__", !18, i64 0}
!18 = !{!"TYPE_5__", !11, i64 0}
!19 = !{!20, !6, i64 56}
!20 = !{!"vnode_attr", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !6, i64 40, !6, i64 48, !6, i64 56}
!21 = !{!22, !11, i64 0}
!22 = !{!"_attrlist_buf", !23, i64 0}
!23 = !{!"TYPE_7__", !11, i64 0}
!24 = !{!20, !6, i64 8}
!25 = !{!20, !6, i64 24}
!26 = !{!20, !11, i64 32}
!27 = !{!14, !6, i64 0}
!28 = !{!14, !15, i64 8}
!29 = !{!20, !11, i64 36}
!30 = !{!20, !6, i64 0}
!31 = !{!20, !6, i64 16}
!32 = !{!20, !6, i64 40}
!33 = !{!20, !6, i64 48}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_attrlist.c_attr_pack_file.c'
source_filename = "AnghaBench/darwin-xnu/bsd/vfs/extr_vfs_attrlist.c_attr_pack_file.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATTR_FILE_TOTALSIZE = common local_unnamed_addr global i32 0, align 4
@ATTR_FILE_ALLOCSIZE = common local_unnamed_addr global i32 0, align 4
@ATTR_FILE_RSRCLENGTH = common local_unnamed_addr global i32 0, align 4
@ATTR_FILE_RSRCALLOCSIZE = common local_unnamed_addr global i32 0, align 4
@XATTR_RESOURCEFORK_NAME = common local_unnamed_addr global i32 0, align 4
@XATTR_NOSECURITY = common local_unnamed_addr global i32 0, align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
@ENOATTR = common local_unnamed_addr global i32 0, align 4
@ENOTSUP = common local_unnamed_addr global i32 0, align 4
@EPERM = common local_unnamed_addr global i32 0, align 4
@EACCES = common local_unnamed_addr global i32 0, align 4
@ATTR_FILE_LINKCOUNT = common local_unnamed_addr global i32 0, align 4
@va_data_size = common local_unnamed_addr global i32 0, align 4
@va_total_size = common local_unnamed_addr global i32 0, align 4
@va_data_alloc = common local_unnamed_addr global i32 0, align 4
@va_total_alloc = common local_unnamed_addr global i32 0, align 4
@ATTR_FILE_IOBLOCKSIZE = common local_unnamed_addr global i32 0, align 4
@va_iosize = common local_unnamed_addr global i32 0, align 4
@ATTR_FILE_CLUMPSIZE = common local_unnamed_addr global i32 0, align 4
@ATTR_FILE_DEVTYPE = common local_unnamed_addr global i32 0, align 4
@VCHR = common local_unnamed_addr global i64 0, align 8
@VBLK = common local_unnamed_addr global i64 0, align 8
@va_rdev = common local_unnamed_addr global i32 0, align 4
@ATTR_FILE_DATALENGTH = common local_unnamed_addr global i32 0, align 4
@ATTR_FILE_DATAALLOCSIZE = common local_unnamed_addr global i32 0, align 4
@va_rsrc_length = common local_unnamed_addr global i32 0, align 4
@va_rsrc_alloc = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @attr_pack_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @attr_pack_file(i32 noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
store i64 0, ptr %9, align 8, !tbaa !6
%10 = icmp eq ptr %1, null
%11 = icmp ne i32 %7, 0
%12 = or i1 %10, %11
%13 = load i32, ptr %2, align 4, !tbaa !10
br i1 %12, label %63, label %14
14: ; preds = %8
%15 = load i32, ptr @ATTR_FILE_TOTALSIZE, align 4, !tbaa !13
%16 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !13
%17 = or i32 %16, %15
%18 = load i32, ptr @ATTR_FILE_RSRCLENGTH, align 4, !tbaa !13
%19 = or i32 %17, %18
%20 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !13
%21 = or i32 %19, %20
%22 = and i32 %21, %13
%23 = icmp eq i32 %22, 0
br i1 %23, label %63, label %24
24: ; preds = %14
%25 = load i32, ptr @XATTR_RESOURCEFORK_NAME, align 4, !tbaa !13
%26 = load i32, ptr @XATTR_NOSECURITY, align 4, !tbaa !13
%27 = call i32 @vn_getxattr(ptr noundef nonnull %1, i32 noundef %25, ptr noundef null, ptr noundef nonnull %9, i32 noundef %26, i32 noundef %0) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = load i64, ptr %9, align 8, !tbaa !6
br label %47
31: ; preds = %24
%32 = load i32, ptr @ENOENT, align 4, !tbaa !13
%33 = icmp eq i32 %27, %32
%34 = load i32, ptr @ENOATTR, align 4
%35 = icmp eq i32 %27, %34
%36 = select i1 %33, i1 true, i1 %35
%37 = load i32, ptr @ENOTSUP, align 4
%38 = icmp eq i32 %27, %37
%39 = select i1 %36, i1 true, i1 %38
%40 = load i32, ptr @EPERM, align 4
%41 = icmp eq i32 %27, %40
%42 = select i1 %39, i1 true, i1 %41
%43 = load i32, ptr @EACCES, align 4
%44 = icmp eq i32 %27, %43
%45 = select i1 %42, i1 true, i1 %44
br i1 %45, label %46, label %438
46: ; preds = %31
store i64 0, ptr %9, align 8, !tbaa !6
br label %47
47: ; preds = %29, %46
%48 = phi i64 [ %30, %29 ], [ 0, %46 ]
%49 = load i32, ptr %2, align 4, !tbaa !10
%50 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !13
%51 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !13
%52 = or i32 %51, %50
%53 = and i32 %52, %49
%54 = icmp eq i32 %53, 0
br i1 %54, label %63, label %55
55: ; preds = %47
%56 = getelementptr inbounds i8, ptr %1, i64 16
%57 = load ptr, ptr %56, align 8, !tbaa !14
%58 = load i32, ptr %57, align 4, !tbaa !17
%59 = icmp eq i32 %58, 0
%60 = select i1 %59, i32 512, i32 %58
%61 = call i64 @roundup(i64 noundef %48, i32 noundef %60) #3
%62 = load i32, ptr %2, align 4, !tbaa !10
br label %63
63: ; preds = %47, %55, %14, %8
%64 = phi i32 [ %13, %8 ], [ %62, %55 ], [ %49, %47 ], [ %13, %14 ]
%65 = phi i64 [ 0, %8 ], [ %61, %55 ], [ 0, %47 ], [ 0, %14 ]
%66 = phi i64 [ 0, %8 ], [ %48, %55 ], [ %48, %47 ], [ 0, %14 ]
%67 = load i32, ptr @ATTR_FILE_LINKCOUNT, align 4, !tbaa !13
%68 = and i32 %67, %64
%69 = icmp eq i32 %68, 0
br i1 %69, label %81, label %70
70: ; preds = %63
%71 = getelementptr inbounds i8, ptr %4, i64 56
%72 = load i64, ptr %71, align 8, !tbaa !20
%73 = trunc i64 %72 to i32
%74 = load i32, ptr %3, align 4
%75 = zext i32 %74 to i64
%76 = call i32 @ATTR_PACK4(i64 %75, i32 noundef %73) #3
%77 = load i32, ptr @ATTR_FILE_LINKCOUNT, align 4, !tbaa !13
%78 = load i32, ptr %3, align 4, !tbaa !22
%79 = or i32 %78, %77
store i32 %79, ptr %3, align 4, !tbaa !22
%80 = load i32, ptr %2, align 4, !tbaa !10
br label %81
81: ; preds = %70, %63
%82 = phi i32 [ %80, %70 ], [ %64, %63 ]
%83 = load i32, ptr @ATTR_FILE_TOTALSIZE, align 4, !tbaa !13
%84 = and i32 %83, %82
%85 = icmp eq i32 %84, 0
br i1 %85, label %118, label %86
86: ; preds = %81
br i1 %11, label %97, label %87
87: ; preds = %86
%88 = load i32, ptr @va_data_size, align 4, !tbaa !13
%89 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %88) #3
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %123
91: ; preds = %87
%92 = load i32, ptr @va_total_size, align 4, !tbaa !13
%93 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %92) #3
%94 = icmp eq i64 %93, 0
br i1 %94, label %127, label %95
95: ; preds = %91
%96 = getelementptr inbounds i8, ptr %4, i64 8
br label %123
97: ; preds = %86
%98 = load i32, ptr @va_total_size, align 4, !tbaa !13
%99 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %98) #3
%100 = icmp eq i64 %99, 0
br i1 %100, label %110, label %101
101: ; preds = %97
%102 = getelementptr inbounds i8, ptr %4, i64 8
%103 = load i64, ptr %102, align 8, !tbaa !25
%104 = load i32, ptr %3, align 4
%105 = zext i32 %104 to i64
%106 = call i32 @ATTR_PACK8(i64 %105, i64 noundef %103) #3
%107 = load i32, ptr @ATTR_FILE_TOTALSIZE, align 4, !tbaa !13
%108 = load i32, ptr %3, align 4, !tbaa !22
%109 = or i32 %108, %107
store i32 %109, ptr %3, align 4, !tbaa !22
br label %118
110: ; preds = %97
%111 = icmp eq i32 %5, 0
%112 = icmp ne i32 %6, 0
%113 = or i1 %111, %112
br i1 %113, label %114, label %118
114: ; preds = %110
%115 = load i32, ptr %3, align 4
%116 = zext i32 %115 to i64
%117 = call i32 @ATTR_PACK8(i64 %116, i64 noundef 0) #3
br label %118
118: ; preds = %114, %110, %101, %81
%119 = load i32, ptr %2, align 4, !tbaa !10
%120 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !13
%121 = and i32 %120, %119
%122 = icmp eq i32 %121, 0
br i1 %122, label %182, label %139
123: ; preds = %87, %95
%124 = phi ptr [ %96, %95 ], [ %4, %87 ]
%125 = load i64, ptr %124, align 8, !tbaa !6
%126 = add i64 %125, %66
br label %127
127: ; preds = %123, %91
%128 = phi i64 [ %66, %91 ], [ %126, %123 ]
%129 = load i32, ptr %3, align 4
%130 = zext i32 %129 to i64
%131 = call i32 @ATTR_PACK8(i64 %130, i64 noundef %128) #3
%132 = load i32, ptr @ATTR_FILE_TOTALSIZE, align 4, !tbaa !13
%133 = load i32, ptr %3, align 4, !tbaa !22
%134 = or i32 %133, %132
store i32 %134, ptr %3, align 4, !tbaa !22
%135 = load i32, ptr %2, align 4, !tbaa !10
%136 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !13
%137 = and i32 %136, %135
%138 = icmp eq i32 %137, 0
br i1 %138, label %182, label %140
139: ; preds = %118
br i1 %11, label %161, label %140
140: ; preds = %127, %139
%141 = load i32, ptr @va_data_alloc, align 4, !tbaa !13
%142 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %141) #3
%143 = icmp eq i64 %142, 0
br i1 %143, label %144, label %148
144: ; preds = %140
%145 = load i32, ptr @va_total_alloc, align 4, !tbaa !13
%146 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %145) #3
%147 = icmp eq i64 %146, 0
br i1 %147, label %153, label %148
148: ; preds = %144, %140
%149 = phi i64 [ 16, %140 ], [ 24, %144 ]
%150 = getelementptr inbounds i8, ptr %4, i64 %149
%151 = load i64, ptr %150, align 8, !tbaa !6
%152 = add i64 %151, %65
br label %153
153: ; preds = %148, %144
%154 = phi i64 [ %65, %144 ], [ %152, %148 ]
%155 = load i32, ptr %3, align 4
%156 = zext i32 %155 to i64
%157 = call i32 @ATTR_PACK8(i64 %156, i64 noundef %154) #3
%158 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !13
%159 = load i32, ptr %3, align 4, !tbaa !22
%160 = or i32 %159, %158
store i32 %160, ptr %3, align 4, !tbaa !22
br label %182
161: ; preds = %139
%162 = load i32, ptr @va_total_alloc, align 4, !tbaa !13
%163 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %162) #3
%164 = icmp eq i64 %163, 0
br i1 %164, label %174, label %165
165: ; preds = %161
%166 = getelementptr inbounds i8, ptr %4, i64 24
%167 = load i64, ptr %166, align 8, !tbaa !26
%168 = load i32, ptr %3, align 4
%169 = zext i32 %168 to i64
%170 = call i32 @ATTR_PACK8(i64 %169, i64 noundef %167) #3
%171 = load i32, ptr @ATTR_FILE_ALLOCSIZE, align 4, !tbaa !13
%172 = load i32, ptr %3, align 4, !tbaa !22
%173 = or i32 %172, %171
store i32 %173, ptr %3, align 4, !tbaa !22
br label %182
174: ; preds = %161
%175 = icmp eq i32 %5, 0
%176 = icmp ne i32 %6, 0
%177 = or i1 %175, %176
br i1 %177, label %178, label %182
178: ; preds = %174
%179 = load i32, ptr %3, align 4
%180 = zext i32 %179 to i64
%181 = call i32 @ATTR_PACK8(i64 %180, i64 noundef 0) #3
br label %182
182: ; preds = %127, %153, %178, %174, %165, %118
%183 = load i32, ptr %2, align 4, !tbaa !10
%184 = load i32, ptr @ATTR_FILE_IOBLOCKSIZE, align 4, !tbaa !13
%185 = and i32 %184, %183
%186 = icmp eq i32 %185, 0
br i1 %186, label %208, label %187
187: ; preds = %182
%188 = load i32, ptr @va_iosize, align 4, !tbaa !13
%189 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %188) #3
%190 = icmp eq i64 %189, 0
br i1 %190, label %200, label %191
191: ; preds = %187
%192 = getelementptr inbounds i8, ptr %4, i64 32
%193 = load i32, ptr %192, align 8, !tbaa !27
%194 = load i32, ptr %3, align 4
%195 = zext i32 %194 to i64
%196 = call i32 @ATTR_PACK4(i64 %195, i32 noundef %193) #3
%197 = load i32, ptr @ATTR_FILE_IOBLOCKSIZE, align 4, !tbaa !13
%198 = load i32, ptr %3, align 4, !tbaa !22
%199 = or i32 %198, %197
store i32 %199, ptr %3, align 4, !tbaa !22
br label %208
200: ; preds = %187
%201 = icmp eq i32 %5, 0
%202 = icmp ne i32 %6, 0
%203 = or i1 %201, %202
br i1 %203, label %204, label %208
204: ; preds = %200
%205 = load i32, ptr %3, align 4
%206 = zext i32 %205 to i64
%207 = call i32 @ATTR_PACK4(i64 %206, i32 noundef 0) #3
br label %208
208: ; preds = %191, %200, %204, %182
%209 = load i32, ptr %2, align 4, !tbaa !10
%210 = load i32, ptr @ATTR_FILE_CLUMPSIZE, align 4, !tbaa !13
%211 = and i32 %210, %209
%212 = icmp eq i32 %211, 0
br i1 %212, label %225, label %213
213: ; preds = %208
%214 = icmp eq i32 %5, 0
%215 = icmp ne i32 %6, 0
%216 = or i1 %214, %215
br i1 %216, label %217, label %225
217: ; preds = %213
%218 = load i32, ptr %3, align 4
%219 = zext i32 %218 to i64
%220 = call i32 @ATTR_PACK4(i64 %219, i32 noundef 0) #3
%221 = load i32, ptr @ATTR_FILE_CLUMPSIZE, align 4, !tbaa !13
%222 = load i32, ptr %3, align 4, !tbaa !22
%223 = or i32 %222, %221
store i32 %223, ptr %3, align 4, !tbaa !22
%224 = load i32, ptr %2, align 4, !tbaa !10
br label %225
225: ; preds = %217, %213, %208
%226 = phi i32 [ %224, %217 ], [ %209, %213 ], [ %209, %208 ]
%227 = load i32, ptr @ATTR_FILE_DEVTYPE, align 4, !tbaa !13
%228 = and i32 %227, %226
%229 = icmp eq i32 %228, 0
br i1 %229, label %287, label %230
230: ; preds = %225
br i1 %10, label %266, label %231
231: ; preds = %230
%232 = load i64, ptr %1, align 8, !tbaa !28
%233 = load i64, ptr @VCHR, align 8, !tbaa !6
%234 = icmp eq i64 %232, %233
%235 = load i64, ptr @VBLK, align 8
%236 = icmp eq i64 %232, %235
%237 = select i1 %234, i1 true, i1 %236
br i1 %237, label %238, label %259
238: ; preds = %231
%239 = getelementptr inbounds i8, ptr %1, i64 8
%240 = load ptr, ptr %239, align 8, !tbaa !29
%241 = icmp eq ptr %240, null
br i1 %241, label %242, label %248
242: ; preds = %238
%243 = load i32, ptr @va_rdev, align 4, !tbaa !13
%244 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %243) #3
%245 = icmp eq i64 %244, 0
br i1 %245, label %251, label %246
246: ; preds = %242
%247 = getelementptr inbounds i8, ptr %4, i64 36
br label %248
248: ; preds = %238, %246
%249 = phi ptr [ %247, %246 ], [ %240, %238 ]
%250 = load i32, ptr %249, align 4, !tbaa !13
br label %251
251: ; preds = %248, %242
%252 = phi i32 [ 0, %242 ], [ %250, %248 ]
%253 = load i32, ptr %3, align 4
%254 = zext i32 %253 to i64
%255 = call i32 @ATTR_PACK4(i64 %254, i32 noundef %252) #3
%256 = load i32, ptr @ATTR_FILE_DEVTYPE, align 4, !tbaa !13
%257 = load i32, ptr %3, align 4, !tbaa !22
%258 = or i32 %257, %256
store i32 %258, ptr %3, align 4, !tbaa !22
br label %287
259: ; preds = %231
%260 = load i32, ptr %3, align 4
%261 = zext i32 %260 to i64
%262 = call i32 @ATTR_PACK4(i64 %261, i32 noundef 0) #3
%263 = load i32, ptr @ATTR_FILE_DEVTYPE, align 4, !tbaa !13
%264 = load i32, ptr %3, align 4, !tbaa !22
%265 = or i32 %264, %263
store i32 %265, ptr %3, align 4, !tbaa !22
br label %287
266: ; preds = %230
%267 = load i32, ptr @va_rdev, align 4, !tbaa !13
%268 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %267) #3
%269 = icmp eq i64 %268, 0
br i1 %269, label %279, label %270
270: ; preds = %266
%271 = getelementptr inbounds i8, ptr %4, i64 36
%272 = load i32, ptr %271, align 4, !tbaa !30
%273 = load i32, ptr %3, align 4
%274 = zext i32 %273 to i64
%275 = call i32 @ATTR_PACK4(i64 %274, i32 noundef %272) #3
%276 = load i32, ptr @ATTR_FILE_DEVTYPE, align 4, !tbaa !13
%277 = load i32, ptr %3, align 4, !tbaa !22
%278 = or i32 %277, %276
store i32 %278, ptr %3, align 4, !tbaa !22
br label %287
279: ; preds = %266
%280 = icmp eq i32 %5, 0
%281 = icmp ne i32 %6, 0
%282 = or i1 %280, %281
br i1 %282, label %283, label %287
283: ; preds = %279
%284 = load i32, ptr %3, align 4
%285 = zext i32 %284 to i64
%286 = call i32 @ATTR_PACK4(i64 %285, i32 noundef 0) #3
br label %287
287: ; preds = %251, %270, %279, %283, %259, %225
%288 = load i32, ptr %2, align 4, !tbaa !10
%289 = load i32, ptr @ATTR_FILE_DATALENGTH, align 4, !tbaa !13
%290 = and i32 %289, %288
%291 = icmp eq i32 %290, 0
br i1 %291, label %325, label %292
292: ; preds = %287
%293 = load i32, ptr @va_data_size, align 4, !tbaa !13
%294 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %293) #3
%295 = icmp eq i64 %294, 0
br i1 %295, label %304, label %296
296: ; preds = %292
%297 = load i64, ptr %4, align 8, !tbaa !31
%298 = load i32, ptr %3, align 4
%299 = zext i32 %298 to i64
%300 = call i32 @ATTR_PACK8(i64 %299, i64 noundef %297) #3
%301 = load i32, ptr @ATTR_FILE_DATALENGTH, align 4, !tbaa !13
%302 = load i32, ptr %3, align 4, !tbaa !22
%303 = or i32 %302, %301
store i32 %303, ptr %3, align 4, !tbaa !22
br label %325
304: ; preds = %292
%305 = load i32, ptr @va_total_size, align 4, !tbaa !13
%306 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %305) #3
%307 = icmp eq i64 %306, 0
br i1 %307, label %317, label %308
308: ; preds = %304
%309 = getelementptr inbounds i8, ptr %4, i64 8
%310 = load i64, ptr %309, align 8, !tbaa !25
%311 = load i32, ptr %3, align 4
%312 = zext i32 %311 to i64
%313 = call i32 @ATTR_PACK8(i64 %312, i64 noundef %310) #3
%314 = load i32, ptr @ATTR_FILE_DATALENGTH, align 4, !tbaa !13
%315 = load i32, ptr %3, align 4, !tbaa !22
%316 = or i32 %315, %314
store i32 %316, ptr %3, align 4, !tbaa !22
br label %325
317: ; preds = %304
%318 = icmp eq i32 %5, 0
%319 = icmp ne i32 %6, 0
%320 = or i1 %318, %319
br i1 %320, label %321, label %325
321: ; preds = %317
%322 = load i32, ptr %3, align 4
%323 = zext i32 %322 to i64
%324 = call i32 @ATTR_PACK8(i64 %323, i64 noundef 0) #3
br label %325
325: ; preds = %296, %321, %317, %308, %287
%326 = load i32, ptr %2, align 4, !tbaa !10
%327 = load i32, ptr @ATTR_FILE_DATAALLOCSIZE, align 4, !tbaa !13
%328 = and i32 %327, %326
%329 = icmp eq i32 %328, 0
br i1 %329, label %364, label %330
330: ; preds = %325
%331 = load i32, ptr @va_data_alloc, align 4, !tbaa !13
%332 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %331) #3
%333 = icmp eq i64 %332, 0
br i1 %333, label %343, label %334
334: ; preds = %330
%335 = getelementptr inbounds i8, ptr %4, i64 16
%336 = load i64, ptr %335, align 8, !tbaa !32
%337 = load i32, ptr %3, align 4
%338 = zext i32 %337 to i64
%339 = call i32 @ATTR_PACK8(i64 %338, i64 noundef %336) #3
%340 = load i32, ptr @ATTR_FILE_DATAALLOCSIZE, align 4, !tbaa !13
%341 = load i32, ptr %3, align 4, !tbaa !22
%342 = or i32 %341, %340
store i32 %342, ptr %3, align 4, !tbaa !22
br label %364
343: ; preds = %330
%344 = load i32, ptr @va_total_alloc, align 4, !tbaa !13
%345 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %344) #3
%346 = icmp eq i64 %345, 0
br i1 %346, label %356, label %347
347: ; preds = %343
%348 = getelementptr inbounds i8, ptr %4, i64 24
%349 = load i64, ptr %348, align 8, !tbaa !26
%350 = load i32, ptr %3, align 4
%351 = zext i32 %350 to i64
%352 = call i32 @ATTR_PACK8(i64 %351, i64 noundef %349) #3
%353 = load i32, ptr @ATTR_FILE_DATAALLOCSIZE, align 4, !tbaa !13
%354 = load i32, ptr %3, align 4, !tbaa !22
%355 = or i32 %354, %353
store i32 %355, ptr %3, align 4, !tbaa !22
br label %364
356: ; preds = %343
%357 = icmp eq i32 %5, 0
%358 = icmp ne i32 %6, 0
%359 = or i1 %357, %358
br i1 %359, label %360, label %364
360: ; preds = %356
%361 = load i32, ptr %3, align 4
%362 = zext i32 %361 to i64
%363 = call i32 @ATTR_PACK8(i64 %362, i64 noundef 0) #3
br label %364
364: ; preds = %334, %360, %356, %347, %325
%365 = load i32, ptr %2, align 4, !tbaa !10
%366 = load i32, ptr @ATTR_FILE_RSRCLENGTH, align 4, !tbaa !13
%367 = and i32 %366, %365
%368 = icmp eq i32 %367, 0
br i1 %368, label %391, label %369
369: ; preds = %364
br i1 %11, label %370, label %396
370: ; preds = %369
%371 = load i32, ptr @va_rsrc_length, align 4, !tbaa !13
%372 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %371) #3
%373 = icmp eq i64 %372, 0
br i1 %373, label %383, label %374
374: ; preds = %370
%375 = getelementptr inbounds i8, ptr %4, i64 40
%376 = load i64, ptr %375, align 8, !tbaa !33
%377 = load i32, ptr %3, align 4
%378 = zext i32 %377 to i64
%379 = call i32 @ATTR_PACK8(i64 %378, i64 noundef %376) #3
%380 = load i32, ptr @ATTR_FILE_RSRCLENGTH, align 4, !tbaa !13
%381 = load i32, ptr %3, align 4, !tbaa !22
%382 = or i32 %381, %380
store i32 %382, ptr %3, align 4, !tbaa !22
br label %391
383: ; preds = %370
%384 = icmp eq i32 %5, 0
%385 = icmp ne i32 %6, 0
%386 = or i1 %384, %385
br i1 %386, label %387, label %391
387: ; preds = %383
%388 = load i32, ptr %3, align 4
%389 = zext i32 %388 to i64
%390 = call i32 @ATTR_PACK8(i64 %389, i64 noundef 0) #3
br label %391
391: ; preds = %387, %383, %374, %364
%392 = load i32, ptr %2, align 4, !tbaa !10
%393 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !13
%394 = and i32 %393, %392
%395 = icmp eq i32 %394, 0
br i1 %395, label %438, label %407
396: ; preds = %369
%397 = load i32, ptr %3, align 4
%398 = zext i32 %397 to i64
%399 = call i32 @ATTR_PACK8(i64 %398, i64 noundef %66) #3
%400 = load i32, ptr @ATTR_FILE_RSRCLENGTH, align 4, !tbaa !13
%401 = load i32, ptr %3, align 4, !tbaa !22
%402 = or i32 %401, %400
store i32 %402, ptr %3, align 4, !tbaa !22
%403 = load i32, ptr %2, align 4, !tbaa !10
%404 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !13
%405 = and i32 %404, %403
%406 = icmp eq i32 %405, 0
br i1 %406, label %438, label %410
407: ; preds = %391
br i1 %11, label %417, label %408
408: ; preds = %407
%409 = load i32, ptr %3, align 4
br label %410
410: ; preds = %408, %396
%411 = phi i32 [ %409, %408 ], [ %402, %396 ]
%412 = zext i32 %411 to i64
%413 = call i32 @ATTR_PACK8(i64 %412, i64 noundef %65) #3
%414 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !13
%415 = load i32, ptr %3, align 4, !tbaa !22
%416 = or i32 %415, %414
store i32 %416, ptr %3, align 4, !tbaa !22
br label %438
417: ; preds = %407
%418 = load i32, ptr @va_rsrc_alloc, align 4, !tbaa !13
%419 = call i64 @VATTR_IS_SUPPORTED(ptr noundef %4, i32 noundef %418) #3
%420 = icmp eq i64 %419, 0
br i1 %420, label %430, label %421
421: ; preds = %417
%422 = getelementptr inbounds i8, ptr %4, i64 48
%423 = load i64, ptr %422, align 8, !tbaa !34
%424 = load i32, ptr %3, align 4
%425 = zext i32 %424 to i64
%426 = call i32 @ATTR_PACK8(i64 %425, i64 noundef %423) #3
%427 = load i32, ptr @ATTR_FILE_RSRCALLOCSIZE, align 4, !tbaa !13
%428 = load i32, ptr %3, align 4, !tbaa !22
%429 = or i32 %428, %427
store i32 %429, ptr %3, align 4, !tbaa !22
br label %438
430: ; preds = %417
%431 = icmp eq i32 %5, 0
%432 = icmp ne i32 %6, 0
%433 = or i1 %431, %432
br i1 %433, label %434, label %438
434: ; preds = %430
%435 = load i32, ptr %3, align 4
%436 = zext i32 %435 to i64
%437 = call i32 @ATTR_PACK8(i64 %436, i64 noundef 0) #3
br label %438
438: ; preds = %396, %31, %391, %421, %430, %434, %410
%439 = phi i32 [ 0, %421 ], [ 0, %434 ], [ 0, %430 ], [ 0, %410 ], [ 0, %391 ], [ %27, %31 ], [ 0, %396 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
ret i32 %439
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @vn_getxattr(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @roundup(i64 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @ATTR_PACK4(i64, i32 noundef) local_unnamed_addr #2
declare i64 @VATTR_IS_SUPPORTED(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ATTR_PACK8(i64, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"attrlist", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !16, i64 16}
!15 = !{!"vnode", !7, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_6__", !19, i64 0}
!19 = !{!"TYPE_5__", !12, i64 0}
!20 = !{!21, !7, i64 56}
!21 = !{!"vnode_attr", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !12, i64 36, !7, i64 40, !7, i64 48, !7, i64 56}
!22 = !{!23, !12, i64 0}
!23 = !{!"_attrlist_buf", !24, i64 0}
!24 = !{!"TYPE_7__", !12, i64 0}
!25 = !{!21, !7, i64 8}
!26 = !{!21, !7, i64 24}
!27 = !{!21, !12, i64 32}
!28 = !{!15, !7, i64 0}
!29 = !{!15, !16, i64 8}
!30 = !{!21, !12, i64 36}
!31 = !{!21, !7, i64 0}
!32 = !{!21, !7, i64 16}
!33 = !{!21, !7, i64 40}
!34 = !{!21, !7, i64 48}
| darwin-xnu_bsd_vfs_extr_vfs_attrlist.c_attr_pack_file |
; ModuleID = 'AnghaBench/linux/fs/ceph/extr_super.c_parse_mount_options.c'
source_filename = "AnghaBench/linux/fs/ceph/extr_super.c_parse_mount_options.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ceph_mount_options = type { i32, ptr, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32 }
@EINVAL = 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
@.str = private unnamed_addr constant [39 x i8] c"parse_mount_options %p, dev_name '%s'\0A\00", align 1
@CEPH_MOUNT_OPT_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@CEPH_MAX_WRITE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@CEPH_MAX_READ_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@CEPH_RASIZE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@CEPH_SNAPDIRNAME_DEFAULT = dso_local local_unnamed_addr global ptr null, align 8
@CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@CEPH_MAX_READDIR_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@CEPH_MAX_READDIR_BYTES_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [52 x i8] c"device name is missing path (no : separator in %s)\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"device name '%.*s'\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"server path '%s'\0A\00", align 1
@parse_fsopt_token = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_mount_options], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @parse_mount_options(ptr nocapture noundef writeonly %0, ptr nocapture noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = icmp eq ptr %4, null
br i1 %6, label %10, label %7
7: ; preds = %5
%8 = load i8, ptr %4, align 1, !tbaa !5
%9 = icmp eq i8 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %7, %5
%11 = load i32, ptr @EINVAL, align 4, !tbaa !8
%12 = sub nsw i32 0, %11
br label %100
13: ; preds = %7
%14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !8
%15 = tail call ptr @kzalloc(i32 noundef 64, i32 noundef %14) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !8
%19 = sub nsw i32 0, %18
br label %100
20: ; preds = %13
%21 = tail call i32 (ptr, ...) @dout(ptr noundef nonnull @.str, ptr noundef nonnull %15, ptr noundef nonnull %4) #2
store i32 %2, ptr %15, align 8, !tbaa !10
%22 = load i32, ptr @CEPH_MOUNT_OPT_DEFAULT, align 4, !tbaa !8
%23 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 11
store i32 %22, ptr %23, align 4, !tbaa !13
%24 = load i32, ptr @CEPH_MAX_WRITE_SIZE, align 4, !tbaa !8
%25 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 10
store i32 %24, ptr %25, align 8, !tbaa !14
%26 = load i32, ptr @CEPH_MAX_READ_SIZE, align 4, !tbaa !8
%27 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 9
store i32 %26, ptr %27, align 4, !tbaa !15
%28 = load i32, ptr @CEPH_RASIZE_DEFAULT, align 4, !tbaa !8
%29 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 8
store i32 %28, ptr %29, align 8, !tbaa !16
%30 = load ptr, ptr @CEPH_SNAPDIRNAME_DEFAULT, align 8, !tbaa !17
%31 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !8
%32 = tail call ptr @kstrdup(ptr noundef %30, i32 noundef %31) #2
%33 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 7
store ptr %32, ptr %33, align 8, !tbaa !18
%34 = icmp eq ptr %32, null
br i1 %34, label %35, label %38
35: ; preds = %20
%36 = load i32, ptr @ENOMEM, align 4, !tbaa !8
%37 = sub nsw i32 0, %36
br label %97
38: ; preds = %20
%39 = load i32, ptr @CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT, align 4, !tbaa !8
%40 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 6
store i32 %39, ptr %40, align 8, !tbaa !19
%41 = load i32, ptr @CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT, align 4, !tbaa !8
%42 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 5
store i32 %41, ptr %42, align 4, !tbaa !20
%43 = load i32, ptr @CEPH_MAX_READDIR_DEFAULT, align 4, !tbaa !8
%44 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 4
store i32 %43, ptr %44, align 8, !tbaa !21
%45 = load i32, ptr @CEPH_MAX_READDIR_BYTES_DEFAULT, align 4, !tbaa !8
%46 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 3
store i32 %45, ptr %46, align 4, !tbaa !22
%47 = tail call i32 (...) @default_congestion_kb() #2
%48 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 2
store i32 %47, ptr %48, align 8, !tbaa !23
%49 = tail call ptr @strchr(ptr noundef nonnull %4, i8 noundef signext 47) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %62, label %51
51: ; preds = %38
%52 = tail call i32 @strlen(ptr noundef nonnull %49) #2
%53 = icmp sgt i32 %52, 1
br i1 %53, label %54, label %66
54: ; preds = %51
%55 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !8
%56 = tail call ptr @kstrdup(ptr noundef nonnull %49, i32 noundef %55) #2
%57 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 1
store ptr %56, ptr %57, align 8, !tbaa !24
%58 = icmp eq ptr %56, null
br i1 %58, label %59, label %66
59: ; preds = %54
%60 = load i32, ptr @ENOMEM, align 4, !tbaa !8
%61 = sub nsw i32 0, %60
br label %97
62: ; preds = %38
%63 = tail call i32 @strlen(ptr noundef nonnull %4) #2
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %4, i64 %64
br label %66
66: ; preds = %51, %54, %62
%67 = phi ptr [ %49, %54 ], [ %49, %51 ], [ %65, %62 ]
%68 = load i32, ptr @EINVAL, align 4, !tbaa !8
%69 = sub nsw i32 0, %68
%70 = getelementptr inbounds i8, ptr %67, i64 -1
%71 = icmp ult ptr %70, %4
br i1 %71, label %75, label %72
72: ; preds = %66
%73 = load i8, ptr %70, align 1, !tbaa !5
%74 = icmp eq i8 %73, 58
br i1 %74, label %77, label %75
75: ; preds = %72, %66
%76 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #2
br label %97
77: ; preds = %72
%78 = ptrtoint ptr %70 to i64
%79 = ptrtoint ptr %4 to i64
%80 = sub i64 %78, %79
%81 = trunc i64 %80 to i32
%82 = tail call i32 (ptr, ...) @dout(ptr noundef nonnull @.str.2, i32 noundef %81, ptr noundef nonnull %4) #2
%83 = getelementptr inbounds %struct.ceph_mount_options, ptr %15, i64 0, i32 1
%84 = load ptr, ptr %83, align 8, !tbaa !24
%85 = icmp eq ptr %84, null
br i1 %85, label %88, label %86
86: ; preds = %77
%87 = tail call i32 (ptr, ...) @dout(ptr noundef nonnull @.str.3, ptr noundef nonnull %84) #2
br label %88
88: ; preds = %86, %77
%89 = load i32, ptr @parse_fsopt_token, align 4, !tbaa !8
%90 = tail call ptr @ceph_parse_options(ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %70, i32 noundef %89, ptr noundef nonnull %15) #2
store ptr %90, ptr %1, align 8, !tbaa !17
%91 = tail call i64 @IS_ERR(ptr noundef %90) #2
%92 = icmp eq i64 %91, 0
br i1 %92, label %96, label %93
93: ; preds = %88
%94 = load ptr, ptr %1, align 8, !tbaa !17
%95 = tail call i32 @PTR_ERR(ptr noundef %94) #2
br label %97
96: ; preds = %88
store ptr %15, ptr %0, align 8, !tbaa !17
br label %100
97: ; preds = %93, %75, %59, %35
%98 = phi i32 [ %69, %75 ], [ %95, %93 ], [ %61, %59 ], [ %37, %35 ]
%99 = tail call i32 @destroy_mount_options(ptr noundef nonnull %15) #2
br label %100
100: ; preds = %97, %96, %17, %10
%101 = phi i32 [ %98, %97 ], [ 0, %96 ], [ %19, %17 ], [ %12, %10 ]
ret i32 %101
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dout(ptr noundef, ...) local_unnamed_addr #1
declare ptr @kstrdup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @default_congestion_kb(...) local_unnamed_addr #1
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ceph_parse_options(ptr noundef, ptr noundef, ptr noundef, i32 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 @destroy_mount_options(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !9, i64 0}
!11 = !{!"ceph_mount_options", !9, i64 0, !12, i64 8, !9, i64 16, !9, i64 20, !9, i64 24, !9, i64 28, !9, i64 32, !12, i64 40, !9, i64 48, !9, i64 52, !9, i64 56, !9, i64 60}
!12 = !{!"any pointer", !6, i64 0}
!13 = !{!11, !9, i64 60}
!14 = !{!11, !9, i64 56}
!15 = !{!11, !9, i64 52}
!16 = !{!11, !9, i64 48}
!17 = !{!12, !12, i64 0}
!18 = !{!11, !12, i64 40}
!19 = !{!11, !9, i64 32}
!20 = !{!11, !9, i64 28}
!21 = !{!11, !9, i64 24}
!22 = !{!11, !9, i64 20}
!23 = !{!11, !9, i64 16}
!24 = !{!11, !12, i64 8}
| ; ModuleID = 'AnghaBench/linux/fs/ceph/extr_super.c_parse_mount_options.c'
source_filename = "AnghaBench/linux/fs/ceph/extr_super.c_parse_mount_options.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"parse_mount_options %p, dev_name '%s'\0A\00", align 1
@CEPH_MOUNT_OPT_DEFAULT = common local_unnamed_addr global i32 0, align 4
@CEPH_MAX_WRITE_SIZE = common local_unnamed_addr global i32 0, align 4
@CEPH_MAX_READ_SIZE = common local_unnamed_addr global i32 0, align 4
@CEPH_RASIZE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@CEPH_SNAPDIRNAME_DEFAULT = common local_unnamed_addr global ptr null, align 8
@CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT = common local_unnamed_addr global i32 0, align 4
@CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT = common local_unnamed_addr global i32 0, align 4
@CEPH_MAX_READDIR_DEFAULT = common local_unnamed_addr global i32 0, align 4
@CEPH_MAX_READDIR_BYTES_DEFAULT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [52 x i8] c"device name is missing path (no : separator in %s)\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"device name '%.*s'\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"server path '%s'\0A\00", align 1
@parse_fsopt_token = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parse_mount_options], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @parse_mount_options(ptr nocapture noundef writeonly %0, ptr nocapture noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = icmp eq ptr %4, null
br i1 %6, label %10, label %7
7: ; preds = %5
%8 = load i8, ptr %4, align 1, !tbaa !6
%9 = icmp eq i8 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %7, %5
%11 = load i32, ptr @EINVAL, align 4, !tbaa !9
%12 = sub nsw i32 0, %11
br label %100
13: ; preds = %7
%14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9
%15 = tail call ptr @kzalloc(i32 noundef 64, i32 noundef %14) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%19 = sub nsw i32 0, %18
br label %100
20: ; preds = %13
%21 = tail call i32 (ptr, ...) @dout(ptr noundef nonnull @.str, ptr noundef nonnull %15, ptr noundef nonnull %4) #2
store i32 %2, ptr %15, align 8, !tbaa !11
%22 = load i32, ptr @CEPH_MOUNT_OPT_DEFAULT, align 4, !tbaa !9
%23 = getelementptr inbounds i8, ptr %15, i64 60
store i32 %22, ptr %23, align 4, !tbaa !14
%24 = load i32, ptr @CEPH_MAX_WRITE_SIZE, align 4, !tbaa !9
%25 = getelementptr inbounds i8, ptr %15, i64 56
store i32 %24, ptr %25, align 8, !tbaa !15
%26 = load i32, ptr @CEPH_MAX_READ_SIZE, align 4, !tbaa !9
%27 = getelementptr inbounds i8, ptr %15, i64 52
store i32 %26, ptr %27, align 4, !tbaa !16
%28 = load i32, ptr @CEPH_RASIZE_DEFAULT, align 4, !tbaa !9
%29 = getelementptr inbounds i8, ptr %15, i64 48
store i32 %28, ptr %29, align 8, !tbaa !17
%30 = load ptr, ptr @CEPH_SNAPDIRNAME_DEFAULT, align 8, !tbaa !18
%31 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9
%32 = tail call ptr @kstrdup(ptr noundef %30, i32 noundef %31) #2
%33 = getelementptr inbounds i8, ptr %15, i64 40
store ptr %32, ptr %33, align 8, !tbaa !19
%34 = icmp eq ptr %32, null
br i1 %34, label %35, label %38
35: ; preds = %20
%36 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%37 = sub nsw i32 0, %36
br label %97
38: ; preds = %20
%39 = load i32, ptr @CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT, align 4, !tbaa !9
%40 = getelementptr inbounds i8, ptr %15, i64 32
store i32 %39, ptr %40, align 8, !tbaa !20
%41 = load i32, ptr @CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT, align 4, !tbaa !9
%42 = getelementptr inbounds i8, ptr %15, i64 28
store i32 %41, ptr %42, align 4, !tbaa !21
%43 = load i32, ptr @CEPH_MAX_READDIR_DEFAULT, align 4, !tbaa !9
%44 = getelementptr inbounds i8, ptr %15, i64 24
store i32 %43, ptr %44, align 8, !tbaa !22
%45 = load i32, ptr @CEPH_MAX_READDIR_BYTES_DEFAULT, align 4, !tbaa !9
%46 = getelementptr inbounds i8, ptr %15, i64 20
store i32 %45, ptr %46, align 4, !tbaa !23
%47 = tail call i32 @default_congestion_kb() #2
%48 = getelementptr inbounds i8, ptr %15, i64 16
store i32 %47, ptr %48, align 8, !tbaa !24
%49 = tail call ptr @strchr(ptr noundef nonnull %4, i8 noundef signext 47) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %62, label %51
51: ; preds = %38
%52 = tail call i32 @strlen(ptr noundef nonnull %49) #2
%53 = icmp sgt i32 %52, 1
br i1 %53, label %54, label %66
54: ; preds = %51
%55 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9
%56 = tail call ptr @kstrdup(ptr noundef nonnull %49, i32 noundef %55) #2
%57 = getelementptr inbounds i8, ptr %15, i64 8
store ptr %56, ptr %57, align 8, !tbaa !25
%58 = icmp eq ptr %56, null
br i1 %58, label %59, label %66
59: ; preds = %54
%60 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%61 = sub nsw i32 0, %60
br label %97
62: ; preds = %38
%63 = tail call i32 @strlen(ptr noundef nonnull %4) #2
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %4, i64 %64
br label %66
66: ; preds = %51, %54, %62
%67 = phi ptr [ %49, %54 ], [ %49, %51 ], [ %65, %62 ]
%68 = load i32, ptr @EINVAL, align 4, !tbaa !9
%69 = sub nsw i32 0, %68
%70 = getelementptr inbounds i8, ptr %67, i64 -1
%71 = icmp ult ptr %70, %4
br i1 %71, label %75, label %72
72: ; preds = %66
%73 = load i8, ptr %70, align 1, !tbaa !6
%74 = icmp eq i8 %73, 58
br i1 %74, label %77, label %75
75: ; preds = %72, %66
%76 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #2
br label %97
77: ; preds = %72
%78 = ptrtoint ptr %70 to i64
%79 = ptrtoint ptr %4 to i64
%80 = sub i64 %78, %79
%81 = trunc i64 %80 to i32
%82 = tail call i32 (ptr, ...) @dout(ptr noundef nonnull @.str.2, i32 noundef %81, ptr noundef nonnull %4) #2
%83 = getelementptr inbounds i8, ptr %15, i64 8
%84 = load ptr, ptr %83, align 8, !tbaa !25
%85 = icmp eq ptr %84, null
br i1 %85, label %88, label %86
86: ; preds = %77
%87 = tail call i32 (ptr, ...) @dout(ptr noundef nonnull @.str.3, ptr noundef nonnull %84) #2
br label %88
88: ; preds = %86, %77
%89 = load i32, ptr @parse_fsopt_token, align 4, !tbaa !9
%90 = tail call ptr @ceph_parse_options(ptr noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %70, i32 noundef %89, ptr noundef nonnull %15) #2
store ptr %90, ptr %1, align 8, !tbaa !18
%91 = tail call i64 @IS_ERR(ptr noundef %90) #2
%92 = icmp eq i64 %91, 0
br i1 %92, label %96, label %93
93: ; preds = %88
%94 = load ptr, ptr %1, align 8, !tbaa !18
%95 = tail call i32 @PTR_ERR(ptr noundef %94) #2
br label %97
96: ; preds = %88
store ptr %15, ptr %0, align 8, !tbaa !18
br label %100
97: ; preds = %93, %75, %59, %35
%98 = phi i32 [ %69, %75 ], [ %95, %93 ], [ %61, %59 ], [ %37, %35 ]
%99 = tail call i32 @destroy_mount_options(ptr noundef nonnull %15) #2
br label %100
100: ; preds = %97, %96, %17, %10
%101 = phi i32 [ %98, %97 ], [ 0, %96 ], [ %19, %17 ], [ %12, %10 ]
ret i32 %101
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dout(ptr noundef, ...) local_unnamed_addr #1
declare ptr @kstrdup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @default_congestion_kb(...) local_unnamed_addr #1
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ceph_parse_options(ptr noundef, ptr noundef, ptr noundef, i32 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 @destroy_mount_options(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"ceph_mount_options", !10, i64 0, !13, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!12, !10, i64 60}
!15 = !{!12, !10, i64 56}
!16 = !{!12, !10, i64 52}
!17 = !{!12, !10, i64 48}
!18 = !{!13, !13, i64 0}
!19 = !{!12, !13, i64 40}
!20 = !{!12, !10, i64 32}
!21 = !{!12, !10, i64 28}
!22 = !{!12, !10, i64 24}
!23 = !{!12, !10, i64 20}
!24 = !{!12, !10, i64 16}
!25 = !{!12, !13, i64 8}
| linux_fs_ceph_extr_super.c_parse_mount_options |
; ModuleID = 'AnghaBench/linux/drivers/tty/vt/extr_vt.c_do_unregister_con_driver.c'
source_filename = "AnghaBench/linux/drivers/tty/vt/extr_vt.c_do_unregister_con_driver.c"
target datalayout = "e-m:e-p270:32:32-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.con_driver = type { i32, ptr }
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@conswitchp = dso_local local_unnamed_addr global ptr null, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@MAX_NR_CON_DRIVER = dso_local local_unnamed_addr global i32 0, align 4
@registered_con_driver = dso_local local_unnamed_addr global ptr null, align 8
@CON_DRIVER_FLAG_ZOMBIE = dso_local local_unnamed_addr global i32 0, align 4
@con_driver_unregister_work = dso_local global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @do_unregister_con_driver(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @con_is_bound(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @EBUSY, align 4, !tbaa !5
%6 = sub nsw i32 0, %5
br label %34
7: ; preds = %1
%8 = load ptr, ptr @conswitchp, align 8, !tbaa !9
%9 = icmp eq ptr %8, %0
br i1 %9, label %16, label %10
10: ; preds = %7
%11 = load i32, ptr @MAX_NR_CON_DRIVER, align 4, !tbaa !5
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %31
13: ; preds = %10
%14 = load ptr, ptr @registered_con_driver, align 8, !tbaa !9
%15 = zext nneg i32 %11 to i64
br label %22
16: ; preds = %7
%17 = load i32, ptr @EINVAL, align 4, !tbaa !5
%18 = sub nsw i32 0, %17
br label %34
19: ; preds = %22
%20 = add nuw nsw i64 %23, 1
%21 = icmp eq i64 %20, %15
br i1 %21, label %31, label %22, !llvm.loop !11
22: ; preds = %13, %19
%23 = phi i64 [ 0, %13 ], [ %20, %19 ]
%24 = getelementptr inbounds %struct.con_driver, ptr %14, i64 %23, i32 1
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = icmp eq ptr %25, %0
br i1 %26, label %27, label %19
27: ; preds = %22
%28 = getelementptr inbounds %struct.con_driver, ptr %14, i64 %23
store ptr null, ptr %24, align 8, !tbaa !13
%29 = load i32, ptr @CON_DRIVER_FLAG_ZOMBIE, align 4, !tbaa !5
store i32 %29, ptr %28, align 8, !tbaa !15
%30 = tail call i32 @schedule_work(ptr noundef nonnull @con_driver_unregister_work) #2
br label %34
31: ; preds = %19, %10
%32 = load i32, ptr @ENODEV, align 4, !tbaa !5
%33 = sub nsw i32 0, %32
br label %34
34: ; preds = %27, %31, %16, %4
%35 = phi i32 [ %6, %4 ], [ %18, %16 ], [ 0, %27 ], [ %33, %31 ]
ret i32 %35
}
declare i64 @con_is_bound(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 8}
!14 = !{!"con_driver", !6, i64 0, !10, i64 8}
!15 = !{!14, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/vt/extr_vt.c_do_unregister_con_driver.c'
source_filename = "AnghaBench/linux/drivers/tty/vt/extr_vt.c_do_unregister_con_driver.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.con_driver = type { i32, ptr }
@EBUSY = common local_unnamed_addr global i32 0, align 4
@conswitchp = common local_unnamed_addr global ptr null, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@MAX_NR_CON_DRIVER = common local_unnamed_addr global i32 0, align 4
@registered_con_driver = common local_unnamed_addr global ptr null, align 8
@CON_DRIVER_FLAG_ZOMBIE = common local_unnamed_addr global i32 0, align 4
@con_driver_unregister_work = common global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @do_unregister_con_driver(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @con_is_bound(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @EBUSY, align 4, !tbaa !6
%6 = sub nsw i32 0, %5
br label %35
7: ; preds = %1
%8 = load ptr, ptr @conswitchp, align 8, !tbaa !10
%9 = icmp eq ptr %8, %0
br i1 %9, label %16, label %10
10: ; preds = %7
%11 = load i32, ptr @MAX_NR_CON_DRIVER, align 4, !tbaa !6
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %32
13: ; preds = %10
%14 = load ptr, ptr @registered_con_driver, align 8, !tbaa !10
%15 = zext nneg i32 %11 to i64
br label %22
16: ; preds = %7
%17 = load i32, ptr @EINVAL, align 4, !tbaa !6
%18 = sub nsw i32 0, %17
br label %35
19: ; preds = %22
%20 = add nuw nsw i64 %23, 1
%21 = icmp eq i64 %20, %15
br i1 %21, label %32, label %22, !llvm.loop !12
22: ; preds = %13, %19
%23 = phi i64 [ 0, %13 ], [ %20, %19 ]
%24 = getelementptr inbounds %struct.con_driver, ptr %14, i64 %23
%25 = getelementptr inbounds i8, ptr %24, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !14
%27 = icmp eq ptr %26, %0
br i1 %27, label %28, label %19
28: ; preds = %22
%29 = getelementptr inbounds i8, ptr %24, i64 8
store ptr null, ptr %29, align 8, !tbaa !14
%30 = load i32, ptr @CON_DRIVER_FLAG_ZOMBIE, align 4, !tbaa !6
store i32 %30, ptr %24, align 8, !tbaa !16
%31 = tail call i32 @schedule_work(ptr noundef nonnull @con_driver_unregister_work) #2
br label %35
32: ; preds = %19, %10
%33 = load i32, ptr @ENODEV, align 4, !tbaa !6
%34 = sub nsw i32 0, %33
br label %35
35: ; preds = %28, %32, %16, %4
%36 = phi i32 [ %6, %4 ], [ %18, %16 ], [ 0, %28 ], [ %34, %32 ]
ret i32 %36
}
declare i64 @con_is_bound(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !11, i64 8}
!15 = !{!"con_driver", !7, i64 0, !11, i64 8}
!16 = !{!15, !7, i64 0}
| linux_drivers_tty_vt_extr_vt.c_do_unregister_con_driver |
; ModuleID = 'AnghaBench/freebsd/sys/net80211/extr_ieee80211_ht.c_ieee80211_ht_node_join.c'
source_filename = "AnghaBench/freebsd/sys/net80211/extr_ieee80211_ht.c_ieee80211_ht_node_join.c"
target datalayout = "e-m:e-p270:32:32-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.ieee80211_node = type { i32, i32, ptr }
%struct.ieee80211com = type { i32, i32 }
@IEEE80211_NODE_HT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ieee80211_ht_node_join(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.ieee80211_node, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @IEEE80211_LOCK_ASSERT(ptr noundef %3) #2
%5 = load i32, ptr %0, align 8, !tbaa !11
%6 = load i32, ptr @IEEE80211_NODE_HT, align 4, !tbaa !12
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %19, label %9
9: ; preds = %1
%10 = getelementptr inbounds %struct.ieee80211com, ptr %3, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = add nsw i32 %11, 1
store i32 %12, ptr %10, align 4, !tbaa !13
%13 = getelementptr inbounds %struct.ieee80211_node, ptr %0, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = icmp eq i32 %14, 40
br i1 %15, label %16, label %19
16: ; preds = %9
%17 = load i32, ptr %3, align 4, !tbaa !16
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4, !tbaa !16
br label %19
19: ; preds = %9, %16, %1
%20 = tail call i32 @htinfo_update(ptr noundef %3) #2
ret void
}
declare i32 @IEEE80211_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @htinfo_update(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 = !{!"ieee80211_node", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"ieee80211com", !7, i64 0, !7, i64 4}
!15 = !{!6, !7, i64 4}
!16 = !{!14, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/net80211/extr_ieee80211_ht.c_ieee80211_ht_node_join.c'
source_filename = "AnghaBench/freebsd/sys/net80211/extr_ieee80211_ht.c_ieee80211_ht_node_join.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IEEE80211_NODE_HT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ieee80211_ht_node_join(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @IEEE80211_LOCK_ASSERT(ptr noundef %3) #2
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = load i32, ptr @IEEE80211_NODE_HT, align 4, !tbaa !13
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %19, label %9
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %3, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = add nsw i32 %11, 1
store i32 %12, ptr %10, align 4, !tbaa !14
%13 = getelementptr inbounds i8, ptr %0, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = icmp eq i32 %14, 40
br i1 %15, label %16, label %19
16: ; preds = %9
%17 = load i32, ptr %3, align 4, !tbaa !17
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4, !tbaa !17
br label %19
19: ; preds = %9, %16, %1
%20 = tail call i32 @htinfo_update(ptr noundef %3) #2
ret void
}
declare i32 @IEEE80211_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @htinfo_update(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 = !{!"ieee80211_node", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !8, i64 4}
!15 = !{!"ieee80211com", !8, i64 0, !8, i64 4}
!16 = !{!7, !8, i64 4}
!17 = !{!15, !8, i64 0}
| freebsd_sys_net80211_extr_ieee80211_ht.c_ieee80211_ht_node_join |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_cm_msgs.h_cm_req_set_init_depth.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_cm_msgs.h_cm_req_set_init_depth.c"
target datalayout = "e-m:e-p270:32:32-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 @cm_req_set_init_depth], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @cm_req_set_init_depth(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @be32_to_cpu(i32 noundef %3) #2
%5 = and i32 %4, -256
%6 = or i32 %5, %1
%7 = tail call i32 @cpu_to_be32(i32 noundef %6) #2
store i32 %7, ptr %0, align 4, !tbaa !5
ret void
}
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1
declare i32 @be32_to_cpu(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 = !{!"cm_req_msg", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_cm_msgs.h_cm_req_set_init_depth.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_cm_msgs.h_cm_req_set_init_depth.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 @cm_req_set_init_depth], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @cm_req_set_init_depth(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @be32_to_cpu(i32 noundef %3) #2
%5 = and i32 %4, -256
%6 = or i32 %5, %1
%7 = tail call i32 @cpu_to_be32(i32 noundef %6) #2
store i32 %7, ptr %0, align 4, !tbaa !6
ret void
}
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1
declare i32 @be32_to_cpu(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 = !{!"cm_req_msg", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_infiniband_core_extr_cm_msgs.h_cm_req_set_init_depth |
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_zstd_compress.c_ZSTD_noCompressBlock.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_zstd_compress.c_ZSTD_noCompressBlock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@bt_raw = dso_local local_unnamed_addr global i64 0, align 8
@ZSTD_blockHeaderSize = dso_local local_unnamed_addr global i64 0, align 8
@dstSize_tooSmall = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ZSTD_noCompressBlock], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @ZSTD_noCompressBlock(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 {
%6 = load i64, ptr @ZSTD_blockHeaderSize, align 8, !tbaa !5
%7 = add i64 %6, %3
%8 = icmp ugt i64 %7, %1
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !9
%11 = tail call i64 @ERROR(i32 noundef %10) #2
br label %26
12: ; preds = %5
%13 = load i64, ptr @bt_raw, align 8, !tbaa !5
%14 = trunc i64 %13 to i32
%15 = shl i32 %14, 1
%16 = trunc i64 %3 to i32
%17 = shl i32 %16, 3
%18 = add i32 %17, %4
%19 = add i32 %18, %15
%20 = tail call i32 @MEM_writeLE24(ptr noundef %0, i32 noundef %19) #2
%21 = load i64, ptr @ZSTD_blockHeaderSize, align 8, !tbaa !5
%22 = getelementptr inbounds i32, ptr %0, i64 %21
%23 = tail call i32 @memcpy(ptr noundef %22, ptr noundef %2, i64 noundef %3) #2
%24 = load i64, ptr @ZSTD_blockHeaderSize, align 8, !tbaa !5
%25 = add i64 %24, %3
br label %26
26: ; preds = %12, %9
%27 = phi i64 [ %11, %9 ], [ %25, %12 ]
ret i64 %27
}
declare i64 @ERROR(i32 noundef) local_unnamed_addr #1
declare i32 @MEM_writeLE24(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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/reactos/drivers/filesystems/btrfs/zstd/extr_zstd_compress.c_ZSTD_noCompressBlock.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_zstd_compress.c_ZSTD_noCompressBlock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bt_raw = common local_unnamed_addr global i64 0, align 8
@ZSTD_blockHeaderSize = common local_unnamed_addr global i64 0, align 8
@dstSize_tooSmall = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ZSTD_noCompressBlock], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @ZSTD_noCompressBlock(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) #0 {
%6 = load i64, ptr @ZSTD_blockHeaderSize, align 8, !tbaa !6
%7 = add i64 %6, %3
%8 = icmp ugt i64 %7, %1
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !10
%11 = tail call i64 @ERROR(i32 noundef %10) #2
br label %26
12: ; preds = %5
%13 = load i64, ptr @bt_raw, align 8, !tbaa !6
%14 = trunc i64 %13 to i32
%15 = shl i32 %14, 1
%16 = trunc i64 %3 to i32
%17 = shl i32 %16, 3
%18 = add i32 %17, %4
%19 = add i32 %18, %15
%20 = tail call i32 @MEM_writeLE24(ptr noundef %0, i32 noundef %19) #2
%21 = load i64, ptr @ZSTD_blockHeaderSize, align 8, !tbaa !6
%22 = getelementptr inbounds i32, ptr %0, i64 %21
%23 = tail call i32 @memcpy(ptr noundef %22, ptr noundef %2, i64 noundef %3) #2
%24 = load i64, ptr @ZSTD_blockHeaderSize, align 8, !tbaa !6
%25 = add i64 %24, %3
br label %26
26: ; preds = %12, %9
%27 = phi i64 [ %11, %9 ], [ %25, %12 ]
ret i64 %27
}
declare i64 @ERROR(i32 noundef) local_unnamed_addr #1
declare i32 @MEM_writeLE24(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| reactos_drivers_filesystems_btrfs_zstd_extr_zstd_compress.c_ZSTD_noCompressBlock |
; ModuleID = 'AnghaBench/linux/arch/arm/nwfpe/extr_softfloat.c_float64_le.c'
source_filename = "AnghaBench/linux/arch/arm/nwfpe/extr_softfloat.c_float64_le.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@float_flag_invalid = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @float64_le(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @extractFloat64Exp(i32 noundef %0) #2
%4 = icmp eq i32 %3, 2047
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = tail call i64 @extractFloat64Frac(i32 noundef %0) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %5, %2
%9 = tail call i32 @extractFloat64Exp(i32 noundef %1) #2
%10 = icmp eq i32 %9, 2047
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = tail call i64 @extractFloat64Frac(i32 noundef %1) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11, %5
%15 = load i32, ptr @float_flag_invalid, align 4, !tbaa !5
%16 = tail call i32 @float_raise(i32 noundef %15) #2
br label %33
17: ; preds = %11, %8
%18 = tail call i32 @extractFloat64Sign(i32 noundef %0) #2
%19 = tail call i32 @extractFloat64Sign(i32 noundef %1) #2
%20 = icmp eq i32 %18, %19
br i1 %20, label %27, label %21
21: ; preds = %17
%22 = icmp ne i32 %18, 0
%23 = or i32 %1, %0
%24 = and i32 %23, 2147483647
%25 = icmp eq i32 %24, 0
%26 = or i1 %25, %22
br label %33
27: ; preds = %17
%28 = icmp eq i32 %0, %1
%29 = icmp slt i32 %0, %1
%30 = zext i1 %29 to i32
%31 = icmp ne i32 %18, %30
%32 = select i1 %28, i1 true, i1 %31
br label %33
33: ; preds = %27, %21, %14
%34 = phi i1 [ false, %14 ], [ %26, %21 ], [ %32, %27 ]
%35 = zext i1 %34 to i32
ret i32 %35
}
declare i32 @extractFloat64Exp(i32 noundef) local_unnamed_addr #1
declare i64 @extractFloat64Frac(i32 noundef) local_unnamed_addr #1
declare i32 @float_raise(i32 noundef) local_unnamed_addr #1
declare i32 @extractFloat64Sign(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/arch/arm/nwfpe/extr_softfloat.c_float64_le.c'
source_filename = "AnghaBench/linux/arch/arm/nwfpe/extr_softfloat.c_float64_le.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@float_flag_invalid = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @float64_le(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @extractFloat64Exp(i32 noundef %0) #2
%4 = icmp eq i32 %3, 2047
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = tail call i64 @extractFloat64Frac(i32 noundef %0) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %5, %2
%9 = tail call i32 @extractFloat64Exp(i32 noundef %1) #2
%10 = icmp eq i32 %9, 2047
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = tail call i64 @extractFloat64Frac(i32 noundef %1) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11, %5
%15 = load i32, ptr @float_flag_invalid, align 4, !tbaa !6
%16 = tail call i32 @float_raise(i32 noundef %15) #2
br label %33
17: ; preds = %11, %8
%18 = tail call i32 @extractFloat64Sign(i32 noundef %0) #2
%19 = tail call i32 @extractFloat64Sign(i32 noundef %1) #2
%20 = icmp eq i32 %18, %19
br i1 %20, label %27, label %21
21: ; preds = %17
%22 = icmp ne i32 %18, 0
%23 = or i32 %1, %0
%24 = and i32 %23, 2147483647
%25 = icmp eq i32 %24, 0
%26 = or i1 %25, %22
br label %33
27: ; preds = %17
%28 = icmp eq i32 %0, %1
%29 = icmp slt i32 %0, %1
%30 = zext i1 %29 to i32
%31 = icmp ne i32 %18, %30
%32 = select i1 %28, i1 true, i1 %31
br label %33
33: ; preds = %27, %21, %14
%34 = phi i1 [ false, %14 ], [ %26, %21 ], [ %32, %27 ]
%35 = zext i1 %34 to i32
ret i32 %35
}
declare i32 @extractFloat64Exp(i32 noundef) local_unnamed_addr #1
declare i64 @extractFloat64Frac(i32 noundef) local_unnamed_addr #1
declare i32 @float_raise(i32 noundef) local_unnamed_addr #1
declare i32 @extractFloat64Sign(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_arch_arm_nwfpe_extr_softfloat.c_float64_le |
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libmudflap/extr_mf-runtime.c_mfsplay_tree_predecessor.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libmudflap/extr_mf-runtime.c_mfsplay_tree_predecessor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mfsplay_tree_predecessor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @mfsplay_tree_predecessor(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %19, label %5
5: ; preds = %2
%6 = tail call i32 @mfsplay_tree_splay(ptr noundef nonnull %0, i64 noundef %1) #2
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = load i64, ptr %7, align 8, !tbaa !10
%9 = icmp slt i64 %8, %1
br i1 %9, label %19, label %10
10: ; preds = %5
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = icmp eq ptr %12, null
br i1 %13, label %19, label %14
14: ; preds = %10, %14
%15 = phi ptr [ %17, %14 ], [ %12, %10 ]
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !14
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %14, !llvm.loop !15
19: ; preds = %14, %5, %10, %2
%20 = phi ptr [ null, %2 ], [ null, %10 ], [ %7, %5 ], [ %15, %14 ]
ret ptr %20
}
declare i32 @mfsplay_tree_splay(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0, !7, i64 8, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 16}
!14 = !{!11, !7, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libmudflap/extr_mf-runtime.c_mfsplay_tree_predecessor.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libmudflap/extr_mf-runtime.c_mfsplay_tree_predecessor.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 @mfsplay_tree_predecessor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @mfsplay_tree_predecessor(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %19, label %5
5: ; preds = %2
%6 = tail call i32 @mfsplay_tree_splay(ptr noundef nonnull %0, i64 noundef %1) #2
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = icmp slt i64 %8, %1
br i1 %9, label %19, label %10
10: ; preds = %5
%11 = getelementptr inbounds i8, ptr %7, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = icmp eq ptr %12, null
br i1 %13, label %19, label %14
14: ; preds = %10, %14
%15 = phi ptr [ %17, %14 ], [ %12, %10 ]
%16 = getelementptr inbounds i8, ptr %15, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !15
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %14, !llvm.loop !16
19: ; preds = %14, %5, %10, %2
%20 = phi ptr [ null, %2 ], [ null, %10 ], [ %7, %5 ], [ %15, %14 ]
ret ptr %20
}
declare i32 @mfsplay_tree_splay(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !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_6__", !13, i64 0, !8, i64 8, !8, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !8, i64 16}
!15 = !{!12, !8, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_gcclibs_libmudflap_extr_mf-runtime.c_mfsplay_tree_predecessor |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bce/extr_if_bce.c_bce_detach.c'
source_filename = "AnghaBench/freebsd/sys/dev/bce/extr_if_bce.c_bce_detach.c"
target datalayout = "e-m:e-p270:32:32-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.bce_softc = type { i32, i32, i32, i32, i32, ptr }
@BCE_VERBOSE_UNLOAD = dso_local local_unnamed_addr global i32 0, align 4
@BCE_VERBOSE_RESET = dso_local local_unnamed_addr global i32 0, align 4
@BCE_NO_WOL_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@BCE_DRV_MSG_CODE_UNLOAD_LNK_DN = dso_local local_unnamed_addr global i32 0, align 4
@BCE_DRV_MSG_CODE_UNLOAD = dso_local local_unnamed_addr global i32 0, align 4
@BCE_PHY_REMOTE_CAP_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bce_detach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @bce_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = load i32, ptr @BCE_VERBOSE_UNLOAD, align 4, !tbaa !5
%4 = load i32, ptr @BCE_VERBOSE_RESET, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = tail call i32 @DBENTER(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.bce_softc, ptr %2, i64 0, i32 5
%8 = load ptr, ptr %7, align 8, !tbaa !9
%9 = tail call i32 @BCE_LOCK(ptr noundef %2) #2
%10 = getelementptr inbounds %struct.bce_softc, ptr %2, i64 0, i32 4
%11 = tail call i32 @callout_stop(ptr noundef nonnull %10) #2
%12 = tail call i32 @bce_stop(ptr noundef %2) #2
%13 = load i32, ptr %2, align 8, !tbaa !12
%14 = load i32, ptr @BCE_NO_WOL_FLAG, align 4, !tbaa !5
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @BCE_DRV_MSG_CODE_UNLOAD, align 4
%18 = load i32, ptr @BCE_DRV_MSG_CODE_UNLOAD_LNK_DN, align 4
%19 = select i1 %16, i32 %17, i32 %18
%20 = tail call i32 @bce_reset(ptr noundef nonnull %2, i32 noundef %19) #2
%21 = tail call i32 @BCE_UNLOCK(ptr noundef nonnull %2) #2
%22 = tail call i32 @ether_ifdetach(ptr noundef %8) #2
%23 = getelementptr inbounds %struct.bce_softc, ptr %2, i64 0, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !13
%25 = load i32, ptr @BCE_PHY_REMOTE_CAP_FLAG, align 4, !tbaa !5
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %1
%29 = getelementptr inbounds %struct.bce_softc, ptr %2, i64 0, i32 3
%30 = tail call i32 @ifmedia_removeall(ptr noundef nonnull %29) #2
br label %36
31: ; preds = %1
%32 = tail call i32 @bus_generic_detach(i32 noundef %0) #2
%33 = getelementptr inbounds %struct.bce_softc, ptr %2, i64 0, i32 2
%34 = load i32, ptr %33, align 8, !tbaa !14
%35 = tail call i32 @device_delete_child(i32 noundef %0, i32 noundef %34) #2
br label %36
36: ; preds = %31, %28
%37 = tail call i32 @bce_release_resources(ptr noundef nonnull %2) #2
%38 = load i32, ptr @BCE_VERBOSE_UNLOAD, align 4, !tbaa !5
%39 = load i32, ptr @BCE_VERBOSE_RESET, align 4, !tbaa !5
%40 = or i32 %39, %38
%41 = tail call i32 @DBEXIT(i32 noundef %40) #2
ret i32 0
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @DBENTER(i32 noundef) local_unnamed_addr #1
declare i32 @BCE_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1
declare i32 @bce_stop(ptr noundef) local_unnamed_addr #1
declare i32 @bce_reset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BCE_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @ether_ifdetach(ptr noundef) local_unnamed_addr #1
declare i32 @ifmedia_removeall(ptr noundef) local_unnamed_addr #1
declare i32 @bus_generic_detach(i32 noundef) local_unnamed_addr #1
declare i32 @device_delete_child(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bce_release_resources(ptr noundef) local_unnamed_addr #1
declare i32 @DBEXIT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 24}
!10 = !{!"bce_softc", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !11, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !6, i64 4}
!14 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bce/extr_if_bce.c_bce_detach.c'
source_filename = "AnghaBench/freebsd/sys/dev/bce/extr_if_bce.c_bce_detach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BCE_VERBOSE_UNLOAD = common local_unnamed_addr global i32 0, align 4
@BCE_VERBOSE_RESET = common local_unnamed_addr global i32 0, align 4
@BCE_NO_WOL_FLAG = common local_unnamed_addr global i32 0, align 4
@BCE_DRV_MSG_CODE_UNLOAD_LNK_DN = common local_unnamed_addr global i32 0, align 4
@BCE_DRV_MSG_CODE_UNLOAD = common local_unnamed_addr global i32 0, align 4
@BCE_PHY_REMOTE_CAP_FLAG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bce_detach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @bce_detach(i32 noundef %0) #0 {
%2 = tail call ptr @device_get_softc(i32 noundef %0) #2
%3 = load i32, ptr @BCE_VERBOSE_UNLOAD, align 4, !tbaa !6
%4 = load i32, ptr @BCE_VERBOSE_RESET, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = tail call i32 @DBENTER(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %2, i64 24
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = tail call i32 @BCE_LOCK(ptr noundef %2) #2
%10 = getelementptr inbounds i8, ptr %2, i64 16
%11 = tail call i32 @callout_stop(ptr noundef nonnull %10) #2
%12 = tail call i32 @bce_stop(ptr noundef %2) #2
%13 = load i32, ptr %2, align 8, !tbaa !13
%14 = load i32, ptr @BCE_NO_WOL_FLAG, align 4, !tbaa !6
%15 = and i32 %14, %13
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @BCE_DRV_MSG_CODE_UNLOAD, align 4
%18 = load i32, ptr @BCE_DRV_MSG_CODE_UNLOAD_LNK_DN, align 4
%19 = select i1 %16, i32 %17, i32 %18
%20 = tail call i32 @bce_reset(ptr noundef nonnull %2, i32 noundef %19) #2
%21 = tail call i32 @BCE_UNLOCK(ptr noundef nonnull %2) #2
%22 = tail call i32 @ether_ifdetach(ptr noundef %8) #2
%23 = getelementptr inbounds i8, ptr %2, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !14
%25 = load i32, ptr @BCE_PHY_REMOTE_CAP_FLAG, align 4, !tbaa !6
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %1
%29 = getelementptr inbounds i8, ptr %2, i64 12
%30 = tail call i32 @ifmedia_removeall(ptr noundef nonnull %29) #2
br label %36
31: ; preds = %1
%32 = tail call i32 @bus_generic_detach(i32 noundef %0) #2
%33 = getelementptr inbounds i8, ptr %2, i64 8
%34 = load i32, ptr %33, align 8, !tbaa !15
%35 = tail call i32 @device_delete_child(i32 noundef %0, i32 noundef %34) #2
br label %36
36: ; preds = %31, %28
%37 = tail call i32 @bce_release_resources(ptr noundef nonnull %2) #2
%38 = load i32, ptr @BCE_VERBOSE_UNLOAD, align 4, !tbaa !6
%39 = load i32, ptr @BCE_VERBOSE_RESET, align 4, !tbaa !6
%40 = or i32 %39, %38
%41 = tail call i32 @DBEXIT(i32 noundef %40) #2
ret i32 0
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @DBENTER(i32 noundef) local_unnamed_addr #1
declare i32 @BCE_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1
declare i32 @bce_stop(ptr noundef) local_unnamed_addr #1
declare i32 @bce_reset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BCE_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @ether_ifdetach(ptr noundef) local_unnamed_addr #1
declare i32 @ifmedia_removeall(ptr noundef) local_unnamed_addr #1
declare i32 @bus_generic_detach(i32 noundef) local_unnamed_addr #1
declare i32 @device_delete_child(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bce_release_resources(ptr noundef) local_unnamed_addr #1
declare i32 @DBEXIT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 24}
!11 = !{!"bce_softc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!11, !7, i64 4}
!15 = !{!11, !7, i64 8}
| freebsd_sys_dev_bce_extr_if_bce.c_bce_detach |
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_attr.c_qla2x00_get_host_symbolic_name.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_attr.c_qla2x00_get_host_symbolic_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @qla2x00_get_host_symbolic_name], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @qla2x00_get_host_symbolic_name(ptr noundef %0) #0 {
%2 = tail call ptr @shost_priv(ptr noundef %0) #2
%3 = tail call i32 @fc_host_symbolic_name(ptr noundef %0) #2
%4 = tail call i32 @qla2x00_get_sym_node_name(ptr noundef %2, i32 noundef %3, i32 noundef 4) #2
ret void
}
declare ptr @shost_priv(ptr noundef) local_unnamed_addr #1
declare i32 @qla2x00_get_sym_node_name(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fc_host_symbolic_name(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_attr.c_qla2x00_get_host_symbolic_name.c'
source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_attr.c_qla2x00_get_host_symbolic_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @qla2x00_get_host_symbolic_name], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @qla2x00_get_host_symbolic_name(ptr noundef %0) #0 {
%2 = tail call ptr @shost_priv(ptr noundef %0) #2
%3 = tail call i32 @fc_host_symbolic_name(ptr noundef %0) #2
%4 = tail call i32 @qla2x00_get_sym_node_name(ptr noundef %2, i32 noundef %3, i32 noundef 4) #2
ret void
}
declare ptr @shost_priv(ptr noundef) local_unnamed_addr #1
declare i32 @qla2x00_get_sym_node_name(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fc_host_symbolic_name(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_scsi_qla2xxx_extr_qla_attr.c_qla2x00_get_host_symbolic_name |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Link.c_LinkServerSessionThread.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Link.c_LinkServerSessionThread.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { ptr, ptr, i32, i32, i32 }
%struct.TYPE_14__ = type { ptr, i32 }
%struct.TYPE_12__ = type { i32, i32, i32, i32, i32, ptr }
@MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@CONNECTION_HUB_LINK_SERVER = dso_local local_unnamed_addr global i32 0, align 4
@LINK_USER_NAME = dso_local local_unnamed_addr global i32 0, align 4
@LINK_USER_NAME_PRINT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"LH_LINK_START\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"LH_LINK_STOP\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @LinkServerSessionThread(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MAX_SIZE, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 16
%6 = icmp eq ptr %0, null
%7 = icmp eq ptr %1, null
%8 = or i1 %6, %7
br i1 %8, label %47, label %9
9: ; preds = %2
%10 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 3
%11 = load i32, ptr %10, align 4, !tbaa !9
%12 = tail call ptr @NewServerConnection(i32 noundef %11, ptr noundef null, ptr noundef nonnull %0) #2
%13 = load i32, ptr @CONNECTION_HUB_LINK_SERVER, align 4, !tbaa !5
%14 = getelementptr inbounds %struct.TYPE_14__, ptr %12, i64 0, i32 1
store i32 %13, ptr %14, align 8, !tbaa !12
%15 = tail call ptr @ZeroMalloc(i32 noundef 4) #2
%16 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 4
%17 = load i32, ptr %16, align 8, !tbaa !14
%18 = tail call i32 @Copy(ptr noundef %15, i32 noundef %17, i32 noundef 4) #2
%19 = load i32, ptr %10, align 4, !tbaa !9
%20 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 2
%21 = load i32, ptr %20, align 8, !tbaa !15
%22 = load i32, ptr @LINK_USER_NAME, align 4, !tbaa !5
%23 = tail call ptr @NewServerSession(i32 noundef %19, ptr noundef %12, i32 noundef %21, i32 noundef %22, ptr noundef %15) #2
store i32 1, ptr %23, align 8, !tbaa !16
%24 = getelementptr inbounds %struct.TYPE_12__, ptr %23, i64 0, i32 5
store ptr %1, ptr %24, align 8, !tbaa !18
store ptr %23, ptr %12, align 8, !tbaa !19
%25 = tail call i32 @ReleaseConnection(ptr noundef nonnull %12) #2
%26 = load i32, ptr @LINK_USER_NAME_PRINT, align 4, !tbaa !5
%27 = tail call i32 @CopyStr(i32 noundef %26) #2
%28 = getelementptr inbounds %struct.TYPE_12__, ptr %23, i64 0, i32 4
store i32 %27, ptr %28, align 8, !tbaa !20
%29 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1
store ptr %23, ptr %29, align 8, !tbaa !21
%30 = getelementptr inbounds %struct.TYPE_12__, ptr %23, i64 0, i32 3
%31 = load i32, ptr %30, align 4, !tbaa !22
%32 = tail call i32 @AddRef(i32 noundef %31) #2
%33 = tail call i32 @NoticeThreadInit(ptr noundef nonnull %0) #2
%34 = shl i32 %3, 2
%35 = load ptr, ptr %1, align 8, !tbaa !23
%36 = load i32, ptr %35, align 4, !tbaa !24
%37 = call i32 @UniStrCpy(ptr noundef nonnull %5, i32 noundef %34, i32 noundef %36) #2
%38 = getelementptr inbounds %struct.TYPE_12__, ptr %23, i64 0, i32 1
%39 = load i32, ptr %38, align 4, !tbaa !26
%40 = getelementptr inbounds %struct.TYPE_12__, ptr %23, i64 0, i32 2
%41 = load i32, ptr %40, align 8, !tbaa !27
%42 = call i32 (i32, ptr, ptr, ...) @HLog(i32 noundef %39, ptr noundef nonnull @.str, ptr noundef nonnull %5, i32 noundef %41) #2
%43 = call i32 @SessionMain(ptr noundef nonnull %23) #2
%44 = load i32, ptr %38, align 4, !tbaa !26
%45 = call i32 (i32, ptr, ptr, ...) @HLog(i32 noundef %44, ptr noundef nonnull @.str.1, ptr noundef nonnull %5) #2
%46 = call i32 @ReleaseSession(ptr noundef nonnull %23) #2
br label %47
47: ; preds = %2, %9
ret void
}
declare ptr @NewServerConnection(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ZeroMalloc(i32 noundef) local_unnamed_addr #1
declare i32 @Copy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @NewServerSession(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseConnection(ptr noundef) local_unnamed_addr #1
declare i32 @CopyStr(i32 noundef) local_unnamed_addr #1
declare i32 @AddRef(i32 noundef) local_unnamed_addr #1
declare i32 @NoticeThreadInit(ptr noundef) local_unnamed_addr #1
declare i32 @UniStrCpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @HLog(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @SessionMain(ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseSession(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 = !{!"TYPE_13__", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 8}
!13 = !{!"TYPE_14__", !11, i64 0, !6, i64 8}
!14 = !{!10, !6, i64 24}
!15 = !{!10, !6, i64 16}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_12__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !11, i64 24}
!18 = !{!17, !11, i64 24}
!19 = !{!13, !11, i64 0}
!20 = !{!17, !6, i64 16}
!21 = !{!10, !11, i64 8}
!22 = !{!17, !6, i64 12}
!23 = !{!10, !11, i64 0}
!24 = !{!25, !6, i64 0}
!25 = !{!"TYPE_11__", !6, i64 0}
!26 = !{!17, !6, i64 4}
!27 = !{!17, !6, i64 8}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Link.c_LinkServerSessionThread.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Link.c_LinkServerSessionThread.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_SIZE = common local_unnamed_addr global i32 0, align 4
@CONNECTION_HUB_LINK_SERVER = common local_unnamed_addr global i32 0, align 4
@LINK_USER_NAME = common local_unnamed_addr global i32 0, align 4
@LINK_USER_NAME_PRINT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"LH_LINK_START\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"LH_LINK_STOP\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @LinkServerSessionThread(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MAX_SIZE, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 4
%6 = icmp eq ptr %0, null
%7 = icmp eq ptr %1, null
%8 = or i1 %6, %7
br i1 %8, label %47, label %9
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %1, i64 20
%11 = load i32, ptr %10, align 4, !tbaa !10
%12 = tail call ptr @NewServerConnection(i32 noundef %11, ptr noundef null, ptr noundef nonnull %0) #2
%13 = load i32, ptr @CONNECTION_HUB_LINK_SERVER, align 4, !tbaa !6
%14 = getelementptr inbounds i8, ptr %12, i64 8
store i32 %13, ptr %14, align 8, !tbaa !13
%15 = tail call ptr @ZeroMalloc(i32 noundef 4) #2
%16 = getelementptr inbounds i8, ptr %1, i64 24
%17 = load i32, ptr %16, align 8, !tbaa !15
%18 = tail call i32 @Copy(ptr noundef %15, i32 noundef %17, i32 noundef 4) #2
%19 = load i32, ptr %10, align 4, !tbaa !10
%20 = getelementptr inbounds i8, ptr %1, i64 16
%21 = load i32, ptr %20, align 8, !tbaa !16
%22 = load i32, ptr @LINK_USER_NAME, align 4, !tbaa !6
%23 = tail call ptr @NewServerSession(i32 noundef %19, ptr noundef %12, i32 noundef %21, i32 noundef %22, ptr noundef %15) #2
store i32 1, ptr %23, align 8, !tbaa !17
%24 = getelementptr inbounds i8, ptr %23, i64 24
store ptr %1, ptr %24, align 8, !tbaa !19
store ptr %23, ptr %12, align 8, !tbaa !20
%25 = tail call i32 @ReleaseConnection(ptr noundef nonnull %12) #2
%26 = load i32, ptr @LINK_USER_NAME_PRINT, align 4, !tbaa !6
%27 = tail call i32 @CopyStr(i32 noundef %26) #2
%28 = getelementptr inbounds i8, ptr %23, i64 16
store i32 %27, ptr %28, align 8, !tbaa !21
%29 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %23, ptr %29, align 8, !tbaa !22
%30 = getelementptr inbounds i8, ptr %23, i64 12
%31 = load i32, ptr %30, align 4, !tbaa !23
%32 = tail call i32 @AddRef(i32 noundef %31) #2
%33 = tail call i32 @NoticeThreadInit(ptr noundef nonnull %0) #2
%34 = shl i32 %3, 2
%35 = load ptr, ptr %1, align 8, !tbaa !24
%36 = load i32, ptr %35, align 4, !tbaa !25
%37 = call i32 @UniStrCpy(ptr noundef nonnull %5, i32 noundef %34, i32 noundef %36) #2
%38 = getelementptr inbounds i8, ptr %23, i64 4
%39 = load i32, ptr %38, align 4, !tbaa !27
%40 = getelementptr inbounds i8, ptr %23, i64 8
%41 = load i32, ptr %40, align 8, !tbaa !28
%42 = call i32 (i32, ptr, ptr, ...) @HLog(i32 noundef %39, ptr noundef nonnull @.str, ptr noundef nonnull %5, i32 noundef %41) #2
%43 = call i32 @SessionMain(ptr noundef nonnull %23) #2
%44 = load i32, ptr %38, align 4, !tbaa !27
%45 = call i32 (i32, ptr, ptr, ...) @HLog(i32 noundef %44, ptr noundef nonnull @.str.1, ptr noundef nonnull %5) #2
%46 = call i32 @ReleaseSession(ptr noundef nonnull %23) #2
br label %47
47: ; preds = %2, %9
ret void
}
declare ptr @NewServerConnection(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ZeroMalloc(i32 noundef) local_unnamed_addr #1
declare i32 @Copy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @NewServerSession(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseConnection(ptr noundef) local_unnamed_addr #1
declare i32 @CopyStr(i32 noundef) local_unnamed_addr #1
declare i32 @AddRef(i32 noundef) local_unnamed_addr #1
declare i32 @NoticeThreadInit(ptr noundef) local_unnamed_addr #1
declare i32 @UniStrCpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @HLog(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @SessionMain(ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseSession(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 = !{!"TYPE_13__", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"TYPE_14__", !12, i64 0, !7, i64 8}
!15 = !{!11, !7, i64 24}
!16 = !{!11, !7, i64 16}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !12, i64 24}
!19 = !{!18, !12, i64 24}
!20 = !{!14, !12, i64 0}
!21 = !{!18, !7, i64 16}
!22 = !{!11, !12, i64 8}
!23 = !{!18, !7, i64 12}
!24 = !{!11, !12, i64 0}
!25 = !{!26, !7, i64 0}
!26 = !{!"TYPE_11__", !7, i64 0}
!27 = !{!18, !7, i64 4}
!28 = !{!18, !7, i64 8}
| SoftEtherVPN_src_Cedar_extr_Link.c_LinkServerSessionThread |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_ethtool.c_e1000_get_pauseparam.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_ethtool.c_e1000_get_pauseparam.c"
target datalayout = "e-m:e-p270:32:32-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_adapter = type { i64, %struct.e1000_hw }
%struct.e1000_hw = type { i64 }
%struct.ethtool_pauseparam = type { i32, i32, i32 }
@AUTONEG_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@AUTONEG_DISABLE = dso_local local_unnamed_addr global i32 0, align 4
@E1000_FC_RX_PAUSE = dso_local local_unnamed_addr global i64 0, align 8
@E1000_FC_TX_PAUSE = dso_local local_unnamed_addr global i64 0, align 8
@E1000_FC_FULL = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_get_pauseparam], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @e1000_get_pauseparam(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.e1000_adapter, ptr %3, i64 0, i32 1
%5 = load i64, ptr %3, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr @AUTONEG_ENABLE, align 4
%8 = load i32, ptr @AUTONEG_DISABLE, align 4
%9 = select i1 %6, i32 %8, i32 %7
%10 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 2
store i32 %9, ptr %10, align 4, !tbaa !11
%11 = load i64, ptr %4, align 8, !tbaa !14
%12 = load i64, ptr @E1000_FC_RX_PAUSE, align 8, !tbaa !15
%13 = icmp eq i64 %11, %12
br i1 %13, label %24, label %14
14: ; preds = %2
%15 = load i64, ptr @E1000_FC_TX_PAUSE, align 8, !tbaa !15
%16 = icmp eq i64 %11, %15
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 1
br label %24
19: ; preds = %14
%20 = load i64, ptr @E1000_FC_FULL, align 8, !tbaa !15
%21 = icmp eq i64 %11, %20
br i1 %21, label %22, label %26
22: ; preds = %19
store i32 1, ptr %1, align 4, !tbaa !16
%23 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 1
br label %24
24: ; preds = %2, %22, %17
%25 = phi ptr [ %18, %17 ], [ %23, %22 ], [ %1, %2 ]
store i32 1, ptr %25, align 4, !tbaa !17
br label %26
26: ; preds = %24, %19
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 = !{!"e1000_adapter", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"e1000_hw", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"ethtool_pauseparam", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !8, i64 0}
!14 = !{!10, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!12, !13, i64 0}
!17 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_ethtool.c_e1000_get_pauseparam.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_ethtool.c_e1000_get_pauseparam.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AUTONEG_ENABLE = common local_unnamed_addr global i32 0, align 4
@AUTONEG_DISABLE = common local_unnamed_addr global i32 0, align 4
@E1000_FC_RX_PAUSE = common local_unnamed_addr global i64 0, align 8
@E1000_FC_TX_PAUSE = common local_unnamed_addr global i64 0, align 8
@E1000_FC_FULL = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @e1000_get_pauseparam], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @e1000_get_pauseparam(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load i64, ptr %3, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr @AUTONEG_ENABLE, align 4
%8 = load i32, ptr @AUTONEG_DISABLE, align 4
%9 = select i1 %6, i32 %8, i32 %7
%10 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %9, ptr %10, align 4, !tbaa !12
%11 = load i64, ptr %4, align 8, !tbaa !15
%12 = load i64, ptr @E1000_FC_RX_PAUSE, align 8, !tbaa !16
%13 = icmp eq i64 %11, %12
br i1 %13, label %24, label %14
14: ; preds = %2
%15 = load i64, ptr @E1000_FC_TX_PAUSE, align 8, !tbaa !16
%16 = icmp eq i64 %11, %15
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = getelementptr inbounds i8, ptr %1, i64 4
br label %24
19: ; preds = %14
%20 = load i64, ptr @E1000_FC_FULL, align 8, !tbaa !16
%21 = icmp eq i64 %11, %20
br i1 %21, label %22, label %26
22: ; preds = %19
store i32 1, ptr %1, align 4, !tbaa !17
%23 = getelementptr inbounds i8, ptr %1, i64 4
br label %24
24: ; preds = %2, %22, %17
%25 = phi ptr [ %18, %17 ], [ %23, %22 ], [ %1, %2 ]
store i32 1, ptr %25, align 4, !tbaa !18
br label %26
26: ; preds = %24, %19
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 = !{!"e1000_adapter", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"e1000_hw", !8, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"ethtool_pauseparam", !14, i64 0, !14, i64 4, !14, i64 8}
!14 = !{!"int", !9, i64 0}
!15 = !{!11, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!13, !14, i64 0}
!18 = !{!14, !14, i64 0}
| linux_drivers_net_ethernet_intel_e1000_extr_e1000_ethtool.c_e1000_get_pauseparam |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_hdmi_wp.c_hdmi_wp_get_audio_dma_addr.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_hdmi_wp.c_hdmi_wp_get_audio_dma_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HDMI_WP_AUDIO_DATA = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i64 @hdmi_wp_get_audio_dma_addr(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @HDMI_WP_AUDIO_DATA, align 8, !tbaa !10
%4 = add nsw i64 %3, %2
ret i64 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"hdmi_wp_data", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_hdmi_wp.c_hdmi_wp_get_audio_dma_addr.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_hdmi_wp.c_hdmi_wp_get_audio_dma_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HDMI_WP_AUDIO_DATA = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define i64 @hdmi_wp_get_audio_dma_addr(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @HDMI_WP_AUDIO_DATA, align 8, !tbaa !11
%4 = add nsw i64 %3, %2
ret i64 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"hdmi_wp_data", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_gpu_drm_omapdrm_dss_extr_hdmi_wp.c_hdmi_wp_get_audio_dma_addr |
; ModuleID = 'AnghaBench/freebsd/sys/kgssapi/extr_gsstest.c_server_program_1.c'
source_filename = "AnghaBench/freebsd/sys/kgssapi/extr_gsstest.c_server_program_1.c"
target datalayout = "e-m:e-p270:32:32-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.svc_req = type { i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_8__ = type { i32, ptr }
%struct.TYPE_7__ = type { i32, i32, i32, ptr }
@RPCSEC_GSS = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [40 x i8] c"svc=%d, mech=%s, uid=%d, gid=%d, gids={\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@xdr_void = dso_local local_unnamed_addr global i32 0, align 4
@xdr_int = dso_local local_unnamed_addr global i32 0, align 4
@str = private unnamed_addr constant [2 x i8] c"}\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @server_program_1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @server_program_1(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
%6 = getelementptr inbounds %struct.svc_req, ptr %0, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = load i64, ptr @RPCSEC_GSS, align 8, !tbaa !12
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = tail call i32 @svcerr_weakauth(ptr noundef nonnull %0) #5
br label %88
12: ; preds = %2
%13 = call i32 @rpc_gss_getcred(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef null) #5
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @svcerr_systemerr(ptr noundef nonnull %0) #5
br label %88
17: ; preds = %12
%18 = load ptr, ptr %3, align 8, !tbaa !13
%19 = load i32, ptr %18, align 8, !tbaa !15
%20 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !17
%22 = load ptr, ptr %4, align 8, !tbaa !13
%23 = load i32, ptr %22, align 8, !tbaa !18
%24 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !20
%26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %19, ptr noundef %21, i32 noundef %23, i32 noundef %25)
%27 = load ptr, ptr %4, align 8, !tbaa !13
%28 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 2
%29 = load i32, ptr %28, align 8, !tbaa !21
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %55
31: ; preds = %17
%32 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 3
%33 = load ptr, ptr %32, align 8, !tbaa !22
%34 = load i32, ptr %33, align 4, !tbaa !23
%35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %34)
%36 = load ptr, ptr %4, align 8, !tbaa !13
%37 = getelementptr inbounds %struct.TYPE_7__, ptr %36, i64 0, i32 2
%38 = load i32, ptr %37, align 8, !tbaa !21
%39 = icmp sgt i32 %38, 1
br i1 %39, label %40, label %55
40: ; preds = %31, %40
%41 = phi i64 [ %49, %40 ], [ 1, %31 ]
%42 = call i32 @putchar(i32 44)
%43 = load ptr, ptr %4, align 8, !tbaa !13
%44 = getelementptr inbounds %struct.TYPE_7__, ptr %43, i64 0, i32 3
%45 = load ptr, ptr %44, align 8, !tbaa !22
%46 = getelementptr inbounds i32, ptr %45, i64 %41
%47 = load i32, ptr %46, align 4, !tbaa !23
%48 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %47)
%49 = add nuw nsw i64 %41, 1
%50 = load ptr, ptr %4, align 8, !tbaa !13
%51 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 0, i32 2
%52 = load i32, ptr %51, align 8, !tbaa !21
%53 = sext i32 %52 to i64
%54 = icmp slt i64 %49, %53
br i1 %54, label %40, label %55, !llvm.loop !24
55: ; preds = %40, %31, %17
%56 = call i32 @puts(ptr nonnull dereferenceable(1) @str)
%57 = load i32, ptr %0, align 8, !tbaa !27
switch i32 %57, label %84 [
i32 0, label %58
i32 1, label %70
]
58: ; preds = %55
%59 = load i32, ptr @xdr_void, align 4, !tbaa !23
%60 = call i32 @svc_getargs(ptr noundef nonnull %0, i32 noundef %59, ptr noundef null) #5
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = call i32 @svcerr_decode(ptr noundef nonnull %0) #5
br label %86
64: ; preds = %58
%65 = load i32, ptr @xdr_void, align 4, !tbaa !23
%66 = call i32 @svc_sendreply(ptr noundef nonnull %0, i32 noundef %65, ptr noundef null) #5
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %86
68: ; preds = %64
%69 = call i32 @svcerr_systemerr(ptr noundef nonnull %0) #5
br label %86
70: ; preds = %55
%71 = load i32, ptr @xdr_int, align 4, !tbaa !23
%72 = call i32 @svc_getargs(ptr noundef nonnull %0, i32 noundef %71, ptr noundef nonnull %5) #5
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %70
%75 = call i32 @svcerr_decode(ptr noundef nonnull %0) #5
br label %86
76: ; preds = %70
%77 = load i32, ptr %5, align 4, !tbaa !23
%78 = add nsw i32 %77, 100
store i32 %78, ptr %5, align 4, !tbaa !23
%79 = load i32, ptr @xdr_int, align 4, !tbaa !23
%80 = call i32 @svc_sendreply(ptr noundef nonnull %0, i32 noundef %79, ptr noundef nonnull %5) #5
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %86
82: ; preds = %76
%83 = call i32 @svcerr_systemerr(ptr noundef nonnull %0) #5
br label %86
84: ; preds = %55
%85 = call i32 @svcerr_noproc(ptr noundef nonnull %0) #5
br label %86
86: ; preds = %76, %82, %64, %68, %84, %74, %62
%87 = call i32 @svc_freereq(ptr noundef nonnull %0) #5
br label %88
88: ; preds = %86, %15, %10
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
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 @svcerr_weakauth(ptr noundef) local_unnamed_addr #2
declare i32 @rpc_gss_getcred(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svcerr_systemerr(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3
declare i32 @svc_getargs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svcerr_decode(ptr noundef) local_unnamed_addr #2
declare i32 @svc_sendreply(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svcerr_noproc(ptr noundef) local_unnamed_addr #2
declare i32 @svc_freereq(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
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nofree nounwind }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"svc_req", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_6__", !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_8__", !7, i64 0, !14, i64 8}
!17 = !{!16, !14, i64 8}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8, !14, i64 16}
!20 = !{!19, !7, i64 4}
!21 = !{!19, !7, i64 8}
!22 = !{!19, !14, i64 16}
!23 = !{!7, !7, i64 0}
!24 = distinct !{!24, !25, !26}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!"llvm.loop.peeled.count", i32 1}
!27 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/kgssapi/extr_gsstest.c_server_program_1.c'
source_filename = "AnghaBench/freebsd/sys/kgssapi/extr_gsstest.c_server_program_1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RPCSEC_GSS = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [40 x i8] c"svc=%d, mech=%s, uid=%d, gid=%d, gids={\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@xdr_void = common local_unnamed_addr global i32 0, align 4
@xdr_int = common local_unnamed_addr global i32 0, align 4
@str = private unnamed_addr constant [2 x i8] c"}\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @server_program_1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @server_program_1(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = load i64, ptr @RPCSEC_GSS, align 8, !tbaa !13
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = tail call i32 @svcerr_weakauth(ptr noundef nonnull %0) #5
br label %88
12: ; preds = %2
%13 = call i32 @rpc_gss_getcred(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef null) #5
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @svcerr_systemerr(ptr noundef nonnull %0) #5
br label %88
17: ; preds = %12
%18 = load ptr, ptr %3, align 8, !tbaa !14
%19 = load i32, ptr %18, align 8, !tbaa !16
%20 = getelementptr inbounds i8, ptr %18, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !18
%22 = load ptr, ptr %4, align 8, !tbaa !14
%23 = load i32, ptr %22, align 8, !tbaa !19
%24 = getelementptr inbounds i8, ptr %22, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !21
%26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %19, ptr noundef %21, i32 noundef %23, i32 noundef %25)
%27 = load ptr, ptr %4, align 8, !tbaa !14
%28 = getelementptr inbounds i8, ptr %27, i64 8
%29 = load i32, ptr %28, align 8, !tbaa !22
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %55
31: ; preds = %17
%32 = getelementptr inbounds i8, ptr %27, i64 16
%33 = load ptr, ptr %32, align 8, !tbaa !23
%34 = load i32, ptr %33, align 4, !tbaa !24
%35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %34)
%36 = load ptr, ptr %4, align 8, !tbaa !14
%37 = getelementptr inbounds i8, ptr %36, i64 8
%38 = load i32, ptr %37, align 8, !tbaa !22
%39 = icmp sgt i32 %38, 1
br i1 %39, label %40, label %55
40: ; preds = %31, %40
%41 = phi i64 [ %49, %40 ], [ 1, %31 ]
%42 = call i32 @putchar(i32 44)
%43 = load ptr, ptr %4, align 8, !tbaa !14
%44 = getelementptr inbounds i8, ptr %43, i64 16
%45 = load ptr, ptr %44, align 8, !tbaa !23
%46 = getelementptr inbounds i32, ptr %45, i64 %41
%47 = load i32, ptr %46, align 4, !tbaa !24
%48 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %47)
%49 = add nuw nsw i64 %41, 1
%50 = load ptr, ptr %4, align 8, !tbaa !14
%51 = getelementptr inbounds i8, ptr %50, i64 8
%52 = load i32, ptr %51, align 8, !tbaa !22
%53 = sext i32 %52 to i64
%54 = icmp slt i64 %49, %53
br i1 %54, label %40, label %55, !llvm.loop !25
55: ; preds = %40, %31, %17
%56 = call i32 @puts(ptr nonnull dereferenceable(1) @str)
%57 = load i32, ptr %0, align 8, !tbaa !28
switch i32 %57, label %84 [
i32 0, label %58
i32 1, label %70
]
58: ; preds = %55
%59 = load i32, ptr @xdr_void, align 4, !tbaa !24
%60 = call i32 @svc_getargs(ptr noundef nonnull %0, i32 noundef %59, ptr noundef null) #5
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = call i32 @svcerr_decode(ptr noundef nonnull %0) #5
br label %86
64: ; preds = %58
%65 = load i32, ptr @xdr_void, align 4, !tbaa !24
%66 = call i32 @svc_sendreply(ptr noundef nonnull %0, i32 noundef %65, ptr noundef null) #5
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %86
68: ; preds = %64
%69 = call i32 @svcerr_systemerr(ptr noundef nonnull %0) #5
br label %86
70: ; preds = %55
%71 = load i32, ptr @xdr_int, align 4, !tbaa !24
%72 = call i32 @svc_getargs(ptr noundef nonnull %0, i32 noundef %71, ptr noundef nonnull %5) #5
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %76
74: ; preds = %70
%75 = call i32 @svcerr_decode(ptr noundef nonnull %0) #5
br label %86
76: ; preds = %70
%77 = load i32, ptr %5, align 4, !tbaa !24
%78 = add nsw i32 %77, 100
store i32 %78, ptr %5, align 4, !tbaa !24
%79 = load i32, ptr @xdr_int, align 4, !tbaa !24
%80 = call i32 @svc_sendreply(ptr noundef nonnull %0, i32 noundef %79, ptr noundef nonnull %5) #5
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %86
82: ; preds = %76
%83 = call i32 @svcerr_systemerr(ptr noundef nonnull %0) #5
br label %86
84: ; preds = %55
%85 = call i32 @svcerr_noproc(ptr noundef nonnull %0) #5
br label %86
86: ; preds = %76, %82, %64, %68, %84, %74, %62
%87 = call i32 @svc_freereq(ptr noundef nonnull %0) #5
br label %88
88: ; preds = %86, %15, %10
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
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 @svcerr_weakauth(ptr noundef) local_unnamed_addr #2
declare i32 @rpc_gss_getcred(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svcerr_systemerr(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3
declare i32 @svc_getargs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svcerr_decode(ptr noundef) local_unnamed_addr #2
declare i32 @svc_sendreply(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svcerr_noproc(ptr noundef) local_unnamed_addr #2
declare i32 @svc_freereq(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
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nofree nounwind }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"svc_req", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_8__", !8, i64 0, !15, i64 8}
!18 = !{!17, !15, i64 8}
!19 = !{!20, !8, i64 0}
!20 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !8, i64 8, !15, i64 16}
!21 = !{!20, !8, i64 4}
!22 = !{!20, !8, i64 8}
!23 = !{!20, !15, i64 16}
!24 = !{!8, !8, i64 0}
!25 = distinct !{!25, !26, !27}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!"llvm.loop.peeled.count", i32 1}
!28 = !{!7, !8, i64 0}
| freebsd_sys_kgssapi_extr_gsstest.c_server_program_1 |
; ModuleID = 'AnghaBench/linux/arch/arm/kvm/extr_coproc.c_index_to_coproc_reg.c'
source_filename = "AnghaBench/linux/arch/arm/kvm/extr_coproc.c_index_to_coproc_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.coproc_params = type { i32 }
@KVM_REG_ARM_COPROC_MASK = dso_local local_unnamed_addr global i32 0, align 4
@KVM_REG_ARM_COPROC_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@cp15_regs = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @index_to_coproc_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @index_to_coproc_reg(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca %struct.coproc_params, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @KVM_REG_ARM_COPROC_MASK, align 4, !tbaa !5
%6 = and i32 %5, %1
%7 = load i32, ptr @KVM_REG_ARM_COPROC_SHIFT, align 4, !tbaa !5
%8 = ashr i32 %6, %7
%9 = icmp eq i32 %8, 15
br i1 %9, label %10, label %29
10: ; preds = %2
%11 = call i32 @index_to_params(i32 noundef %1, ptr noundef nonnull %4) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %29, label %13
13: ; preds = %10
%14 = load i32, ptr %0, align 4, !tbaa !9
%15 = call ptr @get_target_table(i32 noundef %14, ptr noundef nonnull %3) #3
%16 = load i64, ptr %3, align 8, !tbaa !12
%17 = call ptr @find_reg(ptr noundef nonnull %4, ptr noundef %15, i64 noundef %16) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %24
19: ; preds = %13
%20 = load ptr, ptr @cp15_regs, align 8, !tbaa !14
%21 = call i64 @ARRAY_SIZE(ptr noundef %20) #3
%22 = call ptr @find_reg(ptr noundef nonnull %4, ptr noundef %20, i64 noundef %21) #3
%23 = icmp eq ptr %22, null
br i1 %23, label %29, label %24
24: ; preds = %13, %19
%25 = phi ptr [ %22, %19 ], [ %17, %13 ]
%26 = load i32, ptr %25, align 4, !tbaa !16
%27 = icmp eq i32 %26, 0
%28 = select i1 %27, ptr null, ptr %25
br label %29
29: ; preds = %19, %24, %10, %2
%30 = phi ptr [ null, %2 ], [ null, %10 ], [ %28, %24 ], [ null, %19 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @index_to_params(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @get_target_table(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @find_reg(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"kvm_vcpu", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"coproc_reg", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/arm/kvm/extr_coproc.c_index_to_coproc_reg.c'
source_filename = "AnghaBench/linux/arch/arm/kvm/extr_coproc.c_index_to_coproc_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.coproc_params = type { i32 }
@KVM_REG_ARM_COPROC_MASK = common local_unnamed_addr global i32 0, align 4
@KVM_REG_ARM_COPROC_SHIFT = common local_unnamed_addr global i32 0, align 4
@cp15_regs = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @index_to_coproc_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @index_to_coproc_reg(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca %struct.coproc_params, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @KVM_REG_ARM_COPROC_MASK, align 4, !tbaa !6
%6 = and i32 %5, %1
%7 = load i32, ptr @KVM_REG_ARM_COPROC_SHIFT, align 4, !tbaa !6
%8 = ashr i32 %6, %7
%9 = icmp eq i32 %8, 15
br i1 %9, label %10, label %29
10: ; preds = %2
%11 = call i32 @index_to_params(i32 noundef %1, ptr noundef nonnull %4) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %29, label %13
13: ; preds = %10
%14 = load i32, ptr %0, align 4, !tbaa !10
%15 = call ptr @get_target_table(i32 noundef %14, ptr noundef nonnull %3) #3
%16 = load i64, ptr %3, align 8, !tbaa !13
%17 = call ptr @find_reg(ptr noundef nonnull %4, ptr noundef %15, i64 noundef %16) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %24
19: ; preds = %13
%20 = load ptr, ptr @cp15_regs, align 8, !tbaa !15
%21 = call i64 @ARRAY_SIZE(ptr noundef %20) #3
%22 = call ptr @find_reg(ptr noundef nonnull %4, ptr noundef %20, i64 noundef %21) #3
%23 = icmp eq ptr %22, null
br i1 %23, label %29, label %24
24: ; preds = %13, %19
%25 = phi ptr [ %22, %19 ], [ %17, %13 ]
%26 = load i32, ptr %25, align 4, !tbaa !17
%27 = icmp eq i32 %26, 0
%28 = select i1 %27, ptr null, ptr %25
br label %29
29: ; preds = %19, %24, %10, %2
%30 = phi ptr [ null, %2 ], [ null, %10 ], [ %28, %24 ], [ null, %19 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @index_to_params(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @get_target_table(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @find_reg(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"kvm_vcpu", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"coproc_reg", !7, i64 0}
| linux_arch_arm_kvm_extr_coproc.c_index_to_coproc_reg |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/tradestation/keymaps/default/extr_keymap.c_matrix_init_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/tradestation/keymaps/default/extr_keymap.c_matrix_init_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @matrix_init_user() local_unnamed_addr #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/qmk_firmware/keyboards/handwired/tradestation/keymaps/default/extr_keymap.c_matrix_init_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/tradestation/keymaps/default/extr_keymap.c_matrix_init_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @matrix_init_user() local_unnamed_addr #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)"}
| qmk_firmware_keyboards_handwired_tradestation_keymaps_default_extr_keymap.c_matrix_init_user |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_cam.c_ocs_scsi_del_target.c'
source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_cam.c_ocs_scsi_del_target.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr }
%struct.TYPE_12__ = type { i32, ptr }
%struct.TYPE_13__ = type { i32, i32 }
@.str = private unnamed_addr constant [14 x i8] c"OCS is NULL \0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"FCP is NULL \0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"target is invalid\0A\00", align 1
@OCS_TGT_STATE_LOST = dso_local local_unnamed_addr global i32 0, align 4
@hz = dso_local local_unnamed_addr global i32 0, align 4
@ocs_ldt = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ocs_scsi_del_target(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @ocs_log_err(ptr noundef null, ptr noundef nonnull @.str) #2
br label %37
8: ; preds = %2
%9 = load ptr, ptr %0, align 8, !tbaa !10
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @ocs_log_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.1) #2
br label %37
14: ; preds = %8
%15 = tail call i32 @ocs_tgt_find(ptr noundef nonnull %10, ptr noundef nonnull %0) #2
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = tail call i32 @ocs_log_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.2) #2
br label %37
19: ; preds = %14
%20 = load i32, ptr %4, align 4, !tbaa !13
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = tail call i32 @ocs_delete_target(ptr noundef nonnull %4, ptr noundef nonnull %10, i32 noundef %15) #2
br label %37
24: ; preds = %19
%25 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !16
%27 = sext i32 %15 to i64
%28 = getelementptr inbounds %struct.TYPE_13__, ptr %26, i64 %27
%29 = load i32, ptr @OCS_TGT_STATE_LOST, align 4, !tbaa !18
%30 = getelementptr inbounds %struct.TYPE_13__, ptr %26, i64 %27, i32 1
store i32 %29, ptr %30, align 4, !tbaa !19
store i32 30, ptr %28, align 4, !tbaa !21
%31 = tail call i32 @callout_active(ptr noundef nonnull %10) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %24
%34 = load i32, ptr @hz, align 4, !tbaa !18
%35 = load i32, ptr @ocs_ldt, align 4, !tbaa !18
%36 = tail call i32 @callout_reset(ptr noundef nonnull %10, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %10) #2
br label %37
37: ; preds = %22, %33, %24, %17, %12, %6
%38 = phi i32 [ -1, %6 ], [ -1, %12 ], [ -1, %17 ], [ 0, %24 ], [ 0, %33 ], [ 0, %22 ]
ret i32 %38
}
declare i32 @ocs_log_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ocs_tgt_find(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ocs_delete_target(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @callout_active(ptr noundef) local_unnamed_addr #1
declare i32 @callout_reset(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 8}
!6 = !{!"TYPE_11__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_10__", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"ocs_softc", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !7, i64 8}
!17 = !{!"TYPE_12__", !15, i64 0, !7, i64 8}
!18 = !{!15, !15, i64 0}
!19 = !{!20, !15, i64 4}
!20 = !{!"TYPE_13__", !15, i64 0, !15, i64 4}
!21 = !{!20, !15, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_cam.c_ocs_scsi_del_target.c'
source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_cam.c_ocs_scsi_del_target.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_13__ = type { i32, i32 }
@.str = private unnamed_addr constant [14 x i8] c"OCS is NULL \0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"FCP is NULL \0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"target is invalid\0A\00", align 1
@OCS_TGT_STATE_LOST = common local_unnamed_addr global i32 0, align 4
@hz = common local_unnamed_addr global i32 0, align 4
@ocs_ldt = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @ocs_scsi_del_target(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @ocs_log_err(ptr noundef null, ptr noundef nonnull @.str) #2
br label %37
8: ; preds = %2
%9 = load ptr, ptr %0, align 8, !tbaa !11
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @ocs_log_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.1) #2
br label %37
14: ; preds = %8
%15 = tail call i32 @ocs_tgt_find(ptr noundef nonnull %10, ptr noundef nonnull %0) #2
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = tail call i32 @ocs_log_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.2) #2
br label %37
19: ; preds = %14
%20 = load i32, ptr %4, align 4, !tbaa !14
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = tail call i32 @ocs_delete_target(ptr noundef nonnull %4, ptr noundef nonnull %10, i32 noundef %15) #2
br label %37
24: ; preds = %19
%25 = getelementptr inbounds i8, ptr %10, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !17
%27 = sext i32 %15 to i64
%28 = getelementptr inbounds %struct.TYPE_13__, ptr %26, i64 %27
%29 = load i32, ptr @OCS_TGT_STATE_LOST, align 4, !tbaa !19
%30 = getelementptr inbounds i8, ptr %28, i64 4
store i32 %29, ptr %30, align 4, !tbaa !20
store i32 30, ptr %28, align 4, !tbaa !22
%31 = tail call i32 @callout_active(ptr noundef nonnull %10) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %24
%34 = load i32, ptr @hz, align 4, !tbaa !19
%35 = load i32, ptr @ocs_ldt, align 4, !tbaa !19
%36 = tail call i32 @callout_reset(ptr noundef nonnull %10, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %10) #2
br label %37
37: ; preds = %22, %33, %24, %17, %12, %6
%38 = phi i32 [ -1, %6 ], [ -1, %12 ], [ -1, %17 ], [ 0, %24 ], [ 0, %33 ], [ 0, %22 ]
ret i32 %38
}
declare i32 @ocs_log_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ocs_tgt_find(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ocs_delete_target(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @callout_active(ptr noundef) local_unnamed_addr #1
declare i32 @callout_reset(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 8}
!7 = !{!"TYPE_11__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_10__", !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"ocs_softc", !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!18, !8, i64 8}
!18 = !{!"TYPE_12__", !16, i64 0, !8, i64 8}
!19 = !{!16, !16, i64 0}
!20 = !{!21, !16, i64 4}
!21 = !{!"TYPE_13__", !16, i64 0, !16, i64 4}
!22 = !{!21, !16, i64 0}
| freebsd_sys_dev_ocs_fc_extr_ocs_cam.c_ocs_scsi_del_target |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_mv88x201x.c_led_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_mv88x201x.c_led_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"
@MDIO_MMD_PCS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @led_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @led_init(ptr noundef %0) #0 {
%2 = load i32, ptr @MDIO_MMD_PCS, align 4, !tbaa !5
%3 = tail call i32 @cphy_mdio_write(ptr noundef %0, i32 noundef %2, i32 noundef 33540, i32 noundef 56797) #2
ret i32 0
}
declare i32 @cphy_mdio_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_mv88x201x.c_led_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_mv88x201x.c_led_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MDIO_MMD_PCS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @led_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @led_init(ptr noundef %0) #0 {
%2 = load i32, ptr @MDIO_MMD_PCS, align 4, !tbaa !6
%3 = tail call i32 @cphy_mdio_write(ptr noundef %0, i32 noundef %2, i32 noundef 33540, i32 noundef 56797) #2
ret i32 0
}
declare i32 @cphy_mdio_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_chelsio_extr_mv88x201x.c_led_init |
; ModuleID = 'AnghaBench/linux/fs/hugetlbfs/extr_inode.c_hugetlb_drop_vma_policy.c'
source_filename = "AnghaBench/linux/fs/hugetlbfs/extr_inode.c_hugetlb_drop_vma_policy.c"
target datalayout = "e-m:e-p270:32:32-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 @hugetlb_drop_vma_policy], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @hugetlb_drop_vma_policy(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/fs/hugetlbfs/extr_inode.c_hugetlb_drop_vma_policy.c'
source_filename = "AnghaBench/linux/fs/hugetlbfs/extr_inode.c_hugetlb_drop_vma_policy.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 @hugetlb_drop_vma_policy], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @hugetlb_drop_vma_policy(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_fs_hugetlbfs_extr_inode.c_hugetlb_drop_vma_policy |
; ModuleID = 'AnghaBench/systemd/src/resolve/extr_resolved-dns-zone.c_dns_zone_item_notify.c'
source_filename = "AnghaBench/systemd/src/resolve/extr_resolved-dns-zone.c_dns_zone_item_notify.c"
target datalayout = "e-m:e-p270:32:32-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 { i64, i64, i32, i32, ptr, ptr, i32, i32, ptr }
@DNS_TRANSACTION_NULL = dso_local local_unnamed_addr global i32 0, align 4
@DNS_TRANSACTION_PENDING = dso_local local_unnamed_addr global i32 0, align 4
@DNS_TRANSACTION_VALIDATING = dso_local local_unnamed_addr global i32 0, align 4
@DNS_TRANSACTION_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@DNS_ZONE_ITEM_ESTABLISHED = dso_local local_unnamed_addr global i64 0, align 8
@DNS_ZONE_ITEM_VERIFYING = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [60 x i8] c"Got a successful probe for not yet established RR, we lost.\00", align 1
@DNS_PROTOCOL_LLMNR = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [117 x i8] c"Got a successful probe reply for an established RR, and we have a lexicographically larger IP address and thus lost.\00", align 1
@.str.2 = private unnamed_addr constant [93 x i8] c"Got a successful probe reply, but peer has lexicographically lower IP address and thus lost.\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"Record %s successfully probed.\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @dns_zone_item_notify(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 5
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @assert(ptr noundef %4) #2
%6 = load i64, ptr %0, align 8, !tbaa !12
%7 = icmp sgt i64 %6, 0
br i1 %7, label %67, label %8
8: ; preds = %1
%9 = load ptr, ptr %3, align 8, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = load i32, ptr @DNS_TRANSACTION_NULL, align 4, !tbaa !14
%13 = sext i32 %12 to i64
%14 = load i32, ptr @DNS_TRANSACTION_PENDING, align 4, !tbaa !14
%15 = load i32, ptr @DNS_TRANSACTION_VALIDATING, align 4, !tbaa !14
%16 = tail call i64 (i64, i64, i32, ...) @IN_SET(i64 noundef %11, i64 noundef %13, i32 noundef %14, i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %67
18: ; preds = %8
%19 = load ptr, ptr %3, align 8, !tbaa !5
%20 = getelementptr inbounds %struct.TYPE_8__, ptr %19, i64 0, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !13
%22 = load i64, ptr @DNS_TRANSACTION_SUCCESS, align 8, !tbaa !15
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %58
24: ; preds = %18
%25 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%26 = load i64, ptr %25, align 8, !tbaa !13
%27 = load i64, ptr @DNS_ZONE_ITEM_ESTABLISHED, align 8, !tbaa !15
%28 = load i32, ptr @DNS_ZONE_ITEM_VERIFYING, align 4, !tbaa !14
%29 = tail call i64 (i64, i64, i32, ...) @IN_SET(i64 noundef %26, i64 noundef %27, i32 noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %54, label %31
31: ; preds = %24
%32 = load ptr, ptr %3, align 8, !tbaa !5
%33 = getelementptr inbounds %struct.TYPE_8__, ptr %32, i64 0, i32 8
%34 = load ptr, ptr %33, align 8, !tbaa !16
%35 = load i64, ptr %34, align 8, !tbaa !17
%36 = load i64, ptr @DNS_PROTOCOL_LLMNR, align 8, !tbaa !15
%37 = icmp eq i64 %35, %36
br i1 %37, label %38, label %52
38: ; preds = %31
%39 = getelementptr inbounds %struct.TYPE_8__, ptr %32, i64 0, i32 4
%40 = load ptr, ptr %39, align 8, !tbaa !19
%41 = tail call i32 @assert(ptr noundef %40) #2
%42 = load ptr, ptr %3, align 8, !tbaa !5
%43 = getelementptr inbounds %struct.TYPE_8__, ptr %42, i64 0, i32 4
%44 = load ptr, ptr %43, align 8, !tbaa !19
%45 = getelementptr inbounds %struct.TYPE_8__, ptr %44, i64 0, i32 7
%46 = getelementptr inbounds %struct.TYPE_8__, ptr %44, i64 0, i32 6
%47 = getelementptr inbounds %struct.TYPE_8__, ptr %44, i64 0, i32 3
%48 = load i32, ptr %47, align 4, !tbaa !20
%49 = tail call i32 @FAMILY_ADDRESS_SIZE(i32 noundef %48) #2
%50 = tail call i64 @memcmp(ptr noundef nonnull %45, ptr noundef nonnull %46, i32 noundef %49) #2
%51 = icmp slt i64 %50, 0
br i1 %51, label %54, label %52
52: ; preds = %38, %31
%53 = tail call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.2) #2
br label %58
54: ; preds = %38, %24
%55 = phi ptr [ @.str, %24 ], [ @.str.1, %38 ]
%56 = tail call i32 (ptr, ...) @log_debug(ptr noundef nonnull %55) #2
%57 = tail call i32 @dns_zone_item_conflict(ptr noundef nonnull %0) #2
br label %67
58: ; preds = %52, %18
%59 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%60 = load i32, ptr %59, align 8, !tbaa !21
%61 = tail call i32 @dns_resource_record_to_string(i32 noundef %60) #2
%62 = tail call i32 @strna(i32 noundef %61) #2
%63 = tail call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.3, i32 noundef %62) #2
%64 = tail call i32 @dns_zone_item_probe_stop(ptr noundef nonnull %0) #2
%65 = load i64, ptr @DNS_ZONE_ITEM_ESTABLISHED, align 8, !tbaa !15
%66 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
store i64 %65, ptr %66, align 8, !tbaa !13
br label %67
67: ; preds = %54, %8, %1, %58
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i64 @IN_SET(i64 noundef, i64 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @log_debug(ptr noundef, ...) local_unnamed_addr #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FAMILY_ADDRESS_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @dns_zone_item_conflict(ptr noundef) local_unnamed_addr #1
declare i32 @strna(i32 noundef) local_unnamed_addr #1
declare i32 @dns_resource_record_to_string(i32 noundef) local_unnamed_addr #1
declare i32 @dns_zone_item_probe_stop(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 32}
!6 = !{!"TYPE_8__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !11, i64 24, !11, i64 32, !10, i64 40, !10, i64 44, !11, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !11, i64 48}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_7__", !7, i64 0}
!19 = !{!6, !11, i64 24}
!20 = !{!6, !10, i64 20}
!21 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/systemd/src/resolve/extr_resolved-dns-zone.c_dns_zone_item_notify.c'
source_filename = "AnghaBench/systemd/src/resolve/extr_resolved-dns-zone.c_dns_zone_item_notify.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DNS_TRANSACTION_NULL = common local_unnamed_addr global i32 0, align 4
@DNS_TRANSACTION_PENDING = common local_unnamed_addr global i32 0, align 4
@DNS_TRANSACTION_VALIDATING = common local_unnamed_addr global i32 0, align 4
@DNS_TRANSACTION_SUCCESS = common local_unnamed_addr global i64 0, align 8
@DNS_ZONE_ITEM_ESTABLISHED = common local_unnamed_addr global i64 0, align 8
@DNS_ZONE_ITEM_VERIFYING = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [60 x i8] c"Got a successful probe for not yet established RR, we lost.\00", align 1
@DNS_PROTOCOL_LLMNR = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [117 x i8] c"Got a successful probe reply for an established RR, and we have a lexicographically larger IP address and thus lost.\00", align 1
@.str.2 = private unnamed_addr constant [93 x i8] c"Got a successful probe reply, but peer has lexicographically lower IP address and thus lost.\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"Record %s successfully probed.\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @dns_zone_item_notify(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @assert(ptr noundef %4) #2
%6 = load i64, ptr %0, align 8, !tbaa !13
%7 = icmp sgt i64 %6, 0
br i1 %7, label %67, label %8
8: ; preds = %1
%9 = load ptr, ptr %3, align 8, !tbaa !6
%10 = getelementptr inbounds i8, ptr %9, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = load i32, ptr @DNS_TRANSACTION_NULL, align 4, !tbaa !15
%13 = sext i32 %12 to i64
%14 = load i32, ptr @DNS_TRANSACTION_PENDING, align 4, !tbaa !15
%15 = load i32, ptr @DNS_TRANSACTION_VALIDATING, align 4, !tbaa !15
%16 = tail call i64 (i64, i64, i32, ...) @IN_SET(i64 noundef %11, i64 noundef %13, i32 noundef %14, i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %67
18: ; preds = %8
%19 = load ptr, ptr %3, align 8, !tbaa !6
%20 = getelementptr inbounds i8, ptr %19, i64 8
%21 = load i64, ptr %20, align 8, !tbaa !14
%22 = load i64, ptr @DNS_TRANSACTION_SUCCESS, align 8, !tbaa !16
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %58
24: ; preds = %18
%25 = getelementptr inbounds i8, ptr %0, i64 8
%26 = load i64, ptr %25, align 8, !tbaa !14
%27 = load i64, ptr @DNS_ZONE_ITEM_ESTABLISHED, align 8, !tbaa !16
%28 = load i32, ptr @DNS_ZONE_ITEM_VERIFYING, align 4, !tbaa !15
%29 = tail call i64 (i64, i64, i32, ...) @IN_SET(i64 noundef %26, i64 noundef %27, i32 noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %54, label %31
31: ; preds = %24
%32 = load ptr, ptr %3, align 8, !tbaa !6
%33 = getelementptr inbounds i8, ptr %32, i64 48
%34 = load ptr, ptr %33, align 8, !tbaa !17
%35 = load i64, ptr %34, align 8, !tbaa !18
%36 = load i64, ptr @DNS_PROTOCOL_LLMNR, align 8, !tbaa !16
%37 = icmp eq i64 %35, %36
br i1 %37, label %38, label %52
38: ; preds = %31
%39 = getelementptr inbounds i8, ptr %32, i64 24
%40 = load ptr, ptr %39, align 8, !tbaa !20
%41 = tail call i32 @assert(ptr noundef %40) #2
%42 = load ptr, ptr %3, align 8, !tbaa !6
%43 = getelementptr inbounds i8, ptr %42, i64 24
%44 = load ptr, ptr %43, align 8, !tbaa !20
%45 = getelementptr inbounds i8, ptr %44, i64 44
%46 = getelementptr inbounds i8, ptr %44, i64 40
%47 = getelementptr inbounds i8, ptr %44, i64 20
%48 = load i32, ptr %47, align 4, !tbaa !21
%49 = tail call i32 @FAMILY_ADDRESS_SIZE(i32 noundef %48) #2
%50 = tail call i64 @memcmp(ptr noundef nonnull %45, ptr noundef nonnull %46, i32 noundef %49) #2
%51 = icmp slt i64 %50, 0
br i1 %51, label %54, label %52
52: ; preds = %38, %31
%53 = tail call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.2) #2
br label %58
54: ; preds = %38, %24
%55 = phi ptr [ @.str, %24 ], [ @.str.1, %38 ]
%56 = tail call i32 (ptr, ...) @log_debug(ptr noundef nonnull %55) #2
%57 = tail call i32 @dns_zone_item_conflict(ptr noundef nonnull %0) #2
br label %67
58: ; preds = %52, %18
%59 = getelementptr inbounds i8, ptr %0, i64 16
%60 = load i32, ptr %59, align 8, !tbaa !22
%61 = tail call i32 @dns_resource_record_to_string(i32 noundef %60) #2
%62 = tail call i32 @strna(i32 noundef %61) #2
%63 = tail call i32 (ptr, ...) @log_debug(ptr noundef nonnull @.str.3, i32 noundef %62) #2
%64 = tail call i32 @dns_zone_item_probe_stop(ptr noundef nonnull %0) #2
%65 = load i64, ptr @DNS_ZONE_ITEM_ESTABLISHED, align 8, !tbaa !16
%66 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %65, ptr %66, align 8, !tbaa !14
br label %67
67: ; preds = %54, %8, %1, %58
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i64 @IN_SET(i64 noundef, i64 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @log_debug(ptr noundef, ...) local_unnamed_addr #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FAMILY_ADDRESS_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @dns_zone_item_conflict(ptr noundef) local_unnamed_addr #1
declare i32 @strna(i32 noundef) local_unnamed_addr #1
declare i32 @dns_resource_record_to_string(i32 noundef) local_unnamed_addr #1
declare i32 @dns_zone_item_probe_stop(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 32}
!7 = !{!"TYPE_8__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !12, i64 32, !11, i64 40, !11, i64 44, !12, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !8, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !12, i64 48}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_7__", !8, i64 0}
!20 = !{!7, !12, i64 24}
!21 = !{!7, !11, i64 20}
!22 = !{!7, !11, i64 16}
| systemd_src_resolve_extr_resolved-dns-zone.c_dns_zone_item_notify |
; ModuleID = 'AnghaBench/linux/arch/x86/xen/extr_time.c_xen_pvclock_gtod_notify.c'
source_filename = "AnghaBench/linux/arch/x86/xen/extr_time.c_xen_pvclock_gtod_notify.c"
target datalayout = "e-m:e-p270:32:32-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.timespec64 = type { i32, i64 }
%struct.xen_platform_op = type { %struct.TYPE_8__, i32 }
%struct.TYPE_8__ = type { %struct.TYPE_7__, %struct.TYPE_6__ }
%struct.TYPE_7__ = type { i32, i64, ptr }
%struct.TYPE_6__ = type { i32, i64, ptr, i64 }
%struct.timekeeper = type { i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, i32 }
@xen_pvclock_gtod_notify.next_sync = internal global %struct.timespec64 zeroinitializer, align 8
@xen_pvclock_gtod_notify.settime64_supported = internal unnamed_addr global i1 false, align 4
@NOTIFY_OK = dso_local local_unnamed_addr global i32 0, align 4
@XENPF_settime64 = dso_local local_unnamed_addr global i32 0, align 4
@XENPF_settime32 = dso_local local_unnamed_addr global i32 0, align 4
@ENOSYS = dso_local local_unnamed_addr global i32 0, align 4
@NOTIFY_BAD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xen_pvclock_gtod_notify], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xen_pvclock_gtod_notify(ptr nocapture readnone %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca %struct.xen_platform_op, align 8
%5 = alloca %struct.timespec64, align 8
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
%6 = load i32, ptr %2, align 4, !tbaa !5
store i32 %6, ptr %5, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.timekeeper, ptr %2, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = getelementptr inbounds %struct.timekeeper, ptr %2, i64 0, i32 1, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = ashr i32 %8, %10
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds %struct.timespec64, ptr %5, i64 0, i32 1
store i64 %12, ptr %13, align 8, !tbaa !16
%14 = icmp eq i64 %1, 0
br i1 %14, label %15, label %21
15: ; preds = %3
%16 = call i64 @timespec64_compare(ptr noundef nonnull %5, ptr noundef nonnull @xen_pvclock_gtod_notify.next_sync) #4
%17 = icmp slt i64 %16, 0
br i1 %17, label %56, label %18
18: ; preds = %15
%19 = load i32, ptr %5, align 8, !tbaa !11
%20 = load i64, ptr %13, align 8, !tbaa !16
br label %21
21: ; preds = %18, %3
%22 = phi i64 [ %20, %18 ], [ %12, %3 ]
%23 = phi i32 [ %19, %18 ], [ %6, %3 ]
%24 = load i1, ptr @xen_pvclock_gtod_notify.settime64_supported, align 4
br i1 %24, label %33, label %25
25: ; preds = %21
%26 = load i32, ptr @XENPF_settime64, align 4, !tbaa !17
%27 = getelementptr inbounds %struct.xen_platform_op, ptr %4, i64 0, i32 1
store i32 %26, ptr %27, align 8, !tbaa !18
%28 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1
%29 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1, i32 3
store i64 0, ptr %29, align 8, !tbaa !24
store i32 %23, ptr %28, align 8, !tbaa !25
%30 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1, i32 1
store i64 %22, ptr %30, align 8, !tbaa !26
%31 = call ptr (...) @xen_clocksource_read() #4
%32 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1, i32 2
store ptr %31, ptr %32, align 8, !tbaa !27
br label %41
33: ; preds = %48, %21
%34 = phi i64 [ %50, %48 ], [ %22, %21 ]
%35 = phi i32 [ %49, %48 ], [ %23, %21 ]
%36 = load i32, ptr @XENPF_settime32, align 4, !tbaa !17
%37 = getelementptr inbounds %struct.xen_platform_op, ptr %4, i64 0, i32 1
store i32 %36, ptr %37, align 8, !tbaa !18
store i32 %35, ptr %4, align 8, !tbaa !28
%38 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1
store i64 %34, ptr %38, align 8, !tbaa !29
%39 = call ptr (...) @xen_clocksource_read() #4
%40 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2
store ptr %39, ptr %40, align 8, !tbaa !30
br label %41
41: ; preds = %33, %25
%42 = call i32 @HYPERVISOR_platform_op(ptr noundef nonnull %4) #4
%43 = load i32, ptr @ENOSYS, align 4, !tbaa !17
%44 = sub nsw i32 0, %43
%45 = icmp ne i32 %42, %44
%46 = load i1, ptr @xen_pvclock_gtod_notify.settime64_supported, align 4
%47 = select i1 %45, i1 true, i1 %46
br i1 %47, label %51, label %48
48: ; preds = %41
store i1 true, ptr @xen_pvclock_gtod_notify.settime64_supported, align 4
%49 = load i32, ptr %5, align 8, !tbaa !11
%50 = load i64, ptr %13, align 8, !tbaa !16
br label %33
51: ; preds = %41
%52 = icmp slt i32 %42, 0
br i1 %52, label %56, label %53
53: ; preds = %51
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) @xen_pvclock_gtod_notify.next_sync, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !31
%54 = load i32, ptr @xen_pvclock_gtod_notify.next_sync, align 8, !tbaa !11
%55 = add nsw i32 %54, 660
store i32 %55, ptr @xen_pvclock_gtod_notify.next_sync, align 8, !tbaa !11
br label %56
56: ; preds = %51, %15, %53
%57 = phi ptr [ @NOTIFY_OK, %53 ], [ @NOTIFY_OK, %15 ], [ @NOTIFY_BAD, %51 ]
%58 = load i32, ptr %57, align 4, !tbaa !17
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #4
ret i32 %58
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @timespec64_compare(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @xen_clocksource_read(...) local_unnamed_addr #2
declare i32 @HYPERVISOR_platform_op(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"timekeeper", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !7, i64 0, !7, i64 4}
!11 = !{!12, !7, i64 0}
!12 = !{!"timespec64", !7, i64 0, !13, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !7, i64 8}
!16 = !{!12, !13, i64 8}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !7, i64 56}
!19 = !{!"xen_platform_op", !20, i64 0, !7, i64 56}
!20 = !{!"TYPE_8__", !21, i64 0, !23, i64 24}
!21 = !{!"TYPE_7__", !7, i64 0, !13, i64 8, !22, i64 16}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!"TYPE_6__", !7, i64 0, !13, i64 8, !22, i64 16, !13, i64 24}
!24 = !{!19, !13, i64 48}
!25 = !{!19, !7, i64 24}
!26 = !{!19, !13, i64 32}
!27 = !{!19, !22, i64 40}
!28 = !{!19, !7, i64 0}
!29 = !{!19, !13, i64 8}
!30 = !{!19, !22, i64 16}
!31 = !{i64 0, i64 4, !17, i64 8, i64 8, !32}
!32 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/x86/xen/extr_time.c_xen_pvclock_gtod_notify.c'
source_filename = "AnghaBench/linux/arch/x86/xen/extr_time.c_xen_pvclock_gtod_notify.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timespec64 = type { i32, i64 }
%struct.xen_platform_op = type { %struct.TYPE_8__, i32 }
%struct.TYPE_8__ = type { %struct.TYPE_7__, %struct.TYPE_6__ }
%struct.TYPE_7__ = type { i32, i64, ptr }
%struct.TYPE_6__ = type { i32, i64, ptr, i64 }
@xen_pvclock_gtod_notify.next_sync = internal global %struct.timespec64 zeroinitializer, align 8
@xen_pvclock_gtod_notify.settime64_supported = internal unnamed_addr global i1 false, align 4
@NOTIFY_OK = common local_unnamed_addr global i32 0, align 4
@XENPF_settime64 = common local_unnamed_addr global i32 0, align 4
@XENPF_settime32 = common local_unnamed_addr global i32 0, align 4
@ENOSYS = common local_unnamed_addr global i32 0, align 4
@NOTIFY_BAD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xen_pvclock_gtod_notify], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @xen_pvclock_gtod_notify(ptr nocapture readnone %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca %struct.xen_platform_op, align 8
%5 = alloca %struct.timespec64, align 8
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
%6 = load i32, ptr %2, align 4, !tbaa !6
store i32 %6, ptr %5, align 8, !tbaa !12
%7 = getelementptr inbounds i8, ptr %2, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !15
%9 = getelementptr inbounds i8, ptr %2, i64 8
%10 = load i32, ptr %9, align 4, !tbaa !16
%11 = ashr i32 %8, %10
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %5, i64 8
store i64 %12, ptr %13, align 8, !tbaa !17
%14 = icmp eq i64 %1, 0
%15 = getelementptr inbounds i8, ptr %4, i64 16
%16 = getelementptr inbounds i8, ptr %4, i64 40
%17 = getelementptr inbounds i8, ptr %4, i64 8
%18 = getelementptr inbounds i8, ptr %4, i64 32
br i1 %14, label %19, label %25
19: ; preds = %3
%20 = call i64 @timespec64_compare(ptr noundef nonnull %5, ptr noundef nonnull @xen_pvclock_gtod_notify.next_sync) #4
%21 = icmp slt i64 %20, 0
br i1 %21, label %58, label %22
22: ; preds = %19
%23 = load i32, ptr %5, align 8, !tbaa !12
%24 = load i64, ptr %13, align 8, !tbaa !17
br label %25
25: ; preds = %22, %3
%26 = phi i64 [ %24, %22 ], [ %12, %3 ]
%27 = phi i32 [ %23, %22 ], [ %6, %3 ]
%28 = load i1, ptr @xen_pvclock_gtod_notify.settime64_supported, align 4
br i1 %28, label %34, label %29
29: ; preds = %25
%30 = load i32, ptr @XENPF_settime64, align 4, !tbaa !18
%31 = getelementptr inbounds i8, ptr %4, i64 56
store i32 %30, ptr %31, align 8, !tbaa !19
%32 = getelementptr inbounds i8, ptr %4, i64 24
%33 = getelementptr inbounds i8, ptr %4, i64 48
store i64 0, ptr %33, align 8, !tbaa !25
store i32 %27, ptr %32, align 8, !tbaa !26
br label %39
34: ; preds = %50, %25
%35 = phi i64 [ %52, %50 ], [ %26, %25 ]
%36 = phi i32 [ %51, %50 ], [ %27, %25 ]
%37 = load i32, ptr @XENPF_settime32, align 4, !tbaa !18
%38 = getelementptr inbounds i8, ptr %4, i64 56
store i32 %37, ptr %38, align 8, !tbaa !19
store i32 %36, ptr %4, align 8, !tbaa !27
br label %39
39: ; preds = %34, %29
%40 = phi ptr [ %17, %34 ], [ %18, %29 ]
%41 = phi i64 [ %35, %34 ], [ %26, %29 ]
%42 = phi ptr [ %15, %34 ], [ %16, %29 ]
store i64 %41, ptr %40, align 8, !tbaa !28
%43 = call ptr @xen_clocksource_read() #4
store ptr %43, ptr %42, align 8, !tbaa !29
%44 = call i32 @HYPERVISOR_platform_op(ptr noundef nonnull %4) #4
%45 = load i32, ptr @ENOSYS, align 4, !tbaa !18
%46 = sub nsw i32 0, %45
%47 = icmp ne i32 %44, %46
%48 = load i1, ptr @xen_pvclock_gtod_notify.settime64_supported, align 4
%49 = select i1 %47, i1 true, i1 %48
br i1 %49, label %53, label %50
50: ; preds = %39
store i1 true, ptr @xen_pvclock_gtod_notify.settime64_supported, align 4
%51 = load i32, ptr %5, align 8, !tbaa !12
%52 = load i64, ptr %13, align 8, !tbaa !17
br label %34
53: ; preds = %39
%54 = icmp slt i32 %44, 0
br i1 %54, label %58, label %55
55: ; preds = %53
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) @xen_pvclock_gtod_notify.next_sync, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !30
%56 = load i32, ptr @xen_pvclock_gtod_notify.next_sync, align 8, !tbaa !12
%57 = add nsw i32 %56, 660
store i32 %57, ptr @xen_pvclock_gtod_notify.next_sync, align 8, !tbaa !12
br label %58
58: ; preds = %53, %19, %55
%59 = phi ptr [ @NOTIFY_OK, %55 ], [ @NOTIFY_OK, %19 ], [ @NOTIFY_BAD, %53 ]
%60 = load i32, ptr %59, align 4, !tbaa !18
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #4
ret i32 %60
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @timespec64_compare(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @xen_clocksource_read(...) local_unnamed_addr #2
declare i32 @HYPERVISOR_platform_op(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"timekeeper", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !8, i64 0, !8, i64 4}
!12 = !{!13, !8, i64 0}
!13 = !{!"timespec64", !8, i64 0, !14, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !8, i64 4}
!16 = !{!7, !8, i64 8}
!17 = !{!13, !14, i64 8}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !8, i64 56}
!20 = !{!"xen_platform_op", !21, i64 0, !8, i64 56}
!21 = !{!"TYPE_8__", !22, i64 0, !24, i64 24}
!22 = !{!"TYPE_7__", !8, i64 0, !14, i64 8, !23, i64 16}
!23 = !{!"any pointer", !9, i64 0}
!24 = !{!"TYPE_6__", !8, i64 0, !14, i64 8, !23, i64 16, !14, i64 24}
!25 = !{!20, !14, i64 48}
!26 = !{!20, !8, i64 24}
!27 = !{!20, !8, i64 0}
!28 = !{!14, !14, i64 0}
!29 = !{!23, !23, i64 0}
!30 = !{i64 0, i64 4, !18, i64 8, i64 8, !28}
| linux_arch_x86_xen_extr_time.c_xen_pvclock_gtod_notify |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_dvo_ch7017.c_ch7017_get_hw_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_dvo_ch7017.c_ch7017_get_hw_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"
@CH7017_LVDS_POWER_DOWN = dso_local local_unnamed_addr global i32 0, align 4
@CH7017_LVDS_POWER_DOWN_EN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ch7017_get_hw_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ch7017_get_hw_state(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @CH7017_LVDS_POWER_DOWN, align 4, !tbaa !5
%4 = call i32 @ch7017_read(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = load i32, ptr @CH7017_LVDS_POWER_DOWN_EN, align 4, !tbaa !5
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ch7017_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_dvo_ch7017.c_ch7017_get_hw_state.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_dvo_ch7017.c_ch7017_get_hw_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CH7017_LVDS_POWER_DOWN = common local_unnamed_addr global i32 0, align 4
@CH7017_LVDS_POWER_DOWN_EN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ch7017_get_hw_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @ch7017_get_hw_state(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @CH7017_LVDS_POWER_DOWN, align 4, !tbaa !6
%4 = call i32 @ch7017_read(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = load i32, ptr @CH7017_LVDS_POWER_DOWN_EN, align 4, !tbaa !6
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ch7017_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_display_extr_dvo_ch7017.c_ch7017_get_hw_state |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/extr_dm_services.h_set_reg_field_value_ex.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/extr_dm_services.h_set_reg_field_value_ex.c"
target datalayout = "e-m:e-p270:32:32-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_reg_field_value_ex], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @set_reg_field_value_ex(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = icmp ne i32 %2, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 @ASSERT(i32 noundef %6) #2
%8 = xor i32 %2, -1
%9 = and i32 %8, %0
%10 = shl i32 %1, %3
%11 = and i32 %10, %2
%12 = or disjoint i32 %11, %9
ret i32 %12
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/extr_dm_services.h_set_reg_field_value_ex.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/extr_dm_services.h_set_reg_field_value_ex.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_reg_field_value_ex], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @set_reg_field_value_ex(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = icmp ne i32 %2, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 @ASSERT(i32 noundef %6) #2
%8 = xor i32 %2, -1
%9 = and i32 %8, %0
%10 = shl i32 %1, %3
%11 = and i32 %10, %2
%12 = or disjoint i32 %11, %9
ret i32 %12
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_amd_display_dc_extr_dm_services.h_set_reg_field_value_ex |
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_huf_compress.c_HUF_compressCTable_internal.c'
source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_huf_compress.c_HUF_compressCTable_internal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HUF_singleStream = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @HUF_compressCTable_internal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @HUF_compressCTable_internal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = load i64, ptr @HUF_singleStream, align 8, !tbaa !5
%10 = icmp eq i64 %9, %5
%11 = ptrtoint ptr %2 to i64
%12 = ptrtoint ptr %1 to i64
%13 = sub i64 %11, %12
%14 = lshr exact i64 %13, 2
%15 = trunc i64 %14 to i32
br i1 %10, label %16, label %18
16: ; preds = %8
%17 = tail call i64 @HUF_compress1X_usingCTable_internal(ptr noundef %1, i32 noundef %15, ptr noundef %3, i64 noundef %4, ptr noundef %6, i32 noundef %7) #2
br label %20
18: ; preds = %8
%19 = tail call i64 @HUF_compress4X_usingCTable_internal(ptr noundef %1, i32 noundef %15, ptr noundef %3, i64 noundef %4, ptr noundef %6, i32 noundef %7) #2
br label %20
20: ; preds = %18, %16
%21 = phi i64 [ %17, %16 ], [ %19, %18 ]
%22 = tail call i64 @HUF_isError(i64 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = icmp eq i64 %21, 0
br i1 %25, label %35, label %26
26: ; preds = %24
%27 = getelementptr inbounds i32, ptr %1, i64 %21
%28 = ptrtoint ptr %27 to i64
%29 = ptrtoint ptr %0 to i64
%30 = sub i64 %28, %29
%31 = ashr exact i64 %30, 2
%32 = add i64 %4, -1
%33 = icmp ult i64 %31, %32
%34 = select i1 %33, i64 %31, i64 0
br label %35
35: ; preds = %26, %24, %20
%36 = phi i64 [ %21, %20 ], [ 0, %24 ], [ %34, %26 ]
ret i64 %36
}
declare i64 @HUF_compress1X_usingCTable_internal(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @HUF_compress4X_usingCTable_internal(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @HUF_isError(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"}
| ; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_huf_compress.c_HUF_compressCTable_internal.c'
source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_huf_compress.c_HUF_compressCTable_internal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HUF_singleStream = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @HUF_compressCTable_internal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @HUF_compressCTable_internal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6, i32 noundef %7) #0 {
%9 = load i64, ptr @HUF_singleStream, align 8, !tbaa !6
%10 = icmp eq i64 %9, %5
%11 = ptrtoint ptr %2 to i64
%12 = ptrtoint ptr %1 to i64
%13 = sub i64 %11, %12
%14 = lshr exact i64 %13, 2
%15 = trunc i64 %14 to i32
br i1 %10, label %16, label %18
16: ; preds = %8
%17 = tail call i64 @HUF_compress1X_usingCTable_internal(ptr noundef %1, i32 noundef %15, ptr noundef %3, i64 noundef %4, ptr noundef %6, i32 noundef %7) #2
br label %20
18: ; preds = %8
%19 = tail call i64 @HUF_compress4X_usingCTable_internal(ptr noundef %1, i32 noundef %15, ptr noundef %3, i64 noundef %4, ptr noundef %6, i32 noundef %7) #2
br label %20
20: ; preds = %18, %16
%21 = phi i64 [ %17, %16 ], [ %19, %18 ]
%22 = tail call i64 @HUF_isError(i64 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = icmp eq i64 %21, 0
br i1 %25, label %35, label %26
26: ; preds = %24
%27 = getelementptr inbounds i32, ptr %1, i64 %21
%28 = ptrtoint ptr %27 to i64
%29 = ptrtoint ptr %0 to i64
%30 = sub i64 %28, %29
%31 = ashr exact i64 %30, 2
%32 = add i64 %4, -1
%33 = icmp ult i64 %31, %32
%34 = select i1 %33, i64 %31, i64 0
br label %35
35: ; preds = %26, %24, %20
%36 = phi i64 [ %21, %20 ], [ 0, %24 ], [ %34, %26 ]
ret i64 %36
}
declare i64 @HUF_compress1X_usingCTable_internal(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @HUF_compress4X_usingCTable_internal(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @HUF_isError(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"}
| borg_src_borg_algorithms_zstd_lib_compress_extr_huf_compress.c_HUF_compressCTable_internal |
; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_lcode.c_luaK_setoneret.c'
source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_lcode.c_luaK_setoneret.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
@VCALL = dso_local local_unnamed_addr global i64 0, align 8
@VNONRELOC = dso_local local_unnamed_addr global i64 0, align 8
@VVARARG = dso_local local_unnamed_addr global i64 0, align 8
@VRELOCABLE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @luaK_setoneret(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr @VCALL, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %16
6: ; preds = %2
%7 = tail call i32 @getinstruction(ptr noundef %0, ptr noundef nonnull %1) #2
%8 = tail call i32 @GETARG_C(i32 noundef %7) #2
%9 = icmp eq i32 %8, 2
%10 = zext i1 %9 to i32
%11 = tail call i32 @lua_assert(i32 noundef %10) #2
%12 = load i64, ptr @VNONRELOC, align 8, !tbaa !12
store i64 %12, ptr %1, align 8, !tbaa !5
%13 = tail call i32 @getinstruction(ptr noundef %0, ptr noundef nonnull %1) #2
%14 = tail call i32 @GETARG_A(i32 noundef %13) #2
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
store i32 %14, ptr %15, align 8, !tbaa !13
br label %23
16: ; preds = %2
%17 = load i64, ptr @VVARARG, align 8, !tbaa !12
%18 = icmp eq i64 %3, %17
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = tail call i32 @getinstruction(ptr noundef %0, ptr noundef nonnull %1) #2
%21 = tail call i32 @SETARG_B(i32 noundef %20, i32 noundef 2) #2
%22 = load i64, ptr @VRELOCABLE, align 8, !tbaa !12
store i64 %22, ptr %1, align 8, !tbaa !5
br label %23
23: ; preds = %16, %19, %6
ret void
}
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_C(i32 noundef) local_unnamed_addr #1
declare i32 @getinstruction(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GETARG_A(i32 noundef) local_unnamed_addr #1
declare i32 @SETARG_B(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_6__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_lcode.c_luaK_setoneret.c'
source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_lcode.c_luaK_setoneret.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VCALL = common local_unnamed_addr global i64 0, align 8
@VNONRELOC = common local_unnamed_addr global i64 0, align 8
@VVARARG = common local_unnamed_addr global i64 0, align 8
@VRELOCABLE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @luaK_setoneret(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr @VCALL, align 8, !tbaa !13
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %16
6: ; preds = %2
%7 = tail call i32 @getinstruction(ptr noundef %0, ptr noundef nonnull %1) #2
%8 = tail call i32 @GETARG_C(i32 noundef %7) #2
%9 = icmp eq i32 %8, 2
%10 = zext i1 %9 to i32
%11 = tail call i32 @lua_assert(i32 noundef %10) #2
%12 = load i64, ptr @VNONRELOC, align 8, !tbaa !13
store i64 %12, ptr %1, align 8, !tbaa !6
%13 = tail call i32 @getinstruction(ptr noundef %0, ptr noundef nonnull %1) #2
%14 = tail call i32 @GETARG_A(i32 noundef %13) #2
%15 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %14, ptr %15, align 8, !tbaa !14
br label %23
16: ; preds = %2
%17 = load i64, ptr @VVARARG, align 8, !tbaa !13
%18 = icmp eq i64 %3, %17
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = tail call i32 @getinstruction(ptr noundef %0, ptr noundef nonnull %1) #2
%21 = tail call i32 @SETARG_B(i32 noundef %20, i32 noundef 2) #2
%22 = load i64, ptr @VRELOCABLE, align 8, !tbaa !13
store i64 %22, ptr %1, align 8, !tbaa !6
br label %23
23: ; preds = %16, %19, %6
ret void
}
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_C(i32 noundef) local_unnamed_addr #1
declare i32 @getinstruction(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @GETARG_A(i32 noundef) local_unnamed_addr #1
declare i32 @SETARG_B(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_6__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !12, i64 8}
| RetroArch_deps_lua_src_extr_lcode.c_luaK_setoneret |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/atm/extr_clip.c_clip_neigh_error.c'
source_filename = "AnghaBench/fastsocket/kernel/net/atm/extr_clip.c_clip_neigh_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"
@ICMP_DEST_UNREACH = dso_local local_unnamed_addr global i32 0, align 4
@ICMP_HOST_UNREACH = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @clip_neigh_error], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @clip_neigh_error(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr @ICMP_DEST_UNREACH, align 4, !tbaa !5
%4 = load i32, ptr @ICMP_HOST_UNREACH, align 4, !tbaa !5
%5 = tail call i32 @icmp_send(ptr noundef %1, i32 noundef %3, i32 noundef %4, i32 noundef 0) #2
%6 = tail call i32 @kfree_skb(ptr noundef %1) #2
ret void
}
declare i32 @icmp_send(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/atm/extr_clip.c_clip_neigh_error.c'
source_filename = "AnghaBench/fastsocket/kernel/net/atm/extr_clip.c_clip_neigh_error.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ICMP_DEST_UNREACH = common local_unnamed_addr global i32 0, align 4
@ICMP_HOST_UNREACH = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @clip_neigh_error], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @clip_neigh_error(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = load i32, ptr @ICMP_DEST_UNREACH, align 4, !tbaa !6
%4 = load i32, ptr @ICMP_HOST_UNREACH, align 4, !tbaa !6
%5 = tail call i32 @icmp_send(ptr noundef %1, i32 noundef %3, i32 noundef %4, i32 noundef 0) #2
%6 = tail call i32 @kfree_skb(ptr noundef %1) #2
ret void
}
declare i32 @icmp_send(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_net_atm_extr_clip.c_clip_neigh_error |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_win_wch.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_win_wch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @cmd_win_wch(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call i32 @check_arg_count(i32 noundef %0, i32 noundef 1) #2
%4 = icmp eq i32 %3, 1
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = tail call i32 @report_count(i32 noundef 1) #2
%7 = tail call i32 @report_error(ptr noundef nonnull @.str) #2
br label %8
8: ; preds = %2, %5
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @report_count(i32 noundef) local_unnamed_addr #1
declare i32 @report_error(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/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_win_wch.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_win_wch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @cmd_win_wch(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call i32 @check_arg_count(i32 noundef %0, i32 noundef 1) #2
%4 = icmp eq i32 %3, 1
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = tail call i32 @report_count(i32 noundef 1) #2
%7 = tail call i32 @report_error(ptr noundef nonnull @.str) #2
br label %8
8: ; preds = %2, %5
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @report_count(i32 noundef) local_unnamed_addr #1
declare i32 @report_error(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)"}
| freebsd_contrib_netbsd-tests_lib_libcurses_slave_extr_curses_commands.c_cmd_win_wch |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c___assign_ppgtt.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c___assign_ppgtt.c"
target datalayout = "e-m:e-p270:32:32-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 @__assign_ppgtt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__assign_ppgtt(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, %1
br i1 %4, label %10, label %5
5: ; preds = %2
%6 = tail call ptr @__set_ppgtt(ptr noundef nonnull %0, ptr noundef %1) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 @i915_vm_put(ptr noundef nonnull %6) #2
br label %10
10: ; preds = %2, %8, %5
ret void
}
declare ptr @__set_ppgtt(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @i915_vm_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, !7, i64 0}
!6 = !{!"i915_gem_context", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c___assign_ppgtt.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c___assign_ppgtt.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 @__assign_ppgtt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__assign_ppgtt(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, %1
br i1 %4, label %10, label %5
5: ; preds = %2
%6 = tail call ptr @__set_ppgtt(ptr noundef nonnull %0, ptr noundef %1) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 @i915_vm_put(ptr noundef nonnull %6) #2
br label %10
10: ; preds = %2, %8, %5
ret void
}
declare ptr @__set_ppgtt(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @i915_vm_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, !8, i64 0}
!7 = !{!"i915_gem_context", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_gem_extr_i915_gem_context.c___assign_ppgtt |
; ModuleID = 'AnghaBench/linux/arch/powerpc/oprofile/extr_op_model_power4.c_power4_stop.c'
source_filename = "AnghaBench/linux/arch/powerpc/oprofile/extr_op_model_power4.c_power4_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SPRN_MMCR0 = dso_local local_unnamed_addr global i32 0, align 4
@MMCR0_FC = dso_local local_unnamed_addr global i32 0, align 4
@oprofile_running = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"stop on cpu %d, mmcr0 %x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @power4_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @power4_stop() #0 {
%1 = load i32, ptr @SPRN_MMCR0, align 4, !tbaa !5
%2 = tail call i32 @mfspr(i32 noundef %1) #2
%3 = load i32, ptr @MMCR0_FC, align 4, !tbaa !5
%4 = or i32 %3, %2
%5 = load i32, ptr @SPRN_MMCR0, align 4, !tbaa !5
%6 = tail call i32 @mtspr(i32 noundef %5, i32 noundef %4) #2
store i64 0, ptr @oprofile_running, align 8, !tbaa !9
%7 = tail call i32 (...) @smp_processor_id() #2
%8 = tail call i32 @dbg(ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %4) #2
%9 = tail call i32 (...) @mb() #2
ret void
}
declare i32 @mfspr(i32 noundef) local_unnamed_addr #1
declare i32 @mtspr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dbg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @mb(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/oprofile/extr_op_model_power4.c_power4_stop.c'
source_filename = "AnghaBench/linux/arch/powerpc/oprofile/extr_op_model_power4.c_power4_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SPRN_MMCR0 = common local_unnamed_addr global i32 0, align 4
@MMCR0_FC = common local_unnamed_addr global i32 0, align 4
@oprofile_running = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"stop on cpu %d, mmcr0 %x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @power4_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @power4_stop() #0 {
%1 = load i32, ptr @SPRN_MMCR0, align 4, !tbaa !6
%2 = tail call i32 @mfspr(i32 noundef %1) #2
%3 = load i32, ptr @MMCR0_FC, align 4, !tbaa !6
%4 = or i32 %3, %2
%5 = load i32, ptr @SPRN_MMCR0, align 4, !tbaa !6
%6 = tail call i32 @mtspr(i32 noundef %5, i32 noundef %4) #2
store i64 0, ptr @oprofile_running, align 8, !tbaa !10
%7 = tail call i32 @smp_processor_id() #2
%8 = tail call i32 @dbg(ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %4) #2
%9 = tail call i32 @mb() #2
ret void
}
declare i32 @mfspr(i32 noundef) local_unnamed_addr #1
declare i32 @mtspr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dbg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @mb(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| linux_arch_powerpc_oprofile_extr_op_model_power4.c_power4_stop |
; ModuleID = 'AnghaBench/lede/target/linux/adm5120/files-3.18/drivers/net/extr_adm5120sw.c_adm5120_if_stop.c'
source_filename = "AnghaBench/lede/target/linux/adm5120/files-3.18/drivers/net/extr_adm5120sw.c_adm5120_if_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SWITCH_REG_PORT_CONF0 = dso_local local_unnamed_addr global i32 0, align 4
@SWITCH_PORTS_NOCPU = dso_local local_unnamed_addr global i32 0, align 4
@SWITCH_NUM_PORTS = dso_local local_unnamed_addr global i32 0, align 4
@adm5120_devs = dso_local local_unnamed_addr global ptr null, align 8
@adm5120_eth_vlans = dso_local local_unnamed_addr global ptr null, align 8
@sw_used = dso_local local_unnamed_addr global i32 0, align 4
@SWITCH_INTS_USED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @adm5120_if_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @adm5120_if_stop(ptr noundef %0) #0 {
%2 = tail call i32 @netif_stop_queue(ptr noundef %0) #2
%3 = tail call i32 @adm5120_if_napi_disable(ptr noundef %0) #2
%4 = load i32, ptr @SWITCH_REG_PORT_CONF0, align 4, !tbaa !5
%5 = tail call i32 @sw_read_reg(i32 noundef %4) #2
%6 = load i32, ptr @SWITCH_PORTS_NOCPU, align 4, !tbaa !5
%7 = or i32 %6, %5
%8 = load i32, ptr @SWITCH_NUM_PORTS, align 4, !tbaa !5
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %36
10: ; preds = %1
%11 = load ptr, ptr @adm5120_devs, align 8, !tbaa !9
br label %12
12: ; preds = %10, %29
%13 = phi ptr [ %11, %10 ], [ %30, %29 ]
%14 = phi i64 [ 0, %10 ], [ %32, %29 ]
%15 = phi i32 [ %7, %10 ], [ %31, %29 ]
%16 = getelementptr inbounds ptr, ptr %13, i64 %14
%17 = load ptr, ptr %16, align 8, !tbaa !9
%18 = icmp eq ptr %17, %0
br i1 %18, label %29, label %19
19: ; preds = %12
%20 = tail call i64 @netif_running(ptr noundef %17) #2
%21 = icmp eq i64 %20, 0
%22 = load ptr, ptr @adm5120_devs, align 8, !tbaa !9
br i1 %21, label %29, label %23
23: ; preds = %19
%24 = load ptr, ptr @adm5120_eth_vlans, align 8, !tbaa !9
%25 = getelementptr inbounds i32, ptr %24, i64 %14
%26 = load i32, ptr %25, align 4, !tbaa !5
%27 = xor i32 %26, -1
%28 = and i32 %15, %27
br label %29
29: ; preds = %12, %19, %23
%30 = phi ptr [ %22, %23 ], [ %22, %19 ], [ %13, %12 ]
%31 = phi i32 [ %28, %23 ], [ %15, %19 ], [ %15, %12 ]
%32 = add nuw nsw i64 %14, 1
%33 = load i32, ptr @SWITCH_NUM_PORTS, align 4, !tbaa !5
%34 = sext i32 %33 to i64
%35 = icmp slt i64 %32, %34
br i1 %35, label %12, label %36, !llvm.loop !11
36: ; preds = %29, %1
%37 = phi i32 [ %7, %1 ], [ %31, %29 ]
%38 = load i32, ptr @SWITCH_REG_PORT_CONF0, align 4, !tbaa !5
%39 = tail call i32 @sw_write_reg(i32 noundef %38, i32 noundef %37) #2
%40 = load i32, ptr @sw_used, align 4, !tbaa !5
%41 = add nsw i32 %40, -1
store i32 %41, ptr @sw_used, align 4, !tbaa !5
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %36
%44 = load i32, ptr @SWITCH_INTS_USED, align 4, !tbaa !5
%45 = tail call i32 @sw_int_mask(i32 noundef %44) #2
br label %46
46: ; preds = %43, %36
%47 = load i32, ptr %0, align 4, !tbaa !13
%48 = tail call i32 @free_irq(i32 noundef %47, ptr noundef nonnull %0) #2
ret i32 0
}
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
declare i32 @adm5120_if_napi_disable(ptr noundef) local_unnamed_addr #1
declare i32 @sw_read_reg(i32 noundef) local_unnamed_addr #1
declare i64 @netif_running(ptr noundef) local_unnamed_addr #1
declare i32 @sw_write_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sw_int_mask(i32 noundef) local_unnamed_addr #1
declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"net_device", !6, i64 0}
| ; ModuleID = 'AnghaBench/lede/target/linux/adm5120/files-3.18/drivers/net/extr_adm5120sw.c_adm5120_if_stop.c'
source_filename = "AnghaBench/lede/target/linux/adm5120/files-3.18/drivers/net/extr_adm5120sw.c_adm5120_if_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SWITCH_REG_PORT_CONF0 = common local_unnamed_addr global i32 0, align 4
@SWITCH_PORTS_NOCPU = common local_unnamed_addr global i32 0, align 4
@SWITCH_NUM_PORTS = common local_unnamed_addr global i32 0, align 4
@adm5120_devs = common local_unnamed_addr global ptr null, align 8
@adm5120_eth_vlans = common local_unnamed_addr global ptr null, align 8
@sw_used = common local_unnamed_addr global i32 0, align 4
@SWITCH_INTS_USED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @adm5120_if_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @adm5120_if_stop(ptr noundef %0) #0 {
%2 = tail call i32 @netif_stop_queue(ptr noundef %0) #2
%3 = tail call i32 @adm5120_if_napi_disable(ptr noundef %0) #2
%4 = load i32, ptr @SWITCH_REG_PORT_CONF0, align 4, !tbaa !6
%5 = tail call i32 @sw_read_reg(i32 noundef %4) #2
%6 = load i32, ptr @SWITCH_PORTS_NOCPU, align 4, !tbaa !6
%7 = or i32 %6, %5
%8 = load i32, ptr @SWITCH_NUM_PORTS, align 4, !tbaa !6
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %36
10: ; preds = %1
%11 = load ptr, ptr @adm5120_devs, align 8, !tbaa !10
br label %12
12: ; preds = %10, %29
%13 = phi ptr [ %11, %10 ], [ %30, %29 ]
%14 = phi i64 [ 0, %10 ], [ %32, %29 ]
%15 = phi i32 [ %7, %10 ], [ %31, %29 ]
%16 = getelementptr inbounds ptr, ptr %13, i64 %14
%17 = load ptr, ptr %16, align 8, !tbaa !10
%18 = icmp eq ptr %17, %0
br i1 %18, label %29, label %19
19: ; preds = %12
%20 = tail call i64 @netif_running(ptr noundef %17) #2
%21 = icmp eq i64 %20, 0
%22 = load ptr, ptr @adm5120_devs, align 8, !tbaa !10
br i1 %21, label %29, label %23
23: ; preds = %19
%24 = load ptr, ptr @adm5120_eth_vlans, align 8, !tbaa !10
%25 = getelementptr inbounds i32, ptr %24, i64 %14
%26 = load i32, ptr %25, align 4, !tbaa !6
%27 = xor i32 %26, -1
%28 = and i32 %15, %27
br label %29
29: ; preds = %12, %19, %23
%30 = phi ptr [ %22, %23 ], [ %22, %19 ], [ %13, %12 ]
%31 = phi i32 [ %28, %23 ], [ %15, %19 ], [ %15, %12 ]
%32 = add nuw nsw i64 %14, 1
%33 = load i32, ptr @SWITCH_NUM_PORTS, align 4, !tbaa !6
%34 = sext i32 %33 to i64
%35 = icmp slt i64 %32, %34
br i1 %35, label %12, label %36, !llvm.loop !12
36: ; preds = %29, %1
%37 = phi i32 [ %7, %1 ], [ %31, %29 ]
%38 = load i32, ptr @SWITCH_REG_PORT_CONF0, align 4, !tbaa !6
%39 = tail call i32 @sw_write_reg(i32 noundef %38, i32 noundef %37) #2
%40 = load i32, ptr @sw_used, align 4, !tbaa !6
%41 = add nsw i32 %40, -1
store i32 %41, ptr @sw_used, align 4, !tbaa !6
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %36
%44 = load i32, ptr @SWITCH_INTS_USED, align 4, !tbaa !6
%45 = tail call i32 @sw_int_mask(i32 noundef %44) #2
br label %46
46: ; preds = %43, %36
%47 = load i32, ptr %0, align 4, !tbaa !14
%48 = tail call i32 @free_irq(i32 noundef %47, ptr noundef nonnull %0) #2
ret i32 0
}
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
declare i32 @adm5120_if_napi_disable(ptr noundef) local_unnamed_addr #1
declare i32 @sw_read_reg(i32 noundef) local_unnamed_addr #1
declare i64 @netif_running(ptr noundef) local_unnamed_addr #1
declare i32 @sw_write_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sw_int_mask(i32 noundef) local_unnamed_addr #1
declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !7, i64 0}
!15 = !{!"net_device", !7, i64 0}
| lede_target_linux_adm5120_files-3.18_drivers_net_extr_adm5120sw.c_adm5120_if_stop |
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_ocfs2.h_ino_from_blkno.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_ocfs2.h_ino_from_blkno.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ULONG_MAX = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ino_from_blkno], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i64 @ino_from_blkno(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = load i64, ptr @ULONG_MAX, align 8, !tbaa !5
%4 = trunc i64 %3 to i32
%5 = and i32 %4, %1
%6 = sext i32 %5 to i64
ret i64 %6
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_ocfs2.h_ino_from_blkno.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_ocfs2.h_ino_from_blkno.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ULONG_MAX = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ino_from_blkno], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i64 -2147483648, 2147483648) i64 @ino_from_blkno(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = load i64, ptr @ULONG_MAX, align 8, !tbaa !6
%4 = trunc i64 %3 to i32
%5 = and i32 %4, %1
%6 = sext i32 %5 to i64
ret i64 %6
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_fs_ocfs2_extr_ocfs2.h_ino_from_blkno |
; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_px.c_px_strerror.c'
source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_px.c_px_strerror.c"
target datalayout = "e-m:e-p270:32:32-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.error_desc = type { ptr, i32 }
@px_err_list = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [15 x i8] c"Bad error code\00", align 1
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local nonnull ptr @px_strerror(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @px_err_list, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !9
%4 = icmp eq ptr %3, null
br i1 %4, label %18, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.error_desc, ptr %2, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = icmp eq i32 %7, %0
br i1 %8, label %18, label %9
9: ; preds = %5, %14
%10 = phi ptr [ %11, %14 ], [ %2, %5 ]
%11 = getelementptr inbounds %struct.error_desc, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8, !tbaa !9
%13 = icmp eq ptr %12, null
br i1 %13, label %18, label %14, !llvm.loop !13
14: ; preds = %9
%15 = getelementptr inbounds %struct.error_desc, ptr %10, i64 1, i32 1
%16 = load i32, ptr %15, align 8, !tbaa !12
%17 = icmp eq i32 %16, %0
br i1 %17, label %18, label %9, !llvm.loop !13
18: ; preds = %9, %14, %5, %1
%19 = phi ptr [ @.str, %1 ], [ %3, %5 ], [ %12, %14 ], [ @.str, %9 ]
ret ptr %19
}
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, !6, i64 0}
!10 = !{!"error_desc", !6, i64 0, !11, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_px.c_px_strerror.c'
source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_px.c_px_strerror.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@px_err_list = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [15 x i8] c"Bad error code\00", align 1
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define nonnull ptr @px_strerror(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @px_err_list, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = icmp eq ptr %3, null
br i1 %4, label %18, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !13
%8 = icmp eq i32 %7, %0
br i1 %8, label %18, label %9
9: ; preds = %5, %14
%10 = phi ptr [ %11, %14 ], [ %2, %5 ]
%11 = getelementptr inbounds i8, ptr %10, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !10
%13 = icmp eq ptr %12, null
br i1 %13, label %18, label %14, !llvm.loop !14
14: ; preds = %9
%15 = getelementptr inbounds i8, ptr %10, i64 24
%16 = load i32, ptr %15, align 8, !tbaa !13
%17 = icmp eq i32 %16, %0
br i1 %17, label %18, label %9, !llvm.loop !14
18: ; preds = %9, %14, %5, %1
%19 = phi ptr [ @.str, %1 ], [ %3, %5 ], [ %12, %14 ], [ @.str, %9 ]
ret ptr %19
}
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, !7, i64 0}
!11 = !{!"error_desc", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| postgres_contrib_pgcrypto_extr_px.c_px_strerror |
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/wiiuse/extr_io.c_wiiuse_disable_expansion.c'
source_filename = "AnghaBench/RetroArch/wii/libogc/wiiuse/extr_io.c_wiiuse_disable_expansion.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32 }
%struct.wiimote_t = type { %struct.TYPE_2__, i32 }
@WIIMOTE_STATE_EXP = dso_local local_unnamed_addr global i32 0, align 4
@WIIUSE_NUNCHUK_REMOVED = dso_local local_unnamed_addr global i32 0, align 4
@WIIUSE_CLASSIC_CTRL_REMOVED = dso_local local_unnamed_addr global i32 0, align 4
@WIIUSE_MOTION_PLUS_REMOVED = dso_local local_unnamed_addr global i32 0, align 4
@EXP_NONE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @wiiuse_disable_expansion(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @WIIMOTE_STATE_EXP, align 4, !tbaa !5
%3 = tail call i32 @WIIMOTE_IS_SET(ptr noundef %0, i32 noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %26, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 4, !tbaa !9
switch i32 %6, label %20 [
i32 128, label %7
i32 130, label %10
i32 129, label %13
]
7: ; preds = %5
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 3
%9 = tail call i32 @nunchuk_disconnected(ptr noundef nonnull %8) #2
br label %16
10: ; preds = %5
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
%12 = tail call i32 @classic_ctrl_disconnected(ptr noundef nonnull %11) #2
br label %16
13: ; preds = %5
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%15 = tail call i32 @motion_plus_disconnected(ptr noundef nonnull %14) #2
br label %16
16: ; preds = %7, %10, %13
%17 = phi ptr [ @WIIUSE_MOTION_PLUS_REMOVED, %13 ], [ @WIIUSE_CLASSIC_CTRL_REMOVED, %10 ], [ @WIIUSE_NUNCHUK_REMOVED, %7 ]
%18 = load i32, ptr %17, align 4, !tbaa !5
%19 = getelementptr inbounds %struct.wiimote_t, ptr %0, i64 0, i32 1
store i32 %18, ptr %19, align 4, !tbaa !12
br label %20
20: ; preds = %16, %5
%21 = load i32, ptr @WIIMOTE_STATE_EXP, align 4, !tbaa !5
%22 = tail call i32 @WIIMOTE_DISABLE_STATE(ptr noundef nonnull %0, i32 noundef %21) #2
%23 = load i32, ptr @EXP_NONE, align 4, !tbaa !5
store i32 %23, ptr %0, align 4, !tbaa !9
%24 = tail call i32 @wiiuse_set_ir_mode(ptr noundef nonnull %0) #2
%25 = tail call i32 @wiiuse_status(ptr noundef nonnull %0, ptr noundef null) #2
br label %26
26: ; preds = %1, %20
ret void
}
declare i32 @WIIMOTE_IS_SET(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nunchuk_disconnected(ptr noundef) local_unnamed_addr #1
declare i32 @classic_ctrl_disconnected(ptr noundef) local_unnamed_addr #1
declare i32 @motion_plus_disconnected(ptr noundef) local_unnamed_addr #1
declare i32 @WIIMOTE_DISABLE_STATE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wiiuse_set_ir_mode(ptr noundef) local_unnamed_addr #1
declare i32 @wiiuse_status(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"wiimote_t", !11, i64 0, !6, i64 16}
!11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!12 = !{!10, !6, i64 16}
| ; ModuleID = 'AnghaBench/RetroArch/wii/libogc/wiiuse/extr_io.c_wiiuse_disable_expansion.c'
source_filename = "AnghaBench/RetroArch/wii/libogc/wiiuse/extr_io.c_wiiuse_disable_expansion.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WIIMOTE_STATE_EXP = common local_unnamed_addr global i32 0, align 4
@WIIUSE_NUNCHUK_REMOVED = common local_unnamed_addr global i32 0, align 4
@WIIUSE_CLASSIC_CTRL_REMOVED = common local_unnamed_addr global i32 0, align 4
@WIIUSE_MOTION_PLUS_REMOVED = common local_unnamed_addr global i32 0, align 4
@EXP_NONE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @wiiuse_disable_expansion(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @WIIMOTE_STATE_EXP, align 4, !tbaa !6
%3 = tail call i32 @WIIMOTE_IS_SET(ptr noundef %0, i32 noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %26, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 4, !tbaa !10
switch i32 %6, label %20 [
i32 128, label %7
i32 130, label %10
i32 129, label %13
]
7: ; preds = %5
%8 = getelementptr inbounds i8, ptr %0, i64 12
%9 = tail call i32 @nunchuk_disconnected(ptr noundef nonnull %8) #2
br label %16
10: ; preds = %5
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = tail call i32 @classic_ctrl_disconnected(ptr noundef nonnull %11) #2
br label %16
13: ; preds = %5
%14 = getelementptr inbounds i8, ptr %0, i64 4
%15 = tail call i32 @motion_plus_disconnected(ptr noundef nonnull %14) #2
br label %16
16: ; preds = %7, %10, %13
%17 = phi ptr [ @WIIUSE_MOTION_PLUS_REMOVED, %13 ], [ @WIIUSE_CLASSIC_CTRL_REMOVED, %10 ], [ @WIIUSE_NUNCHUK_REMOVED, %7 ]
%18 = load i32, ptr %17, align 4, !tbaa !6
%19 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %18, ptr %19, align 4, !tbaa !13
br label %20
20: ; preds = %16, %5
%21 = load i32, ptr @WIIMOTE_STATE_EXP, align 4, !tbaa !6
%22 = tail call i32 @WIIMOTE_DISABLE_STATE(ptr noundef nonnull %0, i32 noundef %21) #2
%23 = load i32, ptr @EXP_NONE, align 4, !tbaa !6
store i32 %23, ptr %0, align 4, !tbaa !10
%24 = tail call i32 @wiiuse_set_ir_mode(ptr noundef nonnull %0) #2
%25 = tail call i32 @wiiuse_status(ptr noundef nonnull %0, ptr noundef null) #2
br label %26
26: ; preds = %1, %20
ret void
}
declare i32 @WIIMOTE_IS_SET(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nunchuk_disconnected(ptr noundef) local_unnamed_addr #1
declare i32 @classic_ctrl_disconnected(ptr noundef) local_unnamed_addr #1
declare i32 @motion_plus_disconnected(ptr noundef) local_unnamed_addr #1
declare i32 @WIIMOTE_DISABLE_STATE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wiiuse_set_ir_mode(ptr noundef) local_unnamed_addr #1
declare i32 @wiiuse_status(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"wiimote_t", !12, i64 0, !7, i64 16}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!13 = !{!11, !7, i64 16}
| RetroArch_wii_libogc_wiiuse_extr_io.c_wiiuse_disable_expansion |
; ModuleID = 'AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_parse_type_qualifier.c'
source_filename = "AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_parse_type_qualifier.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@YY_CONST = dso_local local_unnamed_addr global i32 0, align 4
@YY___CONST = dso_local local_unnamed_addr global i32 0, align 4
@YY___CONST__ = dso_local local_unnamed_addr global i32 0, align 4
@ZEND_FFI_DCL_CONST = dso_local local_unnamed_addr global i32 0, align 4
@ZEND_FFI_ATTR_CONST = dso_local local_unnamed_addr global i32 0, align 4
@YY_RESTRICT = dso_local local_unnamed_addr global i32 0, align 4
@YY___RESTRICT = dso_local local_unnamed_addr global i32 0, align 4
@YY___RESTRICT__ = dso_local local_unnamed_addr global i32 0, align 4
@ZEND_FFI_DCL_RESTRICT = dso_local local_unnamed_addr global i32 0, align 4
@YY_VOLATILE = dso_local local_unnamed_addr global i32 0, align 4
@YY___VOLATILE = dso_local local_unnamed_addr global i32 0, align 4
@YY___VOLATILE__ = dso_local local_unnamed_addr global i32 0, align 4
@ZEND_FFI_DCL_VOLATILE = dso_local local_unnamed_addr global i32 0, align 4
@YY__ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@ZEND_FFI_DCL_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"unexpected\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_type_qualifier], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @parse_type_qualifier(i32 noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr @YY_CONST, align 4, !tbaa !5
%4 = icmp eq i32 %3, %0
%5 = load i32, ptr @YY___CONST, align 4
%6 = icmp eq i32 %5, %0
%7 = select i1 %4, i1 true, i1 %6
%8 = load i32, ptr @YY___CONST__, align 4
%9 = icmp eq i32 %8, %0
%10 = select i1 %7, i1 true, i1 %9
br i1 %10, label %11, label %20
11: ; preds = %2
%12 = tail call i32 (...) @get_sym() #2
%13 = load i32, ptr @ZEND_FFI_DCL_CONST, align 4, !tbaa !5
%14 = load i32, ptr %1, align 4, !tbaa !9
%15 = or i32 %14, %13
store i32 %15, ptr %1, align 4, !tbaa !9
%16 = load i32, ptr @ZEND_FFI_ATTR_CONST, align 4, !tbaa !5
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = or i32 %18, %16
store i32 %19, ptr %17, align 4, !tbaa !11
br label %58
20: ; preds = %2
%21 = load i32, ptr @YY_RESTRICT, align 4, !tbaa !5
%22 = icmp eq i32 %21, %0
%23 = load i32, ptr @YY___RESTRICT, align 4
%24 = icmp eq i32 %23, %0
%25 = select i1 %22, i1 true, i1 %24
%26 = load i32, ptr @YY___RESTRICT__, align 4
%27 = icmp eq i32 %26, %0
%28 = select i1 %25, i1 true, i1 %27
br i1 %28, label %29, label %34
29: ; preds = %20
%30 = tail call i32 (...) @get_sym() #2
%31 = load i32, ptr @ZEND_FFI_DCL_RESTRICT, align 4, !tbaa !5
%32 = load i32, ptr %1, align 4, !tbaa !9
%33 = or i32 %32, %31
store i32 %33, ptr %1, align 4, !tbaa !9
br label %58
34: ; preds = %20
%35 = load i32, ptr @YY_VOLATILE, align 4, !tbaa !5
%36 = icmp eq i32 %35, %0
%37 = load i32, ptr @YY___VOLATILE, align 4
%38 = icmp eq i32 %37, %0
%39 = select i1 %36, i1 true, i1 %38
%40 = load i32, ptr @YY___VOLATILE__, align 4
%41 = icmp eq i32 %40, %0
%42 = select i1 %39, i1 true, i1 %41
br i1 %42, label %43, label %48
43: ; preds = %34
%44 = tail call i32 (...) @get_sym() #2
%45 = load i32, ptr @ZEND_FFI_DCL_VOLATILE, align 4, !tbaa !5
%46 = load i32, ptr %1, align 4, !tbaa !9
%47 = or i32 %46, %45
store i32 %47, ptr %1, align 4, !tbaa !9
br label %58
48: ; preds = %34
%49 = load i32, ptr @YY__ATOMIC, align 4, !tbaa !5
%50 = icmp eq i32 %49, %0
br i1 %50, label %51, label %56
51: ; preds = %48
%52 = tail call i32 (...) @get_sym() #2
%53 = load i32, ptr @ZEND_FFI_DCL_ATOMIC, align 4, !tbaa !5
%54 = load i32, ptr %1, align 4, !tbaa !9
%55 = or i32 %54, %53
store i32 %55, ptr %1, align 4, !tbaa !9
br label %58
56: ; preds = %48
%57 = tail call i32 @yy_error_sym(ptr noundef nonnull @.str, i32 noundef %0) #2
br label %58
58: ; preds = %29, %51, %56, %43, %11
%59 = phi i32 [ %12, %11 ], [ %30, %29 ], [ %44, %43 ], [ %52, %51 ], [ %0, %56 ]
ret i32 %59
}
declare i32 @get_sym(...) local_unnamed_addr #1
declare i32 @yy_error_sym(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_parse_type_qualifier.c'
source_filename = "AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_parse_type_qualifier.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@YY_CONST = common local_unnamed_addr global i32 0, align 4
@YY___CONST = common local_unnamed_addr global i32 0, align 4
@YY___CONST__ = common local_unnamed_addr global i32 0, align 4
@ZEND_FFI_DCL_CONST = common local_unnamed_addr global i32 0, align 4
@ZEND_FFI_ATTR_CONST = common local_unnamed_addr global i32 0, align 4
@YY_RESTRICT = common local_unnamed_addr global i32 0, align 4
@YY___RESTRICT = common local_unnamed_addr global i32 0, align 4
@YY___RESTRICT__ = common local_unnamed_addr global i32 0, align 4
@ZEND_FFI_DCL_RESTRICT = common local_unnamed_addr global i32 0, align 4
@YY_VOLATILE = common local_unnamed_addr global i32 0, align 4
@YY___VOLATILE = common local_unnamed_addr global i32 0, align 4
@YY___VOLATILE__ = common local_unnamed_addr global i32 0, align 4
@ZEND_FFI_DCL_VOLATILE = common local_unnamed_addr global i32 0, align 4
@YY__ATOMIC = common local_unnamed_addr global i32 0, align 4
@ZEND_FFI_DCL_ATOMIC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"unexpected\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @parse_type_qualifier], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @parse_type_qualifier(i32 noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr @YY_CONST, align 4, !tbaa !6
%4 = icmp eq i32 %3, %0
%5 = load i32, ptr @YY___CONST, align 4
%6 = icmp eq i32 %5, %0
%7 = select i1 %4, i1 true, i1 %6
%8 = load i32, ptr @YY___CONST__, align 4
%9 = icmp eq i32 %8, %0
%10 = select i1 %7, i1 true, i1 %9
br i1 %10, label %11, label %20
11: ; preds = %2
%12 = tail call i32 @get_sym() #2
%13 = load i32, ptr @ZEND_FFI_DCL_CONST, align 4, !tbaa !6
%14 = load i32, ptr %1, align 4, !tbaa !10
%15 = or i32 %14, %13
store i32 %15, ptr %1, align 4, !tbaa !10
%16 = load i32, ptr @ZEND_FFI_ATTR_CONST, align 4, !tbaa !6
%17 = getelementptr inbounds i8, ptr %1, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = or i32 %18, %16
store i32 %19, ptr %17, align 4, !tbaa !12
br label %58
20: ; preds = %2
%21 = load i32, ptr @YY_RESTRICT, align 4, !tbaa !6
%22 = icmp eq i32 %21, %0
%23 = load i32, ptr @YY___RESTRICT, align 4
%24 = icmp eq i32 %23, %0
%25 = select i1 %22, i1 true, i1 %24
%26 = load i32, ptr @YY___RESTRICT__, align 4
%27 = icmp eq i32 %26, %0
%28 = select i1 %25, i1 true, i1 %27
br i1 %28, label %29, label %34
29: ; preds = %20
%30 = tail call i32 @get_sym() #2
%31 = load i32, ptr @ZEND_FFI_DCL_RESTRICT, align 4, !tbaa !6
%32 = load i32, ptr %1, align 4, !tbaa !10
%33 = or i32 %32, %31
store i32 %33, ptr %1, align 4, !tbaa !10
br label %58
34: ; preds = %20
%35 = load i32, ptr @YY_VOLATILE, align 4, !tbaa !6
%36 = icmp eq i32 %35, %0
%37 = load i32, ptr @YY___VOLATILE, align 4
%38 = icmp eq i32 %37, %0
%39 = select i1 %36, i1 true, i1 %38
%40 = load i32, ptr @YY___VOLATILE__, align 4
%41 = icmp eq i32 %40, %0
%42 = select i1 %39, i1 true, i1 %41
br i1 %42, label %43, label %48
43: ; preds = %34
%44 = tail call i32 @get_sym() #2
%45 = load i32, ptr @ZEND_FFI_DCL_VOLATILE, align 4, !tbaa !6
%46 = load i32, ptr %1, align 4, !tbaa !10
%47 = or i32 %46, %45
store i32 %47, ptr %1, align 4, !tbaa !10
br label %58
48: ; preds = %34
%49 = load i32, ptr @YY__ATOMIC, align 4, !tbaa !6
%50 = icmp eq i32 %49, %0
br i1 %50, label %51, label %56
51: ; preds = %48
%52 = tail call i32 @get_sym() #2
%53 = load i32, ptr @ZEND_FFI_DCL_ATOMIC, align 4, !tbaa !6
%54 = load i32, ptr %1, align 4, !tbaa !10
%55 = or i32 %54, %53
store i32 %55, ptr %1, align 4, !tbaa !10
br label %58
56: ; preds = %48
%57 = tail call i32 @yy_error_sym(ptr noundef nonnull @.str, i32 noundef %0) #2
br label %58
58: ; preds = %29, %51, %56, %43, %11
%59 = phi i32 [ %12, %11 ], [ %30, %29 ], [ %44, %43 ], [ %52, %51 ], [ %0, %56 ]
ret i32 %59
}
declare i32 @get_sym(...) local_unnamed_addr #1
declare i32 @yy_error_sym(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
| php-src_ext_ffi_extr_ffi_parser.c_parse_type_qualifier |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_radio.c_b43legacy_radio_turn_on.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_radio.c_b43legacy_radio_turn_on.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.b43legacy_phy = type { i32, i32, i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32, i32, i32 }
@B43legacy_PHY_RFOVER = dso_local local_unnamed_addr global i32 0, align 4
@B43legacy_PHY_RFOVERVAL = dso_local local_unnamed_addr global i32 0, align 4
@B43legacy_RADIO_DEFAULT_CHANNEL_BG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @b43legacy_radio_turn_on(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @might_sleep() #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %41
5: ; preds = %1
%6 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = and i32 %7, -2
%9 = icmp eq i32 %8, 128
br i1 %9, label %10, label %38
10: ; preds = %5
%11 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef 21, i32 noundef 32768) #2
%12 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef 21, i32 noundef 52224) #2
%13 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 4
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = icmp eq i32 %14, 0
%16 = select i1 %15, i32 0, i32 192
%17 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef 21, i32 noundef %16) #2
%18 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 3
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = icmp eq i32 %19, 0
br i1 %20, label %30, label %21
21: ; preds = %10
%22 = load i32, ptr @B43legacy_PHY_RFOVER, align 4, !tbaa !14
%23 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 3, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !15
%25 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %24) #2
%26 = load i32, ptr @B43legacy_PHY_RFOVERVAL, align 4, !tbaa !14
%27 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 3, i32 2
%28 = load i32, ptr %27, align 4, !tbaa !16
%29 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %28) #2
store i32 0, ptr %18, align 4, !tbaa !13
br label %30
30: ; preds = %21, %10
%31 = getelementptr inbounds %struct.b43legacy_phy, ptr %0, i64 0, i32 2
%32 = load i32, ptr %31, align 4, !tbaa !17
%33 = load i32, ptr @B43legacy_RADIO_DEFAULT_CHANNEL_BG, align 4, !tbaa !14
%34 = tail call i32 @b43legacy_radio_selectchannel(ptr noundef nonnull %0, i32 noundef %33, i32 noundef 1) #2
%35 = tail call i32 @b43legacy_radio_selectchannel(ptr noundef nonnull %0, i32 noundef %32, i32 noundef 0) #2
%36 = or i32 %35, %34
%37 = tail call i32 @B43legacy_WARN_ON(i32 noundef %36) #2
br label %40
38: ; preds = %5
%39 = tail call i32 @B43legacy_BUG_ON(i32 noundef 1) #2
br label %40
40: ; preds = %38, %30
store i32 1, ptr %0, align 4, !tbaa !5
br label %41
41: ; preds = %1, %40
ret void
}
declare i32 @might_sleep(...) local_unnamed_addr #1
declare i32 @b43legacy_phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43legacy_radio_selectchannel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @B43legacy_WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @B43legacy_BUG_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"b43legacy_phy", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 12, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !7, i64 12}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 16}
!16 = !{!6, !7, i64 20}
!17 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_radio.c_b43legacy_radio_turn_on.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_radio.c_b43legacy_radio_turn_on.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B43legacy_PHY_RFOVER = common local_unnamed_addr global i32 0, align 4
@B43legacy_PHY_RFOVERVAL = common local_unnamed_addr global i32 0, align 4
@B43legacy_RADIO_DEFAULT_CHANNEL_BG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @b43legacy_radio_turn_on(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @might_sleep() #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %41
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = and i32 %7, -2
%9 = icmp eq i32 %8, 128
br i1 %9, label %10, label %38
10: ; preds = %5
%11 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef 21, i32 noundef 32768) #2
%12 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef 21, i32 noundef 52224) #2
%13 = getelementptr inbounds i8, ptr %0, i64 24
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = icmp eq i32 %14, 0
%16 = select i1 %15, i32 0, i32 192
%17 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef 21, i32 noundef %16) #2
%18 = getelementptr inbounds i8, ptr %0, i64 12
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = icmp eq i32 %19, 0
br i1 %20, label %30, label %21
21: ; preds = %10
%22 = load i32, ptr @B43legacy_PHY_RFOVER, align 4, !tbaa !15
%23 = getelementptr inbounds i8, ptr %0, i64 16
%24 = load i32, ptr %23, align 4, !tbaa !16
%25 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %24) #2
%26 = load i32, ptr @B43legacy_PHY_RFOVERVAL, align 4, !tbaa !15
%27 = getelementptr inbounds i8, ptr %0, i64 20
%28 = load i32, ptr %27, align 4, !tbaa !17
%29 = tail call i32 @b43legacy_phy_write(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %28) #2
store i32 0, ptr %18, align 4, !tbaa !14
br label %30
30: ; preds = %21, %10
%31 = getelementptr inbounds i8, ptr %0, i64 8
%32 = load i32, ptr %31, align 4, !tbaa !18
%33 = load i32, ptr @B43legacy_RADIO_DEFAULT_CHANNEL_BG, align 4, !tbaa !15
%34 = tail call i32 @b43legacy_radio_selectchannel(ptr noundef nonnull %0, i32 noundef %33, i32 noundef 1) #2
%35 = tail call i32 @b43legacy_radio_selectchannel(ptr noundef nonnull %0, i32 noundef %32, i32 noundef 0) #2
%36 = or i32 %35, %34
%37 = tail call i32 @B43legacy_WARN_ON(i32 noundef %36) #2
br label %40
38: ; preds = %5
%39 = tail call i32 @B43legacy_BUG_ON(i32 noundef 1) #2
br label %40
40: ; preds = %38, %30
store i32 1, ptr %0, align 4, !tbaa !6
br label %41
41: ; preds = %1, %40
ret void
}
declare i32 @might_sleep(...) local_unnamed_addr #1
declare i32 @b43legacy_phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43legacy_radio_selectchannel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @B43legacy_WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @B43legacy_BUG_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"b43legacy_phy", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 12, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 24}
!14 = !{!7, !8, i64 12}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 16}
!17 = !{!7, !8, i64 20}
!18 = !{!7, !8, i64 8}
| fastsocket_kernel_drivers_net_wireless_b43legacy_extr_radio.c_b43legacy_radio_turn_on |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_necp_client.c_necp_inpcb_dispose.c'
source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_necp_client.c_necp_inpcb_dispose.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, ptr }
@M_NECP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @necp_inpcb_dispose(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @necp_inpcb_remove_cb(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr @M_NECP, align 4, !tbaa !11
%8 = tail call i32 @FREE(ptr noundef nonnull %4, i32 noundef %7) #2
store ptr null, ptr %3, align 8, !tbaa !5
br label %9
9: ; preds = %6, %1
%10 = load ptr, ptr %0, align 8, !tbaa !13
%11 = icmp eq ptr %10, null
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = load i32, ptr @M_NECP, align 4, !tbaa !11
%14 = tail call i32 @FREE(ptr noundef nonnull %10, i32 noundef %13) #2
store ptr null, ptr %0, align 8, !tbaa !13
br label %15
15: ; preds = %12, %9
ret void
}
declare i32 @necp_inpcb_remove_cb(ptr noundef) local_unnamed_addr #1
declare i32 @FREE(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 8}
!6 = !{!"inpcb", !7, i64 0}
!7 = !{!"TYPE_2__", !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, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_necp_client.c_necp_inpcb_dispose.c'
source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_necp_client.c_necp_inpcb_dispose.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_NECP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @necp_inpcb_dispose(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @necp_inpcb_remove_cb(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load i32, ptr @M_NECP, align 4, !tbaa !12
%8 = tail call i32 @FREE(ptr noundef nonnull %4, i32 noundef %7) #2
store ptr null, ptr %3, align 8, !tbaa !6
br label %9
9: ; preds = %6, %1
%10 = load ptr, ptr %0, align 8, !tbaa !14
%11 = icmp eq ptr %10, null
br i1 %11, label %15, label %12
12: ; preds = %9
%13 = load i32, ptr @M_NECP, align 4, !tbaa !12
%14 = tail call i32 @FREE(ptr noundef nonnull %10, i32 noundef %13) #2
store ptr null, ptr %0, align 8, !tbaa !14
br label %15
15: ; preds = %12, %9
ret void
}
declare i32 @necp_inpcb_remove_cb(ptr noundef) local_unnamed_addr #1
declare i32 @FREE(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 8}
!7 = !{!"inpcb", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !9, i64 8}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!7, !9, i64 0}
| darwin-xnu_bsd_net_extr_necp_client.c_necp_inpcb_dispose |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_g_mover.c_Reached_Train.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_g_mover.c_Reached_Train.c"
target datalayout = "e-m:e-p270:32:32-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_10__ = type { float, i32, %struct.TYPE_9__, i32, i64, i32, i32, i32, ptr }
%struct.TYPE_9__ = type { %struct.TYPE_8__, i32, i32 }
%struct.TYPE_8__ = type { float, i32 }
@MOVER_1TO2 = dso_local local_unnamed_addr global i32 0, align 4
@level = dso_local local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8
@Think_BeginMoving = dso_local local_unnamed_addr global i32 0, align 4
@TR_STATIONARY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @Reached_Train(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 8
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %57, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 8
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %57, label %9
9: ; preds = %5
%10 = tail call i32 @G_UseTargets(ptr noundef nonnull %3, ptr noundef null) #2
%11 = load ptr, ptr %6, align 8, !tbaa !5
store ptr %11, ptr %2, align 8, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 2, i32 2
%13 = load i32, ptr %12, align 4, !tbaa !15
%14 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 6
%15 = load i32, ptr %14, align 4, !tbaa !16
%16 = tail call i32 @VectorCopy(i32 noundef %13, i32 noundef %15) #2
%17 = load ptr, ptr %6, align 8, !tbaa !5
%18 = getelementptr inbounds %struct.TYPE_10__, ptr %17, i64 0, i32 2, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 7
%21 = load i32, ptr %20, align 8, !tbaa !17
%22 = tail call i32 @VectorCopy(i32 noundef %19, i32 noundef %21) #2
%23 = load float, ptr %3, align 8, !tbaa !18
%24 = fcmp une float %23, 0.000000e+00
br i1 %24, label %27, label %25
25: ; preds = %9
%26 = load float, ptr %0, align 8, !tbaa !18
br label %27
27: ; preds = %9, %25
%28 = phi float [ %26, %25 ], [ %23, %9 ]
%29 = fcmp olt float %28, 1.000000e+00
%30 = select i1 %29, float 1.000000e+00, float %28
%31 = load i32, ptr %20, align 8, !tbaa !17
%32 = load i32, ptr %14, align 4, !tbaa !16
%33 = tail call i32 @VectorSubtract(i32 noundef %31, i32 noundef %32, i32 noundef undef) #2
%34 = tail call float @VectorLength(i32 noundef undef) #2
%35 = fmul float %34, 1.000000e+03
%36 = fdiv float %35, %30
%37 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
store float %36, ptr %37, align 8, !tbaa !19
%38 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 5
%39 = load i32, ptr %38, align 8, !tbaa !20
%40 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 1
store i32 %39, ptr %40, align 8, !tbaa !21
%41 = load i32, ptr @MOVER_1TO2, align 4, !tbaa !22
%42 = load i64, ptr @level, align 8, !tbaa !23
%43 = tail call i32 @SetMoverState(ptr noundef nonnull %0, i32 noundef %41, i64 noundef %42) #2
%44 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 1
%45 = load i32, ptr %44, align 4, !tbaa !25
%46 = icmp eq i32 %45, 0
br i1 %46, label %57, label %47
47: ; preds = %27
%48 = load i64, ptr @level, align 8, !tbaa !23
%49 = mul nsw i32 %45, 1000
%50 = sext i32 %49 to i64
%51 = add nsw i64 %48, %50
%52 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 4
store i64 %51, ptr %52, align 8, !tbaa !26
%53 = load i32, ptr @Think_BeginMoving, align 4, !tbaa !22
%54 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 3
store i32 %53, ptr %54, align 8, !tbaa !27
%55 = load i32, ptr @TR_STATIONARY, align 4, !tbaa !22
%56 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 0, i32 1
store i32 %55, ptr %56, align 4, !tbaa !28
br label %57
57: ; preds = %27, %47, %1, %5
ret void
}
declare i32 @G_UseTargets(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @VectorCopy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VectorSubtract(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare float @VectorLength(i32 noundef) local_unnamed_addr #1
declare i32 @SetMoverState(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !14, i64 56}
!6 = !{!"TYPE_10__", !7, i64 0, !10, i64 4, !11, i64 8, !10, i64 24, !13, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !14, i64 56}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_9__", !12, i64 0, !10, i64 8, !10, i64 12}
!12 = !{!"TYPE_8__", !7, i64 0, !10, i64 4}
!13 = !{!"long", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!6, !10, i64 20}
!16 = !{!6, !10, i64 44}
!17 = !{!6, !10, i64 48}
!18 = !{!6, !7, i64 0}
!19 = !{!6, !7, i64 8}
!20 = !{!6, !10, i64 40}
!21 = !{!6, !10, i64 16}
!22 = !{!10, !10, i64 0}
!23 = !{!24, !13, i64 0}
!24 = !{!"TYPE_11__", !13, i64 0}
!25 = !{!6, !10, i64 4}
!26 = !{!6, !13, i64 32}
!27 = !{!6, !10, i64 24}
!28 = !{!6, !10, i64 12}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_g_mover.c_Reached_Train.c'
source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_g_mover.c_Reached_Train.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 }
@MOVER_1TO2 = common local_unnamed_addr global i32 0, align 4
@level = common local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8
@Think_BeginMoving = common local_unnamed_addr global i32 0, align 4
@TR_STATIONARY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @Reached_Train(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 56
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %57, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %3, i64 56
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %57, label %9
9: ; preds = %5
%10 = tail call i32 @G_UseTargets(ptr noundef nonnull %3, ptr noundef null) #2
%11 = load ptr, ptr %6, align 8, !tbaa !6
store ptr %11, ptr %2, align 8, !tbaa !6
%12 = getelementptr inbounds i8, ptr %3, i64 20
%13 = load i32, ptr %12, align 4, !tbaa !16
%14 = getelementptr inbounds i8, ptr %0, i64 44
%15 = load i32, ptr %14, align 4, !tbaa !17
%16 = tail call i32 @VectorCopy(i32 noundef %13, i32 noundef %15) #2
%17 = load ptr, ptr %6, align 8, !tbaa !6
%18 = getelementptr inbounds i8, ptr %17, i64 20
%19 = load i32, ptr %18, align 4, !tbaa !16
%20 = getelementptr inbounds i8, ptr %0, i64 48
%21 = load i32, ptr %20, align 8, !tbaa !18
%22 = tail call i32 @VectorCopy(i32 noundef %19, i32 noundef %21) #2
%23 = load float, ptr %3, align 8, !tbaa !19
%24 = fcmp une float %23, 0.000000e+00
br i1 %24, label %27, label %25
25: ; preds = %9
%26 = load float, ptr %0, align 8, !tbaa !19
br label %27
27: ; preds = %9, %25
%28 = phi float [ %26, %25 ], [ %23, %9 ]
%29 = fcmp olt float %28, 1.000000e+00
%30 = select i1 %29, float 1.000000e+00, float %28
%31 = load i32, ptr %20, align 8, !tbaa !18
%32 = load i32, ptr %14, align 4, !tbaa !17
%33 = tail call i32 @VectorSubtract(i32 noundef %31, i32 noundef %32, i32 noundef undef) #2
%34 = tail call float @VectorLength(i32 noundef undef) #2
%35 = fmul float %34, 1.000000e+03
%36 = fdiv float %35, %30
%37 = getelementptr inbounds i8, ptr %0, i64 8
store float %36, ptr %37, align 8, !tbaa !20
%38 = getelementptr inbounds i8, ptr %3, i64 40
%39 = load i32, ptr %38, align 8, !tbaa !21
%40 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %39, ptr %40, align 8, !tbaa !22
%41 = load i32, ptr @MOVER_1TO2, align 4, !tbaa !23
%42 = load i64, ptr @level, align 8, !tbaa !24
%43 = tail call i32 @SetMoverState(ptr noundef nonnull %0, i32 noundef %41, i64 noundef %42) #2
%44 = getelementptr inbounds i8, ptr %3, i64 4
%45 = load i32, ptr %44, align 4, !tbaa !26
%46 = icmp eq i32 %45, 0
br i1 %46, label %57, label %47
47: ; preds = %27
%48 = load i64, ptr @level, align 8, !tbaa !24
%49 = mul nsw i32 %45, 1000
%50 = sext i32 %49 to i64
%51 = add nsw i64 %48, %50
%52 = getelementptr inbounds i8, ptr %0, i64 32
store i64 %51, ptr %52, align 8, !tbaa !27
%53 = load i32, ptr @Think_BeginMoving, align 4, !tbaa !23
%54 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %53, ptr %54, align 8, !tbaa !28
%55 = load i32, ptr @TR_STATIONARY, align 4, !tbaa !23
%56 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %55, ptr %56, align 4, !tbaa !29
br label %57
57: ; preds = %27, %47, %1, %5
ret void
}
declare i32 @G_UseTargets(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @VectorCopy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VectorSubtract(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare float @VectorLength(i32 noundef) local_unnamed_addr #1
declare i32 @SetMoverState(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !15, i64 56}
!7 = !{!"TYPE_10__", !8, i64 0, !11, i64 4, !12, i64 8, !11, i64 24, !14, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !15, i64 56}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0, !11, i64 8, !11, i64 12}
!13 = !{!"TYPE_8__", !8, i64 0, !11, i64 4}
!14 = !{!"long", !9, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!7, !11, i64 20}
!17 = !{!7, !11, i64 44}
!18 = !{!7, !11, i64 48}
!19 = !{!7, !8, i64 0}
!20 = !{!7, !8, i64 8}
!21 = !{!7, !11, i64 40}
!22 = !{!7, !11, i64 16}
!23 = !{!11, !11, i64 0}
!24 = !{!25, !14, i64 0}
!25 = !{!"TYPE_11__", !14, i64 0}
!26 = !{!7, !11, i64 4}
!27 = !{!7, !14, i64 32}
!28 = !{!7, !11, i64 24}
!29 = !{!7, !11, i64 12}
| Quake-III-Arena_code_game_extr_g_mover.c_Reached_Train |
; ModuleID = 'AnghaBench/freebsd/contrib/libucl/lua/extr_lua_ucl.c_lua_ucl_push_opaque.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/lua/extr_lua_ucl.c_lua_ucl_push_opaque.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OBJECT_META = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lua_ucl_push_opaque], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lua_ucl_push_opaque(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @lua_newuserdata(ptr noundef %0, i32 noundef 8) #2
store ptr %1, ptr %3, align 8, !tbaa !5
%4 = load i32, ptr @OBJECT_META, align 4, !tbaa !9
%5 = tail call i32 @luaL_getmetatable(ptr noundef %0, i32 noundef %4) #2
%6 = tail call i32 @lua_setmetatable(ptr noundef %0, i32 noundef -2) #2
ret void
}
declare ptr @lua_newuserdata(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_getmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_setmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libucl/lua/extr_lua_ucl.c_lua_ucl_push_opaque.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/lua/extr_lua_ucl.c_lua_ucl_push_opaque.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OBJECT_META = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lua_ucl_push_opaque], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lua_ucl_push_opaque(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @lua_newuserdata(ptr noundef %0, i32 noundef 8) #2
store ptr %1, ptr %3, align 8, !tbaa !6
%4 = load i32, ptr @OBJECT_META, align 4, !tbaa !10
%5 = tail call i32 @luaL_getmetatable(ptr noundef %0, i32 noundef %4) #2
%6 = tail call i32 @lua_setmetatable(ptr noundef %0, i32 noundef -2) #2
ret void
}
declare ptr @lua_newuserdata(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_getmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_setmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| freebsd_contrib_libucl_lua_extr_lua_ucl.c_lua_ucl_push_opaque |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_sun4m_irq.c_sun4m_load_profile_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_sun4m_irq.c_sun4m_load_profile_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"
@timers_percpu = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sun4m_load_profile_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sun4m_load_profile_irq(i32 noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr @timers_percpu, align 8, !tbaa !5
%4 = sext i32 %0 to i64
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @sbus_writel(i32 noundef %1, ptr noundef %6) #2
ret void
}
declare i32 @sbus_writel(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_sun4m_irq.c_sun4m_load_profile_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_sun4m_irq.c_sun4m_load_profile_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@timers_percpu = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @sun4m_load_profile_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sun4m_load_profile_irq(i32 noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr @timers_percpu, align 8, !tbaa !6
%4 = sext i32 %0 to i64
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @sbus_writel(i32 noundef %1, ptr noundef %6) #2
ret void
}
declare i32 @sbus_writel(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_sparc_kernel_extr_sun4m_irq.c_sun4m_load_profile_irq |
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-ild.c_jrcxz.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-ild.c_jrcxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ptem_64bit = dso_local local_unnamed_addr global i32 0, align 4
@PTI_INST_JrCXZ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @jrcxz], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @jrcxz() #0 {
%1 = alloca [2 x i32], align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
store i64 227, ptr %1, align 8
%2 = load i32, ptr @ptem_64bit, align 4, !tbaa !5
%3 = load i32, ptr @PTI_INST_JrCXZ, align 4, !tbaa !5
%4 = call i32 @ptu_classify_s(ptr noundef nonnull %1, i32 noundef %2, i32 noundef %3) #3
%5 = call i32 (...) @ptu_passed() #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ptu_classify_s(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_passed(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-ild.c_jrcxz.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-ild.c_jrcxz.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ptem_64bit = common local_unnamed_addr global i32 0, align 4
@PTI_INST_JrCXZ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @jrcxz], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @jrcxz() #0 {
%1 = alloca [2 x i32], align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
store i64 227, ptr %1, align 8
%2 = load i32, ptr @ptem_64bit, align 4, !tbaa !6
%3 = load i32, ptr @PTI_INST_JrCXZ, align 4, !tbaa !6
%4 = call i32 @ptu_classify_s(ptr noundef nonnull %1, i32 noundef %2, i32 noundef %3) #3
%5 = call i32 @ptu_passed() #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ptu_classify_s(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_passed(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_processor-trace_libipt_test_src_extr_ptunit-ild.c_jrcxz |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/extr_hv_vhca.c_mlx5_hv_vhca_cleanup.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/extr_hv_vhca.c_mlx5_hv_vhca_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mlx5_hv_vhca = type { i32, i32, ptr }
@MLX5_HV_VHCA_AGENT_CONTROL = dso_local local_unnamed_addr global i64 0, align 8
@MLX5_HV_VHCA_AGENT_MAX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mlx5_hv_vhca_cleanup(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @IS_ERR_OR_NULL(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %32
4: ; preds = %1
%5 = getelementptr inbounds %struct.mlx5_hv_vhca, ptr %0, i64 0, i32 2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i64, ptr @MLX5_HV_VHCA_AGENT_CONTROL, align 8, !tbaa !11
%8 = getelementptr inbounds ptr, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = icmp eq ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %4
%12 = tail call i32 @mlx5_hv_vhca_control_agent_destroy(ptr noundef nonnull %9) #2
br label %13
13: ; preds = %11, %4
%14 = getelementptr inbounds %struct.mlx5_hv_vhca, ptr %0, i64 0, i32 1
%15 = tail call i32 @mutex_lock(ptr noundef nonnull %14) #2
%16 = load i32, ptr @MLX5_HV_VHCA_AGENT_MAX, align 4, !tbaa !14
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %13, %18
%19 = phi i64 [ %24, %18 ], [ 0, %13 ]
%20 = load ptr, ptr %5, align 8, !tbaa !5
%21 = getelementptr inbounds ptr, ptr %20, i64 %19
%22 = load ptr, ptr %21, align 8, !tbaa !13
%23 = tail call i32 @WARN_ON(ptr noundef %22) #2
%24 = add nuw nsw i64 %19, 1
%25 = load i32, ptr @MLX5_HV_VHCA_AGENT_MAX, align 4, !tbaa !14
%26 = sext i32 %25 to i64
%27 = icmp slt i64 %24, %26
br i1 %27, label %18, label %28, !llvm.loop !15
28: ; preds = %18, %13
%29 = tail call i32 @mutex_unlock(ptr noundef nonnull %14) #2
%30 = load i32, ptr %0, align 8, !tbaa !17
%31 = tail call i32 @mlx5_hv_unregister_invalidate(i32 noundef %30) #2
br label %32
32: ; preds = %1, %28
ret void
}
declare i64 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_hv_vhca_control_agent_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_hv_unregister_invalidate(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 = !{!"mlx5_hv_vhca", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/extr_hv_vhca.c_mlx5_hv_vhca_cleanup.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/extr_hv_vhca.c_mlx5_hv_vhca_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MLX5_HV_VHCA_AGENT_CONTROL = common local_unnamed_addr global i64 0, align 8
@MLX5_HV_VHCA_AGENT_MAX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mlx5_hv_vhca_cleanup(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @IS_ERR_OR_NULL(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %32
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i64, ptr @MLX5_HV_VHCA_AGENT_CONTROL, align 8, !tbaa !12
%8 = getelementptr inbounds ptr, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = icmp eq ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %4
%12 = tail call i32 @mlx5_hv_vhca_control_agent_destroy(ptr noundef nonnull %9) #2
br label %13
13: ; preds = %11, %4
%14 = getelementptr inbounds i8, ptr %0, i64 4
%15 = tail call i32 @mutex_lock(ptr noundef nonnull %14) #2
%16 = load i32, ptr @MLX5_HV_VHCA_AGENT_MAX, align 4, !tbaa !15
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %13, %18
%19 = phi i64 [ %24, %18 ], [ 0, %13 ]
%20 = load ptr, ptr %5, align 8, !tbaa !6
%21 = getelementptr inbounds ptr, ptr %20, i64 %19
%22 = load ptr, ptr %21, align 8, !tbaa !14
%23 = tail call i32 @WARN_ON(ptr noundef %22) #2
%24 = add nuw nsw i64 %19, 1
%25 = load i32, ptr @MLX5_HV_VHCA_AGENT_MAX, align 4, !tbaa !15
%26 = sext i32 %25 to i64
%27 = icmp slt i64 %24, %26
br i1 %27, label %18, label %28, !llvm.loop !16
28: ; preds = %18, %13
%29 = tail call i32 @mutex_unlock(ptr noundef nonnull %14) #2
%30 = load i32, ptr %0, align 8, !tbaa !18
%31 = tail call i32 @mlx5_hv_unregister_invalidate(i32 noundef %30) #2
br label %32
32: ; preds = %1, %28
ret void
}
declare i64 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_hv_vhca_control_agent_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_hv_unregister_invalidate(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 = !{!"mlx5_hv_vhca", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!7, !8, i64 0}
| linux_drivers_net_ethernet_mellanox_mlx5_core_lib_extr_hv_vhca.c_mlx5_hv_vhca_cleanup |
; ModuleID = 'AnghaBench/linux/drivers/media/radio/extr_radio-raremono.c_raremono_device_release.c'
source_filename = "AnghaBench/linux/drivers/media/radio/extr_radio-raremono.c_raremono_device_release.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @raremono_device_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @raremono_device_release(ptr noundef %0) #0 {
%2 = tail call ptr @to_raremono_dev(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @kfree(ptr noundef %3) #2
%5 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret void
}
declare ptr @to_raremono_dev(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"raremono_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/radio/extr_radio-raremono.c_raremono_device_release.c'
source_filename = "AnghaBench/linux/drivers/media/radio/extr_radio-raremono.c_raremono_device_release.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @raremono_device_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @raremono_device_release(ptr noundef %0) #0 {
%2 = tail call ptr @to_raremono_dev(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @kfree(ptr noundef %3) #2
%5 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret void
}
declare ptr @to_raremono_dev(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"raremono_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_media_radio_extr_radio-raremono.c_raremono_device_release |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_670x.c_ni_670x_ao_insn_write.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_670x.c_ni_670x_ao_insn_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.comedi_insn = type { i32, i32 }
@AO_CHAN_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@AO_VALUE_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ni_670x_ao_insn_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ni_670x_ao_insn_write(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 {
%5 = getelementptr inbounds %struct.comedi_insn, ptr %2, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i32 @CR_CHAN(i32 noundef %6) #2
%8 = load ptr, ptr %1, align 8, !tbaa !10
%9 = zext i32 %7 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = load i32, ptr %2, align 4, !tbaa !14
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %38
14: ; preds = %4
%15 = shl i32 %7, 1
%16 = and i32 %15, 30
%17 = lshr i32 %7, 4
%18 = and i32 %17, 1
%19 = or disjoint i32 %16, %18
br label %20
20: ; preds = %14, %20
%21 = phi i64 [ 0, %14 ], [ %32, %20 ]
%22 = getelementptr inbounds i32, ptr %3, i64 %21
%23 = load i32, ptr %22, align 4, !tbaa !13
%24 = load i64, ptr %0, align 8, !tbaa !15
%25 = load i64, ptr @AO_CHAN_OFFSET, align 8, !tbaa !18
%26 = add nsw i64 %25, %24
%27 = tail call i32 @writel(i32 noundef %19, i64 noundef %26) #2
%28 = load i64, ptr %0, align 8, !tbaa !15
%29 = load i64, ptr @AO_VALUE_OFFSET, align 8, !tbaa !18
%30 = add nsw i64 %29, %28
%31 = tail call i32 @writel(i32 noundef %23, i64 noundef %30) #2
%32 = add nuw nsw i64 %21, 1
%33 = load i32, ptr %2, align 4, !tbaa !14
%34 = sext i32 %33 to i64
%35 = icmp slt i64 %32, %34
br i1 %35, label %20, label %36, !llvm.loop !19
36: ; preds = %20
%37 = load ptr, ptr %1, align 8, !tbaa !10
br label %38
38: ; preds = %36, %4
%39 = phi ptr [ %8, %4 ], [ %37, %36 ]
%40 = phi i32 [ %11, %4 ], [ %23, %36 ]
%41 = getelementptr inbounds i32, ptr %39, i64 %9
store i32 %40, ptr %41, align 4, !tbaa !13
%42 = load i32, ptr %2, align 4, !tbaa !14
ret i32 %42
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"comedi_insn", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"comedi_subdevice", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"comedi_device", !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!17, !17, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_670x.c_ni_670x_ao_insn_write.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_670x.c_ni_670x_ao_insn_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AO_CHAN_OFFSET = common local_unnamed_addr global i64 0, align 8
@AO_VALUE_OFFSET = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ni_670x_ao_insn_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ni_670x_ao_insn_write(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 {
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i32 @CR_CHAN(i32 noundef %6) #2
%8 = load ptr, ptr %1, align 8, !tbaa !11
%9 = zext i32 %7 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = load i32, ptr %2, align 4, !tbaa !15
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %38
14: ; preds = %4
%15 = shl i32 %7, 1
%16 = and i32 %15, 30
%17 = lshr i32 %7, 4
%18 = and i32 %17, 1
%19 = or disjoint i32 %16, %18
br label %20
20: ; preds = %14, %20
%21 = phi i64 [ 0, %14 ], [ %32, %20 ]
%22 = getelementptr inbounds i32, ptr %3, i64 %21
%23 = load i32, ptr %22, align 4, !tbaa !14
%24 = load i64, ptr %0, align 8, !tbaa !16
%25 = load i64, ptr @AO_CHAN_OFFSET, align 8, !tbaa !19
%26 = add nsw i64 %25, %24
%27 = tail call i32 @writel(i32 noundef %19, i64 noundef %26) #2
%28 = load i64, ptr %0, align 8, !tbaa !16
%29 = load i64, ptr @AO_VALUE_OFFSET, align 8, !tbaa !19
%30 = add nsw i64 %29, %28
%31 = tail call i32 @writel(i32 noundef %23, i64 noundef %30) #2
%32 = add nuw nsw i64 %21, 1
%33 = load i32, ptr %2, align 4, !tbaa !15
%34 = sext i32 %33 to i64
%35 = icmp slt i64 %32, %34
br i1 %35, label %20, label %36, !llvm.loop !20
36: ; preds = %20
%37 = load ptr, ptr %1, align 8, !tbaa !11
br label %38
38: ; preds = %36, %4
%39 = phi ptr [ %8, %4 ], [ %37, %36 ]
%40 = phi i32 [ %11, %4 ], [ %23, %36 ]
%41 = getelementptr inbounds i32, ptr %39, i64 %9
store i32 %40, ptr %41, align 4, !tbaa !14
%42 = load i32, ptr %2, align 4, !tbaa !15
ret i32 %42
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"comedi_insn", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"comedi_subdevice", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"comedi_device", !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!18, !18, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| linux_drivers_staging_comedi_drivers_extr_ni_670x.c_ni_670x_ao_insn_write |
; ModuleID = 'AnghaBench/postgres/contrib/jsonb_plperl/extr_jsonb_plperl.c_Jsonb_to_SV.c'
source_filename = "AnghaBench/postgres/contrib/jsonb_plperl/extr_jsonb_plperl.c_Jsonb_to_SV.c"
target datalayout = "e-m:e-p270:32:32-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_10__ = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { %struct.TYPE_8__, %struct.TYPE_7__ }
%struct.TYPE_8__ = type { i32, i32 }
%struct.TYPE_7__ = type { i32 }
@dTHX = dso_local local_unnamed_addr global i32 0, align 4
@WJB_ELEM = dso_local local_unnamed_addr global i32 0, align 4
@WJB_END_ARRAY = dso_local local_unnamed_addr global i32 0, align 4
@WJB_DONE = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"unexpected jsonb token: %d\00", align 1
@WJB_KEY = dso_local local_unnamed_addr global i32 0, align 4
@WJB_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Jsonb_to_SV], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @Jsonb_to_SV(ptr noundef %0) #0 {
%2 = alloca %struct.TYPE_10__, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.TYPE_10__, align 4
%5 = alloca %struct.TYPE_10__, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%6 = tail call ptr @JsonbIteratorInit(ptr noundef %0) #3
store ptr %6, ptr %3, align 8, !tbaa !5
%7 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
switch i32 %7, label %75 [
i32 129, label %8
i32 128, label %48
]
8: ; preds = %1
%9 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !9
%11 = icmp eq i32 %10, 0
br i1 %11, label %30, label %12
12: ; preds = %8
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3
%13 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%14 = load i32, ptr @WJB_ELEM, align 4, !tbaa !15
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef 1) #3
%18 = load i32, ptr @WJB_END_ARRAY, align 4, !tbaa !15
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef 1) #3
%22 = load i32, ptr @WJB_DONE, align 4, !tbaa !15
%23 = icmp eq i32 %21, %22
br i1 %23, label %28, label %24
24: ; preds = %20, %16, %12
%25 = phi i32 [ %13, %12 ], [ %17, %16 ], [ %21, %20 ]
%26 = load i32, ptr @ERROR, align 4, !tbaa !15
%27 = call i32 @elog(i32 noundef %26, ptr noundef nonnull @.str, i32 noundef %25) #3
br label %28
28: ; preds = %24, %20
%29 = call ptr @JsonbValue_to_SV(ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3
br label %78
30: ; preds = %8
%31 = call ptr (...) @newAV() #3
%32 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%33 = load i32, ptr @WJB_DONE, align 4, !tbaa !15
%34 = icmp eq i32 %32, %33
br i1 %34, label %46, label %35
35: ; preds = %30, %42
%36 = phi i32 [ %43, %42 ], [ %32, %30 ]
%37 = load i32, ptr @WJB_ELEM, align 4, !tbaa !15
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = call ptr @JsonbValue_to_SV(ptr noundef nonnull %2) #3
%41 = call i32 @av_push(ptr noundef %31, ptr noundef %40) #3
br label %42
42: ; preds = %39, %35
%43 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%44 = load i32, ptr @WJB_DONE, align 4, !tbaa !15
%45 = icmp eq i32 %43, %44
br i1 %45, label %46, label %35, !llvm.loop !16
46: ; preds = %42, %30
%47 = call ptr @newRV(ptr noundef %31) #3
br label %78
48: ; preds = %1
%49 = call ptr (...) @newHV() #3
%50 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%51 = load i32, ptr @WJB_DONE, align 4, !tbaa !15
%52 = icmp eq i32 %50, %51
br i1 %52, label %73, label %53
53: ; preds = %48
%54 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1
br label %55
55: ; preds = %53, %69
%56 = phi i32 [ %50, %53 ], [ %70, %69 ]
%57 = load i32, ptr @WJB_KEY, align 4, !tbaa !15
%58 = icmp eq i32 %56, %57
br i1 %58, label %59, label %69
59: ; preds = %55
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3
%60 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef 1) #3
%61 = load i32, ptr @WJB_VALUE, align 4, !tbaa !15
%62 = icmp eq i32 %60, %61
br i1 %62, label %63, label %68
63: ; preds = %59
%64 = call ptr @JsonbValue_to_SV(ptr noundef nonnull %5) #3
%65 = load i32, ptr %54, align 4, !tbaa !18
%66 = load i32, ptr %2, align 4, !tbaa !19
%67 = call i32 @hv_store(ptr noundef %49, i32 noundef %65, i32 noundef %66, ptr noundef %64, i32 noundef 0) #3
br label %68
68: ; preds = %63, %59
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3
br label %69
69: ; preds = %68, %55
%70 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%71 = load i32, ptr @WJB_DONE, align 4, !tbaa !15
%72 = icmp eq i32 %70, %71
br i1 %72, label %73, label %55, !llvm.loop !20
73: ; preds = %69, %48
%74 = call ptr @newRV(ptr noundef %49) #3
br label %78
75: ; preds = %1
%76 = load i32, ptr @ERROR, align 4, !tbaa !15
%77 = call i32 @elog(i32 noundef %76, ptr noundef nonnull @.str, i32 noundef %7) #3
br label %78
78: ; preds = %75, %73, %46, %28
%79 = phi ptr [ null, %75 ], [ %74, %73 ], [ %29, %28 ], [ %47, %46 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3
ret ptr %79
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @JsonbIteratorInit(ptr noundef) local_unnamed_addr #2
declare i32 @JsonbIteratorNext(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @JsonbValue_to_SV(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @newAV(...) local_unnamed_addr #2
declare i32 @av_push(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @newRV(ptr noundef) local_unnamed_addr #2
declare ptr @newHV(...) local_unnamed_addr #2
declare i32 @hv_store(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 8}
!10 = !{!"TYPE_10__", !11, i64 0}
!11 = !{!"TYPE_9__", !12, i64 0, !14, i64 8}
!12 = !{!"TYPE_8__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !7, i64 0}
!14 = !{!"TYPE_7__", !13, i64 0}
!15 = !{!13, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!10, !13, i64 4}
!19 = !{!10, !13, i64 0}
!20 = distinct !{!20, !17}
| ; ModuleID = 'AnghaBench/postgres/contrib/jsonb_plperl/extr_jsonb_plperl.c_Jsonb_to_SV.c'
source_filename = "AnghaBench/postgres/contrib/jsonb_plperl/extr_jsonb_plperl.c_Jsonb_to_SV.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_10__ = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { %struct.TYPE_8__, %struct.TYPE_7__ }
%struct.TYPE_8__ = type { i32, i32 }
%struct.TYPE_7__ = type { i32 }
@dTHX = common local_unnamed_addr global i32 0, align 4
@WJB_ELEM = common local_unnamed_addr global i32 0, align 4
@WJB_END_ARRAY = common local_unnamed_addr global i32 0, align 4
@WJB_DONE = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"unexpected jsonb token: %d\00", align 1
@WJB_KEY = common local_unnamed_addr global i32 0, align 4
@WJB_VALUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Jsonb_to_SV], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @Jsonb_to_SV(ptr noundef %0) #0 {
%2 = alloca %struct.TYPE_10__, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.TYPE_10__, align 4
%5 = alloca %struct.TYPE_10__, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%6 = tail call ptr @JsonbIteratorInit(ptr noundef %0) #3
store ptr %6, ptr %3, align 8, !tbaa !6
%7 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
switch i32 %7, label %75 [
i32 129, label %8
i32 128, label %48
]
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %2, i64 8
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = icmp eq i32 %10, 0
br i1 %11, label %30, label %12
12: ; preds = %8
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3
%13 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%14 = load i32, ptr @WJB_ELEM, align 4, !tbaa !16
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef 1) #3
%18 = load i32, ptr @WJB_END_ARRAY, align 4, !tbaa !16
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef 1) #3
%22 = load i32, ptr @WJB_DONE, align 4, !tbaa !16
%23 = icmp eq i32 %21, %22
br i1 %23, label %28, label %24
24: ; preds = %20, %16, %12
%25 = phi i32 [ %13, %12 ], [ %17, %16 ], [ %21, %20 ]
%26 = load i32, ptr @ERROR, align 4, !tbaa !16
%27 = call i32 @elog(i32 noundef %26, ptr noundef nonnull @.str, i32 noundef %25) #3
br label %28
28: ; preds = %24, %20
%29 = call ptr @JsonbValue_to_SV(ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3
br label %78
30: ; preds = %8
%31 = call ptr @newAV() #3
%32 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%33 = load i32, ptr @WJB_DONE, align 4, !tbaa !16
%34 = icmp eq i32 %32, %33
br i1 %34, label %46, label %35
35: ; preds = %30, %42
%36 = phi i32 [ %43, %42 ], [ %32, %30 ]
%37 = load i32, ptr @WJB_ELEM, align 4, !tbaa !16
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = call ptr @JsonbValue_to_SV(ptr noundef nonnull %2) #3
%41 = call i32 @av_push(ptr noundef %31, ptr noundef %40) #3
br label %42
42: ; preds = %39, %35
%43 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%44 = load i32, ptr @WJB_DONE, align 4, !tbaa !16
%45 = icmp eq i32 %43, %44
br i1 %45, label %46, label %35, !llvm.loop !17
46: ; preds = %42, %30
%47 = call ptr @newRV(ptr noundef %31) #3
br label %78
48: ; preds = %1
%49 = call ptr @newHV() #3
%50 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%51 = load i32, ptr @WJB_DONE, align 4, !tbaa !16
%52 = icmp eq i32 %50, %51
br i1 %52, label %73, label %53
53: ; preds = %48
%54 = getelementptr inbounds i8, ptr %2, i64 4
br label %55
55: ; preds = %53, %69
%56 = phi i32 [ %50, %53 ], [ %70, %69 ]
%57 = load i32, ptr @WJB_KEY, align 4, !tbaa !16
%58 = icmp eq i32 %56, %57
br i1 %58, label %59, label %69
59: ; preds = %55
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3
%60 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef 1) #3
%61 = load i32, ptr @WJB_VALUE, align 4, !tbaa !16
%62 = icmp eq i32 %60, %61
br i1 %62, label %63, label %68
63: ; preds = %59
%64 = call ptr @JsonbValue_to_SV(ptr noundef nonnull %5) #3
%65 = load i32, ptr %54, align 4, !tbaa !19
%66 = load i32, ptr %2, align 4, !tbaa !20
%67 = call i32 @hv_store(ptr noundef %49, i32 noundef %65, i32 noundef %66, ptr noundef %64, i32 noundef 0) #3
br label %68
68: ; preds = %63, %59
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3
br label %69
69: ; preds = %68, %55
%70 = call i32 @JsonbIteratorNext(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1) #3
%71 = load i32, ptr @WJB_DONE, align 4, !tbaa !16
%72 = icmp eq i32 %70, %71
br i1 %72, label %73, label %55, !llvm.loop !21
73: ; preds = %69, %48
%74 = call ptr @newRV(ptr noundef %49) #3
br label %78
75: ; preds = %1
%76 = load i32, ptr @ERROR, align 4, !tbaa !16
%77 = call i32 @elog(i32 noundef %76, ptr noundef nonnull @.str, i32 noundef %7) #3
br label %78
78: ; preds = %75, %73, %46, %28
%79 = phi ptr [ null, %75 ], [ %74, %73 ], [ %29, %28 ], [ %47, %46 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3
ret ptr %79
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @JsonbIteratorInit(ptr noundef) local_unnamed_addr #2
declare i32 @JsonbIteratorNext(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @JsonbValue_to_SV(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @newAV(...) local_unnamed_addr #2
declare i32 @av_push(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @newRV(ptr noundef) local_unnamed_addr #2
declare ptr @newHV(...) local_unnamed_addr #2
declare i32 @hv_store(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 8}
!11 = !{!"TYPE_10__", !12, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0, !15, i64 8}
!13 = !{!"TYPE_8__", !14, i64 0, !14, i64 4}
!14 = !{!"int", !8, i64 0}
!15 = !{!"TYPE_7__", !14, i64 0}
!16 = !{!14, !14, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!11, !14, i64 4}
!20 = !{!11, !14, i64 0}
!21 = distinct !{!21, !18}
| postgres_contrib_jsonb_plperl_extr_jsonb_plperl.c_Jsonb_to_SV |
; ModuleID = 'AnghaBench/curl/lib/extr_content_encoding.c_Curl_build_unencoding_stack.c'
source_filename = "AnghaBench/curl/lib/extr_content_encoding.c_Curl_build_unencoding_stack.c"
target datalayout = "e-m:e-p270:32:32-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.SingleRequest = type { ptr, i32 }
@.str = private unnamed_addr constant [8 x i8] c"chunked\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@client_encoding = dso_local constant i32 0, align 4
@CURLE_OUT_OF_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@error_encoding = dso_local global i32 0, align 4
@CURLE_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @Curl_build_unencoding_stack(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = icmp ne i32 %2, 0
%6 = getelementptr inbounds %struct.SingleRequest, ptr %4, i64 0, i32 1
br label %7
7: ; preds = %19, %3
%8 = phi ptr [ %1, %3 ], [ %20, %19 ]
%9 = load i8, ptr %8, align 1, !tbaa !10
%10 = tail call i64 @ISSPACE(i8 noundef signext %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %7
%13 = load i8, ptr %8, align 1, !tbaa !10
%14 = icmp eq i8 %13, 44
br i1 %14, label %17, label %15
15: ; preds = %12
%16 = ptrtoint ptr %8 to i64
br label %21
17: ; preds = %7, %12
%18 = getelementptr inbounds i8, ptr %8, i64 1
br label %19
19: ; preds = %17, %59
%20 = phi ptr [ %18, %17 ], [ %23, %59 ]
br label %7, !llvm.loop !11
21: ; preds = %15, %25
%22 = phi i8 [ %33, %25 ], [ %13, %15 ]
%23 = phi ptr [ %32, %25 ], [ %8, %15 ]
%24 = phi i64 [ %31, %25 ], [ 0, %15 ]
switch i8 %22, label %25 [
i8 0, label %34
i8 44, label %34
]
25: ; preds = %21
%26 = tail call i64 @ISSPACE(i8 noundef signext %22) #2
%27 = icmp eq i64 %26, 0
%28 = ptrtoint ptr %23 to i64
%29 = sub i64 %28, %16
%30 = add i64 %29, 1
%31 = select i1 %27, i64 %30, i64 %24
%32 = getelementptr inbounds i8, ptr %23, i64 1
%33 = load i8, ptr %32, align 1, !tbaa !10
br label %21, !llvm.loop !13
34: ; preds = %21, %21
%35 = icmp eq i64 %24, 7
%36 = select i1 %5, i1 %35, i1 false
br i1 %36, label %37, label %43
37: ; preds = %34
%38 = tail call i64 @strncasecompare(ptr noundef nonnull %8, ptr noundef nonnull @.str, i32 noundef 7) #2
%39 = icmp eq i64 %38, 0
br i1 %39, label %45, label %40
40: ; preds = %37
%41 = load i32, ptr @TRUE, align 4, !tbaa !14
store i32 %41, ptr %6, align 8, !tbaa !16
%42 = tail call i32 @Curl_httpchunk_init(ptr noundef nonnull %0) #2
br label %59
43: ; preds = %34
%44 = icmp eq i64 %24, 0
br i1 %44, label %59, label %45
45: ; preds = %37, %43
%46 = tail call ptr @find_encoding(ptr noundef nonnull %8, i64 noundef %24) #2
%47 = load ptr, ptr %4, align 8, !tbaa !18
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = tail call ptr @new_unencoding_writer(ptr noundef nonnull %0, ptr noundef nonnull @client_encoding, ptr noundef null) #2
store ptr %50, ptr %4, align 8, !tbaa !18
%51 = icmp eq ptr %50, null
br i1 %51, label %62, label %52
52: ; preds = %49, %45
%53 = phi ptr [ %50, %49 ], [ %47, %45 ]
%54 = icmp eq ptr %46, null
%55 = select i1 %54, ptr @error_encoding, ptr %46
%56 = tail call ptr @new_unencoding_writer(ptr noundef nonnull %0, ptr noundef nonnull %55, ptr noundef nonnull %53) #2
%57 = icmp eq ptr %56, null
br i1 %57, label %62, label %58
58: ; preds = %52
store ptr %56, ptr %4, align 8, !tbaa !18
br label %59
59: ; preds = %43, %40, %58
%60 = load i8, ptr %23, align 1, !tbaa !10
%61 = icmp eq i8 %60, 0
br i1 %61, label %62, label %19
62: ; preds = %59, %52, %49
%63 = phi ptr [ @CURLE_OUT_OF_MEMORY, %49 ], [ @CURLE_OUT_OF_MEMORY, %52 ], [ @CURLE_OK, %59 ]
%64 = load i32, ptr %63, align 4, !tbaa !14
ret i32 %64
}
declare i64 @ISSPACE(i8 noundef signext) local_unnamed_addr #1
declare i64 @strncasecompare(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Curl_httpchunk_init(ptr noundef) local_unnamed_addr #1
declare ptr @find_encoding(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @new_unencoding_writer(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, !7, i64 0}
!6 = !{!"connectdata", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !15, i64 8}
!17 = !{!"SingleRequest", !7, i64 0, !15, i64 8}
!18 = !{!17, !7, i64 0}
| ; ModuleID = 'AnghaBench/curl/lib/extr_content_encoding.c_Curl_build_unencoding_stack.c'
source_filename = "AnghaBench/curl/lib/extr_content_encoding.c_Curl_build_unencoding_stack.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 [8 x i8] c"chunked\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@client_encoding = common global i32 0, align 4
@CURLE_OUT_OF_MEMORY = common local_unnamed_addr global i32 0, align 4
@error_encoding = common global i32 0, align 4
@CURLE_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @Curl_build_unencoding_stack(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = icmp ne i32 %2, 0
%6 = getelementptr inbounds i8, ptr %4, i64 8
br label %7
7: ; preds = %19, %3
%8 = phi ptr [ %1, %3 ], [ %20, %19 ]
%9 = load i8, ptr %8, align 1, !tbaa !11
%10 = tail call i64 @ISSPACE(i8 noundef signext %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %7
%13 = load i8, ptr %8, align 1, !tbaa !11
%14 = icmp eq i8 %13, 44
br i1 %14, label %17, label %15
15: ; preds = %12
%16 = ptrtoint ptr %8 to i64
br label %21
17: ; preds = %7, %12
%18 = getelementptr inbounds i8, ptr %8, i64 1
br label %19
19: ; preds = %17, %59
%20 = phi ptr [ %18, %17 ], [ %23, %59 ]
br label %7, !llvm.loop !12
21: ; preds = %15, %25
%22 = phi i8 [ %33, %25 ], [ %13, %15 ]
%23 = phi ptr [ %32, %25 ], [ %8, %15 ]
%24 = phi i64 [ %31, %25 ], [ 0, %15 ]
switch i8 %22, label %25 [
i8 0, label %34
i8 44, label %34
]
25: ; preds = %21
%26 = tail call i64 @ISSPACE(i8 noundef signext %22) #2
%27 = icmp eq i64 %26, 0
%28 = ptrtoint ptr %23 to i64
%29 = sub i64 %28, %16
%30 = add i64 %29, 1
%31 = select i1 %27, i64 %30, i64 %24
%32 = getelementptr inbounds i8, ptr %23, i64 1
%33 = load i8, ptr %32, align 1, !tbaa !11
br label %21, !llvm.loop !14
34: ; preds = %21, %21
%35 = icmp eq i64 %24, 7
%36 = select i1 %5, i1 %35, i1 false
br i1 %36, label %37, label %43
37: ; preds = %34
%38 = tail call i64 @strncasecompare(ptr noundef nonnull %8, ptr noundef nonnull @.str, i32 noundef 7) #2
%39 = icmp eq i64 %38, 0
br i1 %39, label %45, label %40
40: ; preds = %37
%41 = load i32, ptr @TRUE, align 4, !tbaa !15
store i32 %41, ptr %6, align 8, !tbaa !17
%42 = tail call i32 @Curl_httpchunk_init(ptr noundef nonnull %0) #2
br label %59
43: ; preds = %34
%44 = icmp eq i64 %24, 0
br i1 %44, label %59, label %45
45: ; preds = %37, %43
%46 = tail call ptr @find_encoding(ptr noundef nonnull %8, i64 noundef %24) #2
%47 = load ptr, ptr %4, align 8, !tbaa !19
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = tail call ptr @new_unencoding_writer(ptr noundef nonnull %0, ptr noundef nonnull @client_encoding, ptr noundef null) #2
store ptr %50, ptr %4, align 8, !tbaa !19
%51 = icmp eq ptr %50, null
br i1 %51, label %62, label %52
52: ; preds = %49, %45
%53 = phi ptr [ %50, %49 ], [ %47, %45 ]
%54 = icmp eq ptr %46, null
%55 = select i1 %54, ptr @error_encoding, ptr %46
%56 = tail call ptr @new_unencoding_writer(ptr noundef nonnull %0, ptr noundef nonnull %55, ptr noundef nonnull %53) #2
%57 = icmp eq ptr %56, null
br i1 %57, label %62, label %58
58: ; preds = %52
store ptr %56, ptr %4, align 8, !tbaa !19
br label %59
59: ; preds = %58, %43, %40
%60 = load i8, ptr %23, align 1, !tbaa !11
%61 = icmp eq i8 %60, 0
br i1 %61, label %62, label %19
62: ; preds = %59, %52, %49
%63 = phi ptr [ @CURLE_OUT_OF_MEMORY, %49 ], [ @CURLE_OUT_OF_MEMORY, %52 ], [ @CURLE_OK, %59 ]
%64 = load i32, ptr %63, align 4, !tbaa !15
ret i32 %64
}
declare i64 @ISSPACE(i8 noundef signext) local_unnamed_addr #1
declare i64 @strncasecompare(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Curl_httpchunk_init(ptr noundef) local_unnamed_addr #1
declare ptr @find_encoding(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @new_unencoding_writer(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, !8, i64 0}
!7 = !{!"connectdata", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!9, !9, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!18, !16, i64 8}
!18 = !{!"SingleRequest", !8, i64 0, !16, i64 8}
!19 = !{!18, !8, i64 0}
| curl_lib_extr_content_encoding.c_Curl_build_unencoding_stack |
; ModuleID = 'AnghaBench/linux/drivers/dma/dw/extr_core.c_do_dw_dma_on.c'
source_filename = "AnghaBench/linux/drivers/dma/dw/extr_core.c_do_dw_dma_on.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CFG = dso_local local_unnamed_addr global i32 0, align 4
@DW_CFG_DMA_EN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @do_dw_dma_on(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @CFG, align 4, !tbaa !5
%3 = load i32, ptr @DW_CFG_DMA_EN, align 4, !tbaa !5
%4 = tail call i32 @dma_writel(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @dma_writel(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/dma/dw/extr_core.c_do_dw_dma_on.c'
source_filename = "AnghaBench/linux/drivers/dma/dw/extr_core.c_do_dw_dma_on.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CFG = common local_unnamed_addr global i32 0, align 4
@DW_CFG_DMA_EN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @do_dw_dma_on(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @CFG, align 4, !tbaa !6
%3 = load i32, ptr @DW_CFG_DMA_EN, align 4, !tbaa !6
%4 = tail call i32 @dma_writel(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @dma_writel(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_dma_dw_extr_core.c_do_dw_dma_on |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_leaf.c_xfs_dir2_leaf_replace.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_leaf.c_xfs_dir2_leaf_replace.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_23__ = type { i64, ptr, ptr }
%struct.TYPE_20__ = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @xfs_dir2_leaf_replace(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @trace_xfs_dir2_leaf_replace(ptr noundef %0) #3
%6 = call i32 @xfs_dir2_leaf_lookup_int(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %2) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %43
8: ; preds = %1
%9 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !5
%11 = load ptr, ptr %4, align 8, !tbaa !11
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load i32, ptr %3, align 4, !tbaa !16
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds %struct.TYPE_20__, ptr %13, i64 %15
%17 = load ptr, ptr %2, align 8, !tbaa !11
%18 = load ptr, ptr %17, align 8, !tbaa !12
%19 = load i32, ptr %10, align 4, !tbaa !18
%20 = load i32, ptr %16, align 4, !tbaa !20
%21 = call i32 @be32_to_cpu(i32 noundef %20) #3
%22 = call i32 @xfs_dir2_dataptr_to_off(i32 noundef %19, i32 noundef %21) #3
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %18, i64 %23
%25 = load i64, ptr %0, align 8, !tbaa !22
%26 = load i32, ptr %24, align 4, !tbaa !23
%27 = call i64 @be64_to_cpu(i32 noundef %26) #3
%28 = icmp ne i64 %25, %27
%29 = zext i1 %28 to i32
%30 = call i32 @ASSERT(i32 noundef %29) #3
%31 = load i64, ptr %0, align 8, !tbaa !22
%32 = call i32 @cpu_to_be64(i64 noundef %31) #3
store i32 %32, ptr %24, align 4, !tbaa !23
%33 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !25
%35 = load ptr, ptr %2, align 8, !tbaa !11
%36 = call i32 @xfs_dir2_data_log_entry(ptr noundef %34, ptr noundef %35, ptr noundef nonnull %24) #3
%37 = load ptr, ptr %2, align 8, !tbaa !11
%38 = call i32 @xfs_da_buf_done(ptr noundef %37) #3
%39 = load ptr, ptr %4, align 8, !tbaa !11
%40 = call i32 @xfs_dir2_leaf_check(ptr noundef nonnull %10, ptr noundef %39) #3
%41 = load ptr, ptr %4, align 8, !tbaa !11
%42 = call i32 @xfs_da_brelse(ptr noundef %34, ptr noundef %41) #3
br label %43
43: ; preds = %1, %8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @trace_xfs_dir2_leaf_replace(ptr noundef) local_unnamed_addr #2
declare i32 @xfs_dir2_leaf_lookup_int(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xfs_dir2_dataptr_to_off(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i64 @be64_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_be64(i64 noundef) local_unnamed_addr #2
declare i32 @xfs_dir2_data_log_entry(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xfs_da_buf_done(ptr noundef) local_unnamed_addr #2
declare i32 @xfs_dir2_leaf_check(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xfs_da_brelse(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, !10, i64 16}
!6 = !{!"TYPE_23__", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_22__", !10, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_19__", !10, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"TYPE_18__", !17, i64 0}
!20 = !{!21, !17, i64 0}
!21 = !{!"TYPE_20__", !17, i64 0}
!22 = !{!6, !7, i64 0}
!23 = !{!24, !17, i64 0}
!24 = !{!"TYPE_21__", !17, i64 0}
!25 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_leaf.c_xfs_dir2_leaf_replace.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_dir2_leaf.c_xfs_dir2_leaf_replace.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_20__ = type { i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @xfs_dir2_leaf_replace(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @trace_xfs_dir2_leaf_replace(ptr noundef %0) #3
%6 = call i32 @xfs_dir2_leaf_lookup_int(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %2) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %43
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !6
%11 = load ptr, ptr %4, align 8, !tbaa !12
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = load i32, ptr %3, align 4, !tbaa !17
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds %struct.TYPE_20__, ptr %13, i64 %15
%17 = load ptr, ptr %2, align 8, !tbaa !12
%18 = load ptr, ptr %17, align 8, !tbaa !13
%19 = load i32, ptr %10, align 4, !tbaa !19
%20 = load i32, ptr %16, align 4, !tbaa !21
%21 = call i32 @be32_to_cpu(i32 noundef %20) #3
%22 = call i32 @xfs_dir2_dataptr_to_off(i32 noundef %19, i32 noundef %21) #3
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %18, i64 %23
%25 = load i64, ptr %0, align 8, !tbaa !23
%26 = load i32, ptr %24, align 4, !tbaa !24
%27 = call i64 @be64_to_cpu(i32 noundef %26) #3
%28 = icmp ne i64 %25, %27
%29 = zext i1 %28 to i32
%30 = call i32 @ASSERT(i32 noundef %29) #3
%31 = load i64, ptr %0, align 8, !tbaa !23
%32 = call i32 @cpu_to_be64(i64 noundef %31) #3
store i32 %32, ptr %24, align 4, !tbaa !24
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !26
%35 = load ptr, ptr %2, align 8, !tbaa !12
%36 = call i32 @xfs_dir2_data_log_entry(ptr noundef %34, ptr noundef %35, ptr noundef nonnull %24) #3
%37 = load ptr, ptr %2, align 8, !tbaa !12
%38 = call i32 @xfs_da_buf_done(ptr noundef %37) #3
%39 = load ptr, ptr %4, align 8, !tbaa !12
%40 = call i32 @xfs_dir2_leaf_check(ptr noundef nonnull %10, ptr noundef %39) #3
%41 = load ptr, ptr %4, align 8, !tbaa !12
%42 = call i32 @xfs_da_brelse(ptr noundef %34, ptr noundef %41) #3
br label %43
43: ; preds = %1, %8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @trace_xfs_dir2_leaf_replace(ptr noundef) local_unnamed_addr #2
declare i32 @xfs_dir2_leaf_lookup_int(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xfs_dir2_dataptr_to_off(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i64 @be64_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_be64(i64 noundef) local_unnamed_addr #2
declare i32 @xfs_dir2_data_log_entry(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xfs_da_buf_done(ptr noundef) local_unnamed_addr #2
declare i32 @xfs_dir2_leaf_check(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xfs_da_brelse(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, !11, i64 16}
!7 = !{!"TYPE_23__", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_22__", !11, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_19__", !11, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !9, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"TYPE_18__", !18, i64 0}
!21 = !{!22, !18, i64 0}
!22 = !{!"TYPE_20__", !18, i64 0}
!23 = !{!7, !8, i64 0}
!24 = !{!25, !18, i64 0}
!25 = !{!"TYPE_21__", !18, i64 0}
!26 = !{!7, !11, i64 8}
| fastsocket_kernel_fs_xfs_extr_xfs_dir2_leaf.c_xfs_dir2_leaf_replace |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_reset.c_snd_gf1_alloc_voice.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_reset.c_snd_gf1_alloc_voice.c"
target datalayout = "e-m:e-p270:32:32-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.snd_gus_card = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64, i64, ptr }
%struct.snd_gus_voice = type { i32, i32, i64, i32 }
@SNDRV_GF1_VOICE_TYPE_PCM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @snd_gf1_alloc_voice(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%6 = load i32, ptr @SNDRV_GF1_VOICE_TYPE_PCM, align 4, !tbaa !5
%7 = icmp eq i32 %6, %1
br i1 %7, label %8, label %16
8: ; preds = %4
%9 = getelementptr inbounds %struct.snd_gus_card, ptr %0, i64 0, i32 1
%10 = load i64, ptr %9, align 8, !tbaa !9
%11 = getelementptr inbounds %struct.snd_gus_card, ptr %0, i64 0, i32 1, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = icmp slt i64 %10, %12
br i1 %13, label %16, label %14
14: ; preds = %8
%15 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %77
16: ; preds = %8, %4
%17 = getelementptr inbounds %struct.snd_gus_card, ptr %0, i64 0, i32 1, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !15
br label %37
19: ; preds = %37
%20 = or disjoint i64 %38, 1
%21 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %20, i32 3
%22 = load i32, ptr %21, align 8, !tbaa !16
%23 = icmp eq i32 %22, 0
br i1 %23, label %42, label %24
24: ; preds = %19
%25 = or disjoint i64 %38, 2
%26 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %25, i32 3
%27 = load i32, ptr %26, align 8, !tbaa !16
%28 = icmp eq i32 %27, 0
br i1 %28, label %42, label %29
29: ; preds = %24
%30 = or disjoint i64 %38, 3
%31 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %30, i32 3
%32 = load i32, ptr %31, align 8, !tbaa !16
%33 = icmp eq i32 %32, 0
br i1 %33, label %42, label %34
34: ; preds = %29
%35 = add nuw nsw i64 %38, 4
%36 = icmp eq i64 %35, 32
br i1 %36, label %47, label %37, !llvm.loop !18
37: ; preds = %34, %16
%38 = phi i64 [ 0, %16 ], [ %35, %34 ]
%39 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %38, i32 3
%40 = load i32, ptr %39, align 8, !tbaa !16
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %19
42: ; preds = %29, %24, %19, %37
%43 = phi i64 [ %38, %37 ], [ %20, %19 ], [ %25, %24 ], [ %30, %29 ]
%44 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %43
%45 = tail call i32 @snd_gf1_alloc_voice_use(ptr noundef nonnull %0, ptr noundef %44, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%46 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %77
47: ; preds = %34, %72
%48 = phi i64 [ %73, %72 ], [ 0, %34 ]
%49 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %48, i32 2
%50 = load i64, ptr %49, align 8, !tbaa !20
%51 = icmp eq i64 %50, 0
br i1 %51, label %63, label %52
52: ; preds = %47
%53 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %48, i32 1
%54 = load i32, ptr %53, align 4, !tbaa !21
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %63
56: ; preds = %68, %52
%57 = phi i64 [ %48, %52 ], [ %64, %68 ]
%58 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %57
%59 = load i32, ptr %58, align 8, !tbaa !22
%60 = tail call i32 @snd_gf1_clear_voices(ptr noundef nonnull %0, i32 noundef %59, i32 noundef %59) #2
%61 = tail call i32 @snd_gf1_alloc_voice_use(ptr noundef nonnull %0, ptr noundef nonnull %58, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%62 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %77
63: ; preds = %47, %52
%64 = or disjoint i64 %48, 1
%65 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %64, i32 2
%66 = load i64, ptr %65, align 8, !tbaa !20
%67 = icmp eq i64 %66, 0
br i1 %67, label %72, label %68
68: ; preds = %63
%69 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %64, i32 1
%70 = load i32, ptr %69, align 4, !tbaa !21
%71 = icmp eq i32 %70, 0
br i1 %71, label %56, label %72
72: ; preds = %68, %63
%73 = add nuw nsw i64 %48, 2
%74 = icmp eq i64 %73, 32
br i1 %74, label %75, label %47, !llvm.loop !23
75: ; preds = %72
%76 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
br label %77
77: ; preds = %75, %56, %42, %14
%78 = phi ptr [ null, %14 ], [ %44, %42 ], [ %58, %56 ], [ null, %75 ]
ret ptr %78
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snd_gf1_alloc_voice_use(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_gf1_clear_voices(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"snd_gus_card", !6, i64 0, !11, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"long", !7, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!10, !12, i64 16}
!15 = !{!10, !13, i64 24}
!16 = !{!17, !6, i64 16}
!17 = !{!"snd_gus_voice", !6, i64 0, !6, i64 4, !12, i64 8, !6, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!17, !12, i64 8}
!21 = !{!17, !6, i64 4}
!22 = !{!17, !6, i64 0}
!23 = distinct !{!23, !19}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_reset.c_snd_gf1_alloc_voice.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_reset.c_snd_gf1_alloc_voice.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.snd_gus_voice = type { i32, i32, i64, i32 }
@SNDRV_GF1_VOICE_TYPE_PCM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @snd_gf1_alloc_voice(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%6 = load i32, ptr @SNDRV_GF1_VOICE_TYPE_PCM, align 4, !tbaa !6
%7 = icmp eq i32 %6, %1
br i1 %7, label %8, label %16
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i64, ptr %9, align 8, !tbaa !10
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = icmp slt i64 %10, %12
br i1 %13, label %16, label %14
14: ; preds = %8
%15 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %51
16: ; preds = %8, %4
%17 = getelementptr inbounds i8, ptr %0, i64 24
%18 = load ptr, ptr %17, align 8, !tbaa !16
br label %22
19: ; preds = %22
%20 = add nuw nsw i64 %23, 1
%21 = icmp eq i64 %20, 32
br i1 %21, label %31, label %22, !llvm.loop !17
22: ; preds = %16, %19
%23 = phi i64 [ 0, %16 ], [ %20, %19 ]
%24 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %23
%25 = getelementptr inbounds i8, ptr %24, i64 16
%26 = load i32, ptr %25, align 8, !tbaa !19
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %19
28: ; preds = %22
%29 = tail call i32 @snd_gf1_alloc_voice_use(ptr noundef nonnull %0, ptr noundef nonnull %24, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%30 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %51
31: ; preds = %19, %46
%32 = phi i64 [ %47, %46 ], [ 0, %19 ]
%33 = getelementptr inbounds %struct.snd_gus_voice, ptr %18, i64 %32
%34 = getelementptr inbounds i8, ptr %33, i64 8
%35 = load i64, ptr %34, align 8, !tbaa !21
%36 = icmp eq i64 %35, 0
br i1 %36, label %46, label %37
37: ; preds = %31
%38 = getelementptr inbounds i8, ptr %33, i64 4
%39 = load i32, ptr %38, align 4, !tbaa !22
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %46
41: ; preds = %37
%42 = load i32, ptr %33, align 8, !tbaa !23
%43 = tail call i32 @snd_gf1_clear_voices(ptr noundef nonnull %0, i32 noundef %42, i32 noundef %42) #2
%44 = tail call i32 @snd_gf1_alloc_voice_use(ptr noundef nonnull %0, ptr noundef nonnull %33, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2
%45 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %51
46: ; preds = %31, %37
%47 = add nuw nsw i64 %32, 1
%48 = icmp eq i64 %47, 32
br i1 %48, label %49, label %31, !llvm.loop !24
49: ; preds = %46
%50 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
br label %51
51: ; preds = %49, %41, %28, %14
%52 = phi ptr [ null, %14 ], [ %24, %28 ], [ %33, %41 ], [ null, %49 ]
ret ptr %52
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snd_gf1_alloc_voice_use(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_gf1_clear_voices(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"snd_gus_card", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8, !14, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!11, !13, i64 16}
!16 = !{!11, !14, i64 24}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !7, i64 16}
!20 = !{!"snd_gus_voice", !7, i64 0, !7, i64 4, !13, i64 8, !7, i64 16}
!21 = !{!20, !13, i64 8}
!22 = !{!20, !7, i64 4}
!23 = !{!20, !7, i64 0}
!24 = distinct !{!24, !18}
| fastsocket_kernel_sound_isa_gus_extr_gus_reset.c_snd_gf1_alloc_voice |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/lib/extr_msr-smp.c_wrmsr_safe_regs_on_cpu.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/lib/extr_msr-smp.c_wrmsr_safe_regs_on_cpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.msr_regs_info = type { i32, ptr }
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@__wrmsr_safe_regs_on_cpu = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @wrmsr_safe_regs_on_cpu(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.msr_regs_info, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.msr_regs_info, ptr %3, i64 0, i32 1
store ptr %1, ptr %4, align 8, !tbaa !5
%5 = load i32, ptr @EIO, align 4, !tbaa !11
%6 = sub nsw i32 0, %5
store i32 %6, ptr %3, align 8, !tbaa !12
%7 = load i32, ptr @__wrmsr_safe_regs_on_cpu, align 4, !tbaa !11
%8 = call i32 @smp_call_function_single(i32 noundef %0, i32 noundef %7, ptr noundef nonnull %3, i32 noundef 1) #3
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr %3, align 8
%11 = select i1 %9, i32 %10, i32 %8
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @smp_call_function_single(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"msr_regs_info", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/lib/extr_msr-smp.c_wrmsr_safe_regs_on_cpu.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/lib/extr_msr-smp.c_wrmsr_safe_regs_on_cpu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.msr_regs_info = type { i32, ptr }
@EIO = common local_unnamed_addr global i32 0, align 4
@__wrmsr_safe_regs_on_cpu = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @wrmsr_safe_regs_on_cpu(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.msr_regs_info, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %1, ptr %4, align 8, !tbaa !6
%5 = load i32, ptr @EIO, align 4, !tbaa !12
%6 = sub nsw i32 0, %5
store i32 %6, ptr %3, align 8, !tbaa !13
%7 = load i32, ptr @__wrmsr_safe_regs_on_cpu, align 4, !tbaa !12
%8 = call i32 @smp_call_function_single(i32 noundef %0, i32 noundef %7, ptr noundef nonnull %3, i32 noundef 1) #3
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr %3, align 8
%11 = select i1 %9, i32 %10, i32 %8
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @smp_call_function_single(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"msr_regs_info", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
| fastsocket_kernel_arch_x86_lib_extr_msr-smp.c_wrmsr_safe_regs_on_cpu |
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_monthcal.c_MONTHCAL_PaintLeadTrailMonths.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_monthcal.c_MONTHCAL_PaintLeadTrailMonths.c"
target datalayout = "e-m:e-p270:32:32-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_15__ = type { i32, i32, i64 }
%struct.TYPE_16__ = type { i32, ptr, ptr, ptr }
%struct.TYPE_14__ = type { %struct.TYPE_15__ }
@MCS_NOTRAILINGDATES = dso_local local_unnamed_addr global i32 0, align 4
@MCSC_TRAILINGTEXT = dso_local local_unnamed_addr global i64 0, align 8
@GMR_DAYSTATE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @MONTHCAL_PaintLeadTrailMonths], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @MONTHCAL_PaintLeadTrailMonths(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.TYPE_15__, align 8
%5 = alloca %struct.TYPE_15__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
%6 = load i32, ptr %0, align 8, !tbaa !5
%7 = load i32, ptr @MCS_NOTRAILINGDATES, align 4, !tbaa !11
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %73
10: ; preds = %3
%11 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 3
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = load i64, ptr @MCSC_TRAILINGTEXT, align 8, !tbaa !13
%14 = getelementptr inbounds i32, ptr %12, i64 %13
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = tail call i32 @SetTextColor(i32 noundef %1, i32 noundef %15) #4
%17 = call i32 @MONTHCAL_GetMinDate(ptr noundef nonnull %0, ptr noundef nonnull %5) #4
%18 = load i32, ptr %5, align 8, !tbaa !15
%19 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 2
%20 = load ptr, ptr %19, align 8, !tbaa !17
%21 = getelementptr inbounds %struct.TYPE_15__, ptr %20, i64 0, i32 2
%22 = load i64, ptr %21, align 8, !tbaa !18
%23 = add nsw i64 %22, -1
%24 = getelementptr inbounds %struct.TYPE_15__, ptr %20, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !20
%26 = call i32 @MONTHCAL_MonthLength(i64 noundef %23, i32 noundef %25) #4
%27 = load i32, ptr %5, align 8, !tbaa !15
%28 = icmp sgt i32 %27, %26
br i1 %28, label %44, label %29
29: ; preds = %10
%30 = add nsw i32 %18, -1
%31 = shl nuw i32 1, %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1
br label %34
34: ; preds = %29, %34
%35 = phi i64 [ %32, %29 ], [ %40, %34 ]
%36 = load ptr, ptr %33, align 8, !tbaa !21
%37 = load i64, ptr %36, align 8, !tbaa !13
%38 = and i64 %37, %35
%39 = call i32 @MONTHCAL_DrawDay(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %5, i64 noundef %38, ptr noundef %2) #4
%40 = shl i64 %35, 1
%41 = load i32, ptr %5, align 8, !tbaa !15
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 8, !tbaa !15
%43 = icmp slt i32 %41, %26
br i1 %43, label %34, label %44, !llvm.loop !22
44: ; preds = %34, %10
%45 = load ptr, ptr %19, align 8, !tbaa !17
%46 = call i32 @MONTHCAL_GetCalCount(ptr noundef nonnull %0) #4
%47 = sext i32 %46 to i64
%48 = getelementptr %struct.TYPE_14__, ptr %45, i64 %47
%49 = getelementptr %struct.TYPE_14__, ptr %48, i64 -1
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %49, i64 16, i1 false), !tbaa.struct !24
store i32 1, ptr %5, align 8, !tbaa !15
%50 = call i32 @MONTHCAL_GetNextMonth(ptr noundef nonnull %5) #4
%51 = call i32 @MONTHCAL_GetMaxDate(ptr noundef nonnull %0, ptr noundef nonnull %4) #4
%52 = load i32, ptr @GMR_DAYSTATE, align 4, !tbaa !11
%53 = call i32 @MONTHCAL_GetMonthRange(ptr noundef nonnull %0, i32 noundef %52, i32 noundef 0) #4
%54 = load i32, ptr %5, align 8, !tbaa !15
%55 = load i32, ptr %4, align 8, !tbaa !15
%56 = icmp sgt i32 %54, %55
br i1 %56, label %73, label %57
57: ; preds = %44
%58 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1
%59 = sext i32 %53 to i64
br label %60
60: ; preds = %57, %60
%61 = phi i64 [ 1, %57 ], [ %68, %60 ]
%62 = load ptr, ptr %58, align 8, !tbaa !21
%63 = getelementptr i64, ptr %62, i64 %59
%64 = getelementptr i64, ptr %63, i64 -1
%65 = load i64, ptr %64, align 8, !tbaa !13
%66 = and i64 %65, %61
%67 = call i32 @MONTHCAL_DrawDay(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %5, i64 noundef %66, ptr noundef %2) #4
%68 = shl i64 %61, 1
%69 = load i32, ptr %5, align 8, !tbaa !15
%70 = add nsw i32 %69, 1
store i32 %70, ptr %5, align 8, !tbaa !15
%71 = load i32, ptr %4, align 8, !tbaa !15
%72 = icmp slt i32 %69, %71
br i1 %72, label %60, label %73, !llvm.loop !25
73: ; preds = %60, %44, %3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 16, 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 @SetTextColor(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_GetMinDate(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_MonthLength(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_DrawDay(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_GetCalCount(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @MONTHCAL_GetNextMonth(ptr noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_GetMaxDate(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_GetMonthRange(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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_16__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 24}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_15__", !7, i64 0, !7, i64 4, !14, i64 8}
!17 = !{!6, !10, i64 16}
!18 = !{!19, !14, i64 8}
!19 = !{!"TYPE_14__", !16, i64 0}
!20 = !{!19, !7, i64 4}
!21 = !{!6, !10, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{i64 0, i64 4, !11, i64 4, i64 4, !11, i64 8, i64 8, !13}
!25 = distinct !{!25, !23}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_monthcal.c_MONTHCAL_PaintLeadTrailMonths.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_monthcal.c_MONTHCAL_PaintLeadTrailMonths.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_15__ = type { i32, i32, i64 }
%struct.TYPE_14__ = type { %struct.TYPE_15__ }
@MCS_NOTRAILINGDATES = common local_unnamed_addr global i32 0, align 4
@MCSC_TRAILINGTEXT = common local_unnamed_addr global i64 0, align 8
@GMR_DAYSTATE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @MONTHCAL_PaintLeadTrailMonths], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @MONTHCAL_PaintLeadTrailMonths(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.TYPE_15__, align 8
%5 = alloca %struct.TYPE_15__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
%6 = load i32, ptr %0, align 8, !tbaa !6
%7 = load i32, ptr @MCS_NOTRAILINGDATES, align 4, !tbaa !12
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %73
10: ; preds = %3
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = load i64, ptr @MCSC_TRAILINGTEXT, align 8, !tbaa !14
%14 = getelementptr inbounds i32, ptr %12, i64 %13
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = tail call i32 @SetTextColor(i32 noundef %1, i32 noundef %15) #4
%17 = call i32 @MONTHCAL_GetMinDate(ptr noundef nonnull %0, ptr noundef nonnull %5) #4
%18 = load i32, ptr %5, align 8, !tbaa !16
%19 = getelementptr inbounds i8, ptr %0, i64 16
%20 = load ptr, ptr %19, align 8, !tbaa !18
%21 = getelementptr inbounds i8, ptr %20, i64 8
%22 = load i64, ptr %21, align 8, !tbaa !19
%23 = add nsw i64 %22, -1
%24 = getelementptr inbounds i8, ptr %20, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !21
%26 = call i32 @MONTHCAL_MonthLength(i64 noundef %23, i32 noundef %25) #4
%27 = load i32, ptr %5, align 8, !tbaa !16
%28 = icmp sgt i32 %27, %26
br i1 %28, label %44, label %29
29: ; preds = %10
%30 = add nsw i32 %18, -1
%31 = shl nuw i32 1, %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %0, i64 8
br label %34
34: ; preds = %29, %34
%35 = phi i64 [ %32, %29 ], [ %40, %34 ]
%36 = load ptr, ptr %33, align 8, !tbaa !22
%37 = load i64, ptr %36, align 8, !tbaa !14
%38 = and i64 %37, %35
%39 = call i32 @MONTHCAL_DrawDay(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %5, i64 noundef %38, ptr noundef %2) #4
%40 = shl i64 %35, 1
%41 = load i32, ptr %5, align 8, !tbaa !16
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 8, !tbaa !16
%43 = icmp slt i32 %41, %26
br i1 %43, label %34, label %44, !llvm.loop !23
44: ; preds = %34, %10
%45 = load ptr, ptr %19, align 8, !tbaa !18
%46 = call i32 @MONTHCAL_GetCalCount(ptr noundef nonnull %0) #4
%47 = sext i32 %46 to i64
%48 = getelementptr %struct.TYPE_14__, ptr %45, i64 %47
%49 = getelementptr i8, ptr %48, i64 -16
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %49, i64 16, i1 false), !tbaa.struct !25
store i32 1, ptr %5, align 8, !tbaa !16
%50 = call i32 @MONTHCAL_GetNextMonth(ptr noundef nonnull %5) #4
%51 = call i32 @MONTHCAL_GetMaxDate(ptr noundef nonnull %0, ptr noundef nonnull %4) #4
%52 = load i32, ptr @GMR_DAYSTATE, align 4, !tbaa !12
%53 = call i32 @MONTHCAL_GetMonthRange(ptr noundef nonnull %0, i32 noundef %52, i32 noundef 0) #4
%54 = load i32, ptr %5, align 8, !tbaa !16
%55 = load i32, ptr %4, align 8, !tbaa !16
%56 = icmp sgt i32 %54, %55
br i1 %56, label %73, label %57
57: ; preds = %44
%58 = getelementptr inbounds i8, ptr %0, i64 8
%59 = sext i32 %53 to i64
br label %60
60: ; preds = %57, %60
%61 = phi i64 [ 1, %57 ], [ %68, %60 ]
%62 = load ptr, ptr %58, align 8, !tbaa !22
%63 = getelementptr i64, ptr %62, i64 %59
%64 = getelementptr i8, ptr %63, i64 -8
%65 = load i64, ptr %64, align 8, !tbaa !14
%66 = and i64 %65, %61
%67 = call i32 @MONTHCAL_DrawDay(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %5, i64 noundef %66, ptr noundef %2) #4
%68 = shl i64 %61, 1
%69 = load i32, ptr %5, align 8, !tbaa !16
%70 = add nsw i32 %69, 1
store i32 %70, ptr %5, align 8, !tbaa !16
%71 = load i32, ptr %4, align 8, !tbaa !16
%72 = icmp slt i32 %69, %71
br i1 %72, label %60, label %73, !llvm.loop !26
73: ; preds = %60, %44, %3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 16, 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 @SetTextColor(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_GetMinDate(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_MonthLength(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_DrawDay(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_GetCalCount(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @MONTHCAL_GetNextMonth(ptr noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_GetMaxDate(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MONTHCAL_GetMonthRange(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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_16__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 24}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_15__", !8, i64 0, !8, i64 4, !15, i64 8}
!18 = !{!7, !11, i64 16}
!19 = !{!20, !15, i64 8}
!20 = !{!"TYPE_14__", !17, i64 0}
!21 = !{!20, !8, i64 4}
!22 = !{!7, !11, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 8, !14}
!26 = distinct !{!26, !24}
| reactos_dll_win32_comctl32_extr_monthcal.c_MONTHCAL_PaintLeadTrailMonths |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_cli-out.c_cli_spaces.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_cli-out.c_cli_spaces.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i64 }
; Function Attrs: nounwind uwtable
define dso_local void @cli_spaces(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @ui_out_data(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %3, align 8, !tbaa !11
%9 = tail call i32 @print_spaces_filtered(i32 noundef %1, i32 noundef %8) #2
br label %10
10: ; preds = %2, %7
ret void
}
declare ptr @ui_out_data(ptr noundef) local_unnamed_addr #1
declare i32 @print_spaces_filtered(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 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_cli-out.c_cli_spaces.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_cli-out.c_cli_spaces.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 @cli_spaces(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @ui_out_data(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %3, align 8, !tbaa !12
%9 = tail call i32 @print_spaces_filtered(i32 noundef %1, i32 noundef %8) #2
br label %10
10: ; preds = %2, %7
ret void
}
declare ptr @ui_out_data(ptr noundef) local_unnamed_addr #1
declare i32 @print_spaces_filtered(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 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
| freebsd_contrib_gdb_gdb_extr_cli-out.c_cli_spaces |
; ModuleID = 'AnghaBench/linux/net/can/j1939/extr_transport.c_j1939_tp_im_receiver.c'
source_filename = "AnghaBench/linux/net/can/j1939/extr_transport.c_j1939_tp_im_receiver.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@J1939_ECU_LOCAL_DST = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @j1939_tp_im_receiver], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @j1939_tp_im_receiver(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @J1939_ECU_LOCAL_DST, align 4, !tbaa !10
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"j1939_sk_buff_cb", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/can/j1939/extr_transport.c_j1939_tp_im_receiver.c'
source_filename = "AnghaBench/linux/net/can/j1939/extr_transport.c_j1939_tp_im_receiver.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@J1939_ECU_LOCAL_DST = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @j1939_tp_im_receiver], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @j1939_tp_im_receiver(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @J1939_ECU_LOCAL_DST, align 4, !tbaa !11
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"j1939_sk_buff_cb", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_net_can_j1939_extr_transport.c_j1939_tp_im_receiver |
; ModuleID = 'AnghaBench/freebsd/contrib/libpcap/extr_pcap-dos.c_pkt_close.c'
source_filename = "AnghaBench/freebsd/contrib/libpcap/extr_pcap-dos.c_pkt_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"
@pcap_pkt_debug = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"pkt_close(): %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pkt_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pkt_close(ptr nocapture noundef %0) #0 {
%2 = tail call i32 (...) @PktExitDriver() #2
%3 = load i32, ptr @pcap_pkt_debug, align 4, !tbaa !5
%4 = icmp sgt i32 %3, 1
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @stderr, align 4, !tbaa !5
%7 = tail call i32 @fprintf(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %8
8: ; preds = %5, %1
%9 = load ptr, ptr %0, align 8, !tbaa !9
%10 = icmp eq ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 @free(ptr noundef nonnull %9) #2
br label %13
13: ; preds = %11, %8
store ptr null, ptr %0, align 8, !tbaa !9
ret void
}
declare i32 @PktExitDriver(...) local_unnamed_addr #1
declare i32 @fprintf(i32 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"device", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libpcap/extr_pcap-dos.c_pkt_close.c'
source_filename = "AnghaBench/freebsd/contrib/libpcap/extr_pcap-dos.c_pkt_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pcap_pkt_debug = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"pkt_close(): %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pkt_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pkt_close(ptr nocapture noundef %0) #0 {
%2 = tail call i32 @PktExitDriver() #2
%3 = load i32, ptr @pcap_pkt_debug, align 4, !tbaa !6
%4 = icmp sgt i32 %3, 1
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @stderr, align 4, !tbaa !6
%7 = tail call i32 @fprintf(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %8
8: ; preds = %5, %1
%9 = load ptr, ptr %0, align 8, !tbaa !10
%10 = icmp eq ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 @free(ptr noundef nonnull %9) #2
br label %13
13: ; preds = %11, %8
store ptr null, ptr %0, align 8, !tbaa !10
ret void
}
declare i32 @PktExitDriver(...) local_unnamed_addr #1
declare i32 @fprintf(i32 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"device", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_libpcap_extr_pcap-dos.c_pkt_close |
; ModuleID = 'AnghaBench/linux/drivers/mtd/hyperbus/extr_hyperbus-core.c_hyperbus_copy_from.c'
source_filename = "AnghaBench/linux/drivers/mtd/hyperbus/extr_hyperbus-core.c_hyperbus_copy_from.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @hyperbus_copy_from], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hyperbus_copy_from(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @map_to_hbdev(ptr noundef %0) #2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = tail call i32 %8(ptr noundef nonnull %5, ptr noundef %1, i64 noundef %2, i32 noundef %3) #2
ret void
}
declare ptr @map_to_hbdev(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 = !{!"hyperbus_device", !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 = !{!"hyperbus_ctlr", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/hyperbus/extr_hyperbus-core.c_hyperbus_copy_from.c'
source_filename = "AnghaBench/linux/drivers/mtd/hyperbus/extr_hyperbus-core.c_hyperbus_copy_from.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 @hyperbus_copy_from], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hyperbus_copy_from(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @map_to_hbdev(ptr noundef %0) #2
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = tail call i32 %8(ptr noundef nonnull %5, ptr noundef %1, i64 noundef %2, i32 noundef %3) #2
ret void
}
declare ptr @map_to_hbdev(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 = !{!"hyperbus_device", !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 = !{!"hyperbus_ctlr", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_mtd_hyperbus_extr_hyperbus-core.c_hyperbus_copy_from |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.