IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/redis/src/extr_module.c_moduleParseCallReply_Int.c'
source_filename = "AnghaBench/redis/src/extr_module.c_moduleParseCallReply_Int.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { ptr, i32, i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@REDISMODULE_REPLY_INTEGER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @moduleParseCallReply_Int(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds i8, ptr %2, i64 1
%4 = tail call ptr @strchr(ptr noundef nonnull %3, i8 noundef signext 13) #2
%5 = ptrtoint ptr %4 to i64
%6 = ptrtoint ptr %2 to i64
%7 = sub i64 %5, %6
%8 = trunc i64 %7 to i32
%9 = add i32 %8, -1
%10 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%11 = tail call i32 @string2ll(ptr noundef nonnull %3, i32 noundef %9, ptr noundef nonnull %10) #2
%12 = add i32 %8, 2
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
store i32 %12, ptr %13, align 8, !tbaa !12
%14 = load i32, ptr @REDISMODULE_REPLY_INTEGER, align 4, !tbaa !13
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
store i32 %14, ptr %15, align 4, !tbaa !14
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @string2ll(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_4__", !10, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 12}
| ; ModuleID = 'AnghaBench/redis/src/extr_module.c_moduleParseCallReply_Int.c'
source_filename = "AnghaBench/redis/src/extr_module.c_moduleParseCallReply_Int.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REDISMODULE_REPLY_INTEGER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @moduleParseCallReply_Int(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 1
%4 = tail call ptr @strchr(ptr noundef nonnull %3, i8 noundef signext 13) #2
%5 = ptrtoint ptr %4 to i64
%6 = ptrtoint ptr %2 to i64
%7 = sub i64 %5, %6
%8 = trunc i64 %7 to i32
%9 = add i32 %8, -1
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = tail call i32 @string2ll(ptr noundef nonnull %3, i32 noundef %9, ptr noundef nonnull %10) #2
%12 = add i32 %8, 2
%13 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %12, ptr %13, align 8, !tbaa !13
%14 = load i32, ptr @REDISMODULE_REPLY_INTEGER, align 4, !tbaa !14
%15 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %14, ptr %15, align 4, !tbaa !15
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @string2ll(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_4__", !11, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !11, i64 12}
| redis_src_extr_module.c_moduleParseCallReply_Int |
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_hugetlb.c_copy_huge_page.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_hugetlb.c_copy_huge_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.page = type { i32 }
@MAX_ORDER_NR_PAGES = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @copy_huge_page(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @page_hstate(ptr noundef %1) #2
%4 = tail call i32 @pages_per_huge_page(ptr noundef %3) #2
%5 = load i32, ptr @MAX_ORDER_NR_PAGES, align 4, !tbaa !5
%6 = icmp sgt i32 %4, %5
%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 %12, label %10
10: ; preds = %2
%11 = tail call i32 @copy_gigantic_page(ptr noundef %0, ptr noundef %1) #2
br label %26
12: ; preds = %2
%13 = tail call i32 (...) @might_sleep() #2
%14 = tail call i32 @pages_per_huge_page(ptr noundef %3) #2
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %12, %16
%17 = phi i64 [ %22, %16 ], [ 0, %12 ]
%18 = tail call i32 (...) @cond_resched() #2
%19 = getelementptr inbounds %struct.page, ptr %0, i64 %17
%20 = getelementptr inbounds %struct.page, ptr %1, i64 %17
%21 = tail call i32 @copy_highpage(ptr noundef %19, ptr noundef %20) #2
%22 = add nuw nsw i64 %17, 1
%23 = tail call i32 @pages_per_huge_page(ptr noundef %3) #2
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %16, label %26, !llvm.loop !9
26: ; preds = %16, %12, %10
ret void
}
declare ptr @page_hstate(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @pages_per_huge_page(ptr noundef) local_unnamed_addr #1
declare i32 @copy_gigantic_page(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @might_sleep(...) local_unnamed_addr #1
declare i32 @cond_resched(...) local_unnamed_addr #1
declare i32 @copy_highpage(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_hugetlb.c_copy_huge_page.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_hugetlb.c_copy_huge_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.page = type { i32 }
@MAX_ORDER_NR_PAGES = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @copy_huge_page(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @page_hstate(ptr noundef %1) #2
%4 = tail call i32 @pages_per_huge_page(ptr noundef %3) #2
%5 = load i32, ptr @MAX_ORDER_NR_PAGES, align 4, !tbaa !6
%6 = icmp sgt i32 %4, %5
%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 %12, label %10
10: ; preds = %2
%11 = tail call i32 @copy_gigantic_page(ptr noundef %0, ptr noundef %1) #2
br label %26
12: ; preds = %2
%13 = tail call i32 @might_sleep() #2
%14 = tail call i32 @pages_per_huge_page(ptr noundef %3) #2
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %12, %16
%17 = phi i64 [ %22, %16 ], [ 0, %12 ]
%18 = tail call i32 @cond_resched() #2
%19 = getelementptr inbounds %struct.page, ptr %0, i64 %17
%20 = getelementptr inbounds %struct.page, ptr %1, i64 %17
%21 = tail call i32 @copy_highpage(ptr noundef %19, ptr noundef %20) #2
%22 = add nuw nsw i64 %17, 1
%23 = tail call i32 @pages_per_huge_page(ptr noundef %3) #2
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %16, label %26, !llvm.loop !10
26: ; preds = %16, %12, %10
ret void
}
declare ptr @page_hstate(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @pages_per_huge_page(ptr noundef) local_unnamed_addr #1
declare i32 @copy_gigantic_page(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @might_sleep(...) local_unnamed_addr #1
declare i32 @cond_resched(...) local_unnamed_addr #1
declare i32 @copy_highpage(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_mm_extr_hugetlb.c_copy_huge_page |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/9p/extr_client.c_p9_client_flush.c'
source_filename = "AnghaBench/fastsocket/kernel/net/9p/extr_client.c_p9_client_flush.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.p9_req_t = type { i64, i32, i32 }
@P9_DEBUG_9P = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c">>> TFLUSH tag %d\0A\00", align 1
@P9_TFLUSH = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@REQ_STATUS_FLSH = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @p9_client_flush], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @p9_client_flush(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.p9_req_t, ptr %1, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = call i32 @p9_parse_header(i32 noundef %5, ptr noundef null, ptr noundef null, ptr noundef nonnull %3, i32 noundef 1) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %30
8: ; preds = %2
%9 = load i32, ptr @P9_DEBUG_9P, align 4, !tbaa !11
%10 = load i32, ptr %3, align 4, !tbaa !11
%11 = call i32 @P9_DPRINTK(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %10) #3
%12 = load i32, ptr @P9_TFLUSH, align 4, !tbaa !11
%13 = load i32, ptr %3, align 4, !tbaa !11
%14 = call ptr @p9_client_rpc(ptr noundef %0, i32 noundef %12, ptr noundef nonnull @.str.1, i32 noundef %13) #3
%15 = call i64 @IS_ERR(ptr noundef %14) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %8
%18 = call i32 @PTR_ERR(ptr noundef %14) #3
br label %30
19: ; preds = %8
%20 = call i32 @spin_lock(ptr noundef %0) #3
%21 = load i64, ptr %1, align 8, !tbaa !12
%22 = load i64, ptr @REQ_STATUS_FLSH, align 8, !tbaa !13
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = getelementptr inbounds %struct.p9_req_t, ptr %1, i64 0, i32 1
%26 = call i32 @list_del(ptr noundef nonnull %25) #3
br label %27
27: ; preds = %24, %19
%28 = call i32 @spin_unlock(ptr noundef %0) #3
%29 = call i32 @p9_free_req(ptr noundef %0, ptr noundef %14) #3
br label %30
30: ; preds = %2, %27, %17
%31 = phi i32 [ %18, %17 ], [ 0, %27 ], [ %6, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @p9_parse_header(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @P9_DPRINTK(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @p9_client_rpc(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2
declare i32 @list_del(ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @p9_free_req(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 12}
!6 = !{!"p9_req_t", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/9p/extr_client.c_p9_client_flush.c'
source_filename = "AnghaBench/fastsocket/kernel/net/9p/extr_client.c_p9_client_flush.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@P9_DEBUG_9P = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c">>> TFLUSH tag %d\0A\00", align 1
@P9_TFLUSH = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@REQ_STATUS_FLSH = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @p9_client_flush], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @p9_client_flush(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %1, i64 12
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = call i32 @p9_parse_header(i32 noundef %5, ptr noundef null, ptr noundef null, ptr noundef nonnull %3, i32 noundef 1) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %30
8: ; preds = %2
%9 = load i32, ptr @P9_DEBUG_9P, align 4, !tbaa !12
%10 = load i32, ptr %3, align 4, !tbaa !12
%11 = call i32 @P9_DPRINTK(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %10) #3
%12 = load i32, ptr @P9_TFLUSH, align 4, !tbaa !12
%13 = load i32, ptr %3, align 4, !tbaa !12
%14 = call ptr @p9_client_rpc(ptr noundef %0, i32 noundef %12, ptr noundef nonnull @.str.1, i32 noundef %13) #3
%15 = call i64 @IS_ERR(ptr noundef %14) #3
%16 = icmp eq i64 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %8
%18 = call i32 @PTR_ERR(ptr noundef %14) #3
br label %30
19: ; preds = %8
%20 = call i32 @spin_lock(ptr noundef %0) #3
%21 = load i64, ptr %1, align 8, !tbaa !13
%22 = load i64, ptr @REQ_STATUS_FLSH, align 8, !tbaa !14
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = getelementptr inbounds i8, ptr %1, i64 8
%26 = call i32 @list_del(ptr noundef nonnull %25) #3
br label %27
27: ; preds = %24, %19
%28 = call i32 @spin_unlock(ptr noundef %0) #3
%29 = call i32 @p9_free_req(ptr noundef %0, ptr noundef %14) #3
br label %30
30: ; preds = %2, %27, %17
%31 = phi i32 [ %18, %17 ], [ 0, %27 ], [ %6, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @p9_parse_header(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @P9_DPRINTK(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @p9_client_rpc(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #2
declare i32 @list_del(ptr noundef) local_unnamed_addr #2
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @p9_free_req(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 12}
!7 = !{!"p9_req_t", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
| fastsocket_kernel_net_9p_extr_client.c_p9_client_flush |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_DST_PACK_PATTERN_ELEMENT1.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_DST_PACK_PATTERN_ELEMENT1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MDP5_WB_DST_PACK_PATTERN_ELEMENT1__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@MDP5_WB_DST_PACK_PATTERN_ELEMENT1__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @MDP5_WB_DST_PACK_PATTERN_ELEMENT1], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @MDP5_WB_DST_PACK_PATTERN_ELEMENT1(i32 noundef %0) #0 {
%2 = load i32, ptr @MDP5_WB_DST_PACK_PATTERN_ELEMENT1__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @MDP5_WB_DST_PACK_PATTERN_ELEMENT1__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_DST_PACK_PATTERN_ELEMENT1.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_DST_PACK_PATTERN_ELEMENT1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MDP5_WB_DST_PACK_PATTERN_ELEMENT1__SHIFT = common local_unnamed_addr global i32 0, align 4
@MDP5_WB_DST_PACK_PATTERN_ELEMENT1__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @MDP5_WB_DST_PACK_PATTERN_ELEMENT1], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @MDP5_WB_DST_PACK_PATTERN_ELEMENT1(i32 noundef %0) #0 {
%2 = load i32, ptr @MDP5_WB_DST_PACK_PATTERN_ELEMENT1__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @MDP5_WB_DST_PACK_PATTERN_ELEMENT1__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_disp_mdp5_extr_mdp5.xml.h_MDP5_WB_DST_PACK_PATTERN_ELEMENT1 |
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_cbaf.c_cbaf_wusb_cdid_store.c'
source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_cbaf.c_cbaf_wusb_cdid_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"
@.str = private unnamed_addr constant [112 x i8] c"%02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cbaf_wusb_cdid_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cbaf_wusb_cdid_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_usb_interface(ptr noundef %0) #2
%6 = tail call ptr @usb_get_intfdata(ptr noundef %5) #2
%7 = tail call i32 @sscanf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef) #2
%8 = icmp eq i32 %7, 16
%9 = load i32, ptr @EINVAL, align 4
%10 = sub nsw i32 0, %9
%11 = trunc i64 %3 to i32
%12 = select i1 %8, i32 %11, i32 %10
ret i32 %12
}
declare ptr @to_usb_interface(ptr noundef) local_unnamed_addr #1
declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_cbaf.c_cbaf_wusb_cdid_store.c'
source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_cbaf.c_cbaf_wusb_cdid_store.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 [112 x i8] c"%02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cbaf_wusb_cdid_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cbaf_wusb_cdid_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_usb_interface(ptr noundef %0) #2
%6 = tail call ptr @usb_get_intfdata(ptr noundef %5) #2
%7 = tail call i32 @sscanf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef, ptr noundef undef) #2
%8 = icmp eq i32 %7, 16
%9 = load i32, ptr @EINVAL, align 4
%10 = sub nsw i32 0, %9
%11 = trunc i64 %3 to i32
%12 = select i1 %8, i32 %11, i32 %10
ret i32 %12
}
declare ptr @to_usb_interface(ptr noundef) local_unnamed_addr #1
declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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)"}
| linux_drivers_staging_wusbcore_extr_cbaf.c_cbaf_wusb_cdid_store |
; ModuleID = 'AnghaBench/php-src/ext/standard/extr_scanf.c_BuildCharSet.c'
source_filename = "AnghaBench/php-src/ext/standard/extr_scanf.c_BuildCharSet.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, i64, i64, ptr }
%struct.Range = type { i8, i8 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @BuildCharSet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal nonnull ptr @BuildCharSet(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 40) #3
%4 = load i8, ptr %1, align 1, !tbaa !5
%5 = icmp eq i8 %4, 94
br i1 %5, label %6, label %9
6: ; preds = %2
store i32 1, ptr %0, align 8, !tbaa !8
%7 = getelementptr inbounds i8, ptr %1, i64 1
%8 = load i8, ptr %7, align 1, !tbaa !5
br label %9
9: ; preds = %6, %2
%10 = phi i8 [ %8, %6 ], [ %4, %2 ]
%11 = phi ptr [ %7, %6 ], [ %1, %2 ]
%12 = getelementptr inbounds i8, ptr %11, i64 1
%13 = icmp eq i8 %10, 93
%14 = getelementptr inbounds i8, ptr %11, i64 2
%15 = select i1 %13, ptr %12, ptr %11
%16 = select i1 %13, ptr %14, ptr %12
br label %17
17: ; preds = %24, %9
%18 = phi ptr [ %15, %9 ], [ %20, %24 ]
%19 = phi i32 [ 0, %9 ], [ %25, %24 ]
%20 = phi ptr [ %16, %9 ], [ %26, %24 ]
%21 = load i8, ptr %18, align 1, !tbaa !5
switch i8 %21, label %24 [
i8 93, label %27
i8 45, label %22
]
22: ; preds = %17
%23 = add nsw i32 %19, 1
br label %24
24: ; preds = %17, %22
%25 = phi i32 [ %23, %22 ], [ %19, %17 ]
%26 = getelementptr inbounds i8, ptr %20, i64 1
br label %17, !llvm.loop !13
27: ; preds = %17
%28 = ptrtoint ptr %20 to i64
%29 = ptrtoint ptr %11 to i64
%30 = xor i64 %29, -1
%31 = add i64 %28, %30
%32 = trunc i64 %31 to i32
%33 = tail call i64 @safe_emalloc(i32 noundef 1, i32 noundef %32, i32 noundef 0) #3
%34 = inttoptr i64 %33 to ptr
%35 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
store ptr %34, ptr %35, align 8, !tbaa !15
%36 = icmp sgt i32 %19, 0
br i1 %36, label %37, label %40
37: ; preds = %27
%38 = tail call i64 @safe_emalloc(i32 noundef 2, i32 noundef %19, i32 noundef 0) #3
%39 = inttoptr i64 %38 to ptr
br label %40
40: ; preds = %27, %37
%41 = phi ptr [ %39, %37 ], [ null, %27 ]
%42 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
store ptr %41, ptr %42, align 8
%43 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%44 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %44, i8 0, i64 16, i1 false)
%45 = load i8, ptr %11, align 1, !tbaa !5
switch i8 %45, label %49 [
i8 93, label %46
i8 45, label %46
]
46: ; preds = %40, %40
%47 = load ptr, ptr %35, align 8, !tbaa !15
store i64 1, ptr %44, align 8, !tbaa !16
store i8 %45, ptr %47, align 1, !tbaa !5
%48 = load i8, ptr %12, align 1, !tbaa !5
br label %49
49: ; preds = %40, %46
%50 = phi i8 [ %48, %46 ], [ %45, %40 ]
%51 = phi ptr [ %14, %46 ], [ %12, %40 ]
%52 = phi ptr [ %12, %46 ], [ %11, %40 ]
%53 = icmp eq i8 %50, 93
br i1 %53, label %102, label %54
54: ; preds = %49, %96
%55 = phi i8 [ %97, %96 ], [ %50, %49 ]
%56 = phi i8 [ %99, %96 ], [ %45, %49 ]
%57 = phi ptr [ %98, %96 ], [ %52, %49 ]
%58 = phi ptr [ %100, %96 ], [ %51, %49 ]
%59 = load i8, ptr %58, align 1, !tbaa !5
%60 = icmp eq i8 %59, 45
br i1 %60, label %96, label %61
61: ; preds = %54
%62 = icmp eq i8 %55, 45
br i1 %62, label %63, label %88
63: ; preds = %61
%64 = icmp eq i8 %59, 93
br i1 %64, label %65, label %75
65: ; preds = %63
%66 = load ptr, ptr %35, align 8, !tbaa !15
%67 = load i64, ptr %44, align 8, !tbaa !16
%68 = add i64 %67, 1
store i64 %68, ptr %44, align 8, !tbaa !16
%69 = getelementptr inbounds i8, ptr %66, i64 %67
store i8 %56, ptr %69, align 1, !tbaa !5
%70 = load i8, ptr %57, align 1, !tbaa !5
%71 = load ptr, ptr %35, align 8, !tbaa !15
%72 = load i64, ptr %44, align 8, !tbaa !16
%73 = add i64 %72, 1
store i64 %73, ptr %44, align 8, !tbaa !16
%74 = getelementptr inbounds i8, ptr %71, i64 %72
store i8 %70, ptr %74, align 1, !tbaa !5
br label %93
75: ; preds = %63
%76 = getelementptr inbounds i8, ptr %58, i64 1
%77 = icmp slt i8 %56, %59
%78 = load ptr, ptr %42, align 8, !tbaa !17
%79 = load i64, ptr %43, align 8, !tbaa !18
%80 = getelementptr inbounds %struct.Range, ptr %78, i64 %79
br i1 %77, label %81, label %83
81: ; preds = %75
store i8 %56, ptr %80, align 1, !tbaa !19
%82 = load i8, ptr %58, align 1, !tbaa !5
br label %84
83: ; preds = %75
store i8 %59, ptr %80, align 1, !tbaa !19
br label %84
84: ; preds = %83, %81
%85 = phi i8 [ %56, %83 ], [ %82, %81 ]
%86 = getelementptr inbounds %struct.Range, ptr %78, i64 %79, i32 1
store i8 %85, ptr %86, align 1, !tbaa !21
%87 = add i64 %79, 1
store i64 %87, ptr %43, align 8, !tbaa !18
br label %93
88: ; preds = %61
%89 = load ptr, ptr %35, align 8, !tbaa !15
%90 = load i64, ptr %44, align 8, !tbaa !16
%91 = add i64 %90, 1
store i64 %91, ptr %44, align 8, !tbaa !16
%92 = getelementptr inbounds i8, ptr %89, i64 %90
store i8 %55, ptr %92, align 1, !tbaa !5
br label %93
93: ; preds = %65, %84, %88
%94 = phi ptr [ %58, %88 ], [ %76, %84 ], [ %58, %65 ]
%95 = load i8, ptr %94, align 1, !tbaa !5
br label %96
96: ; preds = %93, %54
%97 = phi i8 [ %95, %93 ], [ 45, %54 ]
%98 = phi ptr [ %94, %93 ], [ %58, %54 ]
%99 = phi i8 [ %56, %93 ], [ %55, %54 ]
%100 = getelementptr inbounds i8, ptr %98, i64 1
%101 = icmp eq i8 %97, 93
br i1 %101, label %102, label %54, !llvm.loop !22
102: ; preds = %96, %49
%103 = phi ptr [ %51, %49 ], [ %100, %96 ]
ret ptr %103
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @safe_emalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"TYPE_4__", !10, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !11, i64 32}
!10 = !{!"int", !6, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!"long", !6, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!9, !11, i64 8}
!16 = !{!9, !12, i64 16}
!17 = !{!9, !11, i64 32}
!18 = !{!9, !12, i64 24}
!19 = !{!20, !6, i64 0}
!20 = !{!"Range", !6, i64 0, !6, i64 1}
!21 = !{!20, !6, i64 1}
!22 = distinct !{!22, !14}
| ; ModuleID = 'AnghaBench/php-src/ext/standard/extr_scanf.c_BuildCharSet.c'
source_filename = "AnghaBench/php-src/ext/standard/extr_scanf.c_BuildCharSet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.Range = type { i8, i8 }
@llvm.used = appending global [1 x ptr] [ptr @BuildCharSet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal nonnull ptr @BuildCharSet(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 40) #3
%4 = load i8, ptr %1, align 1, !tbaa !6
%5 = icmp eq i8 %4, 94
br i1 %5, label %6, label %9
6: ; preds = %2
store i32 1, ptr %0, align 8, !tbaa !9
%7 = getelementptr inbounds i8, ptr %1, i64 1
%8 = load i8, ptr %7, align 1, !tbaa !6
br label %9
9: ; preds = %6, %2
%10 = phi i8 [ %8, %6 ], [ %4, %2 ]
%11 = phi ptr [ %7, %6 ], [ %1, %2 ]
%12 = getelementptr inbounds i8, ptr %11, i64 1
%13 = icmp eq i8 %10, 93
%14 = getelementptr inbounds i8, ptr %11, i64 2
%15 = select i1 %13, ptr %12, ptr %11
%16 = select i1 %13, ptr %14, ptr %12
br label %17
17: ; preds = %24, %9
%18 = phi ptr [ %15, %9 ], [ %20, %24 ]
%19 = phi i32 [ 0, %9 ], [ %25, %24 ]
%20 = phi ptr [ %16, %9 ], [ %26, %24 ]
%21 = load i8, ptr %18, align 1, !tbaa !6
switch i8 %21, label %24 [
i8 93, label %27
i8 45, label %22
]
22: ; preds = %17
%23 = add nsw i32 %19, 1
br label %24
24: ; preds = %17, %22
%25 = phi i32 [ %23, %22 ], [ %19, %17 ]
%26 = getelementptr inbounds i8, ptr %20, i64 1
br label %17, !llvm.loop !14
27: ; preds = %17
%28 = ptrtoint ptr %20 to i64
%29 = ptrtoint ptr %11 to i64
%30 = xor i64 %29, -1
%31 = add i64 %28, %30
%32 = trunc i64 %31 to i32
%33 = tail call i64 @safe_emalloc(i32 noundef 1, i32 noundef %32, i32 noundef 0) #3
%34 = inttoptr i64 %33 to ptr
%35 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %34, ptr %35, align 8, !tbaa !16
%36 = icmp sgt i32 %19, 0
br i1 %36, label %37, label %40
37: ; preds = %27
%38 = tail call i64 @safe_emalloc(i32 noundef 2, i32 noundef %19, i32 noundef 0) #3
%39 = inttoptr i64 %38 to ptr
br label %40
40: ; preds = %27, %37
%41 = phi ptr [ %39, %37 ], [ null, %27 ]
%42 = getelementptr inbounds i8, ptr %0, i64 32
store ptr %41, ptr %42, align 8
%43 = getelementptr inbounds i8, ptr %0, i64 24
%44 = getelementptr inbounds i8, ptr %0, i64 16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %44, i8 0, i64 16, i1 false)
%45 = load i8, ptr %11, align 1, !tbaa !6
switch i8 %45, label %49 [
i8 93, label %46
i8 45, label %46
]
46: ; preds = %40, %40
%47 = load ptr, ptr %35, align 8, !tbaa !16
store i64 1, ptr %44, align 8, !tbaa !17
store i8 %45, ptr %47, align 1, !tbaa !6
%48 = load i8, ptr %12, align 1, !tbaa !6
br label %49
49: ; preds = %40, %46
%50 = phi i8 [ %48, %46 ], [ %45, %40 ]
%51 = phi ptr [ %14, %46 ], [ %12, %40 ]
%52 = phi ptr [ %12, %46 ], [ %11, %40 ]
%53 = icmp eq i8 %50, 93
br i1 %53, label %102, label %54
54: ; preds = %49, %96
%55 = phi i8 [ %97, %96 ], [ %50, %49 ]
%56 = phi i8 [ %99, %96 ], [ %45, %49 ]
%57 = phi ptr [ %98, %96 ], [ %52, %49 ]
%58 = phi ptr [ %100, %96 ], [ %51, %49 ]
%59 = load i8, ptr %58, align 1, !tbaa !6
%60 = icmp eq i8 %59, 45
br i1 %60, label %96, label %61
61: ; preds = %54
%62 = icmp eq i8 %55, 45
br i1 %62, label %63, label %88
63: ; preds = %61
%64 = icmp eq i8 %59, 93
br i1 %64, label %65, label %75
65: ; preds = %63
%66 = load ptr, ptr %35, align 8, !tbaa !16
%67 = load i64, ptr %44, align 8, !tbaa !17
%68 = add i64 %67, 1
store i64 %68, ptr %44, align 8, !tbaa !17
%69 = getelementptr inbounds i8, ptr %66, i64 %67
store i8 %56, ptr %69, align 1, !tbaa !6
%70 = load i8, ptr %57, align 1, !tbaa !6
%71 = load ptr, ptr %35, align 8, !tbaa !16
%72 = load i64, ptr %44, align 8, !tbaa !17
%73 = add i64 %72, 1
store i64 %73, ptr %44, align 8, !tbaa !17
%74 = getelementptr inbounds i8, ptr %71, i64 %72
store i8 %70, ptr %74, align 1, !tbaa !6
br label %93
75: ; preds = %63
%76 = getelementptr inbounds i8, ptr %58, i64 1
%77 = icmp slt i8 %56, %59
%78 = load ptr, ptr %42, align 8, !tbaa !18
%79 = load i64, ptr %43, align 8, !tbaa !19
%80 = getelementptr inbounds %struct.Range, ptr %78, i64 %79
br i1 %77, label %81, label %83
81: ; preds = %75
store i8 %56, ptr %80, align 1, !tbaa !20
%82 = load i8, ptr %58, align 1, !tbaa !6
br label %84
83: ; preds = %75
store i8 %59, ptr %80, align 1, !tbaa !20
br label %84
84: ; preds = %83, %81
%85 = phi i8 [ %56, %83 ], [ %82, %81 ]
%86 = getelementptr inbounds %struct.Range, ptr %78, i64 %79, i32 1
store i8 %85, ptr %86, align 1, !tbaa !22
%87 = add i64 %79, 1
store i64 %87, ptr %43, align 8, !tbaa !19
br label %93
88: ; preds = %61
%89 = load ptr, ptr %35, align 8, !tbaa !16
%90 = load i64, ptr %44, align 8, !tbaa !17
%91 = add i64 %90, 1
store i64 %91, ptr %44, align 8, !tbaa !17
%92 = getelementptr inbounds i8, ptr %89, i64 %90
store i8 %55, ptr %92, align 1, !tbaa !6
br label %93
93: ; preds = %65, %84, %88
%94 = phi ptr [ %58, %88 ], [ %76, %84 ], [ %58, %65 ]
%95 = load i8, ptr %94, align 1, !tbaa !6
br label %96
96: ; preds = %93, %54
%97 = phi i8 [ %95, %93 ], [ 45, %54 ]
%98 = phi ptr [ %94, %93 ], [ %58, %54 ]
%99 = phi i8 [ %56, %93 ], [ %55, %54 ]
%100 = getelementptr inbounds i8, ptr %98, i64 1
%101 = icmp eq i8 %97, 93
br i1 %101, label %102, label %54, !llvm.loop !23
102: ; preds = %96, %49
%103 = phi ptr [ %51, %49 ], [ %100, %96 ]
ret ptr %103
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @safe_emalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0, !12, i64 8, !13, i64 16, !13, i64 24, !12, i64 32}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!10, !12, i64 8}
!17 = !{!10, !13, i64 16}
!18 = !{!10, !12, i64 32}
!19 = !{!10, !13, i64 24}
!20 = !{!21, !7, i64 0}
!21 = !{!"Range", !7, i64 0, !7, i64 1}
!22 = !{!21, !7, i64 1}
!23 = distinct !{!23, !15}
| php-src_ext_standard_extr_scanf.c_BuildCharSet |
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_memjrnlFreeChunks.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_memjrnlFreeChunks.c"
target datalayout = "e-m:e-p270:32:32-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 @memjrnlFreeChunks], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @memjrnlFreeChunks(ptr nocapture noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1, %4
%5 = phi ptr [ %6, %4 ], [ %2, %1 ]
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = tail call i32 @sqlite3_free(ptr noundef nonnull %5) #2
%8 = icmp eq ptr %6, null
br i1 %8, label %9, label %4, !llvm.loop !12
9: ; preds = %4, %1
store ptr null, ptr %0, align 8, !tbaa !5
ret void
}
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_memjrnlFreeChunks.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_memjrnlFreeChunks.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 @memjrnlFreeChunks], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @memjrnlFreeChunks(ptr nocapture noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1, %4
%5 = phi ptr [ %6, %4 ], [ %2, %1 ]
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i32 @sqlite3_free(ptr noundef nonnull %5) #2
%8 = icmp eq ptr %6, null
br i1 %8, label %9, label %4, !llvm.loop !13
9: ; preds = %4, %1
store ptr null, ptr %0, align 8, !tbaa !6
ret void
}
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_6__", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_memjrnlFreeChunks |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_dirent_uri.c_svn_dirent_internal_style.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_dirent_uri.c_svn_dirent_internal_style.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_dirent_internal_style(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @internal_style(ptr noundef %0, ptr noundef %1) #2
%4 = tail call ptr @svn_dirent_canonicalize(i32 noundef %3, ptr noundef %1) #2
ret ptr %4
}
declare ptr @svn_dirent_canonicalize(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @internal_style(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/subversion/subversion/libsvn_subr/extr_dirent_uri.c_svn_dirent_internal_style.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_dirent_uri.c_svn_dirent_internal_style.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_dirent_internal_style(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @internal_style(ptr noundef %0, ptr noundef %1) #2
%4 = tail call ptr @svn_dirent_canonicalize(i32 noundef %3, ptr noundef %1) #2
ret ptr %4
}
declare ptr @svn_dirent_canonicalize(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @internal_style(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_subversion_subversion_libsvn_subr_extr_dirent_uri.c_svn_dirent_internal_style |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_cm_msgs.h_cm_rep_get_flow_ctrl.c'
source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_cm_msgs.h_cm_rep_get_flow_ctrl.c"
target datalayout = "e-m:e-p270:32:32-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_rep_get_flow_ctrl], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @cm_rep_get_flow_ctrl(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = and i32 %2, 1
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"cm_rep_msg", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_cm_msgs.h_cm_rep_get_flow_ctrl.c'
source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_cm_msgs.h_cm_rep_get_flow_ctrl.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_rep_get_flow_ctrl], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @cm_rep_get_flow_ctrl(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = and i32 %2, 1
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"cm_rep_msg", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_infiniband_core_extr_cm_msgs.h_cm_rep_get_flow_ctrl |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-dev.c_xgbe_config_dma_bus.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-dev.c_xgbe_config_dma_bus.c"
target datalayout = "e-m:e-p270:32:32-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.xgbe_prv_data = type { i32, i32, i32, i32, ptr }
%struct.TYPE_2__ = type { i64, i64 }
@DMA_SBMR = dso_local local_unnamed_addr global i32 0, align 4
@EAME = dso_local local_unnamed_addr global i32 0, align 4
@UNDEF = dso_local local_unnamed_addr global i32 0, align 4
@BLEN = dso_local local_unnamed_addr global i32 0, align 4
@AAL = dso_local local_unnamed_addr global i32 0, align 4
@RD_OSR_LMT = dso_local local_unnamed_addr global i32 0, align 4
@WR_OSR_LMT = dso_local local_unnamed_addr global i32 0, align 4
@DMA_TXEDMACR = dso_local local_unnamed_addr global i32 0, align 4
@TDPS = dso_local local_unnamed_addr global i32 0, align 4
@DMA_RXEDMACR = dso_local local_unnamed_addr global i32 0, align 4
@RDPS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xgbe_config_dma_bus], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xgbe_config_dma_bus(ptr noundef %0) #0 {
%2 = load i32, ptr @DMA_SBMR, align 4, !tbaa !5
%3 = tail call i32 @XGMAC_IOREAD(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @DMA_SBMR, align 4, !tbaa !5
%5 = load i32, ptr @EAME, align 4, !tbaa !5
%6 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef 1) #2
%7 = load i32, ptr @DMA_SBMR, align 4, !tbaa !5
%8 = load i32, ptr @UNDEF, align 4, !tbaa !5
%9 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %7, i32 noundef %8, i32 noundef 1) #2
%10 = load i32, ptr @DMA_SBMR, align 4, !tbaa !5
%11 = load i32, ptr @BLEN, align 4, !tbaa !5
%12 = load i32, ptr %0, align 8, !tbaa !9
%13 = ashr i32 %12, 2
%14 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %10, i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr @DMA_SBMR, align 4, !tbaa !5
%16 = load i32, ptr @AAL, align 4, !tbaa !5
%17 = getelementptr inbounds %struct.xgbe_prv_data, ptr %0, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %15, i32 noundef %16, i32 noundef %18) #2
%20 = load i32, ptr @DMA_SBMR, align 4, !tbaa !5
%21 = load i32, ptr @RD_OSR_LMT, align 4, !tbaa !5
%22 = getelementptr inbounds %struct.xgbe_prv_data, ptr %0, i64 0, i32 2
%23 = load i32, ptr %22, align 8, !tbaa !13
%24 = add nsw i32 %23, -1
%25 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %20, i32 noundef %21, i32 noundef %24) #2
%26 = load i32, ptr @DMA_SBMR, align 4, !tbaa !5
%27 = load i32, ptr @WR_OSR_LMT, align 4, !tbaa !5
%28 = getelementptr inbounds %struct.xgbe_prv_data, ptr %0, i64 0, i32 3
%29 = load i32, ptr %28, align 4, !tbaa !14
%30 = add nsw i32 %29, -1
%31 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %26, i32 noundef %27, i32 noundef %30) #2
%32 = load i32, ptr @DMA_SBMR, align 4, !tbaa !5
%33 = tail call i32 @XGMAC_IOWRITE(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %3) #2
%34 = getelementptr inbounds %struct.xgbe_prv_data, ptr %0, i64 0, i32 4
%35 = load ptr, ptr %34, align 8, !tbaa !15
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %35, i64 0, i32 1
%37 = load i64, ptr %36, align 8, !tbaa !16
%38 = icmp eq i64 %37, 0
br i1 %38, label %44, label %39
39: ; preds = %1
%40 = load i32, ptr @DMA_TXEDMACR, align 4, !tbaa !5
%41 = load i32, ptr @TDPS, align 4, !tbaa !5
%42 = tail call i32 @XGMAC_IOWRITE_BITS(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %41, i64 noundef %37) #2
%43 = load ptr, ptr %34, align 8, !tbaa !15
br label %44
44: ; preds = %39, %1
%45 = phi ptr [ %43, %39 ], [ %35, %1 ]
%46 = load i64, ptr %45, align 8, !tbaa !19
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %44
%49 = load i32, ptr @DMA_RXEDMACR, align 4, !tbaa !5
%50 = load i32, ptr @RDPS, align 4, !tbaa !5
%51 = tail call i32 @XGMAC_IOWRITE_BITS(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %50, i64 noundef %46) #2
br label %52
52: ; preds = %48, %44
ret void
}
declare i32 @XGMAC_IOREAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XGMAC_SET_BITS(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XGMAC_IOWRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XGMAC_IOWRITE_BITS(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"xgbe_prv_data", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 4}
!13 = !{!10, !6, i64 8}
!14 = !{!10, !6, i64 12}
!15 = !{!10, !11, i64 16}
!16 = !{!17, !18, i64 8}
!17 = !{!"TYPE_2__", !18, i64 0, !18, i64 8}
!18 = !{!"long", !7, i64 0}
!19 = !{!17, !18, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-dev.c_xgbe_config_dma_bus.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-dev.c_xgbe_config_dma_bus.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DMA_SBMR = common local_unnamed_addr global i32 0, align 4
@EAME = common local_unnamed_addr global i32 0, align 4
@UNDEF = common local_unnamed_addr global i32 0, align 4
@BLEN = common local_unnamed_addr global i32 0, align 4
@AAL = common local_unnamed_addr global i32 0, align 4
@RD_OSR_LMT = common local_unnamed_addr global i32 0, align 4
@WR_OSR_LMT = common local_unnamed_addr global i32 0, align 4
@DMA_TXEDMACR = common local_unnamed_addr global i32 0, align 4
@TDPS = common local_unnamed_addr global i32 0, align 4
@DMA_RXEDMACR = common local_unnamed_addr global i32 0, align 4
@RDPS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xgbe_config_dma_bus], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xgbe_config_dma_bus(ptr noundef %0) #0 {
%2 = load i32, ptr @DMA_SBMR, align 4, !tbaa !6
%3 = tail call i32 @XGMAC_IOREAD(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @DMA_SBMR, align 4, !tbaa !6
%5 = load i32, ptr @EAME, align 4, !tbaa !6
%6 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef 1) #2
%7 = load i32, ptr @DMA_SBMR, align 4, !tbaa !6
%8 = load i32, ptr @UNDEF, align 4, !tbaa !6
%9 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %7, i32 noundef %8, i32 noundef 1) #2
%10 = load i32, ptr @DMA_SBMR, align 4, !tbaa !6
%11 = load i32, ptr @BLEN, align 4, !tbaa !6
%12 = load i32, ptr %0, align 8, !tbaa !10
%13 = ashr i32 %12, 2
%14 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %10, i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr @DMA_SBMR, align 4, !tbaa !6
%16 = load i32, ptr @AAL, align 4, !tbaa !6
%17 = getelementptr inbounds i8, ptr %0, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %15, i32 noundef %16, i32 noundef %18) #2
%20 = load i32, ptr @DMA_SBMR, align 4, !tbaa !6
%21 = load i32, ptr @RD_OSR_LMT, align 4, !tbaa !6
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = load i32, ptr %22, align 8, !tbaa !14
%24 = add nsw i32 %23, -1
%25 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %20, i32 noundef %21, i32 noundef %24) #2
%26 = load i32, ptr @DMA_SBMR, align 4, !tbaa !6
%27 = load i32, ptr @WR_OSR_LMT, align 4, !tbaa !6
%28 = getelementptr inbounds i8, ptr %0, i64 12
%29 = load i32, ptr %28, align 4, !tbaa !15
%30 = add nsw i32 %29, -1
%31 = tail call i32 @XGMAC_SET_BITS(i32 noundef %3, i32 noundef %26, i32 noundef %27, i32 noundef %30) #2
%32 = load i32, ptr @DMA_SBMR, align 4, !tbaa !6
%33 = tail call i32 @XGMAC_IOWRITE(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %3) #2
%34 = getelementptr inbounds i8, ptr %0, i64 16
%35 = load ptr, ptr %34, align 8, !tbaa !16
%36 = getelementptr inbounds i8, ptr %35, i64 8
%37 = load i64, ptr %36, align 8, !tbaa !17
%38 = icmp eq i64 %37, 0
br i1 %38, label %44, label %39
39: ; preds = %1
%40 = load i32, ptr @DMA_TXEDMACR, align 4, !tbaa !6
%41 = load i32, ptr @TDPS, align 4, !tbaa !6
%42 = tail call i32 @XGMAC_IOWRITE_BITS(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %41, i64 noundef %37) #2
%43 = load ptr, ptr %34, align 8, !tbaa !16
br label %44
44: ; preds = %39, %1
%45 = phi ptr [ %43, %39 ], [ %35, %1 ]
%46 = load i64, ptr %45, align 8, !tbaa !20
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %44
%49 = load i32, ptr @DMA_RXEDMACR, align 4, !tbaa !6
%50 = load i32, ptr @RDPS, align 4, !tbaa !6
%51 = tail call i32 @XGMAC_IOWRITE_BITS(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %50, i64 noundef %46) #2
br label %52
52: ; preds = %48, %44
ret void
}
declare i32 @XGMAC_IOREAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XGMAC_SET_BITS(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XGMAC_IOWRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XGMAC_IOWRITE_BITS(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"xgbe_prv_data", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 4}
!14 = !{!11, !7, i64 8}
!15 = !{!11, !7, i64 12}
!16 = !{!11, !12, i64 16}
!17 = !{!18, !19, i64 8}
!18 = !{!"TYPE_2__", !19, i64 0, !19, i64 8}
!19 = !{!"long", !8, i64 0}
!20 = !{!18, !19, i64 0}
| linux_drivers_net_ethernet_amd_xgbe_extr_xgbe-dev.c_xgbe_config_dma_bus |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-lh7a40x/extr_irq-lh7a404.c_lh7a404_vic1_unmask_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-lh7a40x/extr_irq-lh7a404.c_lh7a404_vic1_unmask_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"
@VIC1_INTEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lh7a404_vic1_unmask_irq], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable
define internal void @lh7a404_vic1_unmask_irq(i32 noundef %0) #0 {
%2 = shl nuw i32 1, %0
store i32 %2, ptr @VIC1_INTEN, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-lh7a40x/extr_irq-lh7a404.c_lh7a404_vic1_unmask_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-lh7a40x/extr_irq-lh7a404.c_lh7a404_vic1_unmask_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VIC1_INTEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lh7a404_vic1_unmask_irq], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal void @lh7a404_vic1_unmask_irq(i32 noundef %0) #0 {
%2 = shl nuw i32 1, %0
store i32 %2, ptr @VIC1_INTEN, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_arm_mach-lh7a40x_extr_irq-lh7a404.c_lh7a404_vic1_unmask_irq |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_enc28j60.c_nolock_regb_write.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_enc28j60.c_nolock_regb_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"
@ENC28J60_WRITE_CTRL_REG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nolock_regb_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nolock_regb_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @enc28j60_set_bank(ptr noundef %0, i32 noundef %1) #2
%5 = load i32, ptr @ENC28J60_WRITE_CTRL_REG, align 4, !tbaa !5
%6 = tail call i32 @spi_write_op(ptr noundef %0, i32 noundef %5, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @enc28j60_set_bank(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spi_write_op(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/extr_enc28j60.c_nolock_regb_write.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_enc28j60.c_nolock_regb_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENC28J60_WRITE_CTRL_REG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nolock_regb_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nolock_regb_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @enc28j60_set_bank(ptr noundef %0, i32 noundef %1) #2
%5 = load i32, ptr @ENC28J60_WRITE_CTRL_REG, align 4, !tbaa !6
%6 = tail call i32 @spi_write_op(ptr noundef %0, i32 noundef %5, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @enc28j60_set_bank(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spi_write_op(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_extr_enc28j60.c_nolock_regb_write |
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_suballoc.c_ocfs2_release_clusters.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_suballoc.c_ocfs2_release_clusters.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_ocfs2_clear_bit = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ocfs2_release_clusters(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @_ocfs2_clear_bit, align 4, !tbaa !5
%7 = tail call i32 @_ocfs2_free_clusters(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @_ocfs2_free_clusters(ptr noundef, ptr noundef, 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/linux/fs/ocfs2/extr_suballoc.c_ocfs2_release_clusters.c'
source_filename = "AnghaBench/linux/fs/ocfs2/extr_suballoc.c_ocfs2_release_clusters.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_ocfs2_clear_bit = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ocfs2_release_clusters(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @_ocfs2_clear_bit, align 4, !tbaa !6
%7 = tail call i32 @_ocfs2_free_clusters(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %6) #2
ret i32 %7
}
declare i32 @_ocfs2_free_clusters(ptr noundef, ptr noundef, 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"}
| linux_fs_ocfs2_extr_suballoc.c_ocfs2_release_clusters |
; ModuleID = 'AnghaBench/linux/net/rxrpc/extr_af_rxrpc.c_rxrpc_writable.c'
source_filename = "AnghaBench/linux/net/rxrpc/extr_af_rxrpc.c_rxrpc_writable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sock = type { i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @rxrpc_writable], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @rxrpc_writable(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.sock, ptr %0, i64 0, i32 1
%3 = tail call i64 @refcount_read(ptr noundef nonnull %2) #2
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp ult i64 %3, %4
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i64 @refcount_read(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sock", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/rxrpc/extr_af_rxrpc.c_rxrpc_writable.c'
source_filename = "AnghaBench/linux/net/rxrpc/extr_af_rxrpc.c_rxrpc_writable.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 @rxrpc_writable], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @rxrpc_writable(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = tail call i64 @refcount_read(ptr noundef nonnull %2) #2
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp ult i64 %3, %4
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i64 @refcount_read(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sock", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
| linux_net_rxrpc_extr_af_rxrpc.c_rxrpc_writable |
; ModuleID = 'AnghaBench/postgres/src/backend/storage/ipc/extr_ipc.c_shmem_exit.c'
source_filename = "AnghaBench/postgres/src/backend/storage/ipc/extr_ipc.c_shmem_exit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, ptr }
%struct.TYPE_3__ = type { i32, ptr }
@shmem_exit_inprogress = dso_local local_unnamed_addr global i32 0, align 4
@DEBUG3 = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"shmem_exit(%d): %d before_shmem_exit callbacks to make\00", align 1
@before_shmem_exit_index = dso_local local_unnamed_addr global i64 0, align 8
@before_shmem_exit_list = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [51 x i8] c"shmem_exit(%d): %d on_shmem_exit callbacks to make\00", align 1
@on_shmem_exit_index = dso_local local_unnamed_addr global i64 0, align 8
@on_shmem_exit_list = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @shmem_exit(i32 noundef %0) local_unnamed_addr #0 {
store i32 1, ptr @shmem_exit_inprogress, align 4, !tbaa !5
%2 = load i32, ptr @DEBUG3, align 4, !tbaa !5
%3 = load i64, ptr @before_shmem_exit_index, align 8, !tbaa !9
%4 = tail call i32 @elog(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %0, i64 noundef %3) #2
%5 = load i64, ptr @before_shmem_exit_index, align 8, !tbaa !9
%6 = add nsw i64 %5, -1
store i64 %6, ptr @before_shmem_exit_index, align 8, !tbaa !9
%7 = icmp sgt i64 %5, 0
br i1 %7, label %8, label %19
8: ; preds = %1, %8
%9 = phi i64 [ %17, %8 ], [ %6, %1 ]
%10 = load ptr, ptr @before_shmem_exit_list, align 8, !tbaa !11
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 %9
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 %9, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = load i32, ptr %11, align 8, !tbaa !15
%15 = tail call i32 %13(i32 noundef %0, i32 noundef %14) #2
%16 = load i64, ptr @before_shmem_exit_index, align 8, !tbaa !9
%17 = add nsw i64 %16, -1
store i64 %17, ptr @before_shmem_exit_index, align 8, !tbaa !9
%18 = icmp sgt i64 %16, 0
br i1 %18, label %8, label %19, !llvm.loop !16
19: ; preds = %8, %1
store i64 0, ptr @before_shmem_exit_index, align 8, !tbaa !9
%20 = tail call i32 (...) @dsm_backend_shutdown() #2
%21 = load i32, ptr @DEBUG3, align 4, !tbaa !5
%22 = load i64, ptr @on_shmem_exit_index, align 8, !tbaa !9
%23 = tail call i32 @elog(i32 noundef %21, ptr noundef nonnull @.str.1, i32 noundef %0, i64 noundef %22) #2
%24 = load i64, ptr @on_shmem_exit_index, align 8, !tbaa !9
%25 = add nsw i64 %24, -1
store i64 %25, ptr @on_shmem_exit_index, align 8, !tbaa !9
%26 = icmp sgt i64 %24, 0
br i1 %26, label %27, label %38
27: ; preds = %19, %27
%28 = phi i64 [ %36, %27 ], [ %25, %19 ]
%29 = load ptr, ptr @on_shmem_exit_list, align 8, !tbaa !11
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i64 %28
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i64 %28, i32 1
%32 = load ptr, ptr %31, align 8, !tbaa !18
%33 = load i32, ptr %30, align 8, !tbaa !20
%34 = tail call i32 %32(i32 noundef %0, i32 noundef %33) #2
%35 = load i64, ptr @on_shmem_exit_index, align 8, !tbaa !9
%36 = add nsw i64 %35, -1
store i64 %36, ptr @on_shmem_exit_index, align 8, !tbaa !9
%37 = icmp sgt i64 %35, 0
br i1 %37, label %27, label %38, !llvm.loop !21
38: ; preds = %27, %19
store i64 0, ptr @on_shmem_exit_index, align 8, !tbaa !9
store i32 0, ptr @shmem_exit_inprogress, align 4, !tbaa !5
ret void
}
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dsm_backend_shutdown(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"TYPE_4__", !6, i64 0, !12, i64 8}
!15 = !{!14, !6, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !12, i64 8}
!19 = !{!"TYPE_3__", !6, i64 0, !12, i64 8}
!20 = !{!19, !6, i64 0}
!21 = distinct !{!21, !17}
| ; ModuleID = 'AnghaBench/postgres/src/backend/storage/ipc/extr_ipc.c_shmem_exit.c'
source_filename = "AnghaBench/postgres/src/backend/storage/ipc/extr_ipc.c_shmem_exit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32, ptr }
%struct.TYPE_3__ = type { i32, ptr }
@shmem_exit_inprogress = common local_unnamed_addr global i32 0, align 4
@DEBUG3 = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"shmem_exit(%d): %d before_shmem_exit callbacks to make\00", align 1
@before_shmem_exit_index = common local_unnamed_addr global i64 0, align 8
@before_shmem_exit_list = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [51 x i8] c"shmem_exit(%d): %d on_shmem_exit callbacks to make\00", align 1
@on_shmem_exit_index = common local_unnamed_addr global i64 0, align 8
@on_shmem_exit_list = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @shmem_exit(i32 noundef %0) local_unnamed_addr #0 {
store i32 1, ptr @shmem_exit_inprogress, align 4, !tbaa !6
%2 = load i32, ptr @DEBUG3, align 4, !tbaa !6
%3 = load i64, ptr @before_shmem_exit_index, align 8, !tbaa !10
%4 = tail call i32 @elog(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %0, i64 noundef %3) #2
%5 = load i64, ptr @before_shmem_exit_index, align 8, !tbaa !10
%6 = add nsw i64 %5, -1
store i64 %6, ptr @before_shmem_exit_index, align 8, !tbaa !10
%7 = icmp sgt i64 %5, 0
br i1 %7, label %8, label %19
8: ; preds = %1, %8
%9 = phi i64 [ %17, %8 ], [ %6, %1 ]
%10 = load ptr, ptr @before_shmem_exit_list, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 %9
%12 = getelementptr inbounds i8, ptr %11, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load i32, ptr %11, align 8, !tbaa !16
%15 = tail call i32 %13(i32 noundef %0, i32 noundef %14) #2
%16 = load i64, ptr @before_shmem_exit_index, align 8, !tbaa !10
%17 = add nsw i64 %16, -1
store i64 %17, ptr @before_shmem_exit_index, align 8, !tbaa !10
%18 = icmp sgt i64 %16, 0
br i1 %18, label %8, label %19, !llvm.loop !17
19: ; preds = %8, %1
store i64 0, ptr @before_shmem_exit_index, align 8, !tbaa !10
%20 = tail call i32 @dsm_backend_shutdown() #2
%21 = load i32, ptr @DEBUG3, align 4, !tbaa !6
%22 = load i64, ptr @on_shmem_exit_index, align 8, !tbaa !10
%23 = tail call i32 @elog(i32 noundef %21, ptr noundef nonnull @.str.1, i32 noundef %0, i64 noundef %22) #2
%24 = load i64, ptr @on_shmem_exit_index, align 8, !tbaa !10
%25 = add nsw i64 %24, -1
store i64 %25, ptr @on_shmem_exit_index, align 8, !tbaa !10
%26 = icmp sgt i64 %24, 0
br i1 %26, label %27, label %38
27: ; preds = %19, %27
%28 = phi i64 [ %36, %27 ], [ %25, %19 ]
%29 = load ptr, ptr @on_shmem_exit_list, align 8, !tbaa !12
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i64 %28
%31 = getelementptr inbounds i8, ptr %30, i64 8
%32 = load ptr, ptr %31, align 8, !tbaa !19
%33 = load i32, ptr %30, align 8, !tbaa !21
%34 = tail call i32 %32(i32 noundef %0, i32 noundef %33) #2
%35 = load i64, ptr @on_shmem_exit_index, align 8, !tbaa !10
%36 = add nsw i64 %35, -1
store i64 %36, ptr @on_shmem_exit_index, align 8, !tbaa !10
%37 = icmp sgt i64 %35, 0
br i1 %37, label %27, label %38, !llvm.loop !22
38: ; preds = %27, %19
store i64 0, ptr @on_shmem_exit_index, align 8, !tbaa !10
store i32 0, ptr @shmem_exit_inprogress, align 4, !tbaa !6
ret void
}
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dsm_backend_shutdown(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"TYPE_4__", !7, i64 0, !13, i64 8}
!16 = !{!15, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !13, i64 8}
!20 = !{!"TYPE_3__", !7, i64 0, !13, i64 8}
!21 = !{!20, !7, i64 0}
!22 = distinct !{!22, !18}
| postgres_src_backend_storage_ipc_extr_ipc.c_shmem_exit |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ntb/ntb_hw/extr_ntb_hw_plx.c_ntb_plx_mw_set_trans.c'
source_filename = "AnghaBench/freebsd/sys/dev/ntb/ntb_hw/extr_ntb_hw_plx.c_ntb_plx_mw_set_trans.c"
target datalayout = "e-m:e-p270:32:32-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.ntb_plx_softc = type { i32, ptr }
%struct.ntb_plx_mw_info = type { ptr, i32 }
%struct.TYPE_2__ = type { i64, i64 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@UINT32_MAX = dso_local local_unnamed_addr global i64 0, align 8
@ERANGE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ntb_plx_mw_set_trans], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ntb_plx_mw_set_trans(i32 noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call ptr @device_get_softc(i32 noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%7 = call i32 @ntb_plx_user_mw_to_idx(ptr noundef %6, i32 noundef %1, ptr noundef nonnull %5) #3
%8 = load i32, ptr %6, align 8, !tbaa !5
%9 = icmp ult i32 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = load i32, ptr @EINVAL, align 4, !tbaa !11
br label %37
12: ; preds = %4
%13 = getelementptr inbounds %struct.ntb_plx_softc, ptr %6, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !12
%15 = zext i32 %7 to i64
%16 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %14, i64 %15
%17 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %14, i64 %15, i32 1
%18 = load i32, ptr %17, align 8, !tbaa !13
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %12
%21 = load i64, ptr @UINT32_MAX, align 8, !tbaa !15
%22 = and i64 %21, %2
%23 = icmp eq i64 %22, %2
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = add i64 %3, %2
%26 = and i64 %21, %25
%27 = icmp eq i64 %26, %25
br i1 %27, label %30, label %28
28: ; preds = %24, %20
%29 = load i32, ptr @ERANGE, align 4, !tbaa !11
br label %37
30: ; preds = %24, %12
%31 = load ptr, ptr %16, align 8, !tbaa !17
%32 = load i32, ptr %5, align 4, !tbaa !11
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i64 %33
store i64 %2, ptr %34, align 8, !tbaa !18
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i64 %33, i32 1
store i64 %3, ptr %35, align 8, !tbaa !20
%36 = call i32 @ntb_plx_mw_set_trans_internal(i32 noundef %0, i32 noundef %7) #3
br label %37
37: ; preds = %30, %28, %10
%38 = phi i32 [ %11, %10 ], [ %36, %30 ], [ %29, %28 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i32 @ntb_plx_user_mw_to_idx(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ntb_plx_mw_set_trans_internal(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ntb_plx_softc", !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, !10, i64 8}
!13 = !{!14, !7, i64 8}
!14 = !{!"ntb_plx_mw_info", !10, i64 0, !7, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!14, !10, i64 0}
!18 = !{!19, !16, i64 0}
!19 = !{!"TYPE_2__", !16, i64 0, !16, i64 8}
!20 = !{!19, !16, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ntb/ntb_hw/extr_ntb_hw_plx.c_ntb_plx_mw_set_trans.c'
source_filename = "AnghaBench/freebsd/sys/dev/ntb/ntb_hw/extr_ntb_hw_plx.c_ntb_plx_mw_set_trans.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ntb_plx_mw_info = type { ptr, i32 }
%struct.TYPE_2__ = type { i64, i64 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@UINT32_MAX = common local_unnamed_addr global i64 0, align 8
@ERANGE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ntb_plx_mw_set_trans], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ntb_plx_mw_set_trans(i32 noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call ptr @device_get_softc(i32 noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%7 = call i32 @ntb_plx_user_mw_to_idx(ptr noundef %6, i32 noundef %1, ptr noundef nonnull %5) #3
%8 = load i32, ptr %6, align 8, !tbaa !6
%9 = icmp ult i32 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %37
12: ; preds = %4
%13 = getelementptr inbounds i8, ptr %6, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = zext i32 %7 to i64
%16 = getelementptr inbounds %struct.ntb_plx_mw_info, ptr %14, i64 %15
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = load i32, ptr %17, align 8, !tbaa !14
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %12
%21 = load i64, ptr @UINT32_MAX, align 8, !tbaa !16
%22 = and i64 %21, %2
%23 = icmp eq i64 %22, %2
br i1 %23, label %24, label %28
24: ; preds = %20
%25 = add i64 %3, %2
%26 = and i64 %21, %25
%27 = icmp eq i64 %26, %25
br i1 %27, label %30, label %28
28: ; preds = %24, %20
%29 = load i32, ptr @ERANGE, align 4, !tbaa !12
br label %37
30: ; preds = %24, %12
%31 = load ptr, ptr %16, align 8, !tbaa !18
%32 = load i32, ptr %5, align 4, !tbaa !12
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i64 %33
store i64 %2, ptr %34, align 8, !tbaa !19
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i64 %33, i32 1
store i64 %3, ptr %35, align 8, !tbaa !21
%36 = call i32 @ntb_plx_mw_set_trans_internal(i32 noundef %0, i32 noundef %7) #3
br label %37
37: ; preds = %30, %28, %10
%38 = phi i32 [ %11, %10 ], [ %36, %30 ], [ %29, %28 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2
declare i32 @ntb_plx_user_mw_to_idx(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ntb_plx_mw_set_trans_internal(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ntb_plx_softc", !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, !11, i64 8}
!14 = !{!15, !8, i64 8}
!15 = !{!"ntb_plx_mw_info", !11, i64 0, !8, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!15, !11, i64 0}
!19 = !{!20, !17, i64 0}
!20 = !{!"TYPE_2__", !17, i64 0, !17, i64 8}
!21 = !{!20, !17, i64 8}
| freebsd_sys_dev_ntb_ntb_hw_extr_ntb_hw_plx.c_ntb_plx_mw_set_trans |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rt2860/common/extr_ba_action.c_ba_reordering_mpdu_probe.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rt2860/common/extr_ba_action.c_ba_reordering_mpdu_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ba_reordering_mpdu_probe], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @ba_reordering_mpdu_probe(ptr noundef %0) #0 {
%2 = tail call i32 @ASSERT(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !5
ret ptr %3
}
declare i32 @ASSERT(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"reordering_list", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rt2860/common/extr_ba_action.c_ba_reordering_mpdu_probe.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rt2860/common/extr_ba_action.c_ba_reordering_mpdu_probe.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 @ba_reordering_mpdu_probe], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @ba_reordering_mpdu_probe(ptr noundef %0) #0 {
%2 = tail call i32 @ASSERT(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !6
ret ptr %3
}
declare i32 @ASSERT(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"reordering_list", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_staging_rt2860_common_extr_ba_action.c_ba_reordering_mpdu_probe |
; ModuleID = 'AnghaBench/hashcat/deps/LZMA-SDK/C/extr_LzFindMt.c_MtSync_Create.c'
source_filename = "AnghaBench/hashcat/deps/LZMA-SDK/C/extr_LzFindMt.c_MtSync_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"
@SZ_OK = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @MtSync_Create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @MtSync_Create(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i64 @MtSync_Create2(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #2
%6 = load i64, ptr @SZ_OK, align 8, !tbaa !5
%7 = icmp eq i64 %5, %6
br i1 %7, label %10, label %8
8: ; preds = %4
%9 = tail call i32 @MtSync_Destruct(ptr noundef %0) #2
br label %10
10: ; preds = %8, %4
ret i64 %5
}
declare i64 @MtSync_Create2(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MtSync_Destruct(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/hashcat/deps/LZMA-SDK/C/extr_LzFindMt.c_MtSync_Create.c'
source_filename = "AnghaBench/hashcat/deps/LZMA-SDK/C/extr_LzFindMt.c_MtSync_Create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SZ_OK = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @MtSync_Create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @MtSync_Create(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i64 @MtSync_Create2(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #2
%6 = load i64, ptr @SZ_OK, align 8, !tbaa !6
%7 = icmp eq i64 %5, %6
br i1 %7, label %10, label %8
8: ; preds = %4
%9 = tail call i32 @MtSync_Destruct(ptr noundef %0) #2
br label %10
10: ; preds = %8, %4
ret i64 %5
}
declare i64 @MtSync_Create2(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MtSync_Destruct(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| hashcat_deps_LZMA-SDK_C_extr_LzFindMt.c_MtSync_Create |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_snmp.c_bits_get.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_snmp.c_bits_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, i64 }
@SNMP_ERR_NOERROR = dso_local local_unnamed_addr global i32 0, align 4
@SNMP_ERR_RES_UNAVAIL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bits_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bits_get(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = getelementptr i64, ptr %1, i64 -1
%7 = icmp sgt i32 %2, 0
br i1 %7, label %9, label %18
8: ; preds = %3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
br label %27
9: ; preds = %5, %15
%10 = phi i32 [ %16, %15 ], [ %2, %5 ]
%11 = zext nneg i32 %10 to i64
%12 = getelementptr i64, ptr %6, i64 %11
%13 = load i64, ptr %12, align 8, !tbaa !5
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = add nsw i32 %10, -1
%17 = icmp sgt i32 %10, 1
br i1 %17, label %9, label %18, !llvm.loop !9
18: ; preds = %15, %9, %5
%19 = phi i32 [ %2, %5 ], [ %10, %9 ], [ 0, %15 ]
%20 = tail call i32 @llvm.umax.i32(i32 %19, i32 1)
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store i64 %21, ptr %22, align 8, !tbaa !11
%23 = tail call ptr @malloc(i64 noundef %21)
store ptr %23, ptr %0, align 8, !tbaa !16
%24 = icmp eq ptr %23, null
br i1 %24, label %27, label %25
25: ; preds = %18
%26 = tail call i32 @memcpy(ptr noundef nonnull %23, ptr noundef nonnull %1, i64 noundef %21) #5
br label %27
27: ; preds = %18, %25, %8
%28 = phi ptr [ @SNMP_ERR_NOERROR, %8 ], [ @SNMP_ERR_NOERROR, %25 ], [ @SNMP_ERR_RES_UNAVAIL, %18 ]
%29 = load i32, ptr %28, align 4, !tbaa !17
ret i32 %29
}
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 8}
!12 = !{!"snmp_value", !13, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !15, i64 0, !6, i64 8}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!12, !15, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_snmp.c_bits_get.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_snmp.c_bits_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNMP_ERR_NOERROR = common local_unnamed_addr global i32 0, align 4
@SNMP_ERR_RES_UNAVAIL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bits_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bits_get(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = getelementptr i8, ptr %1, i64 -8
%7 = icmp sgt i32 %2, 0
br i1 %7, label %9, label %18
8: ; preds = %3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
br label %27
9: ; preds = %5, %15
%10 = phi i32 [ %16, %15 ], [ %2, %5 ]
%11 = zext nneg i32 %10 to i64
%12 = getelementptr i64, ptr %6, i64 %11
%13 = load i64, ptr %12, align 8, !tbaa !6
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = add nsw i32 %10, -1
%17 = icmp sgt i32 %10, 1
br i1 %17, label %9, label %18, !llvm.loop !10
18: ; preds = %15, %9, %5
%19 = phi i32 [ %2, %5 ], [ %10, %9 ], [ 0, %15 ]
%20 = tail call i32 @llvm.umax.i32(i32 %19, i32 1)
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %21, ptr %22, align 8, !tbaa !12
%23 = tail call ptr @malloc(i64 noundef %21)
store ptr %23, ptr %0, align 8, !tbaa !17
%24 = icmp eq ptr %23, null
br i1 %24, label %27, label %25
25: ; preds = %18
%26 = tail call i32 @memcpy(ptr noundef nonnull %23, ptr noundef nonnull %1, i64 noundef %21) #5
br label %27
27: ; preds = %18, %25, %8
%28 = phi ptr [ @SNMP_ERR_NOERROR, %8 ], [ @SNMP_ERR_NOERROR, %25 ], [ @SNMP_ERR_RES_UNAVAIL, %18 ]
%29 = load i32, ptr %28, align 4, !tbaa !18
ret i32 %29
}
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !7, i64 8}
!13 = !{!"snmp_value", !14, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !16, i64 0, !7, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!13, !16, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !8, i64 0}
| freebsd_usr.sbin_bsnmpd_modules_snmp_wlan_extr_wlan_snmp.c_bits_get |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mn10300/kernel/extr_gdb-stub.c___gdbstub_restore_bp.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mn10300/kernel/extr_gdb-stub.c___gdbstub_restore_bp.c"
target datalayout = "e-m:e-p270:32:32-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 }
@step_bp = dso_local local_unnamed_addr global ptr null, align 8
@gdbstub_flush_caches = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__gdbstub_restore_bp], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @__gdbstub_restore_bp() #0 {
%1 = load ptr, ptr @step_bp, align 8, !tbaa !5
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !9
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %0
%6 = load ptr, ptr %1, align 8, !tbaa !11
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = tail call i32 @gdbstub_write_byte(i64 noundef %7, ptr noundef nonnull %3) #3
%9 = load ptr, ptr @step_bp, align 8, !tbaa !5
br label %10
10: ; preds = %5, %0
%11 = phi ptr [ %9, %5 ], [ %1, %0 ]
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 1, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !9
%14 = icmp eq ptr %13, null
br i1 %14, label %21, label %15
15: ; preds = %10
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 1
%17 = load ptr, ptr %16, align 8, !tbaa !11
%18 = load i64, ptr %17, align 8, !tbaa !12
%19 = tail call i32 @gdbstub_write_byte(i64 noundef %18, ptr noundef nonnull %13) #3
%20 = load ptr, ptr @step_bp, align 8, !tbaa !5
br label %21
21: ; preds = %15, %10
%22 = phi ptr [ %20, %15 ], [ %11, %10 ]
store i32 1, ptr @gdbstub_flush_caches, align 4, !tbaa !14
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 0, i32 1
store ptr null, ptr %23, align 8, !tbaa !9
%24 = load ptr, ptr %22, align 8, !tbaa !11
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 1, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %24, i8 0, i64 16, i1 false)
store ptr null, ptr %25, align 8, !tbaa !9
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 1
%27 = load ptr, ptr %26, align 8, !tbaa !11
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %27, i8 0, i64 16, i1 false)
ret void
}
declare i32 @gdbstub_write_byte(i64 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_2__", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mn10300/kernel/extr_gdb-stub.c___gdbstub_restore_bp.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mn10300/kernel/extr_gdb-stub.c___gdbstub_restore_bp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@step_bp = common local_unnamed_addr global ptr null, align 8
@gdbstub_flush_caches = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__gdbstub_restore_bp], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @__gdbstub_restore_bp() #0 {
%1 = load ptr, ptr @step_bp, align 8, !tbaa !6
%2 = getelementptr inbounds i8, ptr %1, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %0
%6 = load ptr, ptr %1, align 8, !tbaa !12
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = tail call i32 @gdbstub_write_byte(i64 noundef %7, ptr noundef nonnull %3) #3
%9 = load ptr, ptr @step_bp, align 8, !tbaa !6
br label %10
10: ; preds = %5, %0
%11 = phi ptr [ %9, %5 ], [ %1, %0 ]
%12 = getelementptr inbounds i8, ptr %11, i64 24
%13 = load ptr, ptr %12, align 8, !tbaa !10
%14 = icmp eq ptr %13, null
br i1 %14, label %21, label %15
15: ; preds = %10
%16 = getelementptr inbounds i8, ptr %11, i64 16
%17 = load ptr, ptr %16, align 8, !tbaa !12
%18 = load i64, ptr %17, align 8, !tbaa !13
%19 = tail call i32 @gdbstub_write_byte(i64 noundef %18, ptr noundef nonnull %13) #3
%20 = load ptr, ptr @step_bp, align 8, !tbaa !6
br label %21
21: ; preds = %15, %10
%22 = phi ptr [ %20, %15 ], [ %11, %10 ]
store i32 1, ptr @gdbstub_flush_caches, align 4, !tbaa !15
%23 = getelementptr inbounds i8, ptr %22, i64 8
store ptr null, ptr %23, align 8, !tbaa !10
%24 = load ptr, ptr %22, align 8, !tbaa !12
%25 = getelementptr inbounds i8, ptr %22, i64 24
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %24, i8 0, i64 16, i1 false)
store ptr null, ptr %25, align 8, !tbaa !10
%26 = getelementptr inbounds i8, ptr %22, i64 16
%27 = load ptr, ptr %26, align 8, !tbaa !12
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %27, i8 0, i64 16, i1 false)
ret void
}
declare i32 @gdbstub_write_byte(i64 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_2__", !7, i64 0, !7, i64 8}
!12 = !{!11, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
| fastsocket_kernel_arch_mn10300_kernel_extr_gdb-stub.c___gdbstub_restore_bp |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_scan_config_mpc.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_scan_config_mpc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BRCMF_FEAT_QUIRK_NEED_MPC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @brcmf_scan_config_mpc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @brcmf_scan_config_mpc(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @BRCMF_FEAT_QUIRK_NEED_MPC, align 4, !tbaa !5
%4 = tail call i64 @brcmf_feat_is_quirk_enabled(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @brcmf_set_mpc(ptr noundef %0, i32 noundef %1) #2
br label %8
8: ; preds = %6, %2
ret void
}
declare i64 @brcmf_feat_is_quirk_enabled(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @brcmf_set_mpc(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_scan_config_mpc.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_scan_config_mpc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BRCMF_FEAT_QUIRK_NEED_MPC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @brcmf_scan_config_mpc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @brcmf_scan_config_mpc(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @BRCMF_FEAT_QUIRK_NEED_MPC, align 4, !tbaa !6
%4 = tail call i64 @brcmf_feat_is_quirk_enabled(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = tail call i32 @brcmf_set_mpc(ptr noundef %0, i32 noundef %1) #2
br label %8
8: ; preds = %6, %2
ret void
}
declare i64 @brcmf_feat_is_quirk_enabled(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @brcmf_set_mpc(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_broadcom_brcm80211_brcmfmac_extr_cfg80211.c_brcmf_scan_config_mpc |
; ModuleID = 'AnghaBench/vim.js/src/extr_gui_photon.c_gui_ph_handle_window_open.c'
source_filename = "AnghaBench/vim.js/src/extr_gui_photon.c_gui_ph_handle_window_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@RESIZE_BOTH = dso_local local_unnamed_addr global i32 0, align 4
@Pt_CONTINUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gui_ph_handle_window_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @gui_ph_handle_window_open(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr @FALSE, align 4, !tbaa !5
%5 = load i32, ptr @TRUE, align 4, !tbaa !5
%6 = load i32, ptr @RESIZE_BOTH, align 4, !tbaa !5
%7 = tail call i32 @gui_set_shellsize(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @Pt_CONTINUE, align 4, !tbaa !5
ret i32 %8
}
declare i32 @gui_set_shellsize(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/vim.js/src/extr_gui_photon.c_gui_ph_handle_window_open.c'
source_filename = "AnghaBench/vim.js/src/extr_gui_photon.c_gui_ph_handle_window_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@RESIZE_BOTH = common local_unnamed_addr global i32 0, align 4
@Pt_CONTINUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gui_ph_handle_window_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @gui_ph_handle_window_open(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr @FALSE, align 4, !tbaa !6
%5 = load i32, ptr @TRUE, align 4, !tbaa !6
%6 = load i32, ptr @RESIZE_BOTH, align 4, !tbaa !6
%7 = tail call i32 @gui_set_shellsize(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @Pt_CONTINUE, align 4, !tbaa !6
ret i32 %8
}
declare i32 @gui_set_shellsize(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"}
| vim.js_src_extr_gui_photon.c_gui_ph_handle_window_open |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msi/extr_automation.c_write_msi_summary_info.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_automation.c_write_msi_summary_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.TYPE_3__ = type { i32, i32, i32, i32, i32 }
@ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"Expected ERROR_SUCCESS, got %u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_msi_summary_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @write_msi_summary_info(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i64 @MsiGetSummaryInformationA(i32 noundef %0, ptr noundef null, i32 noundef %2, ptr noundef nonnull %4) #3
%6 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !5
%7 = icmp eq i64 %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @ok(i32 noundef %8, ptr noundef nonnull @.str, i64 noundef %5) #3
%10 = icmp sgt i32 %2, 0
br i1 %10, label %11, label %33
11: ; preds = %3
%12 = zext nneg i32 %2 to i64
br label %13
13: ; preds = %11, %13
%14 = phi i64 [ 0, %11 ], [ %31, %13 ]
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %14
%16 = load i32, ptr %4, align 4, !tbaa !9
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %14, i32 4
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %14, i32 3
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %14, i32 2
%22 = load i32, ptr %21, align 4, !tbaa !14
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %14, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !15
%25 = load i32, ptr %15, align 4, !tbaa !16
%26 = call i64 @MsiSummaryInfoSetPropertyA(i32 noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %25) #3
%27 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !5
%28 = icmp eq i64 %26, %27
%29 = zext i1 %28 to i32
%30 = call i32 @ok(i32 noundef %29, ptr noundef nonnull @.str, i64 noundef %26) #3
%31 = add nuw nsw i64 %14, 1
%32 = icmp eq i64 %31, %12
br i1 %32, label %33, label %13, !llvm.loop !17
33: ; preds = %13, %3
%34 = load i32, ptr %4, align 4, !tbaa !9
%35 = call i64 @MsiSummaryInfoPersist(i32 noundef %34) #3
%36 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !5
%37 = icmp eq i64 %35, %36
%38 = zext i1 %37 to i32
%39 = call i32 @ok(i32 noundef %38, ptr noundef nonnull @.str, i64 noundef %35) #3
%40 = load i32, ptr %4, align 4, !tbaa !9
%41 = call i32 @MsiCloseHandle(i32 noundef %40) #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 i64 @MsiGetSummaryInformationA(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @MsiSummaryInfoSetPropertyA(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @MsiSummaryInfoPersist(i32 noundef) local_unnamed_addr #2
declare i32 @MsiCloseHandle(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 = !{!"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, !10, i64 16}
!12 = !{!"TYPE_3__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16}
!13 = !{!12, !10, i64 12}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 4}
!16 = !{!12, !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msi/extr_automation.c_write_msi_summary_info.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_automation.c_write_msi_summary_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32 }
@ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"Expected ERROR_SUCCESS, got %u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @write_msi_summary_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @write_msi_summary_info(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i64 @MsiGetSummaryInformationA(i32 noundef %0, ptr noundef null, i32 noundef %2, ptr noundef nonnull %4) #3
%6 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !6
%7 = icmp eq i64 %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @ok(i32 noundef %8, ptr noundef nonnull @.str, i64 noundef %5) #3
%10 = icmp sgt i32 %2, 0
br i1 %10, label %11, label %33
11: ; preds = %3
%12 = zext nneg i32 %2 to i64
br label %13
13: ; preds = %11, %13
%14 = phi i64 [ 0, %11 ], [ %31, %13 ]
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %14
%16 = load i32, ptr %4, align 4, !tbaa !10
%17 = getelementptr inbounds i8, ptr %15, i64 16
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = getelementptr inbounds i8, ptr %15, i64 12
%20 = load i32, ptr %19, align 4, !tbaa !14
%21 = getelementptr inbounds i8, ptr %15, i64 8
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = getelementptr inbounds i8, ptr %15, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !16
%25 = load i32, ptr %15, align 4, !tbaa !17
%26 = call i64 @MsiSummaryInfoSetPropertyA(i32 noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %25) #3
%27 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !6
%28 = icmp eq i64 %26, %27
%29 = zext i1 %28 to i32
%30 = call i32 @ok(i32 noundef %29, ptr noundef nonnull @.str, i64 noundef %26) #3
%31 = add nuw nsw i64 %14, 1
%32 = icmp eq i64 %31, %12
br i1 %32, label %33, label %13, !llvm.loop !18
33: ; preds = %13, %3
%34 = load i32, ptr %4, align 4, !tbaa !10
%35 = call i64 @MsiSummaryInfoPersist(i32 noundef %34) #3
%36 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !6
%37 = icmp eq i64 %35, %36
%38 = zext i1 %37 to i32
%39 = call i32 @ok(i32 noundef %38, ptr noundef nonnull @.str, i64 noundef %35) #3
%40 = load i32, ptr %4, align 4, !tbaa !10
%41 = call i32 @MsiCloseHandle(i32 noundef %40) #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 i64 @MsiGetSummaryInformationA(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @MsiSummaryInfoSetPropertyA(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @MsiSummaryInfoPersist(i32 noundef) local_unnamed_addr #2
declare i32 @MsiCloseHandle(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 = !{!"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, !11, i64 16}
!13 = !{!"TYPE_3__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16}
!14 = !{!13, !11, i64 12}
!15 = !{!13, !11, i64 8}
!16 = !{!13, !11, i64 4}
!17 = !{!13, !11, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| reactos_modules_rostests_winetests_msi_extr_automation.c_write_msi_summary_info |
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_s5p-sss.c_s5p_set_dma_outdata.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_s5p-sss.c_s5p_set_dma_outdata.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FCBTDMAS = dso_local local_unnamed_addr global i32 0, align 4
@FCBTDMAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @s5p_set_dma_outdata], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @s5p_set_dma_outdata(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @FCBTDMAS, align 4, !tbaa !5
%4 = tail call i32 @sg_dma_address(ptr noundef %1) #2
%5 = tail call i32 @SSS_WRITE(ptr noundef %0, i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr @FCBTDMAL, align 4, !tbaa !5
%7 = tail call i32 @sg_dma_len(ptr noundef %1) #2
%8 = tail call i32 @SSS_WRITE(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2
ret void
}
declare i32 @SSS_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sg_dma_address(ptr noundef) local_unnamed_addr #1
declare i32 @sg_dma_len(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_s5p-sss.c_s5p_set_dma_outdata.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_s5p-sss.c_s5p_set_dma_outdata.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FCBTDMAS = common local_unnamed_addr global i32 0, align 4
@FCBTDMAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @s5p_set_dma_outdata], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @s5p_set_dma_outdata(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @FCBTDMAS, align 4, !tbaa !6
%4 = tail call i32 @sg_dma_address(ptr noundef %1) #2
%5 = tail call i32 @SSS_WRITE(ptr noundef %0, i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr @FCBTDMAL, align 4, !tbaa !6
%7 = tail call i32 @sg_dma_len(ptr noundef %1) #2
%8 = tail call i32 @SSS_WRITE(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2
ret void
}
declare i32 @SSS_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sg_dma_address(ptr noundef) local_unnamed_addr #1
declare i32 @sg_dma_len(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_crypto_extr_s5p-sss.c_s5p_set_dma_outdata |
; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_iter.c_zfs_iter_bookmarks.c'
source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_iter.c_zfs_iter_bookmarks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ZFS_TYPE_SNAPSHOT = dso_local local_unnamed_addr global i32 0, align 4
@ZFS_TYPE_BOOKMARK = dso_local local_unnamed_addr global i32 0, align 4
@ZFS_NUM_PROPS = dso_local local_unnamed_addr global i64 0, align 8
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"redact_complete\00", align 1
@ZFS_MAX_DATASET_NAME_LEN = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%s#%s\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @zfs_iter_bookmarks(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
store ptr null, ptr %4, align 8, !tbaa !5
%5 = tail call i32 @zfs_get_type(ptr noundef %0) #4
%6 = load i32, ptr @ZFS_TYPE_SNAPSHOT, align 4, !tbaa !9
%7 = load i32, ptr @ZFS_TYPE_BOOKMARK, align 4, !tbaa !9
%8 = or i32 %7, %6
%9 = and i32 %8, %5
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %68
11: ; preds = %3
%12 = tail call ptr (...) @fnvlist_alloc() #4
%13 = load i64, ptr @ZFS_NUM_PROPS, align 8, !tbaa !11
%14 = icmp sgt i64 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %29, %11
%16 = tail call i32 @fnvlist_add_boolean(ptr noundef %12, ptr noundef nonnull @.str) #4
%17 = load ptr, ptr %0, align 8, !tbaa !13
%18 = call i32 @lzc_get_bookmarks(ptr noundef %17, ptr noundef %12, ptr noundef nonnull %4) #4
%19 = icmp eq i32 %18, 0
br i1 %19, label %33, label %63
20: ; preds = %11, %29
%21 = phi i64 [ %30, %29 ], [ 0, %11 ]
%22 = load i32, ptr @ZFS_TYPE_BOOKMARK, align 4, !tbaa !9
%23 = load i32, ptr @B_FALSE, align 4, !tbaa !9
%24 = tail call i64 @zfs_prop_valid_for_type(i64 noundef %21, i32 noundef %22, i32 noundef %23) #4
%25 = icmp eq i64 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %20
%27 = tail call ptr @zfs_prop_to_name(i64 noundef %21) #4
%28 = tail call i32 @fnvlist_add_boolean(ptr noundef %12, ptr noundef %27) #4
br label %29
29: ; preds = %20, %26
%30 = add nuw nsw i64 %21, 1
%31 = load i64, ptr @ZFS_NUM_PROPS, align 8, !tbaa !11
%32 = icmp slt i64 %30, %31
br i1 %32, label %20, label %15, !llvm.loop !15
33: ; preds = %15
%34 = load ptr, ptr %4, align 8, !tbaa !5
%35 = call ptr @nvlist_next_nvpair(ptr noundef %34, ptr noundef null) #4
%36 = icmp eq ptr %35, null
br i1 %36, label %63, label %37
37: ; preds = %33, %59
%38 = phi ptr [ %61, %59 ], [ %35, %33 ]
%39 = load i32, ptr @ZFS_MAX_DATASET_NAME_LEN, align 4, !tbaa !9
%40 = zext i32 %39 to i64
%41 = call ptr @llvm.stacksave.p0()
%42 = alloca i8, i64 %40, align 16
%43 = call ptr @nvpair_name(ptr noundef nonnull %38) #4
%44 = call ptr @fnvpair_value_nvlist(ptr noundef nonnull %38) #4
%45 = load ptr, ptr %0, align 8, !tbaa !13
%46 = call i32 @snprintf(ptr noundef nonnull %42, i32 noundef %39, ptr noundef nonnull @.str.1, ptr noundef %45, ptr noundef %43) #4
%47 = sext i32 %46 to i64
%48 = icmp ult i64 %47, %40
br i1 %48, label %51, label %49
49: ; preds = %37
%50 = load i32, ptr @EINVAL, align 4, !tbaa !9
br label %57
51: ; preds = %37
%52 = call ptr @make_bookmark_handle(ptr noundef nonnull %0, ptr noundef nonnull %42, ptr noundef %44) #4
%53 = icmp eq ptr %52, null
br i1 %53, label %59, label %54
54: ; preds = %51
%55 = call i32 %1(ptr noundef nonnull %52, ptr noundef %2) #4
%56 = icmp eq i32 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %54, %49
%58 = phi i32 [ %50, %49 ], [ %55, %54 ]
call void @llvm.stackrestore.p0(ptr %41)
br label %63
59: ; preds = %54, %51
call void @llvm.stackrestore.p0(ptr %41)
%60 = load ptr, ptr %4, align 8, !tbaa !5
%61 = call ptr @nvlist_next_nvpair(ptr noundef %60, ptr noundef nonnull %38) #4
%62 = icmp eq ptr %61, null
br i1 %62, label %63, label %37, !llvm.loop !17
63: ; preds = %59, %33, %57, %15
%64 = phi i32 [ %18, %15 ], [ %58, %57 ], [ 0, %33 ], [ 0, %59 ]
%65 = call i32 @fnvlist_free(ptr noundef %12) #4
%66 = load ptr, ptr %4, align 8, !tbaa !5
%67 = call i32 @fnvlist_free(ptr noundef %66) #4
br label %68
68: ; preds = %3, %63
%69 = phi i32 [ %64, %63 ], [ 0, %3 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
ret i32 %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @zfs_get_type(ptr noundef) local_unnamed_addr #2
declare ptr @fnvlist_alloc(...) local_unnamed_addr #2
declare i64 @zfs_prop_valid_for_type(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fnvlist_add_boolean(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @zfs_prop_to_name(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @lzc_get_bookmarks(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @nvlist_next_nvpair(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare ptr @nvpair_name(ptr noundef) local_unnamed_addr #2
declare ptr @fnvpair_value_nvlist(ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @make_bookmark_handle(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
declare i32 @fnvlist_free(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_8__", !6, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| ; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_iter.c_zfs_iter_bookmarks.c'
source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_iter.c_zfs_iter_bookmarks.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZFS_TYPE_SNAPSHOT = common local_unnamed_addr global i32 0, align 4
@ZFS_TYPE_BOOKMARK = common local_unnamed_addr global i32 0, align 4
@ZFS_NUM_PROPS = common local_unnamed_addr global i64 0, align 8
@B_FALSE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"redact_complete\00", align 1
@ZFS_MAX_DATASET_NAME_LEN = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%s#%s\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @zfs_iter_bookmarks(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
store ptr null, ptr %4, align 8, !tbaa !6
%5 = tail call i32 @zfs_get_type(ptr noundef %0) #4
%6 = load i32, ptr @ZFS_TYPE_SNAPSHOT, align 4, !tbaa !10
%7 = load i32, ptr @ZFS_TYPE_BOOKMARK, align 4, !tbaa !10
%8 = or i32 %7, %6
%9 = and i32 %8, %5
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %68
11: ; preds = %3
%12 = tail call ptr @fnvlist_alloc() #4
%13 = load i64, ptr @ZFS_NUM_PROPS, align 8, !tbaa !12
%14 = icmp sgt i64 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %29, %11
%16 = tail call i32 @fnvlist_add_boolean(ptr noundef %12, ptr noundef nonnull @.str) #4
%17 = load ptr, ptr %0, align 8, !tbaa !14
%18 = call i32 @lzc_get_bookmarks(ptr noundef %17, ptr noundef %12, ptr noundef nonnull %4) #4
%19 = icmp eq i32 %18, 0
br i1 %19, label %33, label %63
20: ; preds = %11, %29
%21 = phi i64 [ %30, %29 ], [ 0, %11 ]
%22 = load i32, ptr @ZFS_TYPE_BOOKMARK, align 4, !tbaa !10
%23 = load i32, ptr @B_FALSE, align 4, !tbaa !10
%24 = tail call i64 @zfs_prop_valid_for_type(i64 noundef %21, i32 noundef %22, i32 noundef %23) #4
%25 = icmp eq i64 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %20
%27 = tail call ptr @zfs_prop_to_name(i64 noundef %21) #4
%28 = tail call i32 @fnvlist_add_boolean(ptr noundef %12, ptr noundef %27) #4
br label %29
29: ; preds = %20, %26
%30 = add nuw nsw i64 %21, 1
%31 = load i64, ptr @ZFS_NUM_PROPS, align 8, !tbaa !12
%32 = icmp slt i64 %30, %31
br i1 %32, label %20, label %15, !llvm.loop !16
33: ; preds = %15
%34 = load ptr, ptr %4, align 8, !tbaa !6
%35 = call ptr @nvlist_next_nvpair(ptr noundef %34, ptr noundef null) #4
%36 = icmp eq ptr %35, null
br i1 %36, label %63, label %37
37: ; preds = %33, %59
%38 = phi ptr [ %61, %59 ], [ %35, %33 ]
%39 = load i32, ptr @ZFS_MAX_DATASET_NAME_LEN, align 4, !tbaa !10
%40 = zext i32 %39 to i64
%41 = call ptr @llvm.stacksave.p0()
%42 = alloca i8, i64 %40, align 1
%43 = call ptr @nvpair_name(ptr noundef nonnull %38) #4
%44 = call ptr @fnvpair_value_nvlist(ptr noundef nonnull %38) #4
%45 = load ptr, ptr %0, align 8, !tbaa !14
%46 = call i32 @snprintf(ptr noundef nonnull %42, i32 noundef %39, ptr noundef nonnull @.str.1, ptr noundef %45, ptr noundef %43) #4
%47 = sext i32 %46 to i64
%48 = icmp ult i64 %47, %40
br i1 %48, label %51, label %49
49: ; preds = %37
%50 = load i32, ptr @EINVAL, align 4, !tbaa !10
br label %57
51: ; preds = %37
%52 = call ptr @make_bookmark_handle(ptr noundef nonnull %0, ptr noundef nonnull %42, ptr noundef %44) #4
%53 = icmp eq ptr %52, null
br i1 %53, label %59, label %54
54: ; preds = %51
%55 = call i32 %1(ptr noundef nonnull %52, ptr noundef %2) #4
%56 = icmp eq i32 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %54, %49
%58 = phi i32 [ %50, %49 ], [ %55, %54 ]
call void @llvm.stackrestore.p0(ptr %41)
br label %63
59: ; preds = %54, %51
call void @llvm.stackrestore.p0(ptr %41)
%60 = load ptr, ptr %4, align 8, !tbaa !6
%61 = call ptr @nvlist_next_nvpair(ptr noundef %60, ptr noundef nonnull %38) #4
%62 = icmp eq ptr %61, null
br i1 %62, label %63, label %37, !llvm.loop !18
63: ; preds = %59, %33, %57, %15
%64 = phi i32 [ %18, %15 ], [ %58, %57 ], [ 0, %33 ], [ 0, %59 ]
%65 = call i32 @fnvlist_free(ptr noundef %12) #4
%66 = load ptr, ptr %4, align 8, !tbaa !6
%67 = call i32 @fnvlist_free(ptr noundef %66) #4
br label %68
68: ; preds = %3, %63
%69 = phi i32 [ %64, %63 ], [ 0, %3 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
ret i32 %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @zfs_get_type(ptr noundef) local_unnamed_addr #2
declare ptr @fnvlist_alloc(...) local_unnamed_addr #2
declare i64 @zfs_prop_valid_for_type(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fnvlist_add_boolean(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @zfs_prop_to_name(i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @lzc_get_bookmarks(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @nvlist_next_nvpair(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare ptr @nvpair_name(ptr noundef) local_unnamed_addr #2
declare ptr @fnvpair_value_nvlist(ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @make_bookmark_handle(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
declare i32 @fnvlist_free(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_8__", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
| zfs_lib_libzfs_extr_libzfs_iter.c_zfs_iter_bookmarks |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_chip.c_brcmf_chip_core_read32.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_chip.c_brcmf_chip_core_read32.c"
target datalayout = "e-m:e-p270:32:32-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.brcmf_core_priv = type { %struct.TYPE_6__, ptr }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_5__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @brcmf_chip_core_read32], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @brcmf_chip_core_read32(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds %struct.brcmf_core_priv, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load ptr, ptr %6, align 8, !tbaa !15
%8 = load i32, ptr %4, align 8, !tbaa !17
%9 = load i64, ptr %0, align 8, !tbaa !18
%10 = add nsw i64 %9, %1
%11 = tail call i32 %7(i32 noundef %8, i64 noundef %10) #1
ret i32 %11
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !11, i64 8}
!6 = !{!"brcmf_core_priv", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"TYPE_5__", !14, i64 0, !11, i64 8}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_4__", !11, i64 0}
!17 = !{!13, !14, i64 0}
!18 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_chip.c_brcmf_chip_core_read32.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_chip.c_brcmf_chip_core_read32.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 @brcmf_chip_core_read32], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @brcmf_chip_core_read32(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = load ptr, ptr %6, align 8, !tbaa !16
%8 = load i32, ptr %4, align 8, !tbaa !18
%9 = load i64, ptr %0, align 8, !tbaa !19
%10 = add nsw i64 %9, %1
%11 = tail call i32 %7(i32 noundef %8, i64 noundef %10) #1
ret i32 %11
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !12, i64 8}
!7 = !{!"brcmf_core_priv", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"TYPE_5__", !15, i64 0, !12, i64 8}
!15 = !{!"int", !10, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_4__", !12, i64 0}
!18 = !{!14, !15, i64 0}
!19 = !{!7, !9, i64 0}
| linux_drivers_net_wireless_broadcom_brcm80211_brcmfmac_extr_chip.c_brcmf_chip_core_read32 |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_stack.c_stack_free.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_stack.c_stack_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @stack_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %20, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 8, !tbaa !11
%7 = icmp slt i32 %6, 0
br i1 %7, label %20, label %8
8: ; preds = %5
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
br label %10
10: ; preds = %8, %10
%11 = phi i64 [ 0, %8 ], [ %16, %10 ]
%12 = load ptr, ptr %2, align 8, !tbaa !5
%13 = load ptr, ptr %9, align 8, !tbaa !12
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %13, i64 %11
%15 = tail call i32 %12(ptr noundef byval(%struct.TYPE_5__) align 8 %14) #2
%16 = add nuw nsw i64 %11, 1
%17 = load i32, ptr %0, align 8, !tbaa !11
%18 = sext i32 %17 to i64
%19 = icmp slt i64 %11, %18
br i1 %19, label %10, label %20, !llvm.loop !13
20: ; preds = %10, %5, %1
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !12
%23 = tail call i32 @free(ptr noundef %22) #2
%24 = tail call i32 @free(ptr noundef nonnull %0) #2
ret void
}
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, !10, i64 16}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_stack.c_stack_free.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_stack.c_stack_free.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 { i32, ptr, ptr }
; Function Attrs: nounwind ssp uwtable(sync)
define void @stack_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_5__, align 8
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %21, label %6
6: ; preds = %1
%7 = load i32, ptr %0, align 8, !tbaa !12
%8 = icmp slt i32 %7, 0
br i1 %8, label %21, label %9
9: ; preds = %6
%10 = getelementptr inbounds i8, ptr %0, i64 8
br label %11
11: ; preds = %9, %11
%12 = phi i64 [ 0, %9 ], [ %17, %11 ]
%13 = load ptr, ptr %3, align 8, !tbaa !6
%14 = load ptr, ptr %10, align 8, !tbaa !13
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i64 %12
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %15, i64 24, i1 false), !tbaa.struct !14
%16 = call i32 %13(ptr noundef nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
%17 = add nuw nsw i64 %12, 1
%18 = load i32, ptr %0, align 8, !tbaa !12
%19 = sext i32 %18 to i64
%20 = icmp slt i64 %12, %19
br i1 %20, label %11, label %21, !llvm.loop !17
21: ; preds = %11, %6, %1
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = load ptr, ptr %22, align 8, !tbaa !13
%24 = call i32 @free(ptr noundef %23) #4
%25 = call i32 @free(ptr noundef nonnull %0) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 @free(ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{i64 0, i64 4, !15, i64 8, i64 8, !16, i64 16, i64 8, !16}
!15 = !{!8, !8, i64 0}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| freebsd_cddl_contrib_opensolaris_tools_ctf_cvt_extr_stack.c_stack_free |
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..gfxfont_driver.c_font_driver_flush.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..gfxfont_driver.c_font_driver_flush.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, ptr }
@video_font_driver = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @font_driver_flush(i32 noundef %0, i32 noundef %1, ptr noundef readonly %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = icmp eq ptr %2, null
%6 = load ptr, ptr @video_font_driver, align 8
%7 = select i1 %5, ptr %6, ptr %2
%8 = icmp eq ptr %7, null
br i1 %8, label %19, label %9
9: ; preds = %4
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !5
%12 = icmp eq ptr %11, null
br i1 %12, label %19, label %13
13: ; preds = %9
%14 = load ptr, ptr %11, align 8, !tbaa !11
%15 = icmp eq ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i32, ptr %7, align 8, !tbaa !13
%18 = tail call i32 %14(i32 noundef %0, i32 noundef %1, i32 noundef %17, ptr noundef %3) #1
br label %19
19: ; preds = %16, %13, %9, %4
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !10, i64 8}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..gfxfont_driver.c_font_driver_flush.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..gfxfont_driver.c_font_driver_flush.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@video_font_driver = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @font_driver_flush(i32 noundef %0, i32 noundef %1, ptr noundef readonly %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = icmp eq ptr %2, null
%6 = load ptr, ptr @video_font_driver, align 8
%7 = select i1 %5, ptr %6, ptr %2
%8 = icmp eq ptr %7, null
br i1 %8, label %19, label %9
9: ; preds = %4
%10 = getelementptr inbounds i8, ptr %7, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !6
%12 = icmp eq ptr %11, null
br i1 %12, label %19, label %13
13: ; preds = %9
%14 = load ptr, ptr %11, align 8, !tbaa !12
%15 = icmp eq ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i32, ptr %7, align 8, !tbaa !14
%18 = tail call i32 %14(i32 noundef %0, i32 noundef %1, i32 noundef %17, ptr noundef %3) #1
br label %19
19: ; preds = %16, %13, %9, %4
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !11, i64 8}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0}
!14 = !{!7, !8, i64 0}
| RetroArch_griffin_extr_..gfxfont_driver.c_font_driver_flush |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_create_test_file.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_create_test_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @create_test_file], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @create_test_file(ptr noundef %0) #0 {
%2 = tail call i32 @create_file_data(ptr noundef %0, ptr noundef %0) #2
ret void
}
declare i32 @create_file_data(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/reactos/modules/rostests/winetests/msi/extr_package.c_create_test_file.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_package.c_create_test_file.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 @create_test_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @create_test_file(ptr noundef %0) #0 {
%2 = tail call i32 @create_file_data(ptr noundef %0, ptr noundef %0) #2
ret void
}
declare i32 @create_file_data(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)"}
| reactos_modules_rostests_winetests_msi_extr_package.c_create_test_file |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_file.c_test_readboundary.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_file.c_test_readboundary.c"
target datalayout = "e-m:e-p270:32:32-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 [13 x i8] c"boundary.tst\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"rt\00", align 1
@SEEK_CUR = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"CRLF on buffer boundary failure\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_readboundary], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_readboundary() #0 {
%1 = alloca [513 x i8], align 16
%2 = alloca [513 x i8], align 16
call void @llvm.lifetime.start.p0(i64 513, ptr nonnull %1) #4
call void @llvm.lifetime.start.p0(i64 513, ptr nonnull %2) #4
br label %3
3: ; preds = %12, %0
%4 = phi i64 [ 0, %0 ], [ %18, %12 ]
%5 = phi <16 x i16> [ <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7, i16 8, i16 9, i16 10, i16 11, i16 12, i16 13, i16 14, i16 15>, %0 ], [ %19, %12 ]
%6 = urem <16 x i16> %5, <i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94>
%7 = trunc <16 x i16> %6 to <16 x i8>
%8 = add nuw nsw <16 x i8> %7, <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>
%9 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 %4
store <16 x i8> %8, ptr %9, align 16, !tbaa !5
%10 = or disjoint i64 %4, 16
%11 = icmp eq i64 %10, 496
br i1 %11, label %20, label %12, !llvm.loop !8
12: ; preds = %3
%13 = add <16 x i16> %5, <i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16>
%14 = urem <16 x i16> %13, <i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94>
%15 = trunc <16 x i16> %14 to <16 x i8>
%16 = add nuw nsw <16 x i8> %15, <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>
%17 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 %10
store <16 x i8> %16, ptr %17, align 16, !tbaa !5
%18 = add nuw nsw i64 %4, 32
%19 = add <16 x i16> %5, <i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32>
br label %3
20: ; preds = %3
%21 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 496
store <8 x i8> <i8 58, i8 59, i8 60, i8 61, i8 62, i8 63, i8 64, i8 65>, ptr %21, align 16, !tbaa !5
%22 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 504
store i8 66, ptr %22, align 8, !tbaa !5
%23 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 505
store i8 67, ptr %23, align 1, !tbaa !5
%24 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 506
store i8 68, ptr %24, align 2, !tbaa !5
%25 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 507
store i8 69, ptr %25, align 1, !tbaa !5
%26 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 508
store i8 70, ptr %26, align 4, !tbaa !5
%27 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 509
store i8 71, ptr %27, align 1, !tbaa !5
%28 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 510
store i8 72, ptr %28, align 2, !tbaa !5
%29 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 511
store i8 10, ptr %29, align 1, !tbaa !5
%30 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 512
store i8 0, ptr %30, align 16, !tbaa !5
%31 = tail call ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
%32 = call i32 @fwrite(ptr noundef nonnull %1, i32 noundef 512, i32 noundef 1, ptr noundef %31) #4
%33 = call i32 @fclose(ptr noundef %31)
%34 = call ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2)
br label %35
35: ; preds = %20, %35
%36 = phi i64 [ 0, %20 ], [ %41, %35 ]
%37 = load i32, ptr @SEEK_CUR, align 4, !tbaa !12
%38 = call i32 @fseek(ptr noundef %34, i32 noundef 0, i32 noundef %37)
%39 = call signext i8 @fgetc(ptr noundef %34) #4
%40 = getelementptr inbounds [513 x i8], ptr %2, i64 0, i64 %36
store i8 %39, ptr %40, align 1, !tbaa !5
%41 = add nuw nsw i64 %36, 1
%42 = icmp eq i64 %41, 512
br i1 %42, label %43, label %35, !llvm.loop !14
43: ; preds = %35
%44 = getelementptr inbounds [513 x i8], ptr %2, i64 0, i64 512
store i8 0, ptr %44, align 16, !tbaa !5
%45 = call i32 @fclose(ptr noundef %34)
%46 = call i32 @unlink(ptr noundef nonnull @.str)
%47 = call i64 @strcmp(ptr noundef nonnull %1, ptr noundef nonnull %2) #4
%48 = icmp eq i64 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 @ok(i32 noundef %49, ptr noundef nonnull @.str.3) #4
call void @llvm.lifetime.end.p0(i64 513, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 513, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare signext i8 @fgetc(ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9, !10, !11}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!"llvm.loop.isvectorized", i32 1}
!11 = !{!"llvm.loop.unroll.runtime.disable"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !6, i64 0}
!14 = distinct !{!14, !9}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_file.c_test_readboundary.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_file.c_test_readboundary.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 [13 x i8] c"boundary.tst\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"rt\00", align 1
@SEEK_CUR = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"CRLF on buffer boundary failure\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_readboundary], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_readboundary() #0 {
%1 = alloca [513 x i8], align 1
%2 = alloca [513 x i8], align 1
call void @llvm.lifetime.start.p0(i64 513, ptr nonnull %1) #4
call void @llvm.lifetime.start.p0(i64 513, ptr nonnull %2) #4
br label %3
3: ; preds = %3, %0
%4 = phi i64 [ 0, %0 ], [ %10, %3 ]
%5 = phi <16 x i16> [ <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7, i16 8, i16 9, i16 10, i16 11, i16 12, i16 13, i16 14, i16 15>, %0 ], [ %11, %3 ]
%6 = urem <16 x i16> %5, <i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94, i16 94>
%7 = trunc nuw nsw <16 x i16> %6 to <16 x i8>
%8 = add nuw nsw <16 x i8> %7, <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>
%9 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 %4
store <16 x i8> %8, ptr %9, align 1, !tbaa !6
%10 = add nuw i64 %4, 16
%11 = add <16 x i16> %5, <i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16>
%12 = icmp eq i64 %10, 496
br i1 %12, label %13, label %3, !llvm.loop !9
13: ; preds = %3
%14 = getelementptr inbounds i8, ptr %1, i64 496
store i8 58, ptr %14, align 1, !tbaa !6
%15 = getelementptr inbounds i8, ptr %1, i64 497
store i8 59, ptr %15, align 1, !tbaa !6
%16 = getelementptr inbounds i8, ptr %1, i64 498
store i8 60, ptr %16, align 1, !tbaa !6
%17 = getelementptr inbounds i8, ptr %1, i64 499
store i8 61, ptr %17, align 1, !tbaa !6
%18 = getelementptr inbounds i8, ptr %1, i64 500
store i8 62, ptr %18, align 1, !tbaa !6
%19 = getelementptr inbounds i8, ptr %1, i64 501
store i8 63, ptr %19, align 1, !tbaa !6
%20 = getelementptr inbounds i8, ptr %1, i64 502
store i8 64, ptr %20, align 1, !tbaa !6
%21 = getelementptr inbounds i8, ptr %1, i64 503
store i8 65, ptr %21, align 1, !tbaa !6
%22 = getelementptr inbounds i8, ptr %1, i64 504
store i8 66, ptr %22, align 1, !tbaa !6
%23 = getelementptr inbounds i8, ptr %1, i64 505
store i8 67, ptr %23, align 1, !tbaa !6
%24 = getelementptr inbounds i8, ptr %1, i64 506
store i8 68, ptr %24, align 1, !tbaa !6
%25 = getelementptr inbounds i8, ptr %1, i64 507
store i8 69, ptr %25, align 1, !tbaa !6
%26 = getelementptr inbounds i8, ptr %1, i64 508
store i8 70, ptr %26, align 1, !tbaa !6
%27 = getelementptr inbounds i8, ptr %1, i64 509
store i8 71, ptr %27, align 1, !tbaa !6
%28 = getelementptr inbounds i8, ptr %1, i64 510
store i8 72, ptr %28, align 1, !tbaa !6
%29 = getelementptr inbounds i8, ptr %1, i64 511
store i8 10, ptr %29, align 1, !tbaa !6
%30 = getelementptr inbounds i8, ptr %1, i64 512
store i8 0, ptr %30, align 1, !tbaa !6
%31 = tail call ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
%32 = call i32 @fwrite(ptr noundef nonnull %1, i32 noundef 512, i32 noundef 1, ptr noundef %31) #4
%33 = call i32 @fclose(ptr noundef %31)
%34 = call ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2)
br label %35
35: ; preds = %13, %35
%36 = phi i64 [ 0, %13 ], [ %41, %35 ]
%37 = load i32, ptr @SEEK_CUR, align 4, !tbaa !13
%38 = call i32 @fseek(ptr noundef %34, i32 noundef 0, i32 noundef %37)
%39 = call signext i8 @fgetc(ptr noundef %34) #4
%40 = getelementptr inbounds [513 x i8], ptr %2, i64 0, i64 %36
store i8 %39, ptr %40, align 1, !tbaa !6
%41 = add nuw nsw i64 %36, 1
%42 = icmp eq i64 %41, 512
br i1 %42, label %43, label %35, !llvm.loop !15
43: ; preds = %35
%44 = getelementptr inbounds i8, ptr %2, i64 512
store i8 0, ptr %44, align 1, !tbaa !6
%45 = call i32 @fclose(ptr noundef %34)
%46 = call i32 @unlink(ptr noundef nonnull @.str)
%47 = call i64 @strcmp(ptr noundef nonnull %1, ptr noundef nonnull %2) #4
%48 = icmp eq i64 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 @ok(i32 noundef %49, ptr noundef nonnull @.str.3) #4
call void @llvm.lifetime.end.p0(i64 513, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 513, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare signext i8 @fgetc(ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !10}
| reactos_modules_rostests_winetests_msvcrt_extr_file.c_test_readboundary |
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/tegra/extr_pinctrl-tegra194.c_tegra194_pinctrl_probe.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/tegra/extr_pinctrl-tegra194.c_tegra194_pinctrl_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@tegra194_pinctrl = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tegra194_pinctrl_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tegra194_pinctrl_probe(ptr noundef %0) #0 {
%2 = tail call i32 @tegra_pinctrl_probe(ptr noundef %0, ptr noundef nonnull @tegra194_pinctrl) #2
ret i32 %2
}
declare i32 @tegra_pinctrl_probe(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/pinctrl/tegra/extr_pinctrl-tegra194.c_tegra194_pinctrl_probe.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/tegra/extr_pinctrl-tegra194.c_tegra194_pinctrl_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tegra194_pinctrl = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tegra194_pinctrl_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tegra194_pinctrl_probe(ptr noundef %0) #0 {
%2 = tail call i32 @tegra_pinctrl_probe(ptr noundef %0, ptr noundef nonnull @tegra194_pinctrl) #2
ret i32 %2
}
declare i32 @tegra_pinctrl_probe(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_pinctrl_tegra_extr_pinctrl-tegra194.c_tegra194_pinctrl_probe |
; ModuleID = 'AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_sqlite3_db_status.c'
source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_sqlite3_db_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_18__ = type { %struct.TYPE_20__ }
%struct.TYPE_20__ = type { ptr }
%struct.TYPE_24__ = type { i32, ptr, i32, i32, i32, ptr, ptr, %struct.TYPE_19__ }
%struct.TYPE_19__ = type { i32, i32, ptr }
%struct.TYPE_23__ = type { ptr, ptr }
%struct.TYPE_25__ = type { %struct.TYPE_26__, %struct.TYPE_26__, %struct.TYPE_22__, %struct.TYPE_21__ }
%struct.TYPE_26__ = type { i32, i32 }
%struct.TYPE_22__ = type { i32, i32 }
%struct.TYPE_21__ = type { i32, i32 }
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@sqlite3GlobalConfig = dso_local local_unnamed_addr global %struct.TYPE_18__ zeroinitializer, align 8
@SQLITE_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_MISUSE_BKPT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_db_status(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 2
%11 = load i32, ptr %10, align 8, !tbaa !9
%12 = tail call i32 @sqlite3_mutex_enter(i32 noundef %11) #3
switch i32 %1, label %209 [
i32 130, label %13
i32 133, label %21
i32 131, label %21
i32 132, label %21
i32 136, label %43
i32 137, label %43
i32 129, label %77
i32 128, label %156
i32 139, label %171
i32 138, label %171
i32 135, label %171
i32 134, label %198
]
13: ; preds = %5
%14 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 7
%15 = load i32, ptr %14, align 8, !tbaa !13
store i32 %15, ptr %2, align 4, !tbaa !5
%16 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 7, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !14
store i32 %17, ptr %3, align 4, !tbaa !5
%18 = icmp eq i32 %4, 0
br i1 %18, label %211, label %19
19: ; preds = %13
%20 = load i32, ptr %14, align 8, !tbaa !13
store i32 %20, ptr %16, align 4, !tbaa !14
br label %211
21: ; preds = %5, %5, %5
%22 = icmp eq i32 %1, 133
%23 = zext i1 %22 to i32
%24 = tail call i32 @testcase(i32 noundef %23) #3
%25 = icmp eq i32 %1, 131
%26 = zext i1 %25 to i32
%27 = tail call i32 @testcase(i32 noundef %26) #3
%28 = icmp eq i32 %1, 132
%29 = zext i1 %28 to i32
%30 = tail call i32 @testcase(i32 noundef %29) #3
%31 = icmp ugt i32 %1, 132
%32 = zext i1 %31 to i32
%33 = tail call i32 @assert(i32 noundef %32) #3
%34 = tail call i32 @assert(i32 noundef 1) #3
store i32 0, ptr %2, align 4, !tbaa !5
%35 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 7, i32 2
%36 = load ptr, ptr %35, align 8, !tbaa !15
%37 = zext nneg i32 %1 to i64
%38 = getelementptr i32, ptr %36, i64 %37
%39 = getelementptr i32, ptr %38, i64 -133
%40 = load i32, ptr %39, align 4, !tbaa !5
store i32 %40, ptr %3, align 4, !tbaa !5
%41 = icmp eq i32 %4, 0
br i1 %41, label %211, label %42
42: ; preds = %21
store i32 0, ptr %39, align 4, !tbaa !5
br label %211
43: ; preds = %5, %5
%44 = tail call i32 @sqlite3BtreeEnterAll(ptr noundef nonnull %0) #3
%45 = load i32, ptr %0, align 8, !tbaa !16
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %74
47: ; preds = %43
%48 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 5
%49 = icmp eq i32 %1, 136
br label %50
50: ; preds = %47, %68
%51 = phi i32 [ %45, %47 ], [ %69, %68 ]
%52 = phi i64 [ 0, %47 ], [ %71, %68 ]
%53 = phi i32 [ 0, %47 ], [ %70, %68 ]
%54 = load ptr, ptr %48, align 8, !tbaa !17
%55 = getelementptr inbounds %struct.TYPE_23__, ptr %54, i64 %52
%56 = load ptr, ptr %55, align 8, !tbaa !18
%57 = icmp eq ptr %56, null
br i1 %57, label %68, label %58
58: ; preds = %50
%59 = tail call ptr @sqlite3BtreePager(ptr noundef nonnull %56) #3
%60 = tail call i32 @sqlite3PagerMemUsed(ptr noundef %59) #3
br i1 %49, label %61, label %64
61: ; preds = %58
%62 = tail call i32 @sqlite3BtreeConnectionCount(ptr noundef nonnull %56) #3
%63 = sdiv i32 %60, %62
br label %64
64: ; preds = %61, %58
%65 = phi i32 [ %63, %61 ], [ %60, %58 ]
%66 = add nsw i32 %65, %53
%67 = load i32, ptr %0, align 8, !tbaa !16
br label %68
68: ; preds = %64, %50
%69 = phi i32 [ %67, %64 ], [ %51, %50 ]
%70 = phi i32 [ %66, %64 ], [ %53, %50 ]
%71 = add nuw nsw i64 %52, 1
%72 = sext i32 %69 to i64
%73 = icmp slt i64 %71, %72
br i1 %73, label %50, label %74, !llvm.loop !20
74: ; preds = %68, %43
%75 = phi i32 [ 0, %43 ], [ %70, %68 ]
%76 = tail call i32 @sqlite3BtreeLeaveAll(ptr noundef nonnull %0) #3
store i32 %75, ptr %2, align 4, !tbaa !5
store i32 0, ptr %3, align 4, !tbaa !5
br label %211
77: ; preds = %5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 0, ptr %6, align 4, !tbaa !5
%78 = tail call i32 @sqlite3BtreeEnterAll(ptr noundef nonnull %0) #3
%79 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 1
store ptr %6, ptr %79, align 8, !tbaa !22
%80 = load i32, ptr %0, align 8, !tbaa !16
%81 = icmp sgt i32 %80, 0
br i1 %81, label %82, label %153
82: ; preds = %77
%83 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 5
br label %84
84: ; preds = %82, %148
%85 = phi i64 [ 0, %82 ], [ %149, %148 ]
%86 = load ptr, ptr %83, align 8, !tbaa !17
%87 = getelementptr inbounds %struct.TYPE_23__, ptr %86, i64 %85, i32 1
%88 = load ptr, ptr %87, align 8, !tbaa !23
%89 = icmp ne ptr %88, null
%90 = zext i1 %89 to i32
%91 = call i32 @ALWAYS(i32 noundef %90) #3
%92 = icmp eq i32 %91, 0
br i1 %92, label %148, label %93
93: ; preds = %84
%94 = load ptr, ptr @sqlite3GlobalConfig, align 8, !tbaa !24
%95 = call i32 %94(i32 noundef 4) #3
%96 = load i32, ptr %88, align 4, !tbaa !27
%97 = getelementptr inbounds %struct.TYPE_25__, ptr %88, i64 0, i32 1
%98 = load i32, ptr %97, align 4, !tbaa !32
%99 = add nsw i32 %98, %96
%100 = getelementptr inbounds %struct.TYPE_25__, ptr %88, i64 0, i32 3
%101 = load i32, ptr %100, align 4, !tbaa !33
%102 = add nsw i32 %99, %101
%103 = getelementptr inbounds %struct.TYPE_25__, ptr %88, i64 0, i32 2
%104 = load i32, ptr %103, align 4, !tbaa !34
%105 = add nsw i32 %102, %104
%106 = mul nsw i32 %105, %95
%107 = load i32, ptr %6, align 4, !tbaa !5
%108 = add nsw i32 %106, %107
store i32 %108, ptr %6, align 4, !tbaa !5
%109 = getelementptr inbounds %struct.TYPE_26__, ptr %88, i64 0, i32 1
%110 = load i32, ptr %109, align 4, !tbaa !35
%111 = call i32 @sqlite3_msize(i32 noundef %110) #3
%112 = load i32, ptr %6, align 4, !tbaa !5
%113 = add nsw i32 %112, %111
store i32 %113, ptr %6, align 4, !tbaa !5
%114 = getelementptr inbounds %struct.TYPE_25__, ptr %88, i64 0, i32 1, i32 1
%115 = load i32, ptr %114, align 4, !tbaa !36
%116 = call i32 @sqlite3_msize(i32 noundef %115) #3
%117 = load i32, ptr %6, align 4, !tbaa !5
%118 = add nsw i32 %117, %116
store i32 %118, ptr %6, align 4, !tbaa !5
%119 = getelementptr inbounds %struct.TYPE_25__, ptr %88, i64 0, i32 3, i32 1
%120 = load i32, ptr %119, align 4, !tbaa !37
%121 = call i32 @sqlite3_msize(i32 noundef %120) #3
%122 = load i32, ptr %6, align 4, !tbaa !5
%123 = add nsw i32 %122, %121
store i32 %123, ptr %6, align 4, !tbaa !5
%124 = getelementptr inbounds %struct.TYPE_25__, ptr %88, i64 0, i32 2, i32 1
%125 = load i32, ptr %124, align 4, !tbaa !38
%126 = call i32 @sqlite3_msize(i32 noundef %125) #3
%127 = load i32, ptr %6, align 4, !tbaa !5
%128 = add nsw i32 %127, %126
store i32 %128, ptr %6, align 4, !tbaa !5
%129 = call ptr @sqliteHashFirst(ptr noundef nonnull %97) #3
%130 = icmp eq ptr %129, null
br i1 %130, label %138, label %131
131: ; preds = %93, %131
%132 = phi ptr [ %136, %131 ], [ %129, %93 ]
%133 = call i64 @sqliteHashData(ptr noundef nonnull %132) #3
%134 = inttoptr i64 %133 to ptr
%135 = call i32 @sqlite3DeleteTrigger(ptr noundef nonnull %0, ptr noundef %134) #3
%136 = call ptr @sqliteHashNext(ptr noundef nonnull %132) #3
%137 = icmp eq ptr %136, null
br i1 %137, label %138, label %131, !llvm.loop !39
138: ; preds = %131, %93
%139 = call ptr @sqliteHashFirst(ptr noundef nonnull %88) #3
%140 = icmp eq ptr %139, null
br i1 %140, label %148, label %141
141: ; preds = %138, %141
%142 = phi ptr [ %146, %141 ], [ %139, %138 ]
%143 = call i64 @sqliteHashData(ptr noundef nonnull %142) #3
%144 = inttoptr i64 %143 to ptr
%145 = call i32 @sqlite3DeleteTable(ptr noundef nonnull %0, ptr noundef %144) #3
%146 = call ptr @sqliteHashNext(ptr noundef nonnull %142) #3
%147 = icmp eq ptr %146, null
br i1 %147, label %148, label %141, !llvm.loop !40
148: ; preds = %141, %138, %84
%149 = add nuw nsw i64 %85, 1
%150 = load i32, ptr %0, align 8, !tbaa !16
%151 = sext i32 %150 to i64
%152 = icmp slt i64 %149, %151
br i1 %152, label %84, label %153, !llvm.loop !41
153: ; preds = %148, %77
store ptr null, ptr %79, align 8, !tbaa !22
%154 = call i32 @sqlite3BtreeLeaveAll(ptr noundef nonnull %0) #3
store i32 0, ptr %3, align 4, !tbaa !5
%155 = load i32, ptr %6, align 4, !tbaa !5
store i32 %155, ptr %2, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
br label %211
156: ; preds = %5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
store i32 0, ptr %7, align 4, !tbaa !5
%157 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 1
store ptr %7, ptr %157, align 8, !tbaa !22
%158 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 6
%159 = load ptr, ptr %158, align 8, !tbaa !42
%160 = icmp eq ptr %159, null
br i1 %160, label %169, label %161
161: ; preds = %156, %161
%162 = phi ptr [ %165, %161 ], [ %159, %156 ]
%163 = call i32 @sqlite3VdbeClearObject(ptr noundef %0, ptr noundef nonnull %162) #3
%164 = call i32 @sqlite3DbFree(ptr noundef %0, ptr noundef nonnull %162) #3
%165 = load ptr, ptr %162, align 8, !tbaa !42
%166 = icmp eq ptr %165, null
br i1 %166, label %167, label %161, !llvm.loop !43
167: ; preds = %161
%168 = load i32, ptr %7, align 4, !tbaa !5
br label %169
169: ; preds = %167, %156
%170 = phi i32 [ %168, %167 ], [ 0, %156 ]
store ptr null, ptr %157, align 8, !tbaa !22
store i32 0, ptr %3, align 4, !tbaa !5
store i32 %170, ptr %2, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
br label %211
171: ; preds = %5, %5, %5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 0, ptr %8, align 4, !tbaa !5
%172 = tail call i32 @assert(i32 noundef 0) #3
%173 = tail call i32 @assert(i32 noundef 0) #3
%174 = load i32, ptr %0, align 8, !tbaa !16
%175 = icmp sgt i32 %174, 0
br i1 %175, label %176, label %196
176: ; preds = %171
%177 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 5
br label %178
178: ; preds = %176, %189
%179 = phi i32 [ %174, %176 ], [ %190, %189 ]
%180 = phi i64 [ 0, %176 ], [ %191, %189 ]
%181 = load ptr, ptr %177, align 8, !tbaa !17
%182 = getelementptr inbounds %struct.TYPE_23__, ptr %181, i64 %180
%183 = load ptr, ptr %182, align 8, !tbaa !18
%184 = icmp eq ptr %183, null
br i1 %184, label %189, label %185
185: ; preds = %178
%186 = call ptr @sqlite3BtreePager(ptr noundef nonnull %183) #3
%187 = call i32 @sqlite3PagerCacheStat(ptr noundef %186, i32 noundef %1, i32 noundef %4, ptr noundef nonnull %8) #3
%188 = load i32, ptr %0, align 8, !tbaa !16
br label %189
189: ; preds = %178, %185
%190 = phi i32 [ %179, %178 ], [ %188, %185 ]
%191 = add nuw nsw i64 %180, 1
%192 = sext i32 %190 to i64
%193 = icmp slt i64 %191, %192
br i1 %193, label %178, label %194, !llvm.loop !44
194: ; preds = %189
%195 = load i32, ptr %8, align 4, !tbaa !5
br label %196
196: ; preds = %194, %171
%197 = phi i32 [ %195, %194 ], [ 0, %171 ]
store i32 0, ptr %3, align 4, !tbaa !5
store i32 %197, ptr %2, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
br label %211
198: ; preds = %5
store i32 0, ptr %3, align 4, !tbaa !5
%199 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 4
%200 = load i32, ptr %199, align 8, !tbaa !45
%201 = icmp sgt i32 %200, 0
br i1 %201, label %207, label %202
202: ; preds = %198
%203 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 3
%204 = load i32, ptr %203, align 4, !tbaa !46
%205 = icmp sgt i32 %204, 0
%206 = zext i1 %205 to i32
br label %207
207: ; preds = %202, %198
%208 = phi i32 [ 1, %198 ], [ %206, %202 ]
store i32 %208, ptr %2, align 4, !tbaa !5
br label %211
209: ; preds = %5
%210 = load i32, ptr @SQLITE_ERROR, align 4, !tbaa !5
br label %211
211: ; preds = %21, %42, %13, %19, %209, %207, %196, %169, %153, %74
%212 = phi i32 [ %210, %209 ], [ %9, %207 ], [ %9, %196 ], [ %9, %169 ], [ %9, %153 ], [ %9, %74 ], [ %9, %42 ], [ %9, %21 ], [ %9, %19 ], [ %9, %13 ]
%213 = load i32, ptr %10, align 8, !tbaa !9
%214 = call i32 @sqlite3_mutex_leave(i32 noundef %213) #3
ret i32 %212
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sqlite3_mutex_enter(i32 noundef) local_unnamed_addr #2
declare i32 @testcase(i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @sqlite3BtreeEnterAll(ptr noundef) local_unnamed_addr #2
declare ptr @sqlite3BtreePager(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3PagerMemUsed(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3BtreeConnectionCount(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 i32 @sqlite3BtreeLeaveAll(ptr noundef) local_unnamed_addr #2
declare i32 @ALWAYS(i32 noundef) local_unnamed_addr #2
declare i32 @sqlite3_msize(i32 noundef) local_unnamed_addr #2
declare ptr @sqliteHashFirst(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3DeleteTrigger(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @sqliteHashData(ptr noundef) local_unnamed_addr #2
declare ptr @sqliteHashNext(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3DeleteTable(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3VdbeClearObject(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3DbFree(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3PagerCacheStat(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3_mutex_leave(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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"TYPE_24__", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !11, i64 32, !11, i64 40, !12, i64 48}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_19__", !6, i64 0, !6, i64 4, !11, i64 8}
!13 = !{!10, !6, i64 48}
!14 = !{!10, !6, i64 52}
!15 = !{!10, !11, i64 56}
!16 = !{!10, !6, i64 0}
!17 = !{!10, !11, i64 32}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_23__", !11, i64 0, !11, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!10, !11, i64 8}
!23 = !{!19, !11, i64 8}
!24 = !{!25, !11, i64 0}
!25 = !{!"TYPE_18__", !26, i64 0}
!26 = !{!"TYPE_20__", !11, i64 0}
!27 = !{!28, !6, i64 0}
!28 = !{!"TYPE_25__", !29, i64 0, !29, i64 8, !30, i64 16, !31, i64 24}
!29 = !{!"TYPE_26__", !6, i64 0, !6, i64 4}
!30 = !{!"TYPE_22__", !6, i64 0, !6, i64 4}
!31 = !{!"TYPE_21__", !6, i64 0, !6, i64 4}
!32 = !{!28, !6, i64 8}
!33 = !{!28, !6, i64 24}
!34 = !{!28, !6, i64 16}
!35 = !{!28, !6, i64 4}
!36 = !{!28, !6, i64 12}
!37 = !{!28, !6, i64 28}
!38 = !{!28, !6, i64 20}
!39 = distinct !{!39, !21}
!40 = distinct !{!40, !21}
!41 = distinct !{!41, !21}
!42 = !{!11, !11, i64 0}
!43 = distinct !{!43, !21}
!44 = distinct !{!44, !21}
!45 = !{!10, !6, i64 24}
!46 = !{!10, !6, i64 20}
| ; ModuleID = 'AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_sqlite3_db_status.c'
source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_sqlite3_db_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_18__ = type { %struct.TYPE_20__ }
%struct.TYPE_20__ = type { ptr }
%struct.TYPE_23__ = type { ptr, ptr }
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@sqlite3GlobalConfig = common local_unnamed_addr global %struct.TYPE_18__ zeroinitializer, align 8
@SQLITE_ERROR = common local_unnamed_addr global i32 0, align 4
@SQLITE_MISUSE_BKPT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sqlite3_db_status(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !10
%12 = tail call i32 @sqlite3_mutex_enter(i32 noundef %11) #3
switch i32 %1, label %209 [
i32 130, label %13
i32 133, label %21
i32 131, label %21
i32 132, label %21
i32 136, label %43
i32 137, label %43
i32 129, label %77
i32 128, label %156
i32 139, label %171
i32 138, label %171
i32 135, label %171
i32 134, label %198
]
13: ; preds = %5
%14 = getelementptr inbounds i8, ptr %0, i64 48
%15 = load i32, ptr %14, align 8, !tbaa !14
store i32 %15, ptr %2, align 4, !tbaa !6
%16 = getelementptr inbounds i8, ptr %0, i64 52
%17 = load i32, ptr %16, align 4, !tbaa !15
store i32 %17, ptr %3, align 4, !tbaa !6
%18 = icmp eq i32 %4, 0
br i1 %18, label %211, label %19
19: ; preds = %13
%20 = load i32, ptr %14, align 8, !tbaa !14
store i32 %20, ptr %16, align 4, !tbaa !15
br label %211
21: ; preds = %5, %5, %5
%22 = icmp eq i32 %1, 133
%23 = zext i1 %22 to i32
%24 = tail call i32 @testcase(i32 noundef %23) #3
%25 = icmp eq i32 %1, 131
%26 = zext i1 %25 to i32
%27 = tail call i32 @testcase(i32 noundef %26) #3
%28 = icmp eq i32 %1, 132
%29 = zext i1 %28 to i32
%30 = tail call i32 @testcase(i32 noundef %29) #3
%31 = icmp ugt i32 %1, 132
%32 = zext i1 %31 to i32
%33 = tail call i32 @assert(i32 noundef %32) #3
%34 = tail call i32 @assert(i32 noundef 1) #3
store i32 0, ptr %2, align 4, !tbaa !6
%35 = getelementptr inbounds i8, ptr %0, i64 56
%36 = load ptr, ptr %35, align 8, !tbaa !16
%37 = zext nneg i32 %1 to i64
%38 = getelementptr i32, ptr %36, i64 %37
%39 = getelementptr i8, ptr %38, i64 -532
%40 = load i32, ptr %39, align 4, !tbaa !6
store i32 %40, ptr %3, align 4, !tbaa !6
%41 = icmp eq i32 %4, 0
br i1 %41, label %211, label %42
42: ; preds = %21
store i32 0, ptr %39, align 4, !tbaa !6
br label %211
43: ; preds = %5, %5
%44 = tail call i32 @sqlite3BtreeEnterAll(ptr noundef nonnull %0) #3
%45 = load i32, ptr %0, align 8, !tbaa !17
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %74
47: ; preds = %43
%48 = getelementptr inbounds i8, ptr %0, i64 32
%49 = icmp eq i32 %1, 136
br label %50
50: ; preds = %47, %68
%51 = phi i32 [ %45, %47 ], [ %69, %68 ]
%52 = phi i64 [ 0, %47 ], [ %71, %68 ]
%53 = phi i32 [ 0, %47 ], [ %70, %68 ]
%54 = load ptr, ptr %48, align 8, !tbaa !18
%55 = getelementptr inbounds %struct.TYPE_23__, ptr %54, i64 %52
%56 = load ptr, ptr %55, align 8, !tbaa !19
%57 = icmp eq ptr %56, null
br i1 %57, label %68, label %58
58: ; preds = %50
%59 = tail call ptr @sqlite3BtreePager(ptr noundef nonnull %56) #3
%60 = tail call i32 @sqlite3PagerMemUsed(ptr noundef %59) #3
br i1 %49, label %61, label %64
61: ; preds = %58
%62 = tail call i32 @sqlite3BtreeConnectionCount(ptr noundef nonnull %56) #3
%63 = sdiv i32 %60, %62
br label %64
64: ; preds = %61, %58
%65 = phi i32 [ %63, %61 ], [ %60, %58 ]
%66 = add nsw i32 %65, %53
%67 = load i32, ptr %0, align 8, !tbaa !17
br label %68
68: ; preds = %64, %50
%69 = phi i32 [ %67, %64 ], [ %51, %50 ]
%70 = phi i32 [ %66, %64 ], [ %53, %50 ]
%71 = add nuw nsw i64 %52, 1
%72 = sext i32 %69 to i64
%73 = icmp slt i64 %71, %72
br i1 %73, label %50, label %74, !llvm.loop !21
74: ; preds = %68, %43
%75 = phi i32 [ 0, %43 ], [ %70, %68 ]
%76 = tail call i32 @sqlite3BtreeLeaveAll(ptr noundef nonnull %0) #3
store i32 %75, ptr %2, align 4, !tbaa !6
store i32 0, ptr %3, align 4, !tbaa !6
br label %211
77: ; preds = %5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 0, ptr %6, align 4, !tbaa !6
%78 = tail call i32 @sqlite3BtreeEnterAll(ptr noundef nonnull %0) #3
%79 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %6, ptr %79, align 8, !tbaa !23
%80 = load i32, ptr %0, align 8, !tbaa !17
%81 = icmp sgt i32 %80, 0
br i1 %81, label %82, label %153
82: ; preds = %77
%83 = getelementptr inbounds i8, ptr %0, i64 32
br label %84
84: ; preds = %82, %148
%85 = phi i64 [ 0, %82 ], [ %149, %148 ]
%86 = load ptr, ptr %83, align 8, !tbaa !18
%87 = getelementptr inbounds %struct.TYPE_23__, ptr %86, i64 %85, i32 1
%88 = load ptr, ptr %87, align 8, !tbaa !24
%89 = icmp ne ptr %88, null
%90 = zext i1 %89 to i32
%91 = call i32 @ALWAYS(i32 noundef %90) #3
%92 = icmp eq i32 %91, 0
br i1 %92, label %148, label %93
93: ; preds = %84
%94 = load ptr, ptr @sqlite3GlobalConfig, align 8, !tbaa !25
%95 = call i32 %94(i32 noundef 4) #3
%96 = load i32, ptr %88, align 4, !tbaa !28
%97 = getelementptr inbounds i8, ptr %88, i64 8
%98 = load i32, ptr %97, align 4, !tbaa !33
%99 = add nsw i32 %98, %96
%100 = getelementptr inbounds i8, ptr %88, i64 24
%101 = load i32, ptr %100, align 4, !tbaa !34
%102 = add nsw i32 %99, %101
%103 = getelementptr inbounds i8, ptr %88, i64 16
%104 = load i32, ptr %103, align 4, !tbaa !35
%105 = add nsw i32 %102, %104
%106 = mul nsw i32 %105, %95
%107 = load i32, ptr %6, align 4, !tbaa !6
%108 = add nsw i32 %106, %107
store i32 %108, ptr %6, align 4, !tbaa !6
%109 = getelementptr inbounds i8, ptr %88, i64 4
%110 = load i32, ptr %109, align 4, !tbaa !36
%111 = call i32 @sqlite3_msize(i32 noundef %110) #3
%112 = load i32, ptr %6, align 4, !tbaa !6
%113 = add nsw i32 %112, %111
store i32 %113, ptr %6, align 4, !tbaa !6
%114 = getelementptr inbounds i8, ptr %88, i64 12
%115 = load i32, ptr %114, align 4, !tbaa !37
%116 = call i32 @sqlite3_msize(i32 noundef %115) #3
%117 = load i32, ptr %6, align 4, !tbaa !6
%118 = add nsw i32 %117, %116
store i32 %118, ptr %6, align 4, !tbaa !6
%119 = getelementptr inbounds i8, ptr %88, i64 28
%120 = load i32, ptr %119, align 4, !tbaa !38
%121 = call i32 @sqlite3_msize(i32 noundef %120) #3
%122 = load i32, ptr %6, align 4, !tbaa !6
%123 = add nsw i32 %122, %121
store i32 %123, ptr %6, align 4, !tbaa !6
%124 = getelementptr inbounds i8, ptr %88, i64 20
%125 = load i32, ptr %124, align 4, !tbaa !39
%126 = call i32 @sqlite3_msize(i32 noundef %125) #3
%127 = load i32, ptr %6, align 4, !tbaa !6
%128 = add nsw i32 %127, %126
store i32 %128, ptr %6, align 4, !tbaa !6
%129 = call ptr @sqliteHashFirst(ptr noundef nonnull %97) #3
%130 = icmp eq ptr %129, null
br i1 %130, label %138, label %131
131: ; preds = %93, %131
%132 = phi ptr [ %136, %131 ], [ %129, %93 ]
%133 = call i64 @sqliteHashData(ptr noundef nonnull %132) #3
%134 = inttoptr i64 %133 to ptr
%135 = call i32 @sqlite3DeleteTrigger(ptr noundef nonnull %0, ptr noundef %134) #3
%136 = call ptr @sqliteHashNext(ptr noundef nonnull %132) #3
%137 = icmp eq ptr %136, null
br i1 %137, label %138, label %131, !llvm.loop !40
138: ; preds = %131, %93
%139 = call ptr @sqliteHashFirst(ptr noundef nonnull %88) #3
%140 = icmp eq ptr %139, null
br i1 %140, label %148, label %141
141: ; preds = %138, %141
%142 = phi ptr [ %146, %141 ], [ %139, %138 ]
%143 = call i64 @sqliteHashData(ptr noundef nonnull %142) #3
%144 = inttoptr i64 %143 to ptr
%145 = call i32 @sqlite3DeleteTable(ptr noundef nonnull %0, ptr noundef %144) #3
%146 = call ptr @sqliteHashNext(ptr noundef nonnull %142) #3
%147 = icmp eq ptr %146, null
br i1 %147, label %148, label %141, !llvm.loop !41
148: ; preds = %141, %138, %84
%149 = add nuw nsw i64 %85, 1
%150 = load i32, ptr %0, align 8, !tbaa !17
%151 = sext i32 %150 to i64
%152 = icmp slt i64 %149, %151
br i1 %152, label %84, label %153, !llvm.loop !42
153: ; preds = %148, %77
store ptr null, ptr %79, align 8, !tbaa !23
%154 = call i32 @sqlite3BtreeLeaveAll(ptr noundef nonnull %0) #3
store i32 0, ptr %3, align 4, !tbaa !6
%155 = load i32, ptr %6, align 4, !tbaa !6
store i32 %155, ptr %2, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
br label %211
156: ; preds = %5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
store i32 0, ptr %7, align 4, !tbaa !6
%157 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %7, ptr %157, align 8, !tbaa !23
%158 = getelementptr inbounds i8, ptr %0, i64 40
%159 = load ptr, ptr %158, align 8, !tbaa !43
%160 = icmp eq ptr %159, null
br i1 %160, label %169, label %161
161: ; preds = %156, %161
%162 = phi ptr [ %165, %161 ], [ %159, %156 ]
%163 = call i32 @sqlite3VdbeClearObject(ptr noundef %0, ptr noundef nonnull %162) #3
%164 = call i32 @sqlite3DbFree(ptr noundef %0, ptr noundef nonnull %162) #3
%165 = load ptr, ptr %162, align 8, !tbaa !43
%166 = icmp eq ptr %165, null
br i1 %166, label %167, label %161, !llvm.loop !44
167: ; preds = %161
%168 = load i32, ptr %7, align 4, !tbaa !6
br label %169
169: ; preds = %167, %156
%170 = phi i32 [ %168, %167 ], [ 0, %156 ]
store ptr null, ptr %157, align 8, !tbaa !23
store i32 0, ptr %3, align 4, !tbaa !6
store i32 %170, ptr %2, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
br label %211
171: ; preds = %5, %5, %5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 0, ptr %8, align 4, !tbaa !6
%172 = tail call i32 @assert(i32 noundef 0) #3
%173 = tail call i32 @assert(i32 noundef 0) #3
%174 = load i32, ptr %0, align 8, !tbaa !17
%175 = icmp sgt i32 %174, 0
br i1 %175, label %176, label %196
176: ; preds = %171
%177 = getelementptr inbounds i8, ptr %0, i64 32
br label %178
178: ; preds = %176, %189
%179 = phi i32 [ %174, %176 ], [ %190, %189 ]
%180 = phi i64 [ 0, %176 ], [ %191, %189 ]
%181 = load ptr, ptr %177, align 8, !tbaa !18
%182 = getelementptr inbounds %struct.TYPE_23__, ptr %181, i64 %180
%183 = load ptr, ptr %182, align 8, !tbaa !19
%184 = icmp eq ptr %183, null
br i1 %184, label %189, label %185
185: ; preds = %178
%186 = call ptr @sqlite3BtreePager(ptr noundef nonnull %183) #3
%187 = call i32 @sqlite3PagerCacheStat(ptr noundef %186, i32 noundef %1, i32 noundef %4, ptr noundef nonnull %8) #3
%188 = load i32, ptr %0, align 8, !tbaa !17
br label %189
189: ; preds = %178, %185
%190 = phi i32 [ %179, %178 ], [ %188, %185 ]
%191 = add nuw nsw i64 %180, 1
%192 = sext i32 %190 to i64
%193 = icmp slt i64 %191, %192
br i1 %193, label %178, label %194, !llvm.loop !45
194: ; preds = %189
%195 = load i32, ptr %8, align 4, !tbaa !6
br label %196
196: ; preds = %194, %171
%197 = phi i32 [ %195, %194 ], [ 0, %171 ]
store i32 0, ptr %3, align 4, !tbaa !6
store i32 %197, ptr %2, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
br label %211
198: ; preds = %5
store i32 0, ptr %3, align 4, !tbaa !6
%199 = getelementptr inbounds i8, ptr %0, i64 24
%200 = load i32, ptr %199, align 8, !tbaa !46
%201 = icmp sgt i32 %200, 0
br i1 %201, label %207, label %202
202: ; preds = %198
%203 = getelementptr inbounds i8, ptr %0, i64 20
%204 = load i32, ptr %203, align 4, !tbaa !47
%205 = icmp sgt i32 %204, 0
%206 = zext i1 %205 to i32
br label %207
207: ; preds = %202, %198
%208 = phi i32 [ 1, %198 ], [ %206, %202 ]
store i32 %208, ptr %2, align 4, !tbaa !6
br label %211
209: ; preds = %5
%210 = load i32, ptr @SQLITE_ERROR, align 4, !tbaa !6
br label %211
211: ; preds = %21, %42, %13, %19, %209, %207, %196, %169, %153, %74
%212 = phi i32 [ %210, %209 ], [ %9, %207 ], [ %9, %196 ], [ %9, %169 ], [ %9, %153 ], [ %9, %74 ], [ %9, %42 ], [ %9, %21 ], [ %9, %19 ], [ %9, %13 ]
%213 = load i32, ptr %10, align 8, !tbaa !10
%214 = call i32 @sqlite3_mutex_leave(i32 noundef %213) #3
ret i32 %212
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sqlite3_mutex_enter(i32 noundef) local_unnamed_addr #2
declare i32 @testcase(i32 noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @sqlite3BtreeEnterAll(ptr noundef) local_unnamed_addr #2
declare ptr @sqlite3BtreePager(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3PagerMemUsed(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3BtreeConnectionCount(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 i32 @sqlite3BtreeLeaveAll(ptr noundef) local_unnamed_addr #2
declare i32 @ALWAYS(i32 noundef) local_unnamed_addr #2
declare i32 @sqlite3_msize(i32 noundef) local_unnamed_addr #2
declare ptr @sqliteHashFirst(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3DeleteTrigger(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @sqliteHashData(ptr noundef) local_unnamed_addr #2
declare ptr @sqliteHashNext(ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3DeleteTable(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3VdbeClearObject(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3DbFree(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3PagerCacheStat(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sqlite3_mutex_leave(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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"TYPE_24__", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !12, i64 32, !12, i64 40, !13, i64 48}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_19__", !7, i64 0, !7, i64 4, !12, i64 8}
!14 = !{!11, !7, i64 48}
!15 = !{!11, !7, i64 52}
!16 = !{!11, !12, i64 56}
!17 = !{!11, !7, i64 0}
!18 = !{!11, !12, i64 32}
!19 = !{!20, !12, i64 0}
!20 = !{!"TYPE_23__", !12, i64 0, !12, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!11, !12, i64 8}
!24 = !{!20, !12, i64 8}
!25 = !{!26, !12, i64 0}
!26 = !{!"TYPE_18__", !27, i64 0}
!27 = !{!"TYPE_20__", !12, i64 0}
!28 = !{!29, !7, i64 0}
!29 = !{!"TYPE_25__", !30, i64 0, !30, i64 8, !31, i64 16, !32, i64 24}
!30 = !{!"TYPE_26__", !7, i64 0, !7, i64 4}
!31 = !{!"TYPE_22__", !7, i64 0, !7, i64 4}
!32 = !{!"TYPE_21__", !7, i64 0, !7, i64 4}
!33 = !{!29, !7, i64 8}
!34 = !{!29, !7, i64 24}
!35 = !{!29, !7, i64 16}
!36 = !{!29, !7, i64 4}
!37 = !{!29, !7, i64 12}
!38 = !{!29, !7, i64 28}
!39 = !{!29, !7, i64 20}
!40 = distinct !{!40, !22}
!41 = distinct !{!41, !22}
!42 = distinct !{!42, !22}
!43 = !{!12, !12, i64 0}
!44 = distinct !{!44, !22}
!45 = distinct !{!45, !22}
!46 = !{!11, !7, i64 24}
!47 = !{!11, !7, i64 20}
| nodemcu-firmware_app_sqlite3_extr_sqlite3.c_sqlite3_db_status |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/pidfd/extr_..kselftest.h_ksft_print_cnts.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/pidfd/extr_..kselftest.h_ksft_print_cnts.c"
target datalayout = "e-m:e-p270:32:32-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 }
@ksft_plan = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [41 x i8] c"# Planned tests != run tests (%u != %u)\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"# Pass %d Fail %d Xfail %d Xpass %d Skip %d Error %d\0A\00", align 1
@ksft_cnt = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ksft_print_cnts], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @ksft_print_cnts() #0 {
%1 = load i64, ptr @ksft_plan, align 8, !tbaa !5
%2 = tail call i32 (...) @ksft_test_num() #3
%3 = sext i32 %2 to i64
%4 = icmp eq i64 %1, %3
br i1 %4, label %10, label %5
5: ; preds = %0
%6 = load i64, ptr @ksft_plan, align 8, !tbaa !5
%7 = trunc i64 %6 to i32
%8 = tail call i32 (...) @ksft_test_num() #3
%9 = tail call i32 (ptr, i32, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %7, i32 noundef %8)
br label %10
10: ; preds = %5, %0
%11 = load i32, ptr @ksft_cnt, align 4, !tbaa !9
%12 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @ksft_cnt, i64 0, i32 1), align 4, !tbaa !12
%13 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @ksft_cnt, i64 0, i32 2), align 4, !tbaa !13
%14 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @ksft_cnt, i64 0, i32 3), align 4, !tbaa !14
%15 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @ksft_cnt, i64 0, i32 4), align 4, !tbaa !15
%16 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @ksft_cnt, i64 0, i32 5), align 4, !tbaa !16
%17 = tail call i32 (ptr, i32, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16)
ret void
}
declare i32 @ksft_test_num(...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !11, i64 12}
!15 = !{!10, !11, i64 16}
!16 = !{!10, !11, i64 20}
| ; ModuleID = 'AnghaBench/linux/tools/testing/selftests/pidfd/extr_..kselftest.h_ksft_print_cnts.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/pidfd/extr_..kselftest.h_ksft_print_cnts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32 }
@ksft_plan = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [41 x i8] c"# Planned tests != run tests (%u != %u)\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"# Pass %d Fail %d Xfail %d Xpass %d Skip %d Error %d\0A\00", align 1
@ksft_cnt = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @ksft_print_cnts], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @ksft_print_cnts() #0 {
%1 = load i64, ptr @ksft_plan, align 8, !tbaa !6
%2 = tail call i32 @ksft_test_num() #3
%3 = sext i32 %2 to i64
%4 = icmp eq i64 %1, %3
br i1 %4, label %10, label %5
5: ; preds = %0
%6 = load i64, ptr @ksft_plan, align 8, !tbaa !6
%7 = trunc i64 %6 to i32
%8 = tail call i32 @ksft_test_num() #3
%9 = tail call i32 (ptr, i32, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %7, i32 noundef %8)
br label %10
10: ; preds = %5, %0
%11 = load i32, ptr @ksft_cnt, align 4, !tbaa !10
%12 = load i32, ptr getelementptr inbounds (i8, ptr @ksft_cnt, i64 4), align 4, !tbaa !13
%13 = load i32, ptr getelementptr inbounds (i8, ptr @ksft_cnt, i64 8), align 4, !tbaa !14
%14 = load i32, ptr getelementptr inbounds (i8, ptr @ksft_cnt, i64 12), align 4, !tbaa !15
%15 = load i32, ptr getelementptr inbounds (i8, ptr @ksft_cnt, i64 16), align 4, !tbaa !16
%16 = load i32, ptr getelementptr inbounds (i8, ptr @ksft_cnt, i64 20), align 4, !tbaa !17
%17 = tail call i32 (ptr, i32, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16)
ret void
}
declare i32 @ksft_test_num(...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { 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 #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 = !{!"TYPE_2__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 12}
!16 = !{!11, !12, i64 16}
!17 = !{!11, !12, i64 20}
| linux_tools_testing_selftests_pidfd_extr_..kselftest.h_ksft_print_cnts |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_tx.c_rtllib_txb_free.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_tx.c_rtllib_txb_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @rtllib_txb_free(ptr noundef %0) local_unnamed_addr #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 %6, label %8
6: ; preds = %1
%7 = tail call i32 @kfree(ptr noundef %0) #2
br label %8
8: ; preds = %1, %6
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_tx.c_rtllib_txb_free.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_tx.c_rtllib_txb_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @rtllib_txb_free(ptr noundef %0) local_unnamed_addr #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 %6, label %8
6: ; preds = %1
%7 = tail call i32 @kfree(ptr noundef %0) #2
br label %8
8: ; preds = %1, %6
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_staging_rtl8192e_extr_rtllib_tx.c_rtllib_txb_free |
; ModuleID = 'AnghaBench/postgres/src/backend/utils/cache/extr_lsyscache.c_getTypeBinaryOutputInfo.c'
source_filename = "AnghaBench/postgres/src/backend/utils/cache/extr_lsyscache.c_getTypeBinaryOutputInfo.c"
target datalayout = "e-m:e-p270:32:32-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 }
@TYPEOID = 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 [32 x i8] c"cache lookup failed for type %u\00", align 1
@ERRCODE_UNDEFINED_OBJECT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"type %s is only a shell\00", align 1
@ERRCODE_UNDEFINED_FUNCTION = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [48 x i8] c"no binary output function available for type %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @getTypeBinaryOutputInfo(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = load i32, ptr @TYPEOID, align 4, !tbaa !5
%5 = tail call i32 @ObjectIdGetDatum(i32 noundef %0) #2
%6 = tail call i32 @SearchSysCache1(i32 noundef %4, i32 noundef %5) #2
%7 = tail call i32 @HeapTupleIsValid(i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @ERROR, align 4, !tbaa !5
%11 = tail call i32 @elog(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %0) #2
br label %12
12: ; preds = %9, %3
%13 = tail call i64 @GETSTRUCT(i32 noundef %6) #2
%14 = inttoptr i64 %13 to ptr
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 0, i32 3
%16 = load i32, ptr %15, align 4, !tbaa !9
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %12
%19 = load i32, ptr @ERROR, align 4, !tbaa !5
%20 = load i32, ptr @ERRCODE_UNDEFINED_OBJECT, align 4, !tbaa !5
%21 = tail call i32 @errcode(i32 noundef %20) #2
%22 = tail call i32 @format_type_be(i32 noundef %0) #2
%23 = tail call i32 @errmsg(ptr noundef nonnull @.str.1, i32 noundef %22) #2
%24 = tail call i32 @ereport(i32 noundef %19, i32 noundef %23) #2
br label %25
25: ; preds = %18, %12
%26 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 0, i32 2
%27 = load i32, ptr %26, align 4, !tbaa !11
%28 = tail call i32 @OidIsValid(i32 noundef %27) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %25
%31 = load i32, ptr @ERROR, align 4, !tbaa !5
%32 = load i32, ptr @ERRCODE_UNDEFINED_FUNCTION, align 4, !tbaa !5
%33 = tail call i32 @errcode(i32 noundef %32) #2
%34 = tail call i32 @format_type_be(i32 noundef %0) #2
%35 = tail call i32 @errmsg(ptr noundef nonnull @.str.2, i32 noundef %34) #2
%36 = tail call i32 @ereport(i32 noundef %31, i32 noundef %35) #2
br label %37
37: ; preds = %30, %25
%38 = load i32, ptr %26, align 4, !tbaa !11
store i32 %38, ptr %1, align 4, !tbaa !5
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 0, i32 1
%40 = load i32, ptr %39, align 4, !tbaa !12
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %37
%43 = load i32, ptr %14, align 4, !tbaa !13
%44 = icmp eq i32 %43, -1
%45 = zext i1 %44 to i32
br label %46
46: ; preds = %42, %37
%47 = phi i32 [ 0, %37 ], [ %45, %42 ]
store i32 %47, ptr %2, align 4, !tbaa !5
%48 = tail call i32 @ReleaseSysCache(i32 noundef %6) #2
ret void
}
declare i32 @SearchSysCache1(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #1
declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GETSTRUCT(i32 noundef) local_unnamed_addr #1
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @format_type_be(i32 noundef) local_unnamed_addr #1
declare i32 @OidIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseSysCache(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 12}
!10 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 4}
!13 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/utils/cache/extr_lsyscache.c_getTypeBinaryOutputInfo.c'
source_filename = "AnghaBench/postgres/src/backend/utils/cache/extr_lsyscache.c_getTypeBinaryOutputInfo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TYPEOID = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"cache lookup failed for type %u\00", align 1
@ERRCODE_UNDEFINED_OBJECT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"type %s is only a shell\00", align 1
@ERRCODE_UNDEFINED_FUNCTION = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [48 x i8] c"no binary output function available for type %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @getTypeBinaryOutputInfo(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = load i32, ptr @TYPEOID, align 4, !tbaa !6
%5 = tail call i32 @ObjectIdGetDatum(i32 noundef %0) #2
%6 = tail call i32 @SearchSysCache1(i32 noundef %4, i32 noundef %5) #2
%7 = tail call i32 @HeapTupleIsValid(i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %3
%10 = load i32, ptr @ERROR, align 4, !tbaa !6
%11 = tail call i32 @elog(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %0) #2
br label %12
12: ; preds = %9, %3
%13 = tail call i64 @GETSTRUCT(i32 noundef %6) #2
%14 = inttoptr i64 %13 to ptr
%15 = getelementptr inbounds i8, ptr %14, i64 12
%16 = load i32, ptr %15, align 4, !tbaa !10
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %12
%19 = load i32, ptr @ERROR, align 4, !tbaa !6
%20 = load i32, ptr @ERRCODE_UNDEFINED_OBJECT, align 4, !tbaa !6
%21 = tail call i32 @errcode(i32 noundef %20) #2
%22 = tail call i32 @format_type_be(i32 noundef %0) #2
%23 = tail call i32 @errmsg(ptr noundef nonnull @.str.1, i32 noundef %22) #2
%24 = tail call i32 @ereport(i32 noundef %19, i32 noundef %23) #2
br label %25
25: ; preds = %18, %12
%26 = getelementptr inbounds i8, ptr %14, i64 8
%27 = load i32, ptr %26, align 4, !tbaa !12
%28 = tail call i32 @OidIsValid(i32 noundef %27) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %25
%31 = load i32, ptr @ERROR, align 4, !tbaa !6
%32 = load i32, ptr @ERRCODE_UNDEFINED_FUNCTION, align 4, !tbaa !6
%33 = tail call i32 @errcode(i32 noundef %32) #2
%34 = tail call i32 @format_type_be(i32 noundef %0) #2
%35 = tail call i32 @errmsg(ptr noundef nonnull @.str.2, i32 noundef %34) #2
%36 = tail call i32 @ereport(i32 noundef %31, i32 noundef %35) #2
br label %37
37: ; preds = %30, %25
%38 = load i32, ptr %26, align 4, !tbaa !12
store i32 %38, ptr %1, align 4, !tbaa !6
%39 = getelementptr inbounds i8, ptr %14, i64 4
%40 = load i32, ptr %39, align 4, !tbaa !13
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %37
%43 = load i32, ptr %14, align 4, !tbaa !14
%44 = icmp eq i32 %43, -1
%45 = zext i1 %44 to i32
br label %46
46: ; preds = %42, %37
%47 = phi i32 [ 0, %37 ], [ %45, %42 ]
store i32 %47, ptr %2, align 4, !tbaa !6
%48 = tail call i32 @ReleaseSysCache(i32 noundef %6) #2
ret void
}
declare i32 @SearchSysCache1(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #1
declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GETSTRUCT(i32 noundef) local_unnamed_addr #1
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @errcode(i32 noundef) local_unnamed_addr #1
declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @format_type_be(i32 noundef) local_unnamed_addr #1
declare i32 @OidIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseSysCache(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 12}
!11 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 4}
!14 = !{!11, !7, i64 0}
| postgres_src_backend_utils_cache_extr_lsyscache.c_getTypeBinaryOutputInfo |
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/dsp/extr_lossless_enc.c_CombinedShannonEntropy_C.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/dsp/extr_lossless_enc.c_CombinedShannonEntropy_C.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @CombinedShannonEntropy_C], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal float @CombinedShannonEntropy_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
br label %3
3: ; preds = %2, %29
%4 = phi i64 [ 0, %2 ], [ %33, %29 ]
%5 = phi double [ 0.000000e+00, %2 ], [ %32, %29 ]
%6 = phi i32 [ 0, %2 ], [ %31, %29 ]
%7 = phi i32 [ 0, %2 ], [ %30, %29 ]
%8 = getelementptr inbounds i32, ptr %0, i64 %4
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = icmp eq i32 %9, 0
%11 = getelementptr inbounds i32, ptr %1, i64 %4
%12 = load i32, ptr %11, align 4, !tbaa !5
br i1 %10, label %19, label %13
13: ; preds = %3
%14 = add nsw i32 %12, %9
%15 = add nsw i32 %9, %7
%16 = tail call i64 @VP8LFastSLog2(i32 noundef %9) #2
%17 = sitofp i64 %16 to double
%18 = fsub double %5, %17
br label %21
19: ; preds = %3
%20 = icmp eq i32 %12, 0
br i1 %20, label %29, label %21
21: ; preds = %19, %13
%22 = phi i32 [ %14, %13 ], [ %12, %19 ]
%23 = phi double [ %18, %13 ], [ %5, %19 ]
%24 = phi i32 [ %15, %13 ], [ %7, %19 ]
%25 = add nsw i32 %22, %6
%26 = tail call i64 @VP8LFastSLog2(i32 noundef %22) #2
%27 = sitofp i64 %26 to double
%28 = fsub double %23, %27
br label %29
29: ; preds = %21, %19
%30 = phi i32 [ %7, %19 ], [ %24, %21 ]
%31 = phi i32 [ %6, %19 ], [ %25, %21 ]
%32 = phi double [ %5, %19 ], [ %28, %21 ]
%33 = add nuw nsw i64 %4, 1
%34 = icmp eq i64 %33, 256
br i1 %34, label %35, label %3, !llvm.loop !9
35: ; preds = %29
%36 = tail call i64 @VP8LFastSLog2(i32 noundef %30) #2
%37 = tail call i64 @VP8LFastSLog2(i32 noundef %31) #2
%38 = add nsw i64 %37, %36
%39 = sitofp i64 %38 to double
%40 = fadd double %32, %39
%41 = fptrunc double %40 to float
ret float %41
}
declare i64 @VP8LFastSLog2(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/dsp/extr_lossless_enc.c_CombinedShannonEntropy_C.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/dsp/extr_lossless_enc.c_CombinedShannonEntropy_C.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @CombinedShannonEntropy_C], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal float @CombinedShannonEntropy_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
br label %3
3: ; preds = %2, %29
%4 = phi i64 [ 0, %2 ], [ %33, %29 ]
%5 = phi double [ 0.000000e+00, %2 ], [ %32, %29 ]
%6 = phi i32 [ 0, %2 ], [ %31, %29 ]
%7 = phi i32 [ 0, %2 ], [ %30, %29 ]
%8 = getelementptr inbounds i32, ptr %0, i64 %4
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = icmp eq i32 %9, 0
%11 = getelementptr inbounds i32, ptr %1, i64 %4
%12 = load i32, ptr %11, align 4, !tbaa !6
br i1 %10, label %19, label %13
13: ; preds = %3
%14 = add nsw i32 %12, %9
%15 = add nsw i32 %9, %7
%16 = tail call i64 @VP8LFastSLog2(i32 noundef %9) #2
%17 = sitofp i64 %16 to double
%18 = fsub double %5, %17
br label %21
19: ; preds = %3
%20 = icmp eq i32 %12, 0
br i1 %20, label %29, label %21
21: ; preds = %19, %13
%22 = phi i32 [ %14, %13 ], [ %12, %19 ]
%23 = phi double [ %18, %13 ], [ %5, %19 ]
%24 = phi i32 [ %15, %13 ], [ %7, %19 ]
%25 = add nsw i32 %22, %6
%26 = tail call i64 @VP8LFastSLog2(i32 noundef %22) #2
%27 = sitofp i64 %26 to double
%28 = fsub double %23, %27
br label %29
29: ; preds = %21, %19
%30 = phi i32 [ %7, %19 ], [ %24, %21 ]
%31 = phi i32 [ %6, %19 ], [ %25, %21 ]
%32 = phi double [ %5, %19 ], [ %28, %21 ]
%33 = add nuw nsw i64 %4, 1
%34 = icmp eq i64 %33, 256
br i1 %34, label %35, label %3, !llvm.loop !10
35: ; preds = %29
%36 = tail call i64 @VP8LFastSLog2(i32 noundef %30) #2
%37 = tail call i64 @VP8LFastSLog2(i32 noundef %31) #2
%38 = add nsw i64 %37, %36
%39 = sitofp i64 %38 to double
%40 = fadd double %32, %39
%41 = fptrunc double %40 to float
ret float %41
}
declare i64 @VP8LFastSLog2(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| sumatrapdf_ext_libwebp_src_dsp_extr_lossless_enc.c_CombinedShannonEntropy_C |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_drm.c_nouveau_drm_open.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_drm.c_nouveau_drm_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nouveau_drm = type { %struct.TYPE_6__, i32, i32 }
%struct.TYPE_6__ = type { i32 }
%struct.nouveau_cli = type { i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
%struct.drm_file = type { i32, ptr }
@TASK_COMM_LEN = dso_local local_unnamed_addr global i32 0, align 4
@current = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s[%d]\00", align 1
@NV_50 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @nouveau_drm_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nouveau_drm_open(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca [32 x i8], align 16
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = tail call ptr @nouveau_drm(ptr noundef nonnull %0) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
%7 = load i32, ptr @TASK_COMM_LEN, align 4, !tbaa !10
%8 = zext i32 %7 to i64
%9 = tail call ptr @llvm.stacksave.p0()
%10 = alloca i8, i64 %8, align 16
%11 = load i32, ptr @current, align 4, !tbaa !10
%12 = call i32 @get_task_comm(ptr noundef nonnull %10, i32 noundef %11) #4
%13 = load i32, ptr %1, align 8, !tbaa !12
%14 = call i32 @snprintf(ptr noundef nonnull %4, i32 noundef 32, ptr noundef nonnull @.str, ptr noundef nonnull %10, i32 noundef %13) #4
%15 = call i32 @nouveau_cli_create(ptr noundef %5, ptr noundef nonnull %4, i32 noundef 8, ptr noundef nonnull %3) #4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %42
17: ; preds = %2
%18 = getelementptr inbounds %struct.nouveau_drm, ptr %6, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = call ptr @nv_device(i32 noundef %19) #4
%21 = load i64, ptr %20, align 8, !tbaa !17
%22 = load i64, ptr @NV_50, align 8, !tbaa !20
%23 = icmp slt i64 %21, %22
br i1 %23, label %34, label %24
24: ; preds = %17
%25 = load i32, ptr %18, align 4, !tbaa !14
%26 = call ptr @nv_device(i32 noundef %25) #4
%27 = load ptr, ptr %3, align 8, !tbaa !21
%28 = getelementptr inbounds %struct.nouveau_cli, ptr %27, i64 0, i32 1
%29 = call i32 @nouveau_vm_new(ptr noundef %26, i32 noundef 0, i64 noundef 1099511627776, i32 noundef 4096, ptr noundef nonnull %28) #4
%30 = icmp eq i32 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %24
%32 = load ptr, ptr %3, align 8, !tbaa !21
%33 = call i32 @nouveau_cli_destroy(ptr noundef %32) #4
br label %42
34: ; preds = %24, %17
%35 = load ptr, ptr %3, align 8, !tbaa !21
%36 = getelementptr inbounds %struct.drm_file, ptr %1, i64 0, i32 1
store ptr %35, ptr %36, align 8, !tbaa !22
%37 = call i32 @mutex_lock(ptr noundef nonnull %6) #4
%38 = load ptr, ptr %3, align 8, !tbaa !21
%39 = getelementptr inbounds %struct.nouveau_drm, ptr %6, i64 0, i32 1
%40 = call i32 @list_add(ptr noundef %38, ptr noundef nonnull %39) #4
%41 = call i32 @mutex_unlock(ptr noundef nonnull %6) #4
br label %42
42: ; preds = %2, %34, %31
%43 = phi i32 [ %29, %31 ], [ 0, %34 ], [ %15, %2 ]
call void @llvm.stackrestore.p0(ptr %9)
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare i32 @get_task_comm(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nouveau_cli_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @nv_device(i32 noundef) local_unnamed_addr #2
declare i32 @nouveau_vm_new(ptr noundef, i32 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nouveau_cli_destroy(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 = !{!"drm_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"drm_file", !11, i64 0, !7, i64 8}
!14 = !{!15, !11, i64 8}
!15 = !{!"nouveau_drm", !16, i64 0, !11, i64 4, !11, i64 8}
!16 = !{!"TYPE_6__", !11, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"TYPE_7__", !19, i64 0}
!19 = !{!"long", !8, i64 0}
!20 = !{!19, !19, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!13, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_drm.c_nouveau_drm_open.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_drm.c_nouveau_drm_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TASK_COMM_LEN = common local_unnamed_addr global i32 0, align 4
@current = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s[%d]\00", align 1
@NV_50 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @nouveau_drm_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nouveau_drm_open(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca [32 x i8], align 1
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = tail call ptr @nouveau_drm(ptr noundef nonnull %0) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
%7 = load i32, ptr @TASK_COMM_LEN, align 4, !tbaa !11
%8 = zext i32 %7 to i64
%9 = tail call ptr @llvm.stacksave.p0()
%10 = alloca i8, i64 %8, align 1
%11 = load i32, ptr @current, align 4, !tbaa !11
%12 = call i32 @get_task_comm(ptr noundef nonnull %10, i32 noundef %11) #4
%13 = load i32, ptr %1, align 8, !tbaa !13
%14 = call i32 @snprintf(ptr noundef nonnull %4, i32 noundef 32, ptr noundef nonnull @.str, ptr noundef nonnull %10, i32 noundef %13) #4
%15 = call i32 @nouveau_cli_create(ptr noundef %5, ptr noundef nonnull %4, i32 noundef 8, ptr noundef nonnull %3) #4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %42
17: ; preds = %2
%18 = getelementptr inbounds i8, ptr %6, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = call ptr @nv_device(i32 noundef %19) #4
%21 = load i64, ptr %20, align 8, !tbaa !18
%22 = load i64, ptr @NV_50, align 8, !tbaa !21
%23 = icmp slt i64 %21, %22
br i1 %23, label %34, label %24
24: ; preds = %17
%25 = load i32, ptr %18, align 4, !tbaa !15
%26 = call ptr @nv_device(i32 noundef %25) #4
%27 = load ptr, ptr %3, align 8, !tbaa !22
%28 = getelementptr inbounds i8, ptr %27, i64 4
%29 = call i32 @nouveau_vm_new(ptr noundef %26, i32 noundef 0, i64 noundef 1099511627776, i32 noundef 4096, ptr noundef nonnull %28) #4
%30 = icmp eq i32 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %24
%32 = load ptr, ptr %3, align 8, !tbaa !22
%33 = call i32 @nouveau_cli_destroy(ptr noundef %32) #4
br label %42
34: ; preds = %24, %17
%35 = load ptr, ptr %3, align 8, !tbaa !22
%36 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %35, ptr %36, align 8, !tbaa !23
%37 = call i32 @mutex_lock(ptr noundef nonnull %6) #4
%38 = load ptr, ptr %3, align 8, !tbaa !22
%39 = getelementptr inbounds i8, ptr %6, i64 4
%40 = call i32 @list_add(ptr noundef %38, ptr noundef nonnull %39) #4
%41 = call i32 @mutex_unlock(ptr noundef nonnull %6) #4
br label %42
42: ; preds = %2, %34, %31
%43 = phi i32 [ %29, %31 ], [ 0, %34 ], [ %15, %2 ]
call void @llvm.stackrestore.p0(ptr %9)
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare i32 @get_task_comm(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nouveau_cli_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @nv_device(i32 noundef) local_unnamed_addr #2
declare i32 @nouveau_vm_new(ptr noundef, i32 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nouveau_cli_destroy(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 = !{!"drm_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"drm_file", !12, i64 0, !8, i64 8}
!15 = !{!16, !12, i64 8}
!16 = !{!"nouveau_drm", !17, i64 0, !12, i64 4, !12, i64 8}
!17 = !{!"TYPE_6__", !12, i64 0}
!18 = !{!19, !20, i64 0}
!19 = !{!"TYPE_7__", !20, i64 0}
!20 = !{!"long", !9, i64 0}
!21 = !{!20, !20, i64 0}
!22 = !{!8, !8, i64 0}
!23 = !{!14, !8, i64 8}
| fastsocket_kernel_drivers_gpu_drm_nouveau_extr_nouveau_drm.c_nouveau_drm_open |
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_event.c_hci_le_conn_complete_evt.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_event.c_hci_le_conn_complete_evt.c"
target datalayout = "e-m:e-p270:32:32-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.hci_ev_le_conn_complete = type { i32, i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [18 x i8] c"%s status 0x%2.2x\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hci_le_conn_complete_evt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hci_le_conn_complete_evt(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %0, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.hci_ev_le_conn_complete, ptr %4, i64 0, i32 7
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7) #2
%9 = load i32, ptr %6, align 4, !tbaa !13
%10 = getelementptr inbounds %struct.hci_ev_le_conn_complete, ptr %4, i64 0, i32 6
%11 = getelementptr inbounds %struct.hci_ev_le_conn_complete, ptr %4, i64 0, i32 5
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = getelementptr inbounds %struct.hci_ev_le_conn_complete, ptr %4, i64 0, i32 4
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = getelementptr inbounds %struct.hci_ev_le_conn_complete, ptr %4, i64 0, i32 3
%16 = load i32, ptr %15, align 4, !tbaa !17
%17 = tail call i32 @le16_to_cpu(i32 noundef %16) #2
%18 = getelementptr inbounds %struct.hci_ev_le_conn_complete, ptr %4, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !18
%20 = tail call i32 @le16_to_cpu(i32 noundef %19) #2
%21 = getelementptr inbounds %struct.hci_ev_le_conn_complete, ptr %4, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !19
%23 = tail call i32 @le16_to_cpu(i32 noundef %22) #2
%24 = load i32, ptr %4, align 4, !tbaa !20
%25 = tail call i32 @le16_to_cpu(i32 noundef %24) #2
%26 = tail call i32 @le_conn_complete_evt(ptr noundef nonnull %0, i32 noundef %9, ptr noundef nonnull %10, i32 noundef %12, i32 noundef %14, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %25) #2
ret void
}
declare i32 @BT_DBG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le_conn_complete_evt(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(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 = !{!"sk_buff", !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 = !{!"hci_dev", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 28}
!14 = !{!"hci_ev_le_conn_complete", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28}
!15 = !{!14, !12, i64 20}
!16 = !{!14, !12, i64 16}
!17 = !{!14, !12, i64 12}
!18 = !{!14, !12, i64 8}
!19 = !{!14, !12, i64 4}
!20 = !{!14, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_event.c_hci_le_conn_complete_evt.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_event.c_hci_le_conn_complete_evt.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"%s status 0x%2.2x\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hci_le_conn_complete_evt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hci_le_conn_complete_evt(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %0, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %4, i64 28
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7) #2
%9 = load i32, ptr %6, align 4, !tbaa !14
%10 = getelementptr inbounds i8, ptr %4, i64 24
%11 = getelementptr inbounds i8, ptr %4, i64 20
%12 = load i32, ptr %11, align 4, !tbaa !16
%13 = getelementptr inbounds i8, ptr %4, i64 16
%14 = load i32, ptr %13, align 4, !tbaa !17
%15 = getelementptr inbounds i8, ptr %4, i64 12
%16 = load i32, ptr %15, align 4, !tbaa !18
%17 = tail call i32 @le16_to_cpu(i32 noundef %16) #2
%18 = getelementptr inbounds i8, ptr %4, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !19
%20 = tail call i32 @le16_to_cpu(i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %4, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !20
%23 = tail call i32 @le16_to_cpu(i32 noundef %22) #2
%24 = load i32, ptr %4, align 4, !tbaa !21
%25 = tail call i32 @le16_to_cpu(i32 noundef %24) #2
%26 = tail call i32 @le_conn_complete_evt(ptr noundef nonnull %0, i32 noundef %9, ptr noundef nonnull %10, i32 noundef %12, i32 noundef %14, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %25) #2
ret void
}
declare i32 @BT_DBG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le_conn_complete_evt(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(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 = !{!"sk_buff", !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 = !{!"hci_dev", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 28}
!15 = !{!"hci_ev_le_conn_complete", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28}
!16 = !{!15, !13, i64 20}
!17 = !{!15, !13, i64 16}
!18 = !{!15, !13, i64 12}
!19 = !{!15, !13, i64 8}
!20 = !{!15, !13, i64 4}
!21 = !{!15, !13, i64 0}
| linux_net_bluetooth_extr_hci_event.c_hci_le_conn_complete_evt |
; ModuleID = 'AnghaBench/lede/package/lean/default-settings/tools/po2lmo/src/extr_po2lmo.c_die.c'
source_filename = "AnghaBench/lede/package/lean/default-settings/tools/po2lmo/src/extr_po2lmo.c_die.c"
target datalayout = "e-m:e-p270:32:32-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 [11 x i8] c"Error: %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @die], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @die(ptr noundef %0) #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !5
%3 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef %0) #3
%4 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr 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/lede/package/lean/default-settings/tools/po2lmo/src/extr_po2lmo.c_die.c'
source_filename = "AnghaBench/lede/package/lean/default-settings/tools/po2lmo/src/extr_po2lmo.c_die.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 [11 x i8] c"Error: %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @die], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @die(ptr noundef %0) #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !6
%3 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef %0) #3
%4 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr 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"}
| lede_package_lean_default-settings_tools_po2lmo_src_extr_po2lmo.c_die |
; ModuleID = 'AnghaBench/libgit2/tests/iterator/extr_tree.c_test_iterator_tree__pathlist_icase.c'
source_filename = "AnghaBench/libgit2/tests/iterator/extr_tree.c_test_iterator_tree__pathlist_icase.c"
target datalayout = "e-m:e-p270:32:32-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, i32, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { ptr, i32 }
%struct.TYPE_10__ = type { i32, i64 }
@GIT_ITERATOR_OPTIONS_INIT = dso_local local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8
@git__strcmp_cb = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"B\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"D\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"e\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"k.a\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"k.b\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"k/1\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"k/a\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"kZZZZ\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"L/1\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"icase\00", align 1
@g_repo = dso_local local_unnamed_addr global i32 0, align 4
@GIT_ITERATOR_DONT_IGNORE_CASE = dso_local local_unnamed_addr global i32 0, align 4
@.str.12 = private unnamed_addr constant [4 x i8] c"k/D\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"k\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"k/Z\00", align 1
@GIT_ITERATOR_IGNORE_CASE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @test_iterator_tree__pathlist_icase() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca %struct.TYPE_11__, align 8
%3 = alloca %struct.TYPE_10__, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) @GIT_ITERATOR_OPTIONS_INIT, i64 40, i1 false), !tbaa.struct !5
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%5 = call i32 @git_vector_init(ptr noundef nonnull %3, i32 noundef 100, ptr noundef nonnull @git__strcmp_cb) #4
%6 = call i32 @cl_git_pass(i32 noundef %5) #4
%7 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str) #4
%8 = call i32 @cl_git_pass(i32 noundef %7) #4
%9 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #4
%10 = call i32 @cl_git_pass(i32 noundef %9) #4
%11 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.2) #4
%12 = call i32 @cl_git_pass(i32 noundef %11) #4
%13 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.3) #4
%14 = call i32 @cl_git_pass(i32 noundef %13) #4
%15 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.4) #4
%16 = call i32 @cl_git_pass(i32 noundef %15) #4
%17 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.5) #4
%18 = call i32 @cl_git_pass(i32 noundef %17) #4
%19 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.6) #4
%20 = call i32 @cl_git_pass(i32 noundef %19) #4
%21 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.7) #4
%22 = call i32 @cl_git_pass(i32 noundef %21) #4
%23 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.8) #4
%24 = call i32 @cl_git_pass(i32 noundef %23) #4
%25 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.9) #4
%26 = call i32 @cl_git_pass(i32 noundef %25) #4
%27 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.10) #4
%28 = call i32 @cl_git_pass(i32 noundef %27) #4
%29 = call i32 @cl_git_sandbox_init(ptr noundef nonnull @.str.11) #4
store i32 %29, ptr @g_repo, align 4, !tbaa !10
%30 = call i32 @git_repository_head_tree(ptr noundef nonnull %4, i32 noundef %29) #4
%31 = load i32, ptr @GIT_ITERATOR_DONT_IGNORE_CASE, align 4, !tbaa !10
%32 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 2
store i32 %31, ptr %32, align 8, !tbaa !12
%33 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !15
%35 = inttoptr i64 %34 to ptr
%36 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 3
store ptr %35, ptr %36, align 8, !tbaa !18
%37 = load i32, ptr %3, align 8, !tbaa !19
%38 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 3, i32 1
store i32 %37, ptr %38, align 8, !tbaa !20
store ptr @.str.2, ptr %2, align 8, !tbaa !21
%39 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 1
store ptr @.str.12, ptr %39, align 8, !tbaa !22
%40 = load ptr, ptr %4, align 8, !tbaa !6
%41 = call i32 @git_iterator_for_tree(ptr noundef nonnull %1, ptr noundef %40, ptr noundef nonnull %2) #4
%42 = call i32 @cl_git_pass(i32 noundef %41) #4
%43 = load ptr, ptr %1, align 8, !tbaa !6
%44 = call i32 @expect_iterator_items(ptr noundef %43, i32 noundef 3, ptr noundef null, i32 noundef 3, ptr noundef null) #4
%45 = load ptr, ptr %1, align 8, !tbaa !6
%46 = call i32 @git_iterator_free(ptr noundef %45) #4
store ptr @.str.13, ptr %2, align 8, !tbaa !21
store ptr @.str.14, ptr %39, align 8, !tbaa !22
%47 = load ptr, ptr %4, align 8, !tbaa !6
%48 = call i32 @git_iterator_for_tree(ptr noundef nonnull %1, ptr noundef %47, ptr noundef nonnull %2) #4
%49 = call i32 @cl_git_pass(i32 noundef %48) #4
%50 = load ptr, ptr %1, align 8, !tbaa !6
%51 = call i32 @expect_iterator_items(ptr noundef %50, i32 noundef 1, ptr noundef null, i32 noundef 1, ptr noundef null) #4
%52 = load ptr, ptr %1, align 8, !tbaa !6
%53 = call i32 @git_iterator_free(ptr noundef %52) #4
%54 = load i32, ptr @GIT_ITERATOR_IGNORE_CASE, align 4, !tbaa !10
store i32 %54, ptr %32, align 8, !tbaa !12
store ptr @.str.2, ptr %2, align 8, !tbaa !21
store ptr @.str.12, ptr %39, align 8, !tbaa !22
%55 = load ptr, ptr %4, align 8, !tbaa !6
%56 = call i32 @git_iterator_for_tree(ptr noundef nonnull %1, ptr noundef %55, ptr noundef nonnull %2) #4
%57 = call i32 @cl_git_pass(i32 noundef %56) #4
%58 = load ptr, ptr %1, align 8, !tbaa !6
%59 = call i32 @expect_iterator_items(ptr noundef %58, i32 noundef 5, ptr noundef null, i32 noundef 5, ptr noundef null) #4
%60 = load ptr, ptr %1, align 8, !tbaa !6
%61 = call i32 @git_iterator_free(ptr noundef %60) #4
store ptr @.str.13, ptr %2, align 8, !tbaa !21
store ptr @.str.14, ptr %39, align 8, !tbaa !22
%62 = load ptr, ptr %4, align 8, !tbaa !6
%63 = call i32 @git_iterator_for_tree(ptr noundef nonnull %1, ptr noundef %62, ptr noundef nonnull %2) #4
%64 = call i32 @cl_git_pass(i32 noundef %63) #4
%65 = load ptr, ptr %1, align 8, !tbaa !6
%66 = call i32 @expect_iterator_items(ptr noundef %65, i32 noundef 2, ptr noundef null, i32 noundef 2, ptr noundef null) #4
%67 = load ptr, ptr %1, align 8, !tbaa !6
%68 = call i32 @git_iterator_free(ptr noundef %67) #4
%69 = call i32 @git_vector_free(ptr noundef nonnull %3) #4
%70 = load ptr, ptr %4, align 8, !tbaa !6
%71 = call i32 @git_tree_free(ptr noundef %70) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #3
declare i32 @git_vector_init(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @git_vector_insert(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @cl_git_sandbox_init(ptr noundef) local_unnamed_addr #3
declare i32 @git_repository_head_tree(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @git_iterator_for_tree(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @expect_iterator_items(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @git_iterator_free(ptr noundef) local_unnamed_addr #3
declare i32 @git_vector_free(ptr noundef) local_unnamed_addr #3
declare i32 @git_tree_free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{i64 0, i64 8, !6, i64 8, i64 8, !6, i64 16, i64 4, !10, i64 24, i64 8, !6, i64 32, i64 4, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"TYPE_11__", !7, i64 0, !7, i64 8, !11, i64 16, !14, i64 24}
!14 = !{!"TYPE_9__", !7, i64 0, !11, i64 8}
!15 = !{!16, !17, i64 8}
!16 = !{!"TYPE_10__", !11, i64 0, !17, i64 8}
!17 = !{!"long", !8, i64 0}
!18 = !{!13, !7, i64 24}
!19 = !{!16, !11, i64 0}
!20 = !{!13, !11, i64 32}
!21 = !{!13, !7, i64 0}
!22 = !{!13, !7, i64 8}
| ; ModuleID = 'AnghaBench/libgit2/tests/iterator/extr_tree.c_test_iterator_tree__pathlist_icase.c'
source_filename = "AnghaBench/libgit2/tests/iterator/extr_tree.c_test_iterator_tree__pathlist_icase.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 { ptr, ptr, i32, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { ptr, i32 }
%struct.TYPE_10__ = type { i32, i64 }
@GIT_ITERATOR_OPTIONS_INIT = common local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8
@git__strcmp_cb = common global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"B\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"D\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"e\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"k.a\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"k.b\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"k/1\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"k/a\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"kZZZZ\00", align 1
@.str.10 = private unnamed_addr constant [4 x i8] c"L/1\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"icase\00", align 1
@g_repo = common local_unnamed_addr global i32 0, align 4
@GIT_ITERATOR_DONT_IGNORE_CASE = common local_unnamed_addr global i32 0, align 4
@.str.12 = private unnamed_addr constant [4 x i8] c"k/D\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"k\00", align 1
@.str.14 = private unnamed_addr constant [4 x i8] c"k/Z\00", align 1
@GIT_ITERATOR_IGNORE_CASE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_iterator_tree__pathlist_icase() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca %struct.TYPE_11__, align 8
%3 = alloca %struct.TYPE_10__, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) @GIT_ITERATOR_OPTIONS_INIT, i64 40, i1 false), !tbaa.struct !6
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%5 = call i32 @git_vector_init(ptr noundef nonnull %3, i32 noundef 100, ptr noundef nonnull @git__strcmp_cb) #4
%6 = call i32 @cl_git_pass(i32 noundef %5) #4
%7 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str) #4
%8 = call i32 @cl_git_pass(i32 noundef %7) #4
%9 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #4
%10 = call i32 @cl_git_pass(i32 noundef %9) #4
%11 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.2) #4
%12 = call i32 @cl_git_pass(i32 noundef %11) #4
%13 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.3) #4
%14 = call i32 @cl_git_pass(i32 noundef %13) #4
%15 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.4) #4
%16 = call i32 @cl_git_pass(i32 noundef %15) #4
%17 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.5) #4
%18 = call i32 @cl_git_pass(i32 noundef %17) #4
%19 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.6) #4
%20 = call i32 @cl_git_pass(i32 noundef %19) #4
%21 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.7) #4
%22 = call i32 @cl_git_pass(i32 noundef %21) #4
%23 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.8) #4
%24 = call i32 @cl_git_pass(i32 noundef %23) #4
%25 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.9) #4
%26 = call i32 @cl_git_pass(i32 noundef %25) #4
%27 = call i32 @git_vector_insert(ptr noundef nonnull %3, ptr noundef nonnull @.str.10) #4
%28 = call i32 @cl_git_pass(i32 noundef %27) #4
%29 = call i32 @cl_git_sandbox_init(ptr noundef nonnull @.str.11) #4
store i32 %29, ptr @g_repo, align 4, !tbaa !11
%30 = call i32 @git_repository_head_tree(ptr noundef nonnull %4, i32 noundef %29) #4
%31 = load i32, ptr @GIT_ITERATOR_DONT_IGNORE_CASE, align 4, !tbaa !11
%32 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %31, ptr %32, align 8, !tbaa !13
%33 = getelementptr inbounds i8, ptr %3, i64 8
%34 = load i64, ptr %33, align 8, !tbaa !16
%35 = inttoptr i64 %34 to ptr
%36 = getelementptr inbounds i8, ptr %2, i64 24
store ptr %35, ptr %36, align 8, !tbaa !19
%37 = load i32, ptr %3, align 8, !tbaa !20
%38 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %37, ptr %38, align 8, !tbaa !21
store ptr @.str.2, ptr %2, align 8, !tbaa !22
%39 = getelementptr inbounds i8, ptr %2, i64 8
store ptr @.str.12, ptr %39, align 8, !tbaa !23
%40 = load ptr, ptr %4, align 8, !tbaa !7
%41 = call i32 @git_iterator_for_tree(ptr noundef nonnull %1, ptr noundef %40, ptr noundef nonnull %2) #4
%42 = call i32 @cl_git_pass(i32 noundef %41) #4
%43 = load ptr, ptr %1, align 8, !tbaa !7
%44 = call i32 @expect_iterator_items(ptr noundef %43, i32 noundef 3, ptr noundef null, i32 noundef 3, ptr noundef null) #4
%45 = load ptr, ptr %1, align 8, !tbaa !7
%46 = call i32 @git_iterator_free(ptr noundef %45) #4
store ptr @.str.13, ptr %2, align 8, !tbaa !22
store ptr @.str.14, ptr %39, align 8, !tbaa !23
%47 = load ptr, ptr %4, align 8, !tbaa !7
%48 = call i32 @git_iterator_for_tree(ptr noundef nonnull %1, ptr noundef %47, ptr noundef nonnull %2) #4
%49 = call i32 @cl_git_pass(i32 noundef %48) #4
%50 = load ptr, ptr %1, align 8, !tbaa !7
%51 = call i32 @expect_iterator_items(ptr noundef %50, i32 noundef 1, ptr noundef null, i32 noundef 1, ptr noundef null) #4
%52 = load ptr, ptr %1, align 8, !tbaa !7
%53 = call i32 @git_iterator_free(ptr noundef %52) #4
%54 = load i32, ptr @GIT_ITERATOR_IGNORE_CASE, align 4, !tbaa !11
store i32 %54, ptr %32, align 8, !tbaa !13
store ptr @.str.2, ptr %2, align 8, !tbaa !22
store ptr @.str.12, ptr %39, align 8, !tbaa !23
%55 = load ptr, ptr %4, align 8, !tbaa !7
%56 = call i32 @git_iterator_for_tree(ptr noundef nonnull %1, ptr noundef %55, ptr noundef nonnull %2) #4
%57 = call i32 @cl_git_pass(i32 noundef %56) #4
%58 = load ptr, ptr %1, align 8, !tbaa !7
%59 = call i32 @expect_iterator_items(ptr noundef %58, i32 noundef 5, ptr noundef null, i32 noundef 5, ptr noundef null) #4
%60 = load ptr, ptr %1, align 8, !tbaa !7
%61 = call i32 @git_iterator_free(ptr noundef %60) #4
store ptr @.str.13, ptr %2, align 8, !tbaa !22
store ptr @.str.14, ptr %39, align 8, !tbaa !23
%62 = load ptr, ptr %4, align 8, !tbaa !7
%63 = call i32 @git_iterator_for_tree(ptr noundef nonnull %1, ptr noundef %62, ptr noundef nonnull %2) #4
%64 = call i32 @cl_git_pass(i32 noundef %63) #4
%65 = load ptr, ptr %1, align 8, !tbaa !7
%66 = call i32 @expect_iterator_items(ptr noundef %65, i32 noundef 2, ptr noundef null, i32 noundef 2, ptr noundef null) #4
%67 = load ptr, ptr %1, align 8, !tbaa !7
%68 = call i32 @git_iterator_free(ptr noundef %67) #4
%69 = call i32 @git_vector_free(ptr noundef nonnull %3) #4
%70 = load ptr, ptr %4, align 8, !tbaa !7
%71 = call i32 @git_tree_free(ptr noundef %70) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #3
declare i32 @git_vector_init(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @git_vector_insert(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @cl_git_sandbox_init(ptr noundef) local_unnamed_addr #3
declare i32 @git_repository_head_tree(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @git_iterator_for_tree(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @expect_iterator_items(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @git_iterator_free(ptr noundef) local_unnamed_addr #3
declare i32 @git_vector_free(ptr noundef) local_unnamed_addr #3
declare i32 @git_tree_free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{i64 0, i64 8, !7, i64 8, i64 8, !7, i64 16, i64 4, !11, i64 24, i64 8, !7, i64 32, i64 4, !11}
!7 = !{!8, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"TYPE_11__", !8, i64 0, !8, i64 8, !12, i64 16, !15, i64 24}
!15 = !{!"TYPE_9__", !8, i64 0, !12, i64 8}
!16 = !{!17, !18, i64 8}
!17 = !{!"TYPE_10__", !12, i64 0, !18, i64 8}
!18 = !{!"long", !9, i64 0}
!19 = !{!14, !8, i64 24}
!20 = !{!17, !12, i64 0}
!21 = !{!14, !12, i64 32}
!22 = !{!14, !8, i64 0}
!23 = !{!14, !8, i64 8}
| libgit2_tests_iterator_extr_tree.c_test_iterator_tree__pathlist_icase |
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_machine.h_machine__kernel_map.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_machine.h_machine__kernel_map.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @machine__kernel_map], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal ptr @machine__kernel_map(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = zext i32 %1 to i64
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !10
ret ptr %6
}
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 = !{!"machine", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_machine.h_machine__kernel_map.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_machine.h_machine__kernel_map.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 @machine__kernel_map], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @machine__kernel_map(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = zext i32 %1 to i64
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !11
ret ptr %6
}
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 = !{!"machine", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_tools_perf_util_extr_machine.h_machine__kernel_map |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv17_tv.c_nv42_tv_sample_load.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv17_tv.c_nv42_tv_sample_load.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nouveau_drm = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.nouveau_gpio = type { ptr, ptr }
@NV_PRAMDAC_DACCLK = dso_local local_unnamed_addr global i32 0, align 4
@DCB_GPIO_TVDAC1 = dso_local local_unnamed_addr global i32 0, align 4
@DCB_GPIO_TVDAC0 = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_HTOTAL = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_HSYNC_START = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_HSYNC_END = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_TEST_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12 = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_READ_PROG = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS = dso_local local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nv42_tv_sample_load], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nv42_tv_sample_load(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call ptr @nouveau_drm(ptr noundef %2) #2
%4 = getelementptr inbounds %struct.nouveau_drm, ptr %3, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call ptr @nouveau_gpio(i32 noundef %5) #2
%7 = tail call i32 @nv04_dac_output_offset(ptr noundef nonnull %0) #2
%8 = load i32, ptr %3, align 4, !tbaa !14
%9 = icmp eq i32 %8, 0
%10 = select i1 %9, i32 136555650, i32 %8
%11 = load i32, ptr @NV_PRAMDAC_DACCLK, align 4, !tbaa !15
%12 = add nsw i32 %11, %7
%13 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %12) #2
%14 = lshr i32 %13, 8
%15 = and i32 %14, 1
%16 = load ptr, ptr %6, align 8, !tbaa !16
%17 = load i32, ptr @DCB_GPIO_TVDAC1, align 4, !tbaa !15
%18 = tail call i32 %16(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %17, i32 noundef 255) #2
%19 = load ptr, ptr %6, align 8, !tbaa !16
%20 = load i32, ptr @DCB_GPIO_TVDAC0, align 4, !tbaa !15
%21 = tail call i32 %19(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %20, i32 noundef 255) #2
%22 = load i32, ptr @NV_PRAMDAC_FP_HTOTAL, align 4, !tbaa !15
%23 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %22) #2
%24 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_START, align 4, !tbaa !15
%25 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %24) #2
%26 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_END, align 4, !tbaa !15
%27 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %26) #2
%28 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL, align 4, !tbaa !15
%29 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %28) #2
%30 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !15
%31 = add nsw i32 %30, %7
%32 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %31) #2
%33 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818844) #2
%34 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818836) #2
%35 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818924) #2
%36 = getelementptr inbounds %struct.nouveau_gpio, ptr %6, i64 0, i32 1
%37 = load ptr, ptr %36, align 8, !tbaa !18
%38 = load i32, ptr @DCB_GPIO_TVDAC1, align 4, !tbaa !15
%39 = tail call i32 %37(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %38, i32 noundef 255, i32 noundef 1) #2
%40 = load ptr, ptr %36, align 8, !tbaa !18
%41 = load i32, ptr @DCB_GPIO_TVDAC0, align 4, !tbaa !15
%42 = tail call i32 %40(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %41, i32 noundef 255, i32 noundef 1) #2
%43 = load i32, ptr @NV_PRAMDAC_FP_HTOTAL, align 4, !tbaa !15
%44 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %43, i32 noundef 1343) #2
%45 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_START, align 4, !tbaa !15
%46 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %45, i32 noundef 1047) #2
%47 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_END, align 4, !tbaa !15
%48 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %47, i32 noundef 1183) #2
%49 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL, align 4, !tbaa !15
%50 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS, align 4, !tbaa !15
%51 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12, align 4, !tbaa !15
%52 = or i32 %51, %50
%53 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_READ_PROG, align 4, !tbaa !15
%54 = or i32 %52, %53
%55 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS, align 4, !tbaa !15
%56 = or i32 %54, %55
%57 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS, align 4, !tbaa !15
%58 = or i32 %56, %57
%59 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %49, i32 noundef %58) #2
%60 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !15
%61 = add nsw i32 %60, %7
%62 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %61, i32 noundef 0) #2
%63 = load i32, ptr @NV_PRAMDAC_DACCLK, align 4, !tbaa !15
%64 = add nsw i32 %63, %7
%65 = and i32 %13, -256
%66 = or disjoint i32 %65, 34
%67 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %64, i32 noundef %66) #2
%68 = tail call i32 @msleep(i32 noundef 1) #2
%69 = load i32, ptr @NV_PRAMDAC_DACCLK, align 4, !tbaa !15
%70 = add nsw i32 %69, %7
%71 = or disjoint i32 %65, 33
%72 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %70, i32 noundef %71) #2
%73 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818844, i32 noundef 1048576) #2
%74 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818836, i32 noundef 262144) #2
%75 = lshr i32 %10, 10
%76 = and i32 %75, 1023
%77 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818924, i32 noundef %76) #2
%78 = tail call i32 @msleep(i32 noundef 20) #2
%79 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !15
%80 = add nsw i32 %79, %7
%81 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %80) #2
%82 = and i32 %81, 1073741824
%83 = and i32 %10, 1023
%84 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818924, i32 noundef %83) #2
%85 = tail call i32 @msleep(i32 noundef 20) #2
%86 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !15
%87 = add nsw i32 %86, %7
%88 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %87) #2
%89 = and i32 %88, -1610612736
%90 = or disjoint i32 %89, %82
%91 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818844, i32 noundef %33) #2
%92 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818836, i32 noundef %34) #2
%93 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818924, i32 noundef %35) #2
%94 = load i32, ptr @NV_PRAMDAC_DACCLK, align 4, !tbaa !15
%95 = add nsw i32 %94, %7
%96 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %95, i32 noundef %13) #2
%97 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !15
%98 = add nsw i32 %97, %7
%99 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %98, i32 noundef %32) #2
%100 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL, align 4, !tbaa !15
%101 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %100, i32 noundef %29) #2
%102 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_END, align 4, !tbaa !15
%103 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %102, i32 noundef %27) #2
%104 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_START, align 4, !tbaa !15
%105 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %104, i32 noundef %25) #2
%106 = load i32, ptr @NV_PRAMDAC_FP_HTOTAL, align 4, !tbaa !15
%107 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %106, i32 noundef %23) #2
%108 = load ptr, ptr %36, align 8, !tbaa !18
%109 = load i32, ptr @DCB_GPIO_TVDAC1, align 4, !tbaa !15
%110 = tail call i32 %108(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %109, i32 noundef 255, i32 noundef %18) #2
%111 = load ptr, ptr %36, align 8, !tbaa !18
%112 = load i32, ptr @DCB_GPIO_TVDAC0, align 4, !tbaa !15
%113 = tail call i32 %111(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %112, i32 noundef 255, i32 noundef %21) #2
ret i32 %90
}
declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1
declare ptr @nouveau_gpio(i32 noundef) local_unnamed_addr #1
declare i32 @nv04_dac_output_offset(ptr noundef) local_unnamed_addr #1
declare i32 @NVReadRAMDAC(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NVWriteRAMDAC(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"drm_encoder", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 4}
!11 = !{!"nouveau_drm", !12, i64 0, !13, i64 4}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !13, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"nouveau_gpio", !7, i64 0, !7, i64 8}
!18 = !{!17, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv17_tv.c_nv42_tv_sample_load.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv17_tv.c_nv42_tv_sample_load.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NV_PRAMDAC_DACCLK = common local_unnamed_addr global i32 0, align 4
@DCB_GPIO_TVDAC1 = common local_unnamed_addr global i32 0, align 4
@DCB_GPIO_TVDAC0 = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_HTOTAL = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_HSYNC_START = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_HSYNC_END = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_TEST_CONTROL = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12 = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_READ_PROG = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS = common local_unnamed_addr global i32 0, align 4
@NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nv42_tv_sample_load], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nv42_tv_sample_load(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call ptr @nouveau_drm(ptr noundef %2) #2
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call ptr @nouveau_gpio(i32 noundef %5) #2
%7 = tail call i32 @nv04_dac_output_offset(ptr noundef nonnull %0) #2
%8 = load i32, ptr %3, align 4, !tbaa !15
%9 = icmp eq i32 %8, 0
%10 = select i1 %9, i32 136555650, i32 %8
%11 = load i32, ptr @NV_PRAMDAC_DACCLK, align 4, !tbaa !16
%12 = add nsw i32 %11, %7
%13 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %12) #2
%14 = lshr i32 %13, 8
%15 = and i32 %14, 1
%16 = load ptr, ptr %6, align 8, !tbaa !17
%17 = load i32, ptr @DCB_GPIO_TVDAC1, align 4, !tbaa !16
%18 = tail call i32 %16(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %17, i32 noundef 255) #2
%19 = load ptr, ptr %6, align 8, !tbaa !17
%20 = load i32, ptr @DCB_GPIO_TVDAC0, align 4, !tbaa !16
%21 = tail call i32 %19(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %20, i32 noundef 255) #2
%22 = load i32, ptr @NV_PRAMDAC_FP_HTOTAL, align 4, !tbaa !16
%23 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %22) #2
%24 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_START, align 4, !tbaa !16
%25 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %24) #2
%26 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_END, align 4, !tbaa !16
%27 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %26) #2
%28 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL, align 4, !tbaa !16
%29 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %28) #2
%30 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !16
%31 = add nsw i32 %30, %7
%32 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %31) #2
%33 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818844) #2
%34 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818836) #2
%35 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818924) #2
%36 = getelementptr inbounds i8, ptr %6, i64 8
%37 = load ptr, ptr %36, align 8, !tbaa !19
%38 = load i32, ptr @DCB_GPIO_TVDAC1, align 4, !tbaa !16
%39 = tail call i32 %37(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %38, i32 noundef 255, i32 noundef 1) #2
%40 = load ptr, ptr %36, align 8, !tbaa !19
%41 = load i32, ptr @DCB_GPIO_TVDAC0, align 4, !tbaa !16
%42 = tail call i32 %40(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %41, i32 noundef 255, i32 noundef 1) #2
%43 = load i32, ptr @NV_PRAMDAC_FP_HTOTAL, align 4, !tbaa !16
%44 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %43, i32 noundef 1343) #2
%45 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_START, align 4, !tbaa !16
%46 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %45, i32 noundef 1047) #2
%47 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_END, align 4, !tbaa !16
%48 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %47, i32 noundef 1183) #2
%49 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL, align 4, !tbaa !16
%50 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_DISPEN_POS, align 4, !tbaa !16
%51 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_WIDTH_12, align 4, !tbaa !16
%52 = or i32 %51, %50
%53 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_READ_PROG, align 4, !tbaa !16
%54 = or i32 %52, %53
%55 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_HSYNC_POS, align 4, !tbaa !16
%56 = or i32 %54, %55
%57 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL_VSYNC_POS, align 4, !tbaa !16
%58 = or i32 %56, %57
%59 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %49, i32 noundef %58) #2
%60 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !16
%61 = add nsw i32 %60, %7
%62 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %61, i32 noundef 0) #2
%63 = load i32, ptr @NV_PRAMDAC_DACCLK, align 4, !tbaa !16
%64 = add nsw i32 %63, %7
%65 = and i32 %13, -256
%66 = or disjoint i32 %65, 34
%67 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %64, i32 noundef %66) #2
%68 = tail call i32 @msleep(i32 noundef 1) #2
%69 = load i32, ptr @NV_PRAMDAC_DACCLK, align 4, !tbaa !16
%70 = add nsw i32 %69, %7
%71 = or disjoint i32 %65, 33
%72 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %70, i32 noundef %71) #2
%73 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818844, i32 noundef 1048576) #2
%74 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818836, i32 noundef 262144) #2
%75 = lshr i32 %10, 10
%76 = and i32 %75, 1023
%77 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818924, i32 noundef %76) #2
%78 = tail call i32 @msleep(i32 noundef 20) #2
%79 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !16
%80 = add nsw i32 %79, %7
%81 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %80) #2
%82 = and i32 %81, 1073741824
%83 = and i32 %10, 1023
%84 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818924, i32 noundef %83) #2
%85 = tail call i32 @msleep(i32 noundef 20) #2
%86 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !16
%87 = add nsw i32 %86, %7
%88 = tail call i32 @NVReadRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %87) #2
%89 = and i32 %88, -1610612736
%90 = or disjoint i32 %89, %82
%91 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818844, i32 noundef %33) #2
%92 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818836, i32 noundef %34) #2
%93 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef 6818924, i32 noundef %35) #2
%94 = load i32, ptr @NV_PRAMDAC_DACCLK, align 4, !tbaa !16
%95 = add nsw i32 %94, %7
%96 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %95, i32 noundef %13) #2
%97 = load i32, ptr @NV_PRAMDAC_TEST_CONTROL, align 4, !tbaa !16
%98 = add nsw i32 %97, %7
%99 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef 0, i32 noundef %98, i32 noundef %32) #2
%100 = load i32, ptr @NV_PRAMDAC_FP_TG_CONTROL, align 4, !tbaa !16
%101 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %100, i32 noundef %29) #2
%102 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_END, align 4, !tbaa !16
%103 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %102, i32 noundef %27) #2
%104 = load i32, ptr @NV_PRAMDAC_FP_HSYNC_START, align 4, !tbaa !16
%105 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %104, i32 noundef %25) #2
%106 = load i32, ptr @NV_PRAMDAC_FP_HTOTAL, align 4, !tbaa !16
%107 = tail call i32 @NVWriteRAMDAC(ptr noundef %2, i32 noundef %15, i32 noundef %106, i32 noundef %23) #2
%108 = load ptr, ptr %36, align 8, !tbaa !19
%109 = load i32, ptr @DCB_GPIO_TVDAC1, align 4, !tbaa !16
%110 = tail call i32 %108(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %109, i32 noundef 255, i32 noundef %18) #2
%111 = load ptr, ptr %36, align 8, !tbaa !19
%112 = load i32, ptr @DCB_GPIO_TVDAC0, align 4, !tbaa !16
%113 = tail call i32 %111(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %112, i32 noundef 255, i32 noundef %21) #2
ret i32 %90
}
declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1
declare ptr @nouveau_gpio(i32 noundef) local_unnamed_addr #1
declare i32 @nv04_dac_output_offset(ptr noundef) local_unnamed_addr #1
declare i32 @NVReadRAMDAC(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NVWriteRAMDAC(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"drm_encoder", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 4}
!12 = !{!"nouveau_drm", !13, i64 0, !14, i64 4}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!12, !14, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"nouveau_gpio", !8, i64 0, !8, i64 8}
!19 = !{!18, !8, i64 8}
| fastsocket_kernel_drivers_gpu_drm_nouveau_extr_nv17_tv.c_nv42_tv_sample_load |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_compal-laptop.c_bl_update_status.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_compal-laptop.c_bl_update_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @bl_update_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bl_update_status(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @set_lcd_level(i32 noundef %2) #2
ret i32 %3
}
declare i32 @set_lcd_level(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"backlight_device", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_compal-laptop.c_bl_update_status.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_compal-laptop.c_bl_update_status.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 @bl_update_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bl_update_status(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @set_lcd_level(i32 noundef %2) #2
ret i32 %3
}
declare i32 @set_lcd_level(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"backlight_device", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_platform_x86_extr_compal-laptop.c_bl_update_status |
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/core/extr_containers_uri.c_vc_uri_find_delimiter.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/core/extr_containers_uri.c_vc_uri_find_delimiter.c"
target datalayout = "e-m:e-p270:32:32-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 @vc_uri_find_delimiter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @vc_uri_find_delimiter(ptr noundef readonly %0, ptr noundef %1) #0 {
%3 = load i8, ptr %0, align 1, !tbaa !5
%4 = icmp eq i8 %3, 0
br i1 %4, label %14, label %5
5: ; preds = %2, %10
%6 = phi i8 [ %12, %10 ], [ %3, %2 ]
%7 = phi ptr [ %11, %10 ], [ %0, %2 ]
%8 = tail call i64 @strchr(ptr noundef %1, i8 noundef signext %6) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = getelementptr inbounds i8, ptr %7, i64 1
%12 = load i8, ptr %11, align 1, !tbaa !5
%13 = icmp eq i8 %12, 0
br i1 %13, label %14, label %5, !llvm.loop !8
14: ; preds = %10, %5, %2
%15 = phi ptr [ %0, %2 ], [ %7, %5 ], [ %11, %10 ]
ret ptr %15
}
declare i64 @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/core/extr_containers_uri.c_vc_uri_find_delimiter.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/core/extr_containers_uri.c_vc_uri_find_delimiter.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 @vc_uri_find_delimiter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @vc_uri_find_delimiter(ptr noundef readonly %0, ptr noundef %1) #0 {
%3 = load i8, ptr %0, align 1, !tbaa !6
%4 = icmp eq i8 %3, 0
br i1 %4, label %14, label %5
5: ; preds = %2, %10
%6 = phi i8 [ %12, %10 ], [ %3, %2 ]
%7 = phi ptr [ %11, %10 ], [ %0, %2 ]
%8 = tail call i64 @strchr(ptr noundef %1, i8 noundef signext %6) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
%11 = getelementptr inbounds i8, ptr %7, i64 1
%12 = load i8, ptr %11, align 1, !tbaa !6
%13 = icmp eq i8 %12, 0
br i1 %13, label %14, label %5, !llvm.loop !9
14: ; preds = %10, %5, %2
%15 = phi ptr [ %0, %2 ], [ %7, %5 ], [ %11, %10 ]
ret ptr %15
}
declare i64 @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| RetroArch_gfx_include_userland_containers_core_extr_containers_uri.c_vc_uri_find_delimiter |
; ModuleID = 'AnghaBench/linux/fs/nfsd/extr_nfs4xdr.c_compoundargs_bytes_left.c'
source_filename = "AnghaBench/linux/fs/nfsd/extr_nfs4xdr.c_compoundargs_bytes_left.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nfsd4_compoundargs = type { i32, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @compoundargs_bytes_left], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @compoundargs_bytes_left(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.nfsd4_compoundargs, ptr %0, i64 0, i32 2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.nfsd4_compoundargs, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = sub i64 %3, %5
%7 = trunc i64 %6 to i32
%8 = load i32, ptr %0, align 8, !tbaa !12
%9 = add i32 %8, %7
ret i32 %9
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"nfsd4_compoundargs", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/nfsd/extr_nfs4xdr.c_compoundargs_bytes_left.c'
source_filename = "AnghaBench/linux/fs/nfsd/extr_nfs4xdr.c_compoundargs_bytes_left.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 @compoundargs_bytes_left], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @compoundargs_bytes_left(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = sub i64 %3, %5
%7 = trunc i64 %6 to i32
%8 = load i32, ptr %0, align 8, !tbaa !13
%9 = add i32 %8, %7
ret i32 %9
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"nfsd4_compoundargs", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !8, i64 0}
| linux_fs_nfsd_extr_nfs4xdr.c_compoundargs_bytes_left |
; ModuleID = 'AnghaBench/git/extr_attr.c_git_attr.c'
source_filename = "AnghaBench/git/extr_attr.c_git_attr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @git_attr(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @strlen(ptr noundef %0) #2
%3 = tail call ptr @git_attr_internal(ptr noundef %0, i32 noundef %2) #2
ret ptr %3
}
declare ptr @git_attr_internal(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(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/git/extr_attr.c_git_attr.c'
source_filename = "AnghaBench/git/extr_attr.c_git_attr.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 @git_attr(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @strlen(ptr noundef %0) #2
%3 = tail call ptr @git_attr_internal(ptr noundef %0, i32 noundef %2) #2
ret ptr %3
}
declare ptr @git_attr_internal(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(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)"}
| git_extr_attr.c_git_attr |
; ModuleID = 'AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_record_module.c_ngx_rtmp_record_notify_error.c'
source_filename = "AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_record_module.c_ngx_rtmp_record_notify_error.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_6__ = type { i32, %struct.TYPE_7__* }
%struct.TYPE_7__ = type { %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { i64 }
@.str = private unnamed_addr constant [24 x i8] c"NetStream.Record.Failed\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"error\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void (i32*, %struct.TYPE_6__*)* @ngx_rtmp_record_notify_error to i8*)], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ngx_rtmp_record_notify_error(i32* noundef %0, %struct.TYPE_6__* nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %1, i64 0, i32 1
%4 = load %struct.TYPE_7__*, %struct.TYPE_7__** %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %1, i64 0, i32 0
store i32 1, i32* %5, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %4, i64 0, i32 1
%7 = load i32, i32* %6, align 8, !tbaa !12
%8 = icmp eq i32 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %2
%10 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %4, i64 0, i32 0, i32 0
%11 = load i64, i64* %10, align 8, !tbaa !16
%12 = icmp eq i64 %11, 0
%13 = inttoptr i64 %11 to i8*
%14 = select i1 %12, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0), i8* %13
%15 = tail call i32 @ngx_rtmp_send_status(i32* noundef %0, i8* noundef getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* noundef getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* noundef %14) #2
br label %16
16: ; preds = %2, %9
ret void
}
declare i32 @ngx_rtmp_send_status(i32* noundef, i8* noundef, i8* noundef, i8* noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"TYPE_7__", !14, i64 0, !7, i64 8}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!13, !15, i64 0}
| ; ModuleID = 'AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_record_module.c_ngx_rtmp_record_notify_error.c'
source_filename = "AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_record_module.c_ngx_rtmp_record_notify_error.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 [24 x i8] c"NetStream.Record.Failed\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"error\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.used = appending global [1 x ptr] [ptr @ngx_rtmp_record_notify_error], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ngx_rtmp_record_notify_error(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
store i32 1, ptr %1, align 8, !tbaa !12
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !13
%7 = icmp eq i32 %6, 0
br i1 %7, label %14, label %8
8: ; preds = %2
%9 = load i64, ptr %4, align 8, !tbaa !17
%10 = icmp eq i64 %9, 0
%11 = inttoptr i64 %9 to ptr
%12 = select i1 %10, ptr @.str.2, ptr %11
%13 = tail call i32 @ngx_rtmp_send_status(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %12) #2
br label %14
14: ; preds = %2, %8
ret void
}
declare i32 @ngx_rtmp_send_status(ptr noundef, 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, !11, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"TYPE_7__", !15, i64 0, !8, i64 8}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!14, !16, i64 0}
| nginx-rtmp-module_extr_ngx_rtmp_record_module.c_ngx_rtmp_record_notify_error |
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_context.c_context_choose_pixel_format.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_context.c_context_choose_pixel_format.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i32, i64, i64, i64, i64, i32, i32 }
%struct.wined3d_format = type { i64, i64, i64, i64, i64, i64, i32 }
%struct.TYPE_5__ = type { i32, ptr }
%struct.wined3d_pixel_format = type { i64, i64, i64, i64, i64, i64, i64, i32, i64, i64, i64, i64 }
@.str = private unnamed_addr constant [67 x i8] c"device %p, dc %p, color_format %s, ds_format %s, aux_buffers %#x.\0A\00", align 1
@WGL_TYPE_RGBA_ARB = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [75 x i8] c"Trying to locate a compatible pixel format because an exact match failed.\0A\00", align 1
@PFD_SUPPORT_OPENGL = dso_local local_unnamed_addr global i32 0, align 4
@PFD_DOUBLEBUFFER = dso_local local_unnamed_addr global i32 0, align 4
@PFD_DRAW_TO_WINDOW = dso_local local_unnamed_addr global i32 0, align 4
@PFD_TYPE_RGBA = dso_local local_unnamed_addr global i32 0, align 4
@PFD_MAIN_PLANE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [37 x i8] c"Can't find a suitable pixel format.\0A\00", align 1
@.str.3 = private unnamed_addr constant [66 x i8] c"Found iPixelFormat=%d for ColorFormat=%s, DepthStencilFormat=%s.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @context_choose_pixel_format], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @context_choose_pixel_format(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4) #0 {
%6 = alloca %struct.TYPE_6__, align 8
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = load i32, ptr %7, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #3
%9 = getelementptr inbounds %struct.wined3d_format, ptr %2, i64 0, i32 6
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = tail call i32 @debug_d3dformat(i32 noundef %10) #3
%12 = getelementptr inbounds %struct.wined3d_format, ptr %3, i64 0, i32 6
%13 = load i32, ptr %12, align 8, !tbaa !13
%14 = tail call i32 @debug_d3dformat(i32 noundef %13) #3
%15 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %1, i32 noundef %11, i32 noundef %14, i64 noundef %4) #3
%16 = icmp eq i32 %8, 0
br i1 %16, label %117, label %17
17: ; preds = %5
%18 = load ptr, ptr %0, align 8, !tbaa !5
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %18, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !16
%21 = load i64, ptr @WGL_TYPE_RGBA_ARB, align 8, !tbaa !17
%22 = getelementptr inbounds %struct.wined3d_format, ptr %2, i64 0, i32 1
%23 = getelementptr inbounds %struct.wined3d_format, ptr %2, i64 0, i32 2
%24 = getelementptr inbounds %struct.wined3d_format, ptr %2, i64 0, i32 3
%25 = getelementptr inbounds %struct.wined3d_format, ptr %3, i64 0, i32 4
%26 = getelementptr inbounds %struct.wined3d_format, ptr %3, i64 0, i32 5
%27 = icmp eq i64 %4, 0
%28 = zext i32 %8 to i64
br label %29
29: ; preds = %17, %110
%30 = phi i64 [ 0, %17 ], [ %113, %110 ]
%31 = phi i32 [ 0, %17 ], [ %112, %110 ]
%32 = phi i32 [ 0, %17 ], [ %111, %110 ]
%33 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30
%34 = load i64, ptr %33, align 8, !tbaa !18
%35 = icmp eq i64 %34, %21
br i1 %35, label %36, label %110
36: ; preds = %29
%37 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 11
%38 = load i64, ptr %37, align 8, !tbaa !20
%39 = icmp eq i64 %38, 0
br i1 %39, label %110, label %40
40: ; preds = %36
%41 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 10
%42 = load i64, ptr %41, align 8, !tbaa !21
%43 = icmp eq i64 %42, 0
br i1 %43, label %110, label %44
44: ; preds = %40
%45 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 1
%46 = load i64, ptr %45, align 8, !tbaa !22
%47 = load i64, ptr %2, align 8, !tbaa !23
%48 = icmp slt i64 %46, %47
br i1 %48, label %110, label %49
49: ; preds = %44
%50 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 2
%51 = load i64, ptr %50, align 8, !tbaa !24
%52 = load i64, ptr %22, align 8, !tbaa !25
%53 = icmp slt i64 %51, %52
br i1 %53, label %110, label %54
54: ; preds = %49
%55 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 3
%56 = load i64, ptr %55, align 8, !tbaa !26
%57 = load i64, ptr %23, align 8, !tbaa !27
%58 = icmp slt i64 %56, %57
br i1 %58, label %110, label %59
59: ; preds = %54
%60 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 4
%61 = load i64, ptr %60, align 8, !tbaa !28
%62 = load i64, ptr %24, align 8, !tbaa !29
%63 = icmp slt i64 %61, %62
br i1 %63, label %110, label %64
64: ; preds = %59
%65 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 5
%66 = load i64, ptr %65, align 8, !tbaa !30
%67 = load i64, ptr %25, align 8, !tbaa !31
%68 = icmp slt i64 %66, %67
br i1 %68, label %110, label %69
69: ; preds = %64
%70 = load i64, ptr %26, align 8, !tbaa !32
%71 = icmp eq i64 %70, 0
br i1 %71, label %76, label %72
72: ; preds = %69
%73 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 6
%74 = load i64, ptr %73, align 8, !tbaa !33
%75 = icmp eq i64 %74, %70
br i1 %75, label %76, label %110
76: ; preds = %72, %69
%77 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 9
%78 = load i64, ptr %77, align 8, !tbaa !34
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %110
80: ; preds = %76
%81 = icmp eq i64 %66, %67
%82 = select i1 %81, i32 2, i32 1
%83 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 6
%84 = load i64, ptr %83, align 8, !tbaa !33
%85 = icmp eq i64 %84, %70
%86 = add nuw nsw i32 %82, 2
%87 = select i1 %85, i32 %86, i32 %82
%88 = icmp eq i64 %61, %62
%89 = add nuw nsw i32 %87, 4
%90 = select i1 %88, i32 %89, i32 %87
br i1 %27, label %97, label %91
91: ; preds = %80
%92 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 8
%93 = load i64, ptr %92, align 8, !tbaa !35
%94 = icmp eq i64 %93, 0
%95 = add nuw nsw i32 %90, 8
%96 = select i1 %94, i32 %90, i32 %95
br label %97
97: ; preds = %91, %80
%98 = phi i32 [ %90, %80 ], [ %96, %91 ]
%99 = icmp eq i64 %46, %47
%100 = icmp eq i64 %51, %52
%101 = and i1 %99, %100
%102 = icmp eq i64 %56, %57
%103 = add nuw nsw i32 %98, 16
%104 = and i1 %101, %102
%105 = select i1 %104, i32 %103, i32 %98
%106 = icmp ugt i32 %105, %32
br i1 %106, label %107, label %110
107: ; preds = %97
%108 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30, i32 7
%109 = load i32, ptr %108, align 8, !tbaa !36
br label %110
110: ; preds = %97, %107, %76, %72, %64, %59, %54, %49, %44, %36, %40, %29
%111 = phi i32 [ %32, %29 ], [ %32, %40 ], [ %32, %36 ], [ %32, %44 ], [ %32, %49 ], [ %32, %54 ], [ %32, %59 ], [ %32, %64 ], [ %32, %72 ], [ %32, %76 ], [ %105, %107 ], [ %32, %97 ]
%112 = phi i32 [ %31, %29 ], [ %31, %40 ], [ %31, %36 ], [ %31, %44 ], [ %31, %49 ], [ %31, %54 ], [ %31, %59 ], [ %31, %64 ], [ %31, %72 ], [ %31, %76 ], [ %109, %107 ], [ %31, %97 ]
%113 = add nuw nsw i64 %30, 1
%114 = icmp eq i64 %113, %28
br i1 %114, label %115, label %29, !llvm.loop !37
115: ; preds = %110
%116 = icmp eq i32 %112, 0
br i1 %116, label %117, label %150
117: ; preds = %5, %115
%118 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #3
%119 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 56) #3
store i32 56, ptr %6, align 8, !tbaa !39
%120 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 1
store i32 1, ptr %120, align 4, !tbaa !41
%121 = load i32, ptr @PFD_SUPPORT_OPENGL, align 4, !tbaa !42
%122 = load i32, ptr @PFD_DOUBLEBUFFER, align 4, !tbaa !42
%123 = or i32 %122, %121
%124 = load i32, ptr @PFD_DRAW_TO_WINDOW, align 4, !tbaa !42
%125 = or i32 %123, %124
%126 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 2
store i32 %125, ptr %126, align 8, !tbaa !43
%127 = load i32, ptr @PFD_TYPE_RGBA, align 4, !tbaa !42
%128 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 8
store i32 %127, ptr %128, align 4, !tbaa !44
%129 = getelementptr inbounds %struct.wined3d_format, ptr %2, i64 0, i32 3
%130 = load i64, ptr %129, align 8, !tbaa !29
%131 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 3
store i64 %130, ptr %131, align 8, !tbaa !45
%132 = load i64, ptr %2, align 8, !tbaa !23
%133 = getelementptr inbounds %struct.wined3d_format, ptr %2, i64 0, i32 1
%134 = load i64, ptr %133, align 8, !tbaa !25
%135 = getelementptr inbounds %struct.wined3d_format, ptr %2, i64 0, i32 2
%136 = load i64, ptr %135, align 8, !tbaa !27
%137 = add i64 %132, %130
%138 = add i64 %137, %134
%139 = add i64 %138, %136
%140 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 4
store i64 %139, ptr %140, align 8, !tbaa !46
%141 = getelementptr inbounds %struct.wined3d_format, ptr %3, i64 0, i32 4
%142 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 5
%143 = load <2 x i64>, ptr %141, align 8, !tbaa !17
store <2 x i64> %143, ptr %142, align 8, !tbaa !17
%144 = load i32, ptr @PFD_MAIN_PLANE, align 4, !tbaa !42
%145 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 7
store i32 %144, ptr %145, align 8, !tbaa !47
%146 = call i32 @ChoosePixelFormat(i32 noundef %1, ptr noundef nonnull %6) #3
%147 = icmp eq i32 %146, 0
br i1 %147, label %148, label %150
148: ; preds = %117
%149 = call i32 @ERR(ptr noundef nonnull @.str.2) #3
br label %157
150: ; preds = %117, %115
%151 = phi i32 [ %112, %115 ], [ %146, %117 ]
%152 = load i32, ptr %9, align 8, !tbaa !13
%153 = call i32 @debug_d3dformat(i32 noundef %152) #3
%154 = load i32, ptr %12, align 8, !tbaa !13
%155 = call i32 @debug_d3dformat(i32 noundef %154) #3
%156 = call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.3, i32 noundef %151, i32 noundef %153, i32 noundef %155) #3
br label %157
157: ; preds = %150, %148
%158 = phi i32 [ %151, %150 ], [ 0, %148 ]
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #3
ret i32 %158
}
; 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(ptr noundef, ...) local_unnamed_addr #2
declare i32 @debug_d3dformat(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 @ERR(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ChoosePixelFormat(i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"wined3d_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 = !{!"TYPE_5__", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 48}
!14 = !{!"wined3d_format", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !12, i64 48}
!15 = !{!"long", !8, i64 0}
!16 = !{!11, !7, i64 8}
!17 = !{!15, !15, i64 0}
!18 = !{!19, !15, i64 0}
!19 = !{!"wined3d_pixel_format", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !12, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !15, i64 88}
!20 = !{!19, !15, i64 88}
!21 = !{!19, !15, i64 80}
!22 = !{!19, !15, i64 8}
!23 = !{!14, !15, i64 0}
!24 = !{!19, !15, i64 16}
!25 = !{!14, !15, i64 8}
!26 = !{!19, !15, i64 24}
!27 = !{!14, !15, i64 16}
!28 = !{!19, !15, i64 32}
!29 = !{!14, !15, i64 24}
!30 = !{!19, !15, i64 40}
!31 = !{!14, !15, i64 32}
!32 = !{!14, !15, i64 40}
!33 = !{!19, !15, i64 48}
!34 = !{!19, !15, i64 72}
!35 = !{!19, !15, i64 64}
!36 = !{!19, !12, i64 56}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!40, !12, i64 0}
!40 = !{!"TYPE_6__", !12, i64 0, !12, i64 4, !12, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !12, i64 48, !12, i64 52}
!41 = !{!40, !12, i64 4}
!42 = !{!12, !12, i64 0}
!43 = !{!40, !12, i64 8}
!44 = !{!40, !12, i64 52}
!45 = !{!40, !15, i64 16}
!46 = !{!40, !15, i64 24}
!47 = !{!40, !12, i64 48}
| ; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_context.c_context_choose_pixel_format.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_context.c_context_choose_pixel_format.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i32, i32, i32, i64, i64, i64, i64, i32, i32 }
%struct.wined3d_pixel_format = type { i64, i64, i64, i64, i64, i64, i64, i32, i64, i64, i64, i64 }
@.str = private unnamed_addr constant [67 x i8] c"device %p, dc %p, color_format %s, ds_format %s, aux_buffers %#x.\0A\00", align 1
@WGL_TYPE_RGBA_ARB = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [75 x i8] c"Trying to locate a compatible pixel format because an exact match failed.\0A\00", align 1
@PFD_SUPPORT_OPENGL = common local_unnamed_addr global i32 0, align 4
@PFD_DOUBLEBUFFER = common local_unnamed_addr global i32 0, align 4
@PFD_DRAW_TO_WINDOW = common local_unnamed_addr global i32 0, align 4
@PFD_TYPE_RGBA = common local_unnamed_addr global i32 0, align 4
@PFD_MAIN_PLANE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [37 x i8] c"Can't find a suitable pixel format.\0A\00", align 1
@.str.3 = private unnamed_addr constant [66 x i8] c"Found iPixelFormat=%d for ColorFormat=%s, DepthStencilFormat=%s.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @context_choose_pixel_format], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @context_choose_pixel_format(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4) #0 {
%6 = alloca %struct.TYPE_6__, align 8
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = load i32, ptr %7, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #3
%9 = getelementptr inbounds i8, ptr %2, i64 48
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = tail call i32 @debug_d3dformat(i32 noundef %10) #3
%12 = getelementptr inbounds i8, ptr %3, i64 48
%13 = load i32, ptr %12, align 8, !tbaa !14
%14 = tail call i32 @debug_d3dformat(i32 noundef %13) #3
%15 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %1, i32 noundef %11, i32 noundef %14, i64 noundef %4) #3
%16 = icmp eq i32 %8, 0
br i1 %16, label %117, label %17
17: ; preds = %5
%18 = load ptr, ptr %0, align 8, !tbaa !6
%19 = getelementptr inbounds i8, ptr %18, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !17
%21 = load i64, ptr @WGL_TYPE_RGBA_ARB, align 8, !tbaa !18
%22 = getelementptr inbounds i8, ptr %2, i64 8
%23 = getelementptr inbounds i8, ptr %2, i64 16
%24 = getelementptr inbounds i8, ptr %2, i64 24
%25 = getelementptr inbounds i8, ptr %3, i64 32
%26 = getelementptr inbounds i8, ptr %3, i64 40
%27 = icmp eq i64 %4, 0
%28 = zext i32 %8 to i64
br label %29
29: ; preds = %17, %110
%30 = phi i64 [ 0, %17 ], [ %113, %110 ]
%31 = phi i32 [ 0, %17 ], [ %112, %110 ]
%32 = phi i32 [ 0, %17 ], [ %111, %110 ]
%33 = getelementptr inbounds %struct.wined3d_pixel_format, ptr %20, i64 %30
%34 = load i64, ptr %33, align 8, !tbaa !19
%35 = icmp eq i64 %34, %21
br i1 %35, label %36, label %110
36: ; preds = %29
%37 = getelementptr inbounds i8, ptr %33, i64 88
%38 = load i64, ptr %37, align 8, !tbaa !21
%39 = icmp eq i64 %38, 0
br i1 %39, label %110, label %40
40: ; preds = %36
%41 = getelementptr inbounds i8, ptr %33, i64 80
%42 = load i64, ptr %41, align 8, !tbaa !22
%43 = icmp eq i64 %42, 0
br i1 %43, label %110, label %44
44: ; preds = %40
%45 = getelementptr inbounds i8, ptr %33, i64 8
%46 = load i64, ptr %45, align 8, !tbaa !23
%47 = load i64, ptr %2, align 8, !tbaa !24
%48 = icmp slt i64 %46, %47
br i1 %48, label %110, label %49
49: ; preds = %44
%50 = getelementptr inbounds i8, ptr %33, i64 16
%51 = load i64, ptr %50, align 8, !tbaa !25
%52 = load i64, ptr %22, align 8, !tbaa !26
%53 = icmp slt i64 %51, %52
br i1 %53, label %110, label %54
54: ; preds = %49
%55 = getelementptr inbounds i8, ptr %33, i64 24
%56 = load i64, ptr %55, align 8, !tbaa !27
%57 = load i64, ptr %23, align 8, !tbaa !28
%58 = icmp slt i64 %56, %57
br i1 %58, label %110, label %59
59: ; preds = %54
%60 = getelementptr inbounds i8, ptr %33, i64 32
%61 = load i64, ptr %60, align 8, !tbaa !29
%62 = load i64, ptr %24, align 8, !tbaa !30
%63 = icmp slt i64 %61, %62
br i1 %63, label %110, label %64
64: ; preds = %59
%65 = getelementptr inbounds i8, ptr %33, i64 40
%66 = load i64, ptr %65, align 8, !tbaa !31
%67 = load i64, ptr %25, align 8, !tbaa !32
%68 = icmp slt i64 %66, %67
br i1 %68, label %110, label %69
69: ; preds = %64
%70 = load i64, ptr %26, align 8, !tbaa !33
%71 = icmp eq i64 %70, 0
br i1 %71, label %76, label %72
72: ; preds = %69
%73 = getelementptr inbounds i8, ptr %33, i64 48
%74 = load i64, ptr %73, align 8, !tbaa !34
%75 = icmp eq i64 %74, %70
br i1 %75, label %76, label %110
76: ; preds = %72, %69
%77 = getelementptr inbounds i8, ptr %33, i64 72
%78 = load i64, ptr %77, align 8, !tbaa !35
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %110
80: ; preds = %76
%81 = icmp eq i64 %66, %67
%82 = select i1 %81, i32 2, i32 1
%83 = getelementptr inbounds i8, ptr %33, i64 48
%84 = load i64, ptr %83, align 8, !tbaa !34
%85 = icmp eq i64 %84, %70
%86 = add nuw nsw i32 %82, 2
%87 = select i1 %85, i32 %86, i32 %82
%88 = icmp eq i64 %61, %62
%89 = add nuw nsw i32 %87, 4
%90 = select i1 %88, i32 %89, i32 %87
br i1 %27, label %97, label %91
91: ; preds = %80
%92 = getelementptr inbounds i8, ptr %33, i64 64
%93 = load i64, ptr %92, align 8, !tbaa !36
%94 = icmp eq i64 %93, 0
%95 = add nuw nsw i32 %90, 8
%96 = select i1 %94, i32 %90, i32 %95
br label %97
97: ; preds = %91, %80
%98 = phi i32 [ %90, %80 ], [ %96, %91 ]
%99 = icmp eq i64 %46, %47
%100 = icmp eq i64 %51, %52
%101 = and i1 %99, %100
%102 = icmp eq i64 %56, %57
%103 = add nuw nsw i32 %98, 16
%104 = and i1 %101, %102
%105 = select i1 %104, i32 %103, i32 %98
%106 = icmp ugt i32 %105, %32
br i1 %106, label %107, label %110
107: ; preds = %97
%108 = getelementptr inbounds i8, ptr %33, i64 56
%109 = load i32, ptr %108, align 8, !tbaa !37
br label %110
110: ; preds = %97, %107, %76, %72, %64, %59, %54, %49, %44, %36, %40, %29
%111 = phi i32 [ %32, %29 ], [ %32, %40 ], [ %32, %36 ], [ %32, %44 ], [ %32, %49 ], [ %32, %54 ], [ %32, %59 ], [ %32, %64 ], [ %32, %72 ], [ %32, %76 ], [ %105, %107 ], [ %32, %97 ]
%112 = phi i32 [ %31, %29 ], [ %31, %40 ], [ %31, %36 ], [ %31, %44 ], [ %31, %49 ], [ %31, %54 ], [ %31, %59 ], [ %31, %64 ], [ %31, %72 ], [ %31, %76 ], [ %109, %107 ], [ %31, %97 ]
%113 = add nuw nsw i64 %30, 1
%114 = icmp eq i64 %113, %28
br i1 %114, label %115, label %29, !llvm.loop !38
115: ; preds = %110
%116 = icmp eq i32 %112, 0
br i1 %116, label %117, label %149
117: ; preds = %5, %115
%118 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #3
%119 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 56) #3
store <2 x i32> <i32 56, i32 1>, ptr %6, align 8, !tbaa !40
%120 = load i32, ptr @PFD_SUPPORT_OPENGL, align 4, !tbaa !40
%121 = load i32, ptr @PFD_DOUBLEBUFFER, align 4, !tbaa !40
%122 = or i32 %121, %120
%123 = load i32, ptr @PFD_DRAW_TO_WINDOW, align 4, !tbaa !40
%124 = or i32 %122, %123
%125 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %124, ptr %125, align 8, !tbaa !41
%126 = load i32, ptr @PFD_TYPE_RGBA, align 4, !tbaa !40
%127 = getelementptr inbounds i8, ptr %6, i64 52
store i32 %126, ptr %127, align 4, !tbaa !43
%128 = getelementptr inbounds i8, ptr %2, i64 24
%129 = load i64, ptr %128, align 8, !tbaa !30
%130 = getelementptr inbounds i8, ptr %6, i64 16
store i64 %129, ptr %130, align 8, !tbaa !44
%131 = load i64, ptr %2, align 8, !tbaa !24
%132 = getelementptr inbounds i8, ptr %2, i64 8
%133 = load i64, ptr %132, align 8, !tbaa !26
%134 = getelementptr inbounds i8, ptr %2, i64 16
%135 = load i64, ptr %134, align 8, !tbaa !28
%136 = add i64 %131, %129
%137 = add i64 %136, %133
%138 = add i64 %137, %135
%139 = getelementptr inbounds i8, ptr %6, i64 24
store i64 %138, ptr %139, align 8, !tbaa !45
%140 = getelementptr inbounds i8, ptr %3, i64 32
%141 = getelementptr inbounds i8, ptr %6, i64 32
%142 = load <2 x i64>, ptr %140, align 8, !tbaa !18
store <2 x i64> %142, ptr %141, align 8, !tbaa !18
%143 = load i32, ptr @PFD_MAIN_PLANE, align 4, !tbaa !40
%144 = getelementptr inbounds i8, ptr %6, i64 48
store i32 %143, ptr %144, align 8, !tbaa !46
%145 = call i32 @ChoosePixelFormat(i32 noundef %1, ptr noundef nonnull %6) #3
%146 = icmp eq i32 %145, 0
br i1 %146, label %147, label %149
147: ; preds = %117
%148 = call i32 @ERR(ptr noundef nonnull @.str.2) #3
br label %156
149: ; preds = %117, %115
%150 = phi i32 [ %112, %115 ], [ %145, %117 ]
%151 = load i32, ptr %9, align 8, !tbaa !14
%152 = call i32 @debug_d3dformat(i32 noundef %151) #3
%153 = load i32, ptr %12, align 8, !tbaa !14
%154 = call i32 @debug_d3dformat(i32 noundef %153) #3
%155 = call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.3, i32 noundef %150, i32 noundef %152, i32 noundef %154) #3
br label %156
156: ; preds = %149, %147
%157 = phi i32 [ %150, %149 ], [ 0, %147 ]
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #3
ret i32 %157
}
; 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(ptr noundef, ...) local_unnamed_addr #2
declare i32 @debug_d3dformat(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 @ERR(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ChoosePixelFormat(i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"wined3d_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 = !{!"TYPE_5__", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 48}
!15 = !{!"wined3d_format", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !13, i64 48}
!16 = !{!"long", !9, i64 0}
!17 = !{!12, !8, i64 8}
!18 = !{!16, !16, i64 0}
!19 = !{!20, !16, i64 0}
!20 = !{!"wined3d_pixel_format", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !13, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88}
!21 = !{!20, !16, i64 88}
!22 = !{!20, !16, i64 80}
!23 = !{!20, !16, i64 8}
!24 = !{!15, !16, i64 0}
!25 = !{!20, !16, i64 16}
!26 = !{!15, !16, i64 8}
!27 = !{!20, !16, i64 24}
!28 = !{!15, !16, i64 16}
!29 = !{!20, !16, i64 32}
!30 = !{!15, !16, i64 24}
!31 = !{!20, !16, i64 40}
!32 = !{!15, !16, i64 32}
!33 = !{!15, !16, i64 40}
!34 = !{!20, !16, i64 48}
!35 = !{!20, !16, i64 72}
!36 = !{!20, !16, i64 64}
!37 = !{!20, !13, i64 56}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!13, !13, i64 0}
!41 = !{!42, !13, i64 8}
!42 = !{!"TYPE_6__", !13, i64 0, !13, i64 4, !13, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !13, i64 48, !13, i64 52}
!43 = !{!42, !13, i64 52}
!44 = !{!42, !16, i64 16}
!45 = !{!42, !16, i64 24}
!46 = !{!42, !13, i64 48}
| reactos_dll_directx_wine_wined3d_extr_context.c_context_choose_pixel_format |
; ModuleID = 'AnghaBench/netdata/libnetdata/procfile/extr_procfile.c_pflines_free.c'
source_filename = "AnghaBench/netdata/libnetdata/procfile/extr_procfile.c_pflines_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @pflines_free], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @pflines_free(ptr noundef %0) #0 {
%2 = tail call i32 @freez(ptr noundef %0) #2
ret void
}
declare i32 @freez(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/netdata/libnetdata/procfile/extr_procfile.c_pflines_free.c'
source_filename = "AnghaBench/netdata/libnetdata/procfile/extr_procfile.c_pflines_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @pflines_free], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @pflines_free(ptr noundef %0) #0 {
%2 = tail call i32 @freez(ptr noundef %0) #2
ret void
}
declare i32 @freez(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| netdata_libnetdata_procfile_extr_procfile.c_pflines_free |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_process_64.c___exit_idle.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_process_64.c___exit_idle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@is_idle = dso_local local_unnamed_addr global i32 0, align 4
@idle_notifier = dso_local global i32 0, align 4
@IDLE_END = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__exit_idle], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__exit_idle() #0 {
%1 = load i32, ptr @is_idle, align 4, !tbaa !5
%2 = tail call i64 @x86_test_and_clear_bit_percpu(i32 noundef 0, i32 noundef %1) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %0
%5 = load i32, ptr @IDLE_END, align 4, !tbaa !5
%6 = tail call i32 @atomic_notifier_call_chain(ptr noundef nonnull @idle_notifier, i32 noundef %5, ptr noundef null) #2
br label %7
7: ; preds = %0, %4
ret void
}
declare i64 @x86_test_and_clear_bit_percpu(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_notifier_call_chain(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_process_64.c___exit_idle.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_process_64.c___exit_idle.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@is_idle = common local_unnamed_addr global i32 0, align 4
@idle_notifier = common global i32 0, align 4
@IDLE_END = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__exit_idle], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__exit_idle() #0 {
%1 = load i32, ptr @is_idle, align 4, !tbaa !6
%2 = tail call i64 @x86_test_and_clear_bit_percpu(i32 noundef 0, i32 noundef %1) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %0
%5 = load i32, ptr @IDLE_END, align 4, !tbaa !6
%6 = tail call i32 @atomic_notifier_call_chain(ptr noundef nonnull @idle_notifier, i32 noundef %5, ptr noundef null) #2
br label %7
7: ; preds = %0, %4
ret void
}
declare i64 @x86_test_and_clear_bit_percpu(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_notifier_call_chain(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_x86_kernel_extr_process_64.c___exit_idle |
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xclip.c_xclip_clear_target_props.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xclip.c_xclip_clear_target_props.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_4__, i32, i32 }
%struct.TYPE_4__ = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @xclip_clear_target_props], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xclip_clear_target_props(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = tail call i32 @XDeleteProperty(i32 noundef %3, i32 noundef %5, i32 noundef %7) #2
%9 = load i32, ptr %2, align 4, !tbaa !5
%10 = load i32, ptr %4, align 4, !tbaa !11
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @XDeleteProperty(i32 noundef %9, i32 noundef %10, i32 noundef %12) #2
%14 = load i32, ptr %2, align 4, !tbaa !5
%15 = load i32, ptr %4, align 4, !tbaa !11
%16 = load i32, ptr %0, align 4, !tbaa !14
%17 = tail call i32 @XDeleteProperty(i32 noundef %14, i32 noundef %15, i32 noundef %16) #2
ret void
}
declare i32 @XDeleteProperty(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, !8, i64 16}
!6 = !{!"TYPE_5__", !7, i64 0, !8, i64 12, !8, i64 16}
!7 = !{!"TYPE_4__", !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 = !{!6, !8, i64 12}
!12 = !{!6, !8, i64 8}
!13 = !{!6, !8, i64 4}
!14 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xclip.c_xclip_clear_target_props.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xclip.c_xclip_clear_target_props.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 @xclip_clear_target_props], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xclip_clear_target_props(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 12
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @XDeleteProperty(i32 noundef %3, i32 noundef %5, i32 noundef %7) #2
%9 = load i32, ptr %2, align 4, !tbaa !6
%10 = load i32, ptr %4, align 4, !tbaa !12
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = tail call i32 @XDeleteProperty(i32 noundef %9, i32 noundef %10, i32 noundef %12) #2
%14 = load i32, ptr %2, align 4, !tbaa !6
%15 = load i32, ptr %4, align 4, !tbaa !12
%16 = load i32, ptr %0, align 4, !tbaa !15
%17 = tail call i32 @XDeleteProperty(i32 noundef %14, i32 noundef %15, i32 noundef %16) #2
ret void
}
declare i32 @XDeleteProperty(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, !9, i64 16}
!7 = !{!"TYPE_5__", !8, i64 0, !9, i64 12, !9, i64 16}
!8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4, !9, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 12}
!13 = !{!7, !9, i64 8}
!14 = !{!7, !9, i64 4}
!15 = !{!7, !9, i64 0}
| reactos_modules_rosapps_applications_net_tsclient_rdesktop_extr_xclip.c_xclip_clear_target_props |
; ModuleID = 'AnghaBench/linux/sound/soc/sh/rcar/extr_core.c_rsnd_kctrl_put.c'
source_filename = "AnghaBench/linux/sound/soc/sh/rcar/extr_core.c_rsnd_kctrl_put.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rsnd_kctrl_cfg = type { i32, ptr, i32, i32, ptr, i64, ptr }
%struct.TYPE_6__ = type { %struct.TYPE_5__, %struct.TYPE_4__ }
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_4__ = type { ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @rsnd_kctrl_put], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rsnd_kctrl_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.rsnd_kctrl_cfg, ptr %3, i64 0, i32 6
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.rsnd_kctrl_cfg, ptr %3, i64 0, i32 3
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = tail call i32 %5(i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %84, label %10
10: ; preds = %2
%11 = load i32, ptr %3, align 8, !tbaa !13
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %84
13: ; preds = %10
%14 = getelementptr inbounds %struct.rsnd_kctrl_cfg, ptr %3, i64 0, i32 5
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
%16 = getelementptr inbounds %struct.rsnd_kctrl_cfg, ptr %3, i64 0, i32 1
%17 = zext nneg i32 %11 to i64
%18 = and i64 %17, 1
%19 = icmp eq i32 %11, 1
br i1 %19, label %54, label %20
20: ; preds = %13
%21 = and i64 %17, 2147483646
%22 = load ptr, ptr %16, align 8, !tbaa !14
%23 = load ptr, ptr %16, align 8, !tbaa !14
br label %24
24: ; preds = %24, %20
%25 = phi i64 [ 0, %20 ], [ %51, %24 ]
%26 = phi i32 [ 0, %20 ], [ %50, %24 ]
%27 = phi i64 [ 0, %20 ], [ %52, %24 ]
%28 = load i64, ptr %14, align 8, !tbaa !15
%29 = icmp eq i64 %28, 0
%30 = getelementptr inbounds i64, ptr %22, i64 %25
%31 = load i64, ptr %30, align 8, !tbaa !16
%32 = select i1 %29, ptr %1, ptr %15
%33 = load ptr, ptr %32, align 8, !tbaa !17
%34 = getelementptr inbounds i64, ptr %33, i64 %25
%35 = load i64, ptr %34, align 8, !tbaa !16
%36 = icmp ne i64 %35, %31
store i64 %35, ptr %30, align 8, !tbaa !16
%37 = zext i1 %36 to i32
%38 = or i32 %26, %37
%39 = or disjoint i64 %25, 1
%40 = load i64, ptr %14, align 8, !tbaa !15
%41 = icmp eq i64 %40, 0
%42 = getelementptr inbounds i64, ptr %23, i64 %39
%43 = load i64, ptr %42, align 8, !tbaa !16
%44 = select i1 %41, ptr %1, ptr %15
%45 = load ptr, ptr %44, align 8, !tbaa !17
%46 = getelementptr inbounds i64, ptr %45, i64 %39
%47 = load i64, ptr %46, align 8, !tbaa !16
%48 = icmp ne i64 %47, %43
store i64 %47, ptr %42, align 8, !tbaa !16
%49 = zext i1 %48 to i32
%50 = or i32 %38, %49
%51 = add nuw nsw i64 %25, 2
%52 = add i64 %27, 2
%53 = icmp eq i64 %52, %21
br i1 %53, label %54, label %24, !llvm.loop !18
54: ; preds = %24, %13
%55 = phi i32 [ undef, %13 ], [ %50, %24 ]
%56 = phi i64 [ 0, %13 ], [ %51, %24 ]
%57 = phi i32 [ 0, %13 ], [ %50, %24 ]
%58 = icmp eq i64 %18, 0
br i1 %58, label %72, label %59
59: ; preds = %54
%60 = load i64, ptr %14, align 8, !tbaa !15
%61 = icmp eq i64 %60, 0
%62 = load ptr, ptr %16, align 8, !tbaa !14
%63 = getelementptr inbounds i64, ptr %62, i64 %56
%64 = load i64, ptr %63, align 8, !tbaa !16
%65 = select i1 %61, ptr %1, ptr %15
%66 = load ptr, ptr %65, align 8, !tbaa !17
%67 = getelementptr inbounds i64, ptr %66, i64 %56
%68 = load i64, ptr %67, align 8, !tbaa !16
%69 = icmp ne i64 %68, %64
store i64 %68, ptr %63, align 8, !tbaa !16
%70 = zext i1 %69 to i32
%71 = or i32 %57, %70
br label %72
72: ; preds = %54, %59
%73 = phi i32 [ %55, %54 ], [ %71, %59 ]
%74 = icmp eq i32 %73, 0
br i1 %74, label %84, label %75
75: ; preds = %72
%76 = getelementptr inbounds %struct.rsnd_kctrl_cfg, ptr %3, i64 0, i32 4
%77 = load ptr, ptr %76, align 8, !tbaa !20
%78 = icmp eq ptr %77, null
br i1 %78, label %84, label %79
79: ; preds = %75
%80 = load i32, ptr %6, align 4, !tbaa !12
%81 = getelementptr inbounds %struct.rsnd_kctrl_cfg, ptr %3, i64 0, i32 2
%82 = load i32, ptr %81, align 8, !tbaa !21
%83 = tail call i32 %77(i32 noundef %80, i32 noundef %82) #2
br label %84
84: ; preds = %10, %72, %75, %79, %2
%85 = phi i32 [ 0, %2 ], [ %73, %79 ], [ %73, %75 ], [ 0, %72 ], [ 0, %10 ]
ret i32 %85
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 40}
!6 = !{!"rsnd_kctrl_cfg", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !11, i64 32, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 20}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!6, !11, i64 32}
!16 = !{!11, !11, i64 0}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!6, !10, i64 24}
!21 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/linux/sound/soc/sh/rcar/extr_core.c_rsnd_kctrl_put.c'
source_filename = "AnghaBench/linux/sound/soc/sh/rcar/extr_core.c_rsnd_kctrl_put.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @rsnd_kctrl_put], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @rsnd_kctrl_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 40
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %3, i64 20
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 %5(i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %46, label %10
10: ; preds = %2
%11 = load i32, ptr %3, align 8, !tbaa !14
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %46
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %3, i64 32
%15 = getelementptr inbounds i8, ptr %3, i64 8
%16 = zext nneg i32 %11 to i64
%17 = load ptr, ptr %15, align 8, !tbaa !15
br label %18
18: ; preds = %13, %18
%19 = phi i64 [ 0, %13 ], [ %33, %18 ]
%20 = phi i32 [ 0, %13 ], [ %32, %18 ]
%21 = load i64, ptr %14, align 8, !tbaa !16
%22 = icmp eq i64 %21, 0
%23 = getelementptr inbounds i64, ptr %17, i64 %19
%24 = load i64, ptr %23, align 8, !tbaa !17
%25 = select i1 %22, i64 0, i64 8
%26 = getelementptr inbounds i8, ptr %1, i64 %25
%27 = load ptr, ptr %26, align 8, !tbaa !18
%28 = getelementptr inbounds i64, ptr %27, i64 %19
%29 = load i64, ptr %28, align 8, !tbaa !17
%30 = icmp ne i64 %29, %24
store i64 %29, ptr %23, align 8, !tbaa !17
%31 = zext i1 %30 to i32
%32 = or i32 %20, %31
%33 = add nuw nsw i64 %19, 1
%34 = icmp eq i64 %33, %16
br i1 %34, label %35, label %18, !llvm.loop !19
35: ; preds = %18
%36 = icmp eq i32 %32, 0
br i1 %36, label %46, label %37
37: ; preds = %35
%38 = getelementptr inbounds i8, ptr %3, i64 24
%39 = load ptr, ptr %38, align 8, !tbaa !21
%40 = icmp eq ptr %39, null
br i1 %40, label %46, label %41
41: ; preds = %37
%42 = load i32, ptr %6, align 4, !tbaa !13
%43 = getelementptr inbounds i8, ptr %3, i64 16
%44 = load i32, ptr %43, align 8, !tbaa !22
%45 = tail call i32 %39(i32 noundef %42, i32 noundef %44) #2
br label %46
46: ; preds = %10, %35, %37, %41, %2
%47 = phi i32 [ 0, %2 ], [ %32, %41 ], [ %32, %37 ], [ 0, %35 ], [ 0, %10 ]
ret i32 %47
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 40}
!7 = !{!"rsnd_kctrl_cfg", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !11, i64 24, !12, i64 32, !11, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 20}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!7, !12, i64 32}
!17 = !{!12, !12, i64 0}
!18 = !{!11, !11, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!7, !11, i64 24}
!22 = !{!7, !8, i64 16}
| linux_sound_soc_sh_rcar_extr_core.c_rsnd_kctrl_put |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftmac100.c_ftmac100_set_tx_ring_base.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftmac100.c_ftmac100_set_tx_ring_base.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FTMAC100_OFFSET_TXR_BADR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ftmac100_set_tx_ring_base], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ftmac100_set_tx_ring_base(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @FTMAC100_OFFSET_TXR_BADR, align 8, !tbaa !10
%5 = add nsw i64 %4, %3
%6 = tail call i32 @iowrite32(i32 noundef %1, i64 noundef %5) #2
ret void
}
declare i32 @iowrite32(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 0}
!6 = !{!"ftmac100", !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/net/ethernet/faraday/extr_ftmac100.c_ftmac100_set_tx_ring_base.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftmac100.c_ftmac100_set_tx_ring_base.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FTMAC100_OFFSET_TXR_BADR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ftmac100_set_tx_ring_base], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ftmac100_set_tx_ring_base(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @FTMAC100_OFFSET_TXR_BADR, align 8, !tbaa !11
%5 = add nsw i64 %4, %3
%6 = tail call i32 @iowrite32(i32 noundef %1, i64 noundef %5) #2
ret void
}
declare i32 @iowrite32(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 0}
!7 = !{!"ftmac100", !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_net_ethernet_faraday_extr_ftmac100.c_ftmac100_set_tx_ring_base |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgbevf/extr_ixgbevf_main.c_ixgbevf_set_num_queues.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbevf/extr_ixgbevf_main.c_ixgbevf_set_num_queues.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ixgbevf_adapter = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbevf_set_num_queues], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @ixgbevf_set_num_queues(ptr nocapture noundef writeonly %0) #0 {
store i32 1, ptr %0, align 4, !tbaa !5
%2 = getelementptr inbounds %struct.ixgbevf_adapter, ptr %0, i64 0, i32 1
store i32 1, ptr %2, align 4, !tbaa !10
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ixgbevf_adapter", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgbevf/extr_ixgbevf_main.c_ixgbevf_set_num_queues.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbevf/extr_ixgbevf_main.c_ixgbevf_set_num_queues.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 @ixgbevf_set_num_queues], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @ixgbevf_set_num_queues(ptr nocapture noundef writeonly %0) #0 {
store <2 x i32> <i32 1, i32 1>, ptr %0, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_ixgbevf_extr_ixgbevf_main.c_ixgbevf_set_num_queues |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vb.c_check_pixel.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vb.c_check_pixel.c"
target datalayout = "e-m:e-p270:32:32-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 @check_pixel], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @check_pixel(ptr noundef readnone %0, ptr noundef readnone %1, ptr noundef readnone %2) #0 {
%4 = icmp uge ptr %0, %1
%5 = icmp ult ptr %0, %2
%6 = and i1 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
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/FFmpeg/libavcodec/extr_vb.c_check_pixel.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vb.c_check_pixel.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 @check_pixel], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @check_pixel(ptr noundef readnone %0, ptr noundef readnone %1, ptr noundef readnone %2) #0 {
%4 = icmp uge ptr %0, %1
%5 = icmp ult ptr %0, %2
%6 = and i1 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
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)"}
| FFmpeg_libavcodec_extr_vb.c_check_pixel |
; ModuleID = 'AnghaBench/linux/block/extr_blk-pm.c_blk_pre_runtime_resume.c'
source_filename = "AnghaBench/linux/block/extr_blk-pm.c_blk_pre_runtime_resume.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.request_queue = type { i32, i32, i32 }
@RPM_RESUMING = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @blk_pre_runtime_resume(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.request_queue, ptr %0, i64 0, i32 2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = tail call i32 @spin_lock_irq(ptr noundef nonnull %0) #2
%7 = load i32, ptr @RPM_RESUMING, align 4, !tbaa !10
%8 = getelementptr inbounds %struct.request_queue, ptr %0, i64 0, i32 1
store i32 %7, ptr %8, align 4, !tbaa !11
%9 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %0) #2
br label %10
10: ; preds = %1, %5
ret void
}
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_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 8}
!6 = !{!"request_queue", !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/linux/block/extr_blk-pm.c_blk_pre_runtime_resume.c'
source_filename = "AnghaBench/linux/block/extr_blk-pm.c_blk_pre_runtime_resume.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RPM_RESUMING = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @blk_pre_runtime_resume(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = tail call i32 @spin_lock_irq(ptr noundef nonnull %0) #2
%7 = load i32, ptr @RPM_RESUMING, align 4, !tbaa !11
%8 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %7, ptr %8, align 4, !tbaa !12
%9 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %0) #2
br label %10
10: ; preds = %1, %5
ret void
}
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_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 8}
!7 = !{!"request_queue", !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}
| linux_block_extr_blk-pm.c_blk_pre_runtime_resume |
; ModuleID = 'AnghaBench/freebsd/sys/arm/arm/extr_trap-v6.c_abort_fatal.c'
source_filename = "AnghaBench/freebsd/sys/arm/arm/extr_trap-v6.c_abort_fatal.c"
target datalayout = "e-m:e-p270:32:32-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.trapframe = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [5 x i8] c"user\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"kernel\00", align 1
@FSR_WNR = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@PSR_I = dso_local local_unnamed_addr global i32 0, align 4
@PSR_F = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [38 x i8] c"Fatal %s mode data abort: '%s' on %s\0A\00", align 1
@aborts = dso_local local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [29 x i8] c"trapframe: %p\0AFSR=%08x, FAR=\00", align 1
@FAULT_EA_IMPREC = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"%08x, \00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"Invalid, \00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"spsr=%08x\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"Fatal %s mode prefetch abort at 0x%08x\0A\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"trapframe: %p, spsr=%08x\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"r0 =%08x, r1 =%08x, r2 =%08x, r3 =%08x\0A\00", align 1
@.str.12 = private unnamed_addr constant [40 x i8] c"r4 =%08x, r5 =%08x, r6 =%08x, r7 =%08x\0A\00", align 1
@.str.13 = private unnamed_addr constant [40 x i8] c"r8 =%08x, r9 =%08x, r10=%08x, r11=%08x\0A\00", align 1
@.str.14 = private unnamed_addr constant [11 x i8] c"r12=%08x, \00", align 1
@.str.15 = private unnamed_addr constant [19 x i8] c"usp=%08x, ulr=%08x\00", align 1
@.str.16 = private unnamed_addr constant [19 x i8] c"ssp=%08x, slr=%08x\00", align 1
@.str.17 = private unnamed_addr constant [13 x i8] c", pc =%08x\0A\0A\00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"Fatal abort\00", align 1
@KDB_WHY_TRAP = dso_local local_unnamed_addr global i32 0, align 4
@KDB_WHY_UNSET = dso_local local_unnamed_addr global i32 0, align 4
@debugger_on_trap = dso_local local_unnamed_addr global i64 0, align 8
@kdb_why = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @abort_fatal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @abort_fatal(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 %4, ptr noundef readnone %5, ptr nocapture readnone %6) #0 {
%8 = tail call i32 @TRAPF_USERMODE(ptr noundef %0) #3
%9 = icmp eq i32 %8, 0
%10 = select i1 %9, ptr @.str.1, ptr @.str
%11 = load i32, ptr @FSR_WNR, align 4, !tbaa !5
%12 = load i32, ptr @PSR_I, align 4, !tbaa !5
%13 = load i32, ptr @PSR_F, align 4, !tbaa !5
%14 = or i32 %13, %12
%15 = tail call i32 @disable_interrupts(i32 noundef %14) #3
%16 = icmp eq ptr %5, null
br i1 %16, label %36, label %17
17: ; preds = %7
%18 = and i32 %11, %2
%19 = icmp eq i32 %18, 0
%20 = select i1 %19, ptr @.str.3, ptr @.str.2
%21 = load ptr, ptr @aborts, align 8, !tbaa !9
%22 = sext i32 %1 to i64
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i64 %22
%24 = load ptr, ptr %23, align 8, !tbaa !11
%25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull %10, ptr noundef %24, ptr noundef nonnull %20)
%26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %0, i32 noundef %2)
%27 = load i32, ptr @FAULT_EA_IMPREC, align 4, !tbaa !5
%28 = icmp eq i32 %27, %1
br i1 %28, label %31, label %29
29: ; preds = %17
%30 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %3)
br label %33
31: ; preds = %17
%32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
br label %33
33: ; preds = %31, %29
%34 = load i32, ptr %0, align 4, !tbaa !13
%35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %34)
br label %42
36: ; preds = %7
%37 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 1
%38 = load i32, ptr %37, align 4, !tbaa !15
%39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, ptr noundef nonnull %10, i32 noundef %38)
%40 = load i32, ptr %0, align 4, !tbaa !13
%41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, ptr noundef nonnull %0, i32 noundef %40)
br label %42
42: ; preds = %36, %33
%43 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 2
%44 = load i32, ptr %43, align 4, !tbaa !16
%45 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 3
%46 = load i32, ptr %45, align 4, !tbaa !17
%47 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 4
%48 = load i32, ptr %47, align 4, !tbaa !18
%49 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 5
%50 = load i32, ptr %49, align 4, !tbaa !19
%51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %44, i32 noundef %46, i32 noundef %48, i32 noundef %50)
%52 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 6
%53 = load i32, ptr %52, align 4, !tbaa !20
%54 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 7
%55 = load i32, ptr %54, align 4, !tbaa !21
%56 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 8
%57 = load i32, ptr %56, align 4, !tbaa !22
%58 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 9
%59 = load i32, ptr %58, align 4, !tbaa !23
%60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %53, i32 noundef %55, i32 noundef %57, i32 noundef %59)
%61 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 10
%62 = load i32, ptr %61, align 4, !tbaa !24
%63 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 11
%64 = load i32, ptr %63, align 4, !tbaa !25
%65 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 12
%66 = load i32, ptr %65, align 4, !tbaa !26
%67 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 13
%68 = load i32, ptr %67, align 4, !tbaa !27
%69 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %62, i32 noundef %64, i32 noundef %66, i32 noundef %68)
%70 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 14
%71 = load i32, ptr %70, align 4, !tbaa !28
%72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %71)
br i1 %9, label %79, label %73
73: ; preds = %42
%74 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 15
%75 = load i32, ptr %74, align 4, !tbaa !29
%76 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 16
%77 = load i32, ptr %76, align 4, !tbaa !30
%78 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %75, i32 noundef %77)
br label %85
79: ; preds = %42
%80 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 17
%81 = load i32, ptr %80, align 4, !tbaa !31
%82 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 18
%83 = load i32, ptr %82, align 4, !tbaa !32
%84 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i32 noundef %81, i32 noundef %83)
br label %85
85: ; preds = %79, %73
%86 = getelementptr inbounds %struct.trapframe, ptr %0, i64 0, i32 1
%87 = load i32, ptr %86, align 4, !tbaa !15
%88 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i32 noundef %87)
%89 = tail call i32 @panic(ptr noundef nonnull @.str.18) #3
ret i32 undef
}
declare i32 @TRAPF_USERMODE(ptr noundef) local_unnamed_addr #1
declare i32 @disable_interrupts(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @panic(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 = { 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 #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}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"trapframe", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72}
!15 = !{!14, !6, i64 4}
!16 = !{!14, !6, i64 8}
!17 = !{!14, !6, i64 12}
!18 = !{!14, !6, i64 16}
!19 = !{!14, !6, i64 20}
!20 = !{!14, !6, i64 24}
!21 = !{!14, !6, i64 28}
!22 = !{!14, !6, i64 32}
!23 = !{!14, !6, i64 36}
!24 = !{!14, !6, i64 40}
!25 = !{!14, !6, i64 44}
!26 = !{!14, !6, i64 48}
!27 = !{!14, !6, i64 52}
!28 = !{!14, !6, i64 56}
!29 = !{!14, !6, i64 60}
!30 = !{!14, !6, i64 64}
!31 = !{!14, !6, i64 68}
!32 = !{!14, !6, i64 72}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/arm/extr_trap-v6.c_abort_fatal.c'
source_filename = "AnghaBench/freebsd/sys/arm/arm/extr_trap-v6.c_abort_fatal.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 }
@.str = private unnamed_addr constant [5 x i8] c"user\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"kernel\00", align 1
@FSR_WNR = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@PSR_I = common local_unnamed_addr global i32 0, align 4
@PSR_F = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [38 x i8] c"Fatal %s mode data abort: '%s' on %s\0A\00", align 1
@aborts = common local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [29 x i8] c"trapframe: %p\0AFSR=%08x, FAR=\00", align 1
@FAULT_EA_IMPREC = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"%08x, \00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"Invalid, \00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"spsr=%08x\0A\00", align 1
@.str.9 = private unnamed_addr constant [40 x i8] c"Fatal %s mode prefetch abort at 0x%08x\0A\00", align 1
@.str.10 = private unnamed_addr constant [26 x i8] c"trapframe: %p, spsr=%08x\0A\00", align 1
@.str.11 = private unnamed_addr constant [40 x i8] c"r0 =%08x, r1 =%08x, r2 =%08x, r3 =%08x\0A\00", align 1
@.str.12 = private unnamed_addr constant [40 x i8] c"r4 =%08x, r5 =%08x, r6 =%08x, r7 =%08x\0A\00", align 1
@.str.13 = private unnamed_addr constant [40 x i8] c"r8 =%08x, r9 =%08x, r10=%08x, r11=%08x\0A\00", align 1
@.str.14 = private unnamed_addr constant [11 x i8] c"r12=%08x, \00", align 1
@.str.15 = private unnamed_addr constant [19 x i8] c"usp=%08x, ulr=%08x\00", align 1
@.str.16 = private unnamed_addr constant [19 x i8] c"ssp=%08x, slr=%08x\00", align 1
@.str.17 = private unnamed_addr constant [13 x i8] c", pc =%08x\0A\0A\00", align 1
@.str.18 = private unnamed_addr constant [12 x i8] c"Fatal abort\00", align 1
@KDB_WHY_TRAP = common local_unnamed_addr global i32 0, align 4
@KDB_WHY_UNSET = common local_unnamed_addr global i32 0, align 4
@debugger_on_trap = common local_unnamed_addr global i64 0, align 8
@kdb_why = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @abort_fatal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @abort_fatal(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 %4, ptr noundef readnone %5, ptr nocapture readnone %6) #0 {
%8 = tail call i32 @TRAPF_USERMODE(ptr noundef %0) #3
%9 = icmp eq i32 %8, 0
%10 = select i1 %9, ptr @.str.1, ptr @.str
%11 = load i32, ptr @FSR_WNR, align 4, !tbaa !6
%12 = load i32, ptr @PSR_I, align 4, !tbaa !6
%13 = load i32, ptr @PSR_F, align 4, !tbaa !6
%14 = or i32 %13, %12
%15 = tail call i32 @disable_interrupts(i32 noundef %14) #3
%16 = icmp eq ptr %5, null
br i1 %16, label %36, label %17
17: ; preds = %7
%18 = and i32 %11, %2
%19 = icmp eq i32 %18, 0
%20 = select i1 %19, ptr @.str.3, ptr @.str.2
%21 = load ptr, ptr @aborts, align 8, !tbaa !10
%22 = sext i32 %1 to i64
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i64 %22
%24 = load ptr, ptr %23, align 8, !tbaa !12
%25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull %10, ptr noundef %24, ptr noundef nonnull %20)
%26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %0, i32 noundef %2)
%27 = load i32, ptr @FAULT_EA_IMPREC, align 4, !tbaa !6
%28 = icmp eq i32 %27, %1
br i1 %28, label %31, label %29
29: ; preds = %17
%30 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %3)
br label %33
31: ; preds = %17
%32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
br label %33
33: ; preds = %31, %29
%34 = load i32, ptr %0, align 4, !tbaa !14
%35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %34)
br label %42
36: ; preds = %7
%37 = getelementptr inbounds i8, ptr %0, i64 4
%38 = load i32, ptr %37, align 4, !tbaa !16
%39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, ptr noundef nonnull %10, i32 noundef %38)
%40 = load i32, ptr %0, align 4, !tbaa !14
%41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, ptr noundef nonnull %0, i32 noundef %40)
br label %42
42: ; preds = %36, %33
%43 = getelementptr inbounds i8, ptr %0, i64 8
%44 = load i32, ptr %43, align 4, !tbaa !17
%45 = getelementptr inbounds i8, ptr %0, i64 12
%46 = load i32, ptr %45, align 4, !tbaa !18
%47 = getelementptr inbounds i8, ptr %0, i64 16
%48 = load i32, ptr %47, align 4, !tbaa !19
%49 = getelementptr inbounds i8, ptr %0, i64 20
%50 = load i32, ptr %49, align 4, !tbaa !20
%51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %44, i32 noundef %46, i32 noundef %48, i32 noundef %50)
%52 = getelementptr inbounds i8, ptr %0, i64 24
%53 = load i32, ptr %52, align 4, !tbaa !21
%54 = getelementptr inbounds i8, ptr %0, i64 28
%55 = load i32, ptr %54, align 4, !tbaa !22
%56 = getelementptr inbounds i8, ptr %0, i64 32
%57 = load i32, ptr %56, align 4, !tbaa !23
%58 = getelementptr inbounds i8, ptr %0, i64 36
%59 = load i32, ptr %58, align 4, !tbaa !24
%60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %53, i32 noundef %55, i32 noundef %57, i32 noundef %59)
%61 = getelementptr inbounds i8, ptr %0, i64 40
%62 = load i32, ptr %61, align 4, !tbaa !25
%63 = getelementptr inbounds i8, ptr %0, i64 44
%64 = load i32, ptr %63, align 4, !tbaa !26
%65 = getelementptr inbounds i8, ptr %0, i64 48
%66 = load i32, ptr %65, align 4, !tbaa !27
%67 = getelementptr inbounds i8, ptr %0, i64 52
%68 = load i32, ptr %67, align 4, !tbaa !28
%69 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %62, i32 noundef %64, i32 noundef %66, i32 noundef %68)
%70 = getelementptr inbounds i8, ptr %0, i64 56
%71 = load i32, ptr %70, align 4, !tbaa !29
%72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %71)
%73 = select i1 %9, i64 68, i64 60
%74 = select i1 %9, i64 72, i64 64
%75 = select i1 %9, ptr @.str.16, ptr @.str.15
%76 = getelementptr inbounds i8, ptr %0, i64 %73
%77 = load i32, ptr %76, align 4, !tbaa !6
%78 = getelementptr inbounds i8, ptr %0, i64 %74
%79 = load i32, ptr %78, align 4, !tbaa !6
%80 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %75, i32 noundef %77, i32 noundef %79)
%81 = getelementptr inbounds i8, ptr %0, i64 4
%82 = load i32, ptr %81, align 4, !tbaa !16
%83 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i32 noundef %82)
%84 = tail call i32 @panic(ptr noundef nonnull @.str.18) #3
ret i32 undef
}
declare i32 @TRAPF_USERMODE(ptr noundef) local_unnamed_addr #1
declare i32 @disable_interrupts(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @panic(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 = { 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 #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}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"trapframe", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72}
!16 = !{!15, !7, i64 4}
!17 = !{!15, !7, i64 8}
!18 = !{!15, !7, i64 12}
!19 = !{!15, !7, i64 16}
!20 = !{!15, !7, i64 20}
!21 = !{!15, !7, i64 24}
!22 = !{!15, !7, i64 28}
!23 = !{!15, !7, i64 32}
!24 = !{!15, !7, i64 36}
!25 = !{!15, !7, i64 40}
!26 = !{!15, !7, i64 44}
!27 = !{!15, !7, i64 48}
!28 = !{!15, !7, i64 52}
!29 = !{!15, !7, i64 56}
| freebsd_sys_arm_arm_extr_trap-v6.c_abort_fatal |
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_blk-cgroup.c_blkcg_get_read_bps.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_blk-cgroup.c_blkcg_get_read_bps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BLKIO_POLICY_THROTL = dso_local local_unnamed_addr global i32 0, align 4
@BLKIO_THROTL_read_bps_device = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @blkcg_get_read_bps(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @BLKIO_POLICY_THROTL, align 4, !tbaa !5
%4 = load i32, ptr @BLKIO_THROTL_read_bps_device, align 4, !tbaa !5
%5 = tail call ptr @blkio_policy_search_node(ptr noundef %0, i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = load i32, ptr %5, align 4, !tbaa !9
br label %9
9: ; preds = %2, %7
%10 = phi i32 [ %8, %7 ], [ -1, %2 ]
ret i32 %10
}
declare ptr @blkio_policy_search_node(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"blkio_policy_node", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_blk-cgroup.c_blkcg_get_read_bps.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_blk-cgroup.c_blkcg_get_read_bps.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BLKIO_POLICY_THROTL = common local_unnamed_addr global i32 0, align 4
@BLKIO_THROTL_read_bps_device = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @blkcg_get_read_bps(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @BLKIO_POLICY_THROTL, align 4, !tbaa !6
%4 = load i32, ptr @BLKIO_THROTL_read_bps_device, align 4, !tbaa !6
%5 = tail call ptr @blkio_policy_search_node(ptr noundef %0, i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = load i32, ptr %5, align 4, !tbaa !10
br label %9
9: ; preds = %2, %7
%10 = phi i32 [ %8, %7 ], [ -1, %2 ]
ret i32 %10
}
declare ptr @blkio_policy_search_node(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"blkio_policy_node", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
| fastsocket_kernel_block_extr_blk-cgroup.c_blkcg_get_read_bps |
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_snapshot_check.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_snapshot_check.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { ptr, ptr, i32 }
@MAXPATHLEN = dso_local local_unnamed_addr global i32 0, align 4
@FTAG = dso_local local_unnamed_addr global i32 0, align 4
@ZFS_PROP_SNAPSHOT_LIMIT = dso_local local_unnamed_addr global i32 0, align 4
@ZFS_MAX_DATASET_NAME_LEN = dso_local local_unnamed_addr global i32 0, align 4
@ENAMETOOLONG = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dsl_dataset_snapshot_check(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = tail call ptr @dmu_tx_pool(ptr noundef %1) #4
%7 = tail call i64 @dmu_tx_is_syncing(ptr noundef %1) #4
%8 = icmp eq i64 %7, 0
br i1 %8, label %78, label %9
9: ; preds = %2
%10 = tail call ptr (...) @fnvlist_alloc() #4
%11 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !5
%13 = tail call ptr @nvlist_next_nvpair(ptr noundef %12, ptr noundef null) #4
%14 = icmp eq ptr %13, null
br i1 %14, label %40, label %15
15: ; preds = %9, %36
%16 = phi ptr [ %38, %36 ], [ %13, %9 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%17 = load i32, ptr @MAXPATHLEN, align 4, !tbaa !11
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave.p0()
%20 = alloca i8, i64 %18, align 16
%21 = call ptr @nvpair_name(ptr noundef nonnull %16) #4
%22 = call i32 @strlcpy(ptr noundef nonnull %20, ptr noundef %21, i32 noundef %17) #4
%23 = call ptr @strchr(ptr noundef nonnull %20, i8 noundef signext 64) #4
%24 = icmp eq ptr %23, null
br i1 %24, label %36, label %25
25: ; preds = %15, %25
%26 = phi ptr [ %34, %25 ], [ %23, %15 ]
store i8 0, ptr %26, align 1, !tbaa !12
%27 = call i64 @nvlist_lookup_uint64(ptr noundef %10, ptr noundef nonnull %20, ptr noundef nonnull %3) #4
%28 = icmp eq i64 %27, 0
%29 = load i64, ptr %3, align 8
%30 = trunc i64 %29 to i32
%31 = add i32 %30, 1
%32 = select i1 %28, i32 %31, i32 1
%33 = call i32 @fnvlist_add_uint64(ptr noundef %10, ptr noundef nonnull %20, i32 noundef %32) #4
%34 = call ptr @strrchr(ptr noundef nonnull %20, i8 noundef signext 47) #4
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %25, !llvm.loop !13
36: ; preds = %25, %15
call void @llvm.stackrestore.p0(ptr %19)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
%37 = load ptr, ptr %11, align 8, !tbaa !5
%38 = call ptr @nvlist_next_nvpair(ptr noundef %37, ptr noundef nonnull %16) #4
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %15, !llvm.loop !15
40: ; preds = %36, %9
%41 = call ptr @nvlist_next_nvpair(ptr noundef %10, ptr noundef null) #4
%42 = icmp eq ptr %41, null
br i1 %42, label %75, label %43
43: ; preds = %40
%44 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
br label %45
45: ; preds = %43, %72
%46 = phi ptr [ %41, %43 ], [ %73, %72 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%47 = call ptr @nvpair_name(ptr noundef nonnull %46) #4
%48 = call i64 @fnvpair_value_uint64(ptr noundef nonnull %46) #4
%49 = icmp sgt i64 %48, 0
%50 = zext i1 %49 to i32
%51 = call i32 @ASSERT(i32 noundef %50) #4
%52 = load i32, ptr @FTAG, align 4, !tbaa !11
%53 = call i32 @dsl_dataset_hold(ptr noundef %6, ptr noundef %47, i32 noundef %52, ptr noundef nonnull %4) #4
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %65
55: ; preds = %45
%56 = load ptr, ptr %4, align 8, !tbaa !16
%57 = load i32, ptr %56, align 4, !tbaa !17
%58 = load i32, ptr @ZFS_PROP_SNAPSHOT_LIMIT, align 4, !tbaa !11
%59 = load i32, ptr %44, align 8, !tbaa !19
%60 = call i32 @dsl_fs_ss_limit_check(i32 noundef %57, i64 noundef %48, i32 noundef %58, ptr noundef null, i32 noundef %59) #4
%61 = load ptr, ptr %4, align 8, !tbaa !16
%62 = load i32, ptr @FTAG, align 4, !tbaa !11
%63 = call i32 @dsl_dataset_rele(ptr noundef %61, i32 noundef %62) #4
%64 = icmp eq i32 %60, 0
br i1 %64, label %72, label %65
65: ; preds = %45, %55
%66 = phi i32 [ %60, %55 ], [ %53, %45 ]
%67 = load ptr, ptr %0, align 8, !tbaa !20
%68 = icmp eq ptr %67, null
br i1 %68, label %71, label %69
69: ; preds = %65
%70 = call i32 @fnvlist_add_int32(ptr noundef nonnull %67, ptr noundef %47, i32 noundef %66) #4
br label %71
71: ; preds = %69, %65
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
br label %75
72: ; preds = %55
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
%73 = call ptr @nvlist_next_nvpair(ptr noundef %10, ptr noundef nonnull %46) #4
%74 = icmp eq ptr %73, null
br i1 %74, label %75, label %45, !llvm.loop !21
75: ; preds = %72, %40, %71
%76 = phi i32 [ %66, %71 ], [ 0, %40 ], [ 0, %72 ]
%77 = call i32 @nvlist_free(ptr noundef %10) #4
br label %78
78: ; preds = %75, %2
%79 = phi i32 [ %76, %75 ], [ 0, %2 ]
%80 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%81 = load ptr, ptr %80, align 8, !tbaa !5
%82 = call ptr @nvlist_next_nvpair(ptr noundef %81, ptr noundef null) #4
%83 = icmp eq ptr %82, null
br i1 %83, label %136, label %84
84: ; preds = %78, %131
%85 = phi ptr [ %134, %131 ], [ %82, %78 ]
%86 = phi i32 [ %132, %131 ], [ %79, %78 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
%87 = load i32, ptr @ZFS_MAX_DATASET_NAME_LEN, align 4, !tbaa !11
%88 = zext i32 %87 to i64
%89 = call ptr @llvm.stacksave.p0()
%90 = alloca i8, i64 %88, align 16
%91 = call ptr @nvpair_name(ptr noundef nonnull %85) #4
%92 = call i32 @strlen(ptr noundef %91) #4
%93 = load i32, ptr @ZFS_MAX_DATASET_NAME_LEN, align 4, !tbaa !11
%94 = icmp slt i32 %92, %93
br i1 %94, label %99, label %95
95: ; preds = %84
%96 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !11
%97 = call i32 @SET_ERROR(i32 noundef %96) #4
%98 = icmp eq i32 %97, 0
br i1 %98, label %99, label %125
99: ; preds = %84, %95
%100 = call ptr @strchr(ptr noundef %91, i8 noundef signext 64) #4
%101 = icmp eq ptr %100, null
br i1 %101, label %102, label %106
102: ; preds = %99
%103 = load i32, ptr @EINVAL, align 4, !tbaa !11
%104 = call i32 @SET_ERROR(i32 noundef %103) #4
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %125
106: ; preds = %99, %102
%107 = ptrtoint ptr %100 to i64
%108 = ptrtoint ptr %91 to i64
%109 = sub i64 %107, %108
%110 = trunc i64 %109 to i32
%111 = add i32 %110, 1
%112 = call i32 @strlcpy(ptr noundef nonnull %90, ptr noundef %91, i32 noundef %111) #4
%113 = load i32, ptr @FTAG, align 4, !tbaa !11
%114 = call i32 @dsl_dataset_hold(ptr noundef %6, ptr noundef nonnull %90, i32 noundef %113, ptr noundef nonnull %5) #4
%115 = icmp eq i32 %114, 0
br i1 %115, label %116, label %125
116: ; preds = %106
%117 = load ptr, ptr %5, align 8, !tbaa !16
%118 = getelementptr inbounds i8, ptr %100, i64 1
%119 = load i32, ptr @B_FALSE, align 4, !tbaa !11
%120 = call i32 @dsl_dataset_snapshot_check_impl(ptr noundef %117, ptr noundef nonnull %118, ptr noundef %1, i32 noundef %119, i32 noundef 0, ptr noundef null) #4
%121 = load ptr, ptr %5, align 8, !tbaa !16
%122 = load i32, ptr @FTAG, align 4, !tbaa !11
%123 = call i32 @dsl_dataset_rele(ptr noundef %121, i32 noundef %122) #4
%124 = icmp eq i32 %120, 0
br i1 %124, label %131, label %125
125: ; preds = %102, %95, %106, %116
%126 = phi i32 [ %120, %116 ], [ %114, %106 ], [ %97, %95 ], [ %104, %102 ]
%127 = load ptr, ptr %0, align 8, !tbaa !20
%128 = icmp eq ptr %127, null
br i1 %128, label %131, label %129
129: ; preds = %125
%130 = call i32 @fnvlist_add_int32(ptr noundef nonnull %127, ptr noundef %91, i32 noundef %126) #4
br label %131
131: ; preds = %125, %129, %116
%132 = phi i32 [ %86, %116 ], [ %126, %129 ], [ %126, %125 ]
call void @llvm.stackrestore.p0(ptr %89)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
%133 = load ptr, ptr %80, align 8, !tbaa !5
%134 = call ptr @nvlist_next_nvpair(ptr noundef %133, ptr noundef nonnull %85) #4
%135 = icmp eq ptr %134, null
br i1 %135, label %136, label %84, !llvm.loop !22
136: ; preds = %131, %78
%137 = phi i32 [ %79, %78 ], [ %132, %131 ]
ret i32 %137
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dmu_tx_pool(ptr noundef) local_unnamed_addr #2
declare i64 @dmu_tx_is_syncing(ptr noundef) local_unnamed_addr #2
declare ptr @fnvlist_alloc(...) local_unnamed_addr #2
declare ptr @nvlist_next_nvpair(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @nvpair_name(ptr noundef) local_unnamed_addr #2
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i64 @nvlist_lookup_uint64(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fnvlist_add_uint64(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @fnvpair_value_uint64(ptr noundef) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_hold(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dsl_fs_ss_limit_check(i32 noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_rele(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fnvlist_add_int32(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nvlist_free(ptr noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_snapshot_check_impl(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 8}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_6__", !10, i64 0}
!19 = !{!6, !10, i64 16}
!20 = !{!6, !7, i64 0}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
| ; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_snapshot_check.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_snapshot_check.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAXPATHLEN = common local_unnamed_addr global i32 0, align 4
@FTAG = common local_unnamed_addr global i32 0, align 4
@ZFS_PROP_SNAPSHOT_LIMIT = common local_unnamed_addr global i32 0, align 4
@ZFS_MAX_DATASET_NAME_LEN = common local_unnamed_addr global i32 0, align 4
@ENAMETOOLONG = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@B_FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dsl_dataset_snapshot_check(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = tail call ptr @dmu_tx_pool(ptr noundef %1) #4
%7 = tail call i64 @dmu_tx_is_syncing(ptr noundef %1) #4
%8 = icmp eq i64 %7, 0
br i1 %8, label %78, label %9
9: ; preds = %2
%10 = tail call ptr @fnvlist_alloc() #4
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !6
%13 = tail call ptr @nvlist_next_nvpair(ptr noundef %12, ptr noundef null) #4
%14 = icmp eq ptr %13, null
br i1 %14, label %40, label %15
15: ; preds = %9, %36
%16 = phi ptr [ %38, %36 ], [ %13, %9 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%17 = load i32, ptr @MAXPATHLEN, align 4, !tbaa !12
%18 = zext i32 %17 to i64
%19 = call ptr @llvm.stacksave.p0()
%20 = alloca i8, i64 %18, align 1
%21 = call ptr @nvpair_name(ptr noundef nonnull %16) #4
%22 = call i32 @strlcpy(ptr noundef nonnull %20, ptr noundef %21, i32 noundef %17) #4
%23 = call ptr @strchr(ptr noundef nonnull %20, i8 noundef signext 64) #4
%24 = icmp eq ptr %23, null
br i1 %24, label %36, label %25
25: ; preds = %15, %25
%26 = phi ptr [ %34, %25 ], [ %23, %15 ]
store i8 0, ptr %26, align 1, !tbaa !13
%27 = call i64 @nvlist_lookup_uint64(ptr noundef %10, ptr noundef nonnull %20, ptr noundef nonnull %3) #4
%28 = icmp eq i64 %27, 0
%29 = load i64, ptr %3, align 8
%30 = trunc i64 %29 to i32
%31 = add i32 %30, 1
%32 = select i1 %28, i32 %31, i32 1
%33 = call i32 @fnvlist_add_uint64(ptr noundef %10, ptr noundef nonnull %20, i32 noundef %32) #4
%34 = call ptr @strrchr(ptr noundef nonnull %20, i8 noundef signext 47) #4
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %25, !llvm.loop !14
36: ; preds = %25, %15
call void @llvm.stackrestore.p0(ptr %19)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
%37 = load ptr, ptr %11, align 8, !tbaa !6
%38 = call ptr @nvlist_next_nvpair(ptr noundef %37, ptr noundef nonnull %16) #4
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %15, !llvm.loop !16
40: ; preds = %36, %9
%41 = call ptr @nvlist_next_nvpair(ptr noundef %10, ptr noundef null) #4
%42 = icmp eq ptr %41, null
br i1 %42, label %75, label %43
43: ; preds = %40
%44 = getelementptr inbounds i8, ptr %0, i64 16
br label %45
45: ; preds = %43, %72
%46 = phi ptr [ %41, %43 ], [ %73, %72 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%47 = call ptr @nvpair_name(ptr noundef nonnull %46) #4
%48 = call i64 @fnvpair_value_uint64(ptr noundef nonnull %46) #4
%49 = icmp sgt i64 %48, 0
%50 = zext i1 %49 to i32
%51 = call i32 @ASSERT(i32 noundef %50) #4
%52 = load i32, ptr @FTAG, align 4, !tbaa !12
%53 = call i32 @dsl_dataset_hold(ptr noundef %6, ptr noundef %47, i32 noundef %52, ptr noundef nonnull %4) #4
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %65
55: ; preds = %45
%56 = load ptr, ptr %4, align 8, !tbaa !17
%57 = load i32, ptr %56, align 4, !tbaa !18
%58 = load i32, ptr @ZFS_PROP_SNAPSHOT_LIMIT, align 4, !tbaa !12
%59 = load i32, ptr %44, align 8, !tbaa !20
%60 = call i32 @dsl_fs_ss_limit_check(i32 noundef %57, i64 noundef %48, i32 noundef %58, ptr noundef null, i32 noundef %59) #4
%61 = load ptr, ptr %4, align 8, !tbaa !17
%62 = load i32, ptr @FTAG, align 4, !tbaa !12
%63 = call i32 @dsl_dataset_rele(ptr noundef %61, i32 noundef %62) #4
%64 = icmp eq i32 %60, 0
br i1 %64, label %72, label %65
65: ; preds = %45, %55
%66 = phi i32 [ %60, %55 ], [ %53, %45 ]
%67 = load ptr, ptr %0, align 8, !tbaa !21
%68 = icmp eq ptr %67, null
br i1 %68, label %71, label %69
69: ; preds = %65
%70 = call i32 @fnvlist_add_int32(ptr noundef nonnull %67, ptr noundef %47, i32 noundef %66) #4
br label %71
71: ; preds = %69, %65
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
br label %75
72: ; preds = %55
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
%73 = call ptr @nvlist_next_nvpair(ptr noundef %10, ptr noundef nonnull %46) #4
%74 = icmp eq ptr %73, null
br i1 %74, label %75, label %45, !llvm.loop !22
75: ; preds = %72, %40, %71
%76 = phi i32 [ %66, %71 ], [ 0, %40 ], [ 0, %72 ]
%77 = call i32 @nvlist_free(ptr noundef %10) #4
br label %78
78: ; preds = %75, %2
%79 = phi i32 [ %76, %75 ], [ 0, %2 ]
%80 = getelementptr inbounds i8, ptr %0, i64 8
%81 = load ptr, ptr %80, align 8, !tbaa !6
%82 = call ptr @nvlist_next_nvpair(ptr noundef %81, ptr noundef null) #4
%83 = icmp eq ptr %82, null
br i1 %83, label %136, label %84
84: ; preds = %78, %131
%85 = phi ptr [ %134, %131 ], [ %82, %78 ]
%86 = phi i32 [ %132, %131 ], [ %79, %78 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
%87 = load i32, ptr @ZFS_MAX_DATASET_NAME_LEN, align 4, !tbaa !12
%88 = zext i32 %87 to i64
%89 = call ptr @llvm.stacksave.p0()
%90 = alloca i8, i64 %88, align 1
%91 = call ptr @nvpair_name(ptr noundef nonnull %85) #4
%92 = call i32 @strlen(ptr noundef %91) #4
%93 = load i32, ptr @ZFS_MAX_DATASET_NAME_LEN, align 4, !tbaa !12
%94 = icmp slt i32 %92, %93
br i1 %94, label %99, label %95
95: ; preds = %84
%96 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !12
%97 = call i32 @SET_ERROR(i32 noundef %96) #4
%98 = icmp eq i32 %97, 0
br i1 %98, label %99, label %125
99: ; preds = %84, %95
%100 = call ptr @strchr(ptr noundef %91, i8 noundef signext 64) #4
%101 = icmp eq ptr %100, null
br i1 %101, label %102, label %106
102: ; preds = %99
%103 = load i32, ptr @EINVAL, align 4, !tbaa !12
%104 = call i32 @SET_ERROR(i32 noundef %103) #4
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %125
106: ; preds = %99, %102
%107 = ptrtoint ptr %100 to i64
%108 = ptrtoint ptr %91 to i64
%109 = sub i64 %107, %108
%110 = trunc i64 %109 to i32
%111 = add i32 %110, 1
%112 = call i32 @strlcpy(ptr noundef nonnull %90, ptr noundef %91, i32 noundef %111) #4
%113 = load i32, ptr @FTAG, align 4, !tbaa !12
%114 = call i32 @dsl_dataset_hold(ptr noundef %6, ptr noundef nonnull %90, i32 noundef %113, ptr noundef nonnull %5) #4
%115 = icmp eq i32 %114, 0
br i1 %115, label %116, label %125
116: ; preds = %106
%117 = load ptr, ptr %5, align 8, !tbaa !17
%118 = getelementptr inbounds i8, ptr %100, i64 1
%119 = load i32, ptr @B_FALSE, align 4, !tbaa !12
%120 = call i32 @dsl_dataset_snapshot_check_impl(ptr noundef %117, ptr noundef nonnull %118, ptr noundef %1, i32 noundef %119, i32 noundef 0, ptr noundef null) #4
%121 = load ptr, ptr %5, align 8, !tbaa !17
%122 = load i32, ptr @FTAG, align 4, !tbaa !12
%123 = call i32 @dsl_dataset_rele(ptr noundef %121, i32 noundef %122) #4
%124 = icmp eq i32 %120, 0
br i1 %124, label %131, label %125
125: ; preds = %102, %95, %106, %116
%126 = phi i32 [ %120, %116 ], [ %114, %106 ], [ %97, %95 ], [ %104, %102 ]
%127 = load ptr, ptr %0, align 8, !tbaa !21
%128 = icmp eq ptr %127, null
br i1 %128, label %131, label %129
129: ; preds = %125
%130 = call i32 @fnvlist_add_int32(ptr noundef nonnull %127, ptr noundef %91, i32 noundef %126) #4
br label %131
131: ; preds = %125, %129, %116
%132 = phi i32 [ %86, %116 ], [ %126, %129 ], [ %126, %125 ]
call void @llvm.stackrestore.p0(ptr %89)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
%133 = load ptr, ptr %80, align 8, !tbaa !6
%134 = call ptr @nvlist_next_nvpair(ptr noundef %133, ptr noundef nonnull %85) #4
%135 = icmp eq ptr %134, null
br i1 %135, label %136, label %84, !llvm.loop !23
136: ; preds = %131, %78
%137 = phi i32 [ %79, %78 ], [ %132, %131 ]
ret i32 %137
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dmu_tx_pool(ptr noundef) local_unnamed_addr #2
declare i64 @dmu_tx_is_syncing(ptr noundef) local_unnamed_addr #2
declare ptr @fnvlist_alloc(...) local_unnamed_addr #2
declare ptr @nvlist_next_nvpair(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @nvpair_name(ptr noundef) local_unnamed_addr #2
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i64 @nvlist_lookup_uint64(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fnvlist_add_uint64(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @fnvpair_value_uint64(ptr noundef) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_hold(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dsl_fs_ss_limit_check(i32 noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_rele(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fnvlist_add_int32(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nvlist_free(ptr noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #2
declare i32 @dsl_dataset_snapshot_check_impl(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
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 8}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!9, !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_6__", !11, i64 0}
!20 = !{!7, !11, i64 16}
!21 = !{!7, !8, i64 0}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
| freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_dsl_dataset.c_dsl_dataset_snapshot_check |
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_zstdmt_compress.c_ZSTDMT_flushStream.c'
source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_zstdmt_compress.c_ZSTDMT_flushStream.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { ptr, i64 }
@.str = private unnamed_addr constant [19 x i8] c"ZSTDMT_flushStream\00", align 1
@ZSTD_e_flush = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @ZSTDMT_flushStream(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @DEBUGLOG(i32 noundef 5, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %2
%8 = load ptr, ptr %0, align 8, !tbaa !11
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = tail call i64 @ZSTD_flushStream(i32 noundef %10, ptr noundef %1) #2
br label %15
12: ; preds = %2
%13 = load i32, ptr @ZSTD_e_flush, align 4, !tbaa !14
%14 = tail call i64 @ZSTDMT_flushStream_internal(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %13) #2
br label %15
15: ; preds = %12, %7
%16 = phi i64 [ %11, %7 ], [ %14, %12 ]
ret i64 %16
}
declare i32 @DEBUGLOG(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ZSTD_flushStream(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ZSTDMT_flushStream_internal(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_5__", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_zstdmt_compress.c_ZSTDMT_flushStream.c'
source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_zstdmt_compress.c_ZSTDMT_flushStream.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [19 x i8] c"ZSTDMT_flushStream\00", align 1
@ZSTD_e_flush = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @ZSTDMT_flushStream(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @DEBUGLOG(i32 noundef 5, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %2
%8 = load ptr, ptr %0, align 8, !tbaa !12
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = tail call i64 @ZSTD_flushStream(i32 noundef %10, ptr noundef %1) #2
br label %15
12: ; preds = %2
%13 = load i32, ptr @ZSTD_e_flush, align 4, !tbaa !15
%14 = tail call i64 @ZSTDMT_flushStream_internal(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %13) #2
br label %15
15: ; preds = %12, %7
%16 = phi i64 [ %11, %7 ], [ %14, %12 ]
ret i64 %16
}
declare i32 @DEBUGLOG(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ZSTD_flushStream(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ZSTDMT_flushStream_internal(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_5__", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
| borg_src_borg_algorithms_zstd_lib_compress_extr_zstdmt_compress.c_ZSTDMT_flushStream |
; ModuleID = 'AnghaBench/esp-idf/components/lwip/port/esp32/freertos/extr_sys_arch.c_sys_mutex_lock.c'
source_filename = "AnghaBench/esp-idf/components/lwip/port/esp32/freertos/extr_sys_arch.c_sys_mutex_lock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@portMAX_DELAY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"failed to take the mutex\00", align 1
@pdTRUE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @sys_mutex_lock(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @portMAX_DELAY, align 4, !tbaa !5
%4 = tail call i64 @xSemaphoreTake(i32 noundef %2, i32 noundef %3) #2
%5 = load i64, ptr @pdTRUE, align 8, !tbaa !9
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
%8 = tail call i32 @LWIP_ASSERT(ptr noundef nonnull @.str, i32 noundef %7) #2
ret void
}
declare i64 @xSemaphoreTake(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LWIP_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/lwip/port/esp32/freertos/extr_sys_arch.c_sys_mutex_lock.c'
source_filename = "AnghaBench/esp-idf/components/lwip/port/esp32/freertos/extr_sys_arch.c_sys_mutex_lock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@portMAX_DELAY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"failed to take the mutex\00", align 1
@pdTRUE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @sys_mutex_lock(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @portMAX_DELAY, align 4, !tbaa !6
%4 = tail call i64 @xSemaphoreTake(i32 noundef %2, i32 noundef %3) #2
%5 = load i64, ptr @pdTRUE, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
%8 = tail call i32 @LWIP_ASSERT(ptr noundef nonnull @.str, i32 noundef %7) #2
ret void
}
declare i64 @xSemaphoreTake(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LWIP_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| esp-idf_components_lwip_port_esp32_freertos_extr_sys_arch.c_sys_mutex_lock |
; ModuleID = 'AnghaBench/linux/crypto/extr_shash.c_shash_no_setkey.c'
source_filename = "AnghaBench/linux/crypto/extr_shash.c_shash_no_setkey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENOSYS = 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 @shash_no_setkey(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @ENOSYS, align 4, !tbaa !5
%5 = sub nsw i32 0, %4
ret i32 %5
}
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/linux/crypto/extr_shash.c_shash_no_setkey.c'
source_filename = "AnghaBench/linux/crypto/extr_shash.c_shash_no_setkey.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOSYS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @shash_no_setkey(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @ENOSYS, align 4, !tbaa !6
%5 = sub nsw i32 0, %4
ret i32 %5
}
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"}
| linux_crypto_extr_shash.c_shash_no_setkey |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/vermilion/extr_vermilion.c_vmlfb_release_devices.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/vermilion/extr_vermilion.c_vmlfb_release_devices.c"
target datalayout = "e-m:e-p270:32:32-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.vml_par = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @vmlfb_release_devices], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vmlfb_release_devices(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.vml_par, ptr %0, i64 0, i32 2
%3 = tail call i64 @atomic_dec_and_test(ptr noundef nonnull %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.vml_par, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call i32 @pci_disable_device(i32 noundef %7) #2
%9 = load i32, ptr %0, align 4, !tbaa !10
%10 = tail call i32 @pci_disable_device(i32 noundef %9) #2
br label %11
11: ; preds = %5, %1
ret void
}
declare i64 @atomic_dec_and_test(ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_device(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"vml_par", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/vermilion/extr_vermilion.c_vmlfb_release_devices.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/vermilion/extr_vermilion.c_vmlfb_release_devices.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 @vmlfb_release_devices], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vmlfb_release_devices(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = tail call i64 @atomic_dec_and_test(ptr noundef nonnull %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call i32 @pci_disable_device(i32 noundef %7) #2
%9 = load i32, ptr %0, align 4, !tbaa !11
%10 = tail call i32 @pci_disable_device(i32 noundef %9) #2
br label %11
11: ; preds = %5, %1
ret void
}
declare i64 @atomic_dec_and_test(ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_device(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"vml_par", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| linux_drivers_video_fbdev_vermilion_extr_vermilion.c_vmlfb_release_devices |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display_power.c_chv_pipe_power_well_enable.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display_power.c_chv_pipe_power_well_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @chv_pipe_power_well_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @chv_pipe_power_well_enable(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @chv_set_pipe_power_well(ptr noundef %0, ptr noundef %1, i32 noundef 1) #2
%4 = tail call i32 @vlv_display_power_well_init(ptr noundef %0) #2
ret void
}
declare i32 @chv_set_pipe_power_well(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vlv_display_power_well_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display_power.c_chv_pipe_power_well_enable.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display_power.c_chv_pipe_power_well_enable.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 @chv_pipe_power_well_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @chv_pipe_power_well_enable(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @chv_set_pipe_power_well(ptr noundef %0, ptr noundef %1, i32 noundef 1) #2
%4 = tail call i32 @vlv_display_power_well_init(ptr noundef %0) #2
ret void
}
declare i32 @chv_set_pipe_power_well(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vlv_display_power_well_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_i915_display_extr_intel_display_power.c_chv_pipe_power_well_enable |
; ModuleID = 'AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_agent.c_ib_agent_port_open.c'
source_filename = "AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_agent.c_ib_agent_port_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ib_agent_port_private = type { ptr, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"No memory for ib_agent_port_private\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@IB_QPT_SMI = dso_local local_unnamed_addr global i32 0, align 4
@agent_send_handler = dso_local global i32 0, align 4
@IB_QPT_GSI = dso_local local_unnamed_addr global i32 0, align 4
@ib_agent_port_list_lock = dso_local global i32 0, align 4
@ib_agent_port_list = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ib_agent_port_open(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %53
10: ; preds = %2
%11 = tail call i64 @rdma_cap_ib_smi(ptr noundef %0, i32 noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %25, label %13
13: ; preds = %10
%14 = load i32, ptr @IB_QPT_SMI, align 4, !tbaa !5
%15 = tail call ptr @ib_register_mad_agent(ptr noundef %0, i32 noundef %1, i32 noundef %14, ptr noundef null, i32 noundef 0, ptr noundef nonnull @agent_send_handler, ptr noundef null, ptr noundef null, i32 noundef 0) #2
%16 = load ptr, ptr %4, align 8, !tbaa !9
store ptr %15, ptr %16, align 8, !tbaa !12
%17 = load ptr, ptr %4, align 8, !tbaa !9
%18 = load ptr, ptr %17, align 8, !tbaa !12
%19 = tail call i64 @IS_ERR(ptr noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %13
%22 = load ptr, ptr %4, align 8, !tbaa !9
%23 = load ptr, ptr %22, align 8, !tbaa !12
%24 = tail call i32 @PTR_ERR(ptr noundef %23) #2
br label %50
25: ; preds = %13, %10
%26 = load i32, ptr @IB_QPT_GSI, align 4, !tbaa !5
%27 = tail call ptr @ib_register_mad_agent(ptr noundef %0, i32 noundef %1, i32 noundef %26, ptr noundef null, i32 noundef 0, ptr noundef nonnull @agent_send_handler, ptr noundef null, ptr noundef null, i32 noundef 0) #2
%28 = load ptr, ptr %4, align 8, !tbaa !9
%29 = getelementptr inbounds ptr, ptr %28, i64 1
store ptr %27, ptr %29, align 8, !tbaa !12
%30 = load ptr, ptr %4, align 8, !tbaa !9
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8, !tbaa !12
%33 = tail call i64 @IS_ERR(ptr noundef %32) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %43, label %35
35: ; preds = %25
%36 = load ptr, ptr %4, align 8, !tbaa !9
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8, !tbaa !12
%39 = tail call i32 @PTR_ERR(ptr noundef %38) #2
%40 = load ptr, ptr %4, align 8, !tbaa !9
%41 = load ptr, ptr %40, align 8, !tbaa !12
%42 = icmp eq ptr %41, null
br i1 %42, label %50, label %48
43: ; preds = %25
%44 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @ib_agent_port_list_lock, i64 noundef undef) #2
%45 = getelementptr inbounds %struct.ib_agent_port_private, ptr %4, i64 0, i32 1
%46 = tail call i32 @list_add_tail(ptr noundef nonnull %45, ptr noundef nonnull @ib_agent_port_list) #2
%47 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @ib_agent_port_list_lock, i64 noundef undef) #2
br label %53
48: ; preds = %35
%49 = tail call i32 @ib_unregister_mad_agent(ptr noundef nonnull %41) #2
br label %50
50: ; preds = %35, %48, %21
%51 = phi i32 [ %24, %21 ], [ %39, %48 ], [ %39, %35 ]
%52 = tail call i32 @kfree(ptr noundef nonnull %4) #2
br label %53
53: ; preds = %6, %50, %43
%54 = phi i32 [ 0, %43 ], [ %51, %50 ], [ %9, %6 ]
ret i32 %54
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @rdma_cap_ib_smi(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ib_register_mad_agent(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 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 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ib_unregister_mad_agent(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, !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 = !{!"ib_agent_port_private", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_agent.c_ib_agent_port_open.c'
source_filename = "AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_ib_agent.c_ib_agent_port_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"No memory for ib_agent_port_private\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@IB_QPT_SMI = common local_unnamed_addr global i32 0, align 4
@agent_send_handler = common global i32 0, align 4
@IB_QPT_GSI = common local_unnamed_addr global i32 0, align 4
@ib_agent_port_list_lock = common global i32 0, align 4
@ib_agent_port_list = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ib_agent_port_open(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %53
10: ; preds = %2
%11 = tail call i64 @rdma_cap_ib_smi(ptr noundef %0, i32 noundef %1) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %25, label %13
13: ; preds = %10
%14 = load i32, ptr @IB_QPT_SMI, align 4, !tbaa !6
%15 = tail call ptr @ib_register_mad_agent(ptr noundef %0, i32 noundef %1, i32 noundef %14, ptr noundef null, i32 noundef 0, ptr noundef nonnull @agent_send_handler, ptr noundef null, ptr noundef null, i32 noundef 0) #2
%16 = load ptr, ptr %4, align 8, !tbaa !10
store ptr %15, ptr %16, align 8, !tbaa !13
%17 = load ptr, ptr %4, align 8, !tbaa !10
%18 = load ptr, ptr %17, align 8, !tbaa !13
%19 = tail call i64 @IS_ERR(ptr noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %13
%22 = load ptr, ptr %4, align 8, !tbaa !10
%23 = load ptr, ptr %22, align 8, !tbaa !13
%24 = tail call i32 @PTR_ERR(ptr noundef %23) #2
br label %50
25: ; preds = %13, %10
%26 = load i32, ptr @IB_QPT_GSI, align 4, !tbaa !6
%27 = tail call ptr @ib_register_mad_agent(ptr noundef %0, i32 noundef %1, i32 noundef %26, ptr noundef null, i32 noundef 0, ptr noundef nonnull @agent_send_handler, ptr noundef null, ptr noundef null, i32 noundef 0) #2
%28 = load ptr, ptr %4, align 8, !tbaa !10
%29 = getelementptr inbounds i8, ptr %28, i64 8
store ptr %27, ptr %29, align 8, !tbaa !13
%30 = load ptr, ptr %4, align 8, !tbaa !10
%31 = getelementptr inbounds i8, ptr %30, i64 8
%32 = load ptr, ptr %31, align 8, !tbaa !13
%33 = tail call i64 @IS_ERR(ptr noundef %32) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %43, label %35
35: ; preds = %25
%36 = load ptr, ptr %4, align 8, !tbaa !10
%37 = getelementptr inbounds i8, ptr %36, i64 8
%38 = load ptr, ptr %37, align 8, !tbaa !13
%39 = tail call i32 @PTR_ERR(ptr noundef %38) #2
%40 = load ptr, ptr %4, align 8, !tbaa !10
%41 = load ptr, ptr %40, align 8, !tbaa !13
%42 = icmp eq ptr %41, null
br i1 %42, label %50, label %48
43: ; preds = %25
%44 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @ib_agent_port_list_lock, i64 noundef undef) #2
%45 = getelementptr inbounds i8, ptr %4, i64 8
%46 = tail call i32 @list_add_tail(ptr noundef nonnull %45, ptr noundef nonnull @ib_agent_port_list) #2
%47 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @ib_agent_port_list_lock, i64 noundef undef) #2
br label %53
48: ; preds = %35
%49 = tail call i32 @ib_unregister_mad_agent(ptr noundef nonnull %41) #2
br label %50
50: ; preds = %35, %48, %21
%51 = phi i32 [ %24, %21 ], [ %39, %48 ], [ %39, %35 ]
%52 = tail call i32 @kfree(ptr noundef nonnull %4) #2
br label %53
53: ; preds = %6, %50, %43
%54 = phi i32 [ 0, %43 ], [ %51, %50 ], [ %9, %6 ]
ret i32 %54
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @rdma_cap_ib_smi(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ib_register_mad_agent(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 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 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ib_unregister_mad_agent(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, !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 = !{!"ib_agent_port_private", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!12, !12, i64 0}
| freebsd_sys_ofed_drivers_infiniband_core_extr_ib_agent.c_ib_agent_port_open |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_remove_device.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_remove_device.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hid_device = type { i32, i64, ptr, i32 }
@HID_STAT_ADDED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hid_remove_device], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hid_remove_device(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @HID_STAT_ADDED, align 4, !tbaa !12
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.hid_device, ptr %0, i64 0, i32 3
%8 = tail call i32 @device_del(ptr noundef nonnull %7) #3
%9 = tail call i32 @hid_debug_unregister(ptr noundef nonnull %0) #3
%10 = load i32, ptr @HID_STAT_ADDED, align 4, !tbaa !12
%11 = xor i32 %10, -1
%12 = load i32, ptr %0, align 8, !tbaa !5
%13 = and i32 %12, %11
store i32 %13, ptr %0, align 8, !tbaa !5
br label %14
14: ; preds = %6, %1
%15 = getelementptr inbounds %struct.hid_device, ptr %0, i64 0, i32 2
%16 = load ptr, ptr %15, align 8, !tbaa !13
%17 = tail call i32 @kfree(ptr noundef %16) #3
%18 = getelementptr inbounds %struct.hid_device, ptr %0, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %18, i8 0, i64 16, i1 false)
ret void
}
declare i32 @device_del(ptr noundef) local_unnamed_addr #1
declare i32 @hid_debug_unregister(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"hid_device", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !11, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_remove_device.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-core.c_hid_remove_device.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HID_STAT_ADDED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hid_remove_device], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hid_remove_device(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @HID_STAT_ADDED, align 4, !tbaa !13
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 24
%8 = tail call i32 @device_del(ptr noundef nonnull %7) #3
%9 = tail call i32 @hid_debug_unregister(ptr noundef nonnull %0) #3
%10 = load i32, ptr @HID_STAT_ADDED, align 4, !tbaa !13
%11 = xor i32 %10, -1
%12 = load i32, ptr %0, align 8, !tbaa !6
%13 = and i32 %12, %11
store i32 %13, ptr %0, align 8, !tbaa !6
br label %14
14: ; preds = %6, %1
%15 = getelementptr inbounds i8, ptr %0, i64 16
%16 = load ptr, ptr %15, align 8, !tbaa !14
%17 = tail call i32 @kfree(ptr noundef %16) #3
%18 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %18, i8 0, i64 16, i1 false)
ret void
}
declare i32 @device_del(ptr noundef) local_unnamed_addr #1
declare i32 @hid_debug_unregister(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"hid_device", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !12, i64 16}
| linux_drivers_hid_extr_hid-core.c_hid_remove_device |
; ModuleID = 'AnghaBench/ish/emu/extr_fpu.c_fpu_ild32.c'
source_filename = "AnghaBench/ish/emu/extr_fpu.c_fpu_ild32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.cpu_state = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local void @fpu_ild32(%struct.cpu_state* nocapture noundef readnone %0, i32* nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, i32* %1, align 4, !tbaa !5
%4 = tail call i32 @f80_from_int(i32 noundef %3) #2
%5 = tail call i32 @fpush(i32 noundef %4) #2
ret void
}
declare i32 @fpush(i32 noundef) local_unnamed_addr #1
declare i32 @f80_from_int(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/ish/emu/extr_fpu.c_fpu_ild32.c'
source_filename = "AnghaBench/ish/emu/extr_fpu.c_fpu_ild32.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 @fpu_ild32(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = tail call i32 @f80_from_int(i32 noundef %3) #2
%5 = tail call i32 @fpush(i32 noundef %4) #2
ret void
}
declare i32 @fpush(i32 noundef) local_unnamed_addr #1
declare i32 @f80_from_int(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"}
| ish_emu_extr_fpu.c_fpu_ild32 |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_locks_arm.c_lck_mtx_lock_spin.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_locks_arm.c_lck_mtx_lock_spin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @lck_mtx_lock_spin(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @lck_mtx_check_preemption(ptr noundef %0) #2
%3 = load i32, ptr @TRUE, align 4, !tbaa !5
%4 = tail call i32 @lck_mtx_lock_spin_internal(ptr noundef %0, i32 noundef %3) #2
ret void
}
declare i32 @lck_mtx_check_preemption(ptr noundef) local_unnamed_addr #1
declare i32 @lck_mtx_lock_spin_internal(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_locks_arm.c_lck_mtx_lock_spin.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_locks_arm.c_lck_mtx_lock_spin.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @lck_mtx_lock_spin(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @lck_mtx_check_preemption(ptr noundef %0) #2
%3 = load i32, ptr @TRUE, align 4, !tbaa !6
%4 = tail call i32 @lck_mtx_lock_spin_internal(ptr noundef %0, i32 noundef %3) #2
ret void
}
declare i32 @lck_mtx_check_preemption(ptr noundef) local_unnamed_addr #1
declare i32 @lck_mtx_lock_spin_internal(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"}
| darwin-xnu_osfmk_arm_extr_locks_arm.c_lck_mtx_lock_spin |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_calc_data_size.c'
source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_calc_data_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.iovec = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @msg_calc_data_size], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(argmem: read) uwtable
define internal i32 @msg_calc_data_size(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %39
4: ; preds = %2
%5 = zext nneg i32 %1 to i64
%6 = icmp ult i32 %1, 4
br i1 %6, label %27, label %7
7: ; preds = %4
%8 = and i64 %5, 2147483644
br label %9
9: ; preds = %9, %7
%10 = phi i64 [ 0, %7 ], [ %21, %9 ]
%11 = phi <2 x i32> [ zeroinitializer, %7 ], [ %19, %9 ]
%12 = phi <2 x i32> [ zeroinitializer, %7 ], [ %20, %9 ]
%13 = getelementptr inbounds %struct.iovec, ptr %0, i64 %10
%14 = getelementptr inbounds i64, ptr %13, i64 2
%15 = load <2 x i64>, ptr %13, align 8, !tbaa !5
%16 = load <2 x i64>, ptr %14, align 8, !tbaa !5
%17 = trunc <2 x i64> %15 to <2 x i32>
%18 = trunc <2 x i64> %16 to <2 x i32>
%19 = add <2 x i32> %11, %17
%20 = add <2 x i32> %12, %18
%21 = add nuw i64 %10, 4
%22 = icmp eq i64 %21, %8
br i1 %22, label %23, label %9, !llvm.loop !10
23: ; preds = %9
%24 = add <2 x i32> %20, %19
%25 = tail call i32 @llvm.vector.reduce.add.v2i32(<2 x i32> %24)
%26 = icmp eq i64 %8, %5
br i1 %26, label %39, label %27
27: ; preds = %4, %23
%28 = phi i64 [ 0, %4 ], [ %8, %23 ]
%29 = phi i32 [ 0, %4 ], [ %25, %23 ]
br label %30
30: ; preds = %27, %30
%31 = phi i64 [ %37, %30 ], [ %28, %27 ]
%32 = phi i32 [ %36, %30 ], [ %29, %27 ]
%33 = getelementptr inbounds %struct.iovec, ptr %0, i64 %31
%34 = load i64, ptr %33, align 8, !tbaa !5
%35 = trunc i64 %34 to i32
%36 = add i32 %32, %35
%37 = add nuw nsw i64 %31, 1
%38 = icmp eq i64 %37, %5
br i1 %38, label %39, label %30, !llvm.loop !14
39: ; preds = %30, %23, %2
%40 = phi i32 [ 0, %2 ], [ %25, %23 ], [ %36, %30 ]
ret i32 %40
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v2i32(<2 x i32>) #1
attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"iovec", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11, !12, !13}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !11, !13, !12}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_calc_data_size.c'
source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_calc_data_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.iovec = type { i64 }
@llvm.used = appending global [1 x ptr] [ptr @msg_calc_data_size], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync)
define internal i32 @msg_calc_data_size(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp sgt i32 %1, 0
br i1 %3, label %4, label %51
4: ; preds = %2
%5 = zext nneg i32 %1 to i64
%6 = icmp ult i32 %1, 16
br i1 %6, label %39, label %7
7: ; preds = %4
%8 = and i64 %5, 2147483632
br label %9
9: ; preds = %9, %7
%10 = phi i64 [ 0, %7 ], [ %31, %9 ]
%11 = phi <4 x i32> [ zeroinitializer, %7 ], [ %27, %9 ]
%12 = phi <4 x i32> [ zeroinitializer, %7 ], [ %28, %9 ]
%13 = phi <4 x i32> [ zeroinitializer, %7 ], [ %29, %9 ]
%14 = phi <4 x i32> [ zeroinitializer, %7 ], [ %30, %9 ]
%15 = getelementptr inbounds %struct.iovec, ptr %0, i64 %10
%16 = getelementptr inbounds i8, ptr %15, i64 32
%17 = getelementptr inbounds i8, ptr %15, i64 64
%18 = getelementptr inbounds i8, ptr %15, i64 96
%19 = load <4 x i64>, ptr %15, align 8, !tbaa !6
%20 = load <4 x i64>, ptr %16, align 8, !tbaa !6
%21 = load <4 x i64>, ptr %17, align 8, !tbaa !6
%22 = load <4 x i64>, ptr %18, align 8, !tbaa !6
%23 = trunc <4 x i64> %19 to <4 x i32>
%24 = trunc <4 x i64> %20 to <4 x i32>
%25 = trunc <4 x i64> %21 to <4 x i32>
%26 = trunc <4 x i64> %22 to <4 x i32>
%27 = add <4 x i32> %11, %23
%28 = add <4 x i32> %12, %24
%29 = add <4 x i32> %13, %25
%30 = add <4 x i32> %14, %26
%31 = add nuw i64 %10, 16
%32 = icmp eq i64 %31, %8
br i1 %32, label %33, label %9, !llvm.loop !11
33: ; preds = %9
%34 = add <4 x i32> %28, %27
%35 = add <4 x i32> %29, %34
%36 = add <4 x i32> %30, %35
%37 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %36)
%38 = icmp eq i64 %8, %5
br i1 %38, label %51, label %39
39: ; preds = %33, %4
%40 = phi i64 [ 0, %4 ], [ %8, %33 ]
%41 = phi i32 [ 0, %4 ], [ %37, %33 ]
br label %42
42: ; preds = %39, %42
%43 = phi i64 [ %49, %42 ], [ %40, %39 ]
%44 = phi i32 [ %48, %42 ], [ %41, %39 ]
%45 = getelementptr inbounds %struct.iovec, ptr %0, i64 %43
%46 = load i64, ptr %45, align 8, !tbaa !6
%47 = trunc i64 %46 to i32
%48 = add i32 %44, %47
%49 = add nuw nsw i64 %43, 1
%50 = icmp eq i64 %49, %5
br i1 %50, label %51, label %42, !llvm.loop !15
51: ; preds = %42, %33, %2
%52 = phi i32 [ 0, %2 ], [ %37, %33 ], [ %48, %42 ]
ret i32 %52
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #1
attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"iovec", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !14, !13}
| fastsocket_kernel_net_tipc_extr_msg.h_msg_calc_data_size |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_loop-invariant.c_find_invariants.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_loop-invariant.c_find_invariants.c"
target datalayout = "e-m:e-p270:32:32-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 @find_invariants], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @find_invariants(ptr noundef %0) #0 {
%2 = tail call i32 @BITMAP_ALLOC(ptr noundef null) #2
%3 = tail call i32 @BITMAP_ALLOC(ptr noundef null) #2
%4 = tail call i32 @BITMAP_ALLOC(ptr noundef null) #2
%5 = tail call i32 @BITMAP_ALLOC(ptr noundef null) #2
%6 = tail call ptr @get_loop_body_in_dom_order(ptr noundef %0) #2
%7 = tail call i32 @find_exits(ptr noundef %0, ptr noundef %6, i32 noundef %2, i32 noundef %4) #2
%8 = tail call i32 @compute_always_reached(ptr noundef %0, ptr noundef %6, i32 noundef %2, i32 noundef %3) #2
%9 = tail call i32 @compute_always_reached(ptr noundef %0, ptr noundef %6, i32 noundef %4, i32 noundef %5) #2
%10 = tail call i32 @find_defs(ptr noundef %0, ptr noundef %6) #2
%11 = tail call i32 @find_invariants_body(ptr noundef %0, ptr noundef %6, i32 noundef %3, i32 noundef %5) #2
%12 = tail call i32 (...) @merge_identical_invariants() #2
%13 = tail call i32 @BITMAP_FREE(i32 noundef %3) #2
%14 = tail call i32 @BITMAP_FREE(i32 noundef %5) #2
%15 = tail call i32 @BITMAP_FREE(i32 noundef %2) #2
%16 = tail call i32 @BITMAP_FREE(i32 noundef %4) #2
%17 = tail call i32 @free(ptr noundef %6) #2
ret void
}
declare i32 @BITMAP_ALLOC(ptr noundef) local_unnamed_addr #1
declare ptr @get_loop_body_in_dom_order(ptr noundef) local_unnamed_addr #1
declare i32 @find_exits(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @compute_always_reached(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @find_defs(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @find_invariants_body(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @merge_identical_invariants(...) local_unnamed_addr #1
declare i32 @BITMAP_FREE(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)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_loop-invariant.c_find_invariants.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_loop-invariant.c_find_invariants.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 @find_invariants], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @find_invariants(ptr noundef %0) #0 {
%2 = tail call i32 @BITMAP_ALLOC(ptr noundef null) #2
%3 = tail call i32 @BITMAP_ALLOC(ptr noundef null) #2
%4 = tail call i32 @BITMAP_ALLOC(ptr noundef null) #2
%5 = tail call i32 @BITMAP_ALLOC(ptr noundef null) #2
%6 = tail call ptr @get_loop_body_in_dom_order(ptr noundef %0) #2
%7 = tail call i32 @find_exits(ptr noundef %0, ptr noundef %6, i32 noundef %2, i32 noundef %4) #2
%8 = tail call i32 @compute_always_reached(ptr noundef %0, ptr noundef %6, i32 noundef %2, i32 noundef %3) #2
%9 = tail call i32 @compute_always_reached(ptr noundef %0, ptr noundef %6, i32 noundef %4, i32 noundef %5) #2
%10 = tail call i32 @find_defs(ptr noundef %0, ptr noundef %6) #2
%11 = tail call i32 @find_invariants_body(ptr noundef %0, ptr noundef %6, i32 noundef %3, i32 noundef %5) #2
%12 = tail call i32 @merge_identical_invariants() #2
%13 = tail call i32 @BITMAP_FREE(i32 noundef %3) #2
%14 = tail call i32 @BITMAP_FREE(i32 noundef %5) #2
%15 = tail call i32 @BITMAP_FREE(i32 noundef %2) #2
%16 = tail call i32 @BITMAP_FREE(i32 noundef %4) #2
%17 = tail call i32 @free(ptr noundef %6) #2
ret void
}
declare i32 @BITMAP_ALLOC(ptr noundef) local_unnamed_addr #1
declare ptr @get_loop_body_in_dom_order(ptr noundef) local_unnamed_addr #1
declare i32 @find_exits(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @compute_always_reached(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @find_defs(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @find_invariants_body(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @merge_identical_invariants(...) local_unnamed_addr #1
declare i32 @BITMAP_FREE(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)"}
| freebsd_contrib_gcc_extr_loop-invariant.c_find_invariants |
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_dell-wmi.c_dell_wmi_input_destroy.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-wmi.c_dell_wmi_input_destroy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @dell_wmi_input_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dell_wmi_input_destroy(ptr noundef %0) #0 {
%2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @input_unregister_device(i32 noundef %3) #2
ret void
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @input_unregister_device(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 = !{!"dell_wmi_priv", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_dell-wmi.c_dell_wmi_input_destroy.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-wmi.c_dell_wmi_input_destroy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @dell_wmi_input_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dell_wmi_input_destroy(ptr noundef %0) #0 {
%2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @input_unregister_device(i32 noundef %3) #2
ret void
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @input_unregister_device(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 = !{!"dell_wmi_priv", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_platform_x86_extr_dell-wmi.c_dell_wmi_input_destroy |
; ModuleID = 'AnghaBench/lab/engine/code/client/extr_snd_mix.c_S_PaintChannelFromADPCM.c'
source_filename = "AnghaBench/lab/engine/code/client/extr_snd_mix.c_S_PaintChannelFromADPCM.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_12__ = type { i32, i32 }
%struct.TYPE_11__ = type { %struct.TYPE_10__* }
%struct.TYPE_10__ = type { %struct.TYPE_10__* }
%struct.TYPE_13__ = type { i32, i32, i32, i64 }
@snd_vol = dso_local local_unnamed_addr global i32 0, align 4
@paintbuffer = dso_local local_unnamed_addr global %struct.TYPE_12__* null, align 8
@SND_CHUNK_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@sfxScratchIndex = dso_local local_unnamed_addr global i32 0, align 4
@sfxScratchPointer = dso_local local_unnamed_addr global %struct.TYPE_11__* null, align 8
@sfxScratchBuffer = dso_local local_unnamed_addr global i16* null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @S_PaintChannelFromADPCM(%struct.TYPE_13__* nocapture noundef readonly %0, %struct.TYPE_11__* noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 0
%7 = load i32, i32* %6, align 8, !tbaa !5
%8 = load i32, i32* @snd_vol, align 4, !tbaa !11
%9 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 1
%10 = load i32, i32* %9, align 4, !tbaa !12
%11 = load %struct.TYPE_12__*, %struct.TYPE_12__** @paintbuffer, align 8, !tbaa !13
%12 = sext i32 %4 to i64
%13 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %11, i64 %12
%14 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %1, i64 0, i32 0
%15 = load %struct.TYPE_10__*, %struct.TYPE_10__** %14, align 8, !tbaa !15
%16 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 3
%17 = load i64, i64* %16, align 8, !tbaa !17
%18 = icmp eq i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %5
%20 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %0, i64 0, i32 2
%21 = load i32, i32* %20, align 8, !tbaa !18
%22 = mul nsw i32 %21, %3
br label %23
23: ; preds = %19, %5
%24 = phi i32 [ %22, %19 ], [ %3, %5 ]
%25 = load i32, i32* @SND_CHUNK_SIZE, align 4, !tbaa !11
%26 = shl nsw i32 %25, 2
%27 = icmp slt i32 %24, %26
br i1 %27, label %37, label %28
28: ; preds = %23, %28
%29 = phi i32 [ %34, %28 ], [ %24, %23 ]
%30 = phi %struct.TYPE_10__* [ %33, %28 ], [ %15, %23 ]
%31 = phi i32 [ %35, %28 ], [ 0, %23 ]
%32 = getelementptr inbounds %struct.TYPE_10__, %struct.TYPE_10__* %30, i64 0, i32 0
%33 = load %struct.TYPE_10__*, %struct.TYPE_10__** %32, align 8, !tbaa !19
%34 = sub nsw i32 %29, %26
%35 = add nuw nsw i32 %31, 1
%36 = icmp slt i32 %34, %26
br i1 %36, label %37, label %28, !llvm.loop !21
37: ; preds = %28, %23
%38 = phi i32 [ 0, %23 ], [ %35, %28 ]
%39 = phi %struct.TYPE_10__* [ %15, %23 ], [ %33, %28 ]
%40 = phi i32 [ %24, %23 ], [ %34, %28 ]
%41 = load i32, i32* @sfxScratchIndex, align 4, !tbaa !11
%42 = icmp eq i32 %38, %41
%43 = load %struct.TYPE_11__*, %struct.TYPE_11__** @sfxScratchPointer, align 8
%44 = icmp eq %struct.TYPE_11__* %43, %1
%45 = select i1 %42, i1 %44, i1 false
br i1 %45, label %49, label %46
46: ; preds = %37
%47 = load i16*, i16** @sfxScratchBuffer, align 8, !tbaa !13
%48 = tail call i32 @S_AdpcmGetSamples(%struct.TYPE_10__* noundef %39, i16* noundef %47) #2
store i32 %38, i32* @sfxScratchIndex, align 4, !tbaa !11
store %struct.TYPE_11__* %1, %struct.TYPE_11__** @sfxScratchPointer, align 8, !tbaa !13
br label %49
49: ; preds = %37, %46
%50 = load i16*, i16** @sfxScratchBuffer, align 8, !tbaa !13
%51 = icmp sgt i32 %2, 0
br i1 %51, label %52, label %90
52: ; preds = %49
%53 = zext i32 %2 to i64
br label %54
54: ; preds = %52, %85
%55 = phi i64 [ 0, %52 ], [ %88, %85 ]
%56 = phi i32 [ %40, %52 ], [ %87, %85 ]
%57 = phi %struct.TYPE_10__* [ %39, %52 ], [ %86, %85 ]
%58 = add nsw i32 %56, 1
%59 = sext i32 %56 to i64
%60 = getelementptr inbounds i16, i16* %50, i64 %59
%61 = load i16, i16* %60, align 2, !tbaa !23
%62 = sext i16 %61 to i32
%63 = mul i32 %8, %62
%64 = mul i32 %63, %7
%65 = ashr i32 %64, 8
%66 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %13, i64 %55
%67 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %66, i64 0, i32 0
%68 = load i32, i32* %67, align 4, !tbaa !25
%69 = add nsw i32 %68, %65
store i32 %69, i32* %67, align 4, !tbaa !25
%70 = mul i32 %63, %10
%71 = ashr i32 %70, 8
%72 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %66, i64 0, i32 1
%73 = load i32, i32* %72, align 4, !tbaa !27
%74 = add nsw i32 %73, %71
store i32 %74, i32* %72, align 4, !tbaa !27
%75 = load i32, i32* @SND_CHUNK_SIZE, align 4, !tbaa !11
%76 = shl nsw i32 %75, 2
%77 = icmp eq i32 %58, %76
br i1 %77, label %78, label %85
78: ; preds = %54
%79 = getelementptr inbounds %struct.TYPE_10__, %struct.TYPE_10__* %57, i64 0, i32 0
%80 = load %struct.TYPE_10__*, %struct.TYPE_10__** %79, align 8, !tbaa !19
%81 = load i16*, i16** @sfxScratchBuffer, align 8, !tbaa !13
%82 = tail call i32 @S_AdpcmGetSamples(%struct.TYPE_10__* noundef %80, i16* noundef %81) #2
%83 = load i32, i32* @sfxScratchIndex, align 4, !tbaa !11
%84 = add nsw i32 %83, 1
store i32 %84, i32* @sfxScratchIndex, align 4, !tbaa !11
br label %85
85: ; preds = %54, %78
%86 = phi %struct.TYPE_10__* [ %80, %78 ], [ %57, %54 ]
%87 = phi i32 [ 0, %78 ], [ %58, %54 ]
%88 = add nuw nsw i64 %55, 1
%89 = icmp eq i64 %88, %53
br i1 %89, label %90, label %54, !llvm.loop !28
90: ; preds = %85, %49
ret void
}
declare i32 @S_AdpcmGetSamples(%struct.TYPE_10__* noundef, i16* noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_13__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"TYPE_11__", !14, i64 0}
!17 = !{!6, !10, i64 16}
!18 = !{!6, !7, i64 8}
!19 = !{!20, !14, i64 0}
!20 = !{!"TYPE_10__", !14, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !24, i64 0}
!24 = !{!"short", !8, i64 0}
!25 = !{!26, !7, i64 0}
!26 = !{!"TYPE_12__", !7, i64 0, !7, i64 4}
!27 = !{!26, !7, i64 4}
!28 = distinct !{!28, !22}
| ; ModuleID = 'AnghaBench/lab/engine/code/client/extr_snd_mix.c_S_PaintChannelFromADPCM.c'
source_filename = "AnghaBench/lab/engine/code/client/extr_snd_mix.c_S_PaintChannelFromADPCM.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_12__ = type { i32, i32 }
@snd_vol = common local_unnamed_addr global i32 0, align 4
@paintbuffer = common local_unnamed_addr global ptr null, align 8
@SND_CHUNK_SIZE = common local_unnamed_addr global i32 0, align 4
@sfxScratchIndex = common local_unnamed_addr global i32 0, align 4
@sfxScratchPointer = common local_unnamed_addr global ptr null, align 8
@sfxScratchBuffer = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @S_PaintChannelFromADPCM(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @snd_vol, align 4, !tbaa !6
%7 = load <2 x i32>, ptr %0, align 8, !tbaa !6
%8 = insertelement <2 x i32> poison, i32 %6, i64 0
%9 = load ptr, ptr @paintbuffer, align 8, !tbaa !10
%10 = sext i32 %4 to i64
%11 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 %10
%12 = load ptr, ptr %1, align 8, !tbaa !12
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %5
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i32, ptr %17, align 8, !tbaa !17
%19 = mul nsw i32 %18, %3
br label %20
20: ; preds = %16, %5
%21 = phi i32 [ %19, %16 ], [ %3, %5 ]
%22 = load i32, ptr @SND_CHUNK_SIZE, align 4, !tbaa !6
%23 = shl nsw i32 %22, 2
%24 = icmp slt i32 %21, %23
br i1 %24, label %33, label %25
25: ; preds = %20, %25
%26 = phi i32 [ %30, %25 ], [ %21, %20 ]
%27 = phi ptr [ %29, %25 ], [ %12, %20 ]
%28 = phi i32 [ %31, %25 ], [ 0, %20 ]
%29 = load ptr, ptr %27, align 8, !tbaa !18
%30 = sub nsw i32 %26, %23
%31 = add nuw nsw i32 %28, 1
%32 = icmp slt i32 %30, %23
br i1 %32, label %33, label %25, !llvm.loop !20
33: ; preds = %25, %20
%34 = phi i32 [ 0, %20 ], [ %31, %25 ]
%35 = phi ptr [ %12, %20 ], [ %29, %25 ]
%36 = phi i32 [ %21, %20 ], [ %30, %25 ]
%37 = load i32, ptr @sfxScratchIndex, align 4, !tbaa !6
%38 = icmp eq i32 %34, %37
%39 = load ptr, ptr @sfxScratchPointer, align 8
%40 = icmp eq ptr %39, %1
%41 = select i1 %38, i1 %40, i1 false
br i1 %41, label %45, label %42
42: ; preds = %33
%43 = load ptr, ptr @sfxScratchBuffer, align 8, !tbaa !10
%44 = tail call i32 @S_AdpcmGetSamples(ptr noundef %35, ptr noundef %43) #2
store i32 %34, ptr @sfxScratchIndex, align 4, !tbaa !6
store ptr %1, ptr @sfxScratchPointer, align 8, !tbaa !10
br label %45
45: ; preds = %33, %42
%46 = load ptr, ptr @sfxScratchBuffer, align 8, !tbaa !10
%47 = icmp sgt i32 %2, 0
br i1 %47, label %48, label %81
48: ; preds = %45
%49 = zext nneg i32 %2 to i64
br label %50
50: ; preds = %48, %76
%51 = phi i64 [ 0, %48 ], [ %79, %76 ]
%52 = phi i32 [ %36, %48 ], [ %78, %76 ]
%53 = phi ptr [ %35, %48 ], [ %77, %76 ]
%54 = add nsw i32 %52, 1
%55 = sext i32 %52 to i64
%56 = getelementptr inbounds i16, ptr %46, i64 %55
%57 = load i16, ptr %56, align 2, !tbaa !22
%58 = sext i16 %57 to i32
%59 = getelementptr inbounds %struct.TYPE_12__, ptr %11, i64 %51
%60 = insertelement <2 x i32> poison, i32 %58, i64 0
%61 = mul <2 x i32> %60, %8
%62 = shufflevector <2 x i32> %61, <2 x i32> poison, <2 x i32> zeroinitializer
%63 = mul <2 x i32> %62, %7
%64 = ashr <2 x i32> %63, <i32 8, i32 8>
%65 = load <2 x i32>, ptr %59, align 4, !tbaa !6
%66 = add nsw <2 x i32> %64, %65
store <2 x i32> %66, ptr %59, align 4, !tbaa !6
%67 = load i32, ptr @SND_CHUNK_SIZE, align 4, !tbaa !6
%68 = shl nsw i32 %67, 2
%69 = icmp eq i32 %54, %68
br i1 %69, label %70, label %76
70: ; preds = %50
%71 = load ptr, ptr %53, align 8, !tbaa !18
%72 = load ptr, ptr @sfxScratchBuffer, align 8, !tbaa !10
%73 = tail call i32 @S_AdpcmGetSamples(ptr noundef %71, ptr noundef %72) #2
%74 = load i32, ptr @sfxScratchIndex, align 4, !tbaa !6
%75 = add nsw i32 %74, 1
store i32 %75, ptr @sfxScratchIndex, align 4, !tbaa !6
br label %76
76: ; preds = %50, %70
%77 = phi ptr [ %71, %70 ], [ %53, %50 ]
%78 = phi i32 [ 0, %70 ], [ %54, %50 ]
%79 = add nuw nsw i64 %51, 1
%80 = icmp eq i64 %79, %49
br i1 %80, label %81, label %50, !llvm.loop !24
81: ; preds = %76, %45
ret void
}
declare i32 @S_AdpcmGetSamples(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_11__", !11, i64 0}
!14 = !{!15, !16, i64 16}
!15 = !{!"TYPE_13__", !7, i64 0, !7, i64 4, !7, i64 8, !16, i64 16}
!16 = !{!"long", !8, i64 0}
!17 = !{!15, !7, i64 8}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_10__", !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !23, i64 0}
!23 = !{!"short", !8, i64 0}
!24 = distinct !{!24, !21}
| lab_engine_code_client_extr_snd_mix.c_S_PaintChannelFromADPCM |
; ModuleID = 'AnghaBench/linux/arch/mips/dec/extr_kn01-berr.c_dec_kn01_be_handler.c'
source_filename = "AnghaBench/linux/arch/mips/dec/extr_kn01-berr.c_dec_kn01_be_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @dec_kn01_be_handler(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @dec_kn01_be_backend(ptr noundef %0, i32 noundef %1, i32 noundef 0) #2
ret i32 %3
}
declare i32 @dec_kn01_be_backend(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/mips/dec/extr_kn01-berr.c_dec_kn01_be_handler.c'
source_filename = "AnghaBench/linux/arch/mips/dec/extr_kn01-berr.c_dec_kn01_be_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dec_kn01_be_handler(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @dec_kn01_be_backend(ptr noundef %0, i32 noundef %1, i32 noundef 0) #2
ret i32 %3
}
declare i32 @dec_kn01_be_backend(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_mips_dec_extr_kn01-berr.c_dec_kn01_be_handler |
; ModuleID = 'AnghaBench/linux/arch/ia64/kernel/extr_palinfo.c_bitregister_process.c'
source_filename = "AnghaBench/linux/arch/ia64/kernel/extr_palinfo.c_bitregister_process.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d-%d \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d-127\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"127\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bitregister_process], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bitregister_process(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = tail call i32 @llvm.cttz.i32(i32 %4, i1 true), !range !9
%6 = icmp eq i32 %4, 0
%7 = select i1 %6, i32 -1, i32 %5
%8 = icmp slt i32 %7, %2
br i1 %8, label %9, label %51
9: ; preds = %3
%10 = ashr i32 %4, %7
br label %11
11: ; preds = %9, %45
%12 = phi i32 [ %48, %45 ], [ %10, %9 ]
%13 = phi i32 [ %47, %45 ], [ 0, %9 ]
%14 = phi i32 [ %46, %45 ], [ %7, %9 ]
%15 = phi i32 [ %49, %45 ], [ %7, %9 ]
%16 = phi ptr [ %25, %45 ], [ %1, %9 ]
%17 = icmp ne i32 %15, 0
%18 = and i32 %15, 63
%19 = icmp eq i32 %18, 0
%20 = and i1 %17, %19
br i1 %20, label %21, label %24
21: ; preds = %11
%22 = getelementptr inbounds i32, ptr %16, i64 1
%23 = load i32, ptr %22, align 4, !tbaa !5
br label %24
24: ; preds = %21, %11
%25 = phi ptr [ %22, %21 ], [ %16, %11 ]
%26 = phi i32 [ %23, %21 ], [ %12, %11 ]
%27 = and i32 %26, 1
%28 = icmp eq i32 %27, 0
%29 = icmp eq i32 %13, 0
%30 = select i1 %28, i1 %29, i1 false
br i1 %30, label %31, label %39
31: ; preds = %24
%32 = add nsw i32 %15, -2
%33 = icmp sgt i32 %14, %32
%34 = add nsw i32 %15, -1
br i1 %33, label %37, label %35
35: ; preds = %31
%36 = tail call i32 (ptr, ptr, i32, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %34) #3
br label %45
37: ; preds = %31
%38 = tail call i32 (ptr, ptr, i32, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %34) #3
br label %45
39: ; preds = %24
%40 = icmp ne i32 %27, 0
%41 = icmp eq i32 %13, 1
%42 = select i1 %40, i1 %41, i1 false
%43 = select i1 %42, i32 %15, i32 %14
%44 = select i1 %42, i32 0, i32 %13
br label %45
45: ; preds = %39, %35, %37
%46 = phi i32 [ -1, %37 ], [ -1, %35 ], [ %43, %39 ]
%47 = phi i32 [ 1, %37 ], [ 1, %35 ], [ %44, %39 ]
%48 = ashr i32 %26, 1
%49 = add i32 %15, 1
%50 = icmp eq i32 %49, %2
br i1 %50, label %51, label %11, !llvm.loop !10
51: ; preds = %45, %3
%52 = phi i32 [ %7, %3 ], [ %46, %45 ]
%53 = icmp sgt i32 %52, -1
br i1 %53, label %54, label %60
54: ; preds = %51
%55 = icmp ult i32 %52, 127
br i1 %55, label %56, label %58
56: ; preds = %54
%57 = tail call i32 (ptr, ptr, i32, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %52) #3
br label %60
58: ; preds = %54
%59 = tail call i32 @seq_puts(ptr noundef %0, ptr noundef nonnull @.str.3) #3
br label %60
60: ; preds = %56, %58, %51
ret void
}
declare i32 @seq_printf(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @seq_puts(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.cttz.i32(i32, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{i32 0, i32 33}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/arch/ia64/kernel/extr_palinfo.c_bitregister_process.c'
source_filename = "AnghaBench/linux/arch/ia64/kernel/extr_palinfo.c_bitregister_process.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"%d-%d \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d-127\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"127\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bitregister_process], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bitregister_process(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = tail call range(i32 0, 33) i32 @llvm.cttz.i32(i32 %4, i1 true)
%6 = icmp eq i32 %4, 0
%7 = select i1 %6, i32 -1, i32 %5
%8 = icmp slt i32 %7, %2
br i1 %8, label %9, label %51
9: ; preds = %3
%10 = ashr i32 %4, %7
br label %11
11: ; preds = %9, %45
%12 = phi i32 [ %48, %45 ], [ %10, %9 ]
%13 = phi i32 [ %47, %45 ], [ 0, %9 ]
%14 = phi i32 [ %46, %45 ], [ %7, %9 ]
%15 = phi i32 [ %49, %45 ], [ %7, %9 ]
%16 = phi ptr [ %25, %45 ], [ %1, %9 ]
%17 = icmp ne i32 %15, 0
%18 = and i32 %15, 63
%19 = icmp eq i32 %18, 0
%20 = and i1 %17, %19
br i1 %20, label %21, label %24
21: ; preds = %11
%22 = getelementptr inbounds i8, ptr %16, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !6
br label %24
24: ; preds = %21, %11
%25 = phi ptr [ %22, %21 ], [ %16, %11 ]
%26 = phi i32 [ %23, %21 ], [ %12, %11 ]
%27 = and i32 %26, 1
%28 = icmp eq i32 %27, 0
%29 = icmp eq i32 %13, 0
%30 = select i1 %28, i1 %29, i1 false
br i1 %30, label %31, label %39
31: ; preds = %24
%32 = add nsw i32 %15, -2
%33 = icmp sgt i32 %14, %32
%34 = add nsw i32 %15, -1
br i1 %33, label %37, label %35
35: ; preds = %31
%36 = tail call i32 (ptr, ptr, i32, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %14, i32 noundef %34) #3
br label %45
37: ; preds = %31
%38 = tail call i32 (ptr, ptr, i32, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %34) #3
br label %45
39: ; preds = %24
%40 = icmp ne i32 %27, 0
%41 = icmp eq i32 %13, 1
%42 = select i1 %40, i1 %41, i1 false
%43 = select i1 %42, i32 %15, i32 %14
%44 = select i1 %42, i32 0, i32 %13
br label %45
45: ; preds = %39, %35, %37
%46 = phi i32 [ -1, %37 ], [ -1, %35 ], [ %43, %39 ]
%47 = phi i32 [ 1, %37 ], [ 1, %35 ], [ %44, %39 ]
%48 = ashr i32 %26, 1
%49 = add i32 %15, 1
%50 = icmp eq i32 %49, %2
br i1 %50, label %51, label %11, !llvm.loop !10
51: ; preds = %45, %3
%52 = phi i32 [ %7, %3 ], [ %46, %45 ]
%53 = icmp sgt i32 %52, -1
br i1 %53, label %54, label %60
54: ; preds = %51
%55 = icmp ult i32 %52, 127
br i1 %55, label %56, label %58
56: ; preds = %54
%57 = tail call i32 (ptr, ptr, i32, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %52) #3
br label %60
58: ; preds = %54
%59 = tail call i32 @seq_puts(ptr noundef %0, ptr noundef nonnull @.str.3) #3
br label %60
60: ; preds = %56, %58, %51
ret void
}
declare i32 @seq_printf(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @seq_puts(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.cttz.i32(i32, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_arch_ia64_kernel_extr_palinfo.c_bitregister_process |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/sys/extr_t_minherit.c_makemap.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/sys/extr_t_minherit.c_makemap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@page = dso_local local_unnamed_addr global i32 0, align 4
@PROT_READ = dso_local local_unnamed_addr global i32 0, align 4
@PROT_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@MAP_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@MAP_ANON = dso_local local_unnamed_addr global i32 0, align 4
@MAP_FAILED = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @makemap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @makemap(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @page, align 4, !tbaa !5
%4 = load i32, ptr @PROT_READ, align 4, !tbaa !5
%5 = load i32, ptr @PROT_WRITE, align 4, !tbaa !5
%6 = or i32 %5, %4
%7 = load i32, ptr @MAP_SHARED, align 4, !tbaa !5
%8 = load i32, ptr @MAP_ANON, align 4, !tbaa !5
%9 = or i32 %8, %7
%10 = tail call ptr @mmap(ptr noundef null, i32 noundef %3, i32 noundef %6, i32 noundef %9, i32 noundef -1, i32 noundef 0) #2
%11 = load ptr, ptr @MAP_FAILED, align 8, !tbaa !9
%12 = icmp ne ptr %10, %11
%13 = zext i1 %12 to i32
%14 = tail call i32 @ATF_REQUIRE(i32 noundef %13) #2
%15 = load i32, ptr @page, align 4, !tbaa !5
%16 = tail call i32 @memset(ptr noundef %10, i32 noundef %0, i32 noundef %15) #2
%17 = icmp eq i32 %1, 666
%18 = load i32, ptr @page, align 4, !tbaa !5
%19 = sext i1 %17 to i32
%20 = tail call i32 @minherit(ptr noundef %10, i32 noundef %18, i32 noundef %1) #2
%21 = icmp eq i32 %20, %19
%22 = zext i1 %21 to i32
%23 = tail call i32 @ATF_REQUIRE(i32 noundef %22) #2
ret ptr %10
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ATF_REQUIRE(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @minherit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/sys/extr_t_minherit.c_makemap.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/sys/extr_t_minherit.c_makemap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@page = common local_unnamed_addr global i32 0, align 4
@PROT_READ = common local_unnamed_addr global i32 0, align 4
@PROT_WRITE = common local_unnamed_addr global i32 0, align 4
@MAP_SHARED = common local_unnamed_addr global i32 0, align 4
@MAP_ANON = common local_unnamed_addr global i32 0, align 4
@MAP_FAILED = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @makemap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @makemap(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @page, align 4, !tbaa !6
%4 = load i32, ptr @PROT_READ, align 4, !tbaa !6
%5 = load i32, ptr @PROT_WRITE, align 4, !tbaa !6
%6 = or i32 %5, %4
%7 = load i32, ptr @MAP_SHARED, align 4, !tbaa !6
%8 = load i32, ptr @MAP_ANON, align 4, !tbaa !6
%9 = or i32 %8, %7
%10 = tail call ptr @mmap(ptr noundef null, i32 noundef %3, i32 noundef %6, i32 noundef %9, i32 noundef -1, i32 noundef 0) #2
%11 = load ptr, ptr @MAP_FAILED, align 8, !tbaa !10
%12 = icmp ne ptr %10, %11
%13 = zext i1 %12 to i32
%14 = tail call i32 @ATF_REQUIRE(i32 noundef %13) #2
%15 = load i32, ptr @page, align 4, !tbaa !6
%16 = tail call i32 @memset(ptr noundef %10, i32 noundef %0, i32 noundef %15) #2
%17 = icmp eq i32 %1, 666
%18 = load i32, ptr @page, align 4, !tbaa !6
%19 = sext i1 %17 to i32
%20 = tail call i32 @minherit(ptr noundef %10, i32 noundef %18, i32 noundef %1) #2
%21 = icmp eq i32 %20, %19
%22 = zext i1 %21 to i32
%23 = tail call i32 @ATF_REQUIRE(i32 noundef %22) #2
ret ptr %10
}
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ATF_REQUIRE(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @minherit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_netbsd-tests_lib_libc_sys_extr_t_minherit.c_makemap |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/oss/extr_ad1848.c_ad_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/oss/extr_ad1848.c_ad_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i8, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ad_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ad_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
br label %4
4: ; preds = %4, %2
%5 = phi i32 [ 900000, %2 ], [ %9, %4 ]
%6 = load i32, ptr %3, align 4, !tbaa !5
%7 = tail call i32 @inb(i32 noundef %6) #2
%8 = icmp eq i32 %7, 128
%9 = add nsw i32 %5, -1
%10 = icmp ugt i32 %5, 1
%11 = select i1 %8, i1 %10, i1 false
br i1 %11, label %4, label %12, !llvm.loop !10
12: ; preds = %4
%13 = icmp slt i32 %1, 32
br i1 %13, label %14, label %20
14: ; preds = %12
%15 = load i8, ptr %0, align 4, !tbaa !12
%16 = trunc i32 %1 to i8
%17 = or i8 %15, %16
%18 = tail call i32 @io_Index_Addr(ptr noundef nonnull %0) #2
%19 = tail call i32 @outb(i8 noundef zeroext %17, i32 noundef %18) #2
br label %33
20: ; preds = %12
%21 = shl i32 %1, 4
%22 = lshr i32 %1, 2
%23 = and i32 %22, 4
%24 = or disjoint i32 %23, %21
%25 = load i8, ptr %0, align 4, !tbaa !12
%26 = or i8 %25, 23
%27 = tail call i32 @io_Index_Addr(ptr noundef nonnull %0) #2
%28 = tail call i32 @outb(i8 noundef zeroext %26, i32 noundef %27) #2
%29 = trunc i32 %24 to i8
%30 = or disjoint i8 %29, 8
%31 = tail call i32 @io_Indexed_Data(ptr noundef nonnull %0) #2
%32 = tail call i32 @outb(i8 noundef zeroext %30, i32 noundef %31) #2
br label %33
33: ; preds = %20, %14
%34 = tail call i32 @io_Indexed_Data(ptr noundef nonnull %0) #2
%35 = tail call i32 @inb(i32 noundef %34) #2
ret i32 %35
}
declare i32 @inb(i32 noundef) local_unnamed_addr #1
declare i32 @outb(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i32 @io_Index_Addr(ptr noundef) local_unnamed_addr #1
declare i32 @io_Indexed_Data(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 4}
!6 = !{!"TYPE_5__", !7, i64 0, !9, i64 4}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/oss/extr_ad1848.c_ad_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/oss/extr_ad1848.c_ad_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ad_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ad_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
br label %4
4: ; preds = %4, %2
%5 = phi i32 [ 900000, %2 ], [ %9, %4 ]
%6 = load i32, ptr %3, align 4, !tbaa !6
%7 = tail call i32 @inb(i32 noundef %6) #2
%8 = icmp eq i32 %7, 128
%9 = add nsw i32 %5, -1
%10 = icmp ugt i32 %5, 1
%11 = select i1 %8, i1 %10, i1 false
br i1 %11, label %4, label %12, !llvm.loop !11
12: ; preds = %4
%13 = icmp slt i32 %1, 32
br i1 %13, label %14, label %20
14: ; preds = %12
%15 = load i8, ptr %0, align 4, !tbaa !13
%16 = trunc i32 %1 to i8
%17 = or i8 %15, %16
%18 = tail call i32 @io_Index_Addr(ptr noundef nonnull %0) #2
%19 = tail call i32 @outb(i8 noundef zeroext %17, i32 noundef %18) #2
br label %33
20: ; preds = %12
%21 = shl i32 %1, 4
%22 = lshr i32 %1, 2
%23 = and i32 %22, 4
%24 = or disjoint i32 %23, %21
%25 = load i8, ptr %0, align 4, !tbaa !13
%26 = or i8 %25, 23
%27 = tail call i32 @io_Index_Addr(ptr noundef nonnull %0) #2
%28 = tail call i32 @outb(i8 noundef zeroext %26, i32 noundef %27) #2
%29 = trunc i32 %24 to i8
%30 = or disjoint i8 %29, 8
%31 = tail call i32 @io_Indexed_Data(ptr noundef nonnull %0) #2
%32 = tail call i32 @outb(i8 noundef zeroext %30, i32 noundef %31) #2
br label %33
33: ; preds = %20, %14
%34 = tail call i32 @io_Indexed_Data(ptr noundef nonnull %0) #2
%35 = tail call i32 @inb(i32 noundef %34) #2
ret i32 %35
}
declare i32 @inb(i32 noundef) local_unnamed_addr #1
declare i32 @outb(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i32 @io_Index_Addr(ptr noundef) local_unnamed_addr #1
declare i32 @io_Indexed_Data(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 4}
!7 = !{!"TYPE_5__", !8, i64 0, !10, i64 4}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !8, i64 0}
| fastsocket_kernel_sound_oss_extr_ad1848.c_ad_read |
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_devconnect.c_wusb_dev_bos_grok.c'
source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_devconnect.c_wusb_dev_bos_grok.c"
target datalayout = "e-m:e-p270:32:32-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.usb_dev_cap_header = type { i64, i32 }
@.str = private unnamed_addr constant [83 x i8] c"Device BUG? premature end of BOS header data [offset 0x%02x]: only %zu bytes left\0A\00", align 1
@ENOSPC = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [95 x i8] c"Device BUG? premature end of BOS data [offset 0x%02x cap %02x %zu bytes]: only %zu bytes left\0A\00", align 1
@EBADF = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [67 x i8] c"Device BUG? WUSB Capability descriptor is %zu bytes vs %zu needed\0A\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c"BUG? Unknown BOS capability 0x%02x (%zu bytes) at offset 0x%02x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @wusb_dev_bos_grok], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wusb_dev_bos_grok(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %2, i64 %3
%6 = icmp sgt i64 %3, 4
br i1 %6, label %7, label %51
7: ; preds = %4
%8 = getelementptr inbounds i8, ptr %2, i64 4
%9 = ptrtoint ptr %5 to i64
%10 = ptrtoint ptr %2 to i64
br label %11
11: ; preds = %7, %48
%12 = phi ptr [ %8, %7 ], [ %49, %48 ]
%13 = ptrtoint ptr %12 to i64
%14 = sub i64 %9, %13
%15 = icmp ult i64 %14, 16
br i1 %15, label %16, label %22
16: ; preds = %11
%17 = sub i64 %13, %10
%18 = trunc i64 %17 to i32
%19 = tail call i32 (ptr, ptr, i32, i64, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %18, i64 noundef %14) #2
%20 = load i32, ptr @ENOSPC, align 4, !tbaa !5
%21 = sub nsw i32 0, %20
br label %51
22: ; preds = %11
%23 = load i64, ptr %12, align 8, !tbaa !9
%24 = getelementptr inbounds %struct.usb_dev_cap_header, ptr %12, i64 0, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !12
%26 = icmp eq i64 %23, 0
br i1 %26, label %51, label %27
27: ; preds = %22
%28 = icmp ugt i64 %23, %14
br i1 %28, label %29, label %36
29: ; preds = %27
%30 = sub i64 %13, %10
%31 = trunc i64 %30 to i32
%32 = sext i32 %25 to i64
%33 = tail call i32 (ptr, ptr, i32, i64, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %31, i64 noundef %32, i64 noundef %23, i64 noundef %14) #2
%34 = load i32, ptr @EBADF, align 4, !tbaa !5
%35 = sub nsw i32 0, %34
br label %51
36: ; preds = %27
%37 = icmp eq i32 %25, 128
br i1 %37, label %38, label %44
38: ; preds = %36
%39 = icmp eq i64 %23, 1
br i1 %39, label %43, label %40
40: ; preds = %38
%41 = trunc i64 %23 to i32
%42 = tail call i32 (ptr, ptr, i32, i64, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %41, i64 noundef 1) #2
br label %48
43: ; preds = %38
store ptr %12, ptr %1, align 8, !tbaa !13
br label %48
44: ; preds = %36
%45 = sub i64 %13, %10
%46 = trunc i64 %45 to i32
%47 = tail call i32 (ptr, ptr, i32, i64, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %25, i64 noundef %23, i32 noundef %46) #2
br label %48
48: ; preds = %44, %43, %40
%49 = getelementptr inbounds i8, ptr %12, i64 %23
%50 = icmp ult ptr %49, %5
br i1 %50, label %11, label %51
51: ; preds = %48, %22, %4, %29, %16
%52 = phi i32 [ %35, %29 ], [ %21, %16 ], [ 0, %4 ], [ 0, %22 ], [ 0, %48 ]
ret i32 %52
}
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"usb_dev_cap_header", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"wusb_dev", !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_devconnect.c_wusb_dev_bos_grok.c'
source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_devconnect.c_wusb_dev_bos_grok.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 [83 x i8] c"Device BUG? premature end of BOS header data [offset 0x%02x]: only %zu bytes left\0A\00", align 1
@ENOSPC = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [95 x i8] c"Device BUG? premature end of BOS data [offset 0x%02x cap %02x %zu bytes]: only %zu bytes left\0A\00", align 1
@EBADF = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [67 x i8] c"Device BUG? WUSB Capability descriptor is %zu bytes vs %zu needed\0A\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c"BUG? Unknown BOS capability 0x%02x (%zu bytes) at offset 0x%02x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @wusb_dev_bos_grok], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wusb_dev_bos_grok(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %2, i64 %3
%6 = icmp sgt i64 %3, 4
br i1 %6, label %7, label %51
7: ; preds = %4
%8 = getelementptr inbounds i8, ptr %2, i64 4
%9 = ptrtoint ptr %5 to i64
%10 = ptrtoint ptr %2 to i64
br label %11
11: ; preds = %7, %48
%12 = phi ptr [ %8, %7 ], [ %49, %48 ]
%13 = ptrtoint ptr %12 to i64
%14 = sub i64 %9, %13
%15 = icmp ult i64 %14, 16
br i1 %15, label %16, label %22
16: ; preds = %11
%17 = sub i64 %13, %10
%18 = trunc i64 %17 to i32
%19 = tail call i32 (ptr, ptr, i32, i64, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %18, i64 noundef %14) #2
%20 = load i32, ptr @ENOSPC, align 4, !tbaa !6
%21 = sub nsw i32 0, %20
br label %51
22: ; preds = %11
%23 = load i64, ptr %12, align 8, !tbaa !10
%24 = getelementptr inbounds i8, ptr %12, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !13
%26 = icmp eq i64 %23, 0
br i1 %26, label %51, label %27
27: ; preds = %22
%28 = icmp ugt i64 %23, %14
br i1 %28, label %29, label %36
29: ; preds = %27
%30 = sub i64 %13, %10
%31 = trunc i64 %30 to i32
%32 = sext i32 %25 to i64
%33 = tail call i32 (ptr, ptr, i32, i64, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %31, i64 noundef %32, i64 noundef %23, i64 noundef %14) #2
%34 = load i32, ptr @EBADF, align 4, !tbaa !6
%35 = sub nsw i32 0, %34
br label %51
36: ; preds = %27
%37 = icmp eq i32 %25, 128
br i1 %37, label %38, label %44
38: ; preds = %36
%39 = icmp eq i64 %23, 1
br i1 %39, label %43, label %40
40: ; preds = %38
%41 = trunc i64 %23 to i32
%42 = tail call i32 (ptr, ptr, i32, i64, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %41, i64 noundef 1) #2
br label %48
43: ; preds = %38
store ptr %12, ptr %1, align 8, !tbaa !14
br label %48
44: ; preds = %36
%45 = sub i64 %13, %10
%46 = trunc i64 %45 to i32
%47 = tail call i32 (ptr, ptr, i32, i64, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %25, i64 noundef %23, i32 noundef %46) #2
br label %48
48: ; preds = %44, %43, %40
%49 = getelementptr inbounds i8, ptr %12, i64 %23
%50 = icmp ult ptr %49, %5
br i1 %50, label %11, label %51
51: ; preds = %48, %22, %4, %29, %16
%52 = phi i32 [ %35, %29 ], [ %21, %16 ], [ 0, %4 ], [ 0, %22 ], [ 0, %48 ]
ret i32 %52
}
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"usb_dev_cap_header", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"wusb_dev", !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
| linux_drivers_staging_wusbcore_extr_devconnect.c_wusb_dev_bos_grok |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tegra/extr_sor.c_tegra_sor_hdmi_setup_avi_infoframe.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/tegra/extr_sor.c_tegra_sor_hdmi_setup_avi_infoframe.c"
target datalayout = "e-m:e-p270:32:32-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.hdmi_avi_infoframe = type { i32 }
%struct.tegra_sor = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@AVI = dso_local local_unnamed_addr global i32 0, align 4
@SOR_HDMI_AVI_INFOFRAME_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@INFOFRAME_CTRL_SINGLE = dso_local local_unnamed_addr global i32 0, align 4
@INFOFRAME_CTRL_OTHER = dso_local local_unnamed_addr global i32 0, align 4
@INFOFRAME_CTRL_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"failed to setup AVI infoframe: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"failed to pack AVI infoframe: %d\0A\00", align 1
@INFOFRAME_CTRL_CHECKSUM_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tegra_sor_hdmi_setup_avi_infoframe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tegra_sor_hdmi_setup_avi_infoframe(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.hdmi_avi_infoframe, align 4
%4 = load i32, ptr @AVI, align 4, !tbaa !5
%5 = tail call i32 @HDMI_INFOFRAME_SIZE(i32 noundef %4) #3
%6 = zext i32 %5 to i64
%7 = alloca i32, i64 %6, align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%8 = load i32, ptr @SOR_HDMI_AVI_INFOFRAME_CTRL, align 4, !tbaa !5
%9 = tail call i32 @tegra_sor_readl(ptr noundef %0, i32 noundef %8) #3
%10 = load i32, ptr @INFOFRAME_CTRL_SINGLE, align 4, !tbaa !5
%11 = load i32, ptr @INFOFRAME_CTRL_OTHER, align 4, !tbaa !5
%12 = or i32 %11, %10
%13 = load i32, ptr @INFOFRAME_CTRL_ENABLE, align 4, !tbaa !5
%14 = or i32 %12, %13
%15 = xor i32 %14, -1
%16 = and i32 %9, %15
%17 = load i32, ptr @SOR_HDMI_AVI_INFOFRAME_CTRL, align 4, !tbaa !5
%18 = tail call i32 @tegra_sor_writel(ptr noundef %0, i32 noundef %16, i32 noundef %17) #3
%19 = getelementptr inbounds %struct.tegra_sor, ptr %0, i64 0, i32 1
%20 = call i32 @drm_hdmi_avi_infoframe_from_display_mode(ptr noundef nonnull %3, ptr noundef nonnull %19, ptr noundef %1) #3
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %2
%23 = load i32, ptr %0, align 4, !tbaa !9
%24 = call i32 @dev_err(i32 noundef %23, ptr noundef nonnull @.str, i32 noundef %20) #3
br label %42
25: ; preds = %2
%26 = shl i32 %5, 2
%27 = call i32 @hdmi_avi_infoframe_pack(ptr noundef nonnull %3, ptr noundef nonnull %7, i32 noundef %26) #3
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load i32, ptr %0, align 4, !tbaa !9
%31 = call i32 @dev_err(i32 noundef %30, ptr noundef nonnull @.str.1, i32 noundef %27) #3
br label %42
32: ; preds = %25
%33 = call i32 @tegra_sor_hdmi_write_infopack(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %27) #3
%34 = load i32, ptr @SOR_HDMI_AVI_INFOFRAME_CTRL, align 4, !tbaa !5
%35 = call i32 @tegra_sor_readl(ptr noundef %0, i32 noundef %34) #3
%36 = load i32, ptr @INFOFRAME_CTRL_CHECKSUM_ENABLE, align 4, !tbaa !5
%37 = or i32 %36, %35
%38 = load i32, ptr @INFOFRAME_CTRL_ENABLE, align 4, !tbaa !5
%39 = or i32 %37, %38
%40 = load i32, ptr @SOR_HDMI_AVI_INFOFRAME_CTRL, align 4, !tbaa !5
%41 = call i32 @tegra_sor_writel(ptr noundef %0, i32 noundef %39, i32 noundef %40) #3
br label %42
42: ; preds = %32, %29, %22
%43 = phi i32 [ %20, %22 ], [ %27, %29 ], [ 0, %32 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %43
}
declare i32 @HDMI_INFOFRAME_SIZE(i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @tegra_sor_readl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tegra_sor_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @drm_hdmi_avi_infoframe_from_display_mode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hdmi_avi_infoframe_pack(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tegra_sor_hdmi_write_infopack(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"tegra_sor", !6, i64 0, !11, i64 4}
!11 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tegra/extr_sor.c_tegra_sor_hdmi_setup_avi_infoframe.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/tegra/extr_sor.c_tegra_sor_hdmi_setup_avi_infoframe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hdmi_avi_infoframe = type { i32 }
@AVI = common local_unnamed_addr global i32 0, align 4
@SOR_HDMI_AVI_INFOFRAME_CTRL = common local_unnamed_addr global i32 0, align 4
@INFOFRAME_CTRL_SINGLE = common local_unnamed_addr global i32 0, align 4
@INFOFRAME_CTRL_OTHER = common local_unnamed_addr global i32 0, align 4
@INFOFRAME_CTRL_ENABLE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"failed to setup AVI infoframe: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"failed to pack AVI infoframe: %d\0A\00", align 1
@INFOFRAME_CTRL_CHECKSUM_ENABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tegra_sor_hdmi_setup_avi_infoframe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @tegra_sor_hdmi_setup_avi_infoframe(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.hdmi_avi_infoframe, align 4
%4 = load i32, ptr @AVI, align 4, !tbaa !6
%5 = tail call i32 @HDMI_INFOFRAME_SIZE(i32 noundef %4) #3
%6 = zext i32 %5 to i64
%7 = alloca i32, i64 %6, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%8 = load i32, ptr @SOR_HDMI_AVI_INFOFRAME_CTRL, align 4, !tbaa !6
%9 = tail call i32 @tegra_sor_readl(ptr noundef %0, i32 noundef %8) #3
%10 = load i32, ptr @INFOFRAME_CTRL_SINGLE, align 4, !tbaa !6
%11 = load i32, ptr @INFOFRAME_CTRL_OTHER, align 4, !tbaa !6
%12 = or i32 %11, %10
%13 = load i32, ptr @INFOFRAME_CTRL_ENABLE, align 4, !tbaa !6
%14 = or i32 %12, %13
%15 = xor i32 %14, -1
%16 = and i32 %9, %15
%17 = load i32, ptr @SOR_HDMI_AVI_INFOFRAME_CTRL, align 4, !tbaa !6
%18 = tail call i32 @tegra_sor_writel(ptr noundef %0, i32 noundef %16, i32 noundef %17) #3
%19 = getelementptr inbounds i8, ptr %0, i64 4
%20 = call i32 @drm_hdmi_avi_infoframe_from_display_mode(ptr noundef nonnull %3, ptr noundef nonnull %19, ptr noundef %1) #3
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %2
%23 = load i32, ptr %0, align 4, !tbaa !10
%24 = call i32 @dev_err(i32 noundef %23, ptr noundef nonnull @.str, i32 noundef %20) #3
br label %42
25: ; preds = %2
%26 = shl i32 %5, 2
%27 = call i32 @hdmi_avi_infoframe_pack(ptr noundef nonnull %3, ptr noundef nonnull %7, i32 noundef %26) #3
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load i32, ptr %0, align 4, !tbaa !10
%31 = call i32 @dev_err(i32 noundef %30, ptr noundef nonnull @.str.1, i32 noundef %27) #3
br label %42
32: ; preds = %25
%33 = call i32 @tegra_sor_hdmi_write_infopack(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %27) #3
%34 = load i32, ptr @SOR_HDMI_AVI_INFOFRAME_CTRL, align 4, !tbaa !6
%35 = call i32 @tegra_sor_readl(ptr noundef %0, i32 noundef %34) #3
%36 = load i32, ptr @INFOFRAME_CTRL_CHECKSUM_ENABLE, align 4, !tbaa !6
%37 = or i32 %36, %35
%38 = load i32, ptr @INFOFRAME_CTRL_ENABLE, align 4, !tbaa !6
%39 = or i32 %37, %38
%40 = load i32, ptr @SOR_HDMI_AVI_INFOFRAME_CTRL, align 4, !tbaa !6
%41 = call i32 @tegra_sor_writel(ptr noundef %0, i32 noundef %39, i32 noundef %40) #3
br label %42
42: ; preds = %32, %29, %22
%43 = phi i32 [ %20, %22 ], [ %27, %29 ], [ 0, %32 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %43
}
declare i32 @HDMI_INFOFRAME_SIZE(i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @tegra_sor_readl(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tegra_sor_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @drm_hdmi_avi_infoframe_from_display_mode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hdmi_avi_infoframe_pack(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tegra_sor_hdmi_write_infopack(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"tegra_sor", !7, i64 0, !12, i64 4}
!12 = !{!"TYPE_2__", !7, i64 0}
| linux_drivers_gpu_drm_tegra_extr_sor.c_tegra_sor_hdmi_setup_avi_infoframe |
; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/arch/i386/extr_pcdisk.c_PcDiskGetCacheableBlockCount.c'
source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/arch/i386/extr_pcdisk.c_PcDiskGetCacheableBlockCount.c"
target datalayout = "e-m:e-p270:32:32-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 }
; Function Attrs: nounwind uwtable
define dso_local i32 @PcDiskGetCacheableBlockCount(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_3__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i64 @DiskInt13ExtensionsSupported(i32 noundef %0) #3
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = call i32 @PcDiskGetDriveGeometry(i32 noundef %0, ptr noundef nonnull %2) #3
%7 = icmp eq i32 %6, 0
%8 = load i32, ptr %2, align 4
%9 = select i1 %7, i32 1, i32 %8
br label %10
10: ; preds = %5, %1
%11 = phi i32 [ 64, %1 ], [ %9, %5 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 i64 @DiskInt13ExtensionsSupported(i32 noundef) local_unnamed_addr #2
declare i32 @PcDiskGetDriveGeometry(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)"}
| ; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/arch/i386/extr_pcdisk.c_PcDiskGetCacheableBlockCount.c'
source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/arch/i386/extr_pcdisk.c_PcDiskGetCacheableBlockCount.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @PcDiskGetCacheableBlockCount(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_3__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i64 @DiskInt13ExtensionsSupported(i32 noundef %0) #3
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %1
%6 = call i32 @PcDiskGetDriveGeometry(i32 noundef %0, ptr noundef nonnull %2) #3
%7 = icmp eq i32 %6, 0
%8 = load i32, ptr %2, align 4
%9 = select i1 %7, i32 1, i32 %8
br label %10
10: ; preds = %5, %1
%11 = phi i32 [ 64, %1 ], [ %9, %5 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 i64 @DiskInt13ExtensionsSupported(i32 noundef) local_unnamed_addr #2
declare i32 @PcDiskGetDriveGeometry(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)"}
| reactos_boot_freeldr_freeldr_arch_i386_extr_pcdisk.c_PcDiskGetCacheableBlockCount |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_infttrace.c_call_ptrace.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_infttrace.c_call_ptrace.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TT_NIL = dso_local local_unnamed_addr global i32 0, align 4
@TT_PROC_RDTEXT = dso_local local_unnamed_addr global i32 0, align 4
@TT_PROC_RDDATA = dso_local local_unnamed_addr global i32 0, align 4
@TT_PROC_ATTACH = dso_local local_unnamed_addr global i32 0, align 4
@TT_VERSION = dso_local local_unnamed_addr global i32 0, align 4
@TT_PROC_DETACH = dso_local local_unnamed_addr global i32 0, align 4
@TT_PROC_WRTEXT = dso_local local_unnamed_addr global i32 0, align 4
@TT_PROC_WRDATA = dso_local local_unnamed_addr global i32 0, align 4
@TT_PROC_CONTINUE = dso_local local_unnamed_addr global i32 0, align 4
@TT_LWP_SINGLE = dso_local local_unnamed_addr global i32 0, align 4
@TT_PROC_EXIT = dso_local local_unnamed_addr global i32 0, align 4
@TT_PROC_GET_PATHNAME = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @call_ptrace(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %3, ptr %5, align 4, !tbaa !5
%8 = load i32, ptr @TT_NIL, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
switch i32 %0, label %66 [
i32 134, label %9
i32 135, label %11
i32 128, label %16
i32 136, label %18
i32 137, label %26
i32 144, label %34
i32 142, label %40
i32 130, label %42
i32 131, label %46
i32 138, label %50
i32 139, label %52
i32 129, label %54
i32 132, label %56
i32 143, label %58
i32 133, label %60
i32 140, label %62
i32 141, label %64
]
9: ; preds = %4
%10 = tail call i32 @parent_attach_all(i32 noundef 0, i32 noundef 0, i32 noundef 0) #3
br label %71
11: ; preds = %4
%12 = call i32 @read_from_register_save_state(i32 noundef %1, i32 noundef %2, ptr noundef nonnull %6, i32 noundef 4) #3
%13 = icmp slt i32 %12, 0
%14 = load i32, ptr %6, align 4
%15 = select i1 %13, i32 %12, i32 %14
br label %71
16: ; preds = %4
store i32 %3, ptr %6, align 4, !tbaa !5
%17 = call i32 @write_to_register_save_state(i32 noundef %1, i32 noundef %2, ptr noundef nonnull %6, i32 noundef 4) #3
br label %71
18: ; preds = %4
%19 = load i32, ptr @TT_PROC_RDTEXT, align 4, !tbaa !5
%20 = ptrtoint ptr %7 to i64
%21 = trunc i64 %20 to i32
%22 = call i32 @call_ttrace(i32 noundef %19, i32 noundef %1, i32 noundef %2, i32 noundef 4, i32 noundef %21) #3
%23 = icmp slt i32 %22, 0
%24 = load i32, ptr %7, align 4
%25 = select i1 %23, i32 %22, i32 %24
br label %71
26: ; preds = %4
%27 = load i32, ptr @TT_PROC_RDDATA, align 4, !tbaa !5
%28 = ptrtoint ptr %7 to i64
%29 = trunc i64 %28 to i32
%30 = call i32 @call_ttrace(i32 noundef %27, i32 noundef %1, i32 noundef %2, i32 noundef 4, i32 noundef %29) #3
%31 = icmp slt i32 %30, 0
%32 = load i32, ptr %7, align 4
%33 = select i1 %31, i32 %30, i32 %32
br label %71
34: ; preds = %4
%35 = load i32, ptr @TT_PROC_ATTACH, align 4, !tbaa !5
%36 = tail call i32 @map_from_gdb_tid(i32 noundef %1) #3
%37 = load i32, ptr @TT_NIL, align 4, !tbaa !5
%38 = load i32, ptr @TT_VERSION, align 4, !tbaa !5
%39 = tail call i32 @call_real_ttrace(i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %2, i32 noundef %38, i32 noundef %8) #3
br label %71
40: ; preds = %4
%41 = load i32, ptr @TT_PROC_DETACH, align 4, !tbaa !5
br label %66
42: ; preds = %4
%43 = load i32, ptr @TT_PROC_WRTEXT, align 4, !tbaa !5
%44 = ptrtoint ptr %5 to i64
%45 = trunc i64 %44 to i32
br label %66
46: ; preds = %4
%47 = load i32, ptr @TT_PROC_WRDATA, align 4, !tbaa !5
%48 = ptrtoint ptr %5 to i64
%49 = trunc i64 %48 to i32
br label %66
50: ; preds = %4
%51 = load i32, ptr @TT_PROC_RDTEXT, align 4, !tbaa !5
br label %66
52: ; preds = %4
%53 = load i32, ptr @TT_PROC_RDDATA, align 4, !tbaa !5
br label %66
54: ; preds = %4
%55 = load i32, ptr @TT_PROC_WRTEXT, align 4, !tbaa !5
br label %66
56: ; preds = %4
%57 = load i32, ptr @TT_PROC_WRDATA, align 4, !tbaa !5
br label %66
58: ; preds = %4
%59 = load i32, ptr @TT_PROC_CONTINUE, align 4, !tbaa !5
br label %66
60: ; preds = %4
%61 = load i32, ptr @TT_LWP_SINGLE, align 4, !tbaa !5
br label %66
62: ; preds = %4
%63 = load i32, ptr @TT_PROC_EXIT, align 4, !tbaa !5
br label %66
64: ; preds = %4
%65 = load i32, ptr @TT_PROC_GET_PATHNAME, align 4, !tbaa !5
br label %66
66: ; preds = %4, %64, %62, %60, %58, %56, %54, %52, %50, %46, %42, %40
%67 = phi i32 [ %65, %64 ], [ %63, %62 ], [ %61, %60 ], [ %59, %58 ], [ %57, %56 ], [ %55, %54 ], [ %53, %52 ], [ %51, %50 ], [ %47, %46 ], [ %43, %42 ], [ %41, %40 ], [ %0, %4 ]
%68 = phi i32 [ %3, %64 ], [ %3, %62 ], [ %3, %60 ], [ %3, %58 ], [ %3, %56 ], [ %3, %54 ], [ %3, %52 ], [ %3, %50 ], [ 4, %46 ], [ 4, %42 ], [ %3, %40 ], [ %3, %4 ]
%69 = phi i32 [ %8, %64 ], [ %8, %62 ], [ %8, %60 ], [ %8, %58 ], [ %8, %56 ], [ %8, %54 ], [ %8, %52 ], [ %8, %50 ], [ %49, %46 ], [ %45, %42 ], [ %8, %40 ], [ %8, %4 ]
%70 = call i32 @call_ttrace(i32 noundef %67, i32 noundef %1, i32 noundef %2, i32 noundef %68, i32 noundef %69) #3
br label %71
71: ; preds = %26, %18, %11, %34, %66, %16, %9
%72 = phi i32 [ %70, %66 ], [ %17, %16 ], [ %10, %9 ], [ %39, %34 ], [ %15, %11 ], [ %25, %18 ], [ %33, %26 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %72
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @parent_attach_all(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @read_from_register_save_state(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @write_to_register_save_state(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @call_ttrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @call_real_ttrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @map_from_gdb_tid(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_infttrace.c_call_ptrace.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_infttrace.c_call_ptrace.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TT_NIL = common local_unnamed_addr global i32 0, align 4
@TT_PROC_RDTEXT = common local_unnamed_addr global i32 0, align 4
@TT_PROC_RDDATA = common local_unnamed_addr global i32 0, align 4
@TT_PROC_ATTACH = common local_unnamed_addr global i32 0, align 4
@TT_VERSION = common local_unnamed_addr global i32 0, align 4
@TT_PROC_DETACH = common local_unnamed_addr global i32 0, align 4
@TT_PROC_WRTEXT = common local_unnamed_addr global i32 0, align 4
@TT_PROC_WRDATA = common local_unnamed_addr global i32 0, align 4
@TT_PROC_CONTINUE = common local_unnamed_addr global i32 0, align 4
@TT_LWP_SINGLE = common local_unnamed_addr global i32 0, align 4
@TT_PROC_EXIT = common local_unnamed_addr global i32 0, align 4
@TT_PROC_GET_PATHNAME = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @call_ptrace(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %3, ptr %5, align 4, !tbaa !6
%8 = load i32, ptr @TT_NIL, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
switch i32 %0, label %66 [
i32 134, label %9
i32 135, label %11
i32 128, label %16
i32 136, label %18
i32 137, label %26
i32 144, label %34
i32 142, label %40
i32 130, label %42
i32 131, label %46
i32 138, label %50
i32 139, label %52
i32 129, label %54
i32 132, label %56
i32 143, label %58
i32 133, label %60
i32 140, label %62
i32 141, label %64
]
9: ; preds = %4
%10 = tail call i32 @parent_attach_all(i32 noundef 0, i32 noundef 0, i32 noundef 0) #3
br label %71
11: ; preds = %4
%12 = call i32 @read_from_register_save_state(i32 noundef %1, i32 noundef %2, ptr noundef nonnull %6, i32 noundef 4) #3
%13 = icmp slt i32 %12, 0
%14 = load i32, ptr %6, align 4
%15 = select i1 %13, i32 %12, i32 %14
br label %71
16: ; preds = %4
store i32 %3, ptr %6, align 4, !tbaa !6
%17 = call i32 @write_to_register_save_state(i32 noundef %1, i32 noundef %2, ptr noundef nonnull %6, i32 noundef 4) #3
br label %71
18: ; preds = %4
%19 = load i32, ptr @TT_PROC_RDTEXT, align 4, !tbaa !6
%20 = ptrtoint ptr %7 to i64
%21 = trunc i64 %20 to i32
%22 = call i32 @call_ttrace(i32 noundef %19, i32 noundef %1, i32 noundef %2, i32 noundef 4, i32 noundef %21) #3
%23 = icmp slt i32 %22, 0
%24 = load i32, ptr %7, align 4
%25 = select i1 %23, i32 %22, i32 %24
br label %71
26: ; preds = %4
%27 = load i32, ptr @TT_PROC_RDDATA, align 4, !tbaa !6
%28 = ptrtoint ptr %7 to i64
%29 = trunc i64 %28 to i32
%30 = call i32 @call_ttrace(i32 noundef %27, i32 noundef %1, i32 noundef %2, i32 noundef 4, i32 noundef %29) #3
%31 = icmp slt i32 %30, 0
%32 = load i32, ptr %7, align 4
%33 = select i1 %31, i32 %30, i32 %32
br label %71
34: ; preds = %4
%35 = load i32, ptr @TT_PROC_ATTACH, align 4, !tbaa !6
%36 = tail call i32 @map_from_gdb_tid(i32 noundef %1) #3
%37 = load i32, ptr @TT_NIL, align 4, !tbaa !6
%38 = load i32, ptr @TT_VERSION, align 4, !tbaa !6
%39 = tail call i32 @call_real_ttrace(i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %2, i32 noundef %38, i32 noundef %8) #3
br label %71
40: ; preds = %4
%41 = load i32, ptr @TT_PROC_DETACH, align 4, !tbaa !6
br label %66
42: ; preds = %4
%43 = load i32, ptr @TT_PROC_WRTEXT, align 4, !tbaa !6
%44 = ptrtoint ptr %5 to i64
%45 = trunc i64 %44 to i32
br label %66
46: ; preds = %4
%47 = load i32, ptr @TT_PROC_WRDATA, align 4, !tbaa !6
%48 = ptrtoint ptr %5 to i64
%49 = trunc i64 %48 to i32
br label %66
50: ; preds = %4
%51 = load i32, ptr @TT_PROC_RDTEXT, align 4, !tbaa !6
br label %66
52: ; preds = %4
%53 = load i32, ptr @TT_PROC_RDDATA, align 4, !tbaa !6
br label %66
54: ; preds = %4
%55 = load i32, ptr @TT_PROC_WRTEXT, align 4, !tbaa !6
br label %66
56: ; preds = %4
%57 = load i32, ptr @TT_PROC_WRDATA, align 4, !tbaa !6
br label %66
58: ; preds = %4
%59 = load i32, ptr @TT_PROC_CONTINUE, align 4, !tbaa !6
br label %66
60: ; preds = %4
%61 = load i32, ptr @TT_LWP_SINGLE, align 4, !tbaa !6
br label %66
62: ; preds = %4
%63 = load i32, ptr @TT_PROC_EXIT, align 4, !tbaa !6
br label %66
64: ; preds = %4
%65 = load i32, ptr @TT_PROC_GET_PATHNAME, align 4, !tbaa !6
br label %66
66: ; preds = %4, %64, %62, %60, %58, %56, %54, %52, %50, %46, %42, %40
%67 = phi i32 [ %65, %64 ], [ %63, %62 ], [ %61, %60 ], [ %59, %58 ], [ %57, %56 ], [ %55, %54 ], [ %53, %52 ], [ %51, %50 ], [ %47, %46 ], [ %43, %42 ], [ %41, %40 ], [ %0, %4 ]
%68 = phi i32 [ %3, %64 ], [ %3, %62 ], [ %3, %60 ], [ %3, %58 ], [ %3, %56 ], [ %3, %54 ], [ %3, %52 ], [ %3, %50 ], [ 4, %46 ], [ 4, %42 ], [ %3, %40 ], [ %3, %4 ]
%69 = phi i32 [ %8, %64 ], [ %8, %62 ], [ %8, %60 ], [ %8, %58 ], [ %8, %56 ], [ %8, %54 ], [ %8, %52 ], [ %8, %50 ], [ %49, %46 ], [ %45, %42 ], [ %8, %40 ], [ %8, %4 ]
%70 = call i32 @call_ttrace(i32 noundef %67, i32 noundef %1, i32 noundef %2, i32 noundef %68, i32 noundef %69) #3
br label %71
71: ; preds = %26, %18, %11, %34, %66, %16, %9
%72 = phi i32 [ %70, %66 ], [ %17, %16 ], [ %10, %9 ], [ %39, %34 ], [ %15, %11 ], [ %25, %18 ], [ %33, %26 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %72
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @parent_attach_all(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @read_from_register_save_state(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @write_to_register_save_state(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @call_ttrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @call_real_ttrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @map_from_gdb_tid(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_extr_infttrace.c_call_ptrace |
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_form.c_dwarf_whatform.c'
source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_form.c_dwarf_whatform.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
@DW_DLE_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4
@DW_DLV_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@DW_DLV_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dwarf_whatform(ptr noundef readonly %0, ptr noundef writeonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = icmp eq ptr %1, null
br i1 %9, label %10, label %14
10: ; preds = %3, %5
%11 = phi ptr [ %8, %5 ], [ null, %3 ]
%12 = load i32, ptr @DW_DLE_ARGUMENT, align 4, !tbaa !13
%13 = tail call i32 @DWARF_SET_ERROR(ptr noundef %11, ptr noundef %2, i32 noundef %12) #2
br label %16
14: ; preds = %5
%15 = load i32, ptr %0, align 8, !tbaa !14
store i32 %15, ptr %1, align 4, !tbaa !13
br label %16
16: ; preds = %14, %10
%17 = phi ptr [ @DW_DLV_ERROR, %10 ], [ @DW_DLV_OK, %14 ]
%18 = load i32, ptr %17, align 4, !tbaa !13
ret i32 %18
}
declare i32 @DWARF_SET_ERROR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_4__", !10, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_form.c_dwarf_whatform.c'
source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_form.c_dwarf_whatform.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DW_DLE_ARGUMENT = common local_unnamed_addr global i32 0, align 4
@DW_DLV_ERROR = common local_unnamed_addr global i32 0, align 4
@DW_DLV_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dwarf_whatform(ptr noundef readonly %0, ptr noundef writeonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %10, label %5
5: ; preds = %3
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = icmp eq ptr %1, null
br i1 %9, label %10, label %14
10: ; preds = %3, %5
%11 = phi ptr [ %8, %5 ], [ null, %3 ]
%12 = load i32, ptr @DW_DLE_ARGUMENT, align 4, !tbaa !14
%13 = tail call i32 @DWARF_SET_ERROR(ptr noundef %11, ptr noundef %2, i32 noundef %12) #2
br label %16
14: ; preds = %5
%15 = load i32, ptr %0, align 8, !tbaa !15
store i32 %15, ptr %1, align 4, !tbaa !14
br label %16
16: ; preds = %14, %10
%17 = phi ptr [ @DW_DLV_ERROR, %10 ], [ @DW_DLV_OK, %14 ]
%18 = load i32, ptr %17, align 4, !tbaa !14
ret i32 %18
}
declare i32 @DWARF_SET_ERROR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
| freebsd_contrib_elftoolchain_libdwarf_extr_dwarf_form.c_dwarf_whatform |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_rdtgroup.c_update_cpu_closid_rmid.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_rdtgroup.c_update_cpu_closid_rmid.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.rdtgroup = type { %struct.TYPE_3__, i32 }
%struct.TYPE_3__ = type { i32 }
@pqr_state = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @update_cpu_closid_rmid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @update_cpu_closid_rmid(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %11, label %3
3: ; preds = %1
%4 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @pqr_state, i64 0, i32 1), align 4, !tbaa !5
%5 = getelementptr inbounds %struct.rdtgroup, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = tail call i32 @this_cpu_write(i32 noundef %4, i32 noundef %6) #2
%8 = load i32, ptr @pqr_state, align 4, !tbaa !13
%9 = load i32, ptr %0, align 4, !tbaa !14
%10 = tail call i32 @this_cpu_write(i32 noundef %8, i32 noundef %9) #2
br label %11
11: ; preds = %3, %1
%12 = tail call i32 (...) @resctrl_sched_in() #2
ret void
}
declare i32 @this_cpu_write(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @resctrl_sched_in(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!11, !7, i64 4}
!11 = !{!"rdtgroup", !12, i64 0, !7, i64 4}
!12 = !{!"TYPE_3__", !7, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_rdtgroup.c_update_cpu_closid_rmid.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_rdtgroup.c_update_cpu_closid_rmid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32, i32 }
@pqr_state = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @update_cpu_closid_rmid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @update_cpu_closid_rmid(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %11, label %3
3: ; preds = %1
%4 = load i32, ptr getelementptr inbounds (i8, ptr @pqr_state, i64 4), align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @this_cpu_write(i32 noundef %4, i32 noundef %6) #2
%8 = load i32, ptr @pqr_state, align 4, !tbaa !14
%9 = load i32, ptr %0, align 4, !tbaa !15
%10 = tail call i32 @this_cpu_write(i32 noundef %8, i32 noundef %9) #2
br label %11
11: ; preds = %3, %1
%12 = tail call i32 @resctrl_sched_in() #2
ret void
}
declare i32 @this_cpu_write(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @resctrl_sched_in(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!12, !8, i64 4}
!12 = !{!"rdtgroup", !13, i64 0, !8, i64 4}
!13 = !{!"TYPE_3__", !8, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!12, !8, i64 0}
| linux_arch_x86_kernel_cpu_resctrl_extr_rdtgroup.c_update_cpu_closid_rmid |
; ModuleID = 'AnghaBench/Cello/src/extr_Tree.c_Tree_Val.c'
source_filename = "AnghaBench/Cello/src/extr_Tree.c_Tree_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @Tree_Val], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal nonnull ptr @Tree_Val(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 28
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %3, i64 %5
%7 = getelementptr inbounds i8, ptr %6, i64 4
ret ptr %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"Tree", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Cello/src/extr_Tree.c_Tree_Val.c'
source_filename = "AnghaBench/Cello/src/extr_Tree.c_Tree_Val.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 @Tree_Val], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal nonnull ptr @Tree_Val(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 28
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %3, i64 %5
%7 = getelementptr inbounds i8, ptr %6, i64 4
ret ptr %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"Tree", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| Cello_src_extr_Tree.c_Tree_Val |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_alauda.c_alauda_ack_media.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_alauda.c_alauda_ack_media.c"
target datalayout = "e-m:e-p270:32:32-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.alauda = type { i32, i32 }
@ALAUDA_ACK_XD_MEDIA_CHANGE = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @alauda_ack_media], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @alauda_ack_media(ptr noundef %0) #0 {
%2 = tail call i32 @mutex_lock(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.alauda, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @usb_sndctrlpipe(i32 noundef %4, i32 noundef 0) #2
%6 = load i32, ptr @ALAUDA_ACK_XD_MEDIA_CHANGE, align 4, !tbaa !10
%7 = load i32, ptr @HZ, align 4, !tbaa !10
%8 = tail call i32 @usb_control_msg(i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 64, i32 noundef 0, i32 noundef 1, ptr noundef null, i32 noundef 0, i32 noundef %7) #2
%9 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %8
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @usb_control_msg(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"alauda", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_alauda.c_alauda_ack_media.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_alauda.c_alauda_ack_media.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ALAUDA_ACK_XD_MEDIA_CHANGE = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @alauda_ack_media], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @alauda_ack_media(ptr noundef %0) #0 {
%2 = tail call i32 @mutex_lock(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @usb_sndctrlpipe(i32 noundef %4, i32 noundef 0) #2
%6 = load i32, ptr @ALAUDA_ACK_XD_MEDIA_CHANGE, align 4, !tbaa !11
%7 = load i32, ptr @HZ, align 4, !tbaa !11
%8 = tail call i32 @usb_control_msg(i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 64, i32 noundef 0, i32 noundef 1, ptr noundef null, i32 noundef 0, i32 noundef %7) #2
%9 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %8
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @usb_control_msg(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"alauda", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_mtd_nand_extr_alauda.c_alauda_ack_media |
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_jscript.h_to_disp.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_jscript.h_to_disp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @to_disp], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef ptr @to_disp(ptr noundef readnone returned %0) #0 {
ret ptr %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/reactos/dll/win32/jscript/extr_jscript.h_to_disp.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_jscript.h_to_disp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @to_disp], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef ptr @to_disp(ptr noundef readnone returned %0) #0 {
ret ptr %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)"}
| reactos_dll_win32_jscript_extr_jscript.h_to_disp |
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_sub_er_32.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_sub_er_32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@g_dasm_str = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"sub.l %s, D%d\00", align 1
@g_cpu_ir = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @d68000_sub_er_32], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @d68000_sub_er_32() #0 {
%1 = load i32, ptr @g_dasm_str, align 4, !tbaa !5
%2 = load i32, ptr @g_cpu_ir, align 4, !tbaa !5
%3 = tail call ptr @get_ea_mode_str_32(i32 noundef %2) #2
%4 = load i32, ptr @g_cpu_ir, align 4, !tbaa !5
%5 = lshr i32 %4, 9
%6 = and i32 %5, 7
%7 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %3, i32 noundef %6) #2
ret void
}
declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @get_ea_mode_str_32(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_sub_er_32.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_sub_er_32.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@g_dasm_str = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"sub.l %s, D%d\00", align 1
@g_cpu_ir = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @d68000_sub_er_32], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @d68000_sub_er_32() #0 {
%1 = load i32, ptr @g_dasm_str, align 4, !tbaa !6
%2 = load i32, ptr @g_cpu_ir, align 4, !tbaa !6
%3 = tail call ptr @get_ea_mode_str_32(i32 noundef %2) #2
%4 = load i32, ptr @g_cpu_ir, align 4, !tbaa !6
%5 = lshr i32 %4, 9
%6 = and i32 %5, 7
%7 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %3, i32 noundef %6) #2
ret void
}
declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @get_ea_mode_str_32(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_PicoDrive_cpu_musashi_extr_m68kdasm.c_d68000_sub_er_32 |
; ModuleID = 'AnghaBench/zfs/module/lua/extr_lcode.c_luaK_nil.c'
source_filename = "AnghaBench/zfs/module/lua/extr_lcode.c_luaK_nil.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, ptr }
@OP_LOADNIL = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @luaK_nil(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = add nsw i32 %2, %1
%5 = add nsw i32 %4, -1
%6 = load i32, ptr %0, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = icmp sgt i32 %6, %8
br i1 %9, label %10, label %44
10: ; preds = %3
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = sext i32 %6 to i64
%15 = getelementptr i32, ptr %13, i64 %14
%16 = getelementptr i32, ptr %15, i64 -1
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = tail call i64 @GET_OPCODE(i32 noundef %17) #3
%19 = load i64, ptr @OP_LOADNIL, align 8, !tbaa !16
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %44
21: ; preds = %10
%22 = load i32, ptr %16, align 4, !tbaa !15
%23 = tail call i32 @GETARG_A(i32 noundef %22) #3
%24 = load i32, ptr %16, align 4, !tbaa !15
%25 = tail call i32 @GETARG_B(i32 noundef %24) #3
%26 = add nsw i32 %25, %23
%27 = icmp sgt i32 %23, %1
%28 = add nsw i32 %26, 1
%29 = icmp slt i32 %28, %1
%30 = select i1 %27, i1 true, i1 %29
br i1 %30, label %31, label %35
31: ; preds = %21
%32 = icmp slt i32 %23, %1
%33 = icmp sgt i32 %23, %4
%34 = select i1 %32, i1 true, i1 %33
br i1 %34, label %44, label %35
35: ; preds = %21, %31
%36 = tail call i32 @llvm.smin.i32(i32 %23, i32 %1)
%37 = icmp slt i32 %26, %4
%38 = select i1 %37, i32 %5, i32 %26
%39 = load i32, ptr %16, align 4, !tbaa !15
%40 = tail call i32 @SETARG_A(i32 noundef %39, i32 noundef %36) #3
%41 = load i32, ptr %16, align 4, !tbaa !15
%42 = sub nsw i32 %38, %36
%43 = tail call i32 @SETARG_B(i32 noundef %41, i32 noundef %42) #3
br label %48
44: ; preds = %31, %10, %3
%45 = load i64, ptr @OP_LOADNIL, align 8, !tbaa !16
%46 = add nsw i32 %2, -1
%47 = tail call i32 @luaK_codeABC(ptr noundef nonnull %0, i64 noundef %45, i32 noundef %1, i32 noundef %46, i32 noundef 0) #3
br label %48
48: ; preds = %35, %44
ret void
}
declare i64 @GET_OPCODE(i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_A(i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_B(i32 noundef) local_unnamed_addr #1
declare i32 @SETARG_A(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SETARG_B(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaK_codeABC(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_5__", !10, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/zfs/module/lua/extr_lcode.c_luaK_nil.c'
source_filename = "AnghaBench/zfs/module/lua/extr_lcode.c_luaK_nil.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OP_LOADNIL = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @luaK_nil(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = add nsw i32 %2, %1
%5 = add nsw i32 %4, -1
%6 = load i32, ptr %0, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = icmp sgt i32 %6, %8
br i1 %9, label %10, label %44
10: ; preds = %3
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = sext i32 %6 to i64
%15 = getelementptr i32, ptr %13, i64 %14
%16 = getelementptr i8, ptr %15, i64 -4
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = tail call i64 @GET_OPCODE(i32 noundef %17) #3
%19 = load i64, ptr @OP_LOADNIL, align 8, !tbaa !17
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %44
21: ; preds = %10
%22 = load i32, ptr %16, align 4, !tbaa !16
%23 = tail call i32 @GETARG_A(i32 noundef %22) #3
%24 = load i32, ptr %16, align 4, !tbaa !16
%25 = tail call i32 @GETARG_B(i32 noundef %24) #3
%26 = add nsw i32 %25, %23
%27 = icmp sgt i32 %23, %1
%28 = add nsw i32 %26, 1
%29 = icmp slt i32 %28, %1
%30 = select i1 %27, i1 true, i1 %29
br i1 %30, label %31, label %35
31: ; preds = %21
%32 = icmp slt i32 %23, %1
%33 = icmp sgt i32 %23, %4
%34 = select i1 %32, i1 true, i1 %33
br i1 %34, label %44, label %35
35: ; preds = %21, %31
%36 = tail call i32 @llvm.smin.i32(i32 %23, i32 %1)
%37 = icmp slt i32 %26, %4
%38 = select i1 %37, i32 %5, i32 %26
%39 = load i32, ptr %16, align 4, !tbaa !16
%40 = tail call i32 @SETARG_A(i32 noundef %39, i32 noundef %36) #3
%41 = load i32, ptr %16, align 4, !tbaa !16
%42 = sub nsw i32 %38, %36
%43 = tail call i32 @SETARG_B(i32 noundef %41, i32 noundef %42) #3
br label %48
44: ; preds = %31, %10, %3
%45 = load i64, ptr @OP_LOADNIL, align 8, !tbaa !17
%46 = add nsw i32 %2, -1
%47 = tail call i32 @luaK_codeABC(ptr noundef nonnull %0, i64 noundef %45, i32 noundef %1, i32 noundef %46, i32 noundef 0) #3
br label %48
48: ; preds = %35, %44
ret void
}
declare i64 @GET_OPCODE(i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_A(i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_B(i32 noundef) local_unnamed_addr #1
declare i32 @SETARG_A(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SETARG_B(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaK_codeABC(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_5__", !11, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
| zfs_module_lua_extr_lcode.c_luaK_nil |
; ModuleID = 'AnghaBench/linux/arch/mips/pic32/pic32mzda/extr_config.c_pic32_get_device_id.c'
source_filename = "AnghaBench/linux/arch/mips/pic32/pic32mzda/extr_config.c_pic32_get_device_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PIC32_DEVID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pic32_get_device_id], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pic32_get_device_id() #0 {
%1 = load i32, ptr @PIC32_DEVID, align 4, !tbaa !5
%2 = tail call i32 @pic32_conf_get_reg_field(i32 noundef %1, i32 noundef 0, i32 noundef 268435455) #2
ret i32 %2
}
declare i32 @pic32_conf_get_reg_field(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/linux/arch/mips/pic32/pic32mzda/extr_config.c_pic32_get_device_id.c'
source_filename = "AnghaBench/linux/arch/mips/pic32/pic32mzda/extr_config.c_pic32_get_device_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PIC32_DEVID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pic32_get_device_id], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pic32_get_device_id() #0 {
%1 = load i32, ptr @PIC32_DEVID, align 4, !tbaa !6
%2 = tail call i32 @pic32_conf_get_reg_field(i32 noundef %1, i32 noundef 0, i32 noundef 268435455) #2
ret i32 %2
}
declare i32 @pic32_conf_get_reg_field(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"}
| linux_arch_mips_pic32_pic32mzda_extr_config.c_pic32_get_device_id |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_addi_apci_16xx.c_apci16xx_insn_config.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_addi_apci_16xx.c_apci16xx_insn_config.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.comedi_subdevice = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @apci16xx_insn_config], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @apci16xx_insn_config(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %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 = icmp ult i32 %7, 8
br i1 %8, label %14, label %9
9: ; preds = %4
%10 = icmp ult i32 %7, 16
br i1 %10, label %14, label %11
11: ; preds = %9
%12 = icmp ult i32 %7, 24
%13 = select i1 %12, i32 16711680, i32 -16777216
br label %14
14: ; preds = %11, %9, %4
%15 = phi i32 [ 255, %4 ], [ 65280, %9 ], [ %13, %11 ]
%16 = tail call i32 @comedi_dio_insn_config(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3, i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %14
%19 = getelementptr inbounds %struct.comedi_subdevice, ptr %1, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !10
%21 = load i64, ptr %0, align 8, !tbaa !12
%22 = load i32, ptr %1, align 4, !tbaa !15
%23 = tail call i64 @APCI16XX_DIR_REG(i32 noundef %22) #2
%24 = add nsw i64 %23, %21
%25 = tail call i32 @outl(i32 noundef %20, i64 noundef %24) #2
%26 = load i32, ptr %2, align 4, !tbaa !16
br label %27
27: ; preds = %14, %18
%28 = phi i32 [ %26, %18 ], [ %16, %14 ]
ret i32 %28
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @comedi_dio_insn_config(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outl(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @APCI16XX_DIR_REG(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"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, !7, i64 4}
!11 = !{!"comedi_subdevice", !7, i64 0, !7, i64 4}
!12 = !{!13, !14, i64 0}
!13 = !{!"comedi_device", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !7, i64 0}
!16 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_addi_apci_16xx.c_apci16xx_insn_config.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_addi_apci_16xx.c_apci16xx_insn_config.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 @apci16xx_insn_config], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @apci16xx_insn_config(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %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 = icmp ult i32 %7, 8
br i1 %8, label %14, label %9
9: ; preds = %4
%10 = icmp ult i32 %7, 16
br i1 %10, label %14, label %11
11: ; preds = %9
%12 = icmp ult i32 %7, 24
%13 = select i1 %12, i32 16711680, i32 -16777216
br label %14
14: ; preds = %11, %9, %4
%15 = phi i32 [ 255, %4 ], [ 65280, %9 ], [ %13, %11 ]
%16 = tail call i32 @comedi_dio_insn_config(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3, i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %14
%19 = getelementptr inbounds i8, ptr %1, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !11
%21 = load i64, ptr %0, align 8, !tbaa !13
%22 = load i32, ptr %1, align 4, !tbaa !16
%23 = tail call i64 @APCI16XX_DIR_REG(i32 noundef %22) #2
%24 = add nsw i64 %23, %21
%25 = tail call i32 @outl(i32 noundef %20, i64 noundef %24) #2
%26 = load i32, ptr %2, align 4, !tbaa !17
br label %27
27: ; preds = %14, %18
%28 = phi i32 [ %26, %18 ], [ %16, %14 ]
ret i32 %28
}
declare i32 @CR_CHAN(i32 noundef) local_unnamed_addr #1
declare i32 @comedi_dio_insn_config(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outl(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @APCI16XX_DIR_REG(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"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, !8, i64 4}
!12 = !{!"comedi_subdevice", !8, i64 0, !8, i64 4}
!13 = !{!14, !15, i64 0}
!14 = !{!"comedi_device", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!12, !8, i64 0}
!17 = !{!7, !8, i64 0}
| linux_drivers_staging_comedi_drivers_extr_addi_apci_16xx.c_apci16xx_insn_config |
; ModuleID = 'AnghaBench/h2o/deps/picotls/deps/cifra/src/arm/extr_main.c_aes128ccm_test.c'
source_filename = "AnghaBench/h2o/deps/picotls/deps/cifra/src/arm/extr_main.c_aes128ccm_test.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@cf_aes = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @aes128ccm_test], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @aes128ccm_test() #0 {
%1 = alloca [16 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca [16 x i32], align 16
%4 = alloca [16 x i32], align 16
%5 = alloca [11 x i32], align 16
%6 = alloca [16 x i32], align 16
%7 = alloca [16 x i32], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %1, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%8 = call i32 @cf_aes_init(ptr noundef nonnull %2, ptr noundef nonnull %1, i32 noundef 64) #4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %3, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %4, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %5, i8 0, i64 44, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %6, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %7, i8 0, i64 64, i1 false)
%9 = call i32 @cf_ccm_encrypt(ptr noundef nonnull @cf_aes, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 64, i32 noundef 4, ptr noundef nonnull %4, i32 noundef 64, ptr noundef nonnull %5, i32 noundef 44, ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 64) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @cf_aes_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @cf_ccm_encrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/h2o/deps/picotls/deps/cifra/src/arm/extr_main.c_aes128ccm_test.c'
source_filename = "AnghaBench/h2o/deps/picotls/deps/cifra/src/arm/extr_main.c_aes128ccm_test.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cf_aes = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @aes128ccm_test], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @aes128ccm_test() #0 {
%1 = alloca [16 x i32], align 4
%2 = alloca i32, align 4
%3 = alloca [16 x i32], align 4
%4 = alloca [16 x i32], align 4
%5 = alloca [11 x i32], align 4
%6 = alloca [16 x i32], align 4
%7 = alloca [16 x i32], align 4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %1, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%8 = call i32 @cf_aes_init(ptr noundef nonnull %2, ptr noundef nonnull %1, i32 noundef 64) #4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %3, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %4, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(44) %5, i8 0, i64 44, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %6, i8 0, i64 64, i1 false)
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 0, i64 64, i1 false)
%9 = call i32 @cf_ccm_encrypt(ptr noundef nonnull @cf_aes, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 64, i32 noundef 4, ptr noundef nonnull %4, i32 noundef 64, ptr noundef nonnull %5, i32 noundef 44, ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 64) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @cf_aes_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @cf_ccm_encrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| h2o_deps_picotls_deps_cifra_src_arm_extr_main.c_aes128ccm_test |
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/iwrap/extr_iwrap.c_iwrap_call.c'
source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/iwrap/extr_iwrap.c_iwrap_call.c"
target datalayout = "e-m:e-p270:32:32-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"SET BT PAIR\00", align 1
@rcv_buf = dso_local local_unnamed_addr global ptr null, align 8
@rcv_tail = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"CALL\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" 11 HID\0A\00\00", align 1
@DEBUG_LED_CONFIG = dso_local local_unnamed_addr global i32 0, align 4
@DEBUG_LED_ON = dso_local local_unnamed_addr global i32 0, align 4
@DEBUG_LED_OFF = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @iwrap_call() local_unnamed_addr #0 {
%1 = tail call i32 @iwrap_mux_send(ptr noundef nonnull @.str) #2
%2 = tail call i32 @_delay_ms(i32 noundef 500) #2
%3 = load ptr, ptr @rcv_buf, align 8, !tbaa !5
%4 = load i32, ptr @rcv_tail, align 4, !tbaa !9
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %3, i64 %5
%7 = tail call i32 @strncmp(ptr noundef %6, ptr noundef nonnull @.str, i32 noundef 11) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %30
9: ; preds = %0, %9
%10 = phi ptr [ %17, %9 ], [ %6, %0 ]
%11 = getelementptr inbounds i8, ptr %10, i64 7
%12 = tail call i32 @strncpy(ptr noundef nonnull %11, ptr noundef nonnull @.str.1, i32 noundef 4) #2
%13 = getelementptr inbounds i8, ptr %10, i64 29
%14 = tail call i32 @strncpy(ptr noundef nonnull %13, ptr noundef nonnull @.str.2, i32 noundef 9) #2
%15 = tail call i32 @print_S(ptr noundef nonnull %11) #2
%16 = tail call i32 @iwrap_mux_send(ptr noundef nonnull %11) #2
%17 = getelementptr inbounds i8, ptr %10, i64 64
%18 = tail call i32 @_delay_ms(i32 noundef 500) #2
%19 = tail call i32 @_delay_ms(i32 noundef 500) #2
%20 = tail call i32 @_delay_ms(i32 noundef 500) #2
%21 = tail call i32 @_delay_ms(i32 noundef 500) #2
%22 = tail call i32 @_delay_ms(i32 noundef 500) #2
%23 = tail call i32 @_delay_ms(i32 noundef 500) #2
%24 = tail call i32 @_delay_ms(i32 noundef 500) #2
%25 = tail call i32 @_delay_ms(i32 noundef 500) #2
%26 = tail call i32 @_delay_ms(i32 noundef 500) #2
%27 = tail call i32 @_delay_ms(i32 noundef 500) #2
%28 = tail call i32 @strncmp(ptr noundef nonnull %17, ptr noundef nonnull @.str, i32 noundef 11) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %9, label %30, !llvm.loop !11
30: ; preds = %9, %0
%31 = tail call i32 (...) @iwrap_check_connection() #2
ret void
}
declare i32 @iwrap_mux_send(ptr noundef) local_unnamed_addr #1
declare i32 @_delay_ms(i32 noundef) local_unnamed_addr #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_S(ptr noundef) local_unnamed_addr #1
declare i32 @iwrap_check_connection(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/iwrap/extr_iwrap.c_iwrap_call.c'
source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/iwrap/extr_iwrap.c_iwrap_call.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"SET BT PAIR\00", align 1
@rcv_buf = common local_unnamed_addr global ptr null, align 8
@rcv_tail = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"CALL\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c" 11 HID\0A\00\00", align 1
@DEBUG_LED_CONFIG = common local_unnamed_addr global i32 0, align 4
@DEBUG_LED_ON = common local_unnamed_addr global i32 0, align 4
@DEBUG_LED_OFF = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @iwrap_call() local_unnamed_addr #0 {
%1 = tail call i32 @iwrap_mux_send(ptr noundef nonnull @.str) #2
%2 = tail call i32 @_delay_ms(i32 noundef 500) #2
%3 = load ptr, ptr @rcv_buf, align 8, !tbaa !6
%4 = load i32, ptr @rcv_tail, align 4, !tbaa !10
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %3, i64 %5
%7 = tail call i32 @strncmp(ptr noundef %6, ptr noundef nonnull @.str, i32 noundef 11) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %30
9: ; preds = %0, %9
%10 = phi ptr [ %17, %9 ], [ %6, %0 ]
%11 = getelementptr inbounds i8, ptr %10, i64 7
%12 = tail call i32 @strncpy(ptr noundef nonnull %11, ptr noundef nonnull @.str.1, i32 noundef 4) #2
%13 = getelementptr inbounds i8, ptr %10, i64 29
%14 = tail call i32 @strncpy(ptr noundef nonnull %13, ptr noundef nonnull @.str.2, i32 noundef 9) #2
%15 = tail call i32 @print_S(ptr noundef nonnull %11) #2
%16 = tail call i32 @iwrap_mux_send(ptr noundef nonnull %11) #2
%17 = getelementptr inbounds i8, ptr %10, i64 64
%18 = tail call i32 @_delay_ms(i32 noundef 500) #2
%19 = tail call i32 @_delay_ms(i32 noundef 500) #2
%20 = tail call i32 @_delay_ms(i32 noundef 500) #2
%21 = tail call i32 @_delay_ms(i32 noundef 500) #2
%22 = tail call i32 @_delay_ms(i32 noundef 500) #2
%23 = tail call i32 @_delay_ms(i32 noundef 500) #2
%24 = tail call i32 @_delay_ms(i32 noundef 500) #2
%25 = tail call i32 @_delay_ms(i32 noundef 500) #2
%26 = tail call i32 @_delay_ms(i32 noundef 500) #2
%27 = tail call i32 @_delay_ms(i32 noundef 500) #2
%28 = tail call i32 @strncmp(ptr noundef nonnull %17, ptr noundef nonnull @.str, i32 noundef 11) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %9, label %30, !llvm.loop !12
30: ; preds = %9, %0
%31 = tail call i32 @iwrap_check_connection() #2
ret void
}
declare i32 @iwrap_mux_send(ptr noundef) local_unnamed_addr #1
declare i32 @_delay_ms(i32 noundef) local_unnamed_addr #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_S(ptr noundef) local_unnamed_addr #1
declare i32 @iwrap_check_connection(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| qmk_firmware_tmk_core_protocol_iwrap_extr_iwrap.c_iwrap_call |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_uverbs_uapi.c_uverbs_destroy_api.c'
source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_uverbs_uapi.c_uverbs_destroy_api.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@U32_MAX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @uverbs_destroy_api(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %9, label %3
3: ; preds = %1
%4 = load i32, ptr @U32_MAX, align 4, !tbaa !5
%5 = tail call i32 @uapi_remove_range(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !9
%7 = tail call i32 @kfree(ptr noundef %6) #2
%8 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %9
9: ; preds = %1, %3
ret void
}
declare i32 @uapi_remove_range(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"uverbs_api", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_uverbs_uapi.c_uverbs_destroy_api.c'
source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_uverbs_uapi.c_uverbs_destroy_api.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@U32_MAX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @uverbs_destroy_api(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %9, label %3
3: ; preds = %1
%4 = load i32, ptr @U32_MAX, align 4, !tbaa !6
%5 = tail call i32 @uapi_remove_range(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !10
%7 = tail call i32 @kfree(ptr noundef %6) #2
%8 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %9
9: ; preds = %1, %3
ret void
}
declare i32 @uapi_remove_range(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"uverbs_api", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| linux_drivers_infiniband_core_extr_uverbs_uapi.c_uverbs_destroy_api |
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_wined3d_private.h_wined3d_resource_release.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_wined3d_private.h_wined3d_resource_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 @wined3d_resource_release], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @wined3d_resource_release(ptr noundef %0) #0 {
%2 = tail call i32 @InterlockedDecrement(ptr noundef %0) #2
ret void
}
declare i32 @InterlockedDecrement(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_wined3d_private.h_wined3d_resource_release.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_wined3d_private.h_wined3d_resource_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 @wined3d_resource_release], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @wined3d_resource_release(ptr noundef %0) #0 {
%2 = tail call i32 @InterlockedDecrement(ptr noundef %0) #2
ret void
}
declare i32 @InterlockedDecrement(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_dll_directx_wine_wined3d_extr_wined3d_private.h_wined3d_resource_release |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v9.c_kgd_gfx_v9_set_pasid_vmid_mapping.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v9.c_kgd_gfx_v9_set_pasid_vmid_mapping.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ATC_VMID0_PASID_MAPPING__VALID_MASK = dso_local local_unnamed_addr global i32 0, align 4
@ATHUB = dso_local local_unnamed_addr global i32 0, align 4
@mmATC_VMID0_PASID_MAPPING = dso_local local_unnamed_addr global i32 0, align 4
@mmATC_VMID_PASID_MAPPING_UPDATE_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@OSSSYS = dso_local local_unnamed_addr global i32 0, align 4
@mmIH_VMID_0_LUT = dso_local local_unnamed_addr global i32 0, align 4
@mmATC_VMID16_PASID_MAPPING = dso_local local_unnamed_addr global i32 0, align 4
@mmIH_VMID_0_LUT_MM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @kgd_gfx_v9_set_pasid_vmid_mapping(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @get_amdgpu_device(ptr noundef %0) #2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @ATC_VMID0_PASID_MAPPING__VALID_MASK, align 4
%7 = or i32 %6, %1
%8 = select i1 %5, i32 0, i32 %7
%9 = load i32, ptr @ATHUB, align 4, !tbaa !5
%10 = load i32, ptr @mmATC_VMID0_PASID_MAPPING, align 4, !tbaa !5
%11 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %9, i32 noundef 0, i32 noundef %10) #2
%12 = zext i32 %2 to i64
%13 = add nsw i64 %11, %12
%14 = tail call i32 @WREG32(i64 noundef %13, i32 noundef %8) #2
%15 = load i32, ptr @ATHUB, align 4, !tbaa !5
%16 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !5
%17 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %15, i32 noundef 0, i32 noundef %16) #2
%18 = tail call i32 @RREG32(i64 noundef %17) #2
%19 = shl nuw i32 1, %2
%20 = and i32 %18, %19
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %3, %22
%23 = tail call i32 (...) @cpu_relax() #2
%24 = load i32, ptr @ATHUB, align 4, !tbaa !5
%25 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !5
%26 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %24, i32 noundef 0, i32 noundef %25) #2
%27 = tail call i32 @RREG32(i64 noundef %26) #2
%28 = and i32 %27, %19
%29 = icmp eq i32 %28, 0
br i1 %29, label %22, label %30, !llvm.loop !9
30: ; preds = %22, %3
%31 = load i32, ptr @ATHUB, align 4, !tbaa !5
%32 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !5
%33 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %31, i32 noundef 0, i32 noundef %32) #2
%34 = tail call i32 @WREG32(i64 noundef %33, i32 noundef %19) #2
%35 = load i32, ptr @OSSSYS, align 4, !tbaa !5
%36 = load i32, ptr @mmIH_VMID_0_LUT, align 4, !tbaa !5
%37 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %35, i32 noundef 0, i32 noundef %36) #2
%38 = add nsw i64 %37, %12
%39 = tail call i32 @WREG32(i64 noundef %38, i32 noundef %8) #2
%40 = load i32, ptr @ATHUB, align 4, !tbaa !5
%41 = load i32, ptr @mmATC_VMID16_PASID_MAPPING, align 4, !tbaa !5
%42 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %40, i32 noundef 0, i32 noundef %41) #2
%43 = add nsw i64 %42, %12
%44 = tail call i32 @WREG32(i64 noundef %43, i32 noundef %8) #2
%45 = load i32, ptr @ATHUB, align 4, !tbaa !5
%46 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !5
%47 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %45, i32 noundef 0, i32 noundef %46) #2
%48 = tail call i32 @RREG32(i64 noundef %47) #2
%49 = add i32 %2, 16
%50 = shl nuw i32 1, %49
%51 = and i32 %48, %50
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %61
53: ; preds = %30, %53
%54 = tail call i32 (...) @cpu_relax() #2
%55 = load i32, ptr @ATHUB, align 4, !tbaa !5
%56 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !5
%57 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %55, i32 noundef 0, i32 noundef %56) #2
%58 = tail call i32 @RREG32(i64 noundef %57) #2
%59 = and i32 %58, %50
%60 = icmp eq i32 %59, 0
br i1 %60, label %53, label %61, !llvm.loop !11
61: ; preds = %53, %30
%62 = load i32, ptr @ATHUB, align 4, !tbaa !5
%63 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !5
%64 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %62, i32 noundef 0, i32 noundef %63) #2
%65 = tail call i32 @WREG32(i64 noundef %64, i32 noundef %50) #2
%66 = load i32, ptr @OSSSYS, align 4, !tbaa !5
%67 = load i32, ptr @mmIH_VMID_0_LUT_MM, align 4, !tbaa !5
%68 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %66, i32 noundef 0, i32 noundef %67) #2
%69 = add nsw i64 %68, %12
%70 = tail call i32 @WREG32(i64 noundef %69, i32 noundef %8) #2
ret i32 0
}
declare ptr @get_amdgpu_device(ptr noundef) local_unnamed_addr #1
declare i32 @WREG32(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @SOC15_REG_OFFSET(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
declare i32 @cpu_relax(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v9.c_kgd_gfx_v9_set_pasid_vmid_mapping.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v9.c_kgd_gfx_v9_set_pasid_vmid_mapping.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATC_VMID0_PASID_MAPPING__VALID_MASK = common local_unnamed_addr global i32 0, align 4
@ATHUB = common local_unnamed_addr global i32 0, align 4
@mmATC_VMID0_PASID_MAPPING = common local_unnamed_addr global i32 0, align 4
@mmATC_VMID_PASID_MAPPING_UPDATE_STATUS = common local_unnamed_addr global i32 0, align 4
@OSSSYS = common local_unnamed_addr global i32 0, align 4
@mmIH_VMID_0_LUT = common local_unnamed_addr global i32 0, align 4
@mmATC_VMID16_PASID_MAPPING = common local_unnamed_addr global i32 0, align 4
@mmIH_VMID_0_LUT_MM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @kgd_gfx_v9_set_pasid_vmid_mapping(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @get_amdgpu_device(ptr noundef %0) #2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @ATC_VMID0_PASID_MAPPING__VALID_MASK, align 4
%7 = or i32 %6, %1
%8 = select i1 %5, i32 0, i32 %7
%9 = load i32, ptr @ATHUB, align 4, !tbaa !6
%10 = load i32, ptr @mmATC_VMID0_PASID_MAPPING, align 4, !tbaa !6
%11 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %9, i32 noundef 0, i32 noundef %10) #2
%12 = zext i32 %2 to i64
%13 = add nsw i64 %11, %12
%14 = tail call i32 @WREG32(i64 noundef %13, i32 noundef %8) #2
%15 = load i32, ptr @ATHUB, align 4, !tbaa !6
%16 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !6
%17 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %15, i32 noundef 0, i32 noundef %16) #2
%18 = tail call i32 @RREG32(i64 noundef %17) #2
%19 = shl nuw i32 1, %2
%20 = and i32 %18, %19
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %3, %22
%23 = tail call i32 @cpu_relax() #2
%24 = load i32, ptr @ATHUB, align 4, !tbaa !6
%25 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !6
%26 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %24, i32 noundef 0, i32 noundef %25) #2
%27 = tail call i32 @RREG32(i64 noundef %26) #2
%28 = and i32 %27, %19
%29 = icmp eq i32 %28, 0
br i1 %29, label %22, label %30, !llvm.loop !10
30: ; preds = %22, %3
%31 = load i32, ptr @ATHUB, align 4, !tbaa !6
%32 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !6
%33 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %31, i32 noundef 0, i32 noundef %32) #2
%34 = tail call i32 @WREG32(i64 noundef %33, i32 noundef %19) #2
%35 = load i32, ptr @OSSSYS, align 4, !tbaa !6
%36 = load i32, ptr @mmIH_VMID_0_LUT, align 4, !tbaa !6
%37 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %35, i32 noundef 0, i32 noundef %36) #2
%38 = add nsw i64 %37, %12
%39 = tail call i32 @WREG32(i64 noundef %38, i32 noundef %8) #2
%40 = load i32, ptr @ATHUB, align 4, !tbaa !6
%41 = load i32, ptr @mmATC_VMID16_PASID_MAPPING, align 4, !tbaa !6
%42 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %40, i32 noundef 0, i32 noundef %41) #2
%43 = add nsw i64 %42, %12
%44 = tail call i32 @WREG32(i64 noundef %43, i32 noundef %8) #2
%45 = load i32, ptr @ATHUB, align 4, !tbaa !6
%46 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !6
%47 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %45, i32 noundef 0, i32 noundef %46) #2
%48 = tail call i32 @RREG32(i64 noundef %47) #2
%49 = add i32 %2, 16
%50 = shl nuw i32 1, %49
%51 = and i32 %48, %50
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %61
53: ; preds = %30, %53
%54 = tail call i32 @cpu_relax() #2
%55 = load i32, ptr @ATHUB, align 4, !tbaa !6
%56 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !6
%57 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %55, i32 noundef 0, i32 noundef %56) #2
%58 = tail call i32 @RREG32(i64 noundef %57) #2
%59 = and i32 %58, %50
%60 = icmp eq i32 %59, 0
br i1 %60, label %53, label %61, !llvm.loop !12
61: ; preds = %53, %30
%62 = load i32, ptr @ATHUB, align 4, !tbaa !6
%63 = load i32, ptr @mmATC_VMID_PASID_MAPPING_UPDATE_STATUS, align 4, !tbaa !6
%64 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %62, i32 noundef 0, i32 noundef %63) #2
%65 = tail call i32 @WREG32(i64 noundef %64, i32 noundef %50) #2
%66 = load i32, ptr @OSSSYS, align 4, !tbaa !6
%67 = load i32, ptr @mmIH_VMID_0_LUT_MM, align 4, !tbaa !6
%68 = tail call i64 @SOC15_REG_OFFSET(i32 noundef %66, i32 noundef 0, i32 noundef %67) #2
%69 = add nsw i64 %68, %12
%70 = tail call i32 @WREG32(i64 noundef %69, i32 noundef %8) #2
ret i32 0
}
declare ptr @get_amdgpu_device(ptr noundef) local_unnamed_addr #1
declare i32 @WREG32(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @SOC15_REG_OFFSET(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
declare i32 @cpu_relax(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
| linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_amdkfd_gfx_v9.c_kgd_gfx_v9_set_pasid_vmid_mapping |
; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_sysfs.c_zfcp_sysfs_scsi_zfcp_failed_show.c'
source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_sysfs.c_zfcp_sysfs_scsi_zfcp_failed_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ZFCP_STATUS_COMMON_ERP_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @zfcp_sysfs_scsi_zfcp_failed_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @zfcp_sysfs_scsi_zfcp_failed_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_scsi_device(ptr noundef %0) #2
%5 = tail call ptr @sdev_to_zfcp(ptr noundef %4) #2
%6 = tail call i32 @atomic_read(ptr noundef %5) #2
%7 = load i32, ptr @ZFCP_STATUS_COMMON_ERP_FAILED, align 4, !tbaa !5
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %10) #2
ret i32 %11
}
declare ptr @to_scsi_device(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare ptr @sdev_to_zfcp(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/s390/scsi/extr_zfcp_sysfs.c_zfcp_sysfs_scsi_zfcp_failed_show.c'
source_filename = "AnghaBench/linux/drivers/s390/scsi/extr_zfcp_sysfs.c_zfcp_sysfs_scsi_zfcp_failed_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZFCP_STATUS_COMMON_ERP_FAILED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @zfcp_sysfs_scsi_zfcp_failed_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @zfcp_sysfs_scsi_zfcp_failed_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_scsi_device(ptr noundef %0) #2
%5 = tail call ptr @sdev_to_zfcp(ptr noundef %4) #2
%6 = tail call i32 @atomic_read(ptr noundef %5) #2
%7 = load i32, ptr @ZFCP_STATUS_COMMON_ERP_FAILED, align 4, !tbaa !6
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %10) #2
ret i32 %11
}
declare ptr @to_scsi_device(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare ptr @sdev_to_zfcp(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_s390_scsi_extr_zfcp_sysfs.c_zfcp_sysfs_scsi_zfcp_failed_show |
; ModuleID = 'AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_parse.c_pause_parsing.c'
source_filename = "AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_parse.c_pause_parsing.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, i32, i32, ptr }
@TAG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"parsing beyond valid data = %d\00", align 1
@ESP_ERR_INVALID_STATE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"data too large for un-recv = %d\00", align 1
@ESP_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"paused\00", align 1
@ESP_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pause_parsing], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pause_parsing(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = load i32, ptr %4, align 8, !tbaa !16
%9 = load ptr, ptr %7, align 8, !tbaa !17
%10 = ptrtoint ptr %1 to i64
%11 = ptrtoint ptr %9 to i64
%12 = sub i64 %11, %10
%13 = trunc i64 %12 to i32
%14 = add i32 %8, %13
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load i32, ptr @TAG, align 4, !tbaa !19
%18 = tail call i32 @LOG_FMT(ptr noundef nonnull @.str) #2
%19 = sub nsw i32 0, %14
%20 = tail call i32 @ESP_LOGE(i32 noundef %17, i32 noundef %18, i32 noundef %19) #2
br label %37
21: ; preds = %2
%22 = icmp eq i32 %14, 0
br i1 %22, label %30, label %23
23: ; preds = %21
%24 = tail call i32 @httpd_unrecv(ptr noundef nonnull %6, ptr noundef %1, i32 noundef %14) #2
%25 = icmp eq i32 %14, %24
br i1 %25, label %30, label %26
26: ; preds = %23
%27 = load i32, ptr @TAG, align 4, !tbaa !19
%28 = tail call i32 @LOG_FMT(ptr noundef nonnull @.str.1) #2
%29 = tail call i32 @ESP_LOGE(i32 noundef %27, i32 noundef %28, i32 noundef %14) #2
br label %37
30: ; preds = %23, %21
%31 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1
store i32 %14, ptr %31, align 4, !tbaa !20
%32 = tail call i32 @http_parser_pause(ptr noundef nonnull %0, i32 noundef 1) #2
%33 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2
store i32 1, ptr %33, align 8, !tbaa !21
%34 = load i32, ptr @TAG, align 4, !tbaa !19
%35 = tail call i32 @LOG_FMT(ptr noundef nonnull @.str.2) #2
%36 = tail call i32 @ESP_LOGD(i32 noundef %34, i32 noundef %35) #2
br label %37
37: ; preds = %30, %26, %16
%38 = phi ptr [ @ESP_ERR_INVALID_STATE, %16 ], [ @ESP_FAIL, %26 ], [ @ESP_OK, %30 ]
%39 = load i32, ptr %38, align 4, !tbaa !19
ret i32 %39
}
declare i32 @ESP_LOGE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LOG_FMT(ptr noundef) local_unnamed_addr #1
declare i32 @httpd_unrecv(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @http_parser_pause(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ESP_LOGD(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}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 16}
!11 = !{!"TYPE_5__", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"httpd_req", !13, i64 0}
!16 = !{!11, !12, i64 0}
!17 = !{!18, !13, i64 0}
!18 = !{!"httpd_req_aux", !13, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!11, !12, i64 4}
!21 = !{!11, !12, i64 8}
| ; ModuleID = 'AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_parse.c_pause_parsing.c'
source_filename = "AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_parse.c_pause_parsing.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TAG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"parsing beyond valid data = %d\00", align 1
@ESP_ERR_INVALID_STATE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"data too large for un-recv = %d\00", align 1
@ESP_FAIL = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"paused\00", align 1
@ESP_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pause_parsing], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pause_parsing(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = getelementptr inbounds i8, ptr %4, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load ptr, ptr %6, align 8, !tbaa !15
%8 = load i32, ptr %4, align 8, !tbaa !17
%9 = load ptr, ptr %7, align 8, !tbaa !18
%10 = ptrtoint ptr %1 to i64
%11 = ptrtoint ptr %9 to i64
%12 = sub i64 %11, %10
%13 = trunc i64 %12 to i32
%14 = add i32 %8, %13
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load i32, ptr @TAG, align 4, !tbaa !20
%18 = tail call i32 @LOG_FMT(ptr noundef nonnull @.str) #2
%19 = sub nsw i32 0, %14
%20 = tail call i32 @ESP_LOGE(i32 noundef %17, i32 noundef %18, i32 noundef %19) #2
br label %37
21: ; preds = %2
%22 = icmp eq i32 %14, 0
br i1 %22, label %30, label %23
23: ; preds = %21
%24 = tail call i32 @httpd_unrecv(ptr noundef nonnull %6, ptr noundef %1, i32 noundef %14) #2
%25 = icmp eq i32 %14, %24
br i1 %25, label %30, label %26
26: ; preds = %23
%27 = load i32, ptr @TAG, align 4, !tbaa !20
%28 = tail call i32 @LOG_FMT(ptr noundef nonnull @.str.1) #2
%29 = tail call i32 @ESP_LOGE(i32 noundef %27, i32 noundef %28, i32 noundef %14) #2
br label %37
30: ; preds = %23, %21
%31 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %14, ptr %31, align 4, !tbaa !21
%32 = tail call i32 @http_parser_pause(ptr noundef nonnull %0, i32 noundef 1) #2
%33 = getelementptr inbounds i8, ptr %4, i64 8
store i32 1, ptr %33, align 8, !tbaa !22
%34 = load i32, ptr @TAG, align 4, !tbaa !20
%35 = tail call i32 @LOG_FMT(ptr noundef nonnull @.str.2) #2
%36 = tail call i32 @ESP_LOGD(i32 noundef %34, i32 noundef %35) #2
br label %37
37: ; preds = %30, %26, %16
%38 = phi ptr [ @ESP_ERR_INVALID_STATE, %16 ], [ @ESP_FAIL, %26 ], [ @ESP_OK, %30 ]
%39 = load i32, ptr %38, align 4, !tbaa !20
ret i32 %39
}
declare i32 @ESP_LOGE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LOG_FMT(ptr noundef) local_unnamed_addr #1
declare i32 @httpd_unrecv(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @http_parser_pause(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ESP_LOGD(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}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 16}
!12 = !{!"TYPE_5__", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 16}
!13 = !{!"int", !9, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"httpd_req", !14, i64 0}
!17 = !{!12, !13, i64 0}
!18 = !{!19, !14, i64 0}
!19 = !{!"httpd_req_aux", !14, i64 0}
!20 = !{!13, !13, i64 0}
!21 = !{!12, !13, i64 4}
!22 = !{!12, !13, i64 8}
| esp-idf_components_esp_http_server_src_extr_httpd_parse.c_pause_parsing |
; ModuleID = 'AnghaBench/vlc/modules/audio_output/extr_audiotrack.c_TimeGet.c'
source_filename = "AnghaBench/vlc/modules/audio_output/extr_audiotrack.c_TimeGet.c"
target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_12__, i32, %struct.TYPE_11__, i64, i64 }
%struct.TYPE_12__ = type { i64, i64 }
%struct.TYPE_11__ = type { i64, i64 }
@.str = private unnamed_addr constant [32 x i8] c"timing screwed, reset positions\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @TimeGet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @TimeGet(ptr noundef %0, ptr noalias nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_14__, ptr %3, i64 0, i32 5
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %45
7: ; preds = %2
%8 = tail call i32 @vlc_mutex_lock(ptr noundef nonnull %3) #2
%9 = getelementptr inbounds %struct.TYPE_14__, ptr %3, i64 0, i32 4
%10 = load i64, ptr %9, align 8, !tbaa !16
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %42
12: ; preds = %7
%13 = getelementptr inbounds %struct.TYPE_14__, ptr %3, i64 0, i32 2
%14 = load i32, ptr %13, align 8, !tbaa !17
%15 = icmp eq i32 %14, 0
br i1 %15, label %42, label %16
16: ; preds = %12
%17 = tail call ptr (...) @GET_ENV() #2
%18 = icmp eq ptr %17, null
br i1 %18, label %42, label %19
19: ; preds = %16
%20 = tail call i64 @AudioTrack_GetTimestampPositionUs(ptr noundef nonnull %17, ptr noundef nonnull %0) #2
%21 = icmp slt i64 %20, 1
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = tail call i64 @AudioTrack_GetSmoothPositionUs(ptr noundef nonnull %17, ptr noundef nonnull %0) #2
%24 = icmp sgt i64 %23, 0
br i1 %24, label %25, label %42
25: ; preds = %19, %22
%26 = phi i64 [ %23, %22 ], [ %20, %19 ]
%27 = load i32, ptr %13, align 8, !tbaa !17
%28 = tail call i64 @FRAMES_TO_US(i32 noundef %27) #2
%29 = sub nsw i64 %28, %26
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = tail call i32 @msg_Warn(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%33 = tail call i32 @AudioTrack_ResetPositions(ptr noundef nonnull %17, ptr noundef nonnull %0) #2
br label %42
34: ; preds = %25
%35 = getelementptr inbounds %struct.TYPE_14__, ptr %3, i64 0, i32 1
%36 = getelementptr inbounds %struct.TYPE_14__, ptr %3, i64 0, i32 1, i32 1
%37 = load i64, ptr %36, align 8, !tbaa !18
%38 = load i64, ptr %35, align 8, !tbaa !19
%39 = sub nsw i64 %37, %38
%40 = tail call i64 @BYTES_TO_US(i64 noundef %39) #2
%41 = add nsw i64 %40, %29
store i64 %41, ptr %1, align 8, !tbaa !20
br label %42
42: ; preds = %16, %12, %7, %22, %31, %34
%43 = phi i32 [ 0, %34 ], [ -1, %31 ], [ -1, %22 ], [ -1, %7 ], [ -1, %12 ], [ -1, %16 ]
%44 = tail call i32 @vlc_mutex_unlock(ptr noundef nonnull %3) #2
br label %45
45: ; preds = %42, %2
%46 = phi i32 [ -1, %2 ], [ %43, %42 ]
ret i32 %46
}
declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @GET_ENV(...) local_unnamed_addr #1
declare i64 @AudioTrack_GetTimestampPositionUs(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @AudioTrack_GetSmoothPositionUs(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @FRAMES_TO_US(i32 noundef) local_unnamed_addr #1
declare i64 @BYTES_TO_US(i64 noundef) local_unnamed_addr #1
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @msg_Warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AudioTrack_ResetPositions(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_13__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 56}
!11 = !{!"TYPE_14__", !12, i64 0, !13, i64 8, !12, i64 24, !15, i64 32, !14, i64 48, !14, i64 56}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_12__", !14, i64 0, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!"TYPE_11__", !14, i64 0, !14, i64 8}
!16 = !{!11, !14, i64 48}
!17 = !{!11, !12, i64 24}
!18 = !{!11, !14, i64 16}
!19 = !{!11, !14, i64 8}
!20 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/audio_output/extr_audiotrack.c_TimeGet.c'
source_filename = "AnghaBench/vlc/modules/audio_output/extr_audiotrack.c_TimeGet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [32 x i8] c"timing screwed, reset positions\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @TimeGet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @TimeGet(ptr noundef %0, ptr noalias nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 56
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %45
7: ; preds = %2
%8 = tail call i32 @vlc_mutex_lock(ptr noundef nonnull %3) #2
%9 = getelementptr inbounds i8, ptr %3, i64 48
%10 = load i64, ptr %9, align 8, !tbaa !17
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %42
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %3, i64 24
%14 = load i32, ptr %13, align 8, !tbaa !18
%15 = icmp eq i32 %14, 0
br i1 %15, label %42, label %16
16: ; preds = %12
%17 = tail call ptr @GET_ENV() #2
%18 = icmp eq ptr %17, null
br i1 %18, label %42, label %19
19: ; preds = %16
%20 = tail call i64 @AudioTrack_GetTimestampPositionUs(ptr noundef nonnull %17, ptr noundef nonnull %0) #2
%21 = icmp slt i64 %20, 1
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = tail call i64 @AudioTrack_GetSmoothPositionUs(ptr noundef nonnull %17, ptr noundef nonnull %0) #2
%24 = icmp sgt i64 %23, 0
br i1 %24, label %25, label %42
25: ; preds = %19, %22
%26 = phi i64 [ %23, %22 ], [ %20, %19 ]
%27 = load i32, ptr %13, align 8, !tbaa !18
%28 = tail call i64 @FRAMES_TO_US(i32 noundef %27) #2
%29 = sub nsw i64 %28, %26
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = tail call i32 @msg_Warn(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%33 = tail call i32 @AudioTrack_ResetPositions(ptr noundef nonnull %17, ptr noundef nonnull %0) #2
br label %42
34: ; preds = %25
%35 = getelementptr inbounds i8, ptr %3, i64 8
%36 = getelementptr inbounds i8, ptr %3, i64 16
%37 = load i64, ptr %36, align 8, !tbaa !19
%38 = load i64, ptr %35, align 8, !tbaa !20
%39 = sub nsw i64 %37, %38
%40 = tail call i64 @BYTES_TO_US(i64 noundef %39) #2
%41 = add nsw i64 %40, %29
store i64 %41, ptr %1, align 8, !tbaa !21
br label %42
42: ; preds = %16, %12, %7, %22, %31, %34
%43 = phi i32 [ 0, %34 ], [ -1, %31 ], [ -1, %22 ], [ -1, %7 ], [ -1, %12 ], [ -1, %16 ]
%44 = tail call i32 @vlc_mutex_unlock(ptr noundef nonnull %3) #2
br label %45
45: ; preds = %42, %2
%46 = phi i32 [ -1, %2 ], [ %43, %42 ]
ret i32 %46
}
declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @GET_ENV(...) local_unnamed_addr #1
declare i64 @AudioTrack_GetTimestampPositionUs(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @AudioTrack_GetSmoothPositionUs(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @FRAMES_TO_US(i32 noundef) local_unnamed_addr #1
declare i64 @BYTES_TO_US(i64 noundef) local_unnamed_addr #1
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @msg_Warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AudioTrack_ResetPositions(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_13__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !15, i64 56}
!12 = !{!"TYPE_14__", !13, i64 0, !14, i64 8, !13, i64 24, !16, i64 32, !15, i64 48, !15, i64 56}
!13 = !{!"int", !9, i64 0}
!14 = !{!"TYPE_12__", !15, i64 0, !15, i64 8}
!15 = !{!"long", !9, i64 0}
!16 = !{!"TYPE_11__", !15, i64 0, !15, i64 8}
!17 = !{!12, !15, i64 48}
!18 = !{!12, !13, i64 24}
!19 = !{!12, !15, i64 16}
!20 = !{!12, !15, i64 8}
!21 = !{!15, !15, i64 0}
| vlc_modules_audio_output_extr_audiotrack.c_TimeGet |
; ModuleID = 'AnghaBench/linux/fs/9p/extr_vfs_addr.c_v9fs_release_page.c'
source_filename = "AnghaBench/linux/fs/9p/extr_vfs_addr.c_v9fs_release_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @v9fs_release_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @v9fs_release_page(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i64 @PagePrivate(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @v9fs_fscache_release_page(ptr noundef %0, i32 noundef %1) #2
br label %7
7: ; preds = %2, %5
%8 = phi i32 [ %6, %5 ], [ 0, %2 ]
ret i32 %8
}
declare i64 @PagePrivate(ptr noundef) local_unnamed_addr #1
declare i32 @v9fs_fscache_release_page(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/fs/9p/extr_vfs_addr.c_v9fs_release_page.c'
source_filename = "AnghaBench/linux/fs/9p/extr_vfs_addr.c_v9fs_release_page.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 @v9fs_release_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @v9fs_release_page(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i64 @PagePrivate(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = tail call i32 @v9fs_fscache_release_page(ptr noundef %0, i32 noundef %1) #2
br label %7
7: ; preds = %2, %5
%8 = phi i32 [ %6, %5 ], [ 0, %2 ]
ret i32 %8
}
declare i64 @PagePrivate(ptr noundef) local_unnamed_addr #1
declare i32 @v9fs_fscache_release_page(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_fs_9p_extr_vfs_addr.c_v9fs_release_page |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_uncore.c_fw_domain_wait_ack_with_fallback.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_uncore.c_fw_domain_wait_ack_with_fallback.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FORCEWAKE_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ACK_SET = dso_local local_unnamed_addr constant i32 0, align 4
@FORCEWAKE_KERNEL_FALLBACK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [52 x i8] c"%s had to use fallback to %s ack, 0x%x (passes %u)\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"set\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fw_domain_wait_ack_with_fallback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fw_domain_wait_ack_with_fallback(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @FORCEWAKE_KERNEL, align 4, !tbaa !5
%4 = icmp eq i32 %1, 0
%5 = select i1 %4, i32 %3, i32 0
br label %6
6: ; preds = %21, %2
%7 = phi i32 [ 1, %2 ], [ %22, %21 ]
%8 = load i32, ptr @FORCEWAKE_KERNEL_FALLBACK, align 4, !tbaa !5
%9 = tail call i32 @wait_ack_clear(ptr noundef %0, i32 noundef %8) #2
%10 = load i32, ptr @FORCEWAKE_KERNEL_FALLBACK, align 4, !tbaa !5
%11 = tail call i32 @fw_set(ptr noundef %0, i32 noundef %10) #2
%12 = mul nuw nsw i32 %7, 10
%13 = tail call i32 @udelay(i32 noundef %12) #2
%14 = load i32, ptr @FORCEWAKE_KERNEL_FALLBACK, align 4, !tbaa !5
%15 = tail call i32 @wait_ack_set(ptr noundef %0, i32 noundef %14) #2
%16 = tail call i32 @fw_ack(ptr noundef %0) #2
%17 = and i32 %16, %3
%18 = icmp eq i32 %17, %5
%19 = load i32, ptr @FORCEWAKE_KERNEL_FALLBACK, align 4, !tbaa !5
%20 = tail call i32 @fw_clear(ptr noundef %0, i32 noundef %19) #2
br i1 %18, label %24, label %21
21: ; preds = %6
%22 = add nuw nsw i32 %7, 1
%23 = icmp eq i32 %22, 11
br i1 %23, label %24, label %6, !llvm.loop !9
24: ; preds = %6, %21
%25 = phi i32 [ %7, %6 ], [ 11, %21 ]
%26 = load i32, ptr %0, align 4, !tbaa !11
%27 = tail call i32 @intel_uncore_forcewake_domain_to_str(i32 noundef %26) #2
%28 = select i1 %4, ptr @.str.1, ptr @.str.2
%29 = tail call i32 @fw_ack(ptr noundef nonnull %0) #2
%30 = tail call i32 @DRM_DEBUG_DRIVER(ptr noundef nonnull @.str, i32 noundef %27, ptr noundef nonnull %28, i32 noundef %29, i32 noundef %25) #2
%31 = load i32, ptr @ETIMEDOUT, align 4
%32 = sub nsw i32 0, %31
%33 = select i1 %18, i32 0, i32 %32
ret i32 %33
}
declare i32 @wait_ack_clear(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fw_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @wait_ack_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fw_ack(ptr noundef) local_unnamed_addr #1
declare i32 @fw_clear(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DRM_DEBUG_DRIVER(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @intel_uncore_forcewake_domain_to_str(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"intel_uncore_forcewake_domain", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_uncore.c_fw_domain_wait_ack_with_fallback.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_uncore.c_fw_domain_wait_ack_with_fallback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FORCEWAKE_KERNEL = common local_unnamed_addr global i32 0, align 4
@ACK_SET = common local_unnamed_addr global i32 0, align 4
@FORCEWAKE_KERNEL_FALLBACK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [52 x i8] c"%s had to use fallback to %s ack, 0x%x (passes %u)\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"set\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@ETIMEDOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fw_domain_wait_ack_with_fallback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @fw_domain_wait_ack_with_fallback(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @FORCEWAKE_KERNEL, align 4, !tbaa !6
%4 = load i32, ptr @ACK_SET, align 4, !tbaa !6
%5 = icmp eq i32 %4, %1
%6 = select i1 %5, i32 %3, i32 0
br label %7
7: ; preds = %22, %2
%8 = phi i32 [ 1, %2 ], [ %23, %22 ]
%9 = load i32, ptr @FORCEWAKE_KERNEL_FALLBACK, align 4, !tbaa !6
%10 = tail call i32 @wait_ack_clear(ptr noundef %0, i32 noundef %9) #2
%11 = load i32, ptr @FORCEWAKE_KERNEL_FALLBACK, align 4, !tbaa !6
%12 = tail call i32 @fw_set(ptr noundef %0, i32 noundef %11) #2
%13 = mul nuw nsw i32 %8, 10
%14 = tail call i32 @udelay(i32 noundef %13) #2
%15 = load i32, ptr @FORCEWAKE_KERNEL_FALLBACK, align 4, !tbaa !6
%16 = tail call i32 @wait_ack_set(ptr noundef %0, i32 noundef %15) #2
%17 = tail call i32 @fw_ack(ptr noundef %0) #2
%18 = and i32 %17, %3
%19 = icmp eq i32 %18, %6
%20 = load i32, ptr @FORCEWAKE_KERNEL_FALLBACK, align 4, !tbaa !6
%21 = tail call i32 @fw_clear(ptr noundef %0, i32 noundef %20) #2
br i1 %19, label %25, label %22
22: ; preds = %7
%23 = add nuw nsw i32 %8, 1
%24 = icmp eq i32 %23, 11
br i1 %24, label %25, label %7, !llvm.loop !10
25: ; preds = %7, %22
%26 = phi i32 [ %8, %7 ], [ 11, %22 ]
%27 = load i32, ptr %0, align 4, !tbaa !12
%28 = tail call i32 @intel_uncore_forcewake_domain_to_str(i32 noundef %27) #2
%29 = load i32, ptr @ACK_SET, align 4, !tbaa !6
%30 = icmp eq i32 %29, %1
%31 = select i1 %30, ptr @.str.1, ptr @.str.2
%32 = tail call i32 @fw_ack(ptr noundef nonnull %0) #2
%33 = tail call i32 @DRM_DEBUG_DRIVER(ptr noundef nonnull @.str, i32 noundef %28, ptr noundef nonnull %31, i32 noundef %32, i32 noundef %26) #2
%34 = load i32, ptr @ETIMEDOUT, align 4
%35 = sub nsw i32 0, %34
%36 = select i1 %19, i32 0, i32 %35
ret i32 %36
}
declare i32 @wait_ack_clear(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fw_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @wait_ack_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fw_ack(ptr noundef) local_unnamed_addr #1
declare i32 @fw_clear(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DRM_DEBUG_DRIVER(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @intel_uncore_forcewake_domain_to_str(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !7, i64 0}
!13 = !{!"intel_uncore_forcewake_domain", !7, i64 0}
| linux_drivers_gpu_drm_i915_extr_intel_uncore.c_fw_domain_wait_ack_with_fallback |
; ModuleID = 'AnghaBench/linux/drivers/firmware/arm_scmi/extr_reset.c_scmi_reset_num_domains_get.c'
source_filename = "AnghaBench/linux/drivers/firmware/arm_scmi/extr_reset.c_scmi_reset_num_domains_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @scmi_reset_num_domains_get], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @scmi_reset_num_domains_get(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
ret i32 %3
}
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 = !{!"scmi_handle", !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 = !{!"scmi_reset_info", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/firmware/arm_scmi/extr_reset.c_scmi_reset_num_domains_get.c'
source_filename = "AnghaBench/linux/drivers/firmware/arm_scmi/extr_reset.c_scmi_reset_num_domains_get.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 @scmi_reset_num_domains_get], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @scmi_reset_num_domains_get(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
ret i32 %3
}
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 = !{!"scmi_handle", !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 = !{!"scmi_reset_info", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_firmware_arm_scmi_extr_reset.c_scmi_reset_num_domains_get |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.