IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/ios-webkit-debug-proxy/src/extr_port_config.c_pc_new.c'
source_filename = "AnghaBench/ios-webkit-debug-proxy/src/extr_port_config.c_pc_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i64 @pc_new() local_unnamed_addr #0 {
%1 = tail call i64 @malloc(i32 noundef 4) #2
%2 = icmp eq i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @memset(i64 noundef %1, i32 noundef 0, i32 noundef 4) #2
br label %5
5: ; preds = %3, %0
ret i64 %1
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @memset(i64 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/ios-webkit-debug-proxy/src/extr_port_config.c_pc_new.c'
source_filename = "AnghaBench/ios-webkit-debug-proxy/src/extr_port_config.c_pc_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @pc_new() local_unnamed_addr #0 {
%1 = tail call i64 @malloc(i32 noundef 4) #2
%2 = icmp eq i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @memset(i64 noundef %1, i32 noundef 0, i32 noundef 4) #2
br label %5
5: ; preds = %3, %0
ret i64 %1
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @memset(i64 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)"}
| ios-webkit-debug-proxy_src_extr_port_config.c_pc_new |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/nfs/gss/extr_gss_krb5_mech.c_gss_krb5_der_length_put.c'
source_filename = "AnghaBench/darwin-xnu/bsd/nfs/gss/extr_gss_krb5_mech.c_gss_krb5_der_length_put.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @gss_krb5_der_length_put], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gss_krb5_der_length_put(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @gss_krb5_der_length_size(i32 noundef %1) #2
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = icmp eq i32 %3, 1
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = sext i32 %1 to i64
%8 = inttoptr i64 %7 to ptr
%9 = getelementptr inbounds ptr, ptr %4, i64 1
store ptr %8, ptr %4, align 8, !tbaa !5
br label %69
10: ; preds = %2
%11 = add i32 %3, -1
%12 = or i32 %11, 128
%13 = sext i32 %12 to i64
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %4, align 8, !tbaa !5
%15 = getelementptr inbounds ptr, ptr %4, i64 1
%16 = add i32 %3, -2
%17 = and i32 %11, 3
%18 = icmp eq i32 %17, 0
br i1 %18, label %32, label %19
19: ; preds = %10, %19
%20 = phi ptr [ %29, %19 ], [ %15, %10 ]
%21 = phi i32 [ %23, %19 ], [ %11, %10 ]
%22 = phi i32 [ %30, %19 ], [ 0, %10 ]
%23 = add nsw i32 %21, -1
%24 = shl nsw i32 %23, 3
%25 = ashr i32 %1, %24
%26 = and i32 %25, 255
%27 = zext nneg i32 %26 to i64
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %20, align 8, !tbaa !5
%29 = getelementptr inbounds ptr, ptr %20, i64 1
%30 = add i32 %22, 1
%31 = icmp eq i32 %30, %17
br i1 %31, label %32, label %19, !llvm.loop !9
32: ; preds = %19, %10
%33 = phi ptr [ undef, %10 ], [ %29, %19 ]
%34 = phi ptr [ %15, %10 ], [ %29, %19 ]
%35 = phi i32 [ %11, %10 ], [ %23, %19 ]
%36 = icmp ult i32 %16, 3
br i1 %36, label %69, label %37
37: ; preds = %32, %37
%38 = phi ptr [ %67, %37 ], [ %34, %32 ]
%39 = phi i32 [ %61, %37 ], [ %35, %32 ]
%40 = shl i32 %39, 3
%41 = add i32 %40, -8
%42 = ashr i32 %1, %41
%43 = and i32 %42, 255
%44 = zext nneg i32 %43 to i64
%45 = inttoptr i64 %44 to ptr
store ptr %45, ptr %38, align 8, !tbaa !5
%46 = getelementptr inbounds ptr, ptr %38, i64 1
%47 = shl i32 %39, 3
%48 = add i32 %47, -16
%49 = ashr i32 %1, %48
%50 = and i32 %49, 255
%51 = zext nneg i32 %50 to i64
%52 = inttoptr i64 %51 to ptr
store ptr %52, ptr %46, align 8, !tbaa !5
%53 = getelementptr inbounds ptr, ptr %38, i64 2
%54 = shl i32 %39, 3
%55 = add i32 %54, -24
%56 = ashr i32 %1, %55
%57 = and i32 %56, 255
%58 = zext nneg i32 %57 to i64
%59 = inttoptr i64 %58 to ptr
store ptr %59, ptr %53, align 8, !tbaa !5
%60 = getelementptr inbounds ptr, ptr %38, i64 3
%61 = add nsw i32 %39, -4
%62 = shl nsw i32 %61, 3
%63 = ashr i32 %1, %62
%64 = and i32 %63, 255
%65 = zext nneg i32 %64 to i64
%66 = inttoptr i64 %65 to ptr
store ptr %66, ptr %60, align 8, !tbaa !5
%67 = getelementptr inbounds ptr, ptr %38, i64 4
%68 = icmp eq i32 %61, 0
br i1 %68, label %69, label %37, !llvm.loop !11
69: ; preds = %32, %37, %6
%70 = phi ptr [ %9, %6 ], [ %33, %32 ], [ %67, %37 ]
store ptr %70, ptr %0, align 8, !tbaa !5
ret void
}
declare i32 @gss_krb5_der_length_size(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.unroll.disable"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/nfs/gss/extr_gss_krb5_mech.c_gss_krb5_der_length_put.c'
source_filename = "AnghaBench/darwin-xnu/bsd/nfs/gss/extr_gss_krb5_mech.c_gss_krb5_der_length_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 @gss_krb5_der_length_put], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gss_krb5_der_length_put(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @gss_krb5_der_length_size(i32 noundef %1) #2
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = icmp eq i32 %3, 1
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = sext i32 %1 to i64
%8 = inttoptr i64 %7 to ptr
%9 = getelementptr inbounds i8, ptr %4, i64 8
store ptr %8, ptr %4, align 8, !tbaa !6
br label %80
10: ; preds = %2
%11 = add i32 %3, -1
%12 = or i32 %11, 128
%13 = sext i32 %12 to i64
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %4, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %4, i64 8
%16 = zext i32 %11 to i64
%17 = icmp ult i32 %11, 8
br i1 %17, label %66, label %18
18: ; preds = %10
%19 = and i64 %16, 4294967288
%20 = shl nuw nsw i64 %19, 3
%21 = getelementptr i8, ptr %15, i64 %20
%22 = trunc nuw i64 %19 to i32
%23 = sub i32 %11, %22
%24 = insertelement <2 x i32> poison, i32 %11, i64 0
%25 = shufflevector <2 x i32> %24, <2 x i32> poison, <2 x i32> zeroinitializer
%26 = add <2 x i32> %25, <i32 0, i32 -1>
%27 = insertelement <2 x i32> poison, i32 %1, i64 0
%28 = shufflevector <2 x i32> %27, <2 x i32> poison, <2 x i32> zeroinitializer
br label %29
29: ; preds = %29, %18
%30 = phi i64 [ 0, %18 ], [ %61, %29 ]
%31 = phi <2 x i32> [ %26, %18 ], [ %62, %29 ]
%32 = shl i64 %30, 3
%33 = getelementptr i8, ptr %15, i64 %32
%34 = shl <2 x i32> %31, <i32 3, i32 3>
%35 = add <2 x i32> %34, <i32 -8, i32 -8>
%36 = shl <2 x i32> %31, <i32 3, i32 3>
%37 = add <2 x i32> %36, <i32 -24, i32 -24>
%38 = shl <2 x i32> %31, <i32 3, i32 3>
%39 = add <2 x i32> %38, <i32 -40, i32 -40>
%40 = shl <2 x i32> %31, <i32 3, i32 3>
%41 = add <2 x i32> %40, <i32 -56, i32 -56>
%42 = ashr <2 x i32> %28, %35
%43 = ashr <2 x i32> %28, %37
%44 = ashr <2 x i32> %28, %39
%45 = ashr <2 x i32> %28, %41
%46 = and <2 x i32> %42, <i32 255, i32 255>
%47 = and <2 x i32> %43, <i32 255, i32 255>
%48 = and <2 x i32> %44, <i32 255, i32 255>
%49 = and <2 x i32> %45, <i32 255, i32 255>
%50 = zext nneg <2 x i32> %46 to <2 x i64>
%51 = zext nneg <2 x i32> %47 to <2 x i64>
%52 = zext nneg <2 x i32> %48 to <2 x i64>
%53 = zext nneg <2 x i32> %49 to <2 x i64>
%54 = inttoptr <2 x i64> %50 to <2 x ptr>
%55 = inttoptr <2 x i64> %51 to <2 x ptr>
%56 = inttoptr <2 x i64> %52 to <2 x ptr>
%57 = inttoptr <2 x i64> %53 to <2 x ptr>
%58 = getelementptr i8, ptr %33, i64 16
%59 = getelementptr i8, ptr %33, i64 32
%60 = getelementptr i8, ptr %33, i64 48
store <2 x ptr> %54, ptr %33, align 8, !tbaa !6
store <2 x ptr> %55, ptr %58, align 8, !tbaa !6
store <2 x ptr> %56, ptr %59, align 8, !tbaa !6
store <2 x ptr> %57, ptr %60, align 8, !tbaa !6
%61 = add nuw i64 %30, 8
%62 = add <2 x i32> %31, <i32 -8, i32 -8>
%63 = icmp eq i64 %61, %19
br i1 %63, label %64, label %29, !llvm.loop !10
64: ; preds = %29
%65 = icmp eq i64 %19, %16
br i1 %65, label %80, label %66
66: ; preds = %64, %10
%67 = phi ptr [ %15, %10 ], [ %21, %64 ]
%68 = phi i32 [ %11, %10 ], [ %23, %64 ]
br label %69
69: ; preds = %66, %69
%70 = phi ptr [ %78, %69 ], [ %67, %66 ]
%71 = phi i32 [ %72, %69 ], [ %68, %66 ]
%72 = add nsw i32 %71, -1
%73 = shl nsw i32 %72, 3
%74 = ashr i32 %1, %73
%75 = and i32 %74, 255
%76 = zext nneg i32 %75 to i64
%77 = inttoptr i64 %76 to ptr
store ptr %77, ptr %70, align 8, !tbaa !6
%78 = getelementptr inbounds i8, ptr %70, i64 8
%79 = icmp eq i32 %72, 0
br i1 %79, label %80, label %69, !llvm.loop !14
80: ; preds = %69, %64, %6
%81 = phi ptr [ %9, %6 ], [ %21, %64 ], [ %78, %69 ]
store ptr %81, ptr %0, align 8, !tbaa !6
ret void
}
declare i32 @gss_krb5_der_length_size(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = 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}
| darwin-xnu_bsd_nfs_gss_extr_gss_krb5_mech.c_gss_krb5_der_length_put |
; ModuleID = 'AnghaBench/exploitdb/exploits/linux_x86-64/local/extr_15023.c_kernelmodecode.c'
source_filename = "AnghaBench/exploitdb/exploits/linux_x86-64/local/extr_15023.c_kernelmodecode.c"
target datalayout = "e-m:e-p270:32:32-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 noundef i32 @kernelmodecode(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call i32 @prepare_kernel_cred(i32 noundef 0) #2
%4 = tail call i32 @commit_creds(i32 noundef %3) #2
ret i32 -1
}
declare i32 @commit_creds(i32 noundef) local_unnamed_addr #1
declare i32 @prepare_kernel_cred(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/exploitdb/exploits/linux_x86-64/local/extr_15023.c_kernelmodecode.c'
source_filename = "AnghaBench/exploitdb/exploits/linux_x86-64/local/extr_15023.c_kernelmodecode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @kernelmodecode(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call i32 @prepare_kernel_cred(i32 noundef 0) #2
%4 = tail call i32 @commit_creds(i32 noundef %3) #2
ret i32 -1
}
declare i32 @commit_creds(i32 noundef) local_unnamed_addr #1
declare i32 @prepare_kernel_cred(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)"}
| exploitdb_exploits_linux_x86-64_local_extr_15023.c_kernelmodecode |
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/ext2/src/nls/extr_nls_iso8859-2.c_char2uni.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/ext2/src/nls/extr_nls_iso8859-2.c_char2uni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@charset2uni = dso_local local_unnamed_addr global ptr null, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @char2uni], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal i32 @char2uni(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load ptr, ptr @charset2uni, align 8, !tbaa !5
%5 = load i8, ptr %0, align 1, !tbaa !9
%6 = zext i8 %5 to i64
%7 = getelementptr inbounds i32, ptr %4, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !10
store i32 %8, ptr %2, align 4, !tbaa !10
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr @EINVAL, align 4
%11 = sub nsw i32 0, %10
%12 = select i1 %9, i32 %11, i32 1
ret i32 %12
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/drivers/filesystems/ext2/src/nls/extr_nls_iso8859-2.c_char2uni.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/ext2/src/nls/extr_nls_iso8859-2.c_char2uni.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@charset2uni = common local_unnamed_addr global ptr null, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @char2uni], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @char2uni(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load ptr, ptr @charset2uni, align 8, !tbaa !6
%5 = load i8, ptr %0, align 1, !tbaa !10
%6 = zext i8 %5 to i64
%7 = getelementptr inbounds i32, ptr %4, i64 %6
%8 = load i32, ptr %7, align 4, !tbaa !11
store i32 %8, ptr %2, align 4, !tbaa !11
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr @EINVAL, align 4
%11 = sub nsw i32 0, %10
%12 = select i1 %9, i32 %11, i32 1
ret i32 %12
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| reactos_drivers_filesystems_ext2_src_nls_extr_nls_iso8859-2.c_char2uni |
; ModuleID = 'AnghaBench/netdata/backends/extr_backends.h_strip_quotes.c'
source_filename = "AnghaBench/netdata/backends/extr_backends.h_strip_quotes.c"
target datalayout = "e-m:e-p270:32:32-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 @strip_quotes], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define internal ptr @strip_quotes(ptr noundef %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !5
switch i8 %2, label %18 [
i8 34, label %3
i8 39, label %3
]
3: ; preds = %1, %1
br label %4
4: ; preds = %3, %4
%5 = phi i64 [ %9, %4 ], [ 1, %3 ]
%6 = getelementptr inbounds i8, ptr %0, i64 %5
%7 = load i8, ptr %6, align 1, !tbaa !5
%8 = icmp eq i8 %7, 0
%9 = add nuw nsw i64 %5, 1
br i1 %8, label %10, label %4, !llvm.loop !8
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %0, i64 %5
%12 = getelementptr inbounds i8, ptr %0, i64 1
%13 = icmp ne i64 %5, 1
%14 = sext i1 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
%16 = load i8, ptr %15, align 1, !tbaa !5
switch i8 %16, label %18 [
i8 34, label %17
i8 39, label %17
]
17: ; preds = %10, %10
store i8 0, ptr %15, align 1, !tbaa !5
br label %18
18: ; preds = %17, %10, %1
%19 = phi ptr [ %0, %1 ], [ %12, %10 ], [ %12, %17 ]
ret ptr %19
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/netdata/backends/extr_backends.h_strip_quotes.c'
source_filename = "AnghaBench/netdata/backends/extr_backends.h_strip_quotes.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 @strip_quotes], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync)
define internal ptr @strip_quotes(ptr noundef %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !6
switch i8 %2, label %18 [
i8 34, label %3
i8 39, label %3
]
3: ; preds = %1, %1
br label %4
4: ; preds = %3, %4
%5 = phi i64 [ %9, %4 ], [ 1, %3 ]
%6 = getelementptr inbounds i8, ptr %0, i64 %5
%7 = load i8, ptr %6, align 1, !tbaa !6
%8 = icmp eq i8 %7, 0
%9 = add nuw nsw i64 %5, 1
br i1 %8, label %10, label %4, !llvm.loop !9
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %0, i64 %5
%12 = getelementptr inbounds i8, ptr %0, i64 1
%13 = icmp ne i64 %5, 1
%14 = sext i1 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
%16 = load i8, ptr %15, align 1, !tbaa !6
switch i8 %16, label %18 [
i8 34, label %17
i8 39, label %17
]
17: ; preds = %10, %10
store i8 0, ptr %15, align 1, !tbaa !6
br label %18
18: ; preds = %17, %10, %1
%19 = phi ptr [ %0, %1 ], [ %12, %10 ], [ %12, %17 ]
ret ptr %19
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| netdata_backends_extr_backends.h_strip_quotes |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_common.c_b43_radio_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_common.c_b43_radio_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"
; Function Attrs: nounwind uwtable
define dso_local i32 @b43_radio_read(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @assert_mac_suspended(ptr noundef %0) #2
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i32 %5(ptr noundef nonnull %0, i32 noundef %1) #2
ret i32 %6
}
declare i32 @assert_mac_suspended(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"b43_wldev", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_3__", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_common.c_b43_radio_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_common.c_b43_radio_read.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 @b43_radio_read(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @assert_mac_suspended(ptr noundef %0) #2
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = tail call i32 %5(ptr noundef nonnull %0, i32 noundef %1) #2
ret i32 %6
}
declare i32 @assert_mac_suspended(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"b43_wldev", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 0}
!13 = !{!"TYPE_3__", !9, i64 0}
| fastsocket_kernel_drivers_net_wireless_b43_extr_phy_common.c_b43_radio_read |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c_wil_num_supported_channels.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c_wil_num_supported_channels.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@wil_60ghz_channels = dso_local local_unnamed_addr global i32 0, align 4
@WMI_FW_CAPABILITY_CHANNEL_4 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wil_num_supported_channels], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wil_num_supported_channels(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @wil_60ghz_channels, align 4, !tbaa !5
%3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2
%4 = load i32, ptr @WMI_FW_CAPABILITY_CHANNEL_4, align 4, !tbaa !5
%5 = load i32, ptr %0, align 4, !tbaa !9
%6 = tail call i32 @test_bit(i32 noundef %4, i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
%8 = sext i1 %7 to i32
%9 = add nsw i32 %3, %8
ret i32 %9
}
declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @test_bit(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 = !{!"wil6210_priv", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c_wil_num_supported_channels.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c_wil_num_supported_channels.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@wil_60ghz_channels = common local_unnamed_addr global i32 0, align 4
@WMI_FW_CAPABILITY_CHANNEL_4 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wil_num_supported_channels], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wil_num_supported_channels(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @wil_60ghz_channels, align 4, !tbaa !6
%3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2
%4 = load i32, ptr @WMI_FW_CAPABILITY_CHANNEL_4, align 4, !tbaa !6
%5 = load i32, ptr %0, align 4, !tbaa !10
%6 = tail call i32 @test_bit(i32 noundef %4, i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
%8 = sext i1 %7 to i32
%9 = add nsw i32 %3, %8
ret i32 %9
}
declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @test_bit(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 = !{!"wil6210_priv", !7, i64 0}
| linux_drivers_net_wireless_ath_wil6210_extr_cfg80211.c_wil_num_supported_channels |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_buffer.c_isc__buffer_back.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_buffer.c_isc__buffer_back.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @isc__buffer_back(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @ISC_BUFFER_VALID(ptr noundef %0) #2
%4 = tail call i32 @REQUIRE(i32 noundef %3) #2
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = icmp uge i32 %5, %1
%7 = zext i1 %6 to i32
%8 = tail call i32 @REQUIRE(i32 noundef %7) #2
%9 = tail call i32 @ISC__BUFFER_BACK(ptr noundef nonnull %0, i32 noundef %1) #2
ret void
}
declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1
declare i32 @ISC_BUFFER_VALID(ptr noundef) local_unnamed_addr #1
declare i32 @ISC__BUFFER_BACK(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_buffer.c_isc__buffer_back.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_buffer.c_isc__buffer_back.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 @isc__buffer_back(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @ISC_BUFFER_VALID(ptr noundef %0) #2
%4 = tail call i32 @REQUIRE(i32 noundef %3) #2
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = icmp uge i32 %5, %1
%7 = zext i1 %6 to i32
%8 = tail call i32 @REQUIRE(i32 noundef %7) #2
%9 = tail call i32 @ISC__BUFFER_BACK(ptr noundef nonnull %0, i32 noundef %1) #2
ret void
}
declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1
declare i32 @ISC_BUFFER_VALID(ptr noundef) local_unnamed_addr #1
declare i32 @ISC__BUFFER_BACK(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_ntp_lib_isc_extr_buffer.c_isc__buffer_back |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_ultra45_env.c_show_fan_speed.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_ultra45_env.c_show_fan_speed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IREG_FAN0 = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_fan_speed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @show_fan_speed(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%7 = load i64, ptr @IREG_FAN0, align 8, !tbaa !10
%8 = sext i32 %5 to i64
%9 = add nsw i64 %7, %8
%10 = tail call i64 @env_read(ptr noundef %6, i64 noundef %9) #2
%11 = trunc i64 %10 to i32
%12 = shl i32 %11, 8
%13 = tail call i64 @FAN_DATA_VALID(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %3
%16 = tail call i32 @FAN_PERIOD_TO_RPM(i32 noundef %12) #2
br label %17
17: ; preds = %3, %15
%18 = phi i32 [ %16, %15 ], [ 0, %3 ]
%19 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %18) #2
ret i32 %19
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i64 @env_read(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @FAN_DATA_VALID(i32 noundef) local_unnamed_addr #1
declare i32 @FAN_PERIOD_TO_RPM(i32 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, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_ultra45_env.c_show_fan_speed.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_ultra45_env.c_show_fan_speed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IREG_FAN0 = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @show_fan_speed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_fan_speed(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%7 = load i64, ptr @IREG_FAN0, align 8, !tbaa !11
%8 = sext i32 %5 to i64
%9 = add nsw i64 %7, %8
%10 = tail call i64 @env_read(ptr noundef %6, i64 noundef %9) #2
%11 = trunc i64 %10 to i32
%12 = shl i32 %11, 8
%13 = tail call i64 @FAN_DATA_VALID(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %3
%16 = tail call i32 @FAN_PERIOD_TO_RPM(i32 noundef %12) #2
br label %17
17: ; preds = %3, %15
%18 = phi i32 [ %16, %15 ], [ 0, %3 ]
%19 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %18) #2
ret i32 %19
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i64 @env_read(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @FAN_DATA_VALID(i32 noundef) local_unnamed_addr #1
declare i32 @FAN_PERIOD_TO_RPM(i32 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, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
| linux_drivers_hwmon_extr_ultra45_env.c_show_fan_speed |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid45.c_stripe_io_get.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid45.c_stripe_io_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.stripe = type { ptr, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @stripe_io_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @stripe_io_get(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.stripe, ptr %0, i64 0, i32 1
%3 = tail call i32 @atomic_inc_return(ptr noundef nonnull %2) #2
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = tail call i32 @atomic_inc(ptr noundef %6) #2
br label %13
8: ; preds = %1
%9 = tail call i64 @stripe_io_ref(ptr noundef %0) #2
%10 = lshr i64 %9, 63
%11 = trunc i64 %10 to i32
%12 = tail call i32 @BUG_ON(i32 noundef %11) #2
br label %13
13: ; preds = %8, %5
ret void
}
declare i32 @atomic_inc_return(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i64 @stripe_io_ref(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 = !{!"stripe", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_3__", !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid45.c_stripe_io_get.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid45.c_stripe_io_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 @stripe_io_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @stripe_io_get(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = tail call i32 @atomic_inc_return(ptr noundef nonnull %2) #2
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = tail call i32 @atomic_inc(ptr noundef %6) #2
br label %13
8: ; preds = %1
%9 = tail call i64 @stripe_io_ref(ptr noundef %0) #2
%10 = lshr i64 %9, 63
%11 = trunc nuw nsw i64 %10 to i32
%12 = tail call i32 @BUG_ON(i32 noundef %11) #2
br label %13
13: ; preds = %8, %5
ret void
}
declare i32 @atomic_inc_return(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i64 @stripe_io_ref(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 = !{!"stripe", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_md_extr_dm-raid45.c_stripe_io_get |
; ModuleID = 'AnghaBench/obs-studio/deps/obs-scripting/extr_obs-scripting-lua-source.c_obs_lua_source_destroy.c'
source_filename = "AnghaBench/obs-studio/deps/obs-scripting/extr_obs-scripting-lua-source.c_obs_lua_source_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"
%struct.obs_lua_data = type { ptr, ptr, ptr }
%struct.obs_lua_source = type { i32, i32 }
@destroy = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @obs_lua_source_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @obs_lua_source_destroy(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.obs_lua_data, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @pthread_mutex_lock(ptr noundef %3) #2
%5 = getelementptr inbounds %struct.obs_lua_source, ptr %3, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = icmp eq i32 %6, 0
br i1 %7, label %16, label %8
8: ; preds = %1
%9 = load i32, ptr @destroy, align 4, !tbaa !13
%10 = tail call i32 @have_func(i32 noundef %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %8
%13 = tail call i32 (...) @lock_script() #2
%14 = tail call i32 @call_destroy(ptr noundef nonnull %0) #2
%15 = tail call i32 (...) @unlock_script() #2
br label %16
16: ; preds = %8, %1, %12
%17 = getelementptr inbounds %struct.obs_lua_data, ptr %0, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = load ptr, ptr %0, align 8, !tbaa !15
store ptr %18, ptr %19, align 8, !tbaa !16
%20 = icmp eq ptr %18, null
br i1 %20, label %23, label %21
21: ; preds = %16
%22 = load ptr, ptr %0, align 8, !tbaa !15
store ptr %22, ptr %18, align 8, !tbaa !15
br label %23
23: ; preds = %21, %16
%24 = tail call i32 @bfree(ptr noundef nonnull %0) #2
%25 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %3) #2
ret void
}
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @have_func(i32 noundef) local_unnamed_addr #1
declare i32 @lock_script(...) local_unnamed_addr #1
declare i32 @call_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @unlock_script(...) local_unnamed_addr #1
declare i32 @bfree(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"obs_lua_data", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"obs_lua_source", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 0}
!16 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/obs-studio/deps/obs-scripting/extr_obs-scripting-lua-source.c_obs_lua_source_destroy.c'
source_filename = "AnghaBench/obs-studio/deps/obs-scripting/extr_obs-scripting-lua-source.c_obs_lua_source_destroy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@destroy = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @obs_lua_source_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @obs_lua_source_destroy(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @pthread_mutex_lock(ptr noundef %3) #2
%5 = getelementptr inbounds i8, ptr %3, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = icmp eq i32 %6, 0
br i1 %7, label %16, label %8
8: ; preds = %1
%9 = load i32, ptr @destroy, align 4, !tbaa !14
%10 = tail call i32 @have_func(i32 noundef %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %8
%13 = tail call i32 @lock_script() #2
%14 = tail call i32 @call_destroy(ptr noundef nonnull %0) #2
%15 = tail call i32 @unlock_script() #2
br label %16
16: ; preds = %8, %1, %12
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !15
%19 = load ptr, ptr %0, align 8, !tbaa !16
store ptr %18, ptr %19, align 8, !tbaa !17
%20 = icmp eq ptr %18, null
br i1 %20, label %23, label %21
21: ; preds = %16
%22 = load ptr, ptr %0, align 8, !tbaa !16
store ptr %22, ptr %18, align 8, !tbaa !16
br label %23
23: ; preds = %21, %16
%24 = tail call i32 @bfree(ptr noundef nonnull %0) #2
%25 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %3) #2
ret void
}
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @have_func(i32 noundef) local_unnamed_addr #1
declare i32 @lock_script(...) local_unnamed_addr #1
declare i32 @call_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @unlock_script(...) local_unnamed_addr #1
declare i32 @bfree(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"obs_lua_data", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 4}
!12 = !{!"obs_lua_source", !13, i64 0, !13, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !8, i64 0}
!17 = !{!8, !8, i64 0}
| obs-studio_deps_obs-scripting_extr_obs-scripting-lua-source.c_obs_lua_source_destroy |
; ModuleID = 'AnghaBench/linux/drivers/block/paride/extr_frpw.c_frpw_read_block.c'
source_filename = "AnghaBench/linux/drivers/block/paride/extr_frpw.c_frpw_read_block.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @frpw_read_block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @frpw_read_block(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @frpw_read_block_int(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 8) #2
ret void
}
declare i32 @frpw_read_block_int(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/block/paride/extr_frpw.c_frpw_read_block.c'
source_filename = "AnghaBench/linux/drivers/block/paride/extr_frpw.c_frpw_read_block.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 @frpw_read_block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @frpw_read_block(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @frpw_read_block_int(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 8) #2
ret void
}
declare i32 @frpw_read_block_int(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_block_paride_extr_frpw.c_frpw_read_block |
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_execTuples.c_tts_minimal_clear.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_execTuples.c_tts_minimal_clear.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
@TTS_FLAG_SHOULDFREE = dso_local local_unnamed_addr global i32 0, align 4
@TTS_FLAG_EMPTY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tts_minimal_clear], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tts_minimal_clear(ptr noundef %0) #0 {
%2 = tail call i64 @TTS_SHOULDFREE(ptr noundef %0) #3
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
br label %15
7: ; preds = %1
%8 = load ptr, ptr %0, align 8, !tbaa !11
%9 = tail call i32 @heap_free_minimal_tuple(ptr noundef %8) #3
%10 = load i32, ptr @TTS_FLAG_SHOULDFREE, align 4, !tbaa !14
%11 = xor i32 %10, -1
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !5
%14 = and i32 %13, %11
br label %15
15: ; preds = %4, %7
%16 = phi i32 [ %6, %4 ], [ %14, %7 ]
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
store i64 0, ptr %17, align 8, !tbaa !15
%18 = load i32, ptr @TTS_FLAG_EMPTY, align 4, !tbaa !14
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%20 = or i32 %16, %18
store i32 %20, ptr %19, align 4, !tbaa !5
%21 = tail call i32 @ItemPointerSetInvalid(ptr noundef nonnull %0) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
declare i64 @TTS_SHOULDFREE(ptr noundef) local_unnamed_addr #1
declare i32 @heap_free_minimal_tuple(ptr noundef) local_unnamed_addr #1
declare i32 @ItemPointerSetInvalid(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 4}
!6 = !{!"TYPE_5__", !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 = !{!"long", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0, !10, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_execTuples.c_tts_minimal_clear.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_execTuples.c_tts_minimal_clear.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TTS_FLAG_SHOULDFREE = common local_unnamed_addr global i32 0, align 4
@TTS_FLAG_EMPTY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tts_minimal_clear], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tts_minimal_clear(ptr noundef %0) #0 {
%2 = tail call i64 @TTS_SHOULDFREE(ptr noundef %0) #3
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
br label %15
7: ; preds = %1
%8 = load ptr, ptr %0, align 8, !tbaa !12
%9 = tail call i32 @heap_free_minimal_tuple(ptr noundef %8) #3
%10 = load i32, ptr @TTS_FLAG_SHOULDFREE, align 4, !tbaa !15
%11 = xor i32 %10, -1
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !6
%14 = and i32 %13, %11
br label %15
15: ; preds = %4, %7
%16 = phi i32 [ %6, %4 ], [ %14, %7 ]
%17 = getelementptr inbounds i8, ptr %0, i64 8
store i64 0, ptr %17, align 8, !tbaa !16
%18 = load i32, ptr @TTS_FLAG_EMPTY, align 4, !tbaa !15
%19 = getelementptr inbounds i8, ptr %0, i64 4
%20 = or i32 %16, %18
store i32 %20, ptr %19, align 4, !tbaa !6
%21 = tail call i32 @ItemPointerSetInvalid(ptr noundef nonnull %0) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
declare i64 @TTS_SHOULDFREE(ptr noundef) local_unnamed_addr #1
declare i32 @heap_free_minimal_tuple(ptr noundef) local_unnamed_addr #1
declare i32 @ItemPointerSetInvalid(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 4}
!7 = !{!"TYPE_5__", !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 = !{!"long", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0, !11, i64 8}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !11, i64 8}
| postgres_src_backend_executor_extr_execTuples.c_tts_minimal_clear |
; ModuleID = 'AnghaBench/linux/arch/x86/platform/uv/extr_uv_nmi.c_uv_nmi_test_mmr.c'
source_filename = "AnghaBench/linux/arch/x86/platform/uv/extr_uv_nmi.c_uv_nmi_test_mmr.c"
target datalayout = "e-m:e-p270:32:32-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.uv_hub_nmi_s = type { i32, i32 }
@nmi_mmr = dso_local local_unnamed_addr global i32 0, align 4
@nmi_mmr_pending = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uv_nmi_test_mmr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @uv_nmi_test_mmr(ptr noundef %0) #0 {
%2 = load i32, ptr @nmi_mmr, align 4, !tbaa !5
%3 = tail call i32 @uv_read_local_mmr(i32 noundef %2) #2
store i32 %3, ptr %0, align 4, !tbaa !9
%4 = getelementptr inbounds %struct.uv_hub_nmi_s, ptr %0, i64 0, i32 1
%5 = tail call i32 @atomic_inc(ptr noundef nonnull %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = load i32, ptr @nmi_mmr_pending, align 4, !tbaa !5
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @uv_read_local_mmr(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"uv_hub_nmi_s", !6, i64 0, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/arch/x86/platform/uv/extr_uv_nmi.c_uv_nmi_test_mmr.c'
source_filename = "AnghaBench/linux/arch/x86/platform/uv/extr_uv_nmi.c_uv_nmi_test_mmr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nmi_mmr = common local_unnamed_addr global i32 0, align 4
@nmi_mmr_pending = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uv_nmi_test_mmr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @uv_nmi_test_mmr(ptr noundef %0) #0 {
%2 = load i32, ptr @nmi_mmr, align 4, !tbaa !6
%3 = tail call i32 @uv_read_local_mmr(i32 noundef %2) #2
store i32 %3, ptr %0, align 4, !tbaa !10
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = tail call i32 @atomic_inc(ptr noundef nonnull %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = load i32, ptr @nmi_mmr_pending, align 4, !tbaa !6
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @uv_read_local_mmr(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"uv_hub_nmi_s", !7, i64 0, !7, i64 4}
| linux_arch_x86_platform_uv_extr_uv_nmi.c_uv_nmi_test_mmr |
; ModuleID = 'AnghaBench/linux/net/caif/extr_cfpkt_skbuff.c_cfpkt_split.c'
source_filename = "AnghaBench/linux/net/caif/extr_cfpkt_skbuff.c_cfpkt_split.c"
target datalayout = "e-m:e-p270:32:32-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.sk_buff = type { i32, ptr }
@.str = private unnamed_addr constant [38 x i8] c"trying to split beyond end of packet\0A\00", align 1
@PKT_PREFIX = dso_local local_unnamed_addr global i32 0, align 4
@PKT_POSTFIX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @cfpkt_split(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @pkt_to_skb(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.sk_buff, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = sext i32 %1 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = tail call ptr @skb_tail_pointer(ptr noundef %3) #2
%9 = ptrtoint ptr %8 to i64
%10 = ptrtoint ptr %7 to i64
%11 = sub i64 %9, %10
%12 = lshr exact i64 %11, 2
%13 = trunc i64 %12 to i32
%14 = tail call i32 @is_erronous(ptr noundef %0) #2
%15 = tail call i64 @unlikely(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %39
17: ; preds = %2
%18 = load ptr, ptr %4, align 8, !tbaa !5
%19 = getelementptr inbounds i32, ptr %18, i64 %6
%20 = tail call ptr @skb_tail_pointer(ptr noundef nonnull %3) #2
%21 = icmp ugt ptr %19, %20
br i1 %21, label %22, label %24
22: ; preds = %17
%23 = tail call i32 @PKT_ERROR(ptr noundef %0, ptr noundef nonnull @.str) #2
br label %39
24: ; preds = %17
%25 = load i32, ptr @PKT_PREFIX, align 4, !tbaa !11
%26 = add nsw i32 %25, %13
%27 = load i32, ptr @PKT_POSTFIX, align 4, !tbaa !11
%28 = add nsw i32 %26, %27
%29 = tail call ptr @cfpkt_create_pfx(i32 noundef %28, i32 noundef %25) #2
%30 = icmp eq ptr %29, null
br i1 %30, label %39, label %31
31: ; preds = %24
%32 = tail call ptr @pkt_to_skb(ptr noundef nonnull %29) #2
%33 = icmp eq ptr %32, null
br i1 %33, label %39, label %34
34: ; preds = %31
%35 = tail call i32 @skb_put_data(ptr noundef nonnull %32, ptr noundef %7, i32 noundef %13) #2
%36 = tail call i32 @skb_trim(ptr noundef nonnull %3, i32 noundef %1) #2
%37 = load i32, ptr %3, align 8, !tbaa !12
store i32 %37, ptr %32, align 8, !tbaa !12
%38 = tail call ptr @skb_to_pkt(ptr noundef nonnull %32) #2
br label %39
39: ; preds = %31, %24, %2, %34, %22
%40 = phi ptr [ null, %22 ], [ %38, %34 ], [ null, %2 ], [ null, %24 ], [ null, %31 ]
ret ptr %40
}
declare ptr @pkt_to_skb(ptr noundef) local_unnamed_addr #1
declare ptr @skb_tail_pointer(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @is_erronous(ptr noundef) local_unnamed_addr #1
declare i32 @PKT_ERROR(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @cfpkt_create_pfx(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_put_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_trim(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @skb_to_pkt(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"sk_buff", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/caif/extr_cfpkt_skbuff.c_cfpkt_split.c'
source_filename = "AnghaBench/linux/net/caif/extr_cfpkt_skbuff.c_cfpkt_split.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 [38 x i8] c"trying to split beyond end of packet\0A\00", align 1
@PKT_PREFIX = common local_unnamed_addr global i32 0, align 4
@PKT_POSTFIX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @cfpkt_split(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @pkt_to_skb(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = sext i32 %1 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = tail call ptr @skb_tail_pointer(ptr noundef %3) #2
%9 = ptrtoint ptr %8 to i64
%10 = ptrtoint ptr %7 to i64
%11 = sub i64 %9, %10
%12 = lshr exact i64 %11, 2
%13 = trunc i64 %12 to i32
%14 = tail call i32 @is_erronous(ptr noundef %0) #2
%15 = tail call i64 @unlikely(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %39
17: ; preds = %2
%18 = load ptr, ptr %4, align 8, !tbaa !6
%19 = getelementptr inbounds i32, ptr %18, i64 %6
%20 = tail call ptr @skb_tail_pointer(ptr noundef nonnull %3) #2
%21 = icmp ugt ptr %19, %20
br i1 %21, label %22, label %24
22: ; preds = %17
%23 = tail call i32 @PKT_ERROR(ptr noundef %0, ptr noundef nonnull @.str) #2
br label %39
24: ; preds = %17
%25 = load i32, ptr @PKT_PREFIX, align 4, !tbaa !12
%26 = add nsw i32 %25, %13
%27 = load i32, ptr @PKT_POSTFIX, align 4, !tbaa !12
%28 = add nsw i32 %26, %27
%29 = tail call ptr @cfpkt_create_pfx(i32 noundef %28, i32 noundef %25) #2
%30 = icmp eq ptr %29, null
br i1 %30, label %39, label %31
31: ; preds = %24
%32 = tail call ptr @pkt_to_skb(ptr noundef nonnull %29) #2
%33 = icmp eq ptr %32, null
br i1 %33, label %39, label %34
34: ; preds = %31
%35 = tail call i32 @skb_put_data(ptr noundef nonnull %32, ptr noundef %7, i32 noundef %13) #2
%36 = tail call i32 @skb_trim(ptr noundef nonnull %3, i32 noundef %1) #2
%37 = load i32, ptr %3, align 8, !tbaa !13
store i32 %37, ptr %32, align 8, !tbaa !13
%38 = tail call ptr @skb_to_pkt(ptr noundef nonnull %32) #2
br label %39
39: ; preds = %31, %24, %2, %34, %22
%40 = phi ptr [ null, %22 ], [ %38, %34 ], [ null, %2 ], [ null, %24 ], [ null, %31 ]
ret ptr %40
}
declare ptr @pkt_to_skb(ptr noundef) local_unnamed_addr #1
declare ptr @skb_tail_pointer(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @is_erronous(ptr noundef) local_unnamed_addr #1
declare i32 @PKT_ERROR(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @cfpkt_create_pfx(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_put_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_trim(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @skb_to_pkt(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 = !{!"sk_buff", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
| linux_net_caif_extr_cfpkt_skbuff.c_cfpkt_split |
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_slob.c_kmem_cache_name.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_slob.c_kmem_cache_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local ptr @kmem_cache_name(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"kmem_cache", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_slob.c_kmem_cache_name.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_slob.c_kmem_cache_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define ptr @kmem_cache_name(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"kmem_cache", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_mm_extr_slob.c_kmem_cache_name |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_con3215.c_tty3215_stop.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_con3215.c_tty3215_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RAW3215_STOPPED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tty3215_stop], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal void @tty3215_stop(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr @RAW3215_STOPPED, align 4, !tbaa !10
%5 = load i32, ptr %3, align 4, !tbaa !12
%6 = or i32 %5, %4
store i32 %6, ptr %3, align 4, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tty_struct", !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 0}
!13 = !{!"raw3215_info", !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_con3215.c_tty3215_stop.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_con3215.c_tty3215_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RAW3215_STOPPED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tty3215_stop], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @tty3215_stop(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr @RAW3215_STOPPED, align 4, !tbaa !11
%5 = load i32, ptr %3, align 4, !tbaa !13
%6 = or i32 %5, %4
store i32 %6, ptr %3, align 4, !tbaa !13
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tty_struct", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"raw3215_info", !12, i64 0}
| fastsocket_kernel_drivers_s390_char_extr_con3215.c_tty3215_stop |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/via/extr_via-velocity.c_velocity_intr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/via/extr_via-velocity.c_velocity_intr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.velocity_info = type { i32, i32, i32 }
@IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@ISR_PRXI = dso_local local_unnamed_addr global i32 0, align 4
@ISR_PPRXI = dso_local local_unnamed_addr global i32 0, align 4
@ISR_PTXI = dso_local local_unnamed_addr global i32 0, align 4
@ISR_PPTXI = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @velocity_intr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @velocity_intr(i32 %0, ptr noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %1) #2
%4 = tail call i32 @spin_lock(ptr noundef %3) #2
%5 = getelementptr inbounds %struct.velocity_info, ptr %3, i64 0, i32 2
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i32 @mac_read_isr(i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %33, label %9
9: ; preds = %2
%10 = load i32, ptr %5, align 4, !tbaa !5
%11 = tail call i32 @mac_write_isr(i32 noundef %10, i32 noundef %7) #2
%12 = getelementptr inbounds %struct.velocity_info, ptr %3, i64 0, i32 1
%13 = tail call i32 @napi_schedule_prep(ptr noundef nonnull %12) #2
%14 = tail call i64 @likely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4, !tbaa !5
%18 = tail call i32 @mac_disable_int(i32 noundef %17) #2
%19 = tail call i32 @__napi_schedule(ptr noundef nonnull %12) #2
br label %20
20: ; preds = %16, %9
%21 = load i32, ptr @ISR_PRXI, align 4, !tbaa !10
%22 = load i32, ptr @ISR_PPRXI, align 4, !tbaa !10
%23 = or i32 %22, %21
%24 = load i32, ptr @ISR_PTXI, align 4, !tbaa !10
%25 = or i32 %23, %24
%26 = load i32, ptr @ISR_PPTXI, align 4, !tbaa !10
%27 = or i32 %25, %26
%28 = xor i32 %27, -1
%29 = and i32 %7, %28
%30 = icmp eq i32 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %20
%32 = tail call i32 @velocity_error(ptr noundef nonnull %3, i32 noundef %7) #2
br label %33
33: ; preds = %20, %31, %2
%34 = phi ptr [ @IRQ_NONE, %2 ], [ @IRQ_HANDLED, %31 ], [ @IRQ_HANDLED, %20 ]
%35 = tail call i32 @spin_unlock(ptr noundef nonnull %3) #2
%36 = load i32, ptr %34, align 4, !tbaa !10
ret i32 %36
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mac_read_isr(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mac_write_isr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @napi_schedule_prep(ptr noundef) local_unnamed_addr #1
declare i32 @mac_disable_int(i32 noundef) local_unnamed_addr #1
declare i32 @__napi_schedule(ptr noundef) local_unnamed_addr #1
declare i32 @velocity_error(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"velocity_info", !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}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/via/extr_via-velocity.c_velocity_intr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/via/extr_via-velocity.c_velocity_intr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IRQ_NONE = common local_unnamed_addr global i32 0, align 4
@ISR_PRXI = common local_unnamed_addr global i32 0, align 4
@ISR_PPRXI = common local_unnamed_addr global i32 0, align 4
@ISR_PTXI = common local_unnamed_addr global i32 0, align 4
@ISR_PPTXI = common local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @velocity_intr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @velocity_intr(i32 %0, ptr noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %1) #2
%4 = tail call i32 @spin_lock(ptr noundef %3) #2
%5 = getelementptr inbounds i8, ptr %3, i64 8
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i32 @mac_read_isr(i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %33, label %9
9: ; preds = %2
%10 = load i32, ptr %5, align 4, !tbaa !6
%11 = tail call i32 @mac_write_isr(i32 noundef %10, i32 noundef %7) #2
%12 = getelementptr inbounds i8, ptr %3, i64 4
%13 = tail call i32 @napi_schedule_prep(ptr noundef nonnull %12) #2
%14 = tail call i64 @likely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4, !tbaa !6
%18 = tail call i32 @mac_disable_int(i32 noundef %17) #2
%19 = tail call i32 @__napi_schedule(ptr noundef nonnull %12) #2
br label %20
20: ; preds = %16, %9
%21 = load i32, ptr @ISR_PRXI, align 4, !tbaa !11
%22 = load i32, ptr @ISR_PPRXI, align 4, !tbaa !11
%23 = or i32 %22, %21
%24 = load i32, ptr @ISR_PTXI, align 4, !tbaa !11
%25 = or i32 %23, %24
%26 = load i32, ptr @ISR_PPTXI, align 4, !tbaa !11
%27 = or i32 %25, %26
%28 = xor i32 %27, -1
%29 = and i32 %7, %28
%30 = icmp eq i32 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %20
%32 = tail call i32 @velocity_error(ptr noundef nonnull %3, i32 noundef %7) #2
br label %33
33: ; preds = %20, %31, %2
%34 = phi ptr [ @IRQ_NONE, %2 ], [ @IRQ_HANDLED, %31 ], [ @IRQ_HANDLED, %20 ]
%35 = tail call i32 @spin_unlock(ptr noundef nonnull %3) #2
%36 = load i32, ptr %34, align 4, !tbaa !11
ret i32 %36
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mac_read_isr(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mac_write_isr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @napi_schedule_prep(ptr noundef) local_unnamed_addr #1
declare i32 @mac_disable_int(i32 noundef) local_unnamed_addr #1
declare i32 @__napi_schedule(ptr noundef) local_unnamed_addr #1
declare i32 @velocity_error(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"velocity_info", !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}
| linux_drivers_net_ethernet_via_extr_via-velocity.c_velocity_intr |
; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_socket.c_linux_getsockname.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_socket.c_linux_getsockname.c"
target datalayout = "e-m:e-p270:32:32-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.linux_getsockname_args = type { i32, i32, i32 }
@M_SONAME = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @linux_getsockname(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = load i32, ptr %1, align 4, !tbaa !5
%7 = tail call i32 @PTRIN(i32 noundef %6) #3
%8 = call i32 @copyin(i32 noundef %7, ptr noundef nonnull %5, i32 noundef 4) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %44
10: ; preds = %2
%11 = getelementptr inbounds %struct.linux_getsockname_args, ptr %1, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = call i32 @kern_getsockname(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %44
15: ; preds = %10
%16 = load i32, ptr %5, align 4, !tbaa !11
%17 = icmp eq i32 %16, 0
br i1 %17, label %34, label %18
18: ; preds = %15
%19 = load ptr, ptr %4, align 8, !tbaa !12
%20 = call i32 @bsd_to_linux_sockaddr(ptr noundef %19, ptr noundef nonnull %3, i32 noundef %16) #3
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %29
22: ; preds = %18
%23 = load ptr, ptr %3, align 8, !tbaa !12
%24 = getelementptr inbounds %struct.linux_getsockname_args, ptr %1, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !14
%26 = call i32 @PTRIN(i32 noundef %25) #3
%27 = load i32, ptr %5, align 4, !tbaa !11
%28 = call i32 @copyout(ptr noundef %23, i32 noundef %26, i32 noundef %27) #3
br label %29
29: ; preds = %22, %18
%30 = phi i32 [ %28, %22 ], [ %20, %18 ]
%31 = load ptr, ptr %3, align 8, !tbaa !12
%32 = load i32, ptr @M_SONAME, align 4, !tbaa !11
%33 = call i32 @free(ptr noundef %31, i32 noundef %32) #3
br label %34
34: ; preds = %29, %15
%35 = phi i32 [ %30, %29 ], [ 0, %15 ]
%36 = load ptr, ptr %4, align 8, !tbaa !12
%37 = load i32, ptr @M_SONAME, align 4, !tbaa !11
%38 = call i32 @free(ptr noundef %36, i32 noundef %37) #3
%39 = icmp eq i32 %35, 0
br i1 %39, label %40, label %44
40: ; preds = %34
%41 = load i32, ptr %1, align 4, !tbaa !5
%42 = call i32 @PTRIN(i32 noundef %41) #3
%43 = call i32 @copyout(ptr noundef nonnull %5, i32 noundef %42, i32 noundef 4) #3
br label %44
44: ; preds = %34, %40, %10, %2
%45 = phi i32 [ %8, %2 ], [ %13, %10 ], [ %43, %40 ], [ %35, %34 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %45
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @copyin(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PTRIN(i32 noundef) local_unnamed_addr #2
declare i32 @kern_getsockname(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @bsd_to_linux_sockaddr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @copyout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"linux_getsockname_args", !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 8}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_socket.c_linux_getsockname.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_socket.c_linux_getsockname.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_SONAME = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @linux_getsockname(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = load i32, ptr %1, align 4, !tbaa !6
%7 = tail call i32 @PTRIN(i32 noundef %6) #3
%8 = call i32 @copyin(i32 noundef %7, ptr noundef nonnull %5, i32 noundef 4) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %44
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %1, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = call i32 @kern_getsockname(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %44
15: ; preds = %10
%16 = load i32, ptr %5, align 4, !tbaa !12
%17 = icmp eq i32 %16, 0
br i1 %17, label %34, label %18
18: ; preds = %15
%19 = load ptr, ptr %4, align 8, !tbaa !13
%20 = call i32 @bsd_to_linux_sockaddr(ptr noundef %19, ptr noundef nonnull %3, i32 noundef %16) #3
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %29
22: ; preds = %18
%23 = load ptr, ptr %3, align 8, !tbaa !13
%24 = getelementptr inbounds i8, ptr %1, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !15
%26 = call i32 @PTRIN(i32 noundef %25) #3
%27 = load i32, ptr %5, align 4, !tbaa !12
%28 = call i32 @copyout(ptr noundef %23, i32 noundef %26, i32 noundef %27) #3
br label %29
29: ; preds = %22, %18
%30 = phi i32 [ %28, %22 ], [ %20, %18 ]
%31 = load ptr, ptr %3, align 8, !tbaa !13
%32 = load i32, ptr @M_SONAME, align 4, !tbaa !12
%33 = call i32 @free(ptr noundef %31, i32 noundef %32) #3
br label %34
34: ; preds = %29, %15
%35 = phi i32 [ %30, %29 ], [ 0, %15 ]
%36 = load ptr, ptr %4, align 8, !tbaa !13
%37 = load i32, ptr @M_SONAME, align 4, !tbaa !12
%38 = call i32 @free(ptr noundef %36, i32 noundef %37) #3
%39 = icmp eq i32 %35, 0
br i1 %39, label %40, label %44
40: ; preds = %34
%41 = load i32, ptr %1, align 4, !tbaa !6
%42 = call i32 @PTRIN(i32 noundef %41) #3
%43 = call i32 @copyout(ptr noundef nonnull %5, i32 noundef %42, i32 noundef 4) #3
br label %44
44: ; preds = %34, %40, %10, %2
%45 = phi i32 [ %8, %2 ], [ %13, %10 ], [ %43, %40 ], [ %35, %34 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %45
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @copyin(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PTRIN(i32 noundef) local_unnamed_addr #2
declare i32 @kern_getsockname(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @bsd_to_linux_sockaddr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @copyout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"linux_getsockname_args", !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 8}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!7, !8, i64 4}
| freebsd_sys_compat_linux_extr_linux_socket.c_linux_getsockname |
; ModuleID = 'AnghaBench/linux/sound/usb/extr_stream.c_convert_chmap.c'
source_filename = "AnghaBench/linux/sound/usb/extr_stream.c_convert_chmap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_pcm_chmap_elem = type { ptr, i32 }
@convert_chmap.uac1_maps = internal unnamed_addr constant [13 x i32] [i32 152, i32 150, i32 153, i32 148, i32 140, i32 139, i32 151, i32 149, i32 146, i32 140, i32 139, i32 138, i32 0], align 16
@convert_chmap.uac2_maps = internal unnamed_addr constant [28 x i32] [i32 152, i32 150, i32 153, i32 148, i32 145, i32 142, i32 151, i32 149, i32 146, i32 140, i32 139, i32 138, i32 136, i32 137, i32 134, i32 131, i32 132, i32 130, i32 135, i32 133, i32 147, i32 143, i32 129, i32 128, i32 154, i32 144, i32 141, i32 0], align 16
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@UAC_VERSION_2 = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_CHMAP_MONO = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_CHMAP_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @convert_chmap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @convert_chmap(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @ARRAY_SIZE(ptr noundef undef) #2
%5 = icmp slt i32 %4, %0
br i1 %5, label %88, label %6
6: ; preds = %3
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%8 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %88, label %10
10: ; preds = %6
%11 = load i32, ptr @UAC_VERSION_2, align 4, !tbaa !5
%12 = icmp eq i32 %11, %2
%13 = select i1 %12, ptr @convert_chmap.uac2_maps, ptr @convert_chmap.uac1_maps
%14 = getelementptr inbounds %struct.snd_pcm_chmap_elem, ptr %8, i64 0, i32 1
store i32 %0, ptr %14, align 8, !tbaa !9
%15 = icmp eq i32 %1, 0
br i1 %15, label %35, label %16
16: ; preds = %10, %30
%17 = phi i32 [ %31, %30 ], [ 0, %10 ]
%18 = phi ptr [ %32, %30 ], [ %13, %10 ]
%19 = phi i32 [ %33, %30 ], [ %1, %10 ]
%20 = load i32, ptr %18, align 4, !tbaa !5
%21 = icmp eq i32 %20, 0
br i1 %21, label %57, label %22
22: ; preds = %16
%23 = and i32 %19, 1
%24 = icmp eq i32 %23, 0
br i1 %24, label %30, label %25
25: ; preds = %22
%26 = load ptr, ptr %8, align 8, !tbaa !12
%27 = add nsw i32 %17, 1
%28 = sext i32 %17 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
store i32 %20, ptr %29, align 4, !tbaa !5
br label %30
30: ; preds = %22, %25
%31 = phi i32 [ %27, %25 ], [ %17, %22 ]
%32 = getelementptr inbounds i32, ptr %18, i64 1
%33 = lshr i32 %19, 1
%34 = icmp ult i32 %19, 2
br i1 %34, label %57, label %16, !llvm.loop !13
35: ; preds = %10
%36 = icmp eq i32 %0, 1
br i1 %36, label %41, label %37
37: ; preds = %35
%38 = icmp sgt i32 %0, 0
br i1 %38, label %39, label %57
39: ; preds = %37
%40 = zext nneg i32 %0 to i64
br label %44
41: ; preds = %35
%42 = load i32, ptr @SNDRV_CHMAP_MONO, align 4, !tbaa !5
%43 = load ptr, ptr %8, align 8, !tbaa !12
store i32 %42, ptr %43, align 4, !tbaa !5
br label %57
44: ; preds = %39, %49
%45 = phi i64 [ 0, %39 ], [ %51, %49 ]
%46 = phi ptr [ %13, %39 ], [ %53, %49 ]
%47 = load i32, ptr %46, align 4, !tbaa !5
%48 = icmp eq i32 %47, 0
br i1 %48, label %55, label %49
49: ; preds = %44
%50 = load ptr, ptr %8, align 8, !tbaa !12
%51 = add nuw nsw i64 %45, 1
%52 = getelementptr inbounds i32, ptr %50, i64 %45
store i32 %47, ptr %52, align 4, !tbaa !5
%53 = getelementptr inbounds i32, ptr %46, i64 1
%54 = icmp eq i64 %51, %40
br i1 %54, label %88, label %44, !llvm.loop !15
55: ; preds = %44
%56 = trunc i64 %45 to i32
br label %57
57: ; preds = %16, %30, %55, %37, %41
%58 = phi i32 [ 1, %41 ], [ 0, %37 ], [ %56, %55 ], [ %31, %30 ], [ %17, %16 ]
%59 = icmp slt i32 %58, %0
br i1 %59, label %60, label %88
60: ; preds = %57
%61 = load ptr, ptr %8, align 8, !tbaa !12
%62 = sext i32 %58 to i64
%63 = sext i32 %0 to i64
%64 = load i32, ptr @SNDRV_CHMAP_UNKNOWN, align 4, !tbaa !5
%65 = sub nsw i64 %63, %62
%66 = icmp ult i64 %65, 8
br i1 %66, label %81, label %67
67: ; preds = %60
%68 = and i64 %65, -8
%69 = add nsw i64 %68, %62
%70 = insertelement <4 x i32> poison, i32 %64, i64 0
%71 = shufflevector <4 x i32> %70, <4 x i32> poison, <4 x i32> zeroinitializer
%72 = getelementptr i32, ptr %61, i64 %62
br label %73
73: ; preds = %73, %67
%74 = phi i64 [ 0, %67 ], [ %77, %73 ]
%75 = getelementptr i32, ptr %72, i64 %74
%76 = getelementptr inbounds i32, ptr %75, i64 4
store <4 x i32> %71, ptr %75, align 4, !tbaa !5
store <4 x i32> %71, ptr %76, align 4, !tbaa !5
%77 = add nuw i64 %74, 8
%78 = icmp eq i64 %77, %68
br i1 %78, label %79, label %73, !llvm.loop !16
79: ; preds = %73
%80 = icmp eq i64 %65, %68
br i1 %80, label %88, label %81
81: ; preds = %60, %79
%82 = phi i64 [ %62, %60 ], [ %69, %79 ]
br label %83
83: ; preds = %81, %83
%84 = phi i64 [ %86, %83 ], [ %82, %81 ]
%85 = getelementptr inbounds i32, ptr %61, i64 %84
store i32 %64, ptr %85, align 4, !tbaa !5
%86 = add nsw i64 %84, 1
%87 = icmp eq i64 %86, %63
br i1 %87, label %88, label %83, !llvm.loop !19
88: ; preds = %49, %83, %79, %57, %6, %3
%89 = phi ptr [ null, %3 ], [ null, %6 ], [ %8, %57 ], [ %8, %79 ], [ %8, %83 ], [ %8, %49 ]
ret ptr %89
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(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 8}
!10 = !{!"snd_pcm_chmap_elem", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14, !17, !18}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = distinct !{!19, !14, !18, !17}
| ; ModuleID = 'AnghaBench/linux/sound/usb/extr_stream.c_convert_chmap.c'
source_filename = "AnghaBench/linux/sound/usb/extr_stream.c_convert_chmap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@convert_chmap.uac1_maps = internal unnamed_addr constant [13 x i32] [i32 152, i32 150, i32 153, i32 148, i32 140, i32 139, i32 151, i32 149, i32 146, i32 140, i32 139, i32 138, i32 0], align 4
@convert_chmap.uac2_maps = internal unnamed_addr constant [28 x i32] [i32 152, i32 150, i32 153, i32 148, i32 145, i32 142, i32 151, i32 149, i32 146, i32 140, i32 139, i32 138, i32 136, i32 137, i32 134, i32 131, i32 132, i32 130, i32 135, i32 133, i32 147, i32 143, i32 129, i32 128, i32 154, i32 144, i32 141, i32 0], align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@UAC_VERSION_2 = common local_unnamed_addr global i32 0, align 4
@SNDRV_CHMAP_MONO = common local_unnamed_addr global i32 0, align 4
@SNDRV_CHMAP_UNKNOWN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @convert_chmap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @convert_chmap(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @ARRAY_SIZE(ptr noundef undef) #2
%5 = icmp slt i32 %4, %0
br i1 %5, label %90, label %6
6: ; preds = %3
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%8 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %90, label %10
10: ; preds = %6
%11 = load i32, ptr @UAC_VERSION_2, align 4, !tbaa !6
%12 = icmp eq i32 %11, %2
%13 = select i1 %12, ptr @convert_chmap.uac2_maps, ptr @convert_chmap.uac1_maps
%14 = getelementptr inbounds i8, ptr %8, i64 8
store i32 %0, ptr %14, align 8, !tbaa !10
%15 = icmp eq i32 %1, 0
br i1 %15, label %35, label %16
16: ; preds = %10, %30
%17 = phi i32 [ %31, %30 ], [ 0, %10 ]
%18 = phi ptr [ %32, %30 ], [ %13, %10 ]
%19 = phi i32 [ %33, %30 ], [ %1, %10 ]
%20 = load i32, ptr %18, align 4, !tbaa !6
%21 = icmp eq i32 %20, 0
br i1 %21, label %57, label %22
22: ; preds = %16
%23 = and i32 %19, 1
%24 = icmp eq i32 %23, 0
br i1 %24, label %30, label %25
25: ; preds = %22
%26 = load ptr, ptr %8, align 8, !tbaa !13
%27 = add nsw i32 %17, 1
%28 = sext i32 %17 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
store i32 %20, ptr %29, align 4, !tbaa !6
br label %30
30: ; preds = %22, %25
%31 = phi i32 [ %27, %25 ], [ %17, %22 ]
%32 = getelementptr inbounds i8, ptr %18, i64 4
%33 = lshr i32 %19, 1
%34 = icmp ult i32 %19, 2
br i1 %34, label %57, label %16, !llvm.loop !14
35: ; preds = %10
%36 = icmp eq i32 %0, 1
br i1 %36, label %41, label %37
37: ; preds = %35
%38 = icmp sgt i32 %0, 0
br i1 %38, label %39, label %57
39: ; preds = %37
%40 = zext nneg i32 %0 to i64
br label %44
41: ; preds = %35
%42 = load i32, ptr @SNDRV_CHMAP_MONO, align 4, !tbaa !6
%43 = load ptr, ptr %8, align 8, !tbaa !13
store i32 %42, ptr %43, align 4, !tbaa !6
br label %57
44: ; preds = %39, %49
%45 = phi i64 [ 0, %39 ], [ %51, %49 ]
%46 = phi ptr [ %13, %39 ], [ %53, %49 ]
%47 = load i32, ptr %46, align 4, !tbaa !6
%48 = icmp eq i32 %47, 0
br i1 %48, label %55, label %49
49: ; preds = %44
%50 = load ptr, ptr %8, align 8, !tbaa !13
%51 = add nuw nsw i64 %45, 1
%52 = getelementptr inbounds i32, ptr %50, i64 %45
store i32 %47, ptr %52, align 4, !tbaa !6
%53 = getelementptr inbounds i8, ptr %46, i64 4
%54 = icmp eq i64 %51, %40
br i1 %54, label %90, label %44, !llvm.loop !16
55: ; preds = %44
%56 = trunc nuw nsw i64 %45 to i32
br label %57
57: ; preds = %16, %30, %55, %37, %41
%58 = phi i32 [ 1, %41 ], [ 0, %37 ], [ %56, %55 ], [ %31, %30 ], [ %17, %16 ]
%59 = icmp slt i32 %58, %0
br i1 %59, label %60, label %90
60: ; preds = %57
%61 = load ptr, ptr %8, align 8, !tbaa !13
%62 = sext i32 %58 to i64
%63 = sext i32 %0 to i64
%64 = load i32, ptr @SNDRV_CHMAP_UNKNOWN, align 4, !tbaa !6
%65 = sub nsw i64 %63, %62
%66 = icmp ult i64 %65, 16
br i1 %66, label %83, label %67
67: ; preds = %60
%68 = and i64 %65, -16
%69 = add nsw i64 %68, %62
%70 = insertelement <4 x i32> poison, i32 %64, i64 0
%71 = shufflevector <4 x i32> %70, <4 x i32> poison, <4 x i32> zeroinitializer
%72 = getelementptr i32, ptr %61, i64 %62
br label %73
73: ; preds = %73, %67
%74 = phi i64 [ 0, %67 ], [ %79, %73 ]
%75 = getelementptr i32, ptr %72, i64 %74
%76 = getelementptr inbounds i8, ptr %75, i64 16
%77 = getelementptr inbounds i8, ptr %75, i64 32
%78 = getelementptr inbounds i8, ptr %75, i64 48
store <4 x i32> %71, ptr %75, align 4, !tbaa !6
store <4 x i32> %71, ptr %76, align 4, !tbaa !6
store <4 x i32> %71, ptr %77, align 4, !tbaa !6
store <4 x i32> %71, ptr %78, align 4, !tbaa !6
%79 = add nuw i64 %74, 16
%80 = icmp eq i64 %79, %68
br i1 %80, label %81, label %73, !llvm.loop !17
81: ; preds = %73
%82 = icmp eq i64 %65, %68
br i1 %82, label %90, label %83
83: ; preds = %81, %60
%84 = phi i64 [ %62, %60 ], [ %69, %81 ]
br label %85
85: ; preds = %83, %85
%86 = phi i64 [ %88, %85 ], [ %84, %83 ]
%87 = getelementptr inbounds i32, ptr %61, i64 %86
store i32 %64, ptr %87, align 4, !tbaa !6
%88 = add nsw i64 %86, 1
%89 = icmp eq i64 %88, %63
br i1 %89, label %90, label %85, !llvm.loop !20
90: ; preds = %49, %85, %81, %57, %6, %3
%91 = phi ptr [ null, %3 ], [ null, %6 ], [ %8, %57 ], [ %8, %81 ], [ %8, %85 ], [ %8, %49 ]
ret ptr %91
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(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 8}
!11 = !{!"snd_pcm_chmap_elem", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15, !18, !19}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !15, !19, !18}
| linux_sound_usb_extr_stream.c_convert_chmap |
; ModuleID = 'AnghaBench/sway/sway/commands/extr_move.c_workspace_rejigger.c'
source_filename = "AnghaBench/sway/sway/commands/extr_move.c_workspace_rejigger.c"
target datalayout = "e-m:e-p270:32:32-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.sway_container = type { i64, i64, i32 }
%struct.sway_workspace = type { ptr, ptr }
@WLR_DIRECTION_LEFT = dso_local local_unnamed_addr global i32 0, align 4
@WLR_DIRECTION_RIGHT = dso_local local_unnamed_addr global i32 0, align 4
@L_HORIZ = dso_local local_unnamed_addr global ptr null, align 8
@L_VERT = dso_local local_unnamed_addr global ptr null, align 8
@WLR_DIRECTION_UP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @workspace_rejigger], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @workspace_rejigger(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.sway_container, ptr %1, i64 0, i32 2
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %22
7: ; preds = %3
%8 = getelementptr inbounds %struct.sway_workspace, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %22
12: ; preds = %7
%13 = load i32, ptr @WLR_DIRECTION_LEFT, align 4, !tbaa !16
%14 = icmp eq i32 %13, %2
%15 = load i32, ptr @WLR_DIRECTION_RIGHT, align 4
%16 = icmp eq i32 %15, %2
%17 = select i1 %14, i1 true, i1 %16
%18 = load ptr, ptr @L_HORIZ, align 8
%19 = load ptr, ptr @L_VERT, align 8
%20 = select i1 %17, ptr %18, ptr %19
store ptr %20, ptr %0, align 8, !tbaa !17
%21 = tail call i32 @workspace_update_representation(ptr noundef nonnull %0) #3
br label %42
22: ; preds = %7, %3
%23 = tail call i32 @container_detach(ptr noundef nonnull %1) #3
%24 = tail call ptr @workspace_wrap_children(ptr noundef %0) #3
%25 = load i32, ptr @WLR_DIRECTION_LEFT, align 4, !tbaa !16
%26 = icmp ne i32 %25, %2
%27 = load i32, ptr @WLR_DIRECTION_UP, align 4
%28 = icmp ne i32 %27, %2
%29 = select i1 %26, i1 %28, i1 false
%30 = zext i1 %29 to i32
%31 = tail call i32 @workspace_insert_tiling(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %30) #3
%32 = tail call i32 @container_flatten(ptr noundef %24) #3
%33 = load i32, ptr @WLR_DIRECTION_LEFT, align 4, !tbaa !16
%34 = icmp eq i32 %33, %2
%35 = load i32, ptr @WLR_DIRECTION_RIGHT, align 4
%36 = icmp eq i32 %35, %2
%37 = select i1 %34, i1 true, i1 %36
%38 = load ptr, ptr @L_HORIZ, align 8
%39 = load ptr, ptr @L_VERT, align 8
%40 = select i1 %37, ptr %38, ptr %39
store ptr %40, ptr %0, align 8, !tbaa !17
%41 = tail call i32 @workspace_update_representation(ptr noundef nonnull %0) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
br label %42
42: ; preds = %22, %12
ret void
}
declare i32 @workspace_update_representation(ptr noundef) local_unnamed_addr #1
declare i32 @container_detach(ptr noundef) local_unnamed_addr #1
declare ptr @workspace_wrap_children(ptr noundef) local_unnamed_addr #1
declare i32 @workspace_insert_tiling(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @container_flatten(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, !10, i64 16}
!6 = !{!"sway_container", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"sway_workspace", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_2__", !10, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!12, !13, i64 0}
| ; ModuleID = 'AnghaBench/sway/sway/commands/extr_move.c_workspace_rejigger.c'
source_filename = "AnghaBench/sway/sway/commands/extr_move.c_workspace_rejigger.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WLR_DIRECTION_LEFT = common local_unnamed_addr global i32 0, align 4
@WLR_DIRECTION_RIGHT = common local_unnamed_addr global i32 0, align 4
@L_HORIZ = common local_unnamed_addr global ptr null, align 8
@L_VERT = common local_unnamed_addr global ptr null, align 8
@WLR_DIRECTION_UP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @workspace_rejigger], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @workspace_rejigger(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 16
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %22
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %22
12: ; preds = %7
%13 = load i32, ptr @WLR_DIRECTION_LEFT, align 4, !tbaa !17
%14 = icmp eq i32 %13, %2
%15 = load i32, ptr @WLR_DIRECTION_RIGHT, align 4
%16 = icmp eq i32 %15, %2
%17 = select i1 %14, i1 true, i1 %16
%18 = load ptr, ptr @L_HORIZ, align 8
%19 = load ptr, ptr @L_VERT, align 8
%20 = select i1 %17, ptr %18, ptr %19
store ptr %20, ptr %0, align 8, !tbaa !18
%21 = tail call i32 @workspace_update_representation(ptr noundef nonnull %0) #3
br label %42
22: ; preds = %7, %3
%23 = tail call i32 @container_detach(ptr noundef nonnull %1) #3
%24 = tail call ptr @workspace_wrap_children(ptr noundef %0) #3
%25 = load i32, ptr @WLR_DIRECTION_LEFT, align 4, !tbaa !17
%26 = icmp ne i32 %25, %2
%27 = load i32, ptr @WLR_DIRECTION_UP, align 4
%28 = icmp ne i32 %27, %2
%29 = select i1 %26, i1 %28, i1 false
%30 = zext i1 %29 to i32
%31 = tail call i32 @workspace_insert_tiling(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %30) #3
%32 = tail call i32 @container_flatten(ptr noundef %24) #3
%33 = load i32, ptr @WLR_DIRECTION_LEFT, align 4, !tbaa !17
%34 = icmp eq i32 %33, %2
%35 = load i32, ptr @WLR_DIRECTION_RIGHT, align 4
%36 = icmp eq i32 %35, %2
%37 = select i1 %34, i1 true, i1 %36
%38 = load ptr, ptr @L_HORIZ, align 8
%39 = load ptr, ptr @L_VERT, align 8
%40 = select i1 %37, ptr %38, ptr %39
store ptr %40, ptr %0, align 8, !tbaa !18
%41 = tail call i32 @workspace_update_representation(ptr noundef nonnull %0) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
br label %42
42: ; preds = %22, %12
ret void
}
declare i32 @workspace_update_representation(ptr noundef) local_unnamed_addr #1
declare i32 @container_detach(ptr noundef) local_unnamed_addr #1
declare ptr @workspace_wrap_children(ptr noundef) local_unnamed_addr #1
declare i32 @workspace_insert_tiling(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @container_flatten(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, !11, i64 16}
!7 = !{!"sway_container", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"sway_workspace", !14, i64 0, !14, i64 8}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_2__", !11, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!13, !14, i64 0}
| sway_sway_commands_extr_move.c_workspace_rejigger |
; ModuleID = 'AnghaBench/lede/target/linux/at91/image/dfboot/src/extr_div0.c___div0.c'
source_filename = "AnghaBench/lede/target/linux/at91/image/dfboot/src/extr_div0.c___div0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nofree norecurse noreturn nosync nounwind memory(none) uwtable
define dso_local void @__div0() local_unnamed_addr #0 {
br label %1
1: ; preds = %0, %1
br label %1
}
attributes #0 = { nofree norecurse noreturn nosync nounwind 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/lede/target/linux/at91/image/dfboot/src/extr_div0.c___div0.c'
source_filename = "AnghaBench/lede/target/linux/at91/image/dfboot/src/extr_div0.c___div0.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nofree norecurse noreturn nosync nounwind ssp memory(none) uwtable(sync)
define void @__div0() local_unnamed_addr #0 {
br label %1
1: ; preds = %0, %1
br label %1
}
attributes #0 = { nofree norecurse noreturn nosync nounwind ssp 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)"}
| lede_target_linux_at91_image_dfboot_src_extr_div0.c___div0 |
; ModuleID = 'AnghaBench/linux/tools/lib/traceevent/extr_kbuffer-parse.c_kbuffer_raw_get.c'
source_filename = "AnghaBench/linux/tools/lib/traceevent/extr_kbuffer-parse.c_kbuffer_raw_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.kbuffer_raw_info = type { i32, i64, i32, ptr }
@KBUFFER_FL_LONG_8 = dso_local local_unnamed_addr global i32 0, align 4
@COMMIT_MASK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @kbuffer_raw_get(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = getelementptr inbounds %struct.kbuffer_raw_info, ptr %2, i64 0, i32 3
%8 = load ptr, ptr %7, align 8, !tbaa !5
store ptr %8, ptr %6, align 8, !tbaa !12
%9 = icmp ne ptr %0, null
%10 = icmp ne ptr %1, null
%11 = and i1 %9, %10
br i1 %11, label %12, label %38
12: ; preds = %3
%13 = load i32, ptr %0, align 4, !tbaa !13
%14 = load i32, ptr @KBUFFER_FL_LONG_8, align 4, !tbaa !15
%15 = getelementptr inbounds i8, ptr %1, i64 8
%16 = tail call i64 @read_long(ptr noundef nonnull %0, ptr noundef nonnull %15) #3
%17 = icmp ult ptr %8, %1
br i1 %17, label %38, label %18
18: ; preds = %12
%19 = and i32 %14, %13
%20 = icmp eq i32 %19, 0
%21 = select i1 %20, i64 12, i64 16
%22 = trunc i64 %16 to i32
%23 = load i32, ptr @COMMIT_MASK, align 4, !tbaa !15
%24 = and i32 %23, %22
%25 = getelementptr inbounds i8, ptr %1, i64 %21
%26 = zext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %25, i64 %26
%28 = icmp ult ptr %8, %27
br i1 %28, label %29, label %38
29: ; preds = %18
%30 = call i32 @translate_data(ptr noundef nonnull %0, ptr noundef %8, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%31 = load ptr, ptr %6, align 8, !tbaa !12
%32 = load i32, ptr %5, align 4, !tbaa !15
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store ptr %34, ptr %7, align 8, !tbaa !5
store i32 %30, ptr %2, align 8, !tbaa !16
%35 = load i64, ptr %4, align 8, !tbaa !17
%36 = getelementptr inbounds %struct.kbuffer_raw_info, ptr %2, i64 0, i32 1
store i64 %35, ptr %36, align 8, !tbaa !18
%37 = getelementptr inbounds %struct.kbuffer_raw_info, ptr %2, i64 0, i32 2
store i32 %32, ptr %37, align 8, !tbaa !19
br label %38
38: ; preds = %12, %18, %3, %29
%39 = phi ptr [ %2, %29 ], [ null, %3 ], [ null, %18 ], [ null, %12 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret ptr %39
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @read_long(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @translate_data(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !11, i64 24}
!6 = !{!"kbuffer_raw_info", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"kbuffer", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!10, !10, i64 0}
!18 = !{!6, !10, i64 8}
!19 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/linux/tools/lib/traceevent/extr_kbuffer-parse.c_kbuffer_raw_get.c'
source_filename = "AnghaBench/linux/tools/lib/traceevent/extr_kbuffer-parse.c_kbuffer_raw_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KBUFFER_FL_LONG_8 = common local_unnamed_addr global i32 0, align 4
@COMMIT_MASK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @kbuffer_raw_get(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = getelementptr inbounds i8, ptr %2, i64 24
%8 = load ptr, ptr %7, align 8, !tbaa !6
store ptr %8, ptr %6, align 8, !tbaa !13
%9 = icmp ne ptr %0, null
%10 = icmp ne ptr %1, null
%11 = and i1 %9, %10
br i1 %11, label %12, label %38
12: ; preds = %3
%13 = load i32, ptr %0, align 4, !tbaa !14
%14 = load i32, ptr @KBUFFER_FL_LONG_8, align 4, !tbaa !16
%15 = getelementptr inbounds i8, ptr %1, i64 8
%16 = tail call i64 @read_long(ptr noundef nonnull %0, ptr noundef nonnull %15) #3
%17 = icmp ult ptr %8, %1
br i1 %17, label %38, label %18
18: ; preds = %12
%19 = and i32 %14, %13
%20 = icmp eq i32 %19, 0
%21 = select i1 %20, i64 12, i64 16
%22 = trunc i64 %16 to i32
%23 = load i32, ptr @COMMIT_MASK, align 4, !tbaa !16
%24 = and i32 %23, %22
%25 = getelementptr inbounds i8, ptr %1, i64 %21
%26 = zext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %25, i64 %26
%28 = icmp ult ptr %8, %27
br i1 %28, label %29, label %38
29: ; preds = %18
%30 = call i32 @translate_data(ptr noundef nonnull %0, ptr noundef %8, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%31 = load ptr, ptr %6, align 8, !tbaa !13
%32 = load i32, ptr %5, align 4, !tbaa !16
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store ptr %34, ptr %7, align 8, !tbaa !6
store i32 %30, ptr %2, align 8, !tbaa !17
%35 = load i64, ptr %4, align 8, !tbaa !18
%36 = getelementptr inbounds i8, ptr %2, i64 8
store i64 %35, ptr %36, align 8, !tbaa !19
%37 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %32, ptr %37, align 8, !tbaa !20
br label %38
38: ; preds = %12, %18, %3, %29
%39 = phi ptr [ %2, %29 ], [ null, %3 ], [ null, %18 ], [ null, %12 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret ptr %39
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @read_long(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @translate_data(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !12, i64 24}
!7 = !{!"kbuffer_raw_info", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"kbuffer", !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!7, !11, i64 8}
!20 = !{!7, !8, i64 16}
| linux_tools_lib_traceevent_extr_kbuffer-parse.c_kbuffer_raw_get |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_http.c_evhttp_is_connection_close.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_http.c_evhttp_is_connection_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EVHTTP_PROXY_REQUEST = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Proxy-Connection\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"keep-alive\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Connection\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @evhttp_is_connection_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @evhttp_is_connection_close(i32 noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @EVHTTP_PROXY_REQUEST, align 4, !tbaa !5
%4 = and i32 %3, %0
%5 = icmp eq i32 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = tail call ptr @evhttp_find_header(ptr noundef %1, ptr noundef nonnull @.str) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %18, label %9
9: ; preds = %6
%10 = tail call i64 @evutil_ascii_strcasecmp(ptr noundef nonnull %7, ptr noundef nonnull @.str.1) #2
%11 = icmp ne i64 %10, 0
br label %18
12: ; preds = %2
%13 = tail call ptr @evhttp_find_header(ptr noundef %1, ptr noundef nonnull @.str.2) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = tail call i64 @evutil_ascii_strcasecmp(ptr noundef nonnull %13, ptr noundef nonnull @.str.3) #2
%17 = icmp eq i64 %16, 0
br label %18
18: ; preds = %12, %15, %6, %9
%19 = phi i1 [ true, %6 ], [ %11, %9 ], [ false, %12 ], [ %17, %15 ]
%20 = zext i1 %19 to i32
ret i32 %20
}
declare ptr @evhttp_find_header(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @evutil_ascii_strcasecmp(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_http.c_evhttp_is_connection_close.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_http.c_evhttp_is_connection_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EVHTTP_PROXY_REQUEST = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Proxy-Connection\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"keep-alive\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Connection\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @evhttp_is_connection_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @evhttp_is_connection_close(i32 noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @EVHTTP_PROXY_REQUEST, align 4, !tbaa !6
%4 = and i32 %3, %0
%5 = icmp eq i32 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = tail call ptr @evhttp_find_header(ptr noundef %1, ptr noundef nonnull @.str) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %18, label %9
9: ; preds = %6
%10 = tail call i64 @evutil_ascii_strcasecmp(ptr noundef nonnull %7, ptr noundef nonnull @.str.1) #2
%11 = icmp ne i64 %10, 0
br label %18
12: ; preds = %2
%13 = tail call ptr @evhttp_find_header(ptr noundef %1, ptr noundef nonnull @.str.2) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = tail call i64 @evutil_ascii_strcasecmp(ptr noundef nonnull %13, ptr noundef nonnull @.str.3) #2
%17 = icmp eq i64 %16, 0
br label %18
18: ; preds = %12, %15, %6, %9
%19 = phi i1 [ true, %6 ], [ %11, %9 ], [ false, %12 ], [ %17, %15 ]
%20 = zext i1 %19 to i32
ret i32 %20
}
declare ptr @evhttp_find_header(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @evutil_ascii_strcasecmp(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_ntp_sntp_libevent_extr_http.c_evhttp_is_connection_close |
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-tegra194.c_appl_readl.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-tegra194.c_appl_readl.c"
target datalayout = "e-m:e-p270:32:32-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 @appl_readl], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i64 @appl_readl(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = add nsw i64 %3, %1
%5 = tail call i64 @readl_relaxed(i64 noundef %4) #2
ret i64 %5
}
declare i64 @readl_relaxed(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tegra_pcie_dw", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-tegra194.c_appl_readl.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-tegra194.c_appl_readl.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 @appl_readl], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i64 @appl_readl(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = add nsw i64 %3, %1
%5 = tail call i64 @readl_relaxed(i64 noundef %4) #2
ret i64 %5
}
declare i64 @readl_relaxed(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tegra_pcie_dw", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_pci_controller_dwc_extr_pcie-tegra194.c_appl_readl |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa.c_spa_load_verify.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_spa.c_spa_load_verify.c"
target datalayout = "e-m:e-p270:32:32-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 { i64, i64, i32 }
%struct.TYPE_16__ = type { i32, i64, i64 }
%struct.TYPE_17__ = type { i64, i64, i64, i64, %struct.TYPE_15__, i32, i32, i32, i32, i32, i64, ptr, i32 }
%struct.TYPE_15__ = type { i64, i32 }
@B_FALSE = dso_local local_unnamed_addr global i64 0, align 8
@ZPOOL_NEVER_REWIND = dso_local local_unnamed_addr global i32 0, align 4
@FTAG = dso_local local_unnamed_addr global i32 0, align 4
@verify_dataset_name_len = dso_local local_unnamed_addr global i32 0, align 4
@DS_FIND_CHILDREN = dso_local local_unnamed_addr global i32 0, align 4
@ZIO_FLAG_CANFAIL = dso_local local_unnamed_addr global i32 0, align 4
@ZIO_FLAG_SPECULATIVE = dso_local local_unnamed_addr global i32 0, align 4
@spa_load_verify_metadata = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [156 x i8] c"performing a complete scan of the pool since extreme rewind is on. This may take a very long time.\0A (spa_load_verify_data=%u, spa_load_verify_metadata=%u)\00", align 1
@spa_load_verify_data = dso_local local_unnamed_addr global i64 0, align 8
@TRAVERSE_PRE = dso_local local_unnamed_addr global i32 0, align 4
@TRAVERSE_PREFETCH_METADATA = dso_local local_unnamed_addr global i32 0, align 4
@TRAVERSE_NO_DECRYPT = dso_local local_unnamed_addr global i32 0, align 4
@spa_load_verify_cb = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [64 x i8] c"spa_load_verify found %llu metadata errors and %llu data errors\00", align 1
@spa_load_verify_dryrun = dso_local local_unnamed_addr global i64 0, align 8
@B_TRUE = dso_local local_unnamed_addr global i64 0, align 8
@ZPOOL_CONFIG_LOAD_TIME = dso_local local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_REWIND_TIME = dso_local local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_LOAD_DATA_ERRORS = dso_local local_unnamed_addr global i32 0, align 4
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @spa_load_verify], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @spa_load_verify(ptr noundef %0) #0 {
%2 = alloca %struct.TYPE_18__, align 8
%3 = alloca %struct.TYPE_16__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %2, i8 0, i64 24, i1 false)
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
%4 = load i64, ptr @B_FALSE, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 12
%6 = load i32, ptr %5, align 8, !tbaa !9
%7 = call i32 @zpool_get_load_policy(i32 noundef %6, ptr noundef nonnull %3) #4
%8 = load i32, ptr %3, align 8, !tbaa !14
%9 = load i32, ptr @ZPOOL_NEVER_REWIND, align 4, !tbaa !16
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %132
12: ; preds = %1
%13 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 11
%14 = load ptr, ptr %13, align 8, !tbaa !17
%15 = load i32, ptr @FTAG, align 4, !tbaa !16
%16 = call i32 @dsl_pool_config_enter(ptr noundef %14, i32 noundef %15) #4
%17 = load ptr, ptr %13, align 8, !tbaa !17
%18 = load i32, ptr %17, align 4, !tbaa !18
%19 = load i32, ptr @verify_dataset_name_len, align 4, !tbaa !16
%20 = load i32, ptr @DS_FIND_CHILDREN, align 4, !tbaa !16
%21 = call i32 @dmu_objset_find_dp(ptr noundef nonnull %17, i32 noundef %18, i32 noundef %19, ptr noundef null, i32 noundef %20) #4
%22 = load ptr, ptr %13, align 8, !tbaa !17
%23 = load i32, ptr @FTAG, align 4, !tbaa !16
%24 = call i32 @dsl_pool_config_exit(ptr noundef %22, i32 noundef %23) #4
%25 = icmp eq i32 %21, 0
br i1 %25, label %26, label %132
26: ; preds = %12
%27 = load i32, ptr @ZIO_FLAG_CANFAIL, align 4, !tbaa !16
%28 = load i32, ptr @ZIO_FLAG_SPECULATIVE, align 4, !tbaa !16
%29 = or i32 %28, %27
%30 = call ptr @zio_root(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %2, i32 noundef %29) #4
%31 = load i64, ptr @spa_load_verify_metadata, align 8, !tbaa !5
%32 = icmp eq i64 %31, 0
br i1 %32, label %50, label %33
33: ; preds = %26
%34 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 10
%35 = load i64, ptr %34, align 8, !tbaa !20
%36 = icmp eq i64 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %33
%38 = load i64, ptr @spa_load_verify_data, align 8, !tbaa !5
%39 = call i32 @spa_load_note(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %38, i64 noundef %31) #4
br label %40
40: ; preds = %37, %33
%41 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 9
%42 = load i32, ptr %41, align 8, !tbaa !21
%43 = load i32, ptr @TRAVERSE_PRE, align 4, !tbaa !16
%44 = load i32, ptr @TRAVERSE_PREFETCH_METADATA, align 4, !tbaa !16
%45 = or i32 %44, %43
%46 = load i32, ptr @TRAVERSE_NO_DECRYPT, align 4, !tbaa !16
%47 = or i32 %45, %46
%48 = load i32, ptr @spa_load_verify_cb, align 4, !tbaa !16
%49 = call i32 @traverse_pool(ptr noundef nonnull %0, i32 noundef %42, i32 noundef %47, i32 noundef %48, ptr noundef %30) #4
br label %50
50: ; preds = %40, %26
%51 = phi i32 [ %49, %40 ], [ 0, %26 ]
%52 = call i32 @zio_wait(ptr noundef %30) #4
%53 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 8
%54 = load i32, ptr %53, align 4, !tbaa !22
%55 = call i32 @ASSERT0(i32 noundef %54) #4
%56 = load i64, ptr %2, align 8, !tbaa !23
store i64 %56, ptr %0, align 8, !tbaa !25
%57 = getelementptr inbounds %struct.TYPE_18__, ptr %2, i64 0, i32 1
%58 = load i64, ptr %57, align 8
%59 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1
store i64 %58, ptr %59, align 8, !tbaa !26
%60 = icmp ne i64 %56, 0
%61 = icmp ne i64 %58, 0
%62 = select i1 %60, i1 true, i1 %61
br i1 %62, label %63, label %65
63: ; preds = %50
%64 = call i32 @spa_load_note(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %56, i64 noundef %58) #4
br label %65
65: ; preds = %50, %63
%66 = load i64, ptr @spa_load_verify_dryrun, align 8, !tbaa !5
%67 = icmp eq i64 %66, 0
br i1 %67, label %68, label %84
68: ; preds = %65
%69 = icmp eq i32 %51, 0
br i1 %69, label %70, label %80
70: ; preds = %68
%71 = load i64, ptr %2, align 8, !tbaa !23
%72 = getelementptr inbounds %struct.TYPE_16__, ptr %3, i64 0, i32 1
%73 = load i64, ptr %72, align 8, !tbaa !27
%74 = icmp sgt i64 %71, %73
br i1 %74, label %80, label %75
75: ; preds = %70
%76 = load i64, ptr %57, align 8, !tbaa !28
%77 = getelementptr inbounds %struct.TYPE_16__, ptr %3, i64 0, i32 2
%78 = load i64, ptr %77, align 8, !tbaa !29
%79 = icmp sgt i64 %76, %78
br i1 %79, label %80, label %84
80: ; preds = %68, %70, %75
%81 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 4, i32 1
%82 = load i32, ptr %81, align 8, !tbaa !30
%83 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 5
store i32 %82, ptr %83, align 8, !tbaa !31
br label %117
84: ; preds = %65, %75
%85 = load i64, ptr @B_TRUE, align 8, !tbaa !5
%86 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 4
%87 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 4, i32 1
%88 = load i32, ptr %87, align 8, !tbaa !30
%89 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 7
store i32 %88, ptr %89, align 8, !tbaa !32
%90 = load i64, ptr %86, align 8, !tbaa !33
%91 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 2
store i64 %90, ptr %91, align 8, !tbaa !34
%92 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 3
%93 = load i64, ptr %92, align 8, !tbaa !35
%94 = sub nsw i64 %93, %90
%95 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 6
%96 = load i32, ptr %95, align 4, !tbaa !36
%97 = load i32, ptr @ZPOOL_CONFIG_LOAD_TIME, align 4, !tbaa !16
%98 = call i64 @nvlist_add_uint64(i32 noundef %96, i32 noundef %97, i64 noundef %90) #4
%99 = icmp eq i64 %98, 0
%100 = zext i1 %99 to i32
%101 = call i32 @VERIFY(i32 noundef %100) #4
%102 = load i32, ptr %95, align 4, !tbaa !36
%103 = load i32, ptr @ZPOOL_CONFIG_REWIND_TIME, align 4, !tbaa !16
%104 = call i64 @nvlist_add_int64(i32 noundef %102, i32 noundef %103, i64 noundef %94) #4
%105 = icmp eq i64 %104, 0
%106 = zext i1 %105 to i32
%107 = call i32 @VERIFY(i32 noundef %106) #4
%108 = load i32, ptr %95, align 4, !tbaa !36
%109 = load i32, ptr @ZPOOL_CONFIG_LOAD_DATA_ERRORS, align 4, !tbaa !16
%110 = load i64, ptr %57, align 8, !tbaa !28
%111 = call i64 @nvlist_add_uint64(i32 noundef %108, i32 noundef %109, i64 noundef %110) #4
%112 = icmp eq i64 %111, 0
%113 = zext i1 %112 to i32
%114 = call i32 @VERIFY(i32 noundef %113) #4
%115 = load i64, ptr @spa_load_verify_dryrun, align 8, !tbaa !5
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %132
117: ; preds = %80, %84
%118 = phi i64 [ %4, %80 ], [ %85, %84 ]
%119 = icmp eq i32 %51, 0
br i1 %119, label %128, label %120
120: ; preds = %117
%121 = load i32, ptr @ENXIO, align 4, !tbaa !16
%122 = icmp eq i32 %51, %121
br i1 %122, label %132, label %123
123: ; preds = %120
%124 = load i32, ptr @EIO, align 4, !tbaa !16
%125 = icmp eq i32 %51, %124
br i1 %125, label %132, label %126
126: ; preds = %123
%127 = call i32 @SET_ERROR(i32 noundef %124) #4
br label %132
128: ; preds = %117
%129 = icmp eq i64 %118, 0
%130 = load i32, ptr @EIO, align 4
%131 = select i1 %129, i32 %130, i32 0
br label %132
132: ; preds = %120, %123, %126, %84, %12, %1, %128
%133 = phi i32 [ %131, %128 ], [ 0, %1 ], [ %21, %12 ], [ 0, %84 ], [ %127, %126 ], [ %51, %123 ], [ %51, %120 ]
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
ret i32 %133
}
; 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 @zpool_get_load_policy(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @dsl_pool_config_enter(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @dmu_objset_find_dp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @dsl_pool_config_exit(ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @zio_root(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @spa_load_note(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #3
declare i32 @traverse_pool(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @zio_wait(ptr noundef) local_unnamed_addr #3
declare i32 @ASSERT0(i32 noundef) local_unnamed_addr #3
declare i32 @VERIFY(i32 noundef) local_unnamed_addr #3
declare i64 @nvlist_add_uint64(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3
declare i64 @nvlist_add_int64(i32 noundef, i32 noundef, i64 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
declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 88}
!10 = !{!"TYPE_17__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !6, i64 72, !13, i64 80, !12, i64 88}
!11 = !{!"TYPE_15__", !6, i64 0, !12, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_16__", !12, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !13, i64 80}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_14__", !12, i64 0}
!20 = !{!10, !6, i64 72}
!21 = !{!10, !12, i64 64}
!22 = !{!10, !12, i64 60}
!23 = !{!24, !6, i64 0}
!24 = !{!"TYPE_18__", !6, i64 0, !6, i64 8, !12, i64 16}
!25 = !{!10, !6, i64 0}
!26 = !{!10, !6, i64 8}
!27 = !{!15, !6, i64 8}
!28 = !{!24, !6, i64 8}
!29 = !{!15, !6, i64 16}
!30 = !{!10, !12, i64 40}
!31 = !{!10, !12, i64 48}
!32 = !{!10, !12, i64 56}
!33 = !{!10, !6, i64 32}
!34 = !{!10, !6, i64 16}
!35 = !{!10, !6, i64 24}
!36 = !{!10, !12, i64 52}
| ; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa.c_spa_load_verify.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_spa.c_spa_load_verify.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 { i64, i64, i32 }
%struct.TYPE_16__ = type { i32, i64, i64 }
@B_FALSE = common local_unnamed_addr global i64 0, align 8
@ZPOOL_NEVER_REWIND = common local_unnamed_addr global i32 0, align 4
@FTAG = common local_unnamed_addr global i32 0, align 4
@verify_dataset_name_len = common local_unnamed_addr global i32 0, align 4
@DS_FIND_CHILDREN = common local_unnamed_addr global i32 0, align 4
@ZIO_FLAG_CANFAIL = common local_unnamed_addr global i32 0, align 4
@ZIO_FLAG_SPECULATIVE = common local_unnamed_addr global i32 0, align 4
@spa_load_verify_metadata = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [156 x i8] c"performing a complete scan of the pool since extreme rewind is on. This may take a very long time.\0A (spa_load_verify_data=%u, spa_load_verify_metadata=%u)\00", align 1
@spa_load_verify_data = common local_unnamed_addr global i64 0, align 8
@TRAVERSE_PRE = common local_unnamed_addr global i32 0, align 4
@TRAVERSE_PREFETCH_METADATA = common local_unnamed_addr global i32 0, align 4
@TRAVERSE_NO_DECRYPT = common local_unnamed_addr global i32 0, align 4
@spa_load_verify_cb = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [64 x i8] c"spa_load_verify found %llu metadata errors and %llu data errors\00", align 1
@spa_load_verify_dryrun = common local_unnamed_addr global i64 0, align 8
@B_TRUE = common local_unnamed_addr global i64 0, align 8
@ZPOOL_CONFIG_LOAD_TIME = common local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_REWIND_TIME = common local_unnamed_addr global i32 0, align 4
@ZPOOL_CONFIG_LOAD_DATA_ERRORS = common local_unnamed_addr global i32 0, align 4
@ENXIO = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @spa_load_verify], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @spa_load_verify(ptr noundef %0) #0 {
%2 = alloca %struct.TYPE_18__, align 8
%3 = alloca %struct.TYPE_16__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %2, i8 0, i64 24, i1 false)
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
%4 = load i64, ptr @B_FALSE, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 88
%6 = load i32, ptr %5, align 8, !tbaa !10
%7 = call i32 @zpool_get_load_policy(i32 noundef %6, ptr noundef nonnull %3) #4
%8 = load i32, ptr %3, align 8, !tbaa !15
%9 = load i32, ptr @ZPOOL_NEVER_REWIND, align 4, !tbaa !17
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %132
12: ; preds = %1
%13 = getelementptr inbounds i8, ptr %0, i64 80
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = load i32, ptr @FTAG, align 4, !tbaa !17
%16 = call i32 @dsl_pool_config_enter(ptr noundef %14, i32 noundef %15) #4
%17 = load ptr, ptr %13, align 8, !tbaa !18
%18 = load i32, ptr %17, align 4, !tbaa !19
%19 = load i32, ptr @verify_dataset_name_len, align 4, !tbaa !17
%20 = load i32, ptr @DS_FIND_CHILDREN, align 4, !tbaa !17
%21 = call i32 @dmu_objset_find_dp(ptr noundef nonnull %17, i32 noundef %18, i32 noundef %19, ptr noundef null, i32 noundef %20) #4
%22 = load ptr, ptr %13, align 8, !tbaa !18
%23 = load i32, ptr @FTAG, align 4, !tbaa !17
%24 = call i32 @dsl_pool_config_exit(ptr noundef %22, i32 noundef %23) #4
%25 = icmp eq i32 %21, 0
br i1 %25, label %26, label %132
26: ; preds = %12
%27 = load i32, ptr @ZIO_FLAG_CANFAIL, align 4, !tbaa !17
%28 = load i32, ptr @ZIO_FLAG_SPECULATIVE, align 4, !tbaa !17
%29 = or i32 %28, %27
%30 = call ptr @zio_root(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %2, i32 noundef %29) #4
%31 = load i64, ptr @spa_load_verify_metadata, align 8, !tbaa !6
%32 = icmp eq i64 %31, 0
br i1 %32, label %50, label %33
33: ; preds = %26
%34 = getelementptr inbounds i8, ptr %0, i64 72
%35 = load i64, ptr %34, align 8, !tbaa !21
%36 = icmp eq i64 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %33
%38 = load i64, ptr @spa_load_verify_data, align 8, !tbaa !6
%39 = call i32 @spa_load_note(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %38, i64 noundef %31) #4
br label %40
40: ; preds = %37, %33
%41 = getelementptr inbounds i8, ptr %0, i64 64
%42 = load i32, ptr %41, align 8, !tbaa !22
%43 = load i32, ptr @TRAVERSE_PRE, align 4, !tbaa !17
%44 = load i32, ptr @TRAVERSE_PREFETCH_METADATA, align 4, !tbaa !17
%45 = or i32 %44, %43
%46 = load i32, ptr @TRAVERSE_NO_DECRYPT, align 4, !tbaa !17
%47 = or i32 %45, %46
%48 = load i32, ptr @spa_load_verify_cb, align 4, !tbaa !17
%49 = call i32 @traverse_pool(ptr noundef nonnull %0, i32 noundef %42, i32 noundef %47, i32 noundef %48, ptr noundef %30) #4
br label %50
50: ; preds = %40, %26
%51 = phi i32 [ %49, %40 ], [ 0, %26 ]
%52 = call i32 @zio_wait(ptr noundef %30) #4
%53 = getelementptr inbounds i8, ptr %0, i64 60
%54 = load i32, ptr %53, align 4, !tbaa !23
%55 = call i32 @ASSERT0(i32 noundef %54) #4
%56 = load i64, ptr %2, align 8, !tbaa !24
store i64 %56, ptr %0, align 8, !tbaa !26
%57 = getelementptr inbounds i8, ptr %2, i64 8
%58 = load i64, ptr %57, align 8
%59 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %58, ptr %59, align 8, !tbaa !27
%60 = icmp ne i64 %56, 0
%61 = icmp ne i64 %58, 0
%62 = select i1 %60, i1 true, i1 %61
br i1 %62, label %63, label %65
63: ; preds = %50
%64 = call i32 @spa_load_note(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %56, i64 noundef %58) #4
br label %65
65: ; preds = %50, %63
%66 = load i64, ptr @spa_load_verify_dryrun, align 8, !tbaa !6
%67 = icmp eq i64 %66, 0
br i1 %67, label %68, label %84
68: ; preds = %65
%69 = icmp eq i32 %51, 0
br i1 %69, label %70, label %80
70: ; preds = %68
%71 = load i64, ptr %2, align 8, !tbaa !24
%72 = getelementptr inbounds i8, ptr %3, i64 8
%73 = load i64, ptr %72, align 8, !tbaa !28
%74 = icmp sgt i64 %71, %73
br i1 %74, label %80, label %75
75: ; preds = %70
%76 = load i64, ptr %57, align 8, !tbaa !29
%77 = getelementptr inbounds i8, ptr %3, i64 16
%78 = load i64, ptr %77, align 8, !tbaa !30
%79 = icmp sgt i64 %76, %78
br i1 %79, label %80, label %84
80: ; preds = %68, %70, %75
%81 = getelementptr inbounds i8, ptr %0, i64 40
%82 = load i32, ptr %81, align 8, !tbaa !31
%83 = getelementptr inbounds i8, ptr %0, i64 48
store i32 %82, ptr %83, align 8, !tbaa !32
br label %117
84: ; preds = %65, %75
%85 = load i64, ptr @B_TRUE, align 8, !tbaa !6
%86 = getelementptr inbounds i8, ptr %0, i64 32
%87 = getelementptr inbounds i8, ptr %0, i64 40
%88 = load i32, ptr %87, align 8, !tbaa !31
%89 = getelementptr inbounds i8, ptr %0, i64 56
store i32 %88, ptr %89, align 8, !tbaa !33
%90 = load i64, ptr %86, align 8, !tbaa !34
%91 = getelementptr inbounds i8, ptr %0, i64 16
store i64 %90, ptr %91, align 8, !tbaa !35
%92 = getelementptr inbounds i8, ptr %0, i64 24
%93 = load i64, ptr %92, align 8, !tbaa !36
%94 = sub nsw i64 %93, %90
%95 = getelementptr inbounds i8, ptr %0, i64 52
%96 = load i32, ptr %95, align 4, !tbaa !37
%97 = load i32, ptr @ZPOOL_CONFIG_LOAD_TIME, align 4, !tbaa !17
%98 = call i64 @nvlist_add_uint64(i32 noundef %96, i32 noundef %97, i64 noundef %90) #4
%99 = icmp eq i64 %98, 0
%100 = zext i1 %99 to i32
%101 = call i32 @VERIFY(i32 noundef %100) #4
%102 = load i32, ptr %95, align 4, !tbaa !37
%103 = load i32, ptr @ZPOOL_CONFIG_REWIND_TIME, align 4, !tbaa !17
%104 = call i64 @nvlist_add_int64(i32 noundef %102, i32 noundef %103, i64 noundef %94) #4
%105 = icmp eq i64 %104, 0
%106 = zext i1 %105 to i32
%107 = call i32 @VERIFY(i32 noundef %106) #4
%108 = load i32, ptr %95, align 4, !tbaa !37
%109 = load i32, ptr @ZPOOL_CONFIG_LOAD_DATA_ERRORS, align 4, !tbaa !17
%110 = load i64, ptr %57, align 8, !tbaa !29
%111 = call i64 @nvlist_add_uint64(i32 noundef %108, i32 noundef %109, i64 noundef %110) #4
%112 = icmp eq i64 %111, 0
%113 = zext i1 %112 to i32
%114 = call i32 @VERIFY(i32 noundef %113) #4
%115 = load i64, ptr @spa_load_verify_dryrun, align 8, !tbaa !6
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %132
117: ; preds = %80, %84
%118 = phi i64 [ %4, %80 ], [ %85, %84 ]
%119 = icmp eq i32 %51, 0
br i1 %119, label %128, label %120
120: ; preds = %117
%121 = load i32, ptr @ENXIO, align 4, !tbaa !17
%122 = icmp eq i32 %51, %121
br i1 %122, label %132, label %123
123: ; preds = %120
%124 = load i32, ptr @EIO, align 4, !tbaa !17
%125 = icmp eq i32 %51, %124
br i1 %125, label %132, label %126
126: ; preds = %123
%127 = call i32 @SET_ERROR(i32 noundef %124) #4
br label %132
128: ; preds = %117
%129 = icmp eq i64 %118, 0
%130 = load i32, ptr @EIO, align 4
%131 = select i1 %129, i32 %130, i32 0
br label %132
132: ; preds = %120, %123, %126, %84, %12, %1, %128
%133 = phi i32 [ %131, %128 ], [ 0, %1 ], [ %21, %12 ], [ 0, %84 ], [ %127, %126 ], [ %51, %123 ], [ %51, %120 ]
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
ret i32 %133
}
; 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 @zpool_get_load_policy(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @dsl_pool_config_enter(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @dmu_objset_find_dp(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @dsl_pool_config_exit(ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @zio_root(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @spa_load_note(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #3
declare i32 @traverse_pool(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @zio_wait(ptr noundef) local_unnamed_addr #3
declare i32 @ASSERT0(i32 noundef) local_unnamed_addr #3
declare i32 @VERIFY(i32 noundef) local_unnamed_addr #3
declare i64 @nvlist_add_uint64(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3
declare i64 @nvlist_add_int64(i32 noundef, i32 noundef, i64 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
declare i32 @SET_ERROR(i32 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: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 88}
!11 = !{!"TYPE_17__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !7, i64 72, !14, i64 80, !13, i64 88}
!12 = !{!"TYPE_15__", !7, i64 0, !13, i64 8}
!13 = !{!"int", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_16__", !13, i64 0, !7, i64 8, !7, i64 16}
!17 = !{!13, !13, i64 0}
!18 = !{!11, !14, i64 80}
!19 = !{!20, !13, i64 0}
!20 = !{!"TYPE_14__", !13, i64 0}
!21 = !{!11, !7, i64 72}
!22 = !{!11, !13, i64 64}
!23 = !{!11, !13, i64 60}
!24 = !{!25, !7, i64 0}
!25 = !{!"TYPE_18__", !7, i64 0, !7, i64 8, !13, i64 16}
!26 = !{!11, !7, i64 0}
!27 = !{!11, !7, i64 8}
!28 = !{!16, !7, i64 8}
!29 = !{!25, !7, i64 8}
!30 = !{!16, !7, i64 16}
!31 = !{!11, !13, i64 40}
!32 = !{!11, !13, i64 48}
!33 = !{!11, !13, i64 56}
!34 = !{!11, !7, i64 32}
!35 = !{!11, !7, i64 16}
!36 = !{!11, !7, i64 24}
!37 = !{!11, !13, i64 52}
| zfs_module_zfs_extr_spa.c_spa_load_verify |
; ModuleID = 'AnghaBench/vlc/src/win32/extr_filesystem.c_vlc_memfd.c'
source_filename = "AnghaBench/vlc/src/win32/extr_filesystem.c_vlc_memfd.c"
target datalayout = "e-m:e-p270:32:32-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
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define dso_local noundef i32 @vlc_memfd() local_unnamed_addr #0 {
%1 = load i32, ptr @ENOSYS, align 4, !tbaa !5
store i32 %1, ptr @errno, align 4, !tbaa !5
ret i32 -1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/vlc/src/win32/extr_filesystem.c_vlc_memfd.c'
source_filename = "AnghaBench/vlc/src/win32/extr_filesystem.c_vlc_memfd.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
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define noundef i32 @vlc_memfd() local_unnamed_addr #0 {
%1 = load i32, ptr @ENOSYS, align 4, !tbaa !6
store i32 %1, ptr @errno, align 4, !tbaa !6
ret i32 -1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| vlc_src_win32_extr_filesystem.c_vlc_memfd |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_libata-scsi.c_ata_scsiop_inq_b1.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_libata-scsi.c_ata_scsiop_inq_b1.c"
target datalayout = "e-m:e-p270:32:32-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 @ata_scsiop_inq_b1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ata_scsiop_inq_b1(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @ata_id_form_factor(i32 noundef %3) #2
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call i32 @ata_id_rotation_rate(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = tail call i32 @ata_id_zoned_cap(i32 noundef %7) #2
%9 = getelementptr inbounds i32, ptr %1, i64 1
store i32 177, ptr %9, align 4, !tbaa !10
%10 = getelementptr inbounds i32, ptr %1, i64 3
store i32 60, ptr %10, align 4, !tbaa !10
%11 = ashr i32 %6, 8
%12 = getelementptr inbounds i32, ptr %1, i64 4
store i32 %11, ptr %12, align 4, !tbaa !10
%13 = getelementptr inbounds i32, ptr %1, i64 5
store i32 %6, ptr %13, align 4, !tbaa !10
%14 = getelementptr inbounds i32, ptr %1, i64 7
store i32 %4, ptr %14, align 4, !tbaa !10
%15 = icmp eq i32 %8, 0
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = shl i32 %8, 4
%18 = getelementptr inbounds i32, ptr %1, i64 8
store i32 %17, ptr %18, align 4, !tbaa !10
br label %19
19: ; preds = %16, %2
ret i32 0
}
declare i32 @ata_id_form_factor(i32 noundef) local_unnamed_addr #1
declare i32 @ata_id_rotation_rate(i32 noundef) local_unnamed_addr #1
declare i32 @ata_id_zoned_cap(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 = !{!"ata_scsi_args", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_libata-scsi.c_ata_scsiop_inq_b1.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_libata-scsi.c_ata_scsiop_inq_b1.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 @ata_scsiop_inq_b1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ata_scsiop_inq_b1(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @ata_id_form_factor(i32 noundef %3) #2
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call i32 @ata_id_rotation_rate(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = tail call i32 @ata_id_zoned_cap(i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %1, i64 4
store i32 177, ptr %9, align 4, !tbaa !11
%10 = getelementptr inbounds i8, ptr %1, i64 12
store i32 60, ptr %10, align 4, !tbaa !11
%11 = ashr i32 %6, 8
%12 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %11, ptr %12, align 4, !tbaa !11
%13 = getelementptr inbounds i8, ptr %1, i64 20
store i32 %6, ptr %13, align 4, !tbaa !11
%14 = getelementptr inbounds i8, ptr %1, i64 28
store i32 %4, ptr %14, align 4, !tbaa !11
%15 = icmp eq i32 %8, 0
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = shl i32 %8, 4
%18 = getelementptr inbounds i8, ptr %1, i64 32
store i32 %17, ptr %18, align 4, !tbaa !11
br label %19
19: ; preds = %16, %2
ret i32 0
}
declare i32 @ata_id_form_factor(i32 noundef) local_unnamed_addr #1
declare i32 @ata_id_rotation_rate(i32 noundef) local_unnamed_addr #1
declare i32 @ata_id_zoned_cap(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 = !{!"ata_scsi_args", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_ata_extr_libata-scsi.c_ata_scsiop_inq_b1 |
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_videobuf-core.c_videobuf_dqbuf.c'
source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_videobuf-core.c_videobuf_dqbuf.c"
target datalayout = "e-m:e-p270:32:32-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.videobuf_queue = type { i32, ptr }
%struct.videobuf_buffer = type { i32, i32 }
@MAGIC_QTYPE_OPS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"dqbuf: next_buffer error: %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"dqbuf: state is error\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"dqbuf: state is done\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"dqbuf: state invalid\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@sync = dso_local local_unnamed_addr global i32 0, align 4
@VIDEOBUF_IDLE = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_BUF_FLAG_DONE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @videobuf_dqbuf(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.videobuf_queue, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !9
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = load i32, ptr @MAGIC_QTYPE_OPS, align 4, !tbaa !14
%9 = tail call i32 @MAGIC_CHECK(i32 noundef %7, i32 noundef %8) #3
%10 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 4) #3
%11 = tail call i32 @videobuf_queue_lock(ptr noundef %0) #3
%12 = call i32 @stream_next_buffer(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %2) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %12) #3
br label %42
16: ; preds = %3
%17 = load ptr, ptr %4, align 8, !tbaa !5
%18 = load i32, ptr %17, align 4, !tbaa !15
switch i32 %18, label %20 [
i32 128, label %24
i32 129, label %19
]
19: ; preds = %16
br label %24
20: ; preds = %16
%21 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.3) #3
%22 = load i32, ptr @EINVAL, align 4, !tbaa !14
%23 = sub nsw i32 0, %22
br label %42
24: ; preds = %16, %19
%25 = phi ptr [ @.str.2, %19 ], [ @.str.1, %16 ]
%26 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull %25) #3
%27 = load i32, ptr @sync, align 4, !tbaa !14
%28 = load ptr, ptr %4, align 8, !tbaa !5
%29 = call i32 @CALL(ptr noundef nonnull %0, i32 noundef %27, ptr noundef nonnull %0, ptr noundef %28) #3
%30 = load ptr, ptr %4, align 8, !tbaa !5
%31 = load i32, ptr %0, align 8, !tbaa !17
%32 = call i32 @videobuf_status(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %30, i32 noundef %31) #3
%33 = load ptr, ptr %4, align 8, !tbaa !5
%34 = getelementptr inbounds %struct.videobuf_buffer, ptr %33, i64 0, i32 1
%35 = call i32 @list_del(ptr noundef nonnull %34) #3
%36 = load i32, ptr @VIDEOBUF_IDLE, align 4, !tbaa !14
%37 = load ptr, ptr %4, align 8, !tbaa !5
store i32 %36, ptr %37, align 4, !tbaa !15
%38 = load i32, ptr @V4L2_BUF_FLAG_DONE, align 4, !tbaa !14
%39 = xor i32 %38, -1
%40 = load i32, ptr %1, align 4, !tbaa !18
%41 = and i32 %40, %39
store i32 %41, ptr %1, align 4, !tbaa !18
br label %42
42: ; preds = %24, %20, %14
%43 = phi i32 [ %12, %14 ], [ %23, %20 ], [ %12, %24 ]
%44 = call i32 @videobuf_queue_unlock(ptr noundef nonnull %0) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @MAGIC_CHECK(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @videobuf_queue_lock(ptr noundef) local_unnamed_addr #2
declare i32 @stream_next_buffer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dprintk(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @CALL(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @videobuf_status(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @list_del(ptr noundef) local_unnamed_addr #2
declare i32 @videobuf_queue_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"videobuf_queue", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"videobuf_buffer", !11, i64 0, !11, i64 4}
!17 = !{!10, !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"v4l2_buffer", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_videobuf-core.c_videobuf_dqbuf.c'
source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_videobuf-core.c_videobuf_dqbuf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAGIC_QTYPE_OPS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"dqbuf: next_buffer error: %i\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"dqbuf: state is error\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"dqbuf: state is done\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"dqbuf: state invalid\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@sync = common local_unnamed_addr global i32 0, align 4
@VIDEOBUF_IDLE = common local_unnamed_addr global i32 0, align 4
@V4L2_BUF_FLAG_DONE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @videobuf_dqbuf(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = load i32, ptr @MAGIC_QTYPE_OPS, align 4, !tbaa !15
%9 = tail call i32 @MAGIC_CHECK(i32 noundef %7, i32 noundef %8) #3
%10 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 4) #3
%11 = tail call i32 @videobuf_queue_lock(ptr noundef %0) #3
%12 = call i32 @stream_next_buffer(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %2) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %12) #3
br label %42
16: ; preds = %3
%17 = load ptr, ptr %4, align 8, !tbaa !6
%18 = load i32, ptr %17, align 4, !tbaa !16
switch i32 %18, label %20 [
i32 128, label %24
i32 129, label %19
]
19: ; preds = %16
br label %24
20: ; preds = %16
%21 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.3) #3
%22 = load i32, ptr @EINVAL, align 4, !tbaa !15
%23 = sub nsw i32 0, %22
br label %42
24: ; preds = %16, %19
%25 = phi ptr [ @.str.2, %19 ], [ @.str.1, %16 ]
%26 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull %25) #3
%27 = load i32, ptr @sync, align 4, !tbaa !15
%28 = load ptr, ptr %4, align 8, !tbaa !6
%29 = call i32 @CALL(ptr noundef nonnull %0, i32 noundef %27, ptr noundef nonnull %0, ptr noundef %28) #3
%30 = load ptr, ptr %4, align 8, !tbaa !6
%31 = load i32, ptr %0, align 8, !tbaa !18
%32 = call i32 @videobuf_status(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %30, i32 noundef %31) #3
%33 = load ptr, ptr %4, align 8, !tbaa !6
%34 = getelementptr inbounds i8, ptr %33, i64 4
%35 = call i32 @list_del(ptr noundef nonnull %34) #3
%36 = load i32, ptr @VIDEOBUF_IDLE, align 4, !tbaa !15
%37 = load ptr, ptr %4, align 8, !tbaa !6
store i32 %36, ptr %37, align 4, !tbaa !16
%38 = load i32, ptr @V4L2_BUF_FLAG_DONE, align 4, !tbaa !15
%39 = xor i32 %38, -1
%40 = load i32, ptr %1, align 4, !tbaa !19
%41 = and i32 %40, %39
store i32 %41, ptr %1, align 4, !tbaa !19
br label %42
42: ; preds = %24, %20, %14
%43 = phi i32 [ %12, %14 ], [ %23, %20 ], [ %12, %24 ]
%44 = call i32 @videobuf_queue_unlock(ptr noundef nonnull %0) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @MAGIC_CHECK(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @videobuf_queue_lock(ptr noundef) local_unnamed_addr #2
declare i32 @stream_next_buffer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dprintk(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @CALL(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @videobuf_status(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @list_del(ptr noundef) local_unnamed_addr #2
declare i32 @videobuf_queue_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"videobuf_queue", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"videobuf_buffer", !12, i64 0, !12, i64 4}
!18 = !{!11, !12, i64 0}
!19 = !{!20, !12, i64 0}
!20 = !{!"v4l2_buffer", !12, i64 0}
| linux_drivers_media_v4l2-core_extr_videobuf-core.c_videobuf_dqbuf |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_ieee1394_core.c_fill_async_readblock_resp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_ieee1394_core.c_fill_async_readblock_resp.c"
target datalayout = "e-m:e-p270:32:32-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.hpsb_packet = type { ptr, i32, i32 }
@RCODE_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4
@TCODE_READB_RESPONSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fill_async_readblock_resp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fill_async_readblock_resp(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @RCODE_COMPLETE, align 4, !tbaa !5
%5 = icmp eq i32 %4, %1
%6 = select i1 %5, i32 %2, i32 0
%7 = load i32, ptr @TCODE_READB_RESPONSE, align 4, !tbaa !5
%8 = tail call i32 @PREP_ASYNC_HEAD_RCODE(i32 noundef %7) #2
%9 = shl i32 %6, 16
%10 = load ptr, ptr %0, align 8, !tbaa !9
%11 = getelementptr inbounds i32, ptr %10, i64 3
store i32 %9, ptr %11, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.hpsb_packet, ptr %0, i64 0, i32 1
store i32 16, ptr %12, align 8, !tbaa !12
%13 = srem i32 %6, 4
%14 = icmp eq i32 %13, 0
%15 = sub nsw i32 4, %13
%16 = select i1 %14, i32 0, i32 %15
%17 = add nsw i32 %16, %6
%18 = getelementptr inbounds %struct.hpsb_packet, ptr %0, i64 0, i32 2
store i32 %17, ptr %18, align 4, !tbaa !13
ret void
}
declare i32 @PREP_ASYNC_HEAD_RCODE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"hpsb_packet", !11, i64 0, !6, i64 8, !6, i64 12}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 12}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_ieee1394_core.c_fill_async_readblock_resp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_ieee1394_core.c_fill_async_readblock_resp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RCODE_COMPLETE = common local_unnamed_addr global i32 0, align 4
@TCODE_READB_RESPONSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fill_async_readblock_resp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fill_async_readblock_resp(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @RCODE_COMPLETE, align 4, !tbaa !6
%5 = icmp eq i32 %4, %1
%6 = select i1 %5, i32 %2, i32 0
%7 = load i32, ptr @TCODE_READB_RESPONSE, align 4, !tbaa !6
%8 = tail call i32 @PREP_ASYNC_HEAD_RCODE(i32 noundef %7) #2
%9 = shl i32 %6, 16
%10 = load ptr, ptr %0, align 8, !tbaa !10
%11 = getelementptr inbounds i8, ptr %10, i64 12
store i32 %9, ptr %11, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %0, i64 8
store i32 16, ptr %12, align 8, !tbaa !13
%13 = srem i32 %6, 4
%14 = icmp eq i32 %13, 0
%15 = sub nsw i32 4, %13
%16 = select i1 %14, i32 0, i32 %15
%17 = add nsw i32 %16, %6
%18 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %17, ptr %18, align 4, !tbaa !14
ret void
}
declare i32 @PREP_ASYNC_HEAD_RCODE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"hpsb_packet", !12, i64 0, !7, i64 8, !7, i64 12}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!11, !7, i64 12}
| fastsocket_kernel_drivers_ieee1394_extr_ieee1394_core.c_fill_async_readblock_resp |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_mac.c_rtw_mac_power_off.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_mac.c_rtw_mac_power_off.c"
target datalayout = "e-m:e-p270:32:32-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 @rtw_mac_power_off(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @rtw_mac_power_switch(ptr noundef %0, i32 noundef 0) #2
ret void
}
declare i32 @rtw_mac_power_switch(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_mac.c_rtw_mac_power_off.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_mac.c_rtw_mac_power_off.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 @rtw_mac_power_off(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @rtw_mac_power_switch(ptr noundef %0, i32 noundef 0) #2
ret void
}
declare i32 @rtw_mac_power_switch(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_wireless_realtek_rtw88_extr_mac.c_rtw_mac_power_off |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_dbusdbus_new.h_wpas_dbus_signal_scan_done.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_dbusdbus_new.h_wpas_dbus_signal_scan_done.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @wpas_dbus_signal_scan_done], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @wpas_dbus_signal_scan_done(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_dbusdbus_new.h_wpas_dbus_signal_scan_done.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_dbusdbus_new.h_wpas_dbus_signal_scan_done.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @wpas_dbus_signal_scan_done], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @wpas_dbus_signal_scan_done(ptr nocapture readnone %0, i32 %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_wpa_wpa_supplicant_extr_dbusdbus_new.h_wpas_dbus_signal_scan_done |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/eco/keymaps/default/extr_keymap.c_persistant_default_layer_set.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/eco/keymaps/default/extr_keymap.c_persistant_default_layer_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @persistant_default_layer_set(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @eeconfig_update_default_layer(i32 noundef %0) #2
%3 = tail call i32 @default_layer_set(i32 noundef %0) #2
ret void
}
declare i32 @eeconfig_update_default_layer(i32 noundef) local_unnamed_addr #1
declare i32 @default_layer_set(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/qmk_firmware/keyboards/eco/keymaps/default/extr_keymap.c_persistant_default_layer_set.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/eco/keymaps/default/extr_keymap.c_persistant_default_layer_set.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 @persistant_default_layer_set(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @eeconfig_update_default_layer(i32 noundef %0) #2
%3 = tail call i32 @default_layer_set(i32 noundef %0) #2
ret void
}
declare i32 @eeconfig_update_default_layer(i32 noundef) local_unnamed_addr #1
declare i32 @default_layer_set(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)"}
| qmk_firmware_keyboards_eco_keymaps_default_extr_keymap.c_persistant_default_layer_set |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/arch/aarch64/extr_exec_prot_support.c_exec_prot_support.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/arch/aarch64/extr_exec_prot_support.c_exec_prot_support.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NOTIMPL = 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 @exec_prot_support() local_unnamed_addr #0 {
%1 = load i32, ptr @NOTIMPL, align 4, !tbaa !5
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/arch/aarch64/extr_exec_prot_support.c_exec_prot_support.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/arch/aarch64/extr_exec_prot_support.c_exec_prot_support.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NOTIMPL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @exec_prot_support() local_unnamed_addr #0 {
%1 = load i32, ptr @NOTIMPL, align 4, !tbaa !6
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_netbsd-tests_lib_libc_arch_aarch64_extr_exec_prot_support.c_exec_prot_support |
; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/extr_channel.c_host1x_channel_list_init.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/extr_channel.c_host1x_channel_list_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.host1x_channel_list = type { ptr, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @host1x_channel_list_init(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = tail call ptr @kcalloc(i32 noundef %1, i32 noundef 4, i32 noundef %3) #2
%5 = getelementptr inbounds %struct.host1x_channel_list, ptr %0, i64 0, i32 1
store ptr %4, ptr %5, align 8, !tbaa !9
%6 = icmp eq ptr %4, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %22
10: ; preds = %2
%11 = tail call i32 @BITS_TO_LONGS(i32 noundef %1) #2
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%13 = tail call ptr @kcalloc(i32 noundef %11, i32 noundef 8, i32 noundef %12) #2
store ptr %13, ptr %0, align 8, !tbaa !12
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load ptr, ptr %5, align 8, !tbaa !9
%17 = tail call i32 @kfree(ptr noundef %16) #2
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%19 = sub nsw i32 0, %18
br label %22
20: ; preds = %10
%21 = tail call i32 @bitmap_zero(ptr noundef nonnull %13, i32 noundef %1) #2
br label %22
22: ; preds = %20, %15, %7
%23 = phi i32 [ 0, %20 ], [ %19, %15 ], [ %9, %7 ]
ret i32 %23
}
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BITS_TO_LONGS(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @bitmap_zero(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, !11, i64 8}
!10 = !{!"host1x_channel_list", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/extr_channel.c_host1x_channel_list_init.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/extr_channel.c_host1x_channel_list_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @host1x_channel_list_init(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = tail call ptr @kcalloc(i32 noundef %1, i32 noundef 4, i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %4, ptr %5, align 8, !tbaa !10
%6 = icmp eq ptr %4, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %22
10: ; preds = %2
%11 = tail call i32 @BITS_TO_LONGS(i32 noundef %1) #2
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%13 = tail call ptr @kcalloc(i32 noundef %11, i32 noundef 8, i32 noundef %12) #2
store ptr %13, ptr %0, align 8, !tbaa !13
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %20
15: ; preds = %10
%16 = load ptr, ptr %5, align 8, !tbaa !10
%17 = tail call i32 @kfree(ptr noundef %16) #2
%18 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%19 = sub nsw i32 0, %18
br label %22
20: ; preds = %10
%21 = tail call i32 @bitmap_zero(ptr noundef nonnull %13, i32 noundef %1) #2
br label %22
22: ; preds = %20, %15, %7
%23 = phi i32 [ 0, %20 ], [ %19, %15 ], [ %9, %7 ]
ret i32 %23
}
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BITS_TO_LONGS(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @bitmap_zero(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, !12, i64 8}
!11 = !{!"host1x_channel_list", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
| linux_drivers_gpu_host1x_extr_channel.c_host1x_channel_list_init |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_main.c_brcms_c_isgoodchip.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_main.c_brcms_c_isgoodchip.c"
target datalayout = "e-m:e-p270:32:32-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.brcms_hardware = type { i32, ptr }
@D11CONF = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"unsupported core rev %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @brcms_c_isgoodchip], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @brcms_c_isgoodchip(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @D11CONF, align 4, !tbaa !5
%3 = load i32, ptr %0, align 8, !tbaa !9
%4 = tail call i32 @CONF_HAS(i32 noundef %2, i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = getelementptr inbounds %struct.brcms_hardware, ptr %0, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = load i32, ptr %0, align 8, !tbaa !9
%11 = tail call i32 @wiphy_err(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %10) #2
br label %12
12: ; preds = %1, %6
%13 = phi i32 [ 0, %6 ], [ 1, %1 ]
ret i32 %13
}
declare i32 @CONF_HAS(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wiphy_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"brcms_hardware", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_main.c_brcms_c_isgoodchip.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_main.c_brcms_c_isgoodchip.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@D11CONF = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"unsupported core rev %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @brcms_c_isgoodchip], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @brcms_c_isgoodchip(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @D11CONF, align 4, !tbaa !6
%3 = load i32, ptr %0, align 8, !tbaa !10
%4 = tail call i32 @CONF_HAS(i32 noundef %2, i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = load i32, ptr %0, align 8, !tbaa !10
%11 = tail call i32 @wiphy_err(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %10) #2
br label %12
12: ; preds = %1, %6
%13 = phi i32 [ 0, %6 ], [ 1, %1 ]
ret i32 %13
}
declare i32 @CONF_HAS(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wiphy_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"brcms_hardware", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_2__", !7, i64 0}
| linux_drivers_net_wireless_broadcom_brcm80211_brcmsmac_extr_main.c_brcms_c_isgoodchip |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_eeprom.c_ipath_tempsense_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_eeprom.c_ipath_tempsense_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"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@VALID_TS_RD_REG_MASK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ipath_tempsense_read(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp sgt i32 %1, 7
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = load i32, ptr @EINVAL, align 4, !tbaa !5
%6 = sub nsw i32 0, %5
br label %18
7: ; preds = %2
%8 = shl nuw nsw i32 1, %1
%9 = load i32, ptr @VALID_TS_RD_REG_MASK, align 4, !tbaa !5
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %18, label %12
12: ; preds = %7
%13 = tail call i32 @mutex_lock_interruptible(ptr noundef %0) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = tail call i32 @ipath_tempsense_internal_read(ptr noundef %0, i32 noundef %1) #2
%17 = tail call i32 @mutex_unlock(ptr noundef %0) #2
br label %18
18: ; preds = %12, %15, %7, %4
%19 = phi i32 [ %6, %4 ], [ 0, %7 ], [ %13, %12 ], [ %16, %15 ]
ret i32 %19
}
declare i32 @mutex_lock_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @ipath_tempsense_internal_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_eeprom.c_ipath_tempsense_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_eeprom.c_ipath_tempsense_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@VALID_TS_RD_REG_MASK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ipath_tempsense_read(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp sgt i32 %1, 7
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = load i32, ptr @EINVAL, align 4, !tbaa !6
%6 = sub nsw i32 0, %5
br label %18
7: ; preds = %2
%8 = shl nuw nsw i32 1, %1
%9 = load i32, ptr @VALID_TS_RD_REG_MASK, align 4, !tbaa !6
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %18, label %12
12: ; preds = %7
%13 = tail call i32 @mutex_lock_interruptible(ptr noundef %0) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = tail call i32 @ipath_tempsense_internal_read(ptr noundef %0, i32 noundef %1) #2
%17 = tail call i32 @mutex_unlock(ptr noundef %0) #2
br label %18
18: ; preds = %12, %15, %7, %4
%19 = phi i32 [ %6, %4 ], [ 0, %7 ], [ %13, %12 ], [ %16, %15 ]
ret i32 %19
}
declare i32 @mutex_lock_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @ipath_tempsense_internal_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_infiniband_hw_ipath_extr_ipath_eeprom.c_ipath_tempsense_read |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_thread_call.c_thread_call_enter1_delayed.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_thread_call.c_thread_call_enter1_delayed.c"
target datalayout = "e-m:e-p270:32:32-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 @thread_call_enter1_delayed(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp ne ptr %0, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
%7 = tail call i32 @thread_call_enter_delayed_internal(ptr noundef %0, ptr noundef null, i32 noundef 0, i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef 0) #2
ret i32 %7
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @thread_call_enter_delayed_internal(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_thread_call.c_thread_call_enter1_delayed.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_thread_call.c_thread_call_enter1_delayed.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 @thread_call_enter1_delayed(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp ne ptr %0, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
%7 = tail call i32 @thread_call_enter_delayed_internal(ptr noundef %0, ptr noundef null, i32 noundef 0, i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef 0) #2
ret i32 %7
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @thread_call_enter_delayed_internal(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| darwin-xnu_osfmk_kern_extr_thread_call.c_thread_call_enter1_delayed |
; ModuleID = 'AnghaBench/esp-idf/components/mdns/extr_mdns_console.c_mdns_console_register.c'
source_filename = "AnghaBench/esp-idf/components/mdns/extr_mdns_console.c_mdns_console_register.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @mdns_console_register() local_unnamed_addr #0 {
%1 = tail call i32 (...) @register_mdns_init() #2
%2 = tail call i32 (...) @register_mdns_free() #2
%3 = tail call i32 (...) @register_mdns_set_hostname() #2
%4 = tail call i32 (...) @register_mdns_set_instance() #2
%5 = tail call i32 (...) @register_mdns_service_add() #2
%6 = tail call i32 (...) @register_mdns_service_remove() #2
%7 = tail call i32 (...) @register_mdns_service_instance_set() #2
%8 = tail call i32 (...) @register_mdns_service_port_set() #2
%9 = tail call i32 (...) @register_mdns_service_txt_replace() #2
%10 = tail call i32 (...) @register_mdns_service_txt_set() #2
%11 = tail call i32 (...) @register_mdns_service_txt_remove() #2
%12 = tail call i32 (...) @register_mdns_service_remove_all() #2
%13 = tail call i32 (...) @register_mdns_query_a() #2
%14 = tail call i32 (...) @register_mdns_query_aaaa() #2
%15 = tail call i32 (...) @register_mdns_query_txt() #2
%16 = tail call i32 (...) @register_mdns_query_srv() #2
%17 = tail call i32 (...) @register_mdns_query_ptr() #2
%18 = tail call i32 (...) @register_mdns_query_ip() #2
%19 = tail call i32 (...) @register_mdns_query_svc() #2
ret void
}
declare i32 @register_mdns_init(...) local_unnamed_addr #1
declare i32 @register_mdns_free(...) local_unnamed_addr #1
declare i32 @register_mdns_set_hostname(...) local_unnamed_addr #1
declare i32 @register_mdns_set_instance(...) local_unnamed_addr #1
declare i32 @register_mdns_service_add(...) local_unnamed_addr #1
declare i32 @register_mdns_service_remove(...) local_unnamed_addr #1
declare i32 @register_mdns_service_instance_set(...) local_unnamed_addr #1
declare i32 @register_mdns_service_port_set(...) local_unnamed_addr #1
declare i32 @register_mdns_service_txt_replace(...) local_unnamed_addr #1
declare i32 @register_mdns_service_txt_set(...) local_unnamed_addr #1
declare i32 @register_mdns_service_txt_remove(...) local_unnamed_addr #1
declare i32 @register_mdns_service_remove_all(...) local_unnamed_addr #1
declare i32 @register_mdns_query_a(...) local_unnamed_addr #1
declare i32 @register_mdns_query_aaaa(...) local_unnamed_addr #1
declare i32 @register_mdns_query_txt(...) local_unnamed_addr #1
declare i32 @register_mdns_query_srv(...) local_unnamed_addr #1
declare i32 @register_mdns_query_ptr(...) local_unnamed_addr #1
declare i32 @register_mdns_query_ip(...) local_unnamed_addr #1
declare i32 @register_mdns_query_svc(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/esp-idf/components/mdns/extr_mdns_console.c_mdns_console_register.c'
source_filename = "AnghaBench/esp-idf/components/mdns/extr_mdns_console.c_mdns_console_register.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 @mdns_console_register() local_unnamed_addr #0 {
%1 = tail call i32 @register_mdns_init() #2
%2 = tail call i32 @register_mdns_free() #2
%3 = tail call i32 @register_mdns_set_hostname() #2
%4 = tail call i32 @register_mdns_set_instance() #2
%5 = tail call i32 @register_mdns_service_add() #2
%6 = tail call i32 @register_mdns_service_remove() #2
%7 = tail call i32 @register_mdns_service_instance_set() #2
%8 = tail call i32 @register_mdns_service_port_set() #2
%9 = tail call i32 @register_mdns_service_txt_replace() #2
%10 = tail call i32 @register_mdns_service_txt_set() #2
%11 = tail call i32 @register_mdns_service_txt_remove() #2
%12 = tail call i32 @register_mdns_service_remove_all() #2
%13 = tail call i32 @register_mdns_query_a() #2
%14 = tail call i32 @register_mdns_query_aaaa() #2
%15 = tail call i32 @register_mdns_query_txt() #2
%16 = tail call i32 @register_mdns_query_srv() #2
%17 = tail call i32 @register_mdns_query_ptr() #2
%18 = tail call i32 @register_mdns_query_ip() #2
%19 = tail call i32 @register_mdns_query_svc() #2
ret void
}
declare i32 @register_mdns_init(...) local_unnamed_addr #1
declare i32 @register_mdns_free(...) local_unnamed_addr #1
declare i32 @register_mdns_set_hostname(...) local_unnamed_addr #1
declare i32 @register_mdns_set_instance(...) local_unnamed_addr #1
declare i32 @register_mdns_service_add(...) local_unnamed_addr #1
declare i32 @register_mdns_service_remove(...) local_unnamed_addr #1
declare i32 @register_mdns_service_instance_set(...) local_unnamed_addr #1
declare i32 @register_mdns_service_port_set(...) local_unnamed_addr #1
declare i32 @register_mdns_service_txt_replace(...) local_unnamed_addr #1
declare i32 @register_mdns_service_txt_set(...) local_unnamed_addr #1
declare i32 @register_mdns_service_txt_remove(...) local_unnamed_addr #1
declare i32 @register_mdns_service_remove_all(...) local_unnamed_addr #1
declare i32 @register_mdns_query_a(...) local_unnamed_addr #1
declare i32 @register_mdns_query_aaaa(...) local_unnamed_addr #1
declare i32 @register_mdns_query_txt(...) local_unnamed_addr #1
declare i32 @register_mdns_query_srv(...) local_unnamed_addr #1
declare i32 @register_mdns_query_ptr(...) local_unnamed_addr #1
declare i32 @register_mdns_query_ip(...) local_unnamed_addr #1
declare i32 @register_mdns_query_svc(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| esp-idf_components_mdns_extr_mdns_console.c_mdns_console_register |
; ModuleID = 'AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_setup.c'
source_filename = "AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_setup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32, ptr, i32 }
%struct.vhci = type { ptr, ptr }
%struct.usb_hcd = type { %struct.TYPE_8__, i32 }
@HCD_USB2 = dso_local local_unnamed_addr global i32 0, align 4
@USB_SPEED_HIGH = dso_local local_unnamed_addr global i32 0, align 4
@HCD_USB3 = dso_local local_unnamed_addr global i32 0, align 4
@USB_SPEED_SUPER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vhci_setup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vhci_setup(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = tail call i64 @dev_get_platdata(i32 noundef %3) #2
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = tail call i64 @usb_hcd_is_primary_hcd(ptr noundef %0) #2
%8 = icmp eq i64 %7, 0
%9 = tail call ptr @hcd_to_vhci_hcd(ptr noundef nonnull %0) #2
%10 = getelementptr inbounds %struct.vhci, ptr %6, i64 0, i32 1
%11 = select i1 %8, ptr %6, ptr %10
store ptr %9, ptr %11, align 8, !tbaa !12
store ptr %6, ptr %9, align 8, !tbaa !12
%12 = load i32, ptr @HCD_USB3, align 4
%13 = load i32, ptr @HCD_USB2, align 4
%14 = select i1 %8, i32 %12, i32 %13
%15 = load i32, ptr @USB_SPEED_SUPER, align 4
%16 = load i32, ptr @USB_SPEED_HIGH, align 4
%17 = select i1 %8, i32 %15, i32 %16
%18 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%19 = load ptr, ptr %18, align 8, !tbaa !13
store i32 %17, ptr %19, align 4, !tbaa !14
%20 = getelementptr inbounds %struct.usb_hcd, ptr %0, i64 0, i32 1
store i32 %14, ptr %20, align 8
store i32 32, ptr %0, align 8, !tbaa !16
%21 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
store i32 1, ptr %21, align 4, !tbaa !17
ret i32 0
}
declare i64 @dev_get_platdata(i32 noundef) local_unnamed_addr #1
declare i64 @usb_hcd_is_primary_hcd(ptr noundef) local_unnamed_addr #1
declare ptr @hcd_to_vhci_hcd(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 16}
!6 = !{!"usb_hcd", !7, i64 0, !8, i64 24}
!7 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !11, i64 8, !8, 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 = !{!11, !11, i64 0}
!13 = !{!6, !11, i64 8}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_7__", !8, i64 0}
!16 = !{!6, !8, i64 0}
!17 = !{!6, !8, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_setup.c'
source_filename = "AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_setup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HCD_USB2 = common local_unnamed_addr global i32 0, align 4
@USB_SPEED_HIGH = common local_unnamed_addr global i32 0, align 4
@HCD_USB3 = common local_unnamed_addr global i32 0, align 4
@USB_SPEED_SUPER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vhci_setup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @vhci_setup(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = tail call i64 @dev_get_platdata(i32 noundef %3) #2
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = tail call i64 @usb_hcd_is_primary_hcd(ptr noundef %0) #2
%8 = icmp eq i64 %7, 0
%9 = tail call ptr @hcd_to_vhci_hcd(ptr noundef nonnull %0) #2
%10 = select i1 %8, i64 0, i64 8
%11 = getelementptr inbounds i8, ptr %6, i64 %10
store ptr %9, ptr %11, align 8, !tbaa !13
store ptr %6, ptr %9, align 8, !tbaa !13
%12 = load i32, ptr @HCD_USB3, align 4
%13 = load i32, ptr @HCD_USB2, align 4
%14 = select i1 %8, i32 %12, i32 %13
%15 = load i32, ptr @USB_SPEED_SUPER, align 4
%16 = load i32, ptr @USB_SPEED_HIGH, align 4
%17 = select i1 %8, i32 %15, i32 %16
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !14
store i32 %17, ptr %19, align 4, !tbaa !15
%20 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %14, ptr %20, align 8
store <2 x i32> <i32 32, i32 1>, ptr %0, align 8, !tbaa !17
ret i32 0
}
declare i64 @dev_get_platdata(i32 noundef) local_unnamed_addr #1
declare i64 @usb_hcd_is_primary_hcd(ptr noundef) local_unnamed_addr #1
declare ptr @hcd_to_vhci_hcd(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 16}
!7 = !{!"usb_hcd", !8, i64 0, !9, i64 24}
!8 = !{!"TYPE_8__", !9, i64 0, !9, i64 4, !12, i64 8, !9, i64 16}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!7, !12, i64 8}
!15 = !{!16, !9, i64 0}
!16 = !{!"TYPE_7__", !9, i64 0}
!17 = !{!9, !9, i64 0}
| linux_drivers_usb_usbip_extr_vhci_hcd.c_vhci_setup |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dsi.h_is_cmd_mode.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dsi.h_is_cmd_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@INTEL_DSI_COMMAND_MODE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_cmd_mode], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @is_cmd_mode(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @INTEL_DSI_COMMAND_MODE, align 8, !tbaa !10
%4 = icmp eq i64 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
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 = !{!"intel_dsi", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dsi.h_is_cmd_mode.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dsi.h_is_cmd_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTEL_DSI_COMMAND_MODE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @is_cmd_mode], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @is_cmd_mode(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @INTEL_DSI_COMMAND_MODE, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
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 = !{!"intel_dsi", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_gpu_drm_i915_display_extr_intel_dsi.h_is_cmd_mode |
; ModuleID = 'AnghaBench/h2o/deps/quicly/t/extr_..libquicly.c_negotiate_using_version.c'
source_filename = "AnghaBench/h2o/deps/quicly/t/extr_..libquicly.c_negotiate_using_version.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VERSION_SWITCH = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @negotiate_using_version], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @negotiate_using_version(ptr noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @VERSION_SWITCH, align 4, !tbaa !11
%4 = tail call i32 (...) @probe_now() #2
%5 = tail call i32 @QUICLY_PROBE(i32 noundef %3, ptr noundef nonnull %0, i32 noundef %4, i32 noundef %1) #2
%6 = tail call i32 @discard_sentmap_by_epoch(ptr noundef nonnull %0, i32 noundef -1) #2
ret i32 %6
}
declare i32 @QUICLY_PROBE(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @probe_now(...) local_unnamed_addr #1
declare i32 @discard_sentmap_by_epoch(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/h2o/deps/quicly/t/extr_..libquicly.c_negotiate_using_version.c'
source_filename = "AnghaBench/h2o/deps/quicly/t/extr_..libquicly.c_negotiate_using_version.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VERSION_SWITCH = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @negotiate_using_version], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @negotiate_using_version(ptr noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @VERSION_SWITCH, align 4, !tbaa !12
%4 = tail call i32 @probe_now() #2
%5 = tail call i32 @QUICLY_PROBE(i32 noundef %3, ptr noundef nonnull %0, i32 noundef %4, i32 noundef %1) #2
%6 = tail call i32 @discard_sentmap_by_epoch(ptr noundef nonnull %0, i32 noundef -1) #2
ret i32 %6
}
declare i32 @QUICLY_PROBE(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @probe_now(...) local_unnamed_addr #1
declare i32 @discard_sentmap_by_epoch(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
| h2o_deps_quicly_t_extr_..libquicly.c_negotiate_using_version |
; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_clk-hfpll.c_clk_hfpll_disable.c'
source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_clk-hfpll.c_clk_hfpll_disable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @clk_hfpll_disable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @clk_hfpll_disable(ptr noundef %0) #0 {
%2 = tail call ptr @to_clk_hfpll(ptr noundef %0) #2
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %2, i64 noundef undef) #2
%4 = tail call i32 @__clk_hfpll_disable(ptr noundef %2) #2
%5 = tail call i32 @spin_unlock_irqrestore(ptr noundef %2, i64 noundef undef) #2
ret void
}
declare ptr @to_clk_hfpll(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__clk_hfpll_disable(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_clk-hfpll.c_clk_hfpll_disable.c'
source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_clk-hfpll.c_clk_hfpll_disable.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 @clk_hfpll_disable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @clk_hfpll_disable(ptr noundef %0) #0 {
%2 = tail call ptr @to_clk_hfpll(ptr noundef %0) #2
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %2, i64 noundef undef) #2
%4 = tail call i32 @__clk_hfpll_disable(ptr noundef %2) #2
%5 = tail call i32 @spin_unlock_irqrestore(ptr noundef %2, i64 noundef undef) #2
ret void
}
declare ptr @to_clk_hfpll(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__clk_hfpll_disable(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_clk_qcom_extr_clk-hfpll.c_clk_hfpll_disable |
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/extr_stackshot.c_stackshot_config_set_pid.c'
source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/extr_stackshot.c_stackshot_config_set_pid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define dso_local i32 @stackshot_config_set_pid(ptr noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = load i32, ptr @EINVAL, align 4, !tbaa !5
br label %7
6: ; preds = %2
store i32 %1, ptr %0, align 4, !tbaa !9
br label %7
7: ; preds = %6, %4
%8 = phi i32 [ %5, %4 ], [ 0, %6 ]
ret i32 %8
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/extr_stackshot.c_stackshot_config_set_pid.c'
source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/extr_stackshot.c_stackshot_config_set_pid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define i32 @stackshot_config_set_pid(ptr noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = load i32, ptr @EINVAL, align 4, !tbaa !6
br label %7
6: ; preds = %2
store i32 %1, ptr %0, align 4, !tbaa !10
br label %7
7: ; preds = %6, %4
%8 = phi i32 [ %5, %4 ], [ 0, %6 ]
ret i32 %8
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0}
| darwin-xnu_libsyscall_wrappers_extr_stackshot.c_stackshot_config_set_pid |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_hdmi.c_hdmi_eld_ctl_get.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_hdmi.c_hdmi_eld_ctl_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.hdmi_eld = type { i64, i32, i32, i64 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hdmi_eld_ctl_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hdmi_eld_ctl_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %0, align 4, !tbaa !10
%6 = tail call ptr @get_pin(ptr noundef %4, i32 noundef %5) #2
%7 = getelementptr inbounds %struct.hdmi_eld, ptr %6, i64 0, i32 1
%8 = tail call i32 @mutex_lock(ptr noundef nonnull %7) #2
%9 = load i64, ptr %6, align 8, !tbaa !13
%10 = load i32, ptr %1, align 4, !tbaa !16
%11 = tail call i64 @ARRAY_SIZE(i32 noundef %10) #2
%12 = icmp sgt i64 %9, %11
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = tail call i32 @mutex_unlock(ptr noundef nonnull %7) #2
%15 = tail call i32 (...) @snd_BUG() #2
%16 = load i32, ptr @EINVAL, align 4, !tbaa !20
%17 = sub nsw i32 0, %16
br label %33
18: ; preds = %2
%19 = load i32, ptr %1, align 4, !tbaa !16
%20 = tail call i64 @ARRAY_SIZE(i32 noundef %19) #2
%21 = tail call i32 @memset(i32 noundef %19, i32 noundef 0, i64 noundef %20) #2
%22 = getelementptr inbounds %struct.hdmi_eld, ptr %6, i64 0, i32 3
%23 = load i64, ptr %22, align 8, !tbaa !21
%24 = icmp eq i64 %23, 0
br i1 %24, label %31, label %25
25: ; preds = %18
%26 = load i32, ptr %1, align 4, !tbaa !16
%27 = getelementptr inbounds %struct.hdmi_eld, ptr %6, i64 0, i32 2
%28 = load i32, ptr %27, align 4, !tbaa !22
%29 = load i64, ptr %6, align 8, !tbaa !13
%30 = tail call i32 @memcpy(i32 noundef %26, i32 noundef %28, i64 noundef %29) #2
br label %31
31: ; preds = %25, %18
%32 = tail call i32 @mutex_unlock(ptr noundef nonnull %7) #2
br label %33
33: ; preds = %31, %13
%34 = phi i32 [ %17, %13 ], [ 0, %31 ]
ret i32 %34
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare ptr @get_pin(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @snd_BUG(...) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(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, !7, i64 0}
!6 = !{!"hda_codec", !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 = !{!"snd_kcontrol", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"hdmi_eld", !15, i64 0, !12, i64 8, !12, i64 12, !15, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"snd_ctl_elem_value", !18, i64 0}
!18 = !{!"TYPE_5__", !19, i64 0}
!19 = !{!"TYPE_4__", !12, i64 0}
!20 = !{!12, !12, i64 0}
!21 = !{!14, !15, i64 16}
!22 = !{!14, !12, i64 12}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_hdmi.c_hdmi_eld_ctl_get.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_hdmi.c_hdmi_eld_ctl_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hdmi_eld_ctl_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @hdmi_eld_ctl_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %0, align 4, !tbaa !11
%6 = tail call ptr @get_pin(ptr noundef %4, i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = tail call i32 @mutex_lock(ptr noundef nonnull %7) #2
%9 = load i64, ptr %6, align 8, !tbaa !14
%10 = load i32, ptr %1, align 4, !tbaa !17
%11 = tail call i64 @ARRAY_SIZE(i32 noundef %10) #2
%12 = icmp sgt i64 %9, %11
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = tail call i32 @mutex_unlock(ptr noundef nonnull %7) #2
%15 = tail call i32 @snd_BUG() #2
%16 = load i32, ptr @EINVAL, align 4, !tbaa !21
%17 = sub nsw i32 0, %16
br label %33
18: ; preds = %2
%19 = load i32, ptr %1, align 4, !tbaa !17
%20 = tail call i64 @ARRAY_SIZE(i32 noundef %19) #2
%21 = tail call i32 @memset(i32 noundef %19, i32 noundef 0, i64 noundef %20) #2
%22 = getelementptr inbounds i8, ptr %6, i64 16
%23 = load i64, ptr %22, align 8, !tbaa !22
%24 = icmp eq i64 %23, 0
br i1 %24, label %31, label %25
25: ; preds = %18
%26 = load i32, ptr %1, align 4, !tbaa !17
%27 = getelementptr inbounds i8, ptr %6, i64 12
%28 = load i32, ptr %27, align 4, !tbaa !23
%29 = load i64, ptr %6, align 8, !tbaa !14
%30 = tail call i32 @memcpy(i32 noundef %26, i32 noundef %28, i64 noundef %29) #2
br label %31
31: ; preds = %25, %18
%32 = tail call i32 @mutex_unlock(ptr noundef nonnull %7) #2
br label %33
33: ; preds = %31, %13
%34 = phi i32 [ %17, %13 ], [ 0, %31 ]
ret i32 %34
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare ptr @get_pin(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @snd_BUG(...) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(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, !8, i64 0}
!7 = !{!"hda_codec", !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 = !{!"snd_kcontrol", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"hdmi_eld", !16, i64 0, !13, i64 8, !13, i64 12, !16, i64 16}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !13, i64 0}
!18 = !{!"snd_ctl_elem_value", !19, i64 0}
!19 = !{!"TYPE_5__", !20, i64 0}
!20 = !{!"TYPE_4__", !13, i64 0}
!21 = !{!13, !13, i64 0}
!22 = !{!15, !16, i64 16}
!23 = !{!15, !13, i64 12}
| fastsocket_kernel_sound_pci_hda_extr_patch_hdmi.c_hdmi_eld_ctl_get |
; ModuleID = 'AnghaBench/sumatrapdf/ext/freetype/src/otvalid/extr_otvmod.c_otvalid_get_service.c'
source_filename = "AnghaBench/sumatrapdf/ext/freetype/src/otvalid/extr_otvmod.c_otvalid_get_service.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@otvalid_services = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @otvalid_get_service], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @otvalid_get_service(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @FT_UNUSED(i32 noundef %0) #2
%4 = load i32, ptr @otvalid_services, align 4, !tbaa !5
%5 = tail call i32 @ft_service_list_lookup(i32 noundef %4, ptr noundef %1) #2
ret i32 %5
}
declare i32 @FT_UNUSED(i32 noundef) local_unnamed_addr #1
declare i32 @ft_service_list_lookup(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/sumatrapdf/ext/freetype/src/otvalid/extr_otvmod.c_otvalid_get_service.c'
source_filename = "AnghaBench/sumatrapdf/ext/freetype/src/otvalid/extr_otvmod.c_otvalid_get_service.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@otvalid_services = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @otvalid_get_service], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @otvalid_get_service(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @FT_UNUSED(i32 noundef %0) #2
%4 = load i32, ptr @otvalid_services, align 4, !tbaa !6
%5 = tail call i32 @ft_service_list_lookup(i32 noundef %4, ptr noundef %1) #2
ret i32 %5
}
declare i32 @FT_UNUSED(i32 noundef) local_unnamed_addr #1
declare i32 @ft_service_list_lookup(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"}
| sumatrapdf_ext_freetype_src_otvalid_extr_otvmod.c_otvalid_get_service |
; ModuleID = 'AnghaBench/Cello/src/extr_Show.c_Show_Brief.c'
source_filename = "AnghaBench/Cello/src/extr_Show.c_Show_Brief.c"
target datalayout = "e-m:e-p270:32:32-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 [26 x i8] c"Convert To or From String\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @Show_Brief], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef nonnull ptr @Show_Brief() #0 {
ret ptr @.str
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Cello/src/extr_Show.c_Show_Brief.c'
source_filename = "AnghaBench/Cello/src/extr_Show.c_Show_Brief.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [26 x i8] c"Convert To or From String\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @Show_Brief], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef nonnull ptr @Show_Brief() #0 {
ret ptr @.str
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Cello_src_extr_Show.c_Show_Brief |
; ModuleID = 'AnghaBench/freebsd/usr.bin/mkimg/extr_scheme.c_scheme_iterate.c'
source_filename = "AnghaBench/freebsd/usr.bin/mkimg/extr_scheme.c_scheme_iterate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@first = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local ptr @scheme_iterate(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = select i1 %2, ptr @first, ptr %0
%4 = load ptr, ptr %3, align 8, !tbaa !5
ret ptr %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/mkimg/extr_scheme.c_scheme_iterate.c'
source_filename = "AnghaBench/freebsd/usr.bin/mkimg/extr_scheme.c_scheme_iterate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@first = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define ptr @scheme_iterate(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = select i1 %2, ptr @first, ptr %0
%4 = load ptr, ptr %3, align 8, !tbaa !6
ret ptr %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_usr.bin_mkimg_extr_scheme.c_scheme_iterate |
; ModuleID = 'AnghaBench/linux/net/llc/extr_llc_s_ev.c_llc_sap_ev_activation_req.c'
source_filename = "AnghaBench/linux/net/llc/extr_llc_s_ev.c_llc_sap_ev_activation_req.c"
target datalayout = "e-m:e-p270:32:32-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.llc_sap_state_ev = type { i64, i64 }
@LLC_SAP_EV_TYPE_SIMPLE = dso_local local_unnamed_addr global i64 0, align 8
@LLC_SAP_EV_ACTIVATION_REQ = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @llc_sap_ev_activation_req(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_sap_ev(ptr noundef %1) #2
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr @LLC_SAP_EV_TYPE_SIMPLE, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %13
7: ; preds = %2
%8 = getelementptr inbounds %struct.llc_sap_state_ev, ptr %3, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = load i64, ptr @LLC_SAP_EV_ACTIVATION_REQ, align 8, !tbaa !10
%11 = icmp ne i64 %9, %10
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %7, %2
%14 = phi i32 [ 1, %2 ], [ %12, %7 ]
ret i32 %14
}
declare ptr @llc_sap_ev(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 = !{!"llc_sap_state_ev", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/net/llc/extr_llc_s_ev.c_llc_sap_ev_activation_req.c'
source_filename = "AnghaBench/linux/net/llc/extr_llc_s_ev.c_llc_sap_ev_activation_req.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LLC_SAP_EV_TYPE_SIMPLE = common local_unnamed_addr global i64 0, align 8
@LLC_SAP_EV_ACTIVATION_REQ = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @llc_sap_ev_activation_req(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_sap_ev(ptr noundef %1) #2
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr @LLC_SAP_EV_TYPE_SIMPLE, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %13
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %3, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = load i64, ptr @LLC_SAP_EV_ACTIVATION_REQ, align 8, !tbaa !11
%11 = icmp ne i64 %9, %10
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %7, %2
%14 = phi i32 [ 1, %2 ], [ %12, %7 ]
ret i32 %14
}
declare ptr @llc_sap_ev(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 = !{!"llc_sap_state_ev", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 8}
| linux_net_llc_extr_llc_s_ev.c_llc_sap_ev_activation_req |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/kbdfans/kbd8x/keymaps/default/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/kbdfans/kbd8x/keymaps/default/extr_keymap.c_matrix_scan_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @matrix_scan_user() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/kbdfans/kbd8x/keymaps/default/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/kbdfans/kbd8x/keymaps/default/extr_keymap.c_matrix_scan_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @matrix_scan_user() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_kbdfans_kbd8x_keymaps_default_extr_keymap.c_matrix_scan_user |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/amdgpu_dm/extr_amdgpu_dm_helpers.c_dm_helpers_read_local_edid.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/amdgpu_dm/extr_amdgpu_dm_helpers.c_dm_helpers_read_local_edid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%union.test_request = type { %struct.TYPE_15__ }
%struct.TYPE_15__ = type { i32 }
%union.test_response = type { i32 }
%struct.dc_link = type { i64, ptr }
%struct.amdgpu_dm_connector = type { %struct.TYPE_17__, ptr, %struct.TYPE_11__ }
%struct.TYPE_17__ = type { i32 }
%struct.TYPE_11__ = type { %struct.TYPE_10__ }
%struct.TYPE_10__ = type { %struct.i2c_adapter }
%struct.i2c_adapter = type { i32 }
%struct.TYPE_18__ = type { i32, ptr }
%struct.dc_sink = type { %struct.TYPE_18__, i32 }
@EDID_NO_RESPONSE = dso_local local_unnamed_addr global i32 0, align 4
@EDID_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@EDID_BAD_CHECKSUM = dso_local local_unnamed_addr global i32 0, align 4
@EDID_OK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"EDID err: %d, on connector: %s\00", align 1
@DP_TEST_REQUEST = dso_local local_unnamed_addr global i32 0, align 4
@DP_TEST_EDID_CHECKSUM = dso_local local_unnamed_addr global i32 0, align 4
@DP_TEST_RESPONSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dm_helpers_read_local_edid(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %union.test_request, align 4
%5 = alloca %union.test_response, align 4
%6 = getelementptr inbounds %struct.dc_link, ptr %1, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = load i64, ptr %1, align 8, !tbaa !11
%9 = icmp eq i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = getelementptr inbounds %struct.amdgpu_dm_connector, ptr %7, i64 0, i32 2
br label %15
12: ; preds = %3
%13 = getelementptr inbounds %struct.amdgpu_dm_connector, ptr %7, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !12
br label %15
15: ; preds = %12, %10
%16 = phi ptr [ %11, %10 ], [ %14, %12 ]
%17 = getelementptr inbounds %struct.TYPE_18__, ptr %2, i64 0, i32 1
%18 = getelementptr inbounds %struct.dc_sink, ptr %2, i64 0, i32 1
br label %19
19: ; preds = %25, %15
%20 = phi i32 [ 3, %15 ], [ %36, %25 ]
%21 = tail call ptr @drm_get_edid(ptr noundef %7, ptr noundef %16) #3
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = load i32, ptr @EDID_NO_RESPONSE, align 4, !tbaa !19
br label %64
25: ; preds = %19
%26 = load i32, ptr @EDID_LENGTH, align 4, !tbaa !19
%27 = load i32, ptr %21, align 4, !tbaa !20
%28 = add nsw i32 %27, 1
%29 = mul nsw i32 %28, %26
store i32 %29, ptr %2, align 8, !tbaa !22
%30 = load ptr, ptr %17, align 8, !tbaa !25
%31 = tail call i32 @memmove(ptr noundef %30, ptr noundef nonnull %21, i32 noundef %29) #3
%32 = tail call i32 @kfree(ptr noundef nonnull %21) #3
%33 = tail call i32 @dm_helpers_parse_edid_caps(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %18) #3
%34 = load i32, ptr @EDID_BAD_CHECKSUM, align 4, !tbaa !19
%35 = icmp eq i32 %33, %34
%36 = add nsw i32 %20, -1
%37 = icmp ugt i32 %20, 1
%38 = select i1 %35, i1 %37, i1 false
br i1 %38, label %19, label %39, !llvm.loop !26
39: ; preds = %25
%40 = load i32, ptr @EDID_OK, align 4, !tbaa !19
%41 = icmp eq i32 %33, %40
br i1 %41, label %45, label %42
42: ; preds = %39
%43 = load i32, ptr %7, align 8, !tbaa !28
%44 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %33, i32 noundef %43) #3
br label %45
45: ; preds = %42, %39
%46 = load i64, ptr %1, align 8, !tbaa !11
%47 = icmp eq i64 %46, 0
br i1 %47, label %64, label %48
48: ; preds = %45
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%49 = load i32, ptr @DP_TEST_REQUEST, align 4, !tbaa !19
%50 = call i32 @dm_helpers_dp_read_dpcd(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %49, ptr noundef nonnull %4, i32 noundef 4) #3
%51 = load i32, ptr %4, align 4, !tbaa !29
%52 = icmp eq i32 %51, 0
br i1 %52, label %63, label %53
53: ; preds = %48
store i32 1, ptr %5, align 4, !tbaa !29
%54 = load i32, ptr @DP_TEST_EDID_CHECKSUM, align 4, !tbaa !19
%55 = load ptr, ptr %17, align 8, !tbaa !25
%56 = load i32, ptr %2, align 8, !tbaa !22
%57 = sext i32 %56 to i64
%58 = getelementptr i32, ptr %55, i64 %57
%59 = getelementptr i32, ptr %58, i64 -1
%60 = call i32 @dm_helpers_dp_write_dpcd(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %54, ptr noundef %59, i32 noundef 1) #3
%61 = load i32, ptr @DP_TEST_RESPONSE, align 4, !tbaa !19
%62 = call i32 @dm_helpers_dp_write_dpcd(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %61, ptr noundef nonnull %5, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %64
63: ; preds = %48
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %64
64: ; preds = %53, %45, %63, %23
%65 = phi i32 [ %24, %23 ], [ %33, %63 ], [ %33, %53 ], [ %33, %45 ]
ret i32 %65
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @drm_get_edid(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @dm_helpers_parse_edid_caps(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DRM_ERROR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dm_helpers_dp_read_dpcd(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dm_helpers_dp_write_dpcd(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"dc_link", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 8}
!13 = !{!"amdgpu_dm_connector", !14, i64 0, !10, i64 8, !16, i64 16}
!14 = !{!"TYPE_17__", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!"TYPE_11__", !17, i64 0}
!17 = !{!"TYPE_10__", !18, i64 0}
!18 = !{!"i2c_adapter", !15, i64 0}
!19 = !{!15, !15, i64 0}
!20 = !{!21, !15, i64 0}
!21 = !{!"edid", !15, i64 0}
!22 = !{!23, !15, i64 0}
!23 = !{!"dc_sink", !24, i64 0, !15, i64 16}
!24 = !{!"TYPE_18__", !15, i64 0, !10, i64 8}
!25 = !{!23, !10, i64 8}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!13, !15, i64 0}
!29 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/amdgpu_dm/extr_amdgpu_dm_helpers.c_dm_helpers_read_local_edid.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/amdgpu_dm/extr_amdgpu_dm_helpers.c_dm_helpers_read_local_edid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%union.test_request = type { %struct.TYPE_15__ }
%struct.TYPE_15__ = type { i32 }
%union.test_response = type { i32 }
@EDID_NO_RESPONSE = common local_unnamed_addr global i32 0, align 4
@EDID_LENGTH = common local_unnamed_addr global i32 0, align 4
@EDID_BAD_CHECKSUM = common local_unnamed_addr global i32 0, align 4
@EDID_OK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"EDID err: %d, on connector: %s\00", align 1
@DP_TEST_REQUEST = common local_unnamed_addr global i32 0, align 4
@DP_TEST_EDID_CHECKSUM = common local_unnamed_addr global i32 0, align 4
@DP_TEST_RESPONSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dm_helpers_read_local_edid(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %union.test_request, align 4
%5 = alloca %union.test_response, align 4
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load i64, ptr %1, align 8, !tbaa !12
%9 = icmp eq i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = getelementptr inbounds i8, ptr %7, i64 16
br label %15
12: ; preds = %3
%13 = getelementptr inbounds i8, ptr %7, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !13
br label %15
15: ; preds = %12, %10
%16 = phi ptr [ %11, %10 ], [ %14, %12 ]
%17 = getelementptr inbounds i8, ptr %2, i64 8
%18 = getelementptr inbounds i8, ptr %2, i64 16
%19 = tail call ptr @drm_get_edid(ptr noundef %7, ptr noundef %16) #3
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %48, %34, %15
%22 = load i32, ptr @EDID_NO_RESPONSE, align 4, !tbaa !20
br label %86
23: ; preds = %15
%24 = load i32, ptr @EDID_LENGTH, align 4, !tbaa !20
%25 = load i32, ptr %19, align 4, !tbaa !21
%26 = add nsw i32 %25, 1
%27 = mul nsw i32 %26, %24
store i32 %27, ptr %2, align 8, !tbaa !23
%28 = load ptr, ptr %17, align 8, !tbaa !26
%29 = tail call i32 @memmove(ptr noundef %28, ptr noundef nonnull %19, i32 noundef %27) #3
%30 = tail call i32 @kfree(ptr noundef nonnull %19) #3
%31 = tail call i32 @dm_helpers_parse_edid_caps(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %18) #3
%32 = load i32, ptr @EDID_BAD_CHECKSUM, align 4, !tbaa !20
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %60, !llvm.loop !27
34: ; preds = %23
%35 = tail call ptr @drm_get_edid(ptr noundef %7, ptr noundef %16) #3
%36 = icmp eq ptr %35, null
br i1 %36, label %21, label %37
37: ; preds = %34
%38 = load i32, ptr @EDID_LENGTH, align 4, !tbaa !20
%39 = load i32, ptr %35, align 4, !tbaa !21
%40 = add nsw i32 %39, 1
%41 = mul nsw i32 %40, %38
store i32 %41, ptr %2, align 8, !tbaa !23
%42 = load ptr, ptr %17, align 8, !tbaa !26
%43 = tail call i32 @memmove(ptr noundef %42, ptr noundef nonnull %35, i32 noundef %41) #3
%44 = tail call i32 @kfree(ptr noundef nonnull %35) #3
%45 = tail call i32 @dm_helpers_parse_edid_caps(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %18) #3
%46 = load i32, ptr @EDID_BAD_CHECKSUM, align 4, !tbaa !20
%47 = icmp eq i32 %45, %46
br i1 %47, label %48, label %60, !llvm.loop !27
48: ; preds = %37
%49 = tail call ptr @drm_get_edid(ptr noundef %7, ptr noundef %16) #3
%50 = icmp eq ptr %49, null
br i1 %50, label %21, label %51
51: ; preds = %48
%52 = load i32, ptr @EDID_LENGTH, align 4, !tbaa !20
%53 = load i32, ptr %49, align 4, !tbaa !21
%54 = add nsw i32 %53, 1
%55 = mul nsw i32 %54, %52
store i32 %55, ptr %2, align 8, !tbaa !23
%56 = load ptr, ptr %17, align 8, !tbaa !26
%57 = tail call i32 @memmove(ptr noundef %56, ptr noundef nonnull %49, i32 noundef %55) #3
%58 = tail call i32 @kfree(ptr noundef nonnull %49) #3
%59 = tail call i32 @dm_helpers_parse_edid_caps(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %18) #3
br label %60
60: ; preds = %51, %37, %23
%61 = phi i32 [ %31, %23 ], [ %45, %37 ], [ %59, %51 ]
%62 = load i32, ptr @EDID_OK, align 4, !tbaa !20
%63 = icmp eq i32 %61, %62
br i1 %63, label %67, label %64
64: ; preds = %60
%65 = load i32, ptr %7, align 8, !tbaa !29
%66 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %61, i32 noundef %65) #3
br label %67
67: ; preds = %64, %60
%68 = load i64, ptr %1, align 8, !tbaa !12
%69 = icmp eq i64 %68, 0
br i1 %69, label %86, label %70
70: ; preds = %67
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%71 = load i32, ptr @DP_TEST_REQUEST, align 4, !tbaa !20
%72 = call i32 @dm_helpers_dp_read_dpcd(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %71, ptr noundef nonnull %4, i32 noundef 4) #3
%73 = load i32, ptr %4, align 4, !tbaa !30
%74 = icmp eq i32 %73, 0
br i1 %74, label %85, label %75
75: ; preds = %70
store i32 1, ptr %5, align 4, !tbaa !30
%76 = load i32, ptr @DP_TEST_EDID_CHECKSUM, align 4, !tbaa !20
%77 = load ptr, ptr %17, align 8, !tbaa !26
%78 = load i32, ptr %2, align 8, !tbaa !23
%79 = sext i32 %78 to i64
%80 = getelementptr i32, ptr %77, i64 %79
%81 = getelementptr i8, ptr %80, i64 -4
%82 = call i32 @dm_helpers_dp_write_dpcd(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %76, ptr noundef %81, i32 noundef 1) #3
%83 = load i32, ptr @DP_TEST_RESPONSE, align 4, !tbaa !20
%84 = call i32 @dm_helpers_dp_write_dpcd(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %83, ptr noundef nonnull %5, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %86
85: ; preds = %70
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %86
86: ; preds = %75, %67, %85, %21
%87 = phi i32 [ %22, %21 ], [ %61, %85 ], [ %61, %75 ], [ %61, %67 ]
ret i32 %87
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @drm_get_edid(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @dm_helpers_parse_edid_caps(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DRM_ERROR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dm_helpers_dp_read_dpcd(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dm_helpers_dp_write_dpcd(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"dc_link", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 8}
!14 = !{!"amdgpu_dm_connector", !15, i64 0, !11, i64 8, !17, i64 16}
!15 = !{!"TYPE_17__", !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!"TYPE_11__", !18, i64 0}
!18 = !{!"TYPE_10__", !19, i64 0}
!19 = !{!"i2c_adapter", !16, i64 0}
!20 = !{!16, !16, i64 0}
!21 = !{!22, !16, i64 0}
!22 = !{!"edid", !16, i64 0}
!23 = !{!24, !16, i64 0}
!24 = !{!"dc_sink", !25, i64 0, !16, i64 16}
!25 = !{!"TYPE_18__", !16, i64 0, !11, i64 8}
!26 = !{!24, !11, i64 8}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!14, !16, i64 0}
!30 = !{!9, !9, i64 0}
| linux_drivers_gpu_drm_amd_display_amdgpu_dm_extr_amdgpu_dm_helpers.c_dm_helpers_read_local_edid |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_writebsp.c_EndModel.c'
source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_writebsp.c_EndModel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i64 }
@dmodels = dso_local local_unnamed_addr global ptr null, align 8
@nummodels = dso_local local_unnamed_addr global i64 0, align 8
@numfaces = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @EndModel() local_unnamed_addr #0 {
%1 = load ptr, ptr @dmodels, align 8, !tbaa !5
%2 = load i64, ptr @nummodels, align 8, !tbaa !9
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %2
%4 = load i64, ptr @numfaces, align 8, !tbaa !9
%5 = load i64, ptr %3, align 8, !tbaa !11
%6 = sub nsw i64 %4, %5
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %2, i32 1
store i64 %6, ptr %7, align 8, !tbaa !13
%8 = load i64, ptr @nummodels, align 8, !tbaa !9
%9 = add i64 %8, 1
store i64 %9, ptr @nummodels, align 8, !tbaa !9
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_writebsp.c_EndModel.c'
source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_writebsp.c_EndModel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i64, i64 }
@dmodels = common local_unnamed_addr global ptr null, align 8
@nummodels = common local_unnamed_addr global i64 0, align 8
@numfaces = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define void @EndModel() local_unnamed_addr #0 {
%1 = load ptr, ptr @dmodels, align 8, !tbaa !6
%2 = load i64, ptr @nummodels, align 8, !tbaa !10
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %2
%4 = load i64, ptr @numfaces, align 8, !tbaa !10
%5 = load i64, ptr %3, align 8, !tbaa !12
%6 = sub nsw i64 %4, %5
%7 = getelementptr inbounds i8, ptr %3, i64 8
store i64 %6, ptr %7, align 8, !tbaa !14
%8 = load i64, ptr @nummodels, align 8, !tbaa !10
%9 = add i64 %8, 1
store i64 %9, ptr @nummodels, align 8, !tbaa !10
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 8}
| Quake-III-Arena_code_bspc_extr_writebsp.c_EndModel |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/dccp/ccids/lib/extr_packet_history.h_tfrc_rx_hist_loss_prev.c'
source_filename = "AnghaBench/fastsocket/kernel/net/dccp/ccids/lib/extr_packet_history.h_tfrc_rx_hist_loss_prev.c"
target datalayout = "e-m:e-p270:32:32-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.tfrc_rx_hist = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @tfrc_rx_hist_loss_prev], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal ptr @tfrc_rx_hist_loss_prev(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.tfrc_rx_hist, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %0, align 8, !tbaa !11
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !12
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, !10, i64 8}
!6 = !{!"tfrc_rx_hist", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/dccp/ccids/lib/extr_packet_history.h_tfrc_rx_hist_loss_prev.c'
source_filename = "AnghaBench/fastsocket/kernel/net/dccp/ccids/lib/extr_packet_history.h_tfrc_rx_hist_loss_prev.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 @tfrc_rx_hist_loss_prev], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @tfrc_rx_hist_loss_prev(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %0, align 8, !tbaa !12
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !13
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, !11, i64 8}
!7 = !{!"tfrc_rx_hist", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!11, !11, i64 0}
| fastsocket_kernel_net_dccp_ccids_lib_extr_packet_history.h_tfrc_rx_hist_loss_prev |
; ModuleID = 'AnghaBench/git/vcs-svn/extr_svndiff.c_copyfrom_source.c'
source_filename = "AnghaBench/git/vcs-svn/extr_svndiff.c_copyfrom_source.c"
target datalayout = "e-m:e-p270:32:32-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.window = type { ptr, i32 }
%struct.TYPE_3__ = type { i64, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i64 }
@.str = private unnamed_addr constant [47 x i8] c"invalid delta: copies source data outside view\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @copyfrom_source], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @copyfrom_source(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i64 @parse_int(ptr noundef %1, ptr noundef nonnull %5, ptr noundef %3) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %26
8: ; preds = %4
%9 = load i64, ptr %5, align 8, !tbaa !5
%10 = call i64 @unsigned_add_overflows(i64 noundef %9, i64 noundef %2) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = load i64, ptr %5, align 8, !tbaa !5
%14 = add i64 %13, %2
%15 = load ptr, ptr %0, align 8, !tbaa !9
%16 = load i64, ptr %15, align 8, !tbaa !13
%17 = icmp ugt i64 %14, %16
br i1 %17, label %18, label %20
18: ; preds = %12, %8
%19 = call i32 @error(ptr noundef nonnull @.str) #3
br label %26
20: ; preds = %12
%21 = getelementptr inbounds %struct.window, ptr %0, i64 0, i32 1
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 0, i32 1
%23 = load i64, ptr %22, align 8, !tbaa !16
%24 = add i64 %23, %13
%25 = call i32 @strbuf_add(ptr noundef nonnull %21, i64 noundef %24, i64 noundef %2) #3
br label %26
26: ; preds = %4, %20, %18
%27 = phi i32 [ %19, %18 ], [ 0, %20 ], [ -1, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @parse_int(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @unsigned_add_overflows(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @error(ptr noundef) local_unnamed_addr #2
declare i32 @strbuf_add(ptr noundef, i64 noundef, 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
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"window", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_3__", !6, i64 0, !15, i64 8}
!15 = !{!"TYPE_4__", !6, i64 0}
!16 = !{!14, !6, i64 8}
| ; ModuleID = 'AnghaBench/git/vcs-svn/extr_svndiff.c_copyfrom_source.c'
source_filename = "AnghaBench/git/vcs-svn/extr_svndiff.c_copyfrom_source.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [47 x i8] c"invalid delta: copies source data outside view\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @copyfrom_source], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @copyfrom_source(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = call i64 @parse_int(ptr noundef %1, ptr noundef nonnull %5, ptr noundef %3) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %26
8: ; preds = %4
%9 = load i64, ptr %5, align 8, !tbaa !6
%10 = call i64 @unsigned_add_overflows(i64 noundef %9, i64 noundef %2) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = load i64, ptr %5, align 8, !tbaa !6
%14 = add i64 %13, %2
%15 = load ptr, ptr %0, align 8, !tbaa !10
%16 = load i64, ptr %15, align 8, !tbaa !14
%17 = icmp ugt i64 %14, %16
br i1 %17, label %18, label %20
18: ; preds = %12, %8
%19 = call i32 @error(ptr noundef nonnull @.str) #3
br label %26
20: ; preds = %12
%21 = getelementptr inbounds i8, ptr %0, i64 8
%22 = getelementptr inbounds i8, ptr %15, i64 8
%23 = load i64, ptr %22, align 8, !tbaa !17
%24 = add i64 %23, %13
%25 = call i32 @strbuf_add(ptr noundef nonnull %21, i64 noundef %24, i64 noundef %2) #3
br label %26
26: ; preds = %4, %20, %18
%27 = phi i32 [ %19, %18 ], [ 0, %20 ], [ -1, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @parse_int(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @unsigned_add_overflows(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @error(ptr noundef) local_unnamed_addr #2
declare i32 @strbuf_add(ptr noundef, i64 noundef, 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
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"window", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_3__", !7, i64 0, !16, i64 8}
!16 = !{!"TYPE_4__", !7, i64 0}
!17 = !{!15, !7, i64 8}
| git_vcs-svn_extr_svndiff.c_copyfrom_source |
; ModuleID = 'AnghaBench/php-src/ext/pdo_oci/extr_oci_statement.c_oci_blob_flush.c'
source_filename = "AnghaBench/php-src/ext/pdo_oci/extr_oci_statement.c_oci_blob_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.oci_lob_self = type { i32, ptr }
%struct.TYPE_4__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @oci_blob_flush], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @oci_blob_flush(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = inttoptr i64 %2 to ptr
%4 = getelementptr inbounds %struct.oci_lob_self, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = load i32, ptr %5, align 4, !tbaa !16
%9 = load i32, ptr %3, align 8, !tbaa !17
%10 = tail call i32 @OCILobFlushBuffer(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 0) #2
ret i32 0
}
declare i32 @OCILobFlushBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"oci_lob_self", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !12, i64 4}
!15 = !{!"TYPE_4__", !12, i64 0, !12, i64 4}
!16 = !{!15, !12, i64 0}
!17 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/pdo_oci/extr_oci_statement.c_oci_blob_flush.c'
source_filename = "AnghaBench/php-src/ext/pdo_oci/extr_oci_statement.c_oci_blob_flush.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 @oci_blob_flush], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @oci_blob_flush(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = inttoptr i64 %2 to ptr
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !15
%8 = load i32, ptr %5, align 4, !tbaa !17
%9 = load i32, ptr %3, align 8, !tbaa !18
%10 = tail call i32 @OCILobFlushBuffer(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 0) #2
ret i32 0
}
declare i32 @OCILobFlushBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"oci_lob_self", !13, i64 0, !14, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !13, i64 4}
!16 = !{!"TYPE_4__", !13, i64 0, !13, i64 4}
!17 = !{!16, !13, i64 0}
!18 = !{!12, !13, i64 0}
| php-src_ext_pdo_oci_extr_oci_statement.c_oci_blob_flush |
; ModuleID = 'AnghaBench/linux/arch/s390/kernel/extr_suspend.c_page_key_free.c'
source_filename = "AnghaBench/linux/arch/s390/kernel/extr_suspend.c_page_key_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"
@page_key_data = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @page_key_free() local_unnamed_addr #0 {
%1 = load ptr, ptr @page_key_data, align 8, !tbaa !5
%2 = icmp eq ptr %1, null
br i1 %2, label %10, label %3
3: ; preds = %0, %3
%4 = phi ptr [ %8, %3 ], [ %1, %0 ]
%5 = load ptr, ptr %4, align 8, !tbaa !9
store ptr %5, ptr @page_key_data, align 8, !tbaa !5
%6 = ptrtoint ptr %4 to i64
%7 = tail call i32 @free_page(i64 noundef %6) #2
%8 = load ptr, ptr @page_key_data, align 8, !tbaa !5
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %3, !llvm.loop !11
10: ; preds = %3, %0
ret void
}
declare i32 @free_page(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"page_key_data", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/arch/s390/kernel/extr_suspend.c_page_key_free.c'
source_filename = "AnghaBench/linux/arch/s390/kernel/extr_suspend.c_page_key_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@page_key_data = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @page_key_free() local_unnamed_addr #0 {
%1 = load ptr, ptr @page_key_data, align 8, !tbaa !6
%2 = icmp eq ptr %1, null
br i1 %2, label %10, label %3
3: ; preds = %0, %3
%4 = phi ptr [ %8, %3 ], [ %1, %0 ]
%5 = load ptr, ptr %4, align 8, !tbaa !10
store ptr %5, ptr @page_key_data, align 8, !tbaa !6
%6 = ptrtoint ptr %4 to i64
%7 = tail call i32 @free_page(i64 noundef %6) #2
%8 = load ptr, ptr @page_key_data, align 8, !tbaa !6
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %3, !llvm.loop !12
10: ; preds = %3, %0
ret void
}
declare i32 @free_page(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"page_key_data", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| linux_arch_s390_kernel_extr_suspend.c_page_key_free |
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_bpf_map.c_bpf_map_def__is_per_cpu.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_bpf_map.c_bpf_map_def__is_per_cpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BPF_MAP_TYPE_PERCPU_HASH = dso_local local_unnamed_addr global i64 0, align 8
@BPF_MAP_TYPE_PERCPU_ARRAY = dso_local local_unnamed_addr global i64 0, align 8
@BPF_MAP_TYPE_LRU_PERCPU_HASH = dso_local local_unnamed_addr global i64 0, align 8
@BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @bpf_map_def__is_per_cpu], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @bpf_map_def__is_per_cpu(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @BPF_MAP_TYPE_PERCPU_HASH, align 8, !tbaa !10
%4 = icmp eq i64 %2, %3
%5 = load i64, ptr @BPF_MAP_TYPE_PERCPU_ARRAY, align 8
%6 = icmp eq i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
%8 = load i64, ptr @BPF_MAP_TYPE_LRU_PERCPU_HASH, align 8
%9 = icmp eq i64 %2, %8
%10 = select i1 %7, i1 true, i1 %9
%11 = load i64, ptr @BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE, align 8
%12 = icmp eq i64 %2, %11
%13 = select i1 %10, i1 true, i1 %12
%14 = zext i1 %13 to i32
ret i32 %14
}
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 = !{!"bpf_map_def", !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/tools/perf/util/extr_bpf_map.c_bpf_map_def__is_per_cpu.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_bpf_map.c_bpf_map_def__is_per_cpu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BPF_MAP_TYPE_PERCPU_HASH = common local_unnamed_addr global i64 0, align 8
@BPF_MAP_TYPE_PERCPU_ARRAY = common local_unnamed_addr global i64 0, align 8
@BPF_MAP_TYPE_LRU_PERCPU_HASH = common local_unnamed_addr global i64 0, align 8
@BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @bpf_map_def__is_per_cpu], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @bpf_map_def__is_per_cpu(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @BPF_MAP_TYPE_PERCPU_HASH, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
%5 = load i64, ptr @BPF_MAP_TYPE_PERCPU_ARRAY, align 8
%6 = icmp eq i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
%8 = load i64, ptr @BPF_MAP_TYPE_LRU_PERCPU_HASH, align 8
%9 = icmp eq i64 %2, %8
%10 = select i1 %7, i1 true, i1 %9
%11 = load i64, ptr @BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE, align 8
%12 = icmp eq i64 %2, %11
%13 = select i1 %10, i1 true, i1 %12
%14 = zext i1 %13 to i32
ret i32 %14
}
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 = !{!"bpf_map_def", !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_tools_perf_util_extr_bpf_map.c_bpf_map_def__is_per_cpu |
; ModuleID = 'AnghaBench/linux/drivers/spmi/extr_spmi.c_spmi_device_alloc.c'
source_filename = "AnghaBench/linux/drivers/spmi/extr_spmi.c_spmi_device_alloc.c"
target datalayout = "e-m:e-p270:32:32-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.spmi_device = type { %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { ptr, ptr, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@spmi_bus_type = dso_local global i32 0, align 4
@spmi_dev_type = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @spmi_device_alloc(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.spmi_device, ptr %3, i64 0, i32 1
store ptr %0, ptr %6, align 8, !tbaa !9
%7 = tail call i32 @device_initialize(ptr noundef nonnull %3) #2
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2
store ptr %0, ptr %8, align 8, !tbaa !13
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
store ptr @spmi_bus_type, ptr %9, align 8, !tbaa !14
store ptr @spmi_dev_type, ptr %3, align 8, !tbaa !15
br label %10
10: ; preds = %1, %5
ret ptr %3
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_initialize(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, !12, i64 24}
!10 = !{!"spmi_device", !11, i64 0, !12, i64 24}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!10, !12, i64 8}
!15 = !{!10, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/spmi/extr_spmi.c_spmi_device_alloc.c'
source_filename = "AnghaBench/linux/drivers/spmi/extr_spmi.c_spmi_device_alloc.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
@spmi_bus_type = common global i32 0, align 4
@spmi_dev_type = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @spmi_device_alloc(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %3, i64 24
store ptr %0, ptr %6, align 8, !tbaa !10
%7 = tail call i32 @device_initialize(ptr noundef nonnull %3) #2
%8 = getelementptr inbounds i8, ptr %3, i64 16
store ptr %0, ptr %8, align 8, !tbaa !14
%9 = getelementptr inbounds i8, ptr %3, i64 8
store ptr @spmi_bus_type, ptr %9, align 8, !tbaa !15
store ptr @spmi_dev_type, ptr %3, align 8, !tbaa !16
br label %10
10: ; preds = %1, %5
ret ptr %3
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_initialize(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, !13, i64 24}
!11 = !{!"spmi_device", !12, i64 0, !13, i64 24}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = !{!11, !13, i64 8}
!16 = !{!11, !13, i64 0}
| linux_drivers_spmi_extr_spmi.c_spmi_device_alloc |
; ModuleID = 'AnghaBench/linux/drivers/staging/greybus/extr_gbphy.c_gbphy_dev_match_id.c'
source_filename = "AnghaBench/linux/drivers/staging/greybus/extr_gbphy.c_gbphy_dev_match_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"
%struct.gbphy_device_id = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @gbphy_dev_match_id], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal ptr @gbphy_dev_match_id(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %19, label %5
5: ; preds = %2
%6 = load i64, ptr %3, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
br i1 %7, label %19, label %8
8: ; preds = %5
%9 = load ptr, ptr %0, align 8, !tbaa !13
%10 = load i64, ptr %9, align 8, !tbaa !15
br label %11
11: ; preds = %8, %15
%12 = phi i64 [ %6, %8 ], [ %17, %15 ]
%13 = phi ptr [ %3, %8 ], [ %16, %15 ]
%14 = icmp eq i64 %12, %10
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = getelementptr inbounds %struct.gbphy_device_id, ptr %13, i64 1
%17 = load i64, ptr %16, align 8, !tbaa !10
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %11, !llvm.loop !17
19: ; preds = %11, %15, %5, %2
%20 = phi ptr [ null, %2 ], [ null, %5 ], [ %13, %11 ], [ null, %15 ]
ret ptr %20
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"gbphy_driver", !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 = !{!"gbphy_device_id", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"gbphy_device", !7, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_2__", !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/greybus/extr_gbphy.c_gbphy_dev_match_id.c'
source_filename = "AnghaBench/linux/drivers/staging/greybus/extr_gbphy.c_gbphy_dev_match_id.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 @gbphy_dev_match_id], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @gbphy_dev_match_id(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %19, label %5
5: ; preds = %2
%6 = load i64, ptr %3, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
br i1 %7, label %19, label %8
8: ; preds = %5
%9 = load ptr, ptr %0, align 8, !tbaa !14
%10 = load i64, ptr %9, align 8, !tbaa !16
br label %11
11: ; preds = %8, %15
%12 = phi i64 [ %6, %8 ], [ %17, %15 ]
%13 = phi ptr [ %3, %8 ], [ %16, %15 ]
%14 = icmp eq i64 %12, %10
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %13, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !11
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %11, !llvm.loop !18
19: ; preds = %11, %15, %5, %2
%20 = phi ptr [ null, %2 ], [ null, %5 ], [ %13, %11 ], [ null, %15 ]
ret ptr %20
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"gbphy_driver", !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 = !{!"gbphy_device_id", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"gbphy_device", !8, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_2__", !13, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| linux_drivers_staging_greybus_extr_gbphy.c_gbphy_dev_match_id |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/extr_apdbg.c_read_mem.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/extr_apdbg.c_read_mem.c"
target datalayout = "e-m:e-p270:32:32-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 @read_mem(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @set_ioctl(i32 noundef %0, ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
%5 = sext i1 %4 to i32
ret i32 %5
}
declare i32 @set_ioctl(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/extr_apdbg.c_read_mem.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/extr_apdbg.c_read_mem.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 range(i32 -1, 1) i32 @read_mem(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @set_ioctl(i32 noundef %0, ptr noundef %1) #2
%4 = icmp eq i32 %3, 0
%5 = sext i1 %4 to i32
ret i32 %5
}
declare i32 @set_ioctl(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_staging_otus_extr_apdbg.c_read_mem |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/vidcontrol/extr_vidcontrol.c_set_cursor_type.c'
source_filename = "AnghaBench/freebsd/usr.sbin/vidcontrol/extr_vidcontrol.c_set_cursor_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CONS_GETCURSORSHAPE = dso_local local_unnamed_addr global i32 0, align 4
@CONS_SETCURSORSHAPE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_cursor_type], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind willreturn memory(none) uwtable
define internal void @set_cursor_type(ptr nocapture %0) #0 {
unreachable
}
attributes #0 = { mustprogress nofree norecurse noreturn 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/freebsd/usr.sbin/vidcontrol/extr_vidcontrol.c_set_cursor_type.c'
source_filename = "AnghaBench/freebsd/usr.sbin/vidcontrol/extr_vidcontrol.c_set_cursor_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CONS_GETCURSORSHAPE = common local_unnamed_addr global i32 0, align 4
@CONS_SETCURSORSHAPE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_cursor_type], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @set_cursor_type(ptr nocapture %0) #0 {
unreachable
}
attributes #0 = { mustprogress nofree norecurse noreturn 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)"}
| freebsd_usr.sbin_vidcontrol_extr_vidcontrol.c_set_cursor_type |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/davinci/extr_vpif_display.c_vpif_log_status.c'
source_filename = "AnghaBench/linux/drivers/media/platform/davinci/extr_vpif_display.c_vpif_log_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_2__ = type { i32 }
@vpif_obj = dso_local global %struct.TYPE_2__ zeroinitializer, align 4
@core = dso_local local_unnamed_addr global i32 0, align 4
@log_status = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vpif_log_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vpif_log_status(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @core, align 4, !tbaa !5
%4 = load i32, ptr @log_status, align 4, !tbaa !5
%5 = tail call i32 @v4l2_device_call_all(ptr noundef nonnull @vpif_obj, i32 noundef 0, i32 noundef %3, i32 noundef %4) #2
ret i32 0
}
declare i32 @v4l2_device_call_all(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/drivers/media/platform/davinci/extr_vpif_display.c_vpif_log_status.c'
source_filename = "AnghaBench/linux/drivers/media/platform/davinci/extr_vpif_display.c_vpif_log_status.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 }
@vpif_obj = common global %struct.TYPE_2__ zeroinitializer, align 4
@core = common local_unnamed_addr global i32 0, align 4
@log_status = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vpif_log_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @vpif_log_status(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @core, align 4, !tbaa !6
%4 = load i32, ptr @log_status, align 4, !tbaa !6
%5 = tail call i32 @v4l2_device_call_all(ptr noundef nonnull @vpif_obj, i32 noundef 0, i32 noundef %3, i32 noundef %4) #2
ret i32 0
}
declare i32 @v4l2_device_call_all(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_drivers_media_platform_davinci_extr_vpif_display.c_vpif_log_status |
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_rt2880_wdt.c_rt_wdt_r32.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_rt2880_wdt.c_rt_wdt_r32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@rt288x_wdt_base = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rt_wdt_r32], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @rt_wdt_r32(i32 noundef %0) #0 {
%2 = load i32, ptr @rt288x_wdt_base, align 4, !tbaa !5
%3 = add i32 %2, %0
%4 = tail call i32 @ioread32(i32 noundef %3) #2
ret i32 %4
}
declare i32 @ioread32(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_rt2880_wdt.c_rt_wdt_r32.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_rt2880_wdt.c_rt_wdt_r32.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rt288x_wdt_base = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rt_wdt_r32], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @rt_wdt_r32(i32 noundef %0) #0 {
%2 = load i32, ptr @rt288x_wdt_base, align 4, !tbaa !6
%3 = add i32 %2, %0
%4 = tail call i32 @ioread32(i32 noundef %3) #2
ret i32 %4
}
declare i32 @ioread32(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_watchdog_extr_rt2880_wdt.c_rt_wdt_r32 |
; ModuleID = 'AnghaBench/Craft/deps/glfw/tests/extr_clipboard.c_framebuffer_size_callback.c'
source_filename = "AnghaBench/Craft/deps/glfw/tests/extr_clipboard.c_framebuffer_size_callback.c"
target datalayout = "e-m:e-p270:32:32-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 @framebuffer_size_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @framebuffer_size_callback(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Craft/deps/glfw/tests/extr_clipboard.c_framebuffer_size_callback.c'
source_filename = "AnghaBench/Craft/deps/glfw/tests/extr_clipboard.c_framebuffer_size_callback.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 @framebuffer_size_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @framebuffer_size_callback(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Craft_deps_glfw_tests_extr_clipboard.c_framebuffer_size_callback |
; ModuleID = 'AnghaBench/vlc/modules/codec/extr_atsc_a65.h_atsc_a65_GPSTimeToEpoch.c'
source_filename = "AnghaBench/vlc/modules/codec/extr_atsc_a65.h_atsc_a65_GPSTimeToEpoch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GPS_UTC_EPOCH_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @atsc_a65_GPSTimeToEpoch], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i64 @atsc_a65_GPSTimeToEpoch(i64 noundef %0, i64 noundef %1) #0 {
%3 = load i64, ptr @GPS_UTC_EPOCH_OFFSET, align 8, !tbaa !5
%4 = sub i64 %0, %1
%5 = add i64 %4, %3
ret i64 %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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/vlc/modules/codec/extr_atsc_a65.h_atsc_a65_GPSTimeToEpoch.c'
source_filename = "AnghaBench/vlc/modules/codec/extr_atsc_a65.h_atsc_a65_GPSTimeToEpoch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GPS_UTC_EPOCH_OFFSET = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @atsc_a65_GPSTimeToEpoch], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i64 @atsc_a65_GPSTimeToEpoch(i64 noundef %0, i64 noundef %1) #0 {
%3 = load i64, ptr @GPS_UTC_EPOCH_OFFSET, align 8, !tbaa !6
%4 = sub i64 %0, %1
%5 = add i64 %4, %3
ret i64 %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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| vlc_modules_codec_extr_atsc_a65.h_atsc_a65_GPSTimeToEpoch |
; ModuleID = 'AnghaBench/postgres/src/bin/initdb/extr_initdb.c_get_su_pwd.c'
source_filename = "AnghaBench/postgres/src/bin/initdb/extr_initdb.c_get_su_pwd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@pwprompt = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@stdout = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"Enter new superuser password: \00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Enter it again: \00", align 1
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"Passwords didn't match.\0A\00", align 1
@pwfilename = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"could not open file \22%s\22 for reading: %m\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"could not read password from file \22%s\22: %m\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"password file \22%s\22 is empty\00", align 1
@superuser_password = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_su_pwd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @get_su_pwd() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca [100 x i8], align 16
call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %1) #5
call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %2) #5
%3 = load i64, ptr @pwprompt, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %18, label %5
5: ; preds = %0
%6 = tail call i32 @printf(ptr noundef nonnull @.str) #5
%7 = load i32, ptr @stdout, align 4, !tbaa !9
%8 = tail call i32 @fflush(i32 noundef %7) #5
%9 = call i32 @simple_prompt(ptr noundef nonnull @.str.1, ptr noundef nonnull %1, i32 noundef 100, i32 noundef 0) #5
%10 = call i32 @simple_prompt(ptr noundef nonnull @.str.2, ptr noundef nonnull %2, i32 noundef 100, i32 noundef 0) #5
%11 = call i64 @strcmp(ptr noundef nonnull %1, ptr noundef nonnull %2) #5
%12 = icmp eq i64 %11, 0
br i1 %12, label %49, label %13
13: ; preds = %5
%14 = load i32, ptr @stderr, align 4, !tbaa !9
%15 = call ptr @_(ptr noundef nonnull @.str.3) #5
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef %15) #5
%17 = call i32 @exit(i32 noundef 1) #6
unreachable
18: ; preds = %0
%19 = load i32, ptr @pwfilename, align 4, !tbaa !9
%20 = tail call ptr @fopen(i32 noundef %19, ptr noundef nonnull @.str.4) #5
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr @pwfilename, align 4, !tbaa !9
%24 = tail call i32 @pg_log_error(ptr noundef nonnull @.str.5, i32 noundef %23) #5
%25 = tail call i32 @exit(i32 noundef 1) #6
unreachable
26: ; preds = %18
%27 = call i32 @fgets(ptr noundef nonnull %1, i32 noundef 100, ptr noundef nonnull %20) #5
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %36
29: ; preds = %26
%30 = call i64 @ferror(ptr noundef nonnull %20) #5
%31 = icmp eq i64 %30, 0
%32 = load i32, ptr @pwfilename, align 4, !tbaa !9
%33 = select i1 %31, ptr @.str.7, ptr @.str.6
%34 = call i32 @pg_log_error(ptr noundef nonnull %33, i32 noundef %32) #5
%35 = call i32 @exit(i32 noundef 1) #6
unreachable
36: ; preds = %26
%37 = call i32 @fclose(ptr noundef nonnull %20)
%38 = call i32 @strlen(ptr noundef nonnull %1) #5
%39 = icmp sgt i32 %38, 0
br i1 %39, label %40, label %49
40: ; preds = %36
%41 = zext nneg i32 %38 to i64
br label %42
42: ; preds = %40, %47
%43 = phi i64 [ %41, %40 ], [ %44, %47 ]
%44 = add nsw i64 %43, -1
%45 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 %44
%46 = load i8, ptr %45, align 1, !tbaa !11
switch i8 %46, label %49 [
i8 13, label %47
i8 10, label %47
]
47: ; preds = %42, %42
store i8 0, ptr %45, align 1, !tbaa !11
%48 = icmp ugt i64 %43, 1
br i1 %48, label %42, label %49, !llvm.loop !12
49: ; preds = %42, %47, %36, %5
%50 = call i32 @pg_strdup(ptr noundef nonnull %1) #5
store i32 %50, ptr @superuser_password, align 4, !tbaa !9
call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %2) #5
call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %1) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @fflush(i32 noundef) local_unnamed_addr #2
declare i32 @simple_prompt(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @_(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare ptr @fopen(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pg_log_error(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ferror(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4
declare i32 @strlen(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 @pg_strdup(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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind }
attributes #6 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/postgres/src/bin/initdb/extr_initdb.c_get_su_pwd.c'
source_filename = "AnghaBench/postgres/src/bin/initdb/extr_initdb.c_get_su_pwd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pwprompt = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@stdout = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"Enter new superuser password: \00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Enter it again: \00", align 1
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [25 x i8] c"Passwords didn't match.\0A\00", align 1
@pwfilename = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"could not open file \22%s\22 for reading: %m\00", align 1
@.str.6 = private unnamed_addr constant [43 x i8] c"could not read password from file \22%s\22: %m\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"password file \22%s\22 is empty\00", align 1
@superuser_password = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_su_pwd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @get_su_pwd() #0 {
%1 = alloca [100 x i8], align 1
%2 = alloca [100 x i8], align 1
call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %1) #5
call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %2) #5
%3 = load i64, ptr @pwprompt, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %18, label %5
5: ; preds = %0
%6 = tail call i32 @printf(ptr noundef nonnull @.str) #5
%7 = load i32, ptr @stdout, align 4, !tbaa !10
%8 = tail call i32 @fflush(i32 noundef %7) #5
%9 = call i32 @simple_prompt(ptr noundef nonnull @.str.1, ptr noundef nonnull %1, i32 noundef 100, i32 noundef 0) #5
%10 = call i32 @simple_prompt(ptr noundef nonnull @.str.2, ptr noundef nonnull %2, i32 noundef 100, i32 noundef 0) #5
%11 = call i64 @strcmp(ptr noundef nonnull %1, ptr noundef nonnull %2) #5
%12 = icmp eq i64 %11, 0
br i1 %12, label %49, label %13
13: ; preds = %5
%14 = load i32, ptr @stderr, align 4, !tbaa !10
%15 = call ptr @_(ptr noundef nonnull @.str.3) #5
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef %15) #5
%17 = call i32 @exit(i32 noundef 1) #6
unreachable
18: ; preds = %0
%19 = load i32, ptr @pwfilename, align 4, !tbaa !10
%20 = tail call ptr @fopen(i32 noundef %19, ptr noundef nonnull @.str.4) #5
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr @pwfilename, align 4, !tbaa !10
%24 = tail call i32 @pg_log_error(ptr noundef nonnull @.str.5, i32 noundef %23) #5
%25 = tail call i32 @exit(i32 noundef 1) #6
unreachable
26: ; preds = %18
%27 = call i32 @fgets(ptr noundef nonnull %1, i32 noundef 100, ptr noundef nonnull %20) #5
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %36
29: ; preds = %26
%30 = call i64 @ferror(ptr noundef nonnull %20) #5
%31 = icmp eq i64 %30, 0
%32 = load i32, ptr @pwfilename, align 4, !tbaa !10
%33 = select i1 %31, ptr @.str.7, ptr @.str.6
%34 = call i32 @pg_log_error(ptr noundef nonnull %33, i32 noundef %32) #5
%35 = call i32 @exit(i32 noundef 1) #6
unreachable
36: ; preds = %26
%37 = call i32 @fclose(ptr noundef nonnull %20)
%38 = call i32 @strlen(ptr noundef nonnull %1) #5
%39 = icmp sgt i32 %38, 0
br i1 %39, label %40, label %49
40: ; preds = %36
%41 = zext nneg i32 %38 to i64
br label %42
42: ; preds = %40, %47
%43 = phi i64 [ %41, %40 ], [ %44, %47 ]
%44 = add nsw i64 %43, -1
%45 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 %44
%46 = load i8, ptr %45, align 1, !tbaa !12
switch i8 %46, label %49 [
i8 13, label %47
i8 10, label %47
]
47: ; preds = %42, %42
store i8 0, ptr %45, align 1, !tbaa !12
%48 = icmp ugt i64 %43, 1
br i1 %48, label %42, label %49, !llvm.loop !13
49: ; preds = %42, %47, %36, %5
%50 = call i32 @pg_strdup(ptr noundef nonnull %1) #5
store i32 %50, ptr @superuser_password, align 4, !tbaa !10
call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %2) #5
call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %1) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @fflush(i32 noundef) local_unnamed_addr #2
declare i32 @simple_prompt(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @_(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare ptr @fopen(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pg_log_error(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ferror(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4
declare i32 @strlen(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 @pg_strdup(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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { 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 #5 = { nounwind }
attributes #6 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| postgres_src_bin_initdb_extr_initdb.c_get_su_pwd |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gcore.c_gcore_copy_callback.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gcore.c_gcore_copy_callback.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SEC_LOAD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"load\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Not enough memory to create corefile.\00", align 1
@xfree = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [59 x i8] c"Memory read failed for corefile section, %s bytes at 0x%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Failed to write corefile contents (%s).\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @gcore_copy_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gcore_copy_callback(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call i32 @bfd_section_size(ptr noundef %0, ptr noundef %1) #2
%5 = tail call i32 @bfd_get_section_flags(ptr noundef %0, ptr noundef %1) #2
%6 = load i32, ptr @SEC_LOAD, align 4, !tbaa !5
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %38, label %9
9: ; preds = %3
%10 = tail call i32 @bfd_section_name(ptr noundef %0, ptr noundef %1) #2
%11 = tail call i64 @strncmp(ptr noundef nonnull @.str, i32 noundef %10, i32 noundef 4) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %38
13: ; preds = %9
%14 = tail call ptr @xmalloc(i32 noundef %4) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = tail call i32 @error(ptr noundef nonnull @.str.1) #2
br label %18
18: ; preds = %16, %13
%19 = load i32, ptr @xfree, align 4, !tbaa !5
%20 = tail call ptr @make_cleanup(i32 noundef %19, ptr noundef %14) #2
%21 = tail call i32 @bfd_section_vma(ptr noundef %0, ptr noundef %1) #2
%22 = tail call i64 @target_read_memory(i32 noundef %21, ptr noundef %14, i32 noundef %4) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %29, label %24
24: ; preds = %18
%25 = tail call i32 @paddr_d(i32 noundef %4) #2
%26 = tail call i32 @bfd_section_vma(ptr noundef %0, ptr noundef %1) #2
%27 = tail call i32 @paddr(i32 noundef %26) #2
%28 = tail call i32 (ptr, i32, ...) @warning(ptr noundef nonnull @.str.2, i32 noundef %25, i32 noundef %27) #2
br label %29
29: ; preds = %24, %18
%30 = tail call i32 @bfd_set_section_contents(ptr noundef %0, ptr noundef %1, ptr noundef %14, i32 noundef 0, i32 noundef %4) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = tail call i32 (...) @bfd_get_error() #2
%34 = tail call i32 @bfd_errmsg(i32 noundef %33) #2
%35 = tail call i32 (ptr, i32, ...) @warning(ptr noundef nonnull @.str.3, i32 noundef %34) #2
br label %36
36: ; preds = %32, %29
%37 = tail call i32 @do_cleanups(ptr noundef %20) #2
br label %38
38: ; preds = %9, %3, %36
ret void
}
declare i32 @bfd_section_size(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bfd_get_section_flags(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_section_name(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef) local_unnamed_addr #1
declare ptr @make_cleanup(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @target_read_memory(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_section_vma(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @warning(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @paddr_d(i32 noundef) local_unnamed_addr #1
declare i32 @paddr(i32 noundef) local_unnamed_addr #1
declare i32 @bfd_set_section_contents(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_errmsg(i32 noundef) local_unnamed_addr #1
declare i32 @bfd_get_error(...) local_unnamed_addr #1
declare i32 @do_cleanups(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gcore.c_gcore_copy_callback.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gcore.c_gcore_copy_callback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SEC_LOAD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"load\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"Not enough memory to create corefile.\00", align 1
@xfree = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [59 x i8] c"Memory read failed for corefile section, %s bytes at 0x%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Failed to write corefile contents (%s).\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @gcore_copy_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gcore_copy_callback(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call i32 @bfd_section_size(ptr noundef %0, ptr noundef %1) #2
%5 = tail call i32 @bfd_get_section_flags(ptr noundef %0, ptr noundef %1) #2
%6 = load i32, ptr @SEC_LOAD, align 4, !tbaa !6
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %38, label %9
9: ; preds = %3
%10 = tail call i32 @bfd_section_name(ptr noundef %0, ptr noundef %1) #2
%11 = tail call i64 @strncmp(ptr noundef nonnull @.str, i32 noundef %10, i32 noundef 4) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %38
13: ; preds = %9
%14 = tail call ptr @xmalloc(i32 noundef %4) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = tail call i32 @error(ptr noundef nonnull @.str.1) #2
br label %18
18: ; preds = %16, %13
%19 = load i32, ptr @xfree, align 4, !tbaa !6
%20 = tail call ptr @make_cleanup(i32 noundef %19, ptr noundef %14) #2
%21 = tail call i32 @bfd_section_vma(ptr noundef %0, ptr noundef %1) #2
%22 = tail call i64 @target_read_memory(i32 noundef %21, ptr noundef %14, i32 noundef %4) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %29, label %24
24: ; preds = %18
%25 = tail call i32 @paddr_d(i32 noundef %4) #2
%26 = tail call i32 @bfd_section_vma(ptr noundef %0, ptr noundef %1) #2
%27 = tail call i32 @paddr(i32 noundef %26) #2
%28 = tail call i32 (ptr, i32, ...) @warning(ptr noundef nonnull @.str.2, i32 noundef %25, i32 noundef %27) #2
br label %29
29: ; preds = %24, %18
%30 = tail call i32 @bfd_set_section_contents(ptr noundef %0, ptr noundef %1, ptr noundef %14, i32 noundef 0, i32 noundef %4) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = tail call i32 @bfd_get_error() #2
%34 = tail call i32 @bfd_errmsg(i32 noundef %33) #2
%35 = tail call i32 (ptr, i32, ...) @warning(ptr noundef nonnull @.str.3, i32 noundef %34) #2
br label %36
36: ; preds = %32, %29
%37 = tail call i32 @do_cleanups(ptr noundef %20) #2
br label %38
38: ; preds = %9, %3, %36
ret void
}
declare i32 @bfd_section_size(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bfd_get_section_flags(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_section_name(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef) local_unnamed_addr #1
declare ptr @make_cleanup(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @target_read_memory(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_section_vma(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @warning(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @paddr_d(i32 noundef) local_unnamed_addr #1
declare i32 @paddr(i32 noundef) local_unnamed_addr #1
declare i32 @bfd_set_section_contents(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bfd_errmsg(i32 noundef) local_unnamed_addr #1
declare i32 @bfd_get_error(...) local_unnamed_addr #1
declare i32 @do_cleanups(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_extr_gcore.c_gcore_copy_callback |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_mlme_ext.c_init_channel_set.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_mlme_ext.c_init_channel_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i64 }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_7__ = type { i64, ptr }
%struct.rt_channel_info = type { i32, ptr }
@MAX_CHANNEL_NUM = dso_local local_unnamed_addr global i32 0, align 4
@RT_CHANNEL_DOMAIN_MAX = dso_local local_unnamed_addr global i64 0, align 8
@RT_CHANNEL_DOMAIN_REALTEK_DEFINE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [31 x i8] c"ChannelPlan ID %x error !!!!!\0A\00", align 1
@WIRELESS_11G = dso_local local_unnamed_addr global i32 0, align 4
@RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@RTW_ChannelPlanMap = dso_local local_unnamed_addr global ptr null, align 8
@RTW_ChannelPlan2G = dso_local local_unnamed_addr global ptr null, align 8
@RT_CHANNEL_DOMAIN_GLOBAL_DOAMIN = dso_local local_unnamed_addr global i64 0, align 8
@RT_CHANNEL_DOMAIN_GLOBAL_DOAMIN_2G = dso_local local_unnamed_addr global i64 0, align 8
@SCAN_ACTIVE = dso_local local_unnamed_addr global ptr null, align 8
@SCAN_PASSIVE = dso_local local_unnamed_addr global ptr null, align 8
@RT_CHANNEL_DOMAIN_WORLD_WIDE_13 = dso_local local_unnamed_addr global i64 0, align 8
@RT_CHANNEL_DOMAIN_2G_WORLD = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_channel_set], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @init_channel_set(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @MAX_CHANNEL_NUM, align 4, !tbaa !5
%5 = shl i32 %4, 4
%6 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef %5) #2
%7 = load i64, ptr @RT_CHANNEL_DOMAIN_MAX, align 8, !tbaa !9
%8 = icmp ugt i64 %7, %1
%9 = load i64, ptr @RT_CHANNEL_DOMAIN_REALTEK_DEFINE, align 8
%10 = icmp eq i64 %9, %1
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %14, label %12
12: ; preds = %3
%13 = tail call i32 @DBG_88E(ptr noundef nonnull @.str, i64 noundef %1) #2
br label %75
14: ; preds = %3
%15 = load i32, ptr %0, align 4, !tbaa !11
%16 = load i32, ptr @WIRELESS_11G, align 4, !tbaa !5
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %75, label %19
19: ; preds = %14
%20 = load ptr, ptr @RTW_ChannelPlanMap, align 8
%21 = getelementptr inbounds %struct.TYPE_6__, ptr %20, i64 %1
%22 = select i1 %10, ptr @RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE, ptr %21
%23 = load i64, ptr %22, align 8, !tbaa !9
%24 = load ptr, ptr @RTW_ChannelPlan2G, align 8, !tbaa !14
%25 = getelementptr inbounds %struct.TYPE_7__, ptr %24, i64 %23
%26 = load i64, ptr %25, align 8, !tbaa !16
%27 = icmp eq i64 %26, 0
br i1 %27, label %75, label %28
28: ; preds = %19
%29 = load i64, ptr @RT_CHANNEL_DOMAIN_GLOBAL_DOAMIN, align 8, !tbaa !9
%30 = icmp eq i64 %29, %1
%31 = load i64, ptr @RT_CHANNEL_DOMAIN_WORLD_WIDE_13, align 8
%32 = icmp eq i64 %31, %1
br label %33
33: ; preds = %28, %69
%34 = phi ptr [ %24, %28 ], [ %71, %69 ]
%35 = phi i64 [ 0, %28 ], [ %70, %69 ]
%36 = getelementptr inbounds %struct.TYPE_7__, ptr %34, i64 %23, i32 1
%37 = load ptr, ptr %36, align 8, !tbaa !18
%38 = getelementptr inbounds i32, ptr %37, i64 %35
%39 = load i32, ptr %38, align 4, !tbaa !5
%40 = getelementptr inbounds %struct.rt_channel_info, ptr %2, i64 %35
store i32 %39, ptr %40, align 8, !tbaa !19
%41 = load i64, ptr @RT_CHANNEL_DOMAIN_GLOBAL_DOAMIN_2G, align 8
%42 = icmp eq i64 %41, %1
%43 = select i1 %30, i1 true, i1 %42
br i1 %43, label %44, label %56
44: ; preds = %33
%45 = add i32 %39, -1
%46 = icmp ult i32 %45, 11
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load ptr, ptr @SCAN_ACTIVE, align 8, !tbaa !14
%49 = getelementptr inbounds %struct.rt_channel_info, ptr %2, i64 %35, i32 1
store ptr %48, ptr %49, align 8, !tbaa !21
br label %69
50: ; preds = %44
%51 = add i32 %39, -12
%52 = icmp ult i32 %51, 3
br i1 %52, label %53, label %69
53: ; preds = %50
%54 = load ptr, ptr @SCAN_PASSIVE, align 8, !tbaa !14
%55 = getelementptr inbounds %struct.rt_channel_info, ptr %2, i64 %35, i32 1
store ptr %54, ptr %55, align 8, !tbaa !21
br label %69
56: ; preds = %33
%57 = load i64, ptr @RT_CHANNEL_DOMAIN_2G_WORLD, align 8
%58 = icmp eq i64 %23, %57
%59 = select i1 %32, i1 true, i1 %58
%60 = getelementptr inbounds %struct.rt_channel_info, ptr %2, i64 %35, i32 1
br i1 %59, label %61, label %67
61: ; preds = %56
%62 = icmp slt i32 %39, 12
br i1 %62, label %63, label %65
63: ; preds = %61
%64 = load ptr, ptr @SCAN_ACTIVE, align 8, !tbaa !14
store ptr %64, ptr %60, align 8, !tbaa !21
br label %69
65: ; preds = %61
%66 = load ptr, ptr @SCAN_PASSIVE, align 8, !tbaa !14
store ptr %66, ptr %60, align 8, !tbaa !21
br label %69
67: ; preds = %56
%68 = load ptr, ptr @SCAN_ACTIVE, align 8, !tbaa !14
store ptr %68, ptr %60, align 8, !tbaa !21
br label %69
69: ; preds = %67, %65, %63, %47, %53, %50
%70 = add nuw i64 %35, 1
%71 = load ptr, ptr @RTW_ChannelPlan2G, align 8, !tbaa !14
%72 = getelementptr inbounds %struct.TYPE_7__, ptr %71, i64 %23
%73 = load i64, ptr %72, align 8, !tbaa !16
%74 = icmp ult i64 %70, %73
br i1 %74, label %33, label %75, !llvm.loop !22
75: ; preds = %69, %19, %14, %12
%76 = phi i64 [ 0, %12 ], [ 0, %14 ], [ 0, %19 ], [ %70, %69 ]
ret i64 %76
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DBG_88E(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"adapter", !13, i64 0}
!13 = !{!"TYPE_5__", !6, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"TYPE_7__", !10, i64 0, !15, i64 8}
!18 = !{!17, !15, i64 8}
!19 = !{!20, !6, i64 0}
!20 = !{!"rt_channel_info", !6, i64 0, !15, i64 8}
!21 = !{!20, !15, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_mlme_ext.c_init_channel_set.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_mlme_ext.c_init_channel_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i64 }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_7__ = type { i64, ptr }
%struct.rt_channel_info = type { i32, ptr }
@MAX_CHANNEL_NUM = common local_unnamed_addr global i32 0, align 4
@RT_CHANNEL_DOMAIN_MAX = common local_unnamed_addr global i64 0, align 8
@RT_CHANNEL_DOMAIN_REALTEK_DEFINE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [31 x i8] c"ChannelPlan ID %x error !!!!!\0A\00", align 1
@WIRELESS_11G = common local_unnamed_addr global i32 0, align 4
@RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@RTW_ChannelPlanMap = common local_unnamed_addr global ptr null, align 8
@RTW_ChannelPlan2G = common local_unnamed_addr global ptr null, align 8
@RT_CHANNEL_DOMAIN_GLOBAL_DOAMIN = common local_unnamed_addr global i64 0, align 8
@RT_CHANNEL_DOMAIN_GLOBAL_DOAMIN_2G = common local_unnamed_addr global i64 0, align 8
@SCAN_ACTIVE = common local_unnamed_addr global ptr null, align 8
@SCAN_PASSIVE = common local_unnamed_addr global ptr null, align 8
@RT_CHANNEL_DOMAIN_WORLD_WIDE_13 = common local_unnamed_addr global i64 0, align 8
@RT_CHANNEL_DOMAIN_2G_WORLD = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @init_channel_set], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @init_channel_set(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @MAX_CHANNEL_NUM, align 4, !tbaa !6
%5 = shl i32 %4, 4
%6 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef %5) #2
%7 = load i64, ptr @RT_CHANNEL_DOMAIN_MAX, align 8, !tbaa !10
%8 = icmp ugt i64 %7, %1
%9 = load i64, ptr @RT_CHANNEL_DOMAIN_REALTEK_DEFINE, align 8
%10 = icmp eq i64 %9, %1
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %14, label %12
12: ; preds = %3
%13 = tail call i32 @DBG_88E(ptr noundef nonnull @.str, i64 noundef %1) #2
br label %75
14: ; preds = %3
%15 = load i32, ptr %0, align 4, !tbaa !12
%16 = load i32, ptr @WIRELESS_11G, align 4, !tbaa !6
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %75, label %19
19: ; preds = %14
%20 = load ptr, ptr @RTW_ChannelPlanMap, align 8
%21 = getelementptr inbounds %struct.TYPE_6__, ptr %20, i64 %1
%22 = select i1 %10, ptr @RTW_CHANNEL_PLAN_MAP_REALTEK_DEFINE, ptr %21
%23 = load i64, ptr %22, align 8, !tbaa !10
%24 = load ptr, ptr @RTW_ChannelPlan2G, align 8, !tbaa !15
%25 = getelementptr inbounds %struct.TYPE_7__, ptr %24, i64 %23
%26 = load i64, ptr %25, align 8, !tbaa !17
%27 = icmp eq i64 %26, 0
br i1 %27, label %75, label %28
28: ; preds = %19
%29 = load i64, ptr @RT_CHANNEL_DOMAIN_GLOBAL_DOAMIN, align 8, !tbaa !10
%30 = icmp eq i64 %29, %1
%31 = load i64, ptr @RT_CHANNEL_DOMAIN_WORLD_WIDE_13, align 8
%32 = icmp eq i64 %31, %1
br label %33
33: ; preds = %28, %69
%34 = phi ptr [ %24, %28 ], [ %71, %69 ]
%35 = phi i64 [ 0, %28 ], [ %70, %69 ]
%36 = getelementptr inbounds %struct.TYPE_7__, ptr %34, i64 %23, i32 1
%37 = load ptr, ptr %36, align 8, !tbaa !19
%38 = getelementptr inbounds i32, ptr %37, i64 %35
%39 = load i32, ptr %38, align 4, !tbaa !6
%40 = getelementptr inbounds %struct.rt_channel_info, ptr %2, i64 %35
store i32 %39, ptr %40, align 8, !tbaa !20
%41 = load i64, ptr @RT_CHANNEL_DOMAIN_GLOBAL_DOAMIN_2G, align 8
%42 = icmp eq i64 %41, %1
%43 = select i1 %30, i1 true, i1 %42
br i1 %43, label %44, label %56
44: ; preds = %33
%45 = add i32 %39, -1
%46 = icmp ult i32 %45, 11
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load ptr, ptr @SCAN_ACTIVE, align 8, !tbaa !15
%49 = getelementptr inbounds i8, ptr %40, i64 8
store ptr %48, ptr %49, align 8, !tbaa !22
br label %69
50: ; preds = %44
%51 = add i32 %39, -12
%52 = icmp ult i32 %51, 3
br i1 %52, label %53, label %69
53: ; preds = %50
%54 = load ptr, ptr @SCAN_PASSIVE, align 8, !tbaa !15
%55 = getelementptr inbounds i8, ptr %40, i64 8
store ptr %54, ptr %55, align 8, !tbaa !22
br label %69
56: ; preds = %33
%57 = load i64, ptr @RT_CHANNEL_DOMAIN_2G_WORLD, align 8
%58 = icmp eq i64 %23, %57
%59 = select i1 %32, i1 true, i1 %58
%60 = getelementptr inbounds i8, ptr %40, i64 8
br i1 %59, label %61, label %67
61: ; preds = %56
%62 = icmp slt i32 %39, 12
br i1 %62, label %63, label %65
63: ; preds = %61
%64 = load ptr, ptr @SCAN_ACTIVE, align 8, !tbaa !15
store ptr %64, ptr %60, align 8, !tbaa !22
br label %69
65: ; preds = %61
%66 = load ptr, ptr @SCAN_PASSIVE, align 8, !tbaa !15
store ptr %66, ptr %60, align 8, !tbaa !22
br label %69
67: ; preds = %56
%68 = load ptr, ptr @SCAN_ACTIVE, align 8, !tbaa !15
store ptr %68, ptr %60, align 8, !tbaa !22
br label %69
69: ; preds = %67, %65, %63, %47, %53, %50
%70 = add nuw i64 %35, 1
%71 = load ptr, ptr @RTW_ChannelPlan2G, align 8, !tbaa !15
%72 = getelementptr inbounds %struct.TYPE_7__, ptr %71, i64 %23
%73 = load i64, ptr %72, align 8, !tbaa !17
%74 = icmp ult i64 %70, %73
br i1 %74, label %33, label %75, !llvm.loop !23
75: ; preds = %69, %19, %14, %12
%76 = phi i64 [ 0, %12 ], [ 0, %14 ], [ 0, %19 ], [ %70, %69 ]
ret i64 %76
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DBG_88E(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"adapter", !14, i64 0}
!14 = !{!"TYPE_5__", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_7__", !11, i64 0, !16, i64 8}
!19 = !{!18, !16, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"rt_channel_info", !7, i64 0, !16, i64 8}
!22 = !{!21, !16, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
| linux_drivers_staging_rtl8188eu_core_extr_rtw_mlme_ext.c_init_channel_set |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ste/extr_if_ste.c_ste_init.c'
source_filename = "AnghaBench/freebsd/sys/dev/ste/extr_if_ste.c_ste_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ste_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ste_init(ptr noundef %0) #0 {
%2 = tail call i32 @STE_LOCK(ptr noundef %0) #2
%3 = tail call i32 @ste_init_locked(ptr noundef %0) #2
%4 = tail call i32 @STE_UNLOCK(ptr noundef %0) #2
ret void
}
declare i32 @STE_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @ste_init_locked(ptr noundef) local_unnamed_addr #1
declare i32 @STE_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)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ste/extr_if_ste.c_ste_init.c'
source_filename = "AnghaBench/freebsd/sys/dev/ste/extr_if_ste.c_ste_init.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 @ste_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ste_init(ptr noundef %0) #0 {
%2 = tail call i32 @STE_LOCK(ptr noundef %0) #2
%3 = tail call i32 @ste_init_locked(ptr noundef %0) #2
%4 = tail call i32 @STE_UNLOCK(ptr noundef %0) #2
ret void
}
declare i32 @STE_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @ste_init_locked(ptr noundef) local_unnamed_addr #1
declare i32 @STE_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)"}
| freebsd_sys_dev_ste_extr_if_ste.c_ste_init |
; ModuleID = 'AnghaBench/libgit2/tests/refs/extr_revparse.c_test_refs_revparse__uneven_sizes.c'
source_filename = "AnghaBench/libgit2/tests/refs/extr_revparse.c_test_refs_revparse__uneven_sizes.c"
target datalayout = "e-m:e-p270:32:32-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 [40 x i8] c"a65fedf39aefe402d3bb6e24df4d4f5fe454775\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"a65fedf39aefe402d3bb6e24df4d4f5fe4547750\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"a65fedf39aefe402d3bb6e24df4d4f5fe45477\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"a65fedf39aefe402d3bb6e24df4d4f5fe4547\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"a65fedf39aefe402d3bb6e24df4d\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @test_refs_revparse__uneven_sizes() local_unnamed_addr #0 {
%1 = tail call i32 @test_object(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2
%2 = tail call i32 @test_object(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @test_object(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1) #2
%4 = tail call i32 @test_object(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1) #2
ret void
}
declare i32 @test_object(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/libgit2/tests/refs/extr_revparse.c_test_refs_revparse__uneven_sizes.c'
source_filename = "AnghaBench/libgit2/tests/refs/extr_revparse.c_test_refs_revparse__uneven_sizes.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 [40 x i8] c"a65fedf39aefe402d3bb6e24df4d4f5fe454775\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"a65fedf39aefe402d3bb6e24df4d4f5fe4547750\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"a65fedf39aefe402d3bb6e24df4d4f5fe45477\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"a65fedf39aefe402d3bb6e24df4d4f5fe4547\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"a65fedf39aefe402d3bb6e24df4d\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_refs_revparse__uneven_sizes() local_unnamed_addr #0 {
%1 = tail call i32 @test_object(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2
%2 = tail call i32 @test_object(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @test_object(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1) #2
%4 = tail call i32 @test_object(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1) #2
ret void
}
declare i32 @test_object(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)"}
| libgit2_tests_refs_extr_revparse.c_test_refs_revparse__uneven_sizes |
; ModuleID = 'AnghaBench/skynet/3rd/lpeg/extr_lptree.c_lp_P.c'
source_filename = "AnghaBench/skynet/3rd/lpeg/extr_lptree.c_lp_P.c"
target datalayout = "e-m:e-p270:32:32-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 @lp_P], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @lp_P(ptr noundef %0) #0 {
%2 = tail call i32 @luaL_checkany(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @getpatt(ptr noundef %0, i32 noundef 1, ptr noundef null) #2
%4 = tail call i32 @lua_settop(ptr noundef %0, i32 noundef 1) #2
ret i32 1
}
declare i32 @luaL_checkany(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @getpatt(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_settop(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/skynet/3rd/lpeg/extr_lptree.c_lp_P.c'
source_filename = "AnghaBench/skynet/3rd/lpeg/extr_lptree.c_lp_P.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 @lp_P], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @lp_P(ptr noundef %0) #0 {
%2 = tail call i32 @luaL_checkany(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @getpatt(ptr noundef %0, i32 noundef 1, ptr noundef null) #2
%4 = tail call i32 @lua_settop(ptr noundef %0, i32 noundef 1) #2
ret i32 1
}
declare i32 @luaL_checkany(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @getpatt(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_settop(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)"}
| skynet_3rd_lpeg_extr_lptree.c_lp_P |
; ModuleID = 'AnghaBench/linux/drivers/nfc/st21nfca/extr_i2c.c_st21nfca_hci_i2c_disable.c'
source_filename = "AnghaBench/linux/drivers/nfc/st21nfca/extr_i2c.c_st21nfca_hci_i2c_disable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.st21nfca_i2c_phy = type { i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @st21nfca_hci_i2c_disable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @st21nfca_hci_i2c_disable(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.st21nfca_i2c_phy, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @gpiod_set_value(i32 noundef %3, i32 noundef 0) #2
store i64 0, ptr %0, align 8, !tbaa !11
ret void
}
declare i32 @gpiod_set_value(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"st21nfca_i2c_phy", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/nfc/st21nfca/extr_i2c.c_st21nfca_hci_i2c_disable.c'
source_filename = "AnghaBench/linux/drivers/nfc/st21nfca/extr_i2c.c_st21nfca_hci_i2c_disable.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 @st21nfca_hci_i2c_disable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @st21nfca_hci_i2c_disable(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @gpiod_set_value(i32 noundef %3, i32 noundef 0) #2
store i64 0, ptr %0, align 8, !tbaa !12
ret void
}
declare i32 @gpiod_set_value(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"st21nfca_i2c_phy", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
| linux_drivers_nfc_st21nfca_extr_i2c.c_st21nfca_hci_i2c_disable |
; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_path_truncate.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_path_truncate.c"
target datalayout = "e-m:e-p270:32:32-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 @selinux_path_truncate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @selinux_path_truncate(ptr nocapture noundef readonly %0, i32 %1, i32 %2) #0 {
%4 = tail call ptr (...) @current_cred() #2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = tail call i64 @open_inode_to_av(ptr noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %3
%10 = tail call i32 @inode_has_perm(ptr noundef %4, ptr noundef %6, i64 noundef %7, ptr noundef null) #2
br label %11
11: ; preds = %3, %9
%12 = phi i32 [ %10, %9 ], [ 0, %3 ]
ret i32 %12
}
declare ptr @current_cred(...) local_unnamed_addr #1
declare i64 @open_inode_to_av(ptr noundef) local_unnamed_addr #1
declare i32 @inode_has_perm(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"path", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_path_truncate.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_path_truncate.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 @selinux_path_truncate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @selinux_path_truncate(ptr nocapture noundef readonly %0, i32 %1, i32 %2) #0 {
%4 = tail call ptr @current_cred() #2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i64 @open_inode_to_av(ptr noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %3
%10 = tail call i32 @inode_has_perm(ptr noundef %4, ptr noundef %6, i64 noundef %7, ptr noundef null) #2
br label %11
11: ; preds = %3, %9
%12 = phi i32 [ %10, %9 ], [ 0, %3 ]
ret i32 %12
}
declare ptr @current_cred(...) local_unnamed_addr #1
declare i64 @open_inode_to_av(ptr noundef) local_unnamed_addr #1
declare i32 @inode_has_perm(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"path", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
| fastsocket_kernel_security_selinux_extr_hooks.c_selinux_path_truncate |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_ip32.c_parport_ip32_fifo_write_block_pio.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_ip32.c_parport_ip32_fifo_write_block_pio.c"
target datalayout = "e-m:e-p270:32:32-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.parport = type { i64, ptr }
%struct.parport_ip32_private = type { i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@PARPORT_IP32_IRQ_HERE = dso_local local_unnamed_addr global i32 0, align 4
@PARPORT_IRQ_NONE = dso_local local_unnamed_addr global i64 0, align 8
@PARPORT_IP32_IRQ_FWD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parport_ip32_fifo_write_block_pio], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @parport_ip32_fifo_write_block_pio(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = getelementptr inbounds %struct.parport, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load i32, ptr @PARPORT_IP32_IRQ_HERE, align 4, !tbaa !13
store i32 %7, ptr %6, align 4, !tbaa !15
%8 = icmp eq i64 %2, 0
br i1 %8, label %46, label %9
9: ; preds = %3
%10 = getelementptr inbounds %struct.parport_ip32_private, ptr %6, i64 0, i32 1
br label %11
11: ; preds = %9, %42
%12 = phi i64 [ %2, %9 ], [ %44, %42 ]
%13 = phi ptr [ %1, %9 ], [ %43, %42 ]
%14 = load i64, ptr %0, align 8, !tbaa !18
%15 = load i64, ptr @PARPORT_IRQ_NONE, align 8, !tbaa !19
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = tail call i32 @parport_ip32_fwp_wait_polling(ptr noundef nonnull %0) #2
br label %21
19: ; preds = %11
%20 = tail call i32 @parport_ip32_fwp_wait_interrupt(ptr noundef nonnull %0) #2
br label %21
21: ; preds = %19, %17
%22 = phi i32 [ %18, %17 ], [ %20, %19 ]
%23 = icmp eq i32 %22, 0
br i1 %23, label %46, label %24
24: ; preds = %21
%25 = zext i32 %22 to i64
%26 = icmp ult i64 %12, %25
%27 = trunc i64 %12 to i32
%28 = select i1 %26, i32 %27, i32 %22
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %36
30: ; preds = %24
%31 = load i32, ptr %13, align 4, !tbaa !13
%32 = load i32, ptr %10, align 4, !tbaa !20
%33 = tail call i32 @writeb(i32 noundef %31, i32 noundef %32) #2
%34 = getelementptr inbounds i32, ptr %13, i64 1
%35 = add i64 %12, -1
br label %42
36: ; preds = %24
%37 = load i32, ptr %10, align 4, !tbaa !20
%38 = tail call i32 @writesb(i32 noundef %37, ptr noundef %13, i32 noundef %28) #2
%39 = zext i32 %28 to i64
%40 = getelementptr inbounds i32, ptr %13, i64 %39
%41 = sub i64 %12, %39
br label %42
42: ; preds = %30, %36
%43 = phi ptr [ %34, %30 ], [ %40, %36 ]
%44 = phi i64 [ %35, %30 ], [ %41, %36 ]
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %11
46: ; preds = %42, %21, %3
%47 = phi i64 [ 0, %3 ], [ %12, %21 ], [ 0, %42 ]
%48 = load i32, ptr @PARPORT_IP32_IRQ_FWD, align 4, !tbaa !13
store i32 %48, ptr %6, align 4, !tbaa !15
%49 = sub i64 %2, %47
ret i64 %49
}
declare i32 @parport_ip32_fwp_wait_polling(ptr noundef) local_unnamed_addr #1
declare i32 @parport_ip32_fwp_wait_interrupt(ptr noundef) local_unnamed_addr #1
declare i32 @writeb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writesb(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"parport", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_4__", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"parport_ip32_private", !14, i64 0, !17, i64 4}
!17 = !{!"TYPE_3__", !14, i64 0}
!18 = !{!6, !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!16, !14, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_ip32.c_parport_ip32_fifo_write_block_pio.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_ip32.c_parport_ip32_fifo_write_block_pio.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PARPORT_IP32_IRQ_HERE = common local_unnamed_addr global i32 0, align 4
@PARPORT_IRQ_NONE = common local_unnamed_addr global i64 0, align 8
@PARPORT_IP32_IRQ_FWD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parport_ip32_fifo_write_block_pio], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @parport_ip32_fifo_write_block_pio(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i32, ptr @PARPORT_IP32_IRQ_HERE, align 4, !tbaa !14
store i32 %7, ptr %6, align 4, !tbaa !16
%8 = icmp eq i64 %2, 0
br i1 %8, label %46, label %9
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %6, i64 4
br label %11
11: ; preds = %9, %42
%12 = phi i64 [ %2, %9 ], [ %44, %42 ]
%13 = phi ptr [ %1, %9 ], [ %43, %42 ]
%14 = load i64, ptr %0, align 8, !tbaa !19
%15 = load i64, ptr @PARPORT_IRQ_NONE, align 8, !tbaa !20
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = tail call i32 @parport_ip32_fwp_wait_polling(ptr noundef nonnull %0) #2
br label %21
19: ; preds = %11
%20 = tail call i32 @parport_ip32_fwp_wait_interrupt(ptr noundef nonnull %0) #2
br label %21
21: ; preds = %19, %17
%22 = phi i32 [ %18, %17 ], [ %20, %19 ]
%23 = icmp eq i32 %22, 0
br i1 %23, label %46, label %24
24: ; preds = %21
%25 = zext i32 %22 to i64
%26 = icmp ult i64 %12, %25
%27 = trunc nuw i64 %12 to i32
%28 = select i1 %26, i32 %27, i32 %22
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %36
30: ; preds = %24
%31 = load i32, ptr %13, align 4, !tbaa !14
%32 = load i32, ptr %10, align 4, !tbaa !21
%33 = tail call i32 @writeb(i32 noundef %31, i32 noundef %32) #2
%34 = getelementptr inbounds i8, ptr %13, i64 4
%35 = add i64 %12, -1
br label %42
36: ; preds = %24
%37 = load i32, ptr %10, align 4, !tbaa !21
%38 = tail call i32 @writesb(i32 noundef %37, ptr noundef %13, i32 noundef %28) #2
%39 = zext i32 %28 to i64
%40 = getelementptr inbounds i32, ptr %13, i64 %39
%41 = sub i64 %12, %39
br label %42
42: ; preds = %30, %36
%43 = phi ptr [ %34, %30 ], [ %40, %36 ]
%44 = phi i64 [ %35, %30 ], [ %41, %36 ]
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %11
46: ; preds = %42, %21, %3
%47 = phi i64 [ 0, %3 ], [ %12, %21 ], [ 0, %42 ]
%48 = load i32, ptr @PARPORT_IP32_IRQ_FWD, align 4, !tbaa !14
store i32 %48, ptr %6, align 4, !tbaa !16
%49 = sub i64 %2, %47
ret i64 %49
}
declare i32 @parport_ip32_fwp_wait_polling(ptr noundef) local_unnamed_addr #1
declare i32 @parport_ip32_fwp_wait_interrupt(ptr noundef) local_unnamed_addr #1
declare i32 @writeb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writesb(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"parport", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"parport_ip32_private", !15, i64 0, !18, i64 4}
!18 = !{!"TYPE_3__", !15, i64 0}
!19 = !{!7, !8, i64 0}
!20 = !{!8, !8, i64 0}
!21 = !{!17, !15, i64 4}
| fastsocket_kernel_drivers_parport_extr_parport_ip32.c_parport_ip32_fifo_write_block_pio |
; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_pefindrva.c'
source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_pefindrva.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct._IMAGE_SECTION_HEADER = type { i64, i64, i64 }
@.str = private unnamed_addr constant [29 x i8] c"Finding RVA for Physical %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Section %d name %s Raw %x Virt %x\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"RVA %x\0A\00", align 1
@nil = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @pefindrva(ptr noundef %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 (ptr, i64, ...) @DPRINT(ptr noundef nonnull @.str, i64 noundef %2) #2
%5 = icmp sgt i32 %1, 0
br i1 %5, label %6, label %36
6: ; preds = %3
%7 = zext nneg i32 %1 to i64
br label %8
8: ; preds = %6, %33
%9 = phi i64 [ 0, %6 ], [ %34, %33 ]
%10 = getelementptr inbounds %struct._IMAGE_SECTION_HEADER, ptr %0, i64 %9
%11 = tail call ptr @ANSI_NAME_STRING(ptr noundef %10) #2
%12 = load i32, ptr %11, align 4, !tbaa !5
%13 = load i64, ptr %10, align 8, !tbaa !10
%14 = getelementptr inbounds %struct._IMAGE_SECTION_HEADER, ptr %0, i64 %9, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = tail call i32 (ptr, i64, ...) @DPRINT(ptr noundef nonnull @.str.1, i64 noundef %9, i32 noundef %12, i64 noundef %13, i64 noundef %15) #2
%17 = load i64, ptr %10, align 8, !tbaa !10
%18 = icmp sgt i64 %17, %2
br i1 %18, label %33, label %19
19: ; preds = %8
%20 = getelementptr inbounds %struct._IMAGE_SECTION_HEADER, ptr %0, i64 %9, i32 2
%21 = load i64, ptr %20, align 8, !tbaa !14
%22 = add nsw i64 %21, %17
%23 = icmp sgt i64 %22, %2
br i1 %23, label %24, label %33
24: ; preds = %19
%25 = sub i64 %2, %17
%26 = load i64, ptr %14, align 8, !tbaa !13
%27 = add nsw i64 %25, %26
%28 = tail call i32 (ptr, i64, ...) @DPRINT(ptr noundef nonnull @.str.2, i64 noundef %27) #2
%29 = load i64, ptr %10, align 8, !tbaa !10
%30 = sub i64 %2, %29
%31 = load i64, ptr %14, align 8, !tbaa !13
%32 = add nsw i64 %30, %31
br label %38
33: ; preds = %8, %19
%34 = add nuw nsw i64 %9, 1
%35 = icmp eq i64 %34, %7
br i1 %35, label %36, label %8, !llvm.loop !15
36: ; preds = %33, %3
%37 = load i64, ptr @nil, align 8, !tbaa !17
br label %38
38: ; preds = %36, %24
%39 = phi i64 [ %32, %24 ], [ %37, %36 ]
ret i64 %39
}
declare i32 @DPRINT(ptr noundef, i64 noundef, ...) local_unnamed_addr #1
declare ptr @ANSI_NAME_STRING(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_2__", !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 = !{!"_IMAGE_SECTION_HEADER", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!11, !12, i64 16}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_pefindrva.c'
source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_pefindrva.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct._IMAGE_SECTION_HEADER = type { i64, i64, i64 }
@.str = private unnamed_addr constant [29 x i8] c"Finding RVA for Physical %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Section %d name %s Raw %x Virt %x\0A\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"RVA %x\0A\00", align 1
@nil = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @pefindrva(ptr noundef %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 (ptr, i64, ...) @DPRINT(ptr noundef nonnull @.str, i64 noundef %2) #2
%5 = icmp sgt i32 %1, 0
br i1 %5, label %6, label %37
6: ; preds = %3
%7 = zext nneg i32 %1 to i64
br label %8
8: ; preds = %6, %34
%9 = phi i64 [ 0, %6 ], [ %35, %34 ]
%10 = getelementptr inbounds %struct._IMAGE_SECTION_HEADER, ptr %0, i64 %9
%11 = tail call ptr @ANSI_NAME_STRING(ptr noundef %10) #2
%12 = load i32, ptr %11, align 4, !tbaa !6
%13 = load i64, ptr %10, align 8, !tbaa !11
%14 = getelementptr inbounds i8, ptr %10, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = tail call i32 (ptr, i64, ...) @DPRINT(ptr noundef nonnull @.str.1, i64 noundef %9, i32 noundef %12, i64 noundef %13, i64 noundef %15) #2
%17 = load i64, ptr %10, align 8, !tbaa !11
%18 = icmp sgt i64 %17, %2
br i1 %18, label %34, label %19
19: ; preds = %8
%20 = getelementptr inbounds i8, ptr %10, i64 16
%21 = load i64, ptr %20, align 8, !tbaa !15
%22 = add nsw i64 %21, %17
%23 = icmp sgt i64 %22, %2
br i1 %23, label %24, label %34
24: ; preds = %19
%25 = getelementptr inbounds i8, ptr %10, i64 8
%26 = sub i64 %2, %17
%27 = load i64, ptr %25, align 8, !tbaa !14
%28 = add nsw i64 %26, %27
%29 = tail call i32 (ptr, i64, ...) @DPRINT(ptr noundef nonnull @.str.2, i64 noundef %28) #2
%30 = load i64, ptr %10, align 8, !tbaa !11
%31 = sub i64 %2, %30
%32 = load i64, ptr %25, align 8, !tbaa !14
%33 = add nsw i64 %31, %32
br label %39
34: ; preds = %8, %19
%35 = add nuw nsw i64 %9, 1
%36 = icmp eq i64 %35, %7
br i1 %36, label %37, label %8, !llvm.loop !16
37: ; preds = %34, %3
%38 = load i64, ptr @nil, align 8, !tbaa !18
br label %39
39: ; preds = %37, %24
%40 = phi i64 [ %33, %24 ], [ %38, %37 ]
ret i64 %40
}
declare i32 @DPRINT(ptr noundef, i64 noundef, ...) local_unnamed_addr #1
declare ptr @ANSI_NAME_STRING(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_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"_IMAGE_SECTION_HEADER", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!12, !13, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!13, !13, i64 0}
| reactos_sdk_lib_rossym_extr_pe.c_pefindrva |
; ModuleID = 'AnghaBench/linux/drivers/phy/extr_phy-lpc18xx-usb-otg.c_lpc18xx_usb_otg_phy_exit.c'
source_filename = "AnghaBench/linux/drivers/phy/extr_phy-lpc18xx-usb-otg.c_lpc18xx_usb_otg_phy_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @lpc18xx_usb_otg_phy_exit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @lpc18xx_usb_otg_phy_exit(ptr noundef %0) #0 {
%2 = tail call ptr @phy_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @clk_unprepare(i32 noundef %3) #2
ret i32 0
}
declare ptr @phy_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @clk_unprepare(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 = !{!"lpc18xx_usb_otg_phy", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/phy/extr_phy-lpc18xx-usb-otg.c_lpc18xx_usb_otg_phy_exit.c'
source_filename = "AnghaBench/linux/drivers/phy/extr_phy-lpc18xx-usb-otg.c_lpc18xx_usb_otg_phy_exit.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 @lpc18xx_usb_otg_phy_exit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @lpc18xx_usb_otg_phy_exit(ptr noundef %0) #0 {
%2 = tail call ptr @phy_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @clk_unprepare(i32 noundef %3) #2
ret i32 0
}
declare ptr @phy_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @clk_unprepare(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 = !{!"lpc18xx_usb_otg_phy", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_phy_extr_phy-lpc18xx-usb-otg.c_lpc18xx_usb_otg_phy_exit |
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_ich8lan.c_e1000_lv_phy_workarounds_ich8lan.c'
source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_ich8lan.c_e1000_lv_phy_workarounds_ich8lan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.e1000_hw = type { %struct.TYPE_6__, %struct.TYPE_4__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { ptr, ptr }
%struct.TYPE_4__ = type { i64 }
@E1000_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"e1000_lv_phy_workarounds_ich8lan\00", align 1
@e1000_pch2lan = dso_local local_unnamed_addr global i64 0, align 8
@I82579_MSE_THRESHOLD = dso_local local_unnamed_addr global i32 0, align 4
@I82579_MSE_LINK_DOWN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_lv_phy_workarounds_ich8lan], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @e1000_lv_phy_workarounds_ich8lan(ptr noundef %0) #0 {
%2 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2
%3 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr @e1000_pch2lan, align 8, !tbaa !14
%6 = icmp eq i64 %4, %5
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = load i64, ptr @E1000_SUCCESS, align 8, !tbaa !14
br label %28
9: ; preds = %1
%10 = tail call i64 @e1000_set_mdio_slow_mode_hv(ptr noundef nonnull %0) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %28
12: ; preds = %9
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = tail call i64 %14(ptr noundef nonnull %0) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = load i32, ptr @I82579_MSE_THRESHOLD, align 4, !tbaa !16
%19 = tail call i64 @e1000_write_emi_reg_locked(ptr noundef nonnull %0, i32 noundef %18, i32 noundef 52) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load i32, ptr @I82579_MSE_LINK_DOWN, align 4, !tbaa !16
%23 = tail call i64 @e1000_write_emi_reg_locked(ptr noundef nonnull %0, i32 noundef %22, i32 noundef 5) #2
br label %24
24: ; preds = %17, %21
%25 = phi i64 [ %19, %17 ], [ %23, %21 ]
%26 = load ptr, ptr %0, align 8, !tbaa !18
%27 = tail call i32 %26(ptr noundef nonnull %0) #2
br label %28
28: ; preds = %12, %9, %24, %7
%29 = phi i64 [ %8, %7 ], [ %25, %24 ], [ %10, %9 ], [ %15, %12 ]
ret i64 %29
}
declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1
declare i64 @e1000_set_mdio_slow_mode_hv(ptr noundef) local_unnamed_addr #1
declare i64 @e1000_write_emi_reg_locked(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, !13, i64 16}
!6 = !{!"e1000_hw", !7, i64 0, !12, i64 16}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0, !9, i64 8}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!6, !9, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !10, i64 0}
!18 = !{!6, !9, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_ich8lan.c_e1000_lv_phy_workarounds_ich8lan.c'
source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_ich8lan.c_e1000_lv_phy_workarounds_ich8lan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E1000_SUCCESS = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"e1000_lv_phy_workarounds_ich8lan\00", align 1
@e1000_pch2lan = common local_unnamed_addr global i64 0, align 8
@I82579_MSE_THRESHOLD = common local_unnamed_addr global i32 0, align 4
@I82579_MSE_LINK_DOWN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @e1000_lv_phy_workarounds_ich8lan], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @e1000_lv_phy_workarounds_ich8lan(ptr noundef %0) #0 {
%2 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr @e1000_pch2lan, align 8, !tbaa !15
%6 = icmp eq i64 %4, %5
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = load i64, ptr @E1000_SUCCESS, align 8, !tbaa !15
br label %28
9: ; preds = %1
%10 = tail call i64 @e1000_set_mdio_slow_mode_hv(ptr noundef nonnull %0) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %28
12: ; preds = %9
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !16
%15 = tail call i64 %14(ptr noundef nonnull %0) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = load i32, ptr @I82579_MSE_THRESHOLD, align 4, !tbaa !17
%19 = tail call i64 @e1000_write_emi_reg_locked(ptr noundef nonnull %0, i32 noundef %18, i32 noundef 52) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %17
%22 = load i32, ptr @I82579_MSE_LINK_DOWN, align 4, !tbaa !17
%23 = tail call i64 @e1000_write_emi_reg_locked(ptr noundef nonnull %0, i32 noundef %22, i32 noundef 5) #2
br label %24
24: ; preds = %17, %21
%25 = phi i64 [ %19, %17 ], [ %23, %21 ]
%26 = load ptr, ptr %0, align 8, !tbaa !19
%27 = tail call i32 %26(ptr noundef nonnull %0) #2
br label %28
28: ; preds = %12, %9, %24, %7
%29 = phi i64 [ %8, %7 ], [ %25, %24 ], [ %10, %9 ], [ %15, %12 ]
ret i64 %29
}
declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1
declare i64 @e1000_set_mdio_slow_mode_hv(ptr noundef) local_unnamed_addr #1
declare i64 @e1000_write_emi_reg_locked(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, !14, i64 16}
!7 = !{!"e1000_hw", !8, i64 0, !13, i64 16}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"TYPE_5__", !10, i64 0, !10, i64 8}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"long", !11, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!7, !10, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !11, i64 0}
!19 = !{!7, !10, i64 0}
| freebsd_sys_dev_e1000_extr_e1000_ich8lan.c_e1000_lv_phy_workarounds_ich8lan |
; ModuleID = 'AnghaBench/openssl/test/extr_sslapitest.c_compare_hex_encoded_buffer.c'
source_filename = "AnghaBench/openssl/test/extr_sslapitest.c_compare_hex_encoded_buffer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @compare_hex_encoded_buffer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @compare_hex_encoded_buffer(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3) #0 {
%5 = alloca [3 x i8], align 1
call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %5) #3
%6 = shl i64 %3, 1
%7 = tail call i32 @TEST_size_t_eq(i64 noundef %6, i64 noundef %1) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %39, label %9
9: ; preds = %4
%10 = getelementptr inbounds [3 x i8], ptr %5, i64 0, i64 1
%11 = icmp ne i64 %3, 0
%12 = icmp ugt i64 %1, 1
%13 = and i1 %11, %12
br i1 %13, label %14, label %39
14: ; preds = %9, %32
%15 = phi i64 [ %36, %32 ], [ 1, %9 ]
%16 = phi i64 [ %34, %32 ], [ 0, %9 ]
%17 = phi i64 [ %33, %32 ], [ 0, %9 ]
%18 = getelementptr inbounds i32, ptr %2, i64 %17
%19 = load i32, ptr %18, align 4, !tbaa !5
%20 = call i32 @sprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str, i32 noundef %19) #3
%21 = load i8, ptr %5, align 1, !tbaa !9
%22 = getelementptr inbounds i8, ptr %0, i64 %16
%23 = load i8, ptr %22, align 1, !tbaa !9
%24 = call i32 @TEST_int_eq(i8 noundef signext %21, i8 noundef signext %23) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %39, label %26
26: ; preds = %14
%27 = load i8, ptr %10, align 1, !tbaa !9
%28 = getelementptr inbounds i8, ptr %0, i64 %15
%29 = load i8, ptr %28, align 1, !tbaa !9
%30 = call i32 @TEST_int_eq(i8 noundef signext %27, i8 noundef signext %29) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %39, label %32
32: ; preds = %26
%33 = add nuw i64 %17, 1
%34 = add i64 %16, 2
%35 = icmp ult i64 %33, %3
%36 = or disjoint i64 %34, 1
%37 = icmp ult i64 %36, %1
%38 = select i1 %35, i1 %37, i1 false
br i1 %38, label %14, label %39, !llvm.loop !10
39: ; preds = %26, %14, %32, %9, %4
%40 = phi i32 [ 1, %4 ], [ 0, %9 ], [ 1, %26 ], [ 1, %14 ], [ 0, %32 ]
call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %5) #3
ret i32 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TEST_size_t_eq(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @TEST_int_eq(i8 noundef signext, i8 noundef signext) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/openssl/test/extr_sslapitest.c_compare_hex_encoded_buffer.c'
source_filename = "AnghaBench/openssl/test/extr_sslapitest.c_compare_hex_encoded_buffer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @compare_hex_encoded_buffer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @compare_hex_encoded_buffer(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3) #0 {
%5 = alloca [3 x i8], align 1
call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %5) #3
%6 = shl i64 %3, 1
%7 = tail call i32 @TEST_size_t_eq(i64 noundef %6, i64 noundef %1) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %39, label %9
9: ; preds = %4
%10 = getelementptr inbounds i8, ptr %5, i64 1
%11 = icmp ne i64 %3, 0
%12 = icmp ugt i64 %1, 1
%13 = and i1 %11, %12
br i1 %13, label %14, label %39
14: ; preds = %9, %32
%15 = phi i64 [ %34, %32 ], [ 0, %9 ]
%16 = phi i64 [ %33, %32 ], [ 0, %9 ]
%17 = getelementptr inbounds i32, ptr %2, i64 %16
%18 = load i32, ptr %17, align 4, !tbaa !6
%19 = call i32 @sprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str, i32 noundef %18) #3
%20 = load i8, ptr %5, align 1, !tbaa !10
%21 = getelementptr inbounds i8, ptr %0, i64 %15
%22 = load i8, ptr %21, align 1, !tbaa !10
%23 = call i32 @TEST_int_eq(i8 noundef signext %20, i8 noundef signext %22) #3
%24 = icmp eq i32 %23, 0
br i1 %24, label %39, label %25
25: ; preds = %14
%26 = or disjoint i64 %15, 1
%27 = load i8, ptr %10, align 1, !tbaa !10
%28 = getelementptr inbounds i8, ptr %0, i64 %26
%29 = load i8, ptr %28, align 1, !tbaa !10
%30 = call i32 @TEST_int_eq(i8 noundef signext %27, i8 noundef signext %29) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %39, label %32
32: ; preds = %25
%33 = add nuw i64 %16, 1
%34 = add i64 %15, 2
%35 = icmp ult i64 %33, %3
%36 = or disjoint i64 %34, 1
%37 = icmp ult i64 %36, %1
%38 = select i1 %35, i1 %37, i1 false
br i1 %38, label %14, label %39, !llvm.loop !11
39: ; preds = %25, %14, %32, %9, %4
%40 = phi i32 [ 1, %4 ], [ 0, %9 ], [ 1, %25 ], [ 1, %14 ], [ 0, %32 ]
call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %5) #3
ret i32 %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @TEST_size_t_eq(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @TEST_int_eq(i8 noundef signext, i8 noundef signext) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| openssl_test_extr_sslapitest.c_compare_hex_encoded_buffer |
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_info_dds_offset.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_info_dds_offset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_ctl_elem_info = type { i32, %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32, i32 }
@SNDRV_CTL_ELEM_TYPE_INTEGER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_hdsp_info_dds_offset], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal noundef i32 @snd_hdsp_info_dds_offset(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_INTEGER, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 2
store i32 %3, ptr %4, align 4, !tbaa !9
store i32 1, ptr %1, align 4, !tbaa !13
%5 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 1
store i32 -5000, ptr %5, align 4, !tbaa !14
%6 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 1, i32 0, i32 1
store i32 5000, ptr %6, align 4, !tbaa !15
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 12}
!10 = !{!"snd_ctl_elem_info", !6, i64 0, !11, i64 4, !6, i64 12}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!13 = !{!10, !6, i64 0}
!14 = !{!10, !6, i64 4}
!15 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_info_dds_offset.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_info_dds_offset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDRV_CTL_ELEM_TYPE_INTEGER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_hdsp_info_dds_offset], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @snd_hdsp_info_dds_offset(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_INTEGER, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %3, ptr %4, align 4, !tbaa !10
store <2 x i32> <i32 1, i32 -5000>, ptr %1, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 8
store i32 5000, ptr %5, align 4, !tbaa !14
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 12}
!11 = !{!"snd_ctl_elem_info", !7, i64 0, !12, i64 4, !7, i64 12}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!14 = !{!11, !7, i64 8}
| linux_sound_pci_rme9652_extr_hdsp.c_snd_hdsp_info_dds_offset |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_opfn.c_opfn_exit.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_opfn.c_opfn_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"
@opfn_wq = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @opfn_exit() local_unnamed_addr #0 {
%1 = load ptr, ptr @opfn_wq, align 8, !tbaa !5
%2 = icmp eq ptr %1, null
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @destroy_workqueue(ptr noundef nonnull %1) #2
store ptr null, ptr @opfn_wq, align 8, !tbaa !5
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @destroy_workqueue(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_opfn.c_opfn_exit.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_opfn.c_opfn_exit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@opfn_wq = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @opfn_exit() local_unnamed_addr #0 {
%1 = load ptr, ptr @opfn_wq, align 8, !tbaa !6
%2 = icmp eq ptr %1, null
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @destroy_workqueue(ptr noundef nonnull %1) #2
store ptr null, ptr @opfn_wq, align 8, !tbaa !6
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @destroy_workqueue(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_infiniband_hw_hfi1_extr_opfn.c_opfn_exit |
; ModuleID = 'AnghaBench/linux/drivers/clk/mvebu/extr_common.c_mvebu_clk_gating_resume.c'
source_filename = "AnghaBench/linux/drivers/clk/mvebu/extr_common.c_mvebu_clk_gating_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.TYPE_2__ = type { i32, i32 }
@ctrl = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @mvebu_clk_gating_resume], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mvebu_clk_gating_resume() #0 {
%1 = load ptr, ptr @ctrl, align 8, !tbaa !5
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !9
%4 = load i32, ptr %1, align 4, !tbaa !12
%5 = tail call i32 @writel(i32 noundef %3, i32 noundef %4) #2
ret void
}
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 4}
!10 = !{!"TYPE_2__", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/mvebu/extr_common.c_mvebu_clk_gating_resume.c'
source_filename = "AnghaBench/linux/drivers/clk/mvebu/extr_common.c_mvebu_clk_gating_resume.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ctrl = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @mvebu_clk_gating_resume], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mvebu_clk_gating_resume() #0 {
%1 = load ptr, ptr @ctrl, align 8, !tbaa !6
%2 = getelementptr inbounds i8, ptr %1, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = load i32, ptr %1, align 4, !tbaa !13
%5 = tail call i32 @writel(i32 noundef %3, i32 noundef %4) #2
ret void
}
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 0}
| linux_drivers_clk_mvebu_extr_common.c_mvebu_clk_gating_resume |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_vdev_raidz_math_impl.h_raidz_syn_q_abd.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_vdev_raidz_math_impl.h_raidz_syn_q_abd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TARGET_X = dso_local local_unnamed_addr global i64 0, align 8
@SYN_Q_D = dso_local local_unnamed_addr global i32 0, align 4
@SYN_Q_X = dso_local local_unnamed_addr global i32 0, align 4
@SYN_STRIDE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @raidz_syn_q_abd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @raidz_syn_q_abd(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load i64, ptr @TARGET_X, align 8, !tbaa !5
%6 = getelementptr inbounds ptr, ptr %0, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = lshr i64 %3, 2
%9 = getelementptr inbounds i32, ptr %1, i64 %8
%10 = lshr i64 %2, 2
%11 = getelementptr inbounds i32, ptr %7, i64 %10
%12 = tail call i32 (...) @SYN_Q_DEFINE() #2
%13 = tail call i32 (...) @MUL2_SETUP() #2
%14 = and i64 %3, -4
%15 = icmp sgt i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %19, %4
%17 = phi ptr [ %7, %4 ], [ %30, %19 ]
%18 = icmp ult ptr %17, %11
br i1 %18, label %32, label %40
19: ; preds = %4, %19
%20 = phi ptr [ %30, %19 ], [ %7, %4 ]
%21 = phi ptr [ %29, %19 ], [ %1, %4 ]
%22 = load i32, ptr @SYN_Q_D, align 4, !tbaa !11
%23 = tail call i32 @LOAD(ptr noundef %21, i32 noundef %22) #2
%24 = load i32, ptr @SYN_Q_D, align 4, !tbaa !11
%25 = load i32, ptr @SYN_Q_X, align 4, !tbaa !11
%26 = tail call i32 @Q_D_SYNDROME(i32 noundef %24, i32 noundef %25, ptr noundef %20) #2
%27 = load i32, ptr @SYN_STRIDE, align 4, !tbaa !11
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %21, i64 %28
%30 = getelementptr inbounds i32, ptr %20, i64 %28
%31 = icmp ult ptr %29, %9
br i1 %31, label %19, label %16, !llvm.loop !13
32: ; preds = %16, %32
%33 = phi ptr [ %38, %32 ], [ %17, %16 ]
%34 = load i32, ptr @SYN_Q_X, align 4, !tbaa !11
%35 = tail call i32 @Q_SYNDROME(i32 noundef %34, ptr noundef %33) #2
%36 = load i32, ptr @SYN_STRIDE, align 4, !tbaa !11
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %33, i64 %37
%39 = icmp ult ptr %38, %11
br i1 %39, label %32, label %40, !llvm.loop !15
40: ; preds = %32, %16
ret void
}
declare i32 @SYN_Q_DEFINE(...) local_unnamed_addr #1
declare i32 @MUL2_SETUP(...) local_unnamed_addr #1
declare i32 @LOAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Q_D_SYNDROME(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Q_SYNDROME(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
| ; ModuleID = 'AnghaBench/zfs/module/zfs/extr_vdev_raidz_math_impl.h_raidz_syn_q_abd.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_vdev_raidz_math_impl.h_raidz_syn_q_abd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TARGET_X = common local_unnamed_addr global i64 0, align 8
@SYN_Q_D = common local_unnamed_addr global i32 0, align 4
@SYN_Q_X = common local_unnamed_addr global i32 0, align 4
@SYN_STRIDE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @raidz_syn_q_abd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @raidz_syn_q_abd(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load i64, ptr @TARGET_X, align 8, !tbaa !6
%6 = getelementptr inbounds ptr, ptr %0, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = lshr i64 %3, 2
%9 = getelementptr inbounds i32, ptr %1, i64 %8
%10 = lshr i64 %2, 2
%11 = getelementptr inbounds i32, ptr %7, i64 %10
%12 = tail call i32 @SYN_Q_DEFINE() #2
%13 = tail call i32 @MUL2_SETUP() #2
%14 = and i64 %3, -4
%15 = icmp sgt i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %19, %4
%17 = phi ptr [ %7, %4 ], [ %30, %19 ]
%18 = icmp ult ptr %17, %11
br i1 %18, label %32, label %40
19: ; preds = %4, %19
%20 = phi ptr [ %30, %19 ], [ %7, %4 ]
%21 = phi ptr [ %29, %19 ], [ %1, %4 ]
%22 = load i32, ptr @SYN_Q_D, align 4, !tbaa !12
%23 = tail call i32 @LOAD(ptr noundef %21, i32 noundef %22) #2
%24 = load i32, ptr @SYN_Q_D, align 4, !tbaa !12
%25 = load i32, ptr @SYN_Q_X, align 4, !tbaa !12
%26 = tail call i32 @Q_D_SYNDROME(i32 noundef %24, i32 noundef %25, ptr noundef %20) #2
%27 = load i32, ptr @SYN_STRIDE, align 4, !tbaa !12
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %21, i64 %28
%30 = getelementptr inbounds i32, ptr %20, i64 %28
%31 = icmp ult ptr %29, %9
br i1 %31, label %19, label %16, !llvm.loop !14
32: ; preds = %16, %32
%33 = phi ptr [ %38, %32 ], [ %17, %16 ]
%34 = load i32, ptr @SYN_Q_X, align 4, !tbaa !12
%35 = tail call i32 @Q_SYNDROME(i32 noundef %34, ptr noundef %33) #2
%36 = load i32, ptr @SYN_STRIDE, align 4, !tbaa !12
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %33, i64 %37
%39 = icmp ult ptr %38, %11
br i1 %39, label %32, label %40, !llvm.loop !16
40: ; preds = %32, %16
ret void
}
declare i32 @SYN_Q_DEFINE(...) local_unnamed_addr #1
declare i32 @MUL2_SETUP(...) local_unnamed_addr #1
declare i32 @LOAD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Q_D_SYNDROME(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Q_SYNDROME(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
| zfs_module_zfs_extr_vdev_raidz_math_impl.h_raidz_syn_q_abd |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/pcmcia/extr_synclink_cs.c_mgslpc_probe.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/pcmcia/extr_synclink_cs.c_mgslpc_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, %struct.TYPE_10__, i32, i32 }
%struct.TYPE_10__ = type { i32, i32, ptr }
%struct.pcmcia_device = type { %struct.TYPE_8__, %struct.TYPE_7__, ptr }
%struct.TYPE_8__ = type { i32, i64 }
%struct.TYPE_7__ = type { ptr, i32, i32 }
@debug_level = dso_local local_unnamed_addr global i64 0, align 8
@DEBUG_LEVEL_INFO = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [15 x i8] c"mgslpc_attach\0A\00", align 1
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [43 x i8] c"Error can't allocate device instance data\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@MGSLPC_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@mgslpc_port_ops = dso_local global i32 0, align 4
@bh_handler = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@default_params = dso_local global i32 0, align 4
@HDLC_TXIDLE_FLAGS = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_DYNAMIC_SHARING = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_LEVEL_ID = dso_local local_unnamed_addr global i32 0, align 4
@INT_MEMORY_AND_IO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mgslpc_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mgslpc_probe(ptr noundef %0) #0 {
%2 = load i64, ptr @debug_level, align 8, !tbaa !5
%3 = load i64, ptr @DEBUG_LEVEL_INFO, align 8, !tbaa !5
%4 = icmp slt i64 %2, %3
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @printk(ptr noundef nonnull @.str) #3
br label %7
7: ; preds = %5, %1
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9
%9 = tail call ptr @kzalloc(i32 noundef 72, i32 noundef %8) #3
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = tail call i32 @printk(ptr noundef nonnull @.str.1) #3
%13 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%14 = sub nsw i32 0, %13
br label %55
15: ; preds = %7
%16 = load i32, ptr @MGSLPC_MAGIC, align 4, !tbaa !9
%17 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 13
store i32 %16, ptr %17, align 4, !tbaa !11
%18 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 11
%19 = tail call i32 @tty_port_init(ptr noundef nonnull %18) #3
%20 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 11, i32 2
store ptr @mgslpc_port_ops, ptr %20, align 8, !tbaa !15
%21 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 12
%22 = load i32, ptr @bh_handler, align 4, !tbaa !9
%23 = tail call i32 @INIT_WORK(ptr noundef nonnull %21, i32 noundef %22) #3
store i32 4096, ptr %9, align 8, !tbaa !16
%24 = load i32, ptr @HZ, align 4, !tbaa !9
%25 = sdiv i32 %24, 2
store i32 %25, ptr %18, align 8, !tbaa !17
%26 = mul nsw i32 %24, 30
%27 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 11, i32 1
store i32 %26, ptr %27, align 4, !tbaa !18
%28 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 10
%29 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %28) #3
%30 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 9
%31 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %30) #3
%32 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 8
%33 = tail call i32 @spin_lock_init(ptr noundef nonnull %32) #3
%34 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 7
%35 = tail call i32 @spin_lock_init(ptr noundef nonnull %34) #3
%36 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 6
%37 = tail call i32 @memcpy(ptr noundef nonnull %36, ptr noundef nonnull @default_params, i32 noundef 4) #3
%38 = load i32, ptr @HDLC_TXIDLE_FLAGS, align 4, !tbaa !9
%39 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 5
store i32 %38, ptr %39, align 8, !tbaa !19
%40 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 1
store i32 65535, ptr %40, align 4, !tbaa !20
%41 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 2
store i32 65535, ptr %41, align 8, !tbaa !21
%42 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 3
store i32 255, ptr %42, align 4, !tbaa !22
%43 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 4
store ptr %0, ptr %43, align 8, !tbaa !23
%44 = getelementptr inbounds %struct.pcmcia_device, ptr %0, i64 0, i32 2
store ptr %9, ptr %44, align 8, !tbaa !24
%45 = load i32, ptr @IRQ_TYPE_DYNAMIC_SHARING, align 4, !tbaa !9
%46 = getelementptr inbounds %struct.pcmcia_device, ptr %0, i64 0, i32 1, i32 2
store i32 %45, ptr %46, align 4, !tbaa !28
%47 = load i32, ptr @IRQ_LEVEL_ID, align 4, !tbaa !9
%48 = getelementptr inbounds %struct.pcmcia_device, ptr %0, i64 0, i32 1, i32 1
store i32 %47, ptr %48, align 8, !tbaa !29
%49 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %49, i8 0, i64 16, i1 false)
%50 = load i32, ptr @INT_MEMORY_AND_IO, align 4, !tbaa !9
store i32 %50, ptr %0, align 8, !tbaa !30
%51 = tail call i32 @mgslpc_config(ptr noundef nonnull %0) #3
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %15
%54 = tail call i32 @mgslpc_add_device(ptr noundef nonnull %9) #3
br label %55
55: ; preds = %15, %53, %11
%56 = phi i32 [ 0, %53 ], [ %14, %11 ], [ %51, %15 ]
ret i32 %56
}
declare i32 @printk(ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tty_port_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mgslpc_config(ptr noundef) local_unnamed_addr #1
declare i32 @mgslpc_add_device(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 68}
!12 = !{!"TYPE_9__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !13, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !14, i64 48, !10, i64 64, !10, i64 68}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"TYPE_10__", !10, i64 0, !10, i64 4, !13, i64 8}
!15 = !{!12, !13, i64 56}
!16 = !{!12, !10, i64 0}
!17 = !{!12, !10, i64 48}
!18 = !{!12, !10, i64 52}
!19 = !{!12, !10, i64 24}
!20 = !{!12, !10, i64 4}
!21 = !{!12, !10, i64 8}
!22 = !{!12, !10, i64 12}
!23 = !{!12, !13, i64 16}
!24 = !{!25, !13, i64 32}
!25 = !{!"pcmcia_device", !26, i64 0, !27, i64 16, !13, i64 32}
!26 = !{!"TYPE_8__", !10, i64 0, !6, i64 8}
!27 = !{!"TYPE_7__", !13, i64 0, !10, i64 8, !10, i64 12}
!28 = !{!25, !10, i64 28}
!29 = !{!25, !10, i64 24}
!30 = !{!25, !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/pcmcia/extr_synclink_cs.c_mgslpc_probe.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/pcmcia/extr_synclink_cs.c_mgslpc_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@debug_level = common local_unnamed_addr global i64 0, align 8
@DEBUG_LEVEL_INFO = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [15 x i8] c"mgslpc_attach\0A\00", align 1
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [43 x i8] c"Error can't allocate device instance data\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@MGSLPC_MAGIC = common local_unnamed_addr global i32 0, align 4
@mgslpc_port_ops = common global i32 0, align 4
@bh_handler = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@default_params = common global i32 0, align 4
@HDLC_TXIDLE_FLAGS = common local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_DYNAMIC_SHARING = common local_unnamed_addr global i32 0, align 4
@IRQ_LEVEL_ID = common local_unnamed_addr global i32 0, align 4
@INT_MEMORY_AND_IO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mgslpc_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mgslpc_probe(ptr noundef %0) #0 {
%2 = load i64, ptr @debug_level, align 8, !tbaa !6
%3 = load i64, ptr @DEBUG_LEVEL_INFO, align 8, !tbaa !6
%4 = icmp slt i64 %2, %3
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @printk(ptr noundef nonnull @.str) #3
br label %7
7: ; preds = %5, %1
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10
%9 = tail call ptr @kzalloc(i32 noundef 72, i32 noundef %8) #3
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = tail call i32 @printk(ptr noundef nonnull @.str.1) #3
%13 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%14 = sub nsw i32 0, %13
br label %54
15: ; preds = %7
%16 = load i32, ptr @MGSLPC_MAGIC, align 4, !tbaa !10
%17 = getelementptr inbounds i8, ptr %9, i64 68
store i32 %16, ptr %17, align 4, !tbaa !12
%18 = getelementptr inbounds i8, ptr %9, i64 48
%19 = tail call i32 @tty_port_init(ptr noundef nonnull %18) #3
%20 = getelementptr inbounds i8, ptr %9, i64 56
store ptr @mgslpc_port_ops, ptr %20, align 8, !tbaa !16
%21 = getelementptr inbounds i8, ptr %9, i64 64
%22 = load i32, ptr @bh_handler, align 4, !tbaa !10
%23 = tail call i32 @INIT_WORK(ptr noundef nonnull %21, i32 noundef %22) #3
store i32 4096, ptr %9, align 8, !tbaa !17
%24 = load i32, ptr @HZ, align 4, !tbaa !10
%25 = sdiv i32 %24, 2
store i32 %25, ptr %18, align 8, !tbaa !18
%26 = mul nsw i32 %24, 30
%27 = getelementptr inbounds i8, ptr %9, i64 52
store i32 %26, ptr %27, align 4, !tbaa !19
%28 = getelementptr inbounds i8, ptr %9, i64 44
%29 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %28) #3
%30 = getelementptr inbounds i8, ptr %9, i64 40
%31 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %30) #3
%32 = getelementptr inbounds i8, ptr %9, i64 36
%33 = tail call i32 @spin_lock_init(ptr noundef nonnull %32) #3
%34 = getelementptr inbounds i8, ptr %9, i64 32
%35 = tail call i32 @spin_lock_init(ptr noundef nonnull %34) #3
%36 = getelementptr inbounds i8, ptr %9, i64 28
%37 = tail call i32 @memcpy(ptr noundef nonnull %36, ptr noundef nonnull @default_params, i32 noundef 4) #3
%38 = load i32, ptr @HDLC_TXIDLE_FLAGS, align 4, !tbaa !10
%39 = getelementptr inbounds i8, ptr %9, i64 24
store i32 %38, ptr %39, align 8, !tbaa !20
%40 = getelementptr inbounds i8, ptr %9, i64 4
store <2 x i32> <i32 65535, i32 65535>, ptr %40, align 4, !tbaa !10
%41 = getelementptr inbounds i8, ptr %9, i64 12
store i32 255, ptr %41, align 4, !tbaa !21
%42 = getelementptr inbounds i8, ptr %9, i64 16
store ptr %0, ptr %42, align 8, !tbaa !22
%43 = getelementptr inbounds i8, ptr %0, i64 32
store ptr %9, ptr %43, align 8, !tbaa !23
%44 = load i32, ptr @IRQ_TYPE_DYNAMIC_SHARING, align 4, !tbaa !10
%45 = getelementptr inbounds i8, ptr %0, i64 28
store i32 %44, ptr %45, align 4, !tbaa !27
%46 = load i32, ptr @IRQ_LEVEL_ID, align 4, !tbaa !10
%47 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %46, ptr %47, align 8, !tbaa !28
%48 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %48, i8 0, i64 16, i1 false)
%49 = load i32, ptr @INT_MEMORY_AND_IO, align 4, !tbaa !10
store i32 %49, ptr %0, align 8, !tbaa !29
%50 = tail call i32 @mgslpc_config(ptr noundef nonnull %0) #3
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %15
%53 = tail call i32 @mgslpc_add_device(ptr noundef nonnull %9) #3
br label %54
54: ; preds = %15, %52, %11
%55 = phi i32 [ 0, %52 ], [ %14, %11 ], [ %50, %15 ]
ret i32 %55
}
declare i32 @printk(ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tty_port_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mgslpc_config(ptr noundef) local_unnamed_addr #1
declare i32 @mgslpc_add_device(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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 68}
!13 = !{!"TYPE_9__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !14, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !15, i64 48, !11, i64 64, !11, i64 68}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"TYPE_10__", !11, i64 0, !11, i64 4, !14, i64 8}
!16 = !{!13, !14, i64 56}
!17 = !{!13, !11, i64 0}
!18 = !{!13, !11, i64 48}
!19 = !{!13, !11, i64 52}
!20 = !{!13, !11, i64 24}
!21 = !{!13, !11, i64 12}
!22 = !{!13, !14, i64 16}
!23 = !{!24, !14, i64 32}
!24 = !{!"pcmcia_device", !25, i64 0, !26, i64 16, !14, i64 32}
!25 = !{!"TYPE_8__", !11, i64 0, !7, i64 8}
!26 = !{!"TYPE_7__", !14, i64 0, !11, i64 8, !11, i64 12}
!27 = !{!24, !11, i64 28}
!28 = !{!24, !11, i64 24}
!29 = !{!24, !11, i64 0}
| fastsocket_kernel_drivers_char_pcmcia_extr_synclink_cs.c_mgslpc_probe |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_ib/extr_mlx5_ib_gsi.c_generate_completions.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_ib/extr_mlx5_ib_gsi.c_generate_completions.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mlx5_ib_gsi_qp = type { i64, i64, i64, %struct.TYPE_3__, ptr, %struct.TYPE_4__ }
%struct.TYPE_3__ = type { i64 }
%struct.TYPE_4__ = type { ptr }
%struct.mlx5_ib_gsi_wr = type { i32, i32, i32 }
@IB_SIGNAL_ALL_WR = dso_local local_unnamed_addr global i64 0, align 8
@IB_SEND_SIGNALED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @generate_completions], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @generate_completions(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.mlx5_ib_gsi_qp, ptr %0, i64 0, i32 5
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %0, align 8, !tbaa !13
%5 = getelementptr inbounds %struct.mlx5_ib_gsi_qp, ptr %0, i64 0, i32 4
%6 = getelementptr inbounds %struct.mlx5_ib_gsi_qp, ptr %0, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !14
%8 = icmp eq i64 %4, %7
br i1 %8, label %40, label %9
9: ; preds = %1
%10 = getelementptr inbounds %struct.mlx5_ib_gsi_qp, ptr %0, i64 0, i32 3
%11 = getelementptr inbounds %struct.mlx5_ib_gsi_qp, ptr %0, i64 0, i32 2
br label %12
12: ; preds = %9, %36
%13 = phi i64 [ %7, %9 ], [ %37, %36 ]
%14 = phi i64 [ %4, %9 ], [ %38, %36 ]
%15 = load ptr, ptr %5, align 8, !tbaa !15
%16 = load i64, ptr %10, align 8, !tbaa !16
%17 = urem i64 %14, %16
%18 = getelementptr inbounds %struct.mlx5_ib_gsi_wr, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4, !tbaa !17
%20 = icmp eq i32 %19, 0
br i1 %20, label %40, label %21
21: ; preds = %12
%22 = load i64, ptr %11, align 8, !tbaa !20
%23 = load i64, ptr @IB_SIGNAL_ALL_WR, align 8, !tbaa !21
%24 = icmp eq i64 %22, %23
br i1 %24, label %31, label %25
25: ; preds = %21
%26 = getelementptr inbounds %struct.mlx5_ib_gsi_wr, ptr %15, i64 %17, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !22
%28 = load i32, ptr @IB_SEND_SIGNALED, align 4, !tbaa !23
%29 = and i32 %28, %27
%30 = icmp eq i32 %29, 0
br i1 %30, label %36, label %31
31: ; preds = %25, %21
%32 = getelementptr inbounds %struct.mlx5_ib_gsi_wr, ptr %15, i64 %17, i32 2
%33 = tail call i32 @mlx5_ib_generate_wc(ptr noundef %3, ptr noundef nonnull %32) #2
%34 = tail call i32 @WARN_ON_ONCE(i32 noundef %33) #2
%35 = load i64, ptr %6, align 8, !tbaa !14
br label %36
36: ; preds = %31, %25
%37 = phi i64 [ %35, %31 ], [ %13, %25 ]
store i32 0, ptr %18, align 4, !tbaa !17
%38 = add i64 %14, 1
%39 = icmp eq i64 %38, %37
br i1 %39, label %40, label %12, !llvm.loop !24
40: ; preds = %36, %12, %1
%41 = phi i64 [ %4, %1 ], [ %14, %12 ], [ %37, %36 ]
store i64 %41, ptr %0, align 8, !tbaa !13
ret void
}
declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_generate_wc(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 40}
!6 = !{!"mlx5_ib_gsi_qp", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !12, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_3__", !7, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"TYPE_4__", !11, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !11, i64 32}
!16 = !{!6, !7, i64 24}
!17 = !{!18, !19, i64 0}
!18 = !{!"mlx5_ib_gsi_wr", !19, i64 0, !19, i64 4, !19, i64 8}
!19 = !{!"int", !8, i64 0}
!20 = !{!6, !7, i64 16}
!21 = !{!7, !7, i64 0}
!22 = !{!18, !19, i64 4}
!23 = !{!19, !19, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_ib/extr_mlx5_ib_gsi.c_generate_completions.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_ib/extr_mlx5_ib_gsi.c_generate_completions.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mlx5_ib_gsi_wr = type { i32, i32, i32 }
@IB_SIGNAL_ALL_WR = common local_unnamed_addr global i64 0, align 8
@IB_SEND_SIGNALED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @generate_completions], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @generate_completions(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 40
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %0, align 8, !tbaa !14
%5 = getelementptr inbounds i8, ptr %0, i64 32
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !15
%8 = icmp eq i64 %4, %7
br i1 %8, label %40, label %9
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %0, i64 24
%11 = getelementptr inbounds i8, ptr %0, i64 16
br label %12
12: ; preds = %9, %36
%13 = phi i64 [ %7, %9 ], [ %37, %36 ]
%14 = phi i64 [ %4, %9 ], [ %38, %36 ]
%15 = load ptr, ptr %5, align 8, !tbaa !16
%16 = load i64, ptr %10, align 8, !tbaa !17
%17 = urem i64 %14, %16
%18 = getelementptr inbounds %struct.mlx5_ib_gsi_wr, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4, !tbaa !18
%20 = icmp eq i32 %19, 0
br i1 %20, label %40, label %21
21: ; preds = %12
%22 = load i64, ptr %11, align 8, !tbaa !21
%23 = load i64, ptr @IB_SIGNAL_ALL_WR, align 8, !tbaa !22
%24 = icmp eq i64 %22, %23
br i1 %24, label %31, label %25
25: ; preds = %21
%26 = getelementptr inbounds i8, ptr %18, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !23
%28 = load i32, ptr @IB_SEND_SIGNALED, align 4, !tbaa !24
%29 = and i32 %28, %27
%30 = icmp eq i32 %29, 0
br i1 %30, label %36, label %31
31: ; preds = %25, %21
%32 = getelementptr inbounds i8, ptr %18, i64 8
%33 = tail call i32 @mlx5_ib_generate_wc(ptr noundef %3, ptr noundef nonnull %32) #2
%34 = tail call i32 @WARN_ON_ONCE(i32 noundef %33) #2
%35 = load i64, ptr %6, align 8, !tbaa !15
br label %36
36: ; preds = %31, %25
%37 = phi i64 [ %35, %31 ], [ %13, %25 ]
store i32 0, ptr %18, align 4, !tbaa !18
%38 = add i64 %14, 1
%39 = icmp eq i64 %38, %37
br i1 %39, label %40, label %12, !llvm.loop !25
40: ; preds = %36, %12, %1
%41 = phi i64 [ %4, %1 ], [ %14, %12 ], [ %37, %36 ]
store i64 %41, ptr %0, align 8, !tbaa !14
ret void
}
declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_ib_generate_wc(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 40}
!7 = !{!"mlx5_ib_gsi_qp", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !12, i64 32, !13, i64 40}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_3__", !8, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"TYPE_4__", !12, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !12, i64 32}
!17 = !{!7, !8, i64 24}
!18 = !{!19, !20, i64 0}
!19 = !{!"mlx5_ib_gsi_wr", !20, i64 0, !20, i64 4, !20, i64 8}
!20 = !{!"int", !9, i64 0}
!21 = !{!7, !8, i64 16}
!22 = !{!8, !8, i64 0}
!23 = !{!19, !20, i64 4}
!24 = !{!20, !20, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_mlx5_mlx5_ib_extr_mlx5_ib_gsi.c_generate_completions |
; ModuleID = 'AnghaBench/freebsd/sys/dev/fxp/extr_if_fxp.c_fxp_miibus_writereg.c'
source_filename = "AnghaBench/freebsd/sys/dev/fxp/extr_if_fxp.c_fxp_miibus_writereg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FXP_CSR_MDICONTROL = dso_local local_unnamed_addr global i32 0, align 4
@FXP_MDI_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"fxp_miibus_writereg: timed out\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @fxp_miibus_writereg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @fxp_miibus_writereg(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @device_get_softc(i32 noundef %0) #2
%6 = load i32, ptr @FXP_CSR_MDICONTROL, align 4, !tbaa !5
%7 = load i32, ptr @FXP_MDI_WRITE, align 4, !tbaa !5
%8 = shl i32 %7, 26
%9 = shl i32 %2, 16
%10 = shl i32 %1, 21
%11 = and i32 %3, 65535
%12 = or i32 %9, %10
%13 = or disjoint i32 %12, %11
%14 = or i32 %13, %8
%15 = tail call i32 @CSR_WRITE_4(ptr noundef %5, i32 noundef %6, i32 noundef %14) #2
%16 = load i32, ptr @FXP_CSR_MDICONTROL, align 4, !tbaa !5
%17 = tail call i32 @CSR_READ_4(ptr noundef %5, i32 noundef %16) #2
%18 = and i32 %17, 268435456
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %34
20: ; preds = %4, %23
%21 = phi i32 [ %24, %23 ], [ 10000, %4 ]
%22 = icmp eq i32 %21, 0
br i1 %22, label %32, label %23
23: ; preds = %20
%24 = add nsw i32 %21, -1
%25 = tail call i32 @DELAY(i32 noundef 10) #2
%26 = load i32, ptr @FXP_CSR_MDICONTROL, align 4, !tbaa !5
%27 = tail call i32 @CSR_READ_4(ptr noundef %5, i32 noundef %26) #2
%28 = and i32 %27, 268435456
%29 = icmp eq i32 %28, 0
br i1 %29, label %20, label %30, !llvm.loop !9
30: ; preds = %23
%31 = icmp slt i32 %21, 2
br i1 %31, label %32, label %34
32: ; preds = %20, %30
%33 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str) #2
br label %34
34: ; preds = %4, %32, %30
ret i32 0
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CSR_READ_4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DELAY(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/fxp/extr_if_fxp.c_fxp_miibus_writereg.c'
source_filename = "AnghaBench/freebsd/sys/dev/fxp/extr_if_fxp.c_fxp_miibus_writereg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FXP_CSR_MDICONTROL = common local_unnamed_addr global i32 0, align 4
@FXP_MDI_WRITE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"fxp_miibus_writereg: timed out\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @fxp_miibus_writereg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @fxp_miibus_writereg(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @device_get_softc(i32 noundef %0) #2
%6 = load i32, ptr @FXP_CSR_MDICONTROL, align 4, !tbaa !6
%7 = load i32, ptr @FXP_MDI_WRITE, align 4, !tbaa !6
%8 = shl i32 %7, 26
%9 = shl i32 %2, 16
%10 = shl i32 %1, 21
%11 = and i32 %3, 65535
%12 = or i32 %9, %10
%13 = or disjoint i32 %12, %11
%14 = or i32 %13, %8
%15 = tail call i32 @CSR_WRITE_4(ptr noundef %5, i32 noundef %6, i32 noundef %14) #2
%16 = load i32, ptr @FXP_CSR_MDICONTROL, align 4, !tbaa !6
%17 = tail call i32 @CSR_READ_4(ptr noundef %5, i32 noundef %16) #2
%18 = and i32 %17, 268435456
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %34
20: ; preds = %4, %23
%21 = phi i32 [ %24, %23 ], [ 10000, %4 ]
%22 = icmp eq i32 %21, 0
br i1 %22, label %32, label %23
23: ; preds = %20
%24 = add nsw i32 %21, -1
%25 = tail call i32 @DELAY(i32 noundef 10) #2
%26 = load i32, ptr @FXP_CSR_MDICONTROL, align 4, !tbaa !6
%27 = tail call i32 @CSR_READ_4(ptr noundef %5, i32 noundef %26) #2
%28 = and i32 %27, 268435456
%29 = icmp eq i32 %28, 0
br i1 %29, label %20, label %30, !llvm.loop !10
30: ; preds = %23
%31 = icmp slt i32 %21, 2
br i1 %31, label %32, label %34
32: ; preds = %20, %30
%33 = tail call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str) #2
br label %34
34: ; preds = %4, %32, %30
ret i32 0
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CSR_READ_4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DELAY(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_fxp_extr_if_fxp.c_fxp_miibus_writereg |
; ModuleID = 'AnghaBench/freebsd/sys/arm/samsung/exynos/extr_exynos_uart.c_exynos4210_rxready.c'
source_filename = "AnghaBench/freebsd/sys/arm/samsung/exynos/extr_exynos_uart.c_exynos4210_rxready.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SSCOM_UTRSTAT = dso_local local_unnamed_addr global i32 0, align 4
@UTRSTAT_RXREADY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @exynos4210_rxready], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @exynos4210_rxready(ptr noundef %0) #0 {
%2 = load i32, ptr @SSCOM_UTRSTAT, align 4, !tbaa !5
%3 = tail call i32 @uart_getreg(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @UTRSTAT_RXREADY, align 4, !tbaa !5
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, %4
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @uart_getreg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/samsung/exynos/extr_exynos_uart.c_exynos4210_rxready.c'
source_filename = "AnghaBench/freebsd/sys/arm/samsung/exynos/extr_exynos_uart.c_exynos4210_rxready.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SSCOM_UTRSTAT = common local_unnamed_addr global i32 0, align 4
@UTRSTAT_RXREADY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @exynos4210_rxready], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @exynos4210_rxready(ptr noundef %0) #0 {
%2 = load i32, ptr @SSCOM_UTRSTAT, align 4, !tbaa !6
%3 = tail call i32 @uart_getreg(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @UTRSTAT_RXREADY, align 4, !tbaa !6
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, %4
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @uart_getreg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_arm_samsung_exynos_extr_exynos_uart.c_exynos4210_rxready |
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_btst_8_r_pd.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_btst_8_r_pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DX = dso_local local_unnamed_addr global i32 0, align 4
@FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @m68k_op_btst_8_r_pd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @m68k_op_btst_8_r_pd() #0 {
%1 = tail call i32 (...) @OPER_AY_PD_8() #2
%2 = load i32, ptr @DX, align 4, !tbaa !5
%3 = and i32 %2, 7
%4 = shl nuw nsw i32 1, %3
%5 = and i32 %4, %1
store i32 %5, ptr @FLAG_Z, align 4, !tbaa !5
ret void
}
declare i32 @OPER_AY_PD_8(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_btst_8_r_pd.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_btst_8_r_pd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DX = common local_unnamed_addr global i32 0, align 4
@FLAG_Z = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @m68k_op_btst_8_r_pd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @m68k_op_btst_8_r_pd() #0 {
%1 = tail call i32 @OPER_AY_PD_8() #2
%2 = load i32, ptr @DX, align 4, !tbaa !6
%3 = and i32 %2, 7
%4 = shl nuw nsw i32 1, %3
%5 = and i32 %4, %1
store i32 %5, ptr @FLAG_Z, align 4, !tbaa !6
ret void
}
declare i32 @OPER_AY_PD_8(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_btst_8_r_pd |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI4FromUI8.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI4FromUI8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ULONG64 = dso_local local_unnamed_addr global i32 0, align 4
@VarI4FromUI8 = dso_local local_unnamed_addr global i32 0, align 4
@EXPECT_OVERFLOW = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_VarI4FromUI8], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_VarI4FromUI8() #0 {
%1 = load i32, ptr @ULONG64, align 4, !tbaa !5
%2 = tail call i32 @CONVVARS(i32 noundef %1) #2
%3 = load i32, ptr @VarI4FromUI8, align 4, !tbaa !5
%4 = tail call i32 @CONVERT(i32 noundef %3, i64 noundef 0) #2
%5 = tail call i32 @EXPECT(i32 noundef 0) #2
%6 = load i32, ptr @VarI4FromUI8, align 4, !tbaa !5
%7 = tail call i32 @CONVERT(i32 noundef %6, i64 noundef 1) #2
%8 = tail call i32 @EXPECT(i32 noundef 1) #2
%9 = load i32, ptr @VarI4FromUI8, align 4, !tbaa !5
%10 = tail call i32 @CONVERT(i32 noundef %9, i64 noundef 2147483647) #2
%11 = tail call i32 @EXPECT(i32 noundef 2147483647) #2
%12 = load i32, ptr @VarI4FromUI8, align 4, !tbaa !5
%13 = tail call i32 @CONVERT(i32 noundef %12, i64 noundef 2147483648) #2
ret void
}
declare i32 @CONVVARS(i32 noundef) local_unnamed_addr #1
declare i32 @CONVERT(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @EXPECT(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/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI4FromUI8.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarI4FromUI8.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ULONG64 = common local_unnamed_addr global i32 0, align 4
@VarI4FromUI8 = common local_unnamed_addr global i32 0, align 4
@EXPECT_OVERFLOW = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_VarI4FromUI8], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_VarI4FromUI8() #0 {
%1 = load i32, ptr @ULONG64, align 4, !tbaa !6
%2 = tail call i32 @CONVVARS(i32 noundef %1) #2
%3 = load i32, ptr @VarI4FromUI8, align 4, !tbaa !6
%4 = tail call i32 @CONVERT(i32 noundef %3, i64 noundef 0) #2
%5 = tail call i32 @EXPECT(i32 noundef 0) #2
%6 = load i32, ptr @VarI4FromUI8, align 4, !tbaa !6
%7 = tail call i32 @CONVERT(i32 noundef %6, i64 noundef 1) #2
%8 = tail call i32 @EXPECT(i32 noundef 1) #2
%9 = load i32, ptr @VarI4FromUI8, align 4, !tbaa !6
%10 = tail call i32 @CONVERT(i32 noundef %9, i64 noundef 2147483647) #2
%11 = tail call i32 @EXPECT(i32 noundef 2147483647) #2
%12 = load i32, ptr @VarI4FromUI8, align 4, !tbaa !6
%13 = tail call i32 @CONVERT(i32 noundef %12, i64 noundef 2147483648) #2
ret void
}
declare i32 @CONVVARS(i32 noundef) local_unnamed_addr #1
declare i32 @CONVERT(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @EXPECT(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"}
| reactos_modules_rostests_winetests_oleaut32_extr_vartype.c_test_VarI4FromUI8 |
; ModuleID = 'AnghaBench/linux/drivers/net/team/extr_team.c_team_change_carrier.c'
source_filename = "AnghaBench/linux/drivers/net/team/extr_team.c_team_change_carrier.c"
target datalayout = "e-m:e-p270:32:32-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 @team_change_carrier], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @team_change_carrier(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
store i32 1, ptr %3, align 4, !tbaa !5
%4 = icmp eq i32 %1, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @netif_carrier_on(ptr noundef %0) #2
br label %9
7: ; preds = %2
%8 = tail call i32 @netif_carrier_off(ptr noundef %0) #2
br label %9
9: ; preds = %7, %5
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @netif_carrier_on(ptr noundef) local_unnamed_addr #1
declare i32 @netif_carrier_off(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"team", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/team/extr_team.c_team_change_carrier.c'
source_filename = "AnghaBench/linux/drivers/net/team/extr_team.c_team_change_carrier.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 @team_change_carrier], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @team_change_carrier(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
store i32 1, ptr %3, align 4, !tbaa !6
%4 = icmp eq i32 %1, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @netif_carrier_on(ptr noundef %0) #2
br label %9
7: ; preds = %2
%8 = tail call i32 @netif_carrier_off(ptr noundef %0) #2
br label %9
9: ; preds = %7, %5
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @netif_carrier_on(ptr noundef) local_unnamed_addr #1
declare i32 @netif_carrier_off(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"team", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_team_extr_team.c_team_change_carrier |
; ModuleID = 'AnghaBench/linux/net/mac80211/extr_util.c_ieee80211_ie_build_ht_cap.c'
source_filename = "AnghaBench/linux/net/mac80211/extr_util.c_ieee80211_ie_build_ht_cap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ieee80211_sta_ht_cap = type { i32, i32, i32 }
@WLAN_EID_HT_CAPABILITY = dso_local local_unnamed_addr global i32 0, align 4
@IEEE80211_HT_AMPDU_PARM_DENSITY_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local nonnull ptr @ieee80211_ie_build_ht_cap(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @WLAN_EID_HT_CAPABILITY, align 4, !tbaa !5
%6 = getelementptr inbounds i32, ptr %0, i64 1
store i32 %5, ptr %0, align 4, !tbaa !5
%7 = getelementptr inbounds i32, ptr %0, i64 2
store i32 4, ptr %6, align 4, !tbaa !5
%8 = tail call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 4) #3
%9 = tail call i32 @cpu_to_le16(i32 noundef %2) #3
store i32 %9, ptr %4, align 4, !tbaa !5
%10 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef nonnull %4, i32 noundef 4) #3
%11 = getelementptr inbounds i32, ptr %0, i64 6
%12 = load i32, ptr %1, align 4, !tbaa !9
%13 = getelementptr inbounds %struct.ieee80211_sta_ht_cap, ptr %1, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = load i32, ptr @IEEE80211_HT_AMPDU_PARM_DENSITY_SHIFT, align 4, !tbaa !5
%16 = shl i32 %14, %15
%17 = or i32 %16, %12
%18 = getelementptr inbounds i32, ptr %0, i64 7
store i32 %17, ptr %11, align 4, !tbaa !5
%19 = getelementptr inbounds %struct.ieee80211_sta_ht_cap, ptr %1, i64 0, i32 2
%20 = call i32 @memcpy(ptr noundef nonnull %18, ptr noundef nonnull %19, i32 noundef 4) #3
%21 = getelementptr inbounds i32, ptr %0, i64 23
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret ptr %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"ieee80211_sta_ht_cap", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/net/mac80211/extr_util.c_ieee80211_ie_build_ht_cap.c'
source_filename = "AnghaBench/linux/net/mac80211/extr_util.c_ieee80211_ie_build_ht_cap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WLAN_EID_HT_CAPABILITY = common local_unnamed_addr global i32 0, align 4
@IEEE80211_HT_AMPDU_PARM_DENSITY_SHIFT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define nonnull ptr @ieee80211_ie_build_ht_cap(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @WLAN_EID_HT_CAPABILITY, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %5, ptr %0, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 8
store i32 4, ptr %6, align 4, !tbaa !6
%8 = tail call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 4) #3
%9 = tail call i32 @cpu_to_le16(i32 noundef %2) #3
store i32 %9, ptr %4, align 4, !tbaa !6
%10 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef nonnull %4, i32 noundef 4) #3
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = load i32, ptr %1, align 4, !tbaa !10
%13 = getelementptr inbounds i8, ptr %1, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = load i32, ptr @IEEE80211_HT_AMPDU_PARM_DENSITY_SHIFT, align 4, !tbaa !6
%16 = shl i32 %14, %15
%17 = or i32 %16, %12
%18 = getelementptr inbounds i8, ptr %0, i64 28
store i32 %17, ptr %11, align 4, !tbaa !6
%19 = getelementptr inbounds i8, ptr %1, i64 8
%20 = call i32 @memcpy(ptr noundef nonnull %18, ptr noundef nonnull %19, i32 noundef 4) #3
%21 = getelementptr inbounds i8, ptr %0, i64 92
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret ptr %21
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"ieee80211_sta_ht_cap", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
| linux_net_mac80211_extr_util.c_ieee80211_ie_build_ht_cap |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_mcast_get_rx_tx_flag.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_mcast_get_rx_tx_flag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BNX2X_OBJ_TYPE_TX = dso_local local_unnamed_addr global i64 0, align 8
@BNX2X_OBJ_TYPE_RX_TX = dso_local local_unnamed_addr global i64 0, align 8
@ETH_MULTICAST_RULES_CMD_TX_CMD = dso_local local_unnamed_addr global i32 0, align 4
@BNX2X_OBJ_TYPE_RX = dso_local local_unnamed_addr global i64 0, align 8
@ETH_MULTICAST_RULES_CMD_RX_CMD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_mcast_get_rx_tx_flag], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @bnx2x_mcast_get_rx_tx_flag(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @BNX2X_OBJ_TYPE_TX, align 8, !tbaa !10
%4 = icmp eq i64 %2, %3
%5 = load i64, ptr @BNX2X_OBJ_TYPE_RX_TX, align 8
%6 = icmp eq i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
%8 = load i32, ptr @ETH_MULTICAST_RULES_CMD_TX_CMD, align 4
%9 = select i1 %7, i32 %8, i32 0
%10 = load i64, ptr @BNX2X_OBJ_TYPE_RX, align 8, !tbaa !10
%11 = icmp eq i64 %2, %10
%12 = select i1 %11, i1 true, i1 %6
%13 = load i32, ptr @ETH_MULTICAST_RULES_CMD_RX_CMD, align 4
%14 = select i1 %12, i32 %13, i32 0
%15 = or i32 %14, %9
ret i32 %15
}
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 = !{!"bnx2x_raw_obj", !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/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_mcast_get_rx_tx_flag.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sp.c_bnx2x_mcast_get_rx_tx_flag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BNX2X_OBJ_TYPE_TX = common local_unnamed_addr global i64 0, align 8
@BNX2X_OBJ_TYPE_RX_TX = common local_unnamed_addr global i64 0, align 8
@ETH_MULTICAST_RULES_CMD_TX_CMD = common local_unnamed_addr global i32 0, align 4
@BNX2X_OBJ_TYPE_RX = common local_unnamed_addr global i64 0, align 8
@ETH_MULTICAST_RULES_CMD_RX_CMD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bnx2x_mcast_get_rx_tx_flag], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @bnx2x_mcast_get_rx_tx_flag(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @BNX2X_OBJ_TYPE_TX, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
%5 = load i64, ptr @BNX2X_OBJ_TYPE_RX_TX, align 8
%6 = icmp eq i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
%8 = load i32, ptr @ETH_MULTICAST_RULES_CMD_TX_CMD, align 4
%9 = select i1 %7, i32 %8, i32 0
%10 = load i64, ptr @BNX2X_OBJ_TYPE_RX, align 8, !tbaa !11
%11 = icmp eq i64 %2, %10
%12 = select i1 %11, i1 true, i1 %6
%13 = load i32, ptr @ETH_MULTICAST_RULES_CMD_RX_CMD, align 4
%14 = select i1 %12, i32 %13, i32 0
%15 = or i32 %14, %9
ret i32 %15
}
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 = !{!"bnx2x_raw_obj", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_net_bnx2x_extr_bnx2x_sp.c_bnx2x_mcast_get_rx_tx_flag |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/extr_dmaengine.c_dma_async_memcpy_buf_to_buf.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/extr_dmaengine.c_dma_async_memcpy_buf_to_buf.c"
target datalayout = "e-m:e-p270:32:32-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.dma_chan = type { i32, ptr }
%struct.dma_device = type { i32, ptr }
%struct.dma_async_tx_descriptor = type { ptr, ptr }
%struct.TYPE_2__ = type { i64, i32 }
@DMA_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@DMA_CTRL_ACK = dso_local local_unnamed_addr global i64 0, align 8
@DMA_COMPL_SRC_UNMAP_SINGLE = dso_local local_unnamed_addr global i64 0, align 8
@DMA_COMPL_DEST_UNMAP_SINGLE = dso_local local_unnamed_addr global i64 0, align 8
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dma_async_memcpy_buf_to_buf(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.dma_chan, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !13
%9 = tail call i32 @dma_map_single(i32 noundef %7, ptr noundef %2, i64 noundef %3, i32 noundef %8) #2
%10 = load i32, ptr %6, align 8, !tbaa !11
%11 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !13
%12 = tail call i32 @dma_map_single(i32 noundef %10, ptr noundef %1, i64 noundef %3, i32 noundef %11) #2
%13 = load i64, ptr @DMA_CTRL_ACK, align 8, !tbaa !14
%14 = load i64, ptr @DMA_COMPL_SRC_UNMAP_SINGLE, align 8, !tbaa !14
%15 = or i64 %14, %13
%16 = load i64, ptr @DMA_COMPL_DEST_UNMAP_SINGLE, align 8, !tbaa !14
%17 = or i64 %15, %16
%18 = getelementptr inbounds %struct.dma_device, ptr %6, i64 0, i32 1
%19 = load ptr, ptr %18, align 8, !tbaa !16
%20 = tail call ptr %19(ptr noundef %0, i32 noundef %12, i32 noundef %9, i64 noundef %3, i64 noundef %17) #2
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %31
22: ; preds = %4
%23 = load i32, ptr %6, align 8, !tbaa !11
%24 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !13
%25 = tail call i32 @dma_unmap_single(i32 noundef %23, i32 noundef %9, i64 noundef %3, i32 noundef %24) #2
%26 = load i32, ptr %6, align 8, !tbaa !11
%27 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !13
%28 = tail call i32 @dma_unmap_single(i32 noundef %26, i32 noundef %12, i64 noundef %3, i32 noundef %27) #2
%29 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%30 = sub nsw i32 0, %29
br label %46
31: ; preds = %4
%32 = getelementptr inbounds %struct.dma_async_tx_descriptor, ptr %20, i64 0, i32 1
store ptr null, ptr %32, align 8, !tbaa !17
%33 = load ptr, ptr %20, align 8, !tbaa !19
%34 = tail call i32 %33(ptr noundef nonnull %20) #2
%35 = tail call i32 (...) @get_cpu() #2
%36 = load i32, ptr %0, align 8, !tbaa !20
%37 = tail call ptr @per_cpu_ptr(i32 noundef %36, i32 noundef %35) #2
%38 = load i64, ptr %37, align 8, !tbaa !21
%39 = add i64 %38, %3
store i64 %39, ptr %37, align 8, !tbaa !21
%40 = load i32, ptr %0, align 8, !tbaa !20
%41 = tail call ptr @per_cpu_ptr(i32 noundef %40, i32 noundef %35) #2
%42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i64 0, i32 1
%43 = load i32, ptr %42, align 8, !tbaa !23
%44 = add nsw i32 %43, 1
store i32 %44, ptr %42, align 8, !tbaa !23
%45 = tail call i32 (...) @put_cpu() #2
br label %46
46: ; preds = %31, %22
%47 = phi i32 [ %34, %31 ], [ %30, %22 ]
ret i32 %47
}
declare i32 @dma_map_single(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_single(i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_cpu(...) local_unnamed_addr #1
declare ptr @per_cpu_ptr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @put_cpu(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"dma_chan", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"dma_device", !7, i64 0, !10, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!12, !10, i64 8}
!17 = !{!18, !10, i64 8}
!18 = !{!"dma_async_tx_descriptor", !10, i64 0, !10, i64 8}
!19 = !{!18, !10, i64 0}
!20 = !{!6, !7, i64 0}
!21 = !{!22, !15, i64 0}
!22 = !{!"TYPE_2__", !15, i64 0, !7, i64 8}
!23 = !{!22, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/extr_dmaengine.c_dma_async_memcpy_buf_to_buf.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/extr_dmaengine.c_dma_async_memcpy_buf_to_buf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DMA_TO_DEVICE = common local_unnamed_addr global i32 0, align 4
@DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4
@DMA_CTRL_ACK = common local_unnamed_addr global i64 0, align 8
@DMA_COMPL_SRC_UNMAP_SINGLE = common local_unnamed_addr global i64 0, align 8
@DMA_COMPL_DEST_UNMAP_SINGLE = common local_unnamed_addr global i64 0, align 8
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dma_async_memcpy_buf_to_buf(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !14
%9 = tail call i32 @dma_map_single(i32 noundef %7, ptr noundef %2, i64 noundef %3, i32 noundef %8) #2
%10 = load i32, ptr %6, align 8, !tbaa !12
%11 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !14
%12 = tail call i32 @dma_map_single(i32 noundef %10, ptr noundef %1, i64 noundef %3, i32 noundef %11) #2
%13 = load i64, ptr @DMA_CTRL_ACK, align 8, !tbaa !15
%14 = load i64, ptr @DMA_COMPL_SRC_UNMAP_SINGLE, align 8, !tbaa !15
%15 = or i64 %14, %13
%16 = load i64, ptr @DMA_COMPL_DEST_UNMAP_SINGLE, align 8, !tbaa !15
%17 = or i64 %15, %16
%18 = getelementptr inbounds i8, ptr %6, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !17
%20 = tail call ptr %19(ptr noundef %0, i32 noundef %12, i32 noundef %9, i64 noundef %3, i64 noundef %17) #2
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %31
22: ; preds = %4
%23 = load i32, ptr %6, align 8, !tbaa !12
%24 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !14
%25 = tail call i32 @dma_unmap_single(i32 noundef %23, i32 noundef %9, i64 noundef %3, i32 noundef %24) #2
%26 = load i32, ptr %6, align 8, !tbaa !12
%27 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !14
%28 = tail call i32 @dma_unmap_single(i32 noundef %26, i32 noundef %12, i64 noundef %3, i32 noundef %27) #2
%29 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%30 = sub nsw i32 0, %29
br label %46
31: ; preds = %4
%32 = getelementptr inbounds i8, ptr %20, i64 8
store ptr null, ptr %32, align 8, !tbaa !18
%33 = load ptr, ptr %20, align 8, !tbaa !20
%34 = tail call i32 %33(ptr noundef nonnull %20) #2
%35 = tail call i32 @get_cpu() #2
%36 = load i32, ptr %0, align 8, !tbaa !21
%37 = tail call ptr @per_cpu_ptr(i32 noundef %36, i32 noundef %35) #2
%38 = load i64, ptr %37, align 8, !tbaa !22
%39 = add i64 %38, %3
store i64 %39, ptr %37, align 8, !tbaa !22
%40 = load i32, ptr %0, align 8, !tbaa !21
%41 = tail call ptr @per_cpu_ptr(i32 noundef %40, i32 noundef %35) #2
%42 = getelementptr inbounds i8, ptr %41, i64 8
%43 = load i32, ptr %42, align 8, !tbaa !24
%44 = add nsw i32 %43, 1
store i32 %44, ptr %42, align 8, !tbaa !24
%45 = tail call i32 @put_cpu() #2
br label %46
46: ; preds = %31, %22
%47 = phi i32 [ %34, %31 ], [ %30, %22 ]
ret i32 %47
}
declare i32 @dma_map_single(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_unmap_single(i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_cpu(...) local_unnamed_addr #1
declare ptr @per_cpu_ptr(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @put_cpu(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"dma_chan", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"dma_device", !8, i64 0, !11, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!13, !11, i64 8}
!18 = !{!19, !11, i64 8}
!19 = !{!"dma_async_tx_descriptor", !11, i64 0, !11, i64 8}
!20 = !{!19, !11, i64 0}
!21 = !{!7, !8, i64 0}
!22 = !{!23, !16, i64 0}
!23 = !{!"TYPE_2__", !16, i64 0, !8, i64 8}
!24 = !{!23, !8, i64 8}
| fastsocket_kernel_drivers_dma_extr_dmaengine.c_dma_async_memcpy_buf_to_buf |
; ModuleID = 'AnghaBench/micropython/ports/cc3200/hal/extr_uart.c_UARTIntRegister.c'
source_filename = "AnghaBench/micropython/ports/cc3200/hal/extr_uart.c_UARTIntRegister.c"
target datalayout = "e-m:e-p270:32:32-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 @UARTIntRegister(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @UARTBaseValid(i64 noundef %0) #2
%4 = tail call i32 @ASSERT(i32 noundef %3) #2
%5 = tail call i64 @UARTIntNumberGet(i64 noundef %0) #2
%6 = tail call i32 @IntRegister(i64 noundef %5, ptr noundef %1) #2
%7 = tail call i32 @IntEnable(i64 noundef %5) #2
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @UARTBaseValid(i64 noundef) local_unnamed_addr #1
declare i64 @UARTIntNumberGet(i64 noundef) local_unnamed_addr #1
declare i32 @IntRegister(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IntEnable(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/micropython/ports/cc3200/hal/extr_uart.c_UARTIntRegister.c'
source_filename = "AnghaBench/micropython/ports/cc3200/hal/extr_uart.c_UARTIntRegister.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 @UARTIntRegister(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @UARTBaseValid(i64 noundef %0) #2
%4 = tail call i32 @ASSERT(i32 noundef %3) #2
%5 = tail call i64 @UARTIntNumberGet(i64 noundef %0) #2
%6 = tail call i32 @IntRegister(i64 noundef %5, ptr noundef %1) #2
%7 = tail call i32 @IntEnable(i64 noundef %5) #2
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @UARTBaseValid(i64 noundef) local_unnamed_addr #1
declare i64 @UARTIntNumberGet(i64 noundef) local_unnamed_addr #1
declare i32 @IntRegister(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IntEnable(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)"}
| micropython_ports_cc3200_hal_extr_uart.c_UARTIntRegister |
; ModuleID = 'AnghaBench/reactos/sdk/lib/scrnsave/extr_scrnsave.c__toulptr.c'
source_filename = "AnghaBench/reactos/sdk/lib/scrnsave/extr_scrnsave.c__toulptr.c"
target datalayout = "e-m:e-p270:32:32-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 @_toulptr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @_toulptr(ptr noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !5
%3 = icmp eq i8 %2, 0
br i1 %3, label %13, label %4
4: ; preds = %1, %9
%5 = phi i8 [ %11, %9 ], [ %2, %1 ]
%6 = phi ptr [ %10, %9 ], [ %0, %1 ]
%7 = tail call i32 @ISNUM(i8 noundef signext %5) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %4
%10 = getelementptr inbounds i8, ptr %6, i64 1
%11 = load i8, ptr %10, align 1, !tbaa !5
%12 = icmp eq i8 %11, 0
br i1 %12, label %13, label %4, !llvm.loop !8
13: ; preds = %9, %4, %1
%14 = phi ptr [ %0, %1 ], [ %6, %4 ], [ %10, %9 ]
%15 = getelementptr inbounds i8, ptr %14, i64 -1
%16 = icmp ult ptr %15, %0
br i1 %16, label %29, label %17
17: ; preds = %13, %17
%18 = phi ptr [ %27, %17 ], [ %15, %13 ]
%19 = phi i32 [ %26, %17 ], [ 1, %13 ]
%20 = phi i32 [ %25, %17 ], [ 0, %13 ]
%21 = load i8, ptr %18, align 1, !tbaa !5
%22 = sext i8 %21 to i32
%23 = add nsw i32 %22, -48
%24 = mul nsw i32 %23, %19
%25 = add nsw i32 %24, %20
%26 = mul nsw i32 %19, 10
%27 = getelementptr inbounds i8, ptr %18, i64 -1
%28 = icmp ult ptr %27, %0
br i1 %28, label %29, label %17, !llvm.loop !10
29: ; preds = %17, %13
%30 = phi i32 [ 0, %13 ], [ %25, %17 ]
ret i32 %30
}
declare i32 @ISNUM(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"}
!10 = distinct !{!10, !9}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/scrnsave/extr_scrnsave.c__toulptr.c'
source_filename = "AnghaBench/reactos/sdk/lib/scrnsave/extr_scrnsave.c__toulptr.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 @_toulptr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @_toulptr(ptr noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !6
%3 = icmp eq i8 %2, 0
br i1 %3, label %13, label %4
4: ; preds = %1, %9
%5 = phi i8 [ %11, %9 ], [ %2, %1 ]
%6 = phi ptr [ %10, %9 ], [ %0, %1 ]
%7 = tail call i32 @ISNUM(i8 noundef signext %5) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %4
%10 = getelementptr inbounds i8, ptr %6, i64 1
%11 = load i8, ptr %10, align 1, !tbaa !6
%12 = icmp eq i8 %11, 0
br i1 %12, label %13, label %4, !llvm.loop !9
13: ; preds = %9, %4, %1
%14 = phi ptr [ %0, %1 ], [ %6, %4 ], [ %10, %9 ]
%15 = getelementptr inbounds i8, ptr %14, i64 -1
%16 = icmp ult ptr %15, %0
br i1 %16, label %29, label %17
17: ; preds = %13, %17
%18 = phi ptr [ %27, %17 ], [ %15, %13 ]
%19 = phi i32 [ %26, %17 ], [ 1, %13 ]
%20 = phi i32 [ %25, %17 ], [ 0, %13 ]
%21 = load i8, ptr %18, align 1, !tbaa !6
%22 = sext i8 %21 to i32
%23 = add nsw i32 %22, -48
%24 = mul nsw i32 %23, %19
%25 = add nsw i32 %24, %20
%26 = mul nuw nsw i32 %19, 10
%27 = getelementptr inbounds i8, ptr %18, i64 -1
%28 = icmp ult ptr %27, %0
br i1 %28, label %29, label %17, !llvm.loop !11
29: ; preds = %17, %13
%30 = phi i32 [ 0, %13 ], [ %25, %17 ]
ret i32 %30
}
declare i32 @ISNUM(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"}
!11 = distinct !{!11, !10}
| reactos_sdk_lib_scrnsave_extr_scrnsave.c__toulptr |
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_renameColumnParseError.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_renameColumnParseError.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"error in %s %s%s: %s\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c" after rename\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @renameColumnParseError], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @renameColumnParseError(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef readonly %4) #0 {
%6 = tail call i64 @sqlite3_value_text(ptr noundef %2) #2
%7 = inttoptr i64 %6 to ptr
%8 = tail call i64 @sqlite3_value_text(ptr noundef %3) #2
%9 = inttoptr i64 %8 to ptr
%10 = icmp eq i32 %1, 0
%11 = select i1 %10, ptr @.str.2, ptr @.str.1
%12 = load i32, ptr %4, align 4, !tbaa !5
%13 = tail call ptr @sqlite3_mprintf(ptr noundef nonnull @.str, ptr noundef %7, ptr noundef %9, ptr noundef nonnull %11, i32 noundef %12) #2
%14 = tail call i32 @sqlite3_result_error(ptr noundef %0, ptr noundef %13, i32 noundef -1) #2
%15 = tail call i32 @sqlite3_free(ptr noundef %13) #2
ret void
}
declare i64 @sqlite3_value_text(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_mprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_result_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
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_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_renameColumnParseError.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_renameColumnParseError.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [21 x i8] c"error in %s %s%s: %s\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c" after rename\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.used = appending global [1 x ptr] [ptr @renameColumnParseError], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @renameColumnParseError(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef readonly %4) #0 {
%6 = tail call i64 @sqlite3_value_text(ptr noundef %2) #2
%7 = inttoptr i64 %6 to ptr
%8 = tail call i64 @sqlite3_value_text(ptr noundef %3) #2
%9 = inttoptr i64 %8 to ptr
%10 = icmp eq i32 %1, 0
%11 = select i1 %10, ptr @.str.2, ptr @.str.1
%12 = load i32, ptr %4, align 4, !tbaa !6
%13 = tail call ptr @sqlite3_mprintf(ptr noundef nonnull @.str, ptr noundef %7, ptr noundef %9, ptr noundef nonnull %11, i32 noundef %12) #2
%14 = tail call i32 @sqlite3_result_error(ptr noundef %0, ptr noundef %13, i32 noundef -1) #2
%15 = tail call i32 @sqlite3_free(ptr noundef %13) #2
ret void
}
declare i64 @sqlite3_value_text(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_mprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_result_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
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_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| mimikatz_modules_extr_sqlite3_omit.c_renameColumnParseError |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_main.c_atl1c_clean_tx_irq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_main.c_atl1c_clean_tx_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"
%struct.atl1c_adapter = type { i32, i32, ptr, ptr }
%struct.atl1c_tpd_ring = type { i64, i32, ptr }
%struct.atl1c_buffer = type { ptr }
@atl1c_trans_high = dso_local local_unnamed_addr global i32 0, align 4
@REG_TPD_PRI1_CIDX = dso_local local_unnamed_addr global i64 0, align 8
@REG_TPD_PRI0_CIDX = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @atl1c_clean_tx_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @atl1c_clean_tx_irq(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = getelementptr inbounds %struct.atl1c_adapter, ptr %0, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = zext i32 %1 to i64
%7 = getelementptr inbounds %struct.atl1c_tpd_ring, ptr %5, i64 %6
%8 = getelementptr inbounds %struct.atl1c_adapter, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = getelementptr inbounds %struct.atl1c_tpd_ring, ptr %5, i64 %6, i32 1
%11 = tail call i64 @atomic_read(ptr noundef nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%12 = load i32, ptr @atl1c_trans_high, align 4, !tbaa !12
%13 = icmp eq i32 %12, %1
%14 = load i64, ptr @REG_TPD_PRI1_CIDX, align 8
%15 = load i64, ptr @REG_TPD_PRI0_CIDX, align 8
%16 = select i1 %13, i64 %14, i64 %15
%17 = getelementptr inbounds %struct.atl1c_adapter, ptr %0, i64 0, i32 1
%18 = call i32 @AT_READ_REGW(ptr noundef nonnull %17, i64 noundef %16, ptr noundef nonnull %3) #3
%19 = load i64, ptr %3, align 8, !tbaa !13
%20 = icmp eq i64 %11, %19
br i1 %20, label %47, label %21
21: ; preds = %2
%22 = getelementptr inbounds %struct.atl1c_tpd_ring, ptr %5, i64 %6, i32 2
br label %23
23: ; preds = %21, %36
%24 = phi i32 [ 0, %21 ], [ %38, %36 ]
%25 = phi i32 [ 0, %21 ], [ %37, %36 ]
%26 = phi i64 [ %11, %21 ], [ %43, %36 ]
%27 = load ptr, ptr %22, align 8, !tbaa !15
%28 = getelementptr inbounds %struct.atl1c_buffer, ptr %27, i64 %26
%29 = load ptr, ptr %28, align 8, !tbaa !17
%30 = icmp eq ptr %29, null
br i1 %30, label %36, label %31
31: ; preds = %23
%32 = load i64, ptr %29, align 8, !tbaa !19
%33 = trunc i64 %32 to i32
%34 = add i32 %25, %33
%35 = add i32 %24, 1
br label %36
36: ; preds = %31, %23
%37 = phi i32 [ %34, %31 ], [ %25, %23 ]
%38 = phi i32 [ %35, %31 ], [ %24, %23 ]
%39 = call i32 @atl1c_clean_buffer(ptr noundef %9, ptr noundef nonnull %28) #3
%40 = add i64 %26, 1
%41 = load i64, ptr %7, align 8, !tbaa !21
%42 = icmp eq i64 %40, %41
%43 = select i1 %42, i64 0, i64 %40
%44 = call i32 @atomic_set(ptr noundef nonnull %10, i64 noundef %43) #3
%45 = load i64, ptr %3, align 8, !tbaa !13
%46 = icmp eq i64 %43, %45
br i1 %46, label %47, label %23, !llvm.loop !22
47: ; preds = %36, %2
%48 = phi i32 [ 0, %2 ], [ %37, %36 ]
%49 = phi i32 [ 0, %2 ], [ %38, %36 ]
%50 = load i32, ptr %0, align 8, !tbaa !24
%51 = call i32 @netdev_completed_queue(i32 noundef %50, i32 noundef %49, i32 noundef %48) #3
%52 = load i32, ptr %0, align 8, !tbaa !24
%53 = call i64 @netif_queue_stopped(i32 noundef %52) #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %62, label %55
55: ; preds = %47
%56 = load i32, ptr %0, align 8, !tbaa !24
%57 = call i64 @netif_carrier_ok(i32 noundef %56) #3
%58 = icmp eq i64 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %55
%60 = load i32, ptr %0, align 8, !tbaa !24
%61 = call i32 @netif_wake_queue(i32 noundef %60) #3
br label %62
62: ; preds = %59, %55, %47
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #2
declare i32 @AT_READ_REGW(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atl1c_clean_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atomic_set(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @netdev_completed_queue(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @netif_queue_stopped(i32 noundef) local_unnamed_addr #2
declare i64 @netif_carrier_ok(i32 noundef) local_unnamed_addr #2
declare i32 @netif_wake_queue(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"atl1c_adapter", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !10, i64 16}
!16 = !{!"atl1c_tpd_ring", !14, i64 0, !7, i64 8, !10, i64 16}
!17 = !{!18, !10, i64 0}
!18 = !{!"atl1c_buffer", !10, i64 0}
!19 = !{!20, !14, i64 0}
!20 = !{!"TYPE_2__", !14, i64 0}
!21 = !{!16, !14, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_main.c_atl1c_clean_tx_irq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_main.c_atl1c_clean_tx_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.atl1c_tpd_ring = type { i64, i32, ptr }
%struct.atl1c_buffer = type { ptr }
@atl1c_trans_high = common local_unnamed_addr global i32 0, align 4
@REG_TPD_PRI1_CIDX = common local_unnamed_addr global i64 0, align 8
@REG_TPD_PRI0_CIDX = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @atl1c_clean_tx_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @atl1c_clean_tx_irq(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = zext i32 %1 to i64
%7 = getelementptr inbounds %struct.atl1c_tpd_ring, ptr %5, i64 %6
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = getelementptr inbounds i8, ptr %7, i64 8
%11 = tail call i64 @atomic_read(ptr noundef nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%12 = load i32, ptr @atl1c_trans_high, align 4, !tbaa !13
%13 = icmp eq i32 %12, %1
%14 = load i64, ptr @REG_TPD_PRI1_CIDX, align 8
%15 = load i64, ptr @REG_TPD_PRI0_CIDX, align 8
%16 = select i1 %13, i64 %14, i64 %15
%17 = getelementptr inbounds i8, ptr %0, i64 4
%18 = call i32 @AT_READ_REGW(ptr noundef nonnull %17, i64 noundef %16, ptr noundef nonnull %3) #3
%19 = load i64, ptr %3, align 8, !tbaa !14
%20 = icmp eq i64 %11, %19
br i1 %20, label %47, label %21
21: ; preds = %2
%22 = getelementptr inbounds i8, ptr %7, i64 16
br label %23
23: ; preds = %21, %36
%24 = phi i32 [ 0, %21 ], [ %38, %36 ]
%25 = phi i32 [ 0, %21 ], [ %37, %36 ]
%26 = phi i64 [ %11, %21 ], [ %43, %36 ]
%27 = load ptr, ptr %22, align 8, !tbaa !16
%28 = getelementptr inbounds %struct.atl1c_buffer, ptr %27, i64 %26
%29 = load ptr, ptr %28, align 8, !tbaa !18
%30 = icmp eq ptr %29, null
br i1 %30, label %36, label %31
31: ; preds = %23
%32 = load i64, ptr %29, align 8, !tbaa !20
%33 = trunc i64 %32 to i32
%34 = add i32 %25, %33
%35 = add i32 %24, 1
br label %36
36: ; preds = %31, %23
%37 = phi i32 [ %34, %31 ], [ %25, %23 ]
%38 = phi i32 [ %35, %31 ], [ %24, %23 ]
%39 = call i32 @atl1c_clean_buffer(ptr noundef %9, ptr noundef nonnull %28) #3
%40 = add i64 %26, 1
%41 = load i64, ptr %7, align 8, !tbaa !22
%42 = icmp eq i64 %40, %41
%43 = select i1 %42, i64 0, i64 %40
%44 = call i32 @atomic_set(ptr noundef nonnull %10, i64 noundef %43) #3
%45 = load i64, ptr %3, align 8, !tbaa !14
%46 = icmp eq i64 %43, %45
br i1 %46, label %47, label %23, !llvm.loop !23
47: ; preds = %36, %2
%48 = phi i32 [ 0, %2 ], [ %37, %36 ]
%49 = phi i32 [ 0, %2 ], [ %38, %36 ]
%50 = load i32, ptr %0, align 8, !tbaa !25
%51 = call i32 @netdev_completed_queue(i32 noundef %50, i32 noundef %49, i32 noundef %48) #3
%52 = load i32, ptr %0, align 8, !tbaa !25
%53 = call i64 @netif_queue_stopped(i32 noundef %52) #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %62, label %55
55: ; preds = %47
%56 = load i32, ptr %0, align 8, !tbaa !25
%57 = call i64 @netif_carrier_ok(i32 noundef %56) #3
%58 = icmp eq i64 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %55
%60 = load i32, ptr %0, align 8, !tbaa !25
%61 = call i32 @netif_wake_queue(i32 noundef %60) #3
br label %62
62: ; preds = %59, %55, %47
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #2
declare i32 @AT_READ_REGW(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atl1c_clean_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atomic_set(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @netdev_completed_queue(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @netif_queue_stopped(i32 noundef) local_unnamed_addr #2
declare i64 @netif_carrier_ok(i32 noundef) local_unnamed_addr #2
declare i32 @netif_wake_queue(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"atl1c_adapter", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!17, !11, i64 16}
!17 = !{!"atl1c_tpd_ring", !15, i64 0, !8, i64 8, !11, i64 16}
!18 = !{!19, !11, i64 0}
!19 = !{!"atl1c_buffer", !11, i64 0}
!20 = !{!21, !15, i64 0}
!21 = !{!"TYPE_2__", !15, i64 0}
!22 = !{!17, !15, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!7, !8, i64 0}
| linux_drivers_net_ethernet_atheros_atl1c_extr_atl1c_main.c_atl1c_clean_tx_irq |
; ModuleID = 'AnghaBench/linux/drivers/platform/goldfish/extr_goldfish_pipe.c_signalled_pipes_pop_front.c'
source_filename = "AnghaBench/linux/drivers/platform/goldfish/extr_goldfish_pipe.c_signalled_pipes_pop_front.c"
target datalayout = "e-m:e-p270:32:32-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.goldfish_pipe_dev = type { i32, ptr }
%struct.goldfish_pipe = type { i32, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @signalled_pipes_pop_front], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @signalled_pipes_pop_front(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%4 = getelementptr inbounds %struct.goldfish_pipe_dev, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %15, label %7
7: ; preds = %2
%8 = load i32, ptr %5, align 8, !tbaa !11
store i32 %8, ptr %1, align 4, !tbaa !13
store i32 0, ptr %5, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.goldfish_pipe, ptr %5, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !14
store ptr %10, ptr %4, align 8, !tbaa !5
%11 = icmp eq ptr %10, null
br i1 %11, label %14, label %12
12: ; preds = %7
%13 = getelementptr inbounds %struct.goldfish_pipe, ptr %10, i64 0, i32 2
store ptr null, ptr %13, align 8, !tbaa !15
br label %14
14: ; preds = %12, %7
store ptr null, ptr %9, align 8, !tbaa !14
br label %15
15: ; preds = %14, %2
%16 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
ret ptr %5
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"goldfish_pipe_dev", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"goldfish_pipe", !7, i64 0, !10, i64 8, !10, i64 16}
!13 = !{!7, !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/platform/goldfish/extr_goldfish_pipe.c_signalled_pipes_pop_front.c'
source_filename = "AnghaBench/linux/drivers/platform/goldfish/extr_goldfish_pipe.c_signalled_pipes_pop_front.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 @signalled_pipes_pop_front], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @signalled_pipes_pop_front(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %15, label %7
7: ; preds = %2
%8 = load i32, ptr %5, align 8, !tbaa !12
store i32 %8, ptr %1, align 4, !tbaa !14
store i32 0, ptr %5, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %5, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !15
store ptr %10, ptr %4, align 8, !tbaa !6
%11 = icmp eq ptr %10, null
br i1 %11, label %14, label %12
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %10, i64 16
store ptr null, ptr %13, align 8, !tbaa !16
br label %14
14: ; preds = %12, %7
store ptr null, ptr %9, align 8, !tbaa !15
br label %15
15: ; preds = %14, %2
%16 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
ret ptr %5
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"goldfish_pipe_dev", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"goldfish_pipe", !8, i64 0, !11, i64 8, !11, i64 16}
!14 = !{!8, !8, i64 0}
!15 = !{!13, !11, i64 8}
!16 = !{!13, !11, i64 16}
| linux_drivers_platform_goldfish_extr_goldfish_pipe.c_signalled_pipes_pop_front |
; ModuleID = 'AnghaBench/mpv/stream/extr_stream_libarchive.c_mp_archive_check_fatal.c'
source_filename = "AnghaBench/mpv/stream/extr_stream_libarchive.c_mp_archive_check_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"
@ARCHIVE_FATAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"fatal error received - closing archive\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mp_archive_check_fatal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mp_archive_check_fatal(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @ARCHIVE_FATAL, align 4, !tbaa !5
%4 = icmp slt i32 %3, %1
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = tail call i32 @MP_FATAL(ptr noundef %0, ptr noundef nonnull @.str) #2
%7 = tail call i32 @mp_archive_close(ptr noundef %0) #2
br label %8
8: ; preds = %2, %5
%9 = phi i32 [ 1, %5 ], [ 0, %2 ]
ret i32 %9
}
declare i32 @MP_FATAL(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mp_archive_close(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/mpv/stream/extr_stream_libarchive.c_mp_archive_check_fatal.c'
source_filename = "AnghaBench/mpv/stream/extr_stream_libarchive.c_mp_archive_check_fatal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ARCHIVE_FATAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"fatal error received - closing archive\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mp_archive_check_fatal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @mp_archive_check_fatal(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @ARCHIVE_FATAL, align 4, !tbaa !6
%4 = icmp slt i32 %3, %1
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = tail call i32 @MP_FATAL(ptr noundef %0, ptr noundef nonnull @.str) #2
%7 = tail call i32 @mp_archive_close(ptr noundef %0) #2
br label %8
8: ; preds = %2, %5
%9 = phi i32 [ 1, %5 ], [ 0, %2 ]
ret i32 %9
}
declare i32 @MP_FATAL(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mp_archive_close(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"}
| mpv_stream_extr_stream_libarchive.c_mp_archive_check_fatal |
; ModuleID = 'AnghaBench/esp-idf/examples/provisioning/ble_prov/main/extr_app_main.c_app_main.c'
source_filename = "AnghaBench/esp-idf/examples/provisioning/ble_prov/main/extr_app_main.c_app_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ESP_OK = dso_local local_unnamed_addr global i64 0, align 8
@TAG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"Error getting device provisioning state\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Starting BLE provisioning\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Starting WiFi station\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @app_main() local_unnamed_addr #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = tail call i32 (...) @esp_netif_init() #3
%4 = tail call i32 (...) @esp_event_loop_create_default() #3
%5 = tail call i32 @ESP_ERROR_CHECK(i32 noundef %4) #3
%6 = tail call i32 (...) @nvs_flash_init() #3
%7 = tail call i32 @ESP_ERROR_CHECK(i32 noundef %6) #3
%8 = tail call i32 (...) @esp_netif_create_default_wifi_sta() #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%9 = tail call i32 (...) @WIFI_INIT_CONFIG_DEFAULT() #3
store i32 %9, ptr %1, align 4, !tbaa !5
%10 = call i32 @esp_wifi_init(ptr noundef nonnull %1) #3
%11 = call i32 @ESP_ERROR_CHECK(i32 noundef %10) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%12 = call i64 @app_prov_is_provisioned(ptr noundef nonnull %2) #3
%13 = load i64, ptr @ESP_OK, align 8, !tbaa !9
%14 = icmp eq i64 %12, %13
br i1 %14, label %18, label %15
15: ; preds = %0
%16 = load i32, ptr @TAG, align 4, !tbaa !5
%17 = call i32 @ESP_LOGE(i32 noundef %16, ptr noundef nonnull @.str) #3
br label %28
18: ; preds = %0
%19 = load i32, ptr %2, align 4, !tbaa !5
%20 = icmp eq i32 %19, 0
%21 = load i32, ptr @TAG, align 4, !tbaa !5
br i1 %20, label %22, label %25
22: ; preds = %18
%23 = call i32 @ESP_LOGI(i32 noundef %21, ptr noundef nonnull @.str.1) #3
%24 = call i32 (...) @start_ble_provisioning() #3
br label %28
25: ; preds = %18
%26 = call i32 @ESP_LOGI(i32 noundef %21, ptr noundef nonnull @.str.2) #3
%27 = call i32 (...) @wifi_init_sta() #3
br label %28
28: ; preds = %22, %25, %15
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
declare i32 @esp_netif_init(...) local_unnamed_addr #1
declare i32 @ESP_ERROR_CHECK(i32 noundef) local_unnamed_addr #1
declare i32 @esp_event_loop_create_default(...) local_unnamed_addr #1
declare i32 @nvs_flash_init(...) local_unnamed_addr #1
declare i32 @esp_netif_create_default_wifi_sta(...) 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 @WIFI_INIT_CONFIG_DEFAULT(...) local_unnamed_addr #1
declare i32 @esp_wifi_init(ptr noundef) local_unnamed_addr #1
declare i64 @app_prov_is_provisioned(ptr noundef) local_unnamed_addr #1
declare i32 @ESP_LOGE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ESP_LOGI(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @start_ble_provisioning(...) local_unnamed_addr #1
declare i32 @wifi_init_sta(...) 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/examples/provisioning/ble_prov/main/extr_app_main.c_app_main.c'
source_filename = "AnghaBench/esp-idf/examples/provisioning/ble_prov/main/extr_app_main.c_app_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ESP_OK = common local_unnamed_addr global i64 0, align 8
@TAG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"Error getting device provisioning state\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Starting BLE provisioning\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Starting WiFi station\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @app_main() local_unnamed_addr #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = tail call i32 @esp_netif_init() #3
%4 = tail call i32 @esp_event_loop_create_default() #3
%5 = tail call i32 @ESP_ERROR_CHECK(i32 noundef %4) #3
%6 = tail call i32 @nvs_flash_init() #3
%7 = tail call i32 @ESP_ERROR_CHECK(i32 noundef %6) #3
%8 = tail call i32 @esp_netif_create_default_wifi_sta() #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%9 = tail call i32 @WIFI_INIT_CONFIG_DEFAULT() #3
store i32 %9, ptr %1, align 4, !tbaa !6
%10 = call i32 @esp_wifi_init(ptr noundef nonnull %1) #3
%11 = call i32 @ESP_ERROR_CHECK(i32 noundef %10) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%12 = call i64 @app_prov_is_provisioned(ptr noundef nonnull %2) #3
%13 = load i64, ptr @ESP_OK, align 8, !tbaa !10
%14 = icmp eq i64 %12, %13
br i1 %14, label %18, label %15
15: ; preds = %0
%16 = load i32, ptr @TAG, align 4, !tbaa !6
%17 = call i32 @ESP_LOGE(i32 noundef %16, ptr noundef nonnull @.str) #3
br label %28
18: ; preds = %0
%19 = load i32, ptr %2, align 4, !tbaa !6
%20 = icmp eq i32 %19, 0
%21 = load i32, ptr @TAG, align 4, !tbaa !6
br i1 %20, label %22, label %25
22: ; preds = %18
%23 = call i32 @ESP_LOGI(i32 noundef %21, ptr noundef nonnull @.str.1) #3
%24 = call i32 @start_ble_provisioning() #3
br label %28
25: ; preds = %18
%26 = call i32 @ESP_LOGI(i32 noundef %21, ptr noundef nonnull @.str.2) #3
%27 = call i32 @wifi_init_sta() #3
br label %28
28: ; preds = %22, %25, %15
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
declare i32 @esp_netif_init(...) local_unnamed_addr #1
declare i32 @ESP_ERROR_CHECK(i32 noundef) local_unnamed_addr #1
declare i32 @esp_event_loop_create_default(...) local_unnamed_addr #1
declare i32 @nvs_flash_init(...) local_unnamed_addr #1
declare i32 @esp_netif_create_default_wifi_sta(...) 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 @WIFI_INIT_CONFIG_DEFAULT(...) local_unnamed_addr #1
declare i32 @esp_wifi_init(ptr noundef) local_unnamed_addr #1
declare i64 @app_prov_is_provisioned(ptr noundef) local_unnamed_addr #1
declare i32 @ESP_LOGE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ESP_LOGI(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @start_ble_provisioning(...) local_unnamed_addr #1
declare i32 @wifi_init_sta(...) 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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| esp-idf_examples_provisioning_ble_prov_main_extr_app_main.c_app_main |
; ModuleID = 'AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_unixShmBarrier.c'
source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_unixShmBarrier.c"
target datalayout = "e-m:e-p270:32:32-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 @unixShmBarrier], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @unixShmBarrier(ptr noundef %0) #0 {
%2 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2
%3 = tail call i32 (...) @sqlite3MemoryBarrier() #2
%4 = tail call i32 (...) @unixEnterMutex() #2
%5 = tail call i32 (...) @unixLeaveMutex() #2
ret void
}
declare i32 @UNUSED_PARAMETER(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3MemoryBarrier(...) local_unnamed_addr #1
declare i32 @unixEnterMutex(...) local_unnamed_addr #1
declare i32 @unixLeaveMutex(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_unixShmBarrier.c'
source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_unixShmBarrier.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 @unixShmBarrier], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @unixShmBarrier(ptr noundef %0) #0 {
%2 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2
%3 = tail call i32 @sqlite3MemoryBarrier() #2
%4 = tail call i32 @unixEnterMutex() #2
%5 = tail call i32 @unixLeaveMutex() #2
ret void
}
declare i32 @UNUSED_PARAMETER(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3MemoryBarrier(...) local_unnamed_addr #1
declare i32 @unixEnterMutex(...) local_unnamed_addr #1
declare i32 @unixLeaveMutex(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| nodemcu-firmware_app_sqlite3_extr_sqlite3.c_unixShmBarrier |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.