IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_forget_dev.c'
source_filename = "AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_forget_dev.c"
target datalayout = "e-m:e-p270:32:32-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.ip_vs_dest = type { i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [42 x i8] c"Reset dev:%s dest %s:%u ,dest->refcnt=%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ip_vs_forget_dev], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @ip_vs_forget_dev(ptr noundef %0, ptr noundef readonly %1) #0 {
%3 = tail call i32 @spin_lock_bh(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.ip_vs_dest, ptr %0, i64 0, i32 5
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call ptr @rcu_dereference_protected(i32 noundef %5, i32 noundef 1) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %25, label %8
8: ; preds = %2
%9 = load ptr, ptr %6, align 8, !tbaa !10
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = icmp eq ptr %10, %1
br i1 %11, label %12, label %25
12: ; preds = %8
%13 = load i32, ptr %1, align 4, !tbaa !15
%14 = getelementptr inbounds %struct.ip_vs_dest, ptr %0, i64 0, i32 4
%15 = load i32, ptr %14, align 4, !tbaa !17
%16 = getelementptr inbounds %struct.ip_vs_dest, ptr %0, i64 0, i32 3
%17 = tail call i32 @IP_VS_DBG_ADDR(i32 noundef %15, ptr noundef nonnull %16) #2
%18 = getelementptr inbounds %struct.ip_vs_dest, ptr %0, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !18
%20 = tail call i32 @ntohs(i32 noundef %19) #2
%21 = getelementptr inbounds %struct.ip_vs_dest, ptr %0, i64 0, i32 1
%22 = tail call i32 @refcount_read(ptr noundef nonnull %21) #2
%23 = tail call i32 @IP_VS_DBG_BUF(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %17, i32 noundef %20, i32 noundef %22) #2
%24 = tail call i32 @__ip_vs_dst_cache_reset(ptr noundef nonnull %0) #2
br label %25
25: ; preds = %12, %8, %2
%26 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %0) #2
ret void
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare ptr @rcu_dereference_protected(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IP_VS_DBG_BUF(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IP_VS_DBG_ADDR(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ntohs(i32 noundef) local_unnamed_addr #1
declare i32 @refcount_read(ptr noundef) local_unnamed_addr #1
declare i32 @__ip_vs_dst_cache_reset(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 20}
!6 = !{!"ip_vs_dest", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"ip_vs_dest_dst", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"net_device", !7, i64 0}
!17 = !{!6, !7, i64 16}
!18 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_forget_dev.c'
source_filename = "AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_forget_dev.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 [42 x i8] c"Reset dev:%s dest %s:%u ,dest->refcnt=%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ip_vs_forget_dev], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @ip_vs_forget_dev(ptr noundef %0, ptr noundef readonly %1) #0 {
%3 = tail call i32 @spin_lock_bh(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %0, i64 20
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call ptr @rcu_dereference_protected(i32 noundef %5, i32 noundef 1) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %25, label %8
8: ; preds = %2
%9 = load ptr, ptr %6, align 8, !tbaa !11
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = icmp eq ptr %10, %1
br i1 %11, label %12, label %25
12: ; preds = %8
%13 = load i32, ptr %1, align 4, !tbaa !16
%14 = getelementptr inbounds i8, ptr %0, i64 16
%15 = load i32, ptr %14, align 4, !tbaa !18
%16 = getelementptr inbounds i8, ptr %0, i64 12
%17 = tail call i32 @IP_VS_DBG_ADDR(i32 noundef %15, ptr noundef nonnull %16) #2
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !19
%20 = tail call i32 @ntohs(i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %0, i64 4
%22 = tail call i32 @refcount_read(ptr noundef nonnull %21) #2
%23 = tail call i32 @IP_VS_DBG_BUF(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %17, i32 noundef %20, i32 noundef %22) #2
%24 = tail call i32 @__ip_vs_dst_cache_reset(ptr noundef nonnull %0) #2
br label %25
25: ; preds = %12, %8, %2
%26 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %0) #2
ret void
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare ptr @rcu_dereference_protected(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IP_VS_DBG_BUF(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IP_VS_DBG_ADDR(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ntohs(i32 noundef) local_unnamed_addr #1
declare i32 @refcount_read(ptr noundef) local_unnamed_addr #1
declare i32 @__ip_vs_dst_cache_reset(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 20}
!7 = !{!"ip_vs_dest", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"ip_vs_dest_dst", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_2__", !13, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"net_device", !8, i64 0}
!18 = !{!7, !8, i64 16}
!19 = !{!7, !8, i64 8}
| linux_net_netfilter_ipvs_extr_ip_vs_ctl.c_ip_vs_forget_dev |
; ModuleID = 'AnghaBench/linux/sound/soc/atmel/extr_atmel_ssc_dai.c_atmel_ssc_put_audio.c'
source_filename = "AnghaBench/linux/sound/soc/atmel/extr_atmel_ssc_dai.c_atmel_ssc_put_audio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr }
@ssc_info = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @atmel_ssc_put_audio(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @ssc_info, align 8, !tbaa !5
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %3
%5 = load ptr, ptr %4, align 8, !tbaa !9
%6 = tail call i32 @ssc_free(ptr noundef %5) #2
ret void
}
declare i32 @ssc_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/atmel/extr_atmel_ssc_dai.c_atmel_ssc_put_audio.c'
source_filename = "AnghaBench/linux/sound/soc/atmel/extr_atmel_ssc_dai.c_atmel_ssc_put_audio.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
@ssc_info = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @atmel_ssc_put_audio(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @ssc_info, align 8, !tbaa !6
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %3
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = tail call i32 @ssc_free(ptr noundef %5) #2
ret void
}
declare i32 @ssc_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| linux_sound_soc_atmel_extr_atmel_ssc_dai.c_atmel_ssc_put_audio |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/sha512/cp/extr_hash_sha512_cp.c_crypto_hash_sha512_update.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/sha512/cp/extr_hash_sha512_cp.c_crypto_hash_sha512_update.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @crypto_hash_sha512_update(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca [88 x i32], align 16
call void @llvm.lifetime.start.p0(i64 352, ptr nonnull %4) #3
%5 = icmp eq i64 %2, 0
br i1 %5, label %187, label %6
6: ; preds = %3
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = getelementptr inbounds i32, ptr %7, i64 1
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = lshr i32 %9, 3
%11 = and i32 %10, 127
%12 = zext nneg i32 %11 to i64
%13 = trunc i64 %2 to i32
%14 = shl i32 %13, 3
%15 = add nsw i32 %9, %14
store i32 %15, ptr %8, align 4, !tbaa !11
%16 = icmp slt i32 %9, 0
br i1 %16, label %17, label %20
17: ; preds = %6
%18 = load i32, ptr %7, align 4, !tbaa !11
%19 = add nsw i32 %18, 1
store i32 %19, ptr %7, align 4, !tbaa !11
br label %20
20: ; preds = %17, %6
%21 = sub nuw nsw i64 128, %12
%22 = icmp ugt i64 %21, %2
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
br i1 %22, label %30, label %24
24: ; preds = %20
%25 = xor i64 %12, 127
%26 = and i64 %21, 3
%27 = icmp ult i64 %25, 3
br i1 %27, label %93, label %28
28: ; preds = %24
%29 = and i64 %21, 252
br label %64
30: ; preds = %20
%31 = and i64 %2, 3
%32 = icmp ult i64 %2, 4
br i1 %32, label %173, label %33
33: ; preds = %30
%34 = and i64 %2, -4
br label %35
35: ; preds = %35, %33
%36 = phi i64 [ 0, %33 ], [ %61, %35 ]
%37 = phi i64 [ 0, %33 ], [ %62, %35 ]
%38 = getelementptr inbounds i8, ptr %1, i64 %36
%39 = load i8, ptr %38, align 1, !tbaa !12
%40 = load ptr, ptr %23, align 8, !tbaa !13
%41 = getelementptr i8, ptr %40, i64 %36
%42 = getelementptr i8, ptr %41, i64 %12
store i8 %39, ptr %42, align 1, !tbaa !12
%43 = or disjoint i64 %36, 1
%44 = getelementptr inbounds i8, ptr %1, i64 %43
%45 = load i8, ptr %44, align 1, !tbaa !12
%46 = load ptr, ptr %23, align 8, !tbaa !13
%47 = getelementptr i8, ptr %46, i64 %43
%48 = getelementptr i8, ptr %47, i64 %12
store i8 %45, ptr %48, align 1, !tbaa !12
%49 = or disjoint i64 %36, 2
%50 = getelementptr inbounds i8, ptr %1, i64 %49
%51 = load i8, ptr %50, align 1, !tbaa !12
%52 = load ptr, ptr %23, align 8, !tbaa !13
%53 = getelementptr i8, ptr %52, i64 %49
%54 = getelementptr i8, ptr %53, i64 %12
store i8 %51, ptr %54, align 1, !tbaa !12
%55 = or disjoint i64 %36, 3
%56 = getelementptr inbounds i8, ptr %1, i64 %55
%57 = load i8, ptr %56, align 1, !tbaa !12
%58 = load ptr, ptr %23, align 8, !tbaa !13
%59 = getelementptr i8, ptr %58, i64 %55
%60 = getelementptr i8, ptr %59, i64 %12
store i8 %57, ptr %60, align 1, !tbaa !12
%61 = add nuw nsw i64 %36, 4
%62 = add i64 %37, 4
%63 = icmp eq i64 %62, %34
br i1 %63, label %173, label %35, !llvm.loop !14
64: ; preds = %64, %28
%65 = phi i64 [ 0, %28 ], [ %90, %64 ]
%66 = phi i64 [ 0, %28 ], [ %91, %64 ]
%67 = getelementptr inbounds i8, ptr %1, i64 %65
%68 = load i8, ptr %67, align 1, !tbaa !12
%69 = load ptr, ptr %23, align 8, !tbaa !13
%70 = getelementptr i8, ptr %69, i64 %65
%71 = getelementptr i8, ptr %70, i64 %12
store i8 %68, ptr %71, align 1, !tbaa !12
%72 = or disjoint i64 %65, 1
%73 = getelementptr inbounds i8, ptr %1, i64 %72
%74 = load i8, ptr %73, align 1, !tbaa !12
%75 = load ptr, ptr %23, align 8, !tbaa !13
%76 = getelementptr i8, ptr %75, i64 %72
%77 = getelementptr i8, ptr %76, i64 %12
store i8 %74, ptr %77, align 1, !tbaa !12
%78 = or disjoint i64 %65, 2
%79 = getelementptr inbounds i8, ptr %1, i64 %78
%80 = load i8, ptr %79, align 1, !tbaa !12
%81 = load ptr, ptr %23, align 8, !tbaa !13
%82 = getelementptr i8, ptr %81, i64 %78
%83 = getelementptr i8, ptr %82, i64 %12
store i8 %80, ptr %83, align 1, !tbaa !12
%84 = or disjoint i64 %65, 3
%85 = getelementptr inbounds i8, ptr %1, i64 %84
%86 = load i8, ptr %85, align 1, !tbaa !12
%87 = load ptr, ptr %23, align 8, !tbaa !13
%88 = getelementptr i8, ptr %87, i64 %84
%89 = getelementptr i8, ptr %88, i64 %12
store i8 %86, ptr %89, align 1, !tbaa !12
%90 = add nuw nsw i64 %65, 4
%91 = add i64 %66, 4
%92 = icmp eq i64 %91, %29
br i1 %92, label %93, label %64, !llvm.loop !16
93: ; preds = %64, %24
%94 = phi i64 [ 0, %24 ], [ %90, %64 ]
%95 = icmp eq i64 %26, 0
br i1 %95, label %107, label %96
96: ; preds = %93, %96
%97 = phi i64 [ %104, %96 ], [ %94, %93 ]
%98 = phi i64 [ %105, %96 ], [ 0, %93 ]
%99 = getelementptr inbounds i8, ptr %1, i64 %97
%100 = load i8, ptr %99, align 1, !tbaa !12
%101 = load ptr, ptr %23, align 8, !tbaa !13
%102 = getelementptr i8, ptr %101, i64 %97
%103 = getelementptr i8, ptr %102, i64 %12
store i8 %100, ptr %103, align 1, !tbaa !12
%104 = add nuw nsw i64 %97, 1
%105 = add i64 %98, 1
%106 = icmp eq i64 %105, %26
br i1 %106, label %107, label %96, !llvm.loop !17
107: ; preds = %96, %93
%108 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%109 = load i32, ptr %108, align 8, !tbaa !19
%110 = load ptr, ptr %23, align 8, !tbaa !13
%111 = getelementptr inbounds [88 x i32], ptr %4, i64 0, i64 80
%112 = call i32 @SHA512_Transform(i32 noundef %109, ptr noundef %110, ptr noundef nonnull %4, ptr noundef nonnull %111) #3
%113 = getelementptr inbounds i8, ptr %1, i64 %21
%114 = sub i64 %2, %21
%115 = icmp ugt i64 %114, 127
br i1 %115, label %125, label %116
116: ; preds = %125, %107
%117 = phi i64 [ %114, %107 ], [ %131, %125 ]
%118 = phi ptr [ %113, %107 ], [ %130, %125 ]
%119 = icmp eq i64 %117, 0
br i1 %119, label %171, label %120
120: ; preds = %116
%121 = and i64 %117, 3
%122 = icmp ult i64 %117, 4
br i1 %122, label %158, label %123
123: ; preds = %120
%124 = and i64 %117, 124
br label %133
125: ; preds = %107, %125
%126 = phi ptr [ %130, %125 ], [ %113, %107 ]
%127 = phi i64 [ %131, %125 ], [ %114, %107 ]
%128 = load i32, ptr %108, align 8, !tbaa !19
%129 = call i32 @SHA512_Transform(i32 noundef %128, ptr noundef nonnull %126, ptr noundef nonnull %4, ptr noundef nonnull %111) #3
%130 = getelementptr inbounds i8, ptr %126, i64 128
%131 = add i64 %127, -128
%132 = icmp ugt i64 %131, 127
br i1 %132, label %125, label %116, !llvm.loop !20
133: ; preds = %133, %123
%134 = phi i64 [ 0, %123 ], [ %155, %133 ]
%135 = phi i64 [ 0, %123 ], [ %156, %133 ]
%136 = getelementptr inbounds i8, ptr %118, i64 %134
%137 = load i8, ptr %136, align 1, !tbaa !12
%138 = load ptr, ptr %23, align 8, !tbaa !13
%139 = getelementptr inbounds i8, ptr %138, i64 %134
store i8 %137, ptr %139, align 1, !tbaa !12
%140 = or disjoint i64 %134, 1
%141 = getelementptr inbounds i8, ptr %118, i64 %140
%142 = load i8, ptr %141, align 1, !tbaa !12
%143 = load ptr, ptr %23, align 8, !tbaa !13
%144 = getelementptr inbounds i8, ptr %143, i64 %140
store i8 %142, ptr %144, align 1, !tbaa !12
%145 = or disjoint i64 %134, 2
%146 = getelementptr inbounds i8, ptr %118, i64 %145
%147 = load i8, ptr %146, align 1, !tbaa !12
%148 = load ptr, ptr %23, align 8, !tbaa !13
%149 = getelementptr inbounds i8, ptr %148, i64 %145
store i8 %147, ptr %149, align 1, !tbaa !12
%150 = or disjoint i64 %134, 3
%151 = getelementptr inbounds i8, ptr %118, i64 %150
%152 = load i8, ptr %151, align 1, !tbaa !12
%153 = load ptr, ptr %23, align 8, !tbaa !13
%154 = getelementptr inbounds i8, ptr %153, i64 %150
store i8 %152, ptr %154, align 1, !tbaa !12
%155 = add nuw nsw i64 %134, 4
%156 = add i64 %135, 4
%157 = icmp eq i64 %156, %124
br i1 %157, label %158, label %133, !llvm.loop !21
158: ; preds = %133, %120
%159 = phi i64 [ 0, %120 ], [ %155, %133 ]
%160 = icmp eq i64 %121, 0
br i1 %160, label %171, label %161
161: ; preds = %158, %161
%162 = phi i64 [ %168, %161 ], [ %159, %158 ]
%163 = phi i64 [ %169, %161 ], [ 0, %158 ]
%164 = getelementptr inbounds i8, ptr %118, i64 %162
%165 = load i8, ptr %164, align 1, !tbaa !12
%166 = load ptr, ptr %23, align 8, !tbaa !13
%167 = getelementptr inbounds i8, ptr %166, i64 %162
store i8 %165, ptr %167, align 1, !tbaa !12
%168 = add nuw nsw i64 %162, 1
%169 = add i64 %163, 1
%170 = icmp eq i64 %169, %121
br i1 %170, label %171, label %161, !llvm.loop !22
171: ; preds = %158, %161, %116
%172 = call i32 @sodium_memzero(ptr noundef nonnull %4, i32 noundef 352) #3
br label %187
173: ; preds = %35, %30
%174 = phi i64 [ 0, %30 ], [ %61, %35 ]
%175 = icmp eq i64 %31, 0
br i1 %175, label %187, label %176
176: ; preds = %173, %176
%177 = phi i64 [ %184, %176 ], [ %174, %173 ]
%178 = phi i64 [ %185, %176 ], [ 0, %173 ]
%179 = getelementptr inbounds i8, ptr %1, i64 %177
%180 = load i8, ptr %179, align 1, !tbaa !12
%181 = load ptr, ptr %23, align 8, !tbaa !13
%182 = getelementptr i8, ptr %181, i64 %177
%183 = getelementptr i8, ptr %182, i64 %12
store i8 %180, ptr %183, align 1, !tbaa !12
%184 = add nuw nsw i64 %177, 1
%185 = add i64 %178, 1
%186 = icmp eq i64 %185, %31
br i1 %186, label %187, label %176, !llvm.loop !23
187: ; preds = %173, %176, %3, %171
call void @llvm.lifetime.end.p0(i64 352, ptr nonnull %4) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SHA512_Transform(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sodium_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = !{!6, !10, i64 16}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/sha512/cp/extr_hash_sha512_cp.c_crypto_hash_sha512_update.c'
source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_hash/sha512/cp/extr_hash_sha512_cp.c_crypto_hash_sha512_update.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 @crypto_hash_sha512_update(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca [88 x i32], align 4
call void @llvm.lifetime.start.p0(i64 352, ptr nonnull %4) #3
%5 = icmp eq i64 %2, 0
br i1 %5, label %73, label %6
6: ; preds = %3
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %7, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = lshr i32 %9, 3
%11 = and i32 %10, 127
%12 = zext nneg i32 %11 to i64
%13 = trunc i64 %2 to i32
%14 = shl i32 %13, 3
%15 = add nsw i32 %9, %14
store i32 %15, ptr %8, align 4, !tbaa !12
%16 = icmp slt i32 %9, 0
br i1 %16, label %17, label %20
17: ; preds = %6
%18 = load i32, ptr %7, align 4, !tbaa !12
%19 = add nsw i32 %18, 1
store i32 %19, ptr %7, align 4, !tbaa !12
br label %20
20: ; preds = %17, %6
%21 = sub nuw nsw i64 128, %12
%22 = icmp ugt i64 %21, %2
%23 = getelementptr inbounds i8, ptr %0, i64 8
br i1 %22, label %24, label %33
24: ; preds = %20, %24
%25 = phi i64 [ %31, %24 ], [ 0, %20 ]
%26 = getelementptr inbounds i8, ptr %1, i64 %25
%27 = load i8, ptr %26, align 1, !tbaa !13
%28 = load ptr, ptr %23, align 8, !tbaa !14
%29 = getelementptr i8, ptr %28, i64 %25
%30 = getelementptr i8, ptr %29, i64 %12
store i8 %27, ptr %30, align 1, !tbaa !13
%31 = add nuw nsw i64 %25, 1
%32 = icmp eq i64 %31, %2
br i1 %32, label %73, label %24, !llvm.loop !15
33: ; preds = %20, %33
%34 = phi i64 [ %40, %33 ], [ 0, %20 ]
%35 = getelementptr inbounds i8, ptr %1, i64 %34
%36 = load i8, ptr %35, align 1, !tbaa !13
%37 = load ptr, ptr %23, align 8, !tbaa !14
%38 = getelementptr i8, ptr %37, i64 %34
%39 = getelementptr i8, ptr %38, i64 %12
store i8 %36, ptr %39, align 1, !tbaa !13
%40 = add nuw nsw i64 %34, 1
%41 = icmp eq i64 %40, %21
br i1 %41, label %42, label %33, !llvm.loop !17
42: ; preds = %33
%43 = getelementptr inbounds i8, ptr %0, i64 16
%44 = load i32, ptr %43, align 8, !tbaa !18
%45 = load ptr, ptr %23, align 8, !tbaa !14
%46 = getelementptr inbounds i8, ptr %4, i64 320
%47 = call i32 @SHA512_Transform(i32 noundef %44, ptr noundef %45, ptr noundef nonnull %4, ptr noundef nonnull %46) #3
%48 = getelementptr inbounds i8, ptr %1, i64 %21
%49 = sub i64 %2, %21
%50 = icmp ugt i64 %49, 127
br i1 %50, label %55, label %51
51: ; preds = %55, %42
%52 = phi i64 [ %49, %42 ], [ %61, %55 ]
%53 = phi ptr [ %48, %42 ], [ %60, %55 ]
%54 = icmp eq i64 %52, 0
br i1 %54, label %71, label %63
55: ; preds = %42, %55
%56 = phi ptr [ %60, %55 ], [ %48, %42 ]
%57 = phi i64 [ %61, %55 ], [ %49, %42 ]
%58 = load i32, ptr %43, align 8, !tbaa !18
%59 = call i32 @SHA512_Transform(i32 noundef %58, ptr noundef nonnull %56, ptr noundef nonnull %4, ptr noundef nonnull %46) #3
%60 = getelementptr inbounds i8, ptr %56, i64 128
%61 = add i64 %57, -128
%62 = icmp ugt i64 %61, 127
br i1 %62, label %55, label %51, !llvm.loop !19
63: ; preds = %51, %63
%64 = phi i64 [ %69, %63 ], [ 0, %51 ]
%65 = getelementptr inbounds i8, ptr %53, i64 %64
%66 = load i8, ptr %65, align 1, !tbaa !13
%67 = load ptr, ptr %23, align 8, !tbaa !14
%68 = getelementptr inbounds i8, ptr %67, i64 %64
store i8 %66, ptr %68, align 1, !tbaa !13
%69 = add nuw nsw i64 %64, 1
%70 = icmp eq i64 %69, %52
br i1 %70, label %71, label %63, !llvm.loop !20
71: ; preds = %63, %51
%72 = call i32 @sodium_memzero(ptr noundef nonnull %4, i32 noundef 352) #3
br label %73
73: ; preds = %24, %3, %71
call void @llvm.lifetime.end.p0(i64 352, ptr nonnull %4) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SHA512_Transform(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sodium_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!7, !8, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!7, !11, i64 16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
| freebsd_sys_contrib_libsodium_src_libsodium_crypto_hash_sha512_cp_extr_hash_sha512_cp.c_crypto_hash_sha512_update |
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_renameParseCleanup.c'
source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_renameParseCleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i32, ptr, i32, i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @renameParseCleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @renameParseCleanup(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 6
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 5
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = tail call i32 @sqlite3VdbeFinalize(i64 noundef %5) #2
br label %9
9: ; preds = %7, %1
%10 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = tail call i32 @sqlite3DeleteTable(ptr noundef %3, i32 noundef %11) #2
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %9, %16
%17 = phi ptr [ %20, %16 ], [ %14, %9 ]
%18 = load ptr, ptr %17, align 8, !tbaa !15
store ptr %18, ptr %13, align 8, !tbaa !14
%19 = tail call i32 @sqlite3FreeIndex(ptr noundef %3, ptr noundef nonnull %17) #2
%20 = load ptr, ptr %13, align 8, !tbaa !14
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %16, !llvm.loop !17
22: ; preds = %16, %9
%23 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !19
%25 = tail call i32 @sqlite3DeleteTrigger(ptr noundef %3, i32 noundef %24) #2
%26 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !20
%28 = tail call i32 @sqlite3DbFree(ptr noundef %3, i32 noundef %27) #2
%29 = load i32, ptr %0, align 8, !tbaa !21
%30 = tail call i32 @renameTokenFree(ptr noundef %3, i32 noundef %29) #2
%31 = tail call i32 @sqlite3ParserReset(ptr noundef nonnull %0) #2
ret void
}
declare i32 @sqlite3VdbeFinalize(i64 noundef) local_unnamed_addr #1
declare i32 @sqlite3DeleteTable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3FreeIndex(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3DeleteTrigger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3DbFree(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @renameTokenFree(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3ParserReset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 40}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 32}
!13 = !{!6, !7, i64 24}
!14 = !{!6, !10, i64 16}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_7__", !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!6, !7, i64 8}
!20 = !{!6, !7, i64 4}
!21 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_renameParseCleanup.c'
source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_renameParseCleanup.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 @renameParseCleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @renameParseCleanup(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 40
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 32
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = tail call i32 @sqlite3VdbeFinalize(i64 noundef %5) #2
br label %9
9: ; preds = %7, %1
%10 = getelementptr inbounds i8, ptr %0, i64 24
%11 = load i32, ptr %10, align 8, !tbaa !14
%12 = tail call i32 @sqlite3DeleteTable(ptr noundef %3, i32 noundef %11) #2
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %9, %16
%17 = phi ptr [ %20, %16 ], [ %14, %9 ]
%18 = load ptr, ptr %17, align 8, !tbaa !16
store ptr %18, ptr %13, align 8, !tbaa !15
%19 = tail call i32 @sqlite3FreeIndex(ptr noundef %3, ptr noundef nonnull %17) #2
%20 = load ptr, ptr %13, align 8, !tbaa !15
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %16, !llvm.loop !18
22: ; preds = %16, %9
%23 = getelementptr inbounds i8, ptr %0, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !20
%25 = tail call i32 @sqlite3DeleteTrigger(ptr noundef %3, i32 noundef %24) #2
%26 = getelementptr inbounds i8, ptr %0, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !21
%28 = tail call i32 @sqlite3DbFree(ptr noundef %3, i32 noundef %27) #2
%29 = load i32, ptr %0, align 8, !tbaa !22
%30 = tail call i32 @renameTokenFree(ptr noundef %3, i32 noundef %29) #2
%31 = tail call i32 @sqlite3ParserReset(ptr noundef nonnull %0) #2
ret void
}
declare i32 @sqlite3VdbeFinalize(i64 noundef) local_unnamed_addr #1
declare i32 @sqlite3DeleteTable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3FreeIndex(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3DeleteTrigger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3DbFree(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @renameTokenFree(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3ParserReset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 40}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !12, i64 32, !11, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !12, i64 32}
!14 = !{!7, !8, i64 24}
!15 = !{!7, !11, i64 16}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_7__", !11, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!7, !8, i64 8}
!21 = !{!7, !8, i64 4}
!22 = !{!7, !8, i64 0}
| poco_Data_SQLite_src_extr_sqlite3.c_renameParseCleanup |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_zvol.c_zvol_check_volsize.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_zvol.c_zvol_check_volsize.c"
target datalayout = "e-m:e-p270:32:32-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
@EOVERFLOW = dso_local local_unnamed_addr global i32 0, align 4
@SPEC_MAXOFFSET_T = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @zvol_check_volsize(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %0, 0
br i1 %3, label %7, label %4
4: ; preds = %2
%5 = srem i32 %0, %1
%6 = icmp eq i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %4, %2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !5
%9 = tail call i32 @SET_ERROR(i32 noundef %8) #2
br label %10
10: ; preds = %7, %4
%11 = phi i32 [ 0, %4 ], [ %9, %7 ]
ret i32 %11
}
declare i32 @SET_ERROR(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/zfs/module/zfs/extr_zvol.c_zvol_check_volsize.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_zvol.c_zvol_check_volsize.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
@EOVERFLOW = common local_unnamed_addr global i32 0, align 4
@SPEC_MAXOFFSET_T = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @zvol_check_volsize(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i32 %0, 0
br i1 %3, label %7, label %4
4: ; preds = %2
%5 = srem i32 %0, %1
%6 = icmp eq i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %4, %2
%8 = load i32, ptr @EINVAL, align 4, !tbaa !6
%9 = tail call i32 @SET_ERROR(i32 noundef %8) #2
br label %10
10: ; preds = %7, %4
%11 = phi i32 [ 0, %4 ], [ %9, %7 ]
ret i32 %11
}
declare i32 @SET_ERROR(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"}
| zfs_module_zfs_extr_zvol.c_zvol_check_volsize |
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_memvfs.c_memShmMap.c'
source_filename = "AnghaBench/sqlcipher/ext/misc/extr_memvfs.c_memShmMap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SQLITE_IOERR_SHMMAP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @memShmMap], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @memShmMap(ptr nocapture readnone %0, i32 %1, i32 %2, i32 %3, ptr nocapture readnone %4) #0 {
%6 = load i32, ptr @SQLITE_IOERR_SHMMAP, align 4, !tbaa !5
ret i32 %6
}
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/sqlcipher/ext/misc/extr_memvfs.c_memShmMap.c'
source_filename = "AnghaBench/sqlcipher/ext/misc/extr_memvfs.c_memShmMap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_IOERR_SHMMAP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @memShmMap], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @memShmMap(ptr nocapture readnone %0, i32 %1, i32 %2, i32 %3, ptr nocapture readnone %4) #0 {
%6 = load i32, ptr @SQLITE_IOERR_SHMMAP, align 4, !tbaa !6
ret i32 %6
}
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"}
| sqlcipher_ext_misc_extr_memvfs.c_memShmMap |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_RemovelExactMatchMacAddr.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_RemovelExactMatchMacAddr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@E_INVALID_HANDLE = dso_local local_unnamed_addr global i32 0, align 4
@MINOR = dso_local local_unnamed_addr global i32 0, align 4
@E_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4
@NO_MSG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @FM_MAC_RemovelExactMatchMacAddr(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = inttoptr i64 %0 to ptr
%4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !5
%5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2
%6 = load ptr, ptr %3, align 8, !tbaa !9
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 %6(i64 noundef %0, ptr noundef %1) #2
br label %15
10: ; preds = %2
%11 = load i32, ptr @MINOR, align 4, !tbaa !5
%12 = load i32, ptr @E_NOT_SUPPORTED, align 4, !tbaa !5
%13 = load i32, ptr @NO_MSG, align 4, !tbaa !5
%14 = tail call i32 @RETURN_ERROR(i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
br label %15
15: ; preds = %10, %8
%16 = phi i32 [ %9, %8 ], [ undef, %10 ]
ret i32 %16
}
declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_3__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_RemovelExactMatchMacAddr.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_RemovelExactMatchMacAddr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E_INVALID_HANDLE = common local_unnamed_addr global i32 0, align 4
@MINOR = common local_unnamed_addr global i32 0, align 4
@E_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4
@NO_MSG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @FM_MAC_RemovelExactMatchMacAddr(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = inttoptr i64 %0 to ptr
%4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !6
%5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2
%6 = load ptr, ptr %3, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 %6(i64 noundef %0, ptr noundef %1) #2
br label %15
10: ; preds = %2
%11 = load i32, ptr @MINOR, align 4, !tbaa !6
%12 = load i32, ptr @E_NOT_SUPPORTED, align 4, !tbaa !6
%13 = load i32, ptr @NO_MSG, align 4, !tbaa !6
%14 = tail call i32 @RETURN_ERROR(i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
br label %15
15: ; preds = %10, %8
%16 = phi i32 [ %9, %8 ], [ undef, %10 ]
ret i32 %16
}
declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| freebsd_sys_contrib_ncsw_Peripherals_FM_MAC_extr_fm_mac.c_FM_MAC_RemovelExactMatchMacAddr |
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_encrypt.c'
source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_encrypt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CCP_AES_ACTION_ENCRYPT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccp_aes_gcm_encrypt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ccp_aes_gcm_encrypt(ptr noundef %0) #0 {
%2 = load i32, ptr @CCP_AES_ACTION_ENCRYPT, align 4, !tbaa !5
%3 = tail call i32 @ccp_aes_gcm_crypt(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @ccp_aes_gcm_crypt(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_encrypt.c'
source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_encrypt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CCP_AES_ACTION_ENCRYPT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ccp_aes_gcm_encrypt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ccp_aes_gcm_encrypt(ptr noundef %0) #0 {
%2 = load i32, ptr @CCP_AES_ACTION_ENCRYPT, align 4, !tbaa !6
%3 = tail call i32 @ccp_aes_gcm_crypt(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @ccp_aes_gcm_crypt(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_crypto_ccp_extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_encrypt |
; ModuleID = 'AnghaBench/glfw/src/extr_null_window.c__glfwPlatformGetPhysicalDevicePresentationSupport.c'
source_filename = "AnghaBench/glfw/src/extr_null_window.c__glfwPlatformGetPhysicalDevicePresentationSupport.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GLFW_FALSE = 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 @_glfwPlatformGetPhysicalDevicePresentationSupport(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @GLFW_FALSE, align 4, !tbaa !5
ret i32 %4
}
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/glfw/src/extr_null_window.c__glfwPlatformGetPhysicalDevicePresentationSupport.c'
source_filename = "AnghaBench/glfw/src/extr_null_window.c__glfwPlatformGetPhysicalDevicePresentationSupport.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GLFW_FALSE = 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 @_glfwPlatformGetPhysicalDevicePresentationSupport(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @GLFW_FALSE, align 4, !tbaa !6
ret i32 %4
}
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"}
| glfw_src_extr_null_window.c__glfwPlatformGetPhysicalDevicePresentationSupport |
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_surface.c_convert_x8r8g8b8_dxt3.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_surface.c_convert_x8r8g8b8_dxt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@WINED3DFMT_B8G8R8X8_UNORM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @convert_x8r8g8b8_dxt3], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @convert_x8r8g8b8_dxt3(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr @WINED3DFMT_B8G8R8X8_UNORM, align 4, !tbaa !5
%8 = tail call i32 @wined3d_dxt3_encode(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %7, i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @wined3d_dxt3_encode(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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_surface.c_convert_x8r8g8b8_dxt3.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_surface.c_convert_x8r8g8b8_dxt3.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WINED3DFMT_B8G8R8X8_UNORM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @convert_x8r8g8b8_dxt3], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @convert_x8r8g8b8_dxt3(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr @WINED3DFMT_B8G8R8X8_UNORM, align 4, !tbaa !6
%8 = tail call i32 @wined3d_dxt3_encode(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %7, i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @wined3d_dxt3_encode(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)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_dll_directx_wine_wined3d_extr_surface.c_convert_x8r8g8b8_dxt3 |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mge/extr_if_mge.c_mge_ifmedia_sts.c'
source_filename = "AnghaBench/freebsd/sys/dev/mge/extr_if_mge.c_mge_ifmedia_sts.c"
target datalayout = "e-m:e-p270:32:32-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.mge_softc = type { ptr, i32 }
%struct.mii_data = type { i32, i32 }
%struct.ifmediareq = type { i32, i32 }
@IFM_1000_T = dso_local local_unnamed_addr global i32 0, align 4
@IFM_FDX = dso_local local_unnamed_addr global i32 0, align 4
@IFM_ETHER = dso_local local_unnamed_addr global i32 0, align 4
@IFM_AVALID = dso_local local_unnamed_addr global i32 0, align 4
@IFM_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mge_ifmedia_sts], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mge_ifmedia_sts(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @MGE_GLOBAL_LOCK(ptr noundef %3) #2
%5 = getelementptr inbounds %struct.mge_softc, ptr %3, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !10
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %2
%9 = load i32, ptr @IFM_1000_T, align 4, !tbaa !13
%10 = load i32, ptr @IFM_FDX, align 4, !tbaa !13
%11 = or i32 %10, %9
%12 = load i32, ptr @IFM_ETHER, align 4, !tbaa !13
%13 = or i32 %11, %12
store i32 %13, ptr %1, align 4, !tbaa !14
%14 = load i32, ptr @IFM_AVALID, align 4, !tbaa !13
%15 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !13
%16 = or i32 %15, %14
br label %23
17: ; preds = %2
%18 = load ptr, ptr %3, align 8, !tbaa !16
%19 = tail call i32 @mii_pollstat(ptr noundef %18) #2
%20 = load i32, ptr %18, align 4, !tbaa !17
store i32 %20, ptr %1, align 4, !tbaa !14
%21 = getelementptr inbounds %struct.mii_data, ptr %18, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !19
br label %23
23: ; preds = %17, %8
%24 = phi i32 [ %16, %8 ], [ %22, %17 ]
%25 = getelementptr inbounds %struct.ifmediareq, ptr %1, i64 0, i32 1
store i32 %24, ptr %25, align 4
%26 = tail call i32 @MGE_GLOBAL_UNLOCK(ptr noundef nonnull %3) #2
ret void
}
declare i32 @MGE_GLOBAL_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @mii_pollstat(ptr noundef) local_unnamed_addr #1
declare i32 @MGE_GLOBAL_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ifnet", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"mge_softc", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"ifmediareq", !12, i64 0, !12, i64 4}
!16 = !{!11, !7, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"mii_data", !12, i64 0, !12, i64 4}
!19 = !{!18, !12, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mge/extr_if_mge.c_mge_ifmedia_sts.c'
source_filename = "AnghaBench/freebsd/sys/dev/mge/extr_if_mge.c_mge_ifmedia_sts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IFM_1000_T = common local_unnamed_addr global i32 0, align 4
@IFM_FDX = common local_unnamed_addr global i32 0, align 4
@IFM_ETHER = common local_unnamed_addr global i32 0, align 4
@IFM_AVALID = common local_unnamed_addr global i32 0, align 4
@IFM_ACTIVE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mge_ifmedia_sts], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mge_ifmedia_sts(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @MGE_GLOBAL_LOCK(ptr noundef %3) #2
%5 = getelementptr inbounds i8, ptr %3, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !11
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %2
%9 = load i32, ptr @IFM_1000_T, align 4, !tbaa !14
%10 = load i32, ptr @IFM_FDX, align 4, !tbaa !14
%11 = or i32 %10, %9
%12 = load i32, ptr @IFM_ETHER, align 4, !tbaa !14
%13 = or i32 %11, %12
store i32 %13, ptr %1, align 4, !tbaa !15
%14 = load i32, ptr @IFM_AVALID, align 4, !tbaa !14
%15 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !14
%16 = or i32 %15, %14
br label %23
17: ; preds = %2
%18 = load ptr, ptr %3, align 8, !tbaa !17
%19 = tail call i32 @mii_pollstat(ptr noundef %18) #2
%20 = load i32, ptr %18, align 4, !tbaa !18
store i32 %20, ptr %1, align 4, !tbaa !15
%21 = getelementptr inbounds i8, ptr %18, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !20
br label %23
23: ; preds = %17, %8
%24 = phi i32 [ %16, %8 ], [ %22, %17 ]
%25 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %24, ptr %25, align 4
%26 = tail call i32 @MGE_GLOBAL_UNLOCK(ptr noundef nonnull %3) #2
ret void
}
declare i32 @MGE_GLOBAL_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @mii_pollstat(ptr noundef) local_unnamed_addr #1
declare i32 @MGE_GLOBAL_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ifnet", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"mge_softc", !8, i64 0, !13, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"ifmediareq", !13, i64 0, !13, i64 4}
!17 = !{!12, !8, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"mii_data", !13, i64 0, !13, i64 4}
!20 = !{!19, !13, i64 4}
| freebsd_sys_dev_mge_extr_if_mge.c_mge_ifmedia_sts |
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_dbcommands.c_AlterDatabaseOwner.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_dbcommands.c_AlterDatabaseOwner.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_12__ = type { i32, i32 }
@DatabaseRelationId = dso_local local_unnamed_addr global i32 0, align 4
@RowExclusiveLock = dso_local local_unnamed_addr global i32 0, align 4
@Anum_pg_database_datname = dso_local local_unnamed_addr global i32 0, align 4
@BTEqualStrategyNumber = dso_local local_unnamed_addr global i32 0, align 4
@F_NAMEEQ = dso_local local_unnamed_addr global i32 0, align 4
@DatabaseNameIndexId = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_UNDEFINED_DATABASE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"database \22%s\22 does not exist\00", align 1
@Natts_pg_database = dso_local local_unnamed_addr global i32 0, align 4
@ACLCHECK_NOT_OWNER = dso_local local_unnamed_addr global i32 0, align 4
@OBJECT_DATABASE = dso_local local_unnamed_addr global i32 0, align 4
@ERRCODE_INSUFFICIENT_PRIVILEGE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"permission denied to change owner of database\00", align 1
@Anum_pg_database_datdba = dso_local local_unnamed_addr global i32 0, align 4
@Anum_pg_database_datacl = dso_local local_unnamed_addr global i32 0, align 4
@NoLock = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @AlterDatabaseOwner(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%5 = load i32, ptr @DatabaseRelationId, align 4, !tbaa !5
%6 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !5
%7 = tail call i32 @table_open(i32 noundef %5, i32 noundef %6) #4
%8 = load i32, ptr @Anum_pg_database_datname, align 4, !tbaa !5
%9 = load i32, ptr @BTEqualStrategyNumber, align 4, !tbaa !5
%10 = load i32, ptr @F_NAMEEQ, align 4, !tbaa !5
%11 = tail call i32 @CStringGetDatum(ptr noundef %0) #4
%12 = call i32 @ScanKeyInit(ptr noundef nonnull %3, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11) #4
%13 = load i32, ptr @DatabaseNameIndexId, align 4, !tbaa !5
%14 = call i32 @systable_beginscan(i32 noundef %7, i32 noundef %13, i32 noundef 1, ptr noundef null, i32 noundef 1, ptr noundef nonnull %3) #4
%15 = call ptr @systable_getnext(i32 noundef %14) #4
%16 = call i32 @HeapTupleIsValid(ptr noundef %15) #4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load i32, ptr @ERROR, align 4, !tbaa !5
%20 = load i32, ptr @ERRCODE_UNDEFINED_DATABASE, align 4, !tbaa !5
%21 = call i32 @errcode(i32 noundef %20) #4
%22 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str, ptr noundef %0) #4
%23 = call i32 @ereport(i32 noundef %19, i32 noundef %22) #4
br label %24
24: ; preds = %18, %2
%25 = call i64 @GETSTRUCT(ptr noundef %15) #4
%26 = inttoptr i64 %25 to ptr
%27 = getelementptr inbounds %struct.TYPE_12__, ptr %26, i64 0, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !9
%29 = load i32, ptr %26, align 4, !tbaa !11
%30 = icmp eq i32 %29, %1
br i1 %30, label %96, label %31
31: ; preds = %24
%32 = load i32, ptr @Natts_pg_database, align 4, !tbaa !5
%33 = zext i32 %32 to i64
%34 = call ptr @llvm.stacksave.p0()
%35 = alloca i32, i64 %33, align 16
%36 = load i32, ptr @Natts_pg_database, align 4, !tbaa !5
%37 = zext i32 %36 to i64
%38 = alloca i32, i64 %37, align 16
%39 = alloca i32, i64 %37, align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
%40 = call i32 (...) @GetUserId() #4
%41 = call i32 @pg_database_ownercheck(i32 noundef %28, i32 noundef %40) #4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %31
%44 = load i32, ptr @ACLCHECK_NOT_OWNER, align 4, !tbaa !5
%45 = load i32, ptr @OBJECT_DATABASE, align 4, !tbaa !5
%46 = call i32 @aclcheck_error(i32 noundef %44, i32 noundef %45, ptr noundef %0) #4
br label %47
47: ; preds = %43, %31
%48 = call i32 (...) @GetUserId() #4
%49 = call i32 @check_is_member_of_role(i32 noundef %48, i32 noundef %1) #4
%50 = call i32 (...) @have_createdb_privilege() #4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %58
52: ; preds = %47
%53 = load i32, ptr @ERROR, align 4, !tbaa !5
%54 = load i32, ptr @ERRCODE_INSUFFICIENT_PRIVILEGE, align 4, !tbaa !5
%55 = call i32 @errcode(i32 noundef %54) #4
%56 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.1) #4
%57 = call i32 @ereport(i32 noundef %53, i32 noundef %56) #4
br label %58
58: ; preds = %52, %47
%59 = shl i32 %36, 2
%60 = call i32 @memset(ptr noundef nonnull %38, i32 noundef 0, i32 noundef %59) #4
%61 = call i32 @memset(ptr noundef nonnull %39, i32 noundef 0, i32 noundef %59) #4
%62 = load i32, ptr @Anum_pg_database_datdba, align 4, !tbaa !5
%63 = sext i32 %62 to i64
%64 = getelementptr i32, ptr %39, i64 %63
%65 = getelementptr i32, ptr %64, i64 -1
store i32 1, ptr %65, align 4, !tbaa !5
%66 = call i32 @ObjectIdGetDatum(i32 noundef %1) #4
%67 = load i32, ptr @Anum_pg_database_datdba, align 4, !tbaa !5
%68 = sext i32 %67 to i64
%69 = getelementptr i32, ptr %35, i64 %68
%70 = getelementptr i32, ptr %69, i64 -1
store i32 %66, ptr %70, align 4, !tbaa !5
%71 = load i32, ptr @Anum_pg_database_datacl, align 4, !tbaa !5
%72 = call i32 @RelationGetDescr(i32 noundef %7) #4
%73 = call i32 @heap_getattr(ptr noundef %15, i32 noundef %71, i32 noundef %72, ptr noundef nonnull %4) #4
%74 = load i32, ptr %4, align 4, !tbaa !5
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %89
76: ; preds = %58
%77 = call i32 @DatumGetAclP(i32 noundef %73) #4
%78 = load i32, ptr %26, align 4, !tbaa !11
%79 = call ptr @aclnewowner(i32 noundef %77, i32 noundef %78, i32 noundef %1) #4
%80 = load i32, ptr @Anum_pg_database_datacl, align 4, !tbaa !5
%81 = sext i32 %80 to i64
%82 = getelementptr i32, ptr %39, i64 %81
%83 = getelementptr i32, ptr %82, i64 -1
store i32 1, ptr %83, align 4, !tbaa !5
%84 = call i32 @PointerGetDatum(ptr noundef %79) #4
%85 = load i32, ptr @Anum_pg_database_datacl, align 4, !tbaa !5
%86 = sext i32 %85 to i64
%87 = getelementptr i32, ptr %35, i64 %86
%88 = getelementptr i32, ptr %87, i64 -1
store i32 %84, ptr %88, align 4, !tbaa !5
br label %89
89: ; preds = %76, %58
%90 = call i32 @RelationGetDescr(i32 noundef %7) #4
%91 = call ptr @heap_modify_tuple(ptr noundef %15, i32 noundef %90, ptr noundef nonnull %35, ptr noundef nonnull %38, ptr noundef nonnull %39) #4
%92 = call i32 @CatalogTupleUpdate(i32 noundef %7, ptr noundef %91, ptr noundef %91) #4
%93 = call i32 @heap_freetuple(ptr noundef %91) #4
%94 = load i32, ptr @DatabaseRelationId, align 4, !tbaa !5
%95 = call i32 @changeDependencyOnOwner(i32 noundef %94, i32 noundef %28, i32 noundef %1) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.stackrestore.p0(ptr %34)
br label %96
96: ; preds = %89, %24
%97 = load i32, ptr @DatabaseRelationId, align 4, !tbaa !5
%98 = call i32 @InvokeObjectPostAlterHook(i32 noundef %97, i32 noundef %28, i32 noundef 0) #4
%99 = load i32, ptr @DatabaseRelationId, align 4, !tbaa !5
%100 = call i32 @ObjectAddressSet(i32 noundef undef, i32 noundef %99, i32 noundef %28) #4
%101 = call i32 @systable_endscan(i32 noundef %14) #4
%102 = load i32, ptr @NoLock, align 4, !tbaa !5
%103 = call i32 @table_close(i32 noundef %7, i32 noundef %102) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret i32 undef
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @table_open(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ScanKeyInit(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CStringGetDatum(ptr noundef) local_unnamed_addr #2
declare i32 @systable_beginscan(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @systable_getnext(i32 noundef) local_unnamed_addr #2
declare i32 @HeapTupleIsValid(ptr noundef) local_unnamed_addr #2
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errcode(i32 noundef) local_unnamed_addr #2
declare i32 @errmsg(ptr noundef, ...) local_unnamed_addr #2
declare i64 @GETSTRUCT(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare i32 @pg_database_ownercheck(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetUserId(...) local_unnamed_addr #2
declare i32 @aclcheck_error(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @check_is_member_of_role(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @have_createdb_privilege(...) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #2
declare i32 @heap_getattr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RelationGetDescr(i32 noundef) local_unnamed_addr #2
declare ptr @aclnewowner(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DatumGetAclP(i32 noundef) local_unnamed_addr #2
declare i32 @PointerGetDatum(ptr noundef) local_unnamed_addr #2
declare ptr @heap_modify_tuple(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CatalogTupleUpdate(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @heap_freetuple(ptr noundef) local_unnamed_addr #2
declare i32 @changeDependencyOnOwner(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
declare i32 @InvokeObjectPostAlterHook(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ObjectAddressSet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @systable_endscan(i32 noundef) local_unnamed_addr #2
declare i32 @table_close(i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"TYPE_12__", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_dbcommands.c_AlterDatabaseOwner.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_dbcommands.c_AlterDatabaseOwner.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DatabaseRelationId = common local_unnamed_addr global i32 0, align 4
@RowExclusiveLock = common local_unnamed_addr global i32 0, align 4
@Anum_pg_database_datname = common local_unnamed_addr global i32 0, align 4
@BTEqualStrategyNumber = common local_unnamed_addr global i32 0, align 4
@F_NAMEEQ = common local_unnamed_addr global i32 0, align 4
@DatabaseNameIndexId = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@ERRCODE_UNDEFINED_DATABASE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"database \22%s\22 does not exist\00", align 1
@Natts_pg_database = common local_unnamed_addr global i32 0, align 4
@ACLCHECK_NOT_OWNER = common local_unnamed_addr global i32 0, align 4
@OBJECT_DATABASE = common local_unnamed_addr global i32 0, align 4
@ERRCODE_INSUFFICIENT_PRIVILEGE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"permission denied to change owner of database\00", align 1
@Anum_pg_database_datdba = common local_unnamed_addr global i32 0, align 4
@Anum_pg_database_datacl = common local_unnamed_addr global i32 0, align 4
@NoLock = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @AlterDatabaseOwner(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%5 = load i32, ptr @DatabaseRelationId, align 4, !tbaa !6
%6 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !6
%7 = tail call i32 @table_open(i32 noundef %5, i32 noundef %6) #4
%8 = load i32, ptr @Anum_pg_database_datname, align 4, !tbaa !6
%9 = load i32, ptr @BTEqualStrategyNumber, align 4, !tbaa !6
%10 = load i32, ptr @F_NAMEEQ, align 4, !tbaa !6
%11 = tail call i32 @CStringGetDatum(ptr noundef %0) #4
%12 = call i32 @ScanKeyInit(ptr noundef nonnull %3, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11) #4
%13 = load i32, ptr @DatabaseNameIndexId, align 4, !tbaa !6
%14 = call i32 @systable_beginscan(i32 noundef %7, i32 noundef %13, i32 noundef 1, ptr noundef null, i32 noundef 1, ptr noundef nonnull %3) #4
%15 = call ptr @systable_getnext(i32 noundef %14) #4
%16 = call i32 @HeapTupleIsValid(ptr noundef %15) #4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load i32, ptr @ERROR, align 4, !tbaa !6
%20 = load i32, ptr @ERRCODE_UNDEFINED_DATABASE, align 4, !tbaa !6
%21 = call i32 @errcode(i32 noundef %20) #4
%22 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str, ptr noundef %0) #4
%23 = call i32 @ereport(i32 noundef %19, i32 noundef %22) #4
br label %24
24: ; preds = %18, %2
%25 = call i64 @GETSTRUCT(ptr noundef %15) #4
%26 = inttoptr i64 %25 to ptr
%27 = getelementptr inbounds i8, ptr %26, i64 4
%28 = load i32, ptr %27, align 4, !tbaa !10
%29 = load i32, ptr %26, align 4, !tbaa !12
%30 = icmp eq i32 %29, %1
br i1 %30, label %96, label %31
31: ; preds = %24
%32 = load i32, ptr @Natts_pg_database, align 4, !tbaa !6
%33 = zext i32 %32 to i64
%34 = call ptr @llvm.stacksave.p0()
%35 = alloca i32, i64 %33, align 4
%36 = load i32, ptr @Natts_pg_database, align 4, !tbaa !6
%37 = zext i32 %36 to i64
%38 = alloca i32, i64 %37, align 4
%39 = alloca i32, i64 %37, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
%40 = call i32 @GetUserId() #4
%41 = call i32 @pg_database_ownercheck(i32 noundef %28, i32 noundef %40) #4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %31
%44 = load i32, ptr @ACLCHECK_NOT_OWNER, align 4, !tbaa !6
%45 = load i32, ptr @OBJECT_DATABASE, align 4, !tbaa !6
%46 = call i32 @aclcheck_error(i32 noundef %44, i32 noundef %45, ptr noundef %0) #4
br label %47
47: ; preds = %43, %31
%48 = call i32 @GetUserId() #4
%49 = call i32 @check_is_member_of_role(i32 noundef %48, i32 noundef %1) #4
%50 = call i32 @have_createdb_privilege() #4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %58
52: ; preds = %47
%53 = load i32, ptr @ERROR, align 4, !tbaa !6
%54 = load i32, ptr @ERRCODE_INSUFFICIENT_PRIVILEGE, align 4, !tbaa !6
%55 = call i32 @errcode(i32 noundef %54) #4
%56 = call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.1) #4
%57 = call i32 @ereport(i32 noundef %53, i32 noundef %56) #4
br label %58
58: ; preds = %52, %47
%59 = shl i32 %36, 2
%60 = call i32 @memset(ptr noundef nonnull %38, i32 noundef 0, i32 noundef %59) #4
%61 = call i32 @memset(ptr noundef nonnull %39, i32 noundef 0, i32 noundef %59) #4
%62 = load i32, ptr @Anum_pg_database_datdba, align 4, !tbaa !6
%63 = sext i32 %62 to i64
%64 = getelementptr i32, ptr %39, i64 %63
%65 = getelementptr i8, ptr %64, i64 -4
store i32 1, ptr %65, align 4, !tbaa !6
%66 = call i32 @ObjectIdGetDatum(i32 noundef %1) #4
%67 = load i32, ptr @Anum_pg_database_datdba, align 4, !tbaa !6
%68 = sext i32 %67 to i64
%69 = getelementptr i32, ptr %35, i64 %68
%70 = getelementptr i8, ptr %69, i64 -4
store i32 %66, ptr %70, align 4, !tbaa !6
%71 = load i32, ptr @Anum_pg_database_datacl, align 4, !tbaa !6
%72 = call i32 @RelationGetDescr(i32 noundef %7) #4
%73 = call i32 @heap_getattr(ptr noundef %15, i32 noundef %71, i32 noundef %72, ptr noundef nonnull %4) #4
%74 = load i32, ptr %4, align 4, !tbaa !6
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %89
76: ; preds = %58
%77 = call i32 @DatumGetAclP(i32 noundef %73) #4
%78 = load i32, ptr %26, align 4, !tbaa !12
%79 = call ptr @aclnewowner(i32 noundef %77, i32 noundef %78, i32 noundef %1) #4
%80 = load i32, ptr @Anum_pg_database_datacl, align 4, !tbaa !6
%81 = sext i32 %80 to i64
%82 = getelementptr i32, ptr %39, i64 %81
%83 = getelementptr i8, ptr %82, i64 -4
store i32 1, ptr %83, align 4, !tbaa !6
%84 = call i32 @PointerGetDatum(ptr noundef %79) #4
%85 = load i32, ptr @Anum_pg_database_datacl, align 4, !tbaa !6
%86 = sext i32 %85 to i64
%87 = getelementptr i32, ptr %35, i64 %86
%88 = getelementptr i8, ptr %87, i64 -4
store i32 %84, ptr %88, align 4, !tbaa !6
br label %89
89: ; preds = %76, %58
%90 = call i32 @RelationGetDescr(i32 noundef %7) #4
%91 = call ptr @heap_modify_tuple(ptr noundef %15, i32 noundef %90, ptr noundef nonnull %35, ptr noundef nonnull %38, ptr noundef nonnull %39) #4
%92 = call i32 @CatalogTupleUpdate(i32 noundef %7, ptr noundef %91, ptr noundef %91) #4
%93 = call i32 @heap_freetuple(ptr noundef %91) #4
%94 = load i32, ptr @DatabaseRelationId, align 4, !tbaa !6
%95 = call i32 @changeDependencyOnOwner(i32 noundef %94, i32 noundef %28, i32 noundef %1) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.stackrestore.p0(ptr %34)
br label %96
96: ; preds = %89, %24
%97 = load i32, ptr @DatabaseRelationId, align 4, !tbaa !6
%98 = call i32 @InvokeObjectPostAlterHook(i32 noundef %97, i32 noundef %28, i32 noundef 0) #4
%99 = load i32, ptr @DatabaseRelationId, align 4, !tbaa !6
%100 = call i32 @ObjectAddressSet(i32 noundef undef, i32 noundef %99, i32 noundef %28) #4
%101 = call i32 @systable_endscan(i32 noundef %14) #4
%102 = load i32, ptr @NoLock, align 4, !tbaa !6
%103 = call i32 @table_close(i32 noundef %7, i32 noundef %102) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
ret i32 undef
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @table_open(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ScanKeyInit(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CStringGetDatum(ptr noundef) local_unnamed_addr #2
declare i32 @systable_beginscan(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @systable_getnext(i32 noundef) local_unnamed_addr #2
declare i32 @HeapTupleIsValid(ptr noundef) local_unnamed_addr #2
declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errcode(i32 noundef) local_unnamed_addr #2
declare i32 @errmsg(ptr noundef, ...) local_unnamed_addr #2
declare i64 @GETSTRUCT(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3
declare i32 @pg_database_ownercheck(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetUserId(...) local_unnamed_addr #2
declare i32 @aclcheck_error(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @check_is_member_of_role(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @have_createdb_privilege(...) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #2
declare i32 @heap_getattr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RelationGetDescr(i32 noundef) local_unnamed_addr #2
declare ptr @aclnewowner(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @DatumGetAclP(i32 noundef) local_unnamed_addr #2
declare i32 @PointerGetDatum(ptr noundef) local_unnamed_addr #2
declare ptr @heap_modify_tuple(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @CatalogTupleUpdate(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @heap_freetuple(ptr noundef) local_unnamed_addr #2
declare i32 @changeDependencyOnOwner(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3
declare i32 @InvokeObjectPostAlterHook(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ObjectAddressSet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @systable_endscan(i32 noundef) local_unnamed_addr #2
declare i32 @table_close(i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_12__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
| postgres_src_backend_commands_extr_dbcommands.c_AlterDatabaseOwner |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_base.c_nvkm_fifo_kevent.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_base.c_nvkm_fifo_kevent.c"
target datalayout = "e-m:e-p270:32:32-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 @nvkm_fifo_kevent(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @nvkm_event_send(ptr noundef %0, i32 noundef 1, i32 noundef %1, ptr noundef null, i32 noundef 0) #2
ret void
}
declare i32 @nvkm_event_send(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_base.c_nvkm_fifo_kevent.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_base.c_nvkm_fifo_kevent.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 @nvkm_fifo_kevent(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @nvkm_event_send(ptr noundef %0, i32 noundef 1, i32 noundef %1, ptr noundef null, i32 noundef 0) #2
ret void
}
declare i32 @nvkm_event_send(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_nouveau_nvkm_engine_fifo_extr_base.c_nvkm_fifo_kevent |
; ModuleID = 'AnghaBench/stb/tools/extr_..stb.h_stb_strrchr2.c'
source_filename = "AnghaBench/stb/tools/extr_..stb.h_stb_strrchr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local ptr @stb_strrchr2(ptr noundef readonly %0, i8 noundef signext %1, i8 noundef signext %2) local_unnamed_addr #0 {
%4 = load i8, ptr %0, align 1, !tbaa !5
%5 = icmp eq i8 %4, 0
br i1 %5, label %17, label %6
6: ; preds = %3, %6
%7 = phi i8 [ %15, %6 ], [ %4, %3 ]
%8 = phi ptr [ %13, %6 ], [ null, %3 ]
%9 = phi ptr [ %14, %6 ], [ %0, %3 ]
%10 = icmp eq i8 %7, %1
%11 = icmp eq i8 %7, %2
%12 = or i1 %10, %11
%13 = select i1 %12, ptr %9, ptr %8
%14 = getelementptr inbounds i8, ptr %9, i64 1
%15 = load i8, ptr %14, align 1, !tbaa !5
%16 = icmp eq i8 %15, 0
br i1 %16, label %17, label %6, !llvm.loop !8
17: ; preds = %6, %3
%18 = phi ptr [ null, %3 ], [ %13, %6 ]
ret ptr %18
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/stb/tools/extr_..stb.h_stb_strrchr2.c'
source_filename = "AnghaBench/stb/tools/extr_..stb.h_stb_strrchr2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define ptr @stb_strrchr2(ptr noundef readonly %0, i8 noundef signext %1, i8 noundef signext %2) local_unnamed_addr #0 {
%4 = load i8, ptr %0, align 1, !tbaa !6
%5 = icmp eq i8 %4, 0
br i1 %5, label %17, label %6
6: ; preds = %3, %6
%7 = phi i8 [ %15, %6 ], [ %4, %3 ]
%8 = phi ptr [ %13, %6 ], [ null, %3 ]
%9 = phi ptr [ %14, %6 ], [ %0, %3 ]
%10 = icmp eq i8 %7, %1
%11 = icmp eq i8 %7, %2
%12 = or i1 %10, %11
%13 = select i1 %12, ptr %9, ptr %8
%14 = getelementptr inbounds i8, ptr %9, i64 1
%15 = load i8, ptr %14, align 1, !tbaa !6
%16 = icmp eq i8 %15, 0
br i1 %16, label %17, label %6, !llvm.loop !9
17: ; preds = %6, %3
%18 = phi ptr [ null, %3 ], [ %13, %6 ]
ret ptr %18
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| stb_tools_extr_..stb.h_stb_strrchr2 |
; ModuleID = 'AnghaBench/reactos/base/applications/mstsc/extr_ssl_calls.c_mpAdd.c'
source_filename = "AnghaBench/reactos/base/applications/mstsc/extr_ssl_calls.c_mpAdd.c"
target datalayout = "e-m:e-p270:32:32-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 @mpAdd], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define internal i64 @mpAdd(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = icmp eq i32 %3, 0
br i1 %5, label %25, label %6
6: ; preds = %4
%7 = zext i32 %3 to i64
br label %8
8: ; preds = %6, %8
%9 = phi i64 [ 0, %6 ], [ %23, %8 ]
%10 = phi i64 [ 0, %6 ], [ %22, %8 ]
%11 = getelementptr inbounds i64, ptr %1, i64 %9
%12 = load i64, ptr %11, align 8, !tbaa !5
%13 = add nsw i64 %12, %10
%14 = getelementptr inbounds i64, ptr %0, i64 %9
store i64 %13, ptr %14, align 8, !tbaa !5
%15 = lshr i64 %12, 63
%16 = getelementptr inbounds i64, ptr %2, i64 %9
%17 = load i64, ptr %16, align 8, !tbaa !5
%18 = add nsw i64 %17, %13
store i64 %18, ptr %14, align 8, !tbaa !5
%19 = load i64, ptr %16, align 8, !tbaa !5
%20 = icmp slt i64 %18, %19
%21 = zext i1 %20 to i64
%22 = add nuw nsw i64 %15, %21
%23 = add nuw nsw i64 %9, 1
%24 = icmp eq i64 %23, %7
br i1 %24, label %25, label %8, !llvm.loop !9
25: ; preds = %8, %4
%26 = phi i64 [ 0, %4 ], [ %22, %8 ]
ret i64 %26
}
attributes #0 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/reactos/base/applications/mstsc/extr_ssl_calls.c_mpAdd.c'
source_filename = "AnghaBench/reactos/base/applications/mstsc/extr_ssl_calls.c_mpAdd.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 @mpAdd], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync)
define internal range(i64 0, 3) i64 @mpAdd(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = icmp eq i32 %3, 0
br i1 %5, label %25, label %6
6: ; preds = %4
%7 = zext i32 %3 to i64
br label %8
8: ; preds = %6, %8
%9 = phi i64 [ 0, %6 ], [ %23, %8 ]
%10 = phi i64 [ 0, %6 ], [ %22, %8 ]
%11 = getelementptr inbounds i64, ptr %1, i64 %9
%12 = load i64, ptr %11, align 8, !tbaa !6
%13 = add nsw i64 %12, %10
%14 = getelementptr inbounds i64, ptr %0, i64 %9
store i64 %13, ptr %14, align 8, !tbaa !6
%15 = lshr i64 %12, 63
%16 = getelementptr inbounds i64, ptr %2, i64 %9
%17 = load i64, ptr %16, align 8, !tbaa !6
%18 = add nsw i64 %17, %13
store i64 %18, ptr %14, align 8, !tbaa !6
%19 = load i64, ptr %16, align 8, !tbaa !6
%20 = icmp slt i64 %18, %19
%21 = zext i1 %20 to i64
%22 = add nuw nsw i64 %15, %21
%23 = add nuw nsw i64 %9, 1
%24 = icmp eq i64 %23, %7
br i1 %24, label %25, label %8, !llvm.loop !10
25: ; preds = %8, %4
%26 = phi i64 [ 0, %4 ], [ %22, %8 ]
ret i64 %26
}
attributes #0 = { 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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| reactos_base_applications_mstsc_extr_ssl_calls.c_mpAdd |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibverbs/extr_cmd.c_ibv_cmd_query_device.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibverbs/extr_cmd.c_ibv_cmd_query_device.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ibv_query_device_resp = type { i32 }
@QUERY_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ibv_cmd_query_device(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = alloca %struct.ibv_query_device_resp, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%7 = load i32, ptr @QUERY_DEVICE, align 4, !tbaa !5
%8 = call i32 @IBV_INIT_CMD_RESP(ptr noundef %3, i64 noundef %4, i32 noundef %7, ptr noundef nonnull %6, i32 noundef 4) #4
%9 = load i32, ptr %0, align 4, !tbaa !9
%10 = call i64 @write(i32 noundef %9, ptr noundef %3, i64 noundef %4) #4
%11 = icmp eq i64 %10, %4
br i1 %11, label %14, label %12
12: ; preds = %5
%13 = load i32, ptr @errno, align 4, !tbaa !5
br label %19
14: ; preds = %5
%15 = call i32 @VALGRIND_MAKE_MEM_DEFINED(ptr noundef nonnull %6, i32 noundef 4) #4
%16 = load i32, ptr %1, align 4, !tbaa !11
%17 = call i32 @memset(i32 noundef %16, i32 noundef 0, i32 noundef 4) #4
%18 = call i32 @copy_query_dev_fields(ptr noundef nonnull %1, ptr noundef nonnull %6, ptr noundef %2) #4
br label %19
19: ; preds = %14, %12
%20 = phi i32 [ %13, %12 ], [ 0, %14 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IBV_INIT_CMD_RESP(ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree
declare noundef i64 @write(i32 noundef, ptr nocapture noundef readonly, i64 noundef) local_unnamed_addr #3
declare i32 @VALGRIND_MAKE_MEM_DEFINED(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @copy_query_dev_fields(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 = { nofree "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"ibv_context", !6, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"ibv_device_attr", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibverbs/extr_cmd.c_ibv_cmd_query_device.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibverbs/extr_cmd.c_ibv_cmd_query_device.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ibv_query_device_resp = type { i32 }
@QUERY_DEVICE = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ibv_cmd_query_device(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = alloca %struct.ibv_query_device_resp, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%7 = load i32, ptr @QUERY_DEVICE, align 4, !tbaa !6
%8 = call i32 @IBV_INIT_CMD_RESP(ptr noundef %3, i64 noundef %4, i32 noundef %7, ptr noundef nonnull %6, i32 noundef 4) #4
%9 = load i32, ptr %0, align 4, !tbaa !10
%10 = call i64 @write(i32 noundef %9, ptr noundef %3, i64 noundef %4) #4
%11 = icmp eq i64 %10, %4
br i1 %11, label %14, label %12
12: ; preds = %5
%13 = load i32, ptr @errno, align 4, !tbaa !6
br label %19
14: ; preds = %5
%15 = call i32 @VALGRIND_MAKE_MEM_DEFINED(ptr noundef nonnull %6, i32 noundef 4) #4
%16 = load i32, ptr %1, align 4, !tbaa !12
%17 = call i32 @memset(i32 noundef %16, i32 noundef 0, i32 noundef 4) #4
%18 = call i32 @copy_query_dev_fields(ptr noundef nonnull %1, ptr noundef nonnull %6, ptr noundef %2) #4
br label %19
19: ; preds = %14, %12
%20 = phi i32 [ %13, %12 ], [ 0, %14 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IBV_INIT_CMD_RESP(ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree
declare noundef i64 @write(i32 noundef, ptr nocapture noundef readonly, i64 noundef) local_unnamed_addr #3
declare i32 @VALGRIND_MAKE_MEM_DEFINED(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @copy_query_dev_fields(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 = { nofree "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"ibv_context", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"ibv_device_attr", !7, i64 0}
| freebsd_contrib_ofed_libibverbs_extr_cmd.c_ibv_cmd_query_device |
; ModuleID = 'AnghaBench/freebsd/sys/netgraph/bluetooth/l2cap/extr_ng_l2cap_evnt.c_get_next_l2cap_opt.c'
source_filename = "AnghaBench/freebsd/sys/netgraph/bluetooth/l2cap/extr_ng_l2cap_evnt.c_get_next_l2cap_opt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { i32, i32 }
%struct.TYPE_9__ = type { %struct.TYPE_8__, ptr, ptr }
%struct.TYPE_8__ = type { ptr, ptr, ptr, ptr, ptr }
@NG_L2CAP_OPT_HINT_MASK = dso_local local_unnamed_addr global i32 0, align 4
@NG_L2CAP_OPT_MTU_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@NG_L2CAP_OPT_FLUSH_TIMO_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@NG_L2CAP_OPT_QOS_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_next_l2cap_opt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @get_next_l2cap_opt(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = load i32, ptr %1, align 4, !tbaa !11
%7 = icmp eq i32 %5, %6
br i1 %7, label %88, label %8
8: ; preds = %4
%9 = sub nsw i32 %5, %6
%10 = icmp slt i32 %9, 8
br i1 %10, label %88, label %11
11: ; preds = %8
%12 = ptrtoint ptr %2 to i64
%13 = trunc i64 %12 to i32
%14 = tail call i32 @m_copydata(ptr noundef nonnull %0, i32 noundef %6, i32 noundef 8, i32 noundef %13) #2
%15 = load i32, ptr %1, align 4, !tbaa !11
%16 = add i32 %15, 8
store i32 %16, ptr %1, align 4, !tbaa !11
%17 = add nsw i32 %9, -8
%18 = load i32, ptr %2, align 4, !tbaa !12
%19 = tail call i32 @NG_L2CAP_OPT_HINT(i32 noundef %18) #2
%20 = load i32, ptr @NG_L2CAP_OPT_HINT_MASK, align 4, !tbaa !11
%21 = load i32, ptr %2, align 4, !tbaa !12
%22 = and i32 %21, %20
store i32 %22, ptr %2, align 4, !tbaa !12
switch i32 %22, label %79 [
i32 129, label %23
i32 130, label %38
i32 128, label %53
]
23: ; preds = %11
%24 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !14
%26 = load i32, ptr @NG_L2CAP_OPT_MTU_SIZE, align 4, !tbaa !11
%27 = icmp ne i32 %25, %26
%28 = icmp slt i32 %17, %25
%29 = select i1 %27, i1 true, i1 %28
br i1 %29, label %88, label %30
30: ; preds = %23
%31 = load i32, ptr %1, align 4, !tbaa !11
%32 = ptrtoint ptr %3 to i64
%33 = trunc i64 %32 to i32
%34 = tail call i32 @m_copydata(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %25, i32 noundef %33) #2
%35 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 2
%36 = load ptr, ptr %35, align 8, !tbaa !15
%37 = tail call ptr @le16toh(ptr noundef %36) #2
store ptr %37, ptr %35, align 8, !tbaa !15
br label %83
38: ; preds = %11
%39 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1
%40 = load i32, ptr %39, align 4, !tbaa !14
%41 = load i32, ptr @NG_L2CAP_OPT_FLUSH_TIMO_SIZE, align 4, !tbaa !11
%42 = icmp ne i32 %40, %41
%43 = icmp slt i32 %17, %40
%44 = select i1 %42, i1 true, i1 %43
br i1 %44, label %88, label %45
45: ; preds = %38
%46 = load i32, ptr %1, align 4, !tbaa !11
%47 = ptrtoint ptr %3 to i64
%48 = trunc i64 %47 to i32
%49 = tail call i32 @m_copydata(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %40, i32 noundef %48) #2
%50 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 1
%51 = load ptr, ptr %50, align 8, !tbaa !19
%52 = tail call ptr @le16toh(ptr noundef %51) #2
store ptr %52, ptr %50, align 8, !tbaa !19
br label %83
53: ; preds = %11
%54 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1
%55 = load i32, ptr %54, align 4, !tbaa !14
%56 = load i32, ptr @NG_L2CAP_OPT_QOS_SIZE, align 4, !tbaa !11
%57 = icmp ne i32 %55, %56
%58 = icmp slt i32 %17, %55
%59 = select i1 %57, i1 true, i1 %58
br i1 %59, label %88, label %60
60: ; preds = %53
%61 = load i32, ptr %1, align 4, !tbaa !11
%62 = ptrtoint ptr %3 to i64
%63 = trunc i64 %62 to i32
%64 = tail call i32 @m_copydata(ptr noundef nonnull %0, i32 noundef %61, i32 noundef %55, i32 noundef %63) #2
%65 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 4
%66 = load ptr, ptr %65, align 8, !tbaa !20
%67 = tail call ptr @le32toh(ptr noundef %66) #2
store ptr %67, ptr %65, align 8, !tbaa !20
%68 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 3
%69 = load ptr, ptr %68, align 8, !tbaa !21
%70 = tail call ptr @le32toh(ptr noundef %69) #2
store ptr %70, ptr %68, align 8, !tbaa !21
%71 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 2
%72 = load ptr, ptr %71, align 8, !tbaa !22
%73 = tail call ptr @le32toh(ptr noundef %72) #2
store ptr %73, ptr %71, align 8, !tbaa !22
%74 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 1
%75 = load ptr, ptr %74, align 8, !tbaa !23
%76 = tail call ptr @le32toh(ptr noundef %75) #2
store ptr %76, ptr %74, align 8, !tbaa !23
%77 = load ptr, ptr %3, align 8, !tbaa !24
%78 = tail call ptr @le32toh(ptr noundef %77) #2
store ptr %78, ptr %3, align 8, !tbaa !24
br label %83
79: ; preds = %11
%80 = icmp eq i32 %19, 0
br i1 %80, label %88, label %81
81: ; preds = %79
%82 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1
br label %83
83: ; preds = %81, %60, %45, %30
%84 = phi ptr [ @NG_L2CAP_OPT_MTU_SIZE, %30 ], [ @NG_L2CAP_OPT_FLUSH_TIMO_SIZE, %45 ], [ @NG_L2CAP_OPT_QOS_SIZE, %60 ], [ %82, %81 ]
%85 = load i32, ptr %84, align 4, !tbaa !11
%86 = load i32, ptr %1, align 4, !tbaa !11
%87 = add nsw i32 %86, %85
store i32 %87, ptr %1, align 4, !tbaa !11
br label %88
88: ; preds = %83, %79, %53, %38, %23, %8, %4
%89 = phi i32 [ 0, %4 ], [ -1, %8 ], [ -2, %23 ], [ -2, %38 ], [ -2, %53 ], [ -3, %79 ], [ 1, %83 ]
ret i32 %89
}
declare i32 @m_copydata(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NG_L2CAP_OPT_HINT(i32 noundef) local_unnamed_addr #1
declare ptr @le16toh(ptr noundef) local_unnamed_addr #1
declare ptr @le32toh(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 = !{!"mbuf", !7, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_10__", !8, i64 0, !8, i64 4}
!14 = !{!13, !8, i64 4}
!15 = !{!16, !18, i64 48}
!16 = !{!"TYPE_9__", !17, i64 0, !18, i64 40, !18, i64 48}
!17 = !{!"TYPE_8__", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!16, !18, i64 40}
!20 = !{!16, !18, i64 32}
!21 = !{!16, !18, i64 24}
!22 = !{!16, !18, i64 16}
!23 = !{!16, !18, i64 8}
!24 = !{!16, !18, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/netgraph/bluetooth/l2cap/extr_ng_l2cap_evnt.c_get_next_l2cap_opt.c'
source_filename = "AnghaBench/freebsd/sys/netgraph/bluetooth/l2cap/extr_ng_l2cap_evnt.c_get_next_l2cap_opt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NG_L2CAP_OPT_HINT_MASK = common local_unnamed_addr global i32 0, align 4
@NG_L2CAP_OPT_MTU_SIZE = common local_unnamed_addr global i32 0, align 4
@NG_L2CAP_OPT_FLUSH_TIMO_SIZE = common local_unnamed_addr global i32 0, align 4
@NG_L2CAP_OPT_QOS_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_next_l2cap_opt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -3, 2) i32 @get_next_l2cap_opt(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = load i32, ptr %1, align 4, !tbaa !12
%7 = icmp eq i32 %5, %6
br i1 %7, label %88, label %8
8: ; preds = %4
%9 = sub nsw i32 %5, %6
%10 = icmp slt i32 %9, 8
br i1 %10, label %88, label %11
11: ; preds = %8
%12 = ptrtoint ptr %2 to i64
%13 = trunc i64 %12 to i32
%14 = tail call i32 @m_copydata(ptr noundef nonnull %0, i32 noundef %6, i32 noundef 8, i32 noundef %13) #2
%15 = load i32, ptr %1, align 4, !tbaa !12
%16 = add i32 %15, 8
store i32 %16, ptr %1, align 4, !tbaa !12
%17 = add nsw i32 %9, -8
%18 = load i32, ptr %2, align 4, !tbaa !13
%19 = tail call i32 @NG_L2CAP_OPT_HINT(i32 noundef %18) #2
%20 = load i32, ptr @NG_L2CAP_OPT_HINT_MASK, align 4, !tbaa !12
%21 = load i32, ptr %2, align 4, !tbaa !13
%22 = and i32 %21, %20
store i32 %22, ptr %2, align 4, !tbaa !13
switch i32 %22, label %79 [
i32 129, label %23
i32 130, label %38
i32 128, label %53
]
23: ; preds = %11
%24 = getelementptr inbounds i8, ptr %2, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !15
%26 = load i32, ptr @NG_L2CAP_OPT_MTU_SIZE, align 4, !tbaa !12
%27 = icmp ne i32 %25, %26
%28 = icmp slt i32 %17, %25
%29 = select i1 %27, i1 true, i1 %28
br i1 %29, label %88, label %30
30: ; preds = %23
%31 = load i32, ptr %1, align 4, !tbaa !12
%32 = ptrtoint ptr %3 to i64
%33 = trunc i64 %32 to i32
%34 = tail call i32 @m_copydata(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %25, i32 noundef %33) #2
%35 = getelementptr inbounds i8, ptr %3, i64 48
%36 = load ptr, ptr %35, align 8, !tbaa !16
%37 = tail call ptr @le16toh(ptr noundef %36) #2
store ptr %37, ptr %35, align 8, !tbaa !16
br label %83
38: ; preds = %11
%39 = getelementptr inbounds i8, ptr %2, i64 4
%40 = load i32, ptr %39, align 4, !tbaa !15
%41 = load i32, ptr @NG_L2CAP_OPT_FLUSH_TIMO_SIZE, align 4, !tbaa !12
%42 = icmp ne i32 %40, %41
%43 = icmp slt i32 %17, %40
%44 = select i1 %42, i1 true, i1 %43
br i1 %44, label %88, label %45
45: ; preds = %38
%46 = load i32, ptr %1, align 4, !tbaa !12
%47 = ptrtoint ptr %3 to i64
%48 = trunc i64 %47 to i32
%49 = tail call i32 @m_copydata(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %40, i32 noundef %48) #2
%50 = getelementptr inbounds i8, ptr %3, i64 40
%51 = load ptr, ptr %50, align 8, !tbaa !20
%52 = tail call ptr @le16toh(ptr noundef %51) #2
store ptr %52, ptr %50, align 8, !tbaa !20
br label %83
53: ; preds = %11
%54 = getelementptr inbounds i8, ptr %2, i64 4
%55 = load i32, ptr %54, align 4, !tbaa !15
%56 = load i32, ptr @NG_L2CAP_OPT_QOS_SIZE, align 4, !tbaa !12
%57 = icmp ne i32 %55, %56
%58 = icmp slt i32 %17, %55
%59 = select i1 %57, i1 true, i1 %58
br i1 %59, label %88, label %60
60: ; preds = %53
%61 = load i32, ptr %1, align 4, !tbaa !12
%62 = ptrtoint ptr %3 to i64
%63 = trunc i64 %62 to i32
%64 = tail call i32 @m_copydata(ptr noundef nonnull %0, i32 noundef %61, i32 noundef %55, i32 noundef %63) #2
%65 = getelementptr inbounds i8, ptr %3, i64 32
%66 = load ptr, ptr %65, align 8, !tbaa !21
%67 = tail call ptr @le32toh(ptr noundef %66) #2
store ptr %67, ptr %65, align 8, !tbaa !21
%68 = getelementptr inbounds i8, ptr %3, i64 24
%69 = load ptr, ptr %68, align 8, !tbaa !22
%70 = tail call ptr @le32toh(ptr noundef %69) #2
store ptr %70, ptr %68, align 8, !tbaa !22
%71 = getelementptr inbounds i8, ptr %3, i64 16
%72 = load ptr, ptr %71, align 8, !tbaa !23
%73 = tail call ptr @le32toh(ptr noundef %72) #2
store ptr %73, ptr %71, align 8, !tbaa !23
%74 = getelementptr inbounds i8, ptr %3, i64 8
%75 = load ptr, ptr %74, align 8, !tbaa !24
%76 = tail call ptr @le32toh(ptr noundef %75) #2
store ptr %76, ptr %74, align 8, !tbaa !24
%77 = load ptr, ptr %3, align 8, !tbaa !25
%78 = tail call ptr @le32toh(ptr noundef %77) #2
store ptr %78, ptr %3, align 8, !tbaa !25
br label %83
79: ; preds = %11
%80 = icmp eq i32 %19, 0
br i1 %80, label %88, label %81
81: ; preds = %79
%82 = getelementptr inbounds i8, ptr %2, i64 4
br label %83
83: ; preds = %81, %60, %45, %30
%84 = phi ptr [ @NG_L2CAP_OPT_MTU_SIZE, %30 ], [ @NG_L2CAP_OPT_FLUSH_TIMO_SIZE, %45 ], [ @NG_L2CAP_OPT_QOS_SIZE, %60 ], [ %82, %81 ]
%85 = load i32, ptr %84, align 4, !tbaa !12
%86 = load i32, ptr %1, align 4, !tbaa !12
%87 = add nsw i32 %86, %85
store i32 %87, ptr %1, align 4, !tbaa !12
br label %88
88: ; preds = %83, %79, %53, %38, %23, %8, %4
%89 = phi i32 [ 0, %4 ], [ -1, %8 ], [ -2, %23 ], [ -2, %38 ], [ -2, %53 ], [ -3, %79 ], [ 1, %83 ]
ret i32 %89
}
declare i32 @m_copydata(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @NG_L2CAP_OPT_HINT(i32 noundef) local_unnamed_addr #1
declare ptr @le16toh(ptr noundef) local_unnamed_addr #1
declare ptr @le32toh(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 = !{!"mbuf", !8, i64 0}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !9, i64 0}
!14 = !{!"TYPE_10__", !9, i64 0, !9, i64 4}
!15 = !{!14, !9, i64 4}
!16 = !{!17, !19, i64 48}
!17 = !{!"TYPE_9__", !18, i64 0, !19, i64 40, !19, i64 48}
!18 = !{!"TYPE_8__", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32}
!19 = !{!"any pointer", !10, i64 0}
!20 = !{!17, !19, i64 40}
!21 = !{!17, !19, i64 32}
!22 = !{!17, !19, i64 24}
!23 = !{!17, !19, i64 16}
!24 = !{!17, !19, i64 8}
!25 = !{!17, !19, i64 0}
| freebsd_sys_netgraph_bluetooth_l2cap_extr_ng_l2cap_evnt.c_get_next_l2cap_opt |
; ModuleID = 'AnghaBench/freebsd/sys/mips/nlm/dev/net/extr_xlpge.c_xlpge_mediachange.c'
source_filename = "AnghaBench/freebsd/sys/mips/nlm/dev/net/extr_xlpge.c_xlpge_mediachange.c"
target datalayout = "e-m:e-p270:32:32-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 @xlpge_mediachange], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @xlpge_mediachange(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/mips/nlm/dev/net/extr_xlpge.c_xlpge_mediachange.c'
source_filename = "AnghaBench/freebsd/sys/mips/nlm/dev/net/extr_xlpge.c_xlpge_mediachange.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 @xlpge_mediachange], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @xlpge_mediachange(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_mips_nlm_dev_net_extr_xlpge.c_xlpge_mediachange |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/kernel/extr_process.c_get_wchan.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/kernel/extr_process.c_get_wchan.c"
target datalayout = "e-m:e-p270:32:32-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.task_struct = type { i64, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
@current = dso_local local_unnamed_addr global ptr null, align 8
@TASK_RUNNING = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i64 @get_wchan(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = load ptr, ptr @current, align 8
%4 = icmp eq ptr %3, %0
%5 = select i1 %2, i1 true, i1 %4
br i1 %5, label %33, label %6
6: ; preds = %1
%7 = load i64, ptr %0, align 8, !tbaa !5
%8 = load i64, ptr @TASK_RUNNING, align 8, !tbaa !11
%9 = icmp eq i64 %7, %8
br i1 %9, label %33, label %10
10: ; preds = %6
%11 = tail call i64 @task_stack_page(ptr noundef nonnull %0) #2
%12 = getelementptr inbounds %struct.task_struct, ptr %0, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = inttoptr i64 %13 to ptr
%15 = add i64 %11, 4
%16 = add i64 %11, 8184
br label %17
17: ; preds = %30, %10
%18 = phi ptr [ %14, %10 ], [ %25, %30 ]
%19 = phi i32 [ 0, %10 ], [ %31, %30 ]
%20 = load i64, ptr %18, align 8, !tbaa !11
%21 = icmp uge i64 %20, %15
%22 = icmp ult i64 %20, %16
%23 = and i1 %21, %22
br i1 %23, label %24, label %33
24: ; preds = %17
%25 = inttoptr i64 %20 to ptr
%26 = getelementptr inbounds i64, ptr %25, i64 1
%27 = load i64, ptr %26, align 8, !tbaa !11
%28 = tail call i32 @in_sched_functions(i64 noundef %27) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %24
%31 = add nuw nsw i32 %19, 1
%32 = icmp eq i32 %31, 17
br i1 %32, label %33, label %17, !llvm.loop !13
33: ; preds = %30, %24, %17, %1, %6
%34 = phi i64 [ 0, %6 ], [ 0, %1 ], [ 0, %30 ], [ %27, %24 ], [ 0, %17 ]
ret i64 %34
}
declare i64 @task_stack_page(ptr noundef) local_unnamed_addr #1
declare i32 @in_sched_functions(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 = !{!"task_struct", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/kernel/extr_process.c_get_wchan.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/kernel/extr_process.c_get_wchan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current = common local_unnamed_addr global ptr null, align 8
@TASK_RUNNING = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i64 @get_wchan(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = load ptr, ptr @current, align 8
%4 = icmp eq ptr %3, %0
%5 = select i1 %2, i1 true, i1 %4
br i1 %5, label %33, label %6
6: ; preds = %1
%7 = load i64, ptr %0, align 8, !tbaa !6
%8 = load i64, ptr @TASK_RUNNING, align 8, !tbaa !12
%9 = icmp eq i64 %7, %8
br i1 %9, label %33, label %10
10: ; preds = %6
%11 = tail call i64 @task_stack_page(ptr noundef nonnull %0) #2
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = inttoptr i64 %13 to ptr
%15 = add i64 %11, 4
%16 = add i64 %11, 8184
br label %17
17: ; preds = %30, %10
%18 = phi ptr [ %14, %10 ], [ %25, %30 ]
%19 = phi i32 [ 0, %10 ], [ %31, %30 ]
%20 = load i64, ptr %18, align 8, !tbaa !12
%21 = icmp uge i64 %20, %15
%22 = icmp ult i64 %20, %16
%23 = and i1 %21, %22
br i1 %23, label %24, label %33
24: ; preds = %17
%25 = inttoptr i64 %20 to ptr
%26 = getelementptr inbounds i8, ptr %25, i64 8
%27 = load i64, ptr %26, align 8, !tbaa !12
%28 = tail call i32 @in_sched_functions(i64 noundef %27) #2
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %24
%31 = add nuw nsw i32 %19, 1
%32 = icmp eq i32 %31, 17
br i1 %32, label %33, label %17, !llvm.loop !14
33: ; preds = %30, %24, %17, %1, %6
%34 = phi i64 [ 0, %6 ], [ 0, %1 ], [ 0, %30 ], [ %27, %24 ], [ 0, %17 ]
ret i64 %34
}
declare i64 @task_stack_page(ptr noundef) local_unnamed_addr #1
declare i32 @in_sched_functions(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 = !{!"task_struct", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_arch_m68k_kernel_extr_process.c_get_wchan |
; ModuleID = 'AnghaBench/linux/drivers/block/extr_floppy.c_result.c'
source_filename = "AnghaBench/linux/drivers/block/extr_floppy.c_result.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MAX_REPLIES = dso_local local_unnamed_addr global i32 0, align 4
@STATUS_DIR = dso_local local_unnamed_addr global i32 0, align 4
@STATUS_READY = dso_local local_unnamed_addr global i32 0, align 4
@STATUS_BUSY = dso_local local_unnamed_addr global i32 0, align 4
@STATUS_DMA = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@resultjiffies = dso_local local_unnamed_addr global i32 0, align 4
@resultsize = dso_local local_unnamed_addr global i32 0, align 4
@FD_DATA = dso_local local_unnamed_addr global i32 0, align 4
@reply_buffer = dso_local local_unnamed_addr global ptr null, align 8
@initialized = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [55 x i8] c"get result error. Fdc=%d Last status=%x Read bytes=%d\0A\00", align 1
@fdc = dso_local local_unnamed_addr global i32 0, align 4
@FDCS = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @result], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @result() #0 {
%1 = load i32, ptr @MAX_REPLIES, align 4, !tbaa !5
%2 = icmp sgt i32 %1, 0
br i1 %2, label %3, label %37
3: ; preds = %0, %24
%4 = phi i64 [ %29, %24 ], [ 0, %0 ]
%5 = tail call i32 (...) @wait_til_ready() #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %33, label %7
7: ; preds = %3
%8 = load i32, ptr @STATUS_DIR, align 4, !tbaa !5
%9 = load i32, ptr @STATUS_READY, align 4, !tbaa !5
%10 = or i32 %9, %8
%11 = load i32, ptr @STATUS_BUSY, align 4, !tbaa !5
%12 = or i32 %10, %11
%13 = load i32, ptr @STATUS_DMA, align 4, !tbaa !5
%14 = or i32 %12, %13
%15 = and i32 %14, %5
%16 = xor i32 %11, -1
%17 = and i32 %15, %16
%18 = icmp eq i32 %17, %9
br i1 %18, label %19, label %22
19: ; preds = %7
%20 = trunc i64 %4 to i32
%21 = load i32, ptr @jiffies, align 4, !tbaa !5
store i32 %21, ptr @resultjiffies, align 4, !tbaa !5
store i32 %20, ptr @resultsize, align 4, !tbaa !5
br label %48
22: ; preds = %7
%23 = icmp eq i32 %15, %12
br i1 %23, label %24, label %33
24: ; preds = %22
%25 = load i32, ptr @FD_DATA, align 4, !tbaa !5
%26 = tail call i32 @fd_inb(i32 noundef %25) #2
%27 = load ptr, ptr @reply_buffer, align 8, !tbaa !9
%28 = getelementptr inbounds i32, ptr %27, i64 %4
store i32 %26, ptr %28, align 4, !tbaa !5
%29 = add nuw nsw i64 %4, 1
%30 = load i32, ptr @MAX_REPLIES, align 4, !tbaa !5
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %3, label %33, !llvm.loop !11
33: ; preds = %24, %3, %22
%34 = phi i64 [ %4, %22 ], [ %4, %3 ], [ %29, %24 ]
%35 = phi i32 [ %15, %22 ], [ %5, %3 ], [ %12, %24 ]
%36 = trunc i64 %34 to i32
br label %37
37: ; preds = %33, %0
%38 = phi i32 [ 0, %0 ], [ %36, %33 ]
%39 = phi i32 [ 0, %0 ], [ %35, %33 ]
%40 = load i64, ptr @initialized, align 8, !tbaa !13
%41 = icmp eq i64 %40, 0
br i1 %41, label %46, label %42
42: ; preds = %37
%43 = load i32, ptr @fdc, align 4, !tbaa !5
%44 = tail call i32 @DPRINT(ptr noundef nonnull @.str, i32 noundef %43, i32 noundef %39, i32 noundef %38) #2
%45 = tail call i32 (...) @show_floppy() #2
br label %46
46: ; preds = %42, %37
%47 = load ptr, ptr @FDCS, align 8, !tbaa !9
store i32 1, ptr %47, align 4, !tbaa !15
br label %48
48: ; preds = %46, %19
%49 = phi i32 [ -1, %46 ], [ %20, %19 ]
ret i32 %49
}
declare i32 @wait_til_ready(...) local_unnamed_addr #1
declare i32 @fd_inb(i32 noundef) local_unnamed_addr #1
declare i32 @DPRINT(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @show_floppy(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/block/extr_floppy.c_result.c'
source_filename = "AnghaBench/linux/drivers/block/extr_floppy.c_result.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_REPLIES = common local_unnamed_addr global i32 0, align 4
@STATUS_DIR = common local_unnamed_addr global i32 0, align 4
@STATUS_READY = common local_unnamed_addr global i32 0, align 4
@STATUS_BUSY = common local_unnamed_addr global i32 0, align 4
@STATUS_DMA = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i32 0, align 4
@resultjiffies = common local_unnamed_addr global i32 0, align 4
@resultsize = common local_unnamed_addr global i32 0, align 4
@FD_DATA = common local_unnamed_addr global i32 0, align 4
@reply_buffer = common local_unnamed_addr global ptr null, align 8
@initialized = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [55 x i8] c"get result error. Fdc=%d Last status=%x Read bytes=%d\0A\00", align 1
@fdc = common local_unnamed_addr global i32 0, align 4
@FDCS = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @result], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @result() #0 {
%1 = load i32, ptr @MAX_REPLIES, align 4, !tbaa !6
%2 = icmp sgt i32 %1, 0
br i1 %2, label %3, label %37
3: ; preds = %0, %24
%4 = phi i64 [ %29, %24 ], [ 0, %0 ]
%5 = tail call i32 @wait_til_ready() #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %33, label %7
7: ; preds = %3
%8 = load i32, ptr @STATUS_DIR, align 4, !tbaa !6
%9 = load i32, ptr @STATUS_READY, align 4, !tbaa !6
%10 = or i32 %9, %8
%11 = load i32, ptr @STATUS_BUSY, align 4, !tbaa !6
%12 = or i32 %10, %11
%13 = load i32, ptr @STATUS_DMA, align 4, !tbaa !6
%14 = or i32 %12, %13
%15 = and i32 %14, %5
%16 = xor i32 %11, -1
%17 = and i32 %15, %16
%18 = icmp eq i32 %17, %9
br i1 %18, label %19, label %22
19: ; preds = %7
%20 = trunc nuw nsw i64 %4 to i32
%21 = load i32, ptr @jiffies, align 4, !tbaa !6
store i32 %21, ptr @resultjiffies, align 4, !tbaa !6
store i32 %20, ptr @resultsize, align 4, !tbaa !6
br label %48
22: ; preds = %7
%23 = icmp eq i32 %15, %12
br i1 %23, label %24, label %33
24: ; preds = %22
%25 = load i32, ptr @FD_DATA, align 4, !tbaa !6
%26 = tail call i32 @fd_inb(i32 noundef %25) #2
%27 = load ptr, ptr @reply_buffer, align 8, !tbaa !10
%28 = getelementptr inbounds i32, ptr %27, i64 %4
store i32 %26, ptr %28, align 4, !tbaa !6
%29 = add nuw nsw i64 %4, 1
%30 = load i32, ptr @MAX_REPLIES, align 4, !tbaa !6
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %3, label %33, !llvm.loop !12
33: ; preds = %24, %3, %22
%34 = phi i64 [ %4, %22 ], [ %4, %3 ], [ %29, %24 ]
%35 = phi i32 [ %15, %22 ], [ %5, %3 ], [ %12, %24 ]
%36 = trunc i64 %34 to i32
br label %37
37: ; preds = %33, %0
%38 = phi i32 [ 0, %0 ], [ %36, %33 ]
%39 = phi i32 [ 0, %0 ], [ %35, %33 ]
%40 = load i64, ptr @initialized, align 8, !tbaa !14
%41 = icmp eq i64 %40, 0
br i1 %41, label %46, label %42
42: ; preds = %37
%43 = load i32, ptr @fdc, align 4, !tbaa !6
%44 = tail call i32 @DPRINT(ptr noundef nonnull @.str, i32 noundef %43, i32 noundef %39, i32 noundef %38) #2
%45 = tail call i32 @show_floppy() #2
br label %46
46: ; preds = %42, %37
%47 = load ptr, ptr @FDCS, align 8, !tbaa !10
store i32 1, ptr %47, align 4, !tbaa !16
br label %48
48: ; preds = %46, %19
%49 = phi i32 [ -1, %46 ], [ %20, %19 ]
ret i32 %49
}
declare i32 @wait_til_ready(...) local_unnamed_addr #1
declare i32 @fd_inb(i32 noundef) local_unnamed_addr #1
declare i32 @DPRINT(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @show_floppy(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_2__", !7, i64 0}
| linux_drivers_block_extr_floppy.c_result |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/validator/extr_val_sigcrypt.c_dnskeyset_verify_rrset_sig.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/validator/extr_val_sigcrypt.c_dnskeyset_verify_rrset_sig.c"
target datalayout = "e-m:e-p270:32:32-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.module_env = type { i32, i32 }
@sec_status_bogus = dso_local local_unnamed_addr global i32 0, align 4
@VERB_ALGO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"verify sig %d %d\00", align 1
@VERB_QUERY = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"verify sig: unknown algorithm\00", align 1
@sec_status_insecure = dso_local local_unnamed_addr global i32 0, align 4
@sec_status_secure = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"signatures from unknown keys\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"verify: could not find appropriate key\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @dnskeyset_verify_rrset_sig(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9) local_unnamed_addr #0 {
%11 = alloca i32, align 4
%12 = tail call i64 @rrset_get_sig_keytag(ptr noundef %3, i64 noundef %5) #3
%13 = tail call i32 @rrset_get_sig_algo(ptr noundef %3, i64 noundef %5) #3
%14 = tail call i64 @rrset_get_count(ptr noundef %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
store i32 0, ptr %11, align 4, !tbaa !5
%15 = load i32, ptr @VERB_ALGO, align 4, !tbaa !5
%16 = trunc i64 %12 to i32
%17 = tail call i32 (i32, ptr, ...) @verbose(i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %13) #3
%18 = tail call i32 @dnskey_algo_id_is_supported(i32 noundef %13) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %10
%21 = icmp eq i64 %14, 0
br i1 %21, label %49, label %22
22: ; preds = %20
%23 = getelementptr inbounds %struct.module_env, ptr %0, i64 0, i32 1
br label %28
24: ; preds = %10
%25 = load i32, ptr @VERB_QUERY, align 4, !tbaa !5
%26 = tail call i32 (i32, ptr, ...) @verbose(i32 noundef %25, ptr noundef nonnull @.str.1) #3
%27 = load i32, ptr @sec_status_insecure, align 4, !tbaa !5
br label %55
28: ; preds = %22, %43
%29 = phi i64 [ 0, %22 ], [ %44, %43 ]
%30 = phi i64 [ 0, %22 ], [ %45, %43 ]
%31 = call i32 @dnskey_get_algo(ptr noundef %4, i64 noundef %30) #3
%32 = icmp eq i32 %13, %31
br i1 %32, label %33, label %43
33: ; preds = %28
%34 = call i64 @dnskey_calc_keytag(ptr noundef %4, i64 noundef %30) #3
%35 = icmp eq i64 %12, %34
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = add i64 %29, 1
%38 = load i32, ptr %23, align 4, !tbaa !9
%39 = load i32, ptr %0, align 4, !tbaa !11
%40 = call i32 @dnskey_verify_rrset_sig(i32 noundef %38, i32 noundef %39, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %30, i64 noundef %5, ptr noundef %6, ptr noundef nonnull %11, ptr noundef %7, i32 noundef %8, ptr noundef %9) #3
%41 = load i32, ptr @sec_status_secure, align 4, !tbaa !5
%42 = icmp eq i32 %40, %41
br i1 %42, label %55, label %43
43: ; preds = %36, %28, %33
%44 = phi i64 [ %29, %28 ], [ %29, %33 ], [ %37, %36 ]
%45 = add nuw i64 %30, 1
%46 = icmp eq i64 %45, %14
br i1 %46, label %47, label %28, !llvm.loop !12
47: ; preds = %43
%48 = icmp eq i64 %44, 0
br i1 %48, label %49, label %53
49: ; preds = %20, %47
store ptr @.str.2, ptr %7, align 8, !tbaa !14
%50 = load i32, ptr @VERB_QUERY, align 4, !tbaa !5
%51 = call i32 (i32, ptr, ...) @verbose(i32 noundef %50, ptr noundef nonnull @.str.3) #3
%52 = load i32, ptr @sec_status_bogus, align 4, !tbaa !5
br label %55
53: ; preds = %47
%54 = load i32, ptr @sec_status_bogus, align 4, !tbaa !5
br label %55
55: ; preds = %36, %53, %49, %24
%56 = phi i32 [ %52, %49 ], [ %54, %53 ], [ %27, %24 ], [ %40, %36 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
ret i32 %56
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @rrset_get_sig_keytag(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @rrset_get_sig_algo(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @rrset_get_count(ptr noundef) local_unnamed_addr #2
declare i32 @verbose(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @dnskey_algo_id_is_supported(i32 noundef) local_unnamed_addr #2
declare i32 @dnskey_get_algo(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @dnskey_calc_keytag(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @dnskey_verify_rrset_sig(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"module_env", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/validator/extr_val_sigcrypt.c_dnskeyset_verify_rrset_sig.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/validator/extr_val_sigcrypt.c_dnskeyset_verify_rrset_sig.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sec_status_bogus = common local_unnamed_addr global i32 0, align 4
@VERB_ALGO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"verify sig %d %d\00", align 1
@VERB_QUERY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"verify sig: unknown algorithm\00", align 1
@sec_status_insecure = common local_unnamed_addr global i32 0, align 4
@sec_status_secure = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"signatures from unknown keys\00", align 1
@.str.3 = private unnamed_addr constant [39 x i8] c"verify: could not find appropriate key\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dnskeyset_verify_rrset_sig(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, ptr noundef %9) local_unnamed_addr #0 {
%11 = alloca i32, align 4
%12 = tail call i64 @rrset_get_sig_keytag(ptr noundef %3, i64 noundef %5) #3
%13 = tail call i32 @rrset_get_sig_algo(ptr noundef %3, i64 noundef %5) #3
%14 = tail call i64 @rrset_get_count(ptr noundef %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
store i32 0, ptr %11, align 4, !tbaa !6
%15 = load i32, ptr @VERB_ALGO, align 4, !tbaa !6
%16 = trunc i64 %12 to i32
%17 = tail call i32 (i32, ptr, ...) @verbose(i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %13) #3
%18 = tail call i32 @dnskey_algo_id_is_supported(i32 noundef %13) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %10
%21 = icmp eq i64 %14, 0
br i1 %21, label %49, label %22
22: ; preds = %20
%23 = getelementptr inbounds i8, ptr %0, i64 4
br label %28
24: ; preds = %10
%25 = load i32, ptr @VERB_QUERY, align 4, !tbaa !6
%26 = tail call i32 (i32, ptr, ...) @verbose(i32 noundef %25, ptr noundef nonnull @.str.1) #3
%27 = load i32, ptr @sec_status_insecure, align 4, !tbaa !6
br label %55
28: ; preds = %22, %43
%29 = phi i64 [ 0, %22 ], [ %44, %43 ]
%30 = phi i64 [ 0, %22 ], [ %45, %43 ]
%31 = call i32 @dnskey_get_algo(ptr noundef %4, i64 noundef %30) #3
%32 = icmp eq i32 %13, %31
br i1 %32, label %33, label %43
33: ; preds = %28
%34 = call i64 @dnskey_calc_keytag(ptr noundef %4, i64 noundef %30) #3
%35 = icmp eq i64 %12, %34
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = add i64 %29, 1
%38 = load i32, ptr %23, align 4, !tbaa !10
%39 = load i32, ptr %0, align 4, !tbaa !12
%40 = call i32 @dnskey_verify_rrset_sig(i32 noundef %38, i32 noundef %39, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %30, i64 noundef %5, ptr noundef %6, ptr noundef nonnull %11, ptr noundef %7, i32 noundef %8, ptr noundef %9) #3
%41 = load i32, ptr @sec_status_secure, align 4, !tbaa !6
%42 = icmp eq i32 %40, %41
br i1 %42, label %55, label %43
43: ; preds = %36, %28, %33
%44 = phi i64 [ %29, %28 ], [ %29, %33 ], [ %37, %36 ]
%45 = add nuw i64 %30, 1
%46 = icmp eq i64 %45, %14
br i1 %46, label %47, label %28, !llvm.loop !13
47: ; preds = %43
%48 = icmp eq i64 %44, 0
br i1 %48, label %49, label %53
49: ; preds = %20, %47
store ptr @.str.2, ptr %7, align 8, !tbaa !15
%50 = load i32, ptr @VERB_QUERY, align 4, !tbaa !6
%51 = call i32 (i32, ptr, ...) @verbose(i32 noundef %50, ptr noundef nonnull @.str.3) #3
%52 = load i32, ptr @sec_status_bogus, align 4, !tbaa !6
br label %55
53: ; preds = %47
%54 = load i32, ptr @sec_status_bogus, align 4, !tbaa !6
br label %55
55: ; preds = %36, %53, %49, %24
%56 = phi i32 [ %52, %49 ], [ %54, %53 ], [ %27, %24 ], [ %40, %36 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
ret i32 %56
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @rrset_get_sig_keytag(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @rrset_get_sig_algo(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @rrset_get_count(ptr noundef) local_unnamed_addr #2
declare i32 @verbose(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @dnskey_algo_id_is_supported(i32 noundef) local_unnamed_addr #2
declare i32 @dnskey_get_algo(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @dnskey_calc_keytag(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @dnskey_verify_rrset_sig(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"module_env", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_unbound_validator_extr_val_sigcrypt.c_dnskeyset_verify_rrset_sig |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_myrs.c_disable_enclosure_messages_store.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_myrs.c_disable_enclosure_messages_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @disable_enclosure_messages_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @disable_enclosure_messages_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call ptr @to_scsi_device(ptr noundef %0) #3
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call ptr @shost_priv(i32 noundef %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%9 = call i32 @kstrtoint(ptr noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %4
%12 = load i32, ptr %5, align 4, !tbaa !10
%13 = icmp sgt i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr @EINVAL, align 4, !tbaa !10
%16 = sub nsw i32 0, %15
br label %19
17: ; preds = %11
store i32 %12, ptr %8, align 4, !tbaa !11
%18 = trunc i64 %3 to i32
br label %19
19: ; preds = %4, %17, %14
%20 = phi i32 [ %16, %14 ], [ %18, %17 ], [ %9, %4 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_scsi_device(ptr noundef) local_unnamed_addr #2
declare ptr @shost_priv(i32 noundef) local_unnamed_addr #2
declare i32 @kstrtoint(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"scsi_device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"myrs_hba", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_myrs.c_disable_enclosure_messages_store.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_myrs.c_disable_enclosure_messages_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @disable_enclosure_messages_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @disable_enclosure_messages_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = tail call ptr @to_scsi_device(ptr noundef %0) #3
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call ptr @shost_priv(i32 noundef %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%9 = call i32 @kstrtoint(ptr noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %4
%12 = load i32, ptr %5, align 4, !tbaa !11
%13 = icmp sgt i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr @EINVAL, align 4, !tbaa !11
%16 = sub nsw i32 0, %15
br label %19
17: ; preds = %11
store i32 %12, ptr %8, align 4, !tbaa !12
%18 = trunc i64 %3 to i32
br label %19
19: ; preds = %4, %17, %14
%20 = phi i32 [ %16, %14 ], [ %18, %17 ], [ %9, %4 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_scsi_device(ptr noundef) local_unnamed_addr #2
declare ptr @shost_priv(i32 noundef) local_unnamed_addr #2
declare i32 @kstrtoint(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"scsi_device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"myrs_hba", !8, i64 0}
| linux_drivers_scsi_extr_myrs.c_disable_enclosure_messages_store |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_addr.c_addr4_resolve.c'
source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_addr.c_addr4_resolve.c"
target datalayout = "e-m:e-p270:32:32-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.flowi4 = type { ptr, i32, ptr }
%struct.rdma_dev_addr = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @addr4_resolve], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @addr4_resolve(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca %struct.flowi4, align 8
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = load ptr, ptr %1, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
%8 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 24) #3
%9 = getelementptr inbounds %struct.flowi4, ptr %5, i64 0, i32 2
store ptr %7, ptr %9, align 8, !tbaa !11
store ptr %6, ptr %5, align 8, !tbaa !14
%10 = getelementptr inbounds %struct.rdma_dev_addr, ptr %2, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = getelementptr inbounds %struct.flowi4, ptr %5, i64 0, i32 1
store i32 %11, ptr %12, align 8, !tbaa !17
%13 = getelementptr inbounds %struct.rdma_dev_addr, ptr %2, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !18
%15 = call ptr @ip_route_output_key(i32 noundef %14, ptr noundef nonnull %5) #3
%16 = call i32 @PTR_ERR_OR_ZERO(ptr noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %4
%19 = load ptr, ptr %5, align 8, !tbaa !14
store ptr %19, ptr %0, align 8, !tbaa !5
%20 = call i32 @ip4_dst_hoplimit(ptr noundef %15) #3
store i32 %20, ptr %2, align 4, !tbaa !19
store ptr %15, ptr %3, align 8, !tbaa !20
br label %21
21: ; preds = %4, %18
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
ret i32 %16
}
; 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 ptr @ip_route_output_key(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR_OR_ZERO(ptr noundef) local_unnamed_addr #2
declare i32 @ip4_dst_hoplimit(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, !8, i64 0}
!6 = !{!"sockaddr_in", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"flowi4", !8, i64 0, !13, i64 8, !8, i64 16}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !8, i64 0}
!15 = !{!16, !13, i64 8}
!16 = !{!"rdma_dev_addr", !13, i64 0, !13, i64 4, !13, i64 8}
!17 = !{!12, !13, i64 8}
!18 = !{!16, !13, i64 4}
!19 = !{!16, !13, i64 0}
!20 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_addr.c_addr4_resolve.c'
source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_addr.c_addr4_resolve.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.flowi4 = type { ptr, i32, ptr }
@llvm.used = appending global [1 x ptr] [ptr @addr4_resolve], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @addr4_resolve(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca %struct.flowi4, align 8
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = load ptr, ptr %1, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
%8 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 24) #3
%9 = getelementptr inbounds i8, ptr %5, i64 16
store ptr %7, ptr %9, align 8, !tbaa !12
store ptr %6, ptr %5, align 8, !tbaa !15
%10 = getelementptr inbounds i8, ptr %2, i64 8
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %11, ptr %12, align 8, !tbaa !18
%13 = getelementptr inbounds i8, ptr %2, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !19
%15 = call ptr @ip_route_output_key(i32 noundef %14, ptr noundef nonnull %5) #3
%16 = call i32 @PTR_ERR_OR_ZERO(ptr noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %4
%19 = load ptr, ptr %5, align 8, !tbaa !15
store ptr %19, ptr %0, align 8, !tbaa !6
%20 = call i32 @ip4_dst_hoplimit(ptr noundef %15) #3
store i32 %20, ptr %2, align 4, !tbaa !20
store ptr %15, ptr %3, align 8, !tbaa !21
br label %21
21: ; preds = %4, %18
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
ret i32 %16
}
; 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 ptr @ip_route_output_key(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR_OR_ZERO(ptr noundef) local_unnamed_addr #2
declare i32 @ip4_dst_hoplimit(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, !9, i64 0}
!7 = !{!"sockaddr_in", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 16}
!13 = !{!"flowi4", !9, i64 0, !14, i64 8, !9, i64 16}
!14 = !{!"int", !10, i64 0}
!15 = !{!13, !9, i64 0}
!16 = !{!17, !14, i64 8}
!17 = !{!"rdma_dev_addr", !14, i64 0, !14, i64 4, !14, i64 8}
!18 = !{!13, !14, i64 8}
!19 = !{!17, !14, i64 4}
!20 = !{!17, !14, i64 0}
!21 = !{!9, !9, i64 0}
| linux_drivers_infiniband_core_extr_addr.c_addr4_resolve |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl819xusb_rx_command_packet.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl819xusb_rx_command_packet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [54 x i8] c"rxcommandpackethandle819xusb: It is a command packet\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl819xusb_rx_command_packet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @rtl819xusb_rx_command_packet(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @cmpk_message_handle_rx(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @DMESG(ptr noundef nonnull @.str) #2
br label %7
7: ; preds = %5, %2
ret i64 %3
}
declare i64 @cmpk_message_handle_rx(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DMESG(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl819xusb_rx_command_packet.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl819xusb_rx_command_packet.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 [54 x i8] c"rxcommandpackethandle819xusb: It is a command packet\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rtl819xusb_rx_command_packet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @rtl819xusb_rx_command_packet(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @cmpk_message_handle_rx(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @DMESG(ptr noundef nonnull @.str) #2
br label %7
7: ; preds = %5, %2
ret i64 %3
}
declare i64 @cmpk_message_handle_rx(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DMESG(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_staging_rtl8192u_extr_r8192U_core.c_rtl819xusb_rx_command_packet |
; ModuleID = 'AnghaBench/linux/drivers/greybus/extr_es2.c_usb_log_enable.c'
source_filename = "AnghaBench/linux/drivers/greybus/extr_es2.c_usb_log_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.es2_ap_dev = type { i32, i32 }
@apb_log_poll = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"apb_log\00", align 1
@apb_log_fops = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @usb_log_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @usb_log_enable(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.es2_ap_dev, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %1
%7 = load i32, ptr @apb_log_poll, align 4, !tbaa !10
%8 = tail call i32 @kthread_run(i32 noundef %7, ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
store i32 %8, ptr %2, align 4, !tbaa !5
%9 = tail call i64 @IS_ERR(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = tail call i32 (...) @gb_debugfs_get() #2
%13 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str, i32 noundef 292, i32 noundef %12, ptr noundef nonnull %0, ptr noundef nonnull @apb_log_fops) #2
store i32 %13, ptr %0, align 4, !tbaa !11
br label %14
14: ; preds = %6, %1, %11
ret void
}
declare i32 @IS_ERR_OR_NULL(i32 noundef) local_unnamed_addr #1
declare i32 @kthread_run(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @debugfs_create_file(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @gb_debugfs_get(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"es2_ap_dev", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/greybus/extr_es2.c_usb_log_enable.c'
source_filename = "AnghaBench/linux/drivers/greybus/extr_es2.c_usb_log_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@apb_log_poll = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"apb_log\00", align 1
@apb_log_fops = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @usb_log_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @usb_log_enable(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %1
%7 = load i32, ptr @apb_log_poll, align 4, !tbaa !11
%8 = tail call i32 @kthread_run(i32 noundef %7, ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
store i32 %8, ptr %2, align 4, !tbaa !6
%9 = tail call i64 @IS_ERR(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = tail call i32 @gb_debugfs_get() #2
%13 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str, i32 noundef 292, i32 noundef %12, ptr noundef nonnull %0, ptr noundef nonnull @apb_log_fops) #2
store i32 %13, ptr %0, align 4, !tbaa !12
br label %14
14: ; preds = %6, %1, %11
ret void
}
declare i32 @IS_ERR_OR_NULL(i32 noundef) local_unnamed_addr #1
declare i32 @kthread_run(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @debugfs_create_file(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @gb_debugfs_get(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"es2_ap_dev", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| linux_drivers_greybus_extr_es2.c_usb_log_enable |
; ModuleID = 'AnghaBench/libuv/src/win/extr_poll.c_uv__fast_poll_process_poll_req.c'
source_filename = "AnghaBench/libuv/src/win/extr_poll.c_uv__fast_poll_process_poll_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.TYPE_11__ = type { i32, i8, i32, i8, i64, i32, ptr, %struct.TYPE_12__, i32, %struct.TYPE_12__, i32 }
%struct.TYPE_12__ = type { i32, ptr }
@WSAEINTR = dso_local local_unnamed_addr global i64 0, align 8
@AFD_POLL_RECEIVE = dso_local local_unnamed_addr global i32 0, align 4
@AFD_POLL_DISCONNECT = dso_local local_unnamed_addr global i32 0, align 4
@AFD_POLL_ACCEPT = dso_local local_unnamed_addr global i32 0, align 4
@AFD_POLL_ABORT = dso_local local_unnamed_addr global i32 0, align 4
@UV_READABLE = dso_local local_unnamed_addr global i8 0, align 1
@UV_DISCONNECT = dso_local local_unnamed_addr global i8 0, align 1
@AFD_POLL_SEND = dso_local local_unnamed_addr global i32 0, align 4
@AFD_POLL_CONNECT_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@UV_WRITABLE = dso_local local_unnamed_addr global i8 0, align 1
@AFD_POLL_LOCAL_CLOSE = dso_local local_unnamed_addr global i32 0, align 4
@UV_HANDLE_CLOSING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uv__fast_poll_process_poll_req], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @uv__fast_poll_process_poll_req(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 10
%5 = icmp eq ptr %4, %2
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 9
store i32 0, ptr %1, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1
br label %18
9: ; preds = %3
%10 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 8
%11 = icmp eq ptr %10, %2
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 7
%14 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 2
store i32 0, ptr %14, align 8, !tbaa !13
%15 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 3
br label %18
16: ; preds = %9
%17 = tail call i32 @assert(i32 noundef 0) #2
br label %114
18: ; preds = %12, %6
%19 = phi ptr [ %7, %6 ], [ %13, %12 ]
%20 = phi ptr [ %8, %6 ], [ %15, %12 ]
%21 = load i8, ptr %20, align 4, !tbaa !14
%22 = tail call i32 @REQ_SUCCESS(ptr noundef %2) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %37
24: ; preds = %18
%25 = tail call i64 @GET_REQ_SOCK_ERROR(ptr noundef %2) #2
%26 = load i64, ptr @WSAEINTR, align 8, !tbaa !15
%27 = icmp eq i64 %25, %26
br i1 %27, label %91, label %28
28: ; preds = %24
%29 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 4
%30 = load i64, ptr %29, align 8, !tbaa !16
%31 = icmp eq i64 %30, 0
br i1 %31, label %91, label %32
32: ; preds = %28
store i64 0, ptr %29, align 8, !tbaa !16
%33 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 6
%34 = load ptr, ptr %33, align 8, !tbaa !17
%35 = tail call i32 @uv_translate_sys_error(i64 noundef %25) #2
%36 = tail call i32 %34(ptr noundef nonnull %1, i32 noundef %35, i8 noundef zeroext 0) #2
br label %91
37: ; preds = %18
%38 = load i32, ptr %19, align 8, !tbaa !18
%39 = icmp sgt i32 %38, 0
br i1 %39, label %40, label %91
40: ; preds = %37
%41 = getelementptr inbounds %struct.TYPE_12__, ptr %19, i64 0, i32 1
%42 = load ptr, ptr %41, align 8, !tbaa !19
%43 = load i32, ptr %42, align 4, !tbaa !20
%44 = load i32, ptr @AFD_POLL_RECEIVE, align 4, !tbaa !22
%45 = load i32, ptr @AFD_POLL_DISCONNECT, align 4, !tbaa !22
%46 = load i32, ptr @AFD_POLL_ACCEPT, align 4, !tbaa !22
%47 = load i32, ptr @AFD_POLL_ABORT, align 4, !tbaa !22
%48 = or i32 %44, %46
%49 = or i32 %48, %47
%50 = or i32 %49, %45
%51 = and i32 %50, %43
%52 = icmp eq i32 %51, 0
br i1 %52, label %60, label %53
53: ; preds = %40
%54 = load i8, ptr @UV_READABLE, align 1, !tbaa !14
%55 = and i32 %45, %43
%56 = icmp eq i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %53
%58 = load i8, ptr @UV_DISCONNECT, align 1, !tbaa !14
%59 = or i8 %58, %54
br label %60
60: ; preds = %53, %57, %40
%61 = phi i8 [ %59, %57 ], [ %54, %53 ], [ 0, %40 ]
%62 = load i32, ptr @AFD_POLL_SEND, align 4, !tbaa !22
%63 = load i32, ptr @AFD_POLL_CONNECT_FAIL, align 4, !tbaa !22
%64 = or i32 %63, %62
%65 = and i32 %64, %43
%66 = icmp eq i32 %65, 0
%67 = load i8, ptr @UV_WRITABLE, align 1
%68 = select i1 %66, i8 0, i8 %67
%69 = or i8 %68, %61
%70 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 4
%71 = load i64, ptr %70, align 8, !tbaa !16
%72 = zext i8 %21 to i64
%73 = xor i64 %72, -1
%74 = and i64 %71, %73
%75 = trunc i64 %74 to i8
%76 = and i8 %69, %75
%77 = load i32, ptr @AFD_POLL_LOCAL_CLOSE, align 4, !tbaa !22
%78 = and i32 %77, %43
%79 = icmp eq i32 %78, 0
br i1 %79, label %85, label %80
80: ; preds = %60
store i64 0, ptr %70, align 8, !tbaa !16
%81 = tail call i64 @uv__is_active(ptr noundef nonnull %1) #2
%82 = icmp eq i64 %81, 0
br i1 %82, label %85, label %83
83: ; preds = %80
%84 = tail call i32 @uv__handle_stop(ptr noundef nonnull %1) #2
br label %85
85: ; preds = %80, %83, %60
%86 = icmp eq i8 %76, 0
br i1 %86, label %91, label %87
87: ; preds = %85
%88 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 6
%89 = load ptr, ptr %88, align 8, !tbaa !17
%90 = tail call i32 %89(ptr noundef nonnull %1, i32 noundef 0, i8 noundef zeroext %76) #2
br label %91
91: ; preds = %85, %87, %24, %28, %32, %37
%92 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 4
%93 = load i64, ptr %92, align 8, !tbaa !16
%94 = load i32, ptr %1, align 8, !tbaa !5
%95 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 2
%96 = load i32, ptr %95, align 8, !tbaa !13
%97 = or i32 %96, %94
%98 = xor i32 %97, -1
%99 = sext i32 %98 to i64
%100 = and i64 %93, %99
%101 = icmp eq i64 %100, 0
br i1 %101, label %104, label %102
102: ; preds = %91
%103 = tail call i32 @uv__fast_poll_submit_poll_req(ptr noundef %0, ptr noundef nonnull %1) #2
br label %114
104: ; preds = %91
%105 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 5
%106 = load i32, ptr %105, align 8, !tbaa !23
%107 = load i32, ptr @UV_HANDLE_CLOSING, align 4, !tbaa !22
%108 = and i32 %107, %106
%109 = icmp ne i32 %108, 0
%110 = icmp eq i32 %97, 0
%111 = and i1 %110, %109
br i1 %111, label %112, label %114
112: ; preds = %104
%113 = tail call i32 @uv_want_endgame(ptr noundef %0, ptr noundef nonnull %1) #2
br label %114
114: ; preds = %102, %112, %104, %16
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @REQ_SUCCESS(ptr noundef) local_unnamed_addr #1
declare i64 @GET_REQ_SOCK_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @uv_translate_sys_error(i64 noundef) local_unnamed_addr #1
declare i64 @uv__is_active(ptr noundef) local_unnamed_addr #1
declare i32 @uv__handle_stop(ptr noundef) local_unnamed_addr #1
declare i32 @uv__fast_poll_submit_poll_req(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @uv_want_endgame(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_11__", !7, i64 0, !8, i64 4, !7, i64 8, !8, i64 12, !10, i64 16, !7, i64 24, !11, i64 32, !12, i64 40, !7, i64 56, !12, i64 64, !7, i64 80}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"TYPE_12__", !7, i64 0, !11, i64 8}
!13 = !{!6, !7, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !10, i64 16}
!17 = !{!6, !11, i64 32}
!18 = !{!12, !7, i64 0}
!19 = !{!12, !11, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_10__", !7, i64 0}
!22 = !{!7, !7, i64 0}
!23 = !{!6, !7, i64 24}
| ; ModuleID = 'AnghaBench/libuv/src/win/extr_poll.c_uv__fast_poll_process_poll_req.c'
source_filename = "AnghaBench/libuv/src/win/extr_poll.c_uv__fast_poll_process_poll_req.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WSAEINTR = common local_unnamed_addr global i64 0, align 8
@AFD_POLL_RECEIVE = common local_unnamed_addr global i32 0, align 4
@AFD_POLL_DISCONNECT = common local_unnamed_addr global i32 0, align 4
@AFD_POLL_ACCEPT = common local_unnamed_addr global i32 0, align 4
@AFD_POLL_ABORT = common local_unnamed_addr global i32 0, align 4
@UV_READABLE = common local_unnamed_addr global i8 0, align 1
@UV_DISCONNECT = common local_unnamed_addr global i8 0, align 1
@AFD_POLL_SEND = common local_unnamed_addr global i32 0, align 4
@AFD_POLL_CONNECT_FAIL = common local_unnamed_addr global i32 0, align 4
@UV_WRITABLE = common local_unnamed_addr global i8 0, align 1
@AFD_POLL_LOCAL_CLOSE = common local_unnamed_addr global i32 0, align 4
@UV_HANDLE_CLOSING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uv__fast_poll_process_poll_req], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @uv__fast_poll_process_poll_req(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 80
%5 = icmp eq ptr %4, %2
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %1, i64 64
br label %16
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %1, i64 56
%10 = icmp eq ptr %9, %2
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = getelementptr inbounds i8, ptr %1, i64 40
%13 = getelementptr inbounds i8, ptr %1, i64 8
br label %16
14: ; preds = %8
%15 = tail call i32 @assert(i32 noundef 0) #2
br label %114
16: ; preds = %11, %6
%17 = phi ptr [ %13, %11 ], [ %1, %6 ]
%18 = phi i64 [ 12, %11 ], [ 4, %6 ]
%19 = phi ptr [ %12, %11 ], [ %7, %6 ]
store i32 0, ptr %17, align 8, !tbaa !6
%20 = getelementptr inbounds i8, ptr %1, i64 %18
%21 = load i8, ptr %20, align 4, !tbaa !10
%22 = tail call i32 @REQ_SUCCESS(ptr noundef %2) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %37
24: ; preds = %16
%25 = tail call i64 @GET_REQ_SOCK_ERROR(ptr noundef %2) #2
%26 = load i64, ptr @WSAEINTR, align 8, !tbaa !11
%27 = icmp eq i64 %25, %26
br i1 %27, label %91, label %28
28: ; preds = %24
%29 = getelementptr inbounds i8, ptr %1, i64 16
%30 = load i64, ptr %29, align 8, !tbaa !13
%31 = icmp eq i64 %30, 0
br i1 %31, label %91, label %32
32: ; preds = %28
store i64 0, ptr %29, align 8, !tbaa !13
%33 = getelementptr inbounds i8, ptr %1, i64 32
%34 = load ptr, ptr %33, align 8, !tbaa !17
%35 = tail call i32 @uv_translate_sys_error(i64 noundef %25) #2
%36 = tail call i32 %34(ptr noundef nonnull %1, i32 noundef %35, i8 noundef zeroext 0) #2
br label %91
37: ; preds = %16
%38 = load i32, ptr %19, align 8, !tbaa !18
%39 = icmp sgt i32 %38, 0
br i1 %39, label %40, label %91
40: ; preds = %37
%41 = getelementptr inbounds i8, ptr %19, i64 8
%42 = load ptr, ptr %41, align 8, !tbaa !19
%43 = load i32, ptr %42, align 4, !tbaa !20
%44 = load i32, ptr @AFD_POLL_RECEIVE, align 4, !tbaa !6
%45 = load i32, ptr @AFD_POLL_DISCONNECT, align 4, !tbaa !6
%46 = load i32, ptr @AFD_POLL_ACCEPT, align 4, !tbaa !6
%47 = load i32, ptr @AFD_POLL_ABORT, align 4, !tbaa !6
%48 = or i32 %44, %46
%49 = or i32 %48, %47
%50 = or i32 %49, %45
%51 = and i32 %50, %43
%52 = icmp eq i32 %51, 0
br i1 %52, label %60, label %53
53: ; preds = %40
%54 = load i8, ptr @UV_READABLE, align 1, !tbaa !10
%55 = and i32 %45, %43
%56 = icmp eq i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %53
%58 = load i8, ptr @UV_DISCONNECT, align 1, !tbaa !10
%59 = or i8 %58, %54
br label %60
60: ; preds = %53, %57, %40
%61 = phi i8 [ %59, %57 ], [ %54, %53 ], [ 0, %40 ]
%62 = load i32, ptr @AFD_POLL_SEND, align 4, !tbaa !6
%63 = load i32, ptr @AFD_POLL_CONNECT_FAIL, align 4, !tbaa !6
%64 = or i32 %63, %62
%65 = and i32 %64, %43
%66 = icmp eq i32 %65, 0
%67 = load i8, ptr @UV_WRITABLE, align 1
%68 = select i1 %66, i8 0, i8 %67
%69 = or i8 %68, %61
%70 = getelementptr inbounds i8, ptr %1, i64 16
%71 = load i64, ptr %70, align 8, !tbaa !13
%72 = zext i8 %21 to i64
%73 = xor i64 %72, -1
%74 = and i64 %71, %73
%75 = trunc i64 %74 to i8
%76 = and i8 %69, %75
%77 = load i32, ptr @AFD_POLL_LOCAL_CLOSE, align 4, !tbaa !6
%78 = and i32 %77, %43
%79 = icmp eq i32 %78, 0
br i1 %79, label %85, label %80
80: ; preds = %60
store i64 0, ptr %70, align 8, !tbaa !13
%81 = tail call i64 @uv__is_active(ptr noundef nonnull %1) #2
%82 = icmp eq i64 %81, 0
br i1 %82, label %85, label %83
83: ; preds = %80
%84 = tail call i32 @uv__handle_stop(ptr noundef nonnull %1) #2
br label %85
85: ; preds = %80, %83, %60
%86 = icmp eq i8 %76, 0
br i1 %86, label %91, label %87
87: ; preds = %85
%88 = getelementptr inbounds i8, ptr %1, i64 32
%89 = load ptr, ptr %88, align 8, !tbaa !17
%90 = tail call i32 %89(ptr noundef nonnull %1, i32 noundef 0, i8 noundef zeroext %76) #2
br label %91
91: ; preds = %85, %87, %24, %28, %32, %37
%92 = getelementptr inbounds i8, ptr %1, i64 16
%93 = load i64, ptr %92, align 8, !tbaa !13
%94 = load i32, ptr %1, align 8, !tbaa !22
%95 = getelementptr inbounds i8, ptr %1, i64 8
%96 = load i32, ptr %95, align 8, !tbaa !23
%97 = or i32 %96, %94
%98 = xor i32 %97, -1
%99 = sext i32 %98 to i64
%100 = and i64 %93, %99
%101 = icmp eq i64 %100, 0
br i1 %101, label %104, label %102
102: ; preds = %91
%103 = tail call i32 @uv__fast_poll_submit_poll_req(ptr noundef %0, ptr noundef nonnull %1) #2
br label %114
104: ; preds = %91
%105 = getelementptr inbounds i8, ptr %1, i64 24
%106 = load i32, ptr %105, align 8, !tbaa !24
%107 = load i32, ptr @UV_HANDLE_CLOSING, align 4, !tbaa !6
%108 = and i32 %107, %106
%109 = icmp ne i32 %108, 0
%110 = icmp eq i32 %97, 0
%111 = and i1 %110, %109
br i1 %111, label %112, label %114
112: ; preds = %104
%113 = tail call i32 @uv_want_endgame(ptr noundef %0, ptr noundef nonnull %1) #2
br label %114
114: ; preds = %102, %112, %104, %14
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @REQ_SUCCESS(ptr noundef) local_unnamed_addr #1
declare i64 @GET_REQ_SOCK_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @uv_translate_sys_error(i64 noundef) local_unnamed_addr #1
declare i64 @uv__is_active(ptr noundef) local_unnamed_addr #1
declare i32 @uv__handle_stop(ptr noundef) local_unnamed_addr #1
declare i32 @uv__fast_poll_submit_poll_req(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @uv_want_endgame(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"TYPE_11__", !7, i64 0, !8, i64 4, !7, i64 8, !8, i64 12, !12, i64 16, !7, i64 24, !15, i64 32, !16, i64 40, !7, i64 56, !16, i64 64, !7, i64 80}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"TYPE_12__", !7, i64 0, !15, i64 8}
!17 = !{!14, !15, i64 32}
!18 = !{!16, !7, i64 0}
!19 = !{!16, !15, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_10__", !7, i64 0}
!22 = !{!14, !7, i64 0}
!23 = !{!14, !7, i64 8}
!24 = !{!14, !7, i64 24}
| libuv_src_win_extr_poll.c_uv__fast_poll_process_poll_req |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/extr_tu102.c_tu102_mmu_new.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/extr_tu102.c_tu102_mmu_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"
@tu102_mmu = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @tu102_mmu_new(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @nvkm_mmu_new_(ptr noundef nonnull @tu102_mmu, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
ret i32 %4
}
declare i32 @nvkm_mmu_new_(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/extr_tu102.c_tu102_mmu_new.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/extr_tu102.c_tu102_mmu_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tu102_mmu = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @tu102_mmu_new(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @nvkm_mmu_new_(ptr noundef nonnull @tu102_mmu, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
ret i32 %4
}
declare i32 @nvkm_mmu_new_(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_nouveau_nvkm_subdev_mmu_extr_tu102.c_tu102_mmu_new |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_disk_posix.c_archive_write_disk_uid.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_disk_posix.c_archive_write_disk_uid.c"
target datalayout = "e-m:e-p270:32:32-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.archive_write_disk = type { i32, ptr, i32 }
@ARCHIVE_WRITE_DISK_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@ARCHIVE_STATE_ANY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"archive_write_disk_uid\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @archive_write_disk_uid(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.archive_write_disk, ptr %0, i64 0, i32 2
%5 = load i32, ptr @ARCHIVE_WRITE_DISK_MAGIC, align 4, !tbaa !5
%6 = load i32, ptr @ARCHIVE_STATE_ANY, align 4, !tbaa !5
%7 = tail call i32 @archive_check_magic(ptr noundef nonnull %4, i32 noundef %5, i32 noundef %6, ptr noundef nonnull @.str) #2
%8 = getelementptr inbounds %struct.archive_write_disk, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !9
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load i32, ptr %0, align 8, !tbaa !12
%13 = tail call i32 %9(i32 noundef %12, ptr noundef %1, i32 noundef %2) #2
br label %14
14: ; preds = %3, %11
%15 = phi i32 [ %13, %11 ], [ %2, %3 ]
ret i32 %15
}
declare i32 @archive_check_magic(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"archive_write_disk", !6, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_disk_posix.c_archive_write_disk_uid.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_disk_posix.c_archive_write_disk_uid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ARCHIVE_WRITE_DISK_MAGIC = common local_unnamed_addr global i32 0, align 4
@ARCHIVE_STATE_ANY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"archive_write_disk_uid\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @archive_write_disk_uid(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load i32, ptr @ARCHIVE_WRITE_DISK_MAGIC, align 4, !tbaa !6
%6 = load i32, ptr @ARCHIVE_STATE_ANY, align 4, !tbaa !6
%7 = tail call i32 @archive_check_magic(ptr noundef nonnull %4, i32 noundef %5, i32 noundef %6, ptr noundef nonnull @.str) #2
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !10
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load i32, ptr %0, align 8, !tbaa !13
%13 = tail call i32 %9(i32 noundef %12, ptr noundef %1, i32 noundef %2) #2
br label %14
14: ; preds = %3, %11
%15 = phi i32 [ %13, %11 ], [ %2, %3 ]
ret i32 %15
}
declare i32 @archive_check_magic(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"archive_write_disk", !7, i64 0, !12, i64 8, !7, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
| freebsd_contrib_libarchive_libarchive_extr_archive_write_disk_posix.c_archive_write_disk_uid |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_map_tqps_to_func.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_map_tqps_to_func.c"
target datalayout = "e-m:e-p270:32:32-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.hclge_desc = type { i64 }
%struct.hclge_tqp_map_cmd = type { i32, ptr, i32, ptr }
%struct.hclge_dev = type { ptr, i32 }
@HCLGE_OPC_SET_TQP_MAP = dso_local local_unnamed_addr global i32 0, align 4
@HCLGE_TQP_MAP_EN_B = dso_local local_unnamed_addr global i32 0, align 4
@HCLGE_TQP_MAP_TYPE_B = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"TQP map failed %d.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hclge_map_tqps_to_func], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hclge_map_tqps_to_func(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca %struct.hclge_desc, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = load i32, ptr @HCLGE_OPC_SET_TQP_MAP, align 4, !tbaa !5
%8 = call i32 @hclge_cmd_setup_basic_desc(ptr noundef nonnull %6, i32 noundef %7, i32 noundef 0) #3
%9 = load i64, ptr %6, align 8, !tbaa !9
%10 = inttoptr i64 %9 to ptr
%11 = call ptr @cpu_to_le16(i32 noundef %2) #3
%12 = getelementptr inbounds %struct.hclge_tqp_map_cmd, ptr %10, i64 0, i32 3
store ptr %11, ptr %12, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.hclge_tqp_map_cmd, ptr %10, i64 0, i32 2
store i32 %1, ptr %13, align 8, !tbaa !15
%14 = load i32, ptr @HCLGE_TQP_MAP_EN_B, align 4, !tbaa !5
%15 = shl nuw i32 1, %14
store i32 %15, ptr %10, align 8, !tbaa !16
%16 = icmp eq i32 %4, 0
br i1 %16, label %17, label %21
17: ; preds = %5
%18 = load i32, ptr @HCLGE_TQP_MAP_TYPE_B, align 4, !tbaa !5
%19 = shl nuw i32 1, %18
%20 = or i32 %19, %15
store i32 %20, ptr %10, align 8, !tbaa !16
br label %21
21: ; preds = %17, %5
%22 = call ptr @cpu_to_le16(i32 noundef %3) #3
%23 = getelementptr inbounds %struct.hclge_tqp_map_cmd, ptr %10, i64 0, i32 1
store ptr %22, ptr %23, align 8, !tbaa !17
%24 = getelementptr inbounds %struct.hclge_dev, ptr %0, i64 0, i32 1
%25 = call i32 @hclge_cmd_send(ptr noundef nonnull %24, ptr noundef nonnull %6, i32 noundef 1) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load ptr, ptr %0, align 8, !tbaa !18
%29 = call i32 @dev_err(ptr noundef %28, ptr noundef nonnull @.str, i32 noundef %25) #3
br label %30
30: ; preds = %27, %21
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret i32 %25
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @hclge_cmd_setup_basic_desc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #2
declare i32 @hclge_cmd_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(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, !11, i64 0}
!10 = !{!"hclge_desc", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !14, i64 24}
!13 = !{!"hclge_tqp_map_cmd", !6, i64 0, !14, i64 8, !6, i64 16, !14, i64 24}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!13, !6, i64 16}
!16 = !{!13, !6, i64 0}
!17 = !{!13, !14, i64 8}
!18 = !{!19, !14, i64 0}
!19 = !{!"hclge_dev", !14, i64 0, !6, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_map_tqps_to_func.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_map_tqps_to_func.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hclge_desc = type { i64 }
@HCLGE_OPC_SET_TQP_MAP = common local_unnamed_addr global i32 0, align 4
@HCLGE_TQP_MAP_EN_B = common local_unnamed_addr global i32 0, align 4
@HCLGE_TQP_MAP_TYPE_B = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"TQP map failed %d.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hclge_map_tqps_to_func], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hclge_map_tqps_to_func(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca %struct.hclge_desc, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = load i32, ptr @HCLGE_OPC_SET_TQP_MAP, align 4, !tbaa !6
%8 = call i32 @hclge_cmd_setup_basic_desc(ptr noundef nonnull %6, i32 noundef %7, i32 noundef 0) #3
%9 = load i64, ptr %6, align 8, !tbaa !10
%10 = inttoptr i64 %9 to ptr
%11 = call ptr @cpu_to_le16(i32 noundef %2) #3
%12 = getelementptr inbounds i8, ptr %10, i64 24
store ptr %11, ptr %12, align 8, !tbaa !13
%13 = getelementptr inbounds i8, ptr %10, i64 16
store i32 %1, ptr %13, align 8, !tbaa !16
%14 = load i32, ptr @HCLGE_TQP_MAP_EN_B, align 4, !tbaa !6
%15 = shl nuw i32 1, %14
store i32 %15, ptr %10, align 8, !tbaa !17
%16 = icmp eq i32 %4, 0
br i1 %16, label %17, label %21
17: ; preds = %5
%18 = load i32, ptr @HCLGE_TQP_MAP_TYPE_B, align 4, !tbaa !6
%19 = shl nuw i32 1, %18
%20 = or i32 %19, %15
store i32 %20, ptr %10, align 8, !tbaa !17
br label %21
21: ; preds = %17, %5
%22 = call ptr @cpu_to_le16(i32 noundef %3) #3
%23 = getelementptr inbounds i8, ptr %10, i64 8
store ptr %22, ptr %23, align 8, !tbaa !18
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = call i32 @hclge_cmd_send(ptr noundef nonnull %24, ptr noundef nonnull %6, i32 noundef 1) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load ptr, ptr %0, align 8, !tbaa !19
%29 = call i32 @dev_err(ptr noundef %28, ptr noundef nonnull @.str, i32 noundef %25) #3
br label %30
30: ; preds = %27, %21
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret i32 %25
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @hclge_cmd_setup_basic_desc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #2
declare i32 @hclge_cmd_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_err(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, !12, i64 0}
!11 = !{!"hclge_desc", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !15, i64 24}
!14 = !{!"hclge_tqp_map_cmd", !7, i64 0, !15, i64 8, !7, i64 16, !15, i64 24}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!14, !7, i64 16}
!17 = !{!14, !7, i64 0}
!18 = !{!14, !15, i64 8}
!19 = !{!20, !15, i64 0}
!20 = !{!"hclge_dev", !15, i64 0, !7, i64 8}
| linux_drivers_net_ethernet_hisilicon_hns3_hns3pf_extr_hclge_main.c_hclge_map_tqps_to_func |
; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_ssl.c_tls_adjust_frame_parameters.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_ssl.c_tls_adjust_frame_parameters.c"
target datalayout = "e-m:e-p270:32:32-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 @tls_adjust_frame_parameters(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @frame_add_to_extra_frame(ptr noundef %0, i32 noundef 1) #2
ret void
}
declare i32 @frame_add_to_extra_frame(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/openvpn/src/openvpn/extr_ssl.c_tls_adjust_frame_parameters.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_ssl.c_tls_adjust_frame_parameters.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 @tls_adjust_frame_parameters(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @frame_add_to_extra_frame(ptr noundef %0, i32 noundef 1) #2
ret void
}
declare i32 @frame_add_to_extra_frame(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)"}
| openvpn_src_openvpn_extr_ssl.c_tls_adjust_frame_parameters |
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/ui/stdio/extr_....utilcallchain.h_callchain_cursor_commit.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/ui/stdio/extr_....utilcallchain.h_callchain_cursor_commit.c"
target datalayout = "e-m:e-p270:32:32-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.callchain_cursor = type { i64, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @callchain_cursor_commit], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @callchain_cursor_commit(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.callchain_cursor, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.callchain_cursor, ptr %0, i64 0, i32 2
store i32 %3, ptr %4, align 4, !tbaa !11
store i64 0, ptr %0, align 8, !tbaa !12
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"callchain_cursor", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 12}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/ui/stdio/extr_....utilcallchain.h_callchain_cursor_commit.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/ui/stdio/extr_....utilcallchain.h_callchain_cursor_commit.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 @callchain_cursor_commit], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @callchain_cursor_commit(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %3, ptr %4, align 4, !tbaa !12
store i64 0, ptr %0, align 8, !tbaa !13
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"callchain_cursor", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 12}
!13 = !{!7, !8, i64 0}
| fastsocket_kernel_tools_perf_ui_stdio_extr_....utilcallchain.h_callchain_cursor_commit |
; ModuleID = 'AnghaBench/lab/engine/code/q3_ui/extr_ui_video.c_UI_GraphicsOptionsMenu.c'
source_filename = "AnghaBench/lab/engine/code/q3_ui/extr_ui_video.c_UI_GraphicsOptionsMenu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@s_graphicsoptions = dso_local global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: nounwind uwtable
define dso_local void @UI_GraphicsOptionsMenu() local_unnamed_addr #0 {
%1 = tail call i32 (...) @GraphicsOptions_MenuInit() #2
%2 = tail call i32 @UI_PushMenu(i32* noundef getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @s_graphicsoptions, i64 0, i32 1)) #2
%3 = tail call i32 @Menu_SetCursorToItem(i32* noundef getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @s_graphicsoptions, i64 0, i32 1), i32* noundef getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @s_graphicsoptions, i64 0, i32 0)) #2
ret void
}
declare i32 @GraphicsOptions_MenuInit(...) local_unnamed_addr #1
declare i32 @UI_PushMenu(i32* noundef) local_unnamed_addr #1
declare i32 @Menu_SetCursorToItem(i32* noundef, i32* noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
| ; ModuleID = 'AnghaBench/lab/engine/code/q3_ui/extr_ui_video.c_UI_GraphicsOptionsMenu.c'
source_filename = "AnghaBench/lab/engine/code/q3_ui/extr_ui_video.c_UI_GraphicsOptionsMenu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32 }
@s_graphicsoptions = common global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @UI_GraphicsOptionsMenu() local_unnamed_addr #0 {
%1 = tail call i32 @GraphicsOptions_MenuInit() #2
%2 = tail call i32 @UI_PushMenu(ptr noundef nonnull getelementptr inbounds (i8, ptr @s_graphicsoptions, i64 4)) #2
%3 = tail call i32 @Menu_SetCursorToItem(ptr noundef nonnull getelementptr inbounds (i8, ptr @s_graphicsoptions, i64 4), ptr noundef nonnull @s_graphicsoptions) #2
ret void
}
declare i32 @GraphicsOptions_MenuInit(...) local_unnamed_addr #1
declare i32 @UI_PushMenu(ptr noundef) local_unnamed_addr #1
declare i32 @Menu_SetCursorToItem(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)"}
| lab_engine_code_q3_ui_extr_ui_video.c_UI_GraphicsOptionsMenu |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/powerd/extr_powerd.c_read_usage_times.c'
source_filename = "AnghaBench/freebsd/usr.sbin/powerd/extr_powerd.c_read_usage_times.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@read_usage_times.cp_times = internal unnamed_addr global ptr null, align 8
@read_usage_times.cp_times_old = internal unnamed_addr global ptr null, align 8
@read_usage_times.ncpus = internal unnamed_addr global i32 0, align 4
@cp_times_mib = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@CPUSTATES = dso_local local_unnamed_addr global i32 0, align 4
@CP_IDLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_usage_times], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @read_usage_times(ptr noundef writeonly %0) #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
%3 = load ptr, ptr @read_usage_times.cp_times, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr @CPUSTATES, align 4, !tbaa !9
%7 = load i32, ptr @read_usage_times.ncpus, align 4, !tbaa !9
%8 = sext i32 %6 to i64
%9 = shl nsw i64 %8, 3
br label %32
10: ; preds = %1
store i64 0, ptr %2, align 8, !tbaa !11
%11 = load i32, ptr @cp_times_mib, align 4, !tbaa !9
%12 = call i32 @sysctl(i32 noundef %11, i32 noundef 2, ptr noundef null, ptr noundef nonnull %2, ptr noundef null, i32 noundef 0) #5
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %136
14: ; preds = %10
%15 = load i64, ptr %2, align 8, !tbaa !11
%16 = call ptr @malloc(i64 noundef %15)
store ptr %16, ptr @read_usage_times.cp_times, align 8, !tbaa !5
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, ptr @errno, align 4, !tbaa !9
br label %136
20: ; preds = %14
%21 = call ptr @malloc(i64 noundef %15)
store ptr %21, ptr @read_usage_times.cp_times_old, align 8, !tbaa !5
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = call i32 @free(ptr noundef nonnull %16) #5
store ptr null, ptr @read_usage_times.cp_times, align 8, !tbaa !5
%25 = load i32, ptr @errno, align 4, !tbaa !9
br label %136
26: ; preds = %20
%27 = load i32, ptr @CPUSTATES, align 4, !tbaa !9
%28 = sext i32 %27 to i64
%29 = shl nsw i64 %28, 3
%30 = udiv i64 %15, %29
%31 = trunc i64 %30 to i32
store i32 %31, ptr @read_usage_times.ncpus, align 4, !tbaa !9
br label %32
32: ; preds = %5, %26
%33 = phi i64 [ %9, %5 ], [ %29, %26 ]
%34 = phi ptr [ %3, %5 ], [ %16, %26 ]
%35 = phi i32 [ %7, %5 ], [ %31, %26 ]
%36 = sext i32 %35 to i64
%37 = mul i64 %33, %36
store i64 %37, ptr %2, align 8, !tbaa !11
%38 = load i32, ptr @cp_times_mib, align 4, !tbaa !9
%39 = call i32 @sysctl(i32 noundef %38, i32 noundef 2, ptr noundef nonnull %34, ptr noundef nonnull %2, ptr noundef null, i32 noundef 0) #5
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %136
41: ; preds = %32
%42 = icmp eq ptr %0, null
br i1 %42, label %43, label %46
43: ; preds = %41
%44 = load ptr, ptr @read_usage_times.cp_times_old, align 8, !tbaa !5
%45 = load ptr, ptr @read_usage_times.cp_times, align 8, !tbaa !5
br label %131
46: ; preds = %41
store i32 0, ptr %0, align 4, !tbaa !9
%47 = load i32, ptr @read_usage_times.ncpus, align 4, !tbaa !9
%48 = icmp sgt i32 %47, 0
%49 = load ptr, ptr @read_usage_times.cp_times_old, align 8
%50 = load ptr, ptr @read_usage_times.cp_times, align 8
br i1 %48, label %51, label %131
51: ; preds = %46
%52 = load i32, ptr @CPUSTATES, align 4, !tbaa !9
br label %53
53: ; preds = %51, %126
%54 = phi i32 [ 0, %51 ], [ %127, %126 ]
%55 = phi i32 [ %52, %51 ], [ %128, %126 ]
%56 = phi i32 [ 0, %51 ], [ %129, %126 ]
%57 = icmp sgt i32 %55, 0
br i1 %57, label %58, label %126
58: ; preds = %53
%59 = mul nsw i32 %55, %56
%60 = zext nneg i32 %59 to i64
%61 = zext nneg i32 %55 to i64
%62 = icmp ult i32 %55, 4
br i1 %62, label %90, label %63
63: ; preds = %58
%64 = and i64 %61, 2147483644
br label %65
65: ; preds = %65, %63
%66 = phi i64 [ 0, %63 ], [ %84, %65 ]
%67 = phi <2 x i32> [ zeroinitializer, %63 ], [ %82, %65 ]
%68 = phi <2 x i32> [ zeroinitializer, %63 ], [ %83, %65 ]
%69 = add nuw nsw i64 %66, %60
%70 = getelementptr inbounds i64, ptr %50, i64 %69
%71 = getelementptr inbounds i64, ptr %70, i64 2
%72 = load <2 x i64>, ptr %70, align 8, !tbaa !11
%73 = load <2 x i64>, ptr %71, align 8, !tbaa !11
%74 = getelementptr inbounds i64, ptr %49, i64 %69
%75 = getelementptr inbounds i64, ptr %74, i64 2
%76 = load <2 x i64>, ptr %74, align 8, !tbaa !11
%77 = load <2 x i64>, ptr %75, align 8, !tbaa !11
%78 = sub nsw <2 x i64> %72, %76
%79 = sub nsw <2 x i64> %73, %77
%80 = trunc <2 x i64> %78 to <2 x i32>
%81 = trunc <2 x i64> %79 to <2 x i32>
%82 = add <2 x i32> %67, %80
%83 = add <2 x i32> %68, %81
%84 = add nuw i64 %66, 4
%85 = icmp eq i64 %84, %64
br i1 %85, label %86, label %65, !llvm.loop !13
86: ; preds = %65
%87 = add <2 x i32> %83, %82
%88 = call i32 @llvm.vector.reduce.add.v2i32(<2 x i32> %87)
%89 = icmp eq i64 %64, %61
br i1 %89, label %106, label %90
90: ; preds = %58, %86
%91 = phi i64 [ 0, %58 ], [ %64, %86 ]
%92 = phi i32 [ 0, %58 ], [ %88, %86 ]
br label %93
93: ; preds = %90, %93
%94 = phi i64 [ %104, %93 ], [ %91, %90 ]
%95 = phi i32 [ %103, %93 ], [ %92, %90 ]
%96 = add nuw nsw i64 %94, %60
%97 = getelementptr inbounds i64, ptr %50, i64 %96
%98 = load i64, ptr %97, align 8, !tbaa !11
%99 = getelementptr inbounds i64, ptr %49, i64 %96
%100 = load i64, ptr %99, align 8, !tbaa !11
%101 = sub nsw i64 %98, %100
%102 = trunc i64 %101 to i32
%103 = add i32 %95, %102
%104 = add nuw nsw i64 %94, 1
%105 = icmp eq i64 %104, %61
br i1 %105, label %106, label %93, !llvm.loop !17
106: ; preds = %93, %86
%107 = phi i32 [ %88, %86 ], [ %103, %93 ]
%108 = icmp eq i32 %107, 0
br i1 %108, label %126, label %109
109: ; preds = %106
%110 = mul nsw i32 %55, %56
%111 = load i32, ptr @CP_IDLE, align 4, !tbaa !9
%112 = add nsw i32 %111, %110
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i64, ptr %50, i64 %113
%115 = load i64, ptr %114, align 8, !tbaa !11
%116 = getelementptr inbounds i64, ptr %49, i64 %113
%117 = load i64, ptr %116, align 8, !tbaa !11
%118 = sub nsw i64 %115, %117
%119 = mul nsw i64 %118, 100
%120 = sext i32 %107 to i64
%121 = sdiv i64 %119, %120
%122 = trunc i64 %121 to i32
%123 = sub i32 %54, %122
%124 = add i32 %123, 100
store i32 %124, ptr %0, align 4, !tbaa !9
%125 = load i32, ptr @CPUSTATES, align 4, !tbaa !9
br label %126
126: ; preds = %53, %106, %109
%127 = phi i32 [ %54, %106 ], [ %124, %109 ], [ %54, %53 ]
%128 = phi i32 [ %55, %106 ], [ %125, %109 ], [ %55, %53 ]
%129 = add nuw nsw i32 %56, 1
%130 = icmp eq i32 %129, %47
br i1 %130, label %131, label %53, !llvm.loop !18
131: ; preds = %126, %43, %46
%132 = phi ptr [ %45, %43 ], [ %50, %46 ], [ %50, %126 ]
%133 = phi ptr [ %44, %43 ], [ %49, %46 ], [ %49, %126 ]
%134 = load i64, ptr %2, align 8, !tbaa !11
%135 = call i32 @memcpy(ptr noundef %133, ptr noundef %132, i64 noundef %134) #5
br label %136
136: ; preds = %32, %10, %131, %23, %18
%137 = phi i32 [ %19, %18 ], [ %25, %23 ], [ 0, %131 ], [ %12, %10 ], [ %39, %32 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
ret i32 %137
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sysctl(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr 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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v2i32(<2 x i32>) #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !14, !16, !15}
!18 = distinct !{!18, !14}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/powerd/extr_powerd.c_read_usage_times.c'
source_filename = "AnghaBench/freebsd/usr.sbin/powerd/extr_powerd.c_read_usage_times.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@read_usage_times.cp_times = internal unnamed_addr global ptr null, align 8
@read_usage_times.cp_times_old = internal unnamed_addr global ptr null, align 8
@read_usage_times.ncpus = internal unnamed_addr global i32 0, align 4
@cp_times_mib = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@CPUSTATES = common local_unnamed_addr global i32 0, align 4
@CP_IDLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_usage_times], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @read_usage_times(ptr noundef writeonly %0) #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
%3 = load ptr, ptr @read_usage_times.cp_times, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = load i32, ptr @CPUSTATES, align 4, !tbaa !10
%7 = load i32, ptr @read_usage_times.ncpus, align 4, !tbaa !10
%8 = sext i32 %6 to i64
%9 = shl nsw i64 %8, 3
br label %32
10: ; preds = %1
store i64 0, ptr %2, align 8, !tbaa !12
%11 = load i32, ptr @cp_times_mib, align 4, !tbaa !10
%12 = call i32 @sysctl(i32 noundef %11, i32 noundef 2, ptr noundef null, ptr noundef nonnull %2, ptr noundef null, i32 noundef 0) #5
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %153
14: ; preds = %10
%15 = load i64, ptr %2, align 8, !tbaa !12
%16 = call ptr @malloc(i64 noundef %15)
store ptr %16, ptr @read_usage_times.cp_times, align 8, !tbaa !6
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = load i32, ptr @errno, align 4, !tbaa !10
br label %153
20: ; preds = %14
%21 = call ptr @malloc(i64 noundef %15)
store ptr %21, ptr @read_usage_times.cp_times_old, align 8, !tbaa !6
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = call i32 @free(ptr noundef nonnull %16) #5
store ptr null, ptr @read_usage_times.cp_times, align 8, !tbaa !6
%25 = load i32, ptr @errno, align 4, !tbaa !10
br label %153
26: ; preds = %20
%27 = load i32, ptr @CPUSTATES, align 4, !tbaa !10
%28 = sext i32 %27 to i64
%29 = shl nsw i64 %28, 3
%30 = udiv i64 %15, %29
%31 = trunc i64 %30 to i32
store i32 %31, ptr @read_usage_times.ncpus, align 4, !tbaa !10
br label %32
32: ; preds = %5, %26
%33 = phi i64 [ %9, %5 ], [ %29, %26 ]
%34 = phi ptr [ %3, %5 ], [ %16, %26 ]
%35 = phi i32 [ %7, %5 ], [ %31, %26 ]
%36 = sext i32 %35 to i64
%37 = mul i64 %33, %36
store i64 %37, ptr %2, align 8, !tbaa !12
%38 = load i32, ptr @cp_times_mib, align 4, !tbaa !10
%39 = call i32 @sysctl(i32 noundef %38, i32 noundef 2, ptr noundef nonnull %34, ptr noundef nonnull %2, ptr noundef null, i32 noundef 0) #5
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %153
41: ; preds = %32
%42 = icmp eq ptr %0, null
br i1 %42, label %43, label %46
43: ; preds = %41
%44 = load ptr, ptr @read_usage_times.cp_times_old, align 8, !tbaa !6
%45 = load ptr, ptr @read_usage_times.cp_times, align 8, !tbaa !6
br label %148
46: ; preds = %41
store i32 0, ptr %0, align 4, !tbaa !10
%47 = load i32, ptr @read_usage_times.ncpus, align 4, !tbaa !10
%48 = icmp sgt i32 %47, 0
%49 = load ptr, ptr @read_usage_times.cp_times_old, align 8
%50 = load ptr, ptr @read_usage_times.cp_times, align 8
br i1 %48, label %51, label %148
51: ; preds = %46
%52 = load i32, ptr @CPUSTATES, align 4, !tbaa !10
br label %53
53: ; preds = %51, %143
%54 = phi i32 [ 0, %51 ], [ %144, %143 ]
%55 = phi i32 [ %52, %51 ], [ %145, %143 ]
%56 = phi i32 [ 0, %51 ], [ %146, %143 ]
%57 = icmp sgt i32 %55, 0
br i1 %57, label %58, label %143
58: ; preds = %53
%59 = mul nuw nsw i32 %55, %56
%60 = zext nneg i32 %59 to i64
%61 = zext nneg i32 %55 to i64
%62 = icmp ult i32 %55, 16
br i1 %62, label %108, label %63
63: ; preds = %58
%64 = and i64 %61, 2147483632
br label %65
65: ; preds = %65, %63
%66 = phi i64 [ 0, %63 ], [ %100, %65 ]
%67 = phi <4 x i32> [ zeroinitializer, %63 ], [ %96, %65 ]
%68 = phi <4 x i32> [ zeroinitializer, %63 ], [ %97, %65 ]
%69 = phi <4 x i32> [ zeroinitializer, %63 ], [ %98, %65 ]
%70 = phi <4 x i32> [ zeroinitializer, %63 ], [ %99, %65 ]
%71 = add nuw nsw i64 %66, %60
%72 = getelementptr inbounds i64, ptr %50, i64 %71
%73 = getelementptr inbounds i8, ptr %72, i64 32
%74 = getelementptr inbounds i8, ptr %72, i64 64
%75 = getelementptr inbounds i8, ptr %72, i64 96
%76 = load <4 x i64>, ptr %72, align 8, !tbaa !12
%77 = load <4 x i64>, ptr %73, align 8, !tbaa !12
%78 = load <4 x i64>, ptr %74, align 8, !tbaa !12
%79 = load <4 x i64>, ptr %75, align 8, !tbaa !12
%80 = getelementptr inbounds i64, ptr %49, i64 %71
%81 = getelementptr inbounds i8, ptr %80, i64 32
%82 = getelementptr inbounds i8, ptr %80, i64 64
%83 = getelementptr inbounds i8, ptr %80, i64 96
%84 = load <4 x i64>, ptr %80, align 8, !tbaa !12
%85 = load <4 x i64>, ptr %81, align 8, !tbaa !12
%86 = load <4 x i64>, ptr %82, align 8, !tbaa !12
%87 = load <4 x i64>, ptr %83, align 8, !tbaa !12
%88 = sub nsw <4 x i64> %76, %84
%89 = sub nsw <4 x i64> %77, %85
%90 = sub nsw <4 x i64> %78, %86
%91 = sub nsw <4 x i64> %79, %87
%92 = trunc <4 x i64> %88 to <4 x i32>
%93 = trunc <4 x i64> %89 to <4 x i32>
%94 = trunc <4 x i64> %90 to <4 x i32>
%95 = trunc <4 x i64> %91 to <4 x i32>
%96 = add <4 x i32> %67, %92
%97 = add <4 x i32> %68, %93
%98 = add <4 x i32> %69, %94
%99 = add <4 x i32> %70, %95
%100 = add nuw i64 %66, 16
%101 = icmp eq i64 %100, %64
br i1 %101, label %102, label %65, !llvm.loop !14
102: ; preds = %65
%103 = add <4 x i32> %97, %96
%104 = add <4 x i32> %98, %103
%105 = add <4 x i32> %99, %104
%106 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %105)
%107 = icmp eq i64 %64, %61
br i1 %107, label %124, label %108
108: ; preds = %102, %58
%109 = phi i64 [ 0, %58 ], [ %64, %102 ]
%110 = phi i32 [ 0, %58 ], [ %106, %102 ]
br label %111
111: ; preds = %108, %111
%112 = phi i64 [ %122, %111 ], [ %109, %108 ]
%113 = phi i32 [ %121, %111 ], [ %110, %108 ]
%114 = add nuw nsw i64 %112, %60
%115 = getelementptr inbounds i64, ptr %50, i64 %114
%116 = load i64, ptr %115, align 8, !tbaa !12
%117 = getelementptr inbounds i64, ptr %49, i64 %114
%118 = load i64, ptr %117, align 8, !tbaa !12
%119 = sub nsw i64 %116, %118
%120 = trunc i64 %119 to i32
%121 = add i32 %113, %120
%122 = add nuw nsw i64 %112, 1
%123 = icmp eq i64 %122, %61
br i1 %123, label %124, label %111, !llvm.loop !18
124: ; preds = %111, %102
%125 = phi i32 [ %106, %102 ], [ %121, %111 ]
%126 = icmp eq i32 %125, 0
br i1 %126, label %143, label %127
127: ; preds = %124
%128 = load i32, ptr @CP_IDLE, align 4, !tbaa !10
%129 = add nsw i32 %128, %59
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i64, ptr %50, i64 %130
%132 = load i64, ptr %131, align 8, !tbaa !12
%133 = getelementptr inbounds i64, ptr %49, i64 %130
%134 = load i64, ptr %133, align 8, !tbaa !12
%135 = sub nsw i64 %132, %134
%136 = mul nsw i64 %135, 100
%137 = sext i32 %125 to i64
%138 = sdiv i64 %136, %137
%139 = trunc i64 %138 to i32
%140 = sub i32 %54, %139
%141 = add i32 %140, 100
store i32 %141, ptr %0, align 4, !tbaa !10
%142 = load i32, ptr @CPUSTATES, align 4, !tbaa !10
br label %143
143: ; preds = %53, %124, %127
%144 = phi i32 [ %54, %124 ], [ %141, %127 ], [ %54, %53 ]
%145 = phi i32 [ %55, %124 ], [ %142, %127 ], [ %55, %53 ]
%146 = add nuw nsw i32 %56, 1
%147 = icmp eq i32 %146, %47
br i1 %147, label %148, label %53, !llvm.loop !19
148: ; preds = %143, %43, %46
%149 = phi ptr [ %45, %43 ], [ %50, %46 ], [ %50, %143 ]
%150 = phi ptr [ %44, %43 ], [ %49, %46 ], [ %49, %143 ]
%151 = load i64, ptr %2, align 8, !tbaa !12
%152 = call i32 @memcpy(ptr noundef %150, ptr noundef %149, i64 noundef %151) #5
br label %153
153: ; preds = %32, %10, %148, %23, %18
%154 = phi i32 [ %19, %18 ], [ %25, %23 ], [ 0, %148 ], [ %12, %10 ], [ %39, %32 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
ret i32 %154
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sysctl(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr 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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !15, !17, !16}
!19 = distinct !{!19, !15}
| freebsd_usr.sbin_powerd_extr_powerd.c_read_usage_times |
; ModuleID = 'AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufshcd_prepare_req_desc_hdr.c'
source_filename = "AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufshcd_prepare_req_desc_hdr.c"
target datalayout = "e-m:e-p270:32:32-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.ufshcd_lrb = type { i32, i64, ptr }
%struct.utp_transfer_req_desc = type { i64, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64, ptr, i64, ptr }
@DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@UTP_DEVICE_TO_HOST = dso_local local_unnamed_addr global i32 0, align 4
@UPIU_CMD_FLAGS_READ = dso_local local_unnamed_addr global i32 0, align 4
@DMA_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@UTP_HOST_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@UPIU_CMD_FLAGS_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@UTP_NO_DATA_TRANSFER = dso_local local_unnamed_addr global i32 0, align 4
@UPIU_CMD_FLAGS_NONE = dso_local local_unnamed_addr global i32 0, align 4
@UPIU_COMMAND_TYPE_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@UTP_REQ_DESC_INT_CMD = dso_local local_unnamed_addr global i32 0, align 4
@OCS_INVALID_COMMAND_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ufshcd_prepare_req_desc_hdr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ufshcd_prepare_req_desc_hdr(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.ufshcd_lrb, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !12
%7 = icmp eq i32 %6, %2
%8 = load i32, ptr @DMA_TO_DEVICE, align 4
%9 = icmp eq i32 %8, %2
%10 = load i32, ptr @UTP_DEVICE_TO_HOST, align 4
%11 = load i32, ptr @UTP_HOST_TO_DEVICE, align 4
%12 = load i32, ptr @UTP_NO_DATA_TRANSFER, align 4
%13 = select i1 %9, i32 %11, i32 %12
%14 = select i1 %7, i32 %10, i32 %13
%15 = load i32, ptr @UPIU_CMD_FLAGS_READ, align 4
%16 = load i32, ptr @UPIU_CMD_FLAGS_WRITE, align 4
%17 = load i32, ptr @UPIU_CMD_FLAGS_NONE, align 4
%18 = select i1 %9, i32 %16, i32 %17
%19 = select i1 %7, i32 %15, i32 %18
store i32 %19, ptr %1, align 4, !tbaa !12
%20 = load i32, ptr %0, align 8, !tbaa !13
%21 = load i32, ptr @UPIU_COMMAND_TYPE_OFFSET, align 4, !tbaa !12
%22 = shl i32 %20, %21
%23 = or i32 %22, %14
%24 = getelementptr inbounds %struct.ufshcd_lrb, ptr %0, i64 0, i32 1
%25 = load i64, ptr %24, align 8, !tbaa !14
%26 = icmp eq i64 %25, 0
%27 = load i32, ptr @UTP_REQ_DESC_INT_CMD, align 4
%28 = select i1 %26, i32 0, i32 %27
%29 = or i32 %23, %28
%30 = tail call ptr @cpu_to_le32(i32 noundef %29) #3
%31 = getelementptr inbounds %struct.utp_transfer_req_desc, ptr %5, i64 0, i32 1, i32 3
store ptr %30, ptr %31, align 8, !tbaa !15
%32 = getelementptr inbounds %struct.utp_transfer_req_desc, ptr %5, i64 0, i32 1, i32 2
store i64 0, ptr %32, align 8, !tbaa !18
%33 = load i32, ptr @OCS_INVALID_COMMAND_STATUS, align 4, !tbaa !12
%34 = tail call ptr @cpu_to_le32(i32 noundef %33) #3
%35 = getelementptr inbounds %struct.utp_transfer_req_desc, ptr %5, i64 0, i32 1, i32 1
store ptr %34, ptr %35, align 8, !tbaa !19
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
ret void
}
declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"ufshcd_lrb", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!16, !11, i64 32}
!16 = !{!"utp_transfer_req_desc", !10, i64 0, !17, i64 8}
!17 = !{!"TYPE_2__", !10, i64 0, !11, i64 8, !10, i64 16, !11, i64 24}
!18 = !{!16, !10, i64 24}
!19 = !{!16, !11, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufshcd_prepare_req_desc_hdr.c'
source_filename = "AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufshcd_prepare_req_desc_hdr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4
@UTP_DEVICE_TO_HOST = common local_unnamed_addr global i32 0, align 4
@UPIU_CMD_FLAGS_READ = common local_unnamed_addr global i32 0, align 4
@DMA_TO_DEVICE = common local_unnamed_addr global i32 0, align 4
@UTP_HOST_TO_DEVICE = common local_unnamed_addr global i32 0, align 4
@UPIU_CMD_FLAGS_WRITE = common local_unnamed_addr global i32 0, align 4
@UTP_NO_DATA_TRANSFER = common local_unnamed_addr global i32 0, align 4
@UPIU_CMD_FLAGS_NONE = common local_unnamed_addr global i32 0, align 4
@UPIU_COMMAND_TYPE_OFFSET = common local_unnamed_addr global i32 0, align 4
@UTP_REQ_DESC_INT_CMD = common local_unnamed_addr global i32 0, align 4
@OCS_INVALID_COMMAND_STATUS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ufshcd_prepare_req_desc_hdr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ufshcd_prepare_req_desc_hdr(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !13
%7 = icmp eq i32 %6, %2
%8 = load i32, ptr @DMA_TO_DEVICE, align 4
%9 = icmp eq i32 %8, %2
%10 = load i32, ptr @UTP_DEVICE_TO_HOST, align 4
%11 = load i32, ptr @UTP_HOST_TO_DEVICE, align 4
%12 = load i32, ptr @UTP_NO_DATA_TRANSFER, align 4
%13 = select i1 %9, i32 %11, i32 %12
%14 = select i1 %7, i32 %10, i32 %13
%15 = load i32, ptr @UPIU_CMD_FLAGS_READ, align 4
%16 = load i32, ptr @UPIU_CMD_FLAGS_WRITE, align 4
%17 = load i32, ptr @UPIU_CMD_FLAGS_NONE, align 4
%18 = select i1 %9, i32 %16, i32 %17
%19 = select i1 %7, i32 %15, i32 %18
store i32 %19, ptr %1, align 4, !tbaa !13
%20 = load i32, ptr %0, align 8, !tbaa !14
%21 = load i32, ptr @UPIU_COMMAND_TYPE_OFFSET, align 4, !tbaa !13
%22 = shl i32 %20, %21
%23 = or i32 %22, %14
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load i64, ptr %24, align 8, !tbaa !15
%26 = icmp eq i64 %25, 0
%27 = load i32, ptr @UTP_REQ_DESC_INT_CMD, align 4
%28 = select i1 %26, i32 0, i32 %27
%29 = or i32 %23, %28
%30 = tail call ptr @cpu_to_le32(i32 noundef %29) #3
%31 = getelementptr inbounds i8, ptr %5, i64 32
store ptr %30, ptr %31, align 8, !tbaa !16
%32 = getelementptr inbounds i8, ptr %5, i64 24
store i64 0, ptr %32, align 8, !tbaa !19
%33 = load i32, ptr @OCS_INVALID_COMMAND_STATUS, align 4, !tbaa !13
%34 = tail call ptr @cpu_to_le32(i32 noundef %33) #3
%35 = getelementptr inbounds i8, ptr %5, i64 16
store ptr %34, ptr %35, align 8, !tbaa !20
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
ret void
}
declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"ufshcd_lrb", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!17, !12, i64 32}
!17 = !{!"utp_transfer_req_desc", !11, i64 0, !18, i64 8}
!18 = !{!"TYPE_2__", !11, i64 0, !12, i64 8, !11, i64 16, !12, i64 24}
!19 = !{!17, !11, i64 24}
!20 = !{!17, !12, i64 16}
| linux_drivers_scsi_ufs_extr_ufshcd.c_ufshcd_prepare_req_desc_hdr |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe_verbs.c_rxe_set_page.c'
source_filename = "AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe_verbs.c_rxe_set_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rxe_mem = type { i64, i64, ptr }
%struct.rxe_phys_buf = type { i32, i32 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@RXE_BUF_PER_MAP = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @rxe_set_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rxe_set_page(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @to_rmr(ptr noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.rxe_mem, ptr %3, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = icmp eq i64 %4, %6
%8 = zext i1 %7 to i32
%9 = tail call i64 @unlikely(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%13 = sub nsw i32 0, %12
br label %28
14: ; preds = %2
%15 = getelementptr inbounds %struct.rxe_mem, ptr %3, i64 0, i32 2
%16 = load ptr, ptr %15, align 8, !tbaa !14
%17 = load i64, ptr %3, align 8, !tbaa !5
%18 = load i64, ptr @RXE_BUF_PER_MAP, align 8, !tbaa !15
%19 = udiv i64 %17, %18
%20 = getelementptr inbounds ptr, ptr %16, i64 %19
%21 = load ptr, ptr %20, align 8, !tbaa !16
%22 = load ptr, ptr %21, align 8, !tbaa !17
%23 = urem i64 %17, %18
%24 = getelementptr inbounds %struct.rxe_phys_buf, ptr %22, i64 %23
%25 = getelementptr inbounds %struct.rxe_phys_buf, ptr %22, i64 %23, i32 1
store i32 %1, ptr %25, align 4, !tbaa !19
%26 = load i32, ptr %0, align 4, !tbaa !21
store i32 %26, ptr %24, align 4, !tbaa !23
%27 = add i64 %17, 1
store i64 %27, ptr %3, align 8, !tbaa !5
br label %28
28: ; preds = %14, %11
%29 = phi i32 [ %13, %11 ], [ 0, %14 ]
ret i32 %29
}
declare ptr @to_rmr(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(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 = !{!"rxe_mem", !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 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !10, i64 16}
!15 = !{!7, !7, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"rxe_map", !10, i64 0}
!19 = !{!20, !13, i64 4}
!20 = !{!"rxe_phys_buf", !13, i64 0, !13, i64 4}
!21 = !{!22, !13, i64 0}
!22 = !{!"ib_mr", !13, i64 0}
!23 = !{!20, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe_verbs.c_rxe_set_page.c'
source_filename = "AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe_verbs.c_rxe_set_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.rxe_phys_buf = type { i32, i32 }
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@RXE_BUF_PER_MAP = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @rxe_set_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @rxe_set_page(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @to_rmr(ptr noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %3, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp eq i64 %4, %6
%8 = zext i1 %7 to i32
%9 = tail call i64 @unlikely(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%13 = sub nsw i32 0, %12
br label %31
14: ; preds = %2
%15 = getelementptr inbounds i8, ptr %3, i64 16
%16 = load ptr, ptr %15, align 8, !tbaa !15
%17 = load i64, ptr %3, align 8, !tbaa !6
%18 = load i64, ptr @RXE_BUF_PER_MAP, align 8, !tbaa !16
%19 = freeze i64 %17
%20 = freeze i64 %18
%21 = udiv i64 %19, %20
%22 = getelementptr inbounds ptr, ptr %16, i64 %21
%23 = load ptr, ptr %22, align 8, !tbaa !17
%24 = load ptr, ptr %23, align 8, !tbaa !18
%25 = mul i64 %21, %20
%26 = sub i64 %19, %25
%27 = getelementptr inbounds %struct.rxe_phys_buf, ptr %24, i64 %26
%28 = getelementptr inbounds i8, ptr %27, i64 4
store i32 %1, ptr %28, align 4, !tbaa !20
%29 = load i32, ptr %0, align 4, !tbaa !22
store i32 %29, ptr %27, align 4, !tbaa !24
%30 = add i64 %17, 1
store i64 %30, ptr %3, align 8, !tbaa !6
br label %31
31: ; preds = %14, %11
%32 = phi i32 [ %13, %11 ], [ 0, %14 ]
ret i32 %32
}
declare ptr @to_rmr(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(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 = !{!"rxe_mem", !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 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !11, i64 16}
!16 = !{!8, !8, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"rxe_map", !11, i64 0}
!20 = !{!21, !14, i64 4}
!21 = !{!"rxe_phys_buf", !14, i64 0, !14, i64 4}
!22 = !{!23, !14, i64 0}
!23 = !{!"ib_mr", !14, i64 0}
!24 = !{!21, !14, i64 0}
| linux_drivers_infiniband_sw_rxe_extr_rxe_verbs.c_rxe_set_page |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/drivers/opl3/extr_opl3_oss.c_snd_opl3_oss_create_port.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/drivers/opl3/extr_opl3_oss.c_snd_opl3_oss_create_port.c"
target datalayout = "e-m:e-p270:32:32-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_seq_port_callback = type { ptr, i32, i32, i32 }
%struct.snd_opl3 = type { i32, ptr, i32 }
%struct.TYPE_3__ = type { i32, i32, ptr }
@OPL3_HW_OPL3 = dso_local local_unnamed_addr global i32 0, align 4
@MAX_OPL2_VOICES = dso_local local_unnamed_addr global i32 0, align 4
@MAX_OPL3_VOICES = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@THIS_MODULE = dso_local local_unnamed_addr global i32 0, align 4
@snd_opl3_oss_event_input = dso_local local_unnamed_addr global i32 0, align 4
@snd_opl3_oss_free_port = dso_local local_unnamed_addr global i32 0, align 4
@OPL3_HW_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"OPL%i OSS Port\00", align 1
@SNDRV_SEQ_PORT_CAP_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_PORT_TYPE_MIDI_GM = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_PORT_TYPE_HARDWARE = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_PORT_TYPE_SYNTHESIZER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_opl3_oss_create_port], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_opl3_oss_create_port(ptr noundef %0) #0 {
%2 = alloca %struct.snd_seq_port_callback, align 8
%3 = alloca [32 x i8], align 16
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr @OPL3_HW_OPL3, align 4, !tbaa !11
%6 = icmp slt i32 %4, %5
%7 = load i32, ptr @MAX_OPL2_VOICES, align 4
%8 = load i32, ptr @MAX_OPL3_VOICES, align 4
%9 = select i1 %6, i32 %7, i32 %8
%10 = tail call ptr @snd_midi_channel_alloc_set(i32 noundef %9) #3
%11 = getelementptr inbounds %struct.snd_opl3, ptr %0, i64 0, i32 1
store ptr %10, ptr %11, align 8, !tbaa !12
%12 = icmp eq ptr %10, null
br i1 %12, label %13, label %16
13: ; preds = %1
%14 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%15 = sub nsw i32 0, %14
br label %47
16: ; preds = %1
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 0, i32 2
store ptr %0, ptr %17, align 8, !tbaa !13
%18 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #3
%19 = load i32, ptr @THIS_MODULE, align 4, !tbaa !11
%20 = getelementptr inbounds %struct.snd_seq_port_callback, ptr %2, i64 0, i32 3
store i32 %19, ptr %20, align 8, !tbaa !15
%21 = load i32, ptr @snd_opl3_oss_event_input, align 4, !tbaa !11
%22 = getelementptr inbounds %struct.snd_seq_port_callback, ptr %2, i64 0, i32 2
store i32 %21, ptr %22, align 4, !tbaa !17
%23 = load i32, ptr @snd_opl3_oss_free_port, align 4, !tbaa !11
%24 = getelementptr inbounds %struct.snd_seq_port_callback, ptr %2, i64 0, i32 1
store i32 %23, ptr %24, align 8, !tbaa !18
store ptr %0, ptr %2, align 8, !tbaa !19
%25 = load i32, ptr %0, align 8, !tbaa !5
%26 = load i32, ptr @OPL3_HW_MASK, align 4, !tbaa !11
%27 = and i32 %26, %25
%28 = ashr i32 %27, 8
%29 = call i32 @sprintf(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %28) #3
%30 = getelementptr inbounds %struct.snd_opl3, ptr %0, i64 0, i32 2
%31 = load i32, ptr %30, align 8, !tbaa !20
%32 = load ptr, ptr %11, align 8, !tbaa !12
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %32, i64 0, i32 1
store i32 %31, ptr %33, align 4, !tbaa !21
%34 = load i32, ptr @SNDRV_SEQ_PORT_CAP_WRITE, align 4, !tbaa !11
%35 = load i32, ptr @SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC, align 4, !tbaa !11
%36 = load i32, ptr @SNDRV_SEQ_PORT_TYPE_MIDI_GM, align 4, !tbaa !11
%37 = or i32 %36, %35
%38 = load i32, ptr @SNDRV_SEQ_PORT_TYPE_HARDWARE, align 4, !tbaa !11
%39 = or i32 %37, %38
%40 = load i32, ptr @SNDRV_SEQ_PORT_TYPE_SYNTHESIZER, align 4, !tbaa !11
%41 = or i32 %39, %40
%42 = call i32 @snd_seq_event_port_attach(i32 noundef %31, ptr noundef nonnull %2, i32 noundef %34, i32 noundef %41, i32 noundef %9, i32 noundef %9, ptr noundef nonnull %3) #3
%43 = load ptr, ptr %11, align 8, !tbaa !12
store i32 %42, ptr %43, align 8, !tbaa !22
%44 = icmp slt i32 %42, 0
br i1 %44, label %45, label %47
45: ; preds = %16
%46 = call i32 @snd_midi_channel_free_set(ptr noundef nonnull %43) #3
br label %47
47: ; preds = %16, %45, %13
%48 = phi i32 [ %15, %13 ], [ %42, %45 ], [ 0, %16 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #3
ret i32 %48
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @snd_midi_channel_alloc_set(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snd_seq_event_port_attach(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snd_midi_channel_free_set(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_opl3", !7, i64 0, !10, i64 8, !7, 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 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !10, i64 8}
!14 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8}
!15 = !{!16, !7, i64 16}
!16 = !{!"snd_seq_port_callback", !10, i64 0, !7, i64 8, !7, i64 12, !7, i64 16}
!17 = !{!16, !7, i64 12}
!18 = !{!16, !7, i64 8}
!19 = !{!16, !10, i64 0}
!20 = !{!6, !7, i64 16}
!21 = !{!14, !7, i64 4}
!22 = !{!14, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/drivers/opl3/extr_opl3_oss.c_snd_opl3_oss_create_port.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/drivers/opl3/extr_opl3_oss.c_snd_opl3_oss_create_port.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.snd_seq_port_callback = type { ptr, i32, i32, i32 }
@OPL3_HW_OPL3 = common local_unnamed_addr global i32 0, align 4
@MAX_OPL2_VOICES = common local_unnamed_addr global i32 0, align 4
@MAX_OPL3_VOICES = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@THIS_MODULE = common local_unnamed_addr global i32 0, align 4
@snd_opl3_oss_event_input = common local_unnamed_addr global i32 0, align 4
@snd_opl3_oss_free_port = common local_unnamed_addr global i32 0, align 4
@OPL3_HW_MASK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"OPL%i OSS Port\00", align 1
@SNDRV_SEQ_PORT_CAP_WRITE = common local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC = common local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_PORT_TYPE_MIDI_GM = common local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_PORT_TYPE_HARDWARE = common local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_PORT_TYPE_SYNTHESIZER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_opl3_oss_create_port], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @snd_opl3_oss_create_port(ptr noundef %0) #0 {
%2 = alloca %struct.snd_seq_port_callback, align 8
%3 = alloca [32 x i8], align 1
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr @OPL3_HW_OPL3, align 4, !tbaa !12
%6 = icmp slt i32 %4, %5
%7 = load i32, ptr @MAX_OPL2_VOICES, align 4
%8 = load i32, ptr @MAX_OPL3_VOICES, align 4
%9 = select i1 %6, i32 %7, i32 %8
%10 = tail call ptr @snd_midi_channel_alloc_set(i32 noundef %9) #3
%11 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %10, ptr %11, align 8, !tbaa !13
%12 = icmp eq ptr %10, null
br i1 %12, label %13, label %16
13: ; preds = %1
%14 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%15 = sub nsw i32 0, %14
br label %47
16: ; preds = %1
%17 = getelementptr inbounds i8, ptr %10, i64 8
store ptr %0, ptr %17, align 8, !tbaa !14
%18 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #3
%19 = load i32, ptr @THIS_MODULE, align 4, !tbaa !12
%20 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %19, ptr %20, align 8, !tbaa !16
%21 = load i32, ptr @snd_opl3_oss_event_input, align 4, !tbaa !12
%22 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %21, ptr %22, align 4, !tbaa !18
%23 = load i32, ptr @snd_opl3_oss_free_port, align 4, !tbaa !12
%24 = getelementptr inbounds i8, ptr %2, i64 8
store i32 %23, ptr %24, align 8, !tbaa !19
store ptr %0, ptr %2, align 8, !tbaa !20
%25 = load i32, ptr %0, align 8, !tbaa !6
%26 = load i32, ptr @OPL3_HW_MASK, align 4, !tbaa !12
%27 = and i32 %26, %25
%28 = ashr i32 %27, 8
%29 = call i32 @sprintf(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %28) #3
%30 = getelementptr inbounds i8, ptr %0, i64 16
%31 = load i32, ptr %30, align 8, !tbaa !21
%32 = load ptr, ptr %11, align 8, !tbaa !13
%33 = getelementptr inbounds i8, ptr %32, i64 4
store i32 %31, ptr %33, align 4, !tbaa !22
%34 = load i32, ptr @SNDRV_SEQ_PORT_CAP_WRITE, align 4, !tbaa !12
%35 = load i32, ptr @SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC, align 4, !tbaa !12
%36 = load i32, ptr @SNDRV_SEQ_PORT_TYPE_MIDI_GM, align 4, !tbaa !12
%37 = or i32 %36, %35
%38 = load i32, ptr @SNDRV_SEQ_PORT_TYPE_HARDWARE, align 4, !tbaa !12
%39 = or i32 %37, %38
%40 = load i32, ptr @SNDRV_SEQ_PORT_TYPE_SYNTHESIZER, align 4, !tbaa !12
%41 = or i32 %39, %40
%42 = call i32 @snd_seq_event_port_attach(i32 noundef %31, ptr noundef nonnull %2, i32 noundef %34, i32 noundef %41, i32 noundef %9, i32 noundef %9, ptr noundef nonnull %3) #3
%43 = load ptr, ptr %11, align 8, !tbaa !13
store i32 %42, ptr %43, align 8, !tbaa !23
%44 = icmp slt i32 %42, 0
br i1 %44, label %45, label %47
45: ; preds = %16
%46 = call i32 @snd_midi_channel_free_set(ptr noundef nonnull %43) #3
br label %47
47: ; preds = %16, %45, %13
%48 = phi i32 [ %15, %13 ], [ %42, %45 ], [ 0, %16 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #3
ret i32 %48
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @snd_midi_channel_alloc_set(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snd_seq_event_port_attach(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snd_midi_channel_free_set(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_opl3", !8, i64 0, !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 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !11, i64 8}
!15 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8}
!16 = !{!17, !8, i64 16}
!17 = !{!"snd_seq_port_callback", !11, i64 0, !8, i64 8, !8, i64 12, !8, i64 16}
!18 = !{!17, !8, i64 12}
!19 = !{!17, !8, i64 8}
!20 = !{!17, !11, i64 0}
!21 = !{!7, !8, i64 16}
!22 = !{!15, !8, i64 4}
!23 = !{!15, !8, i64 0}
| fastsocket_kernel_sound_drivers_opl3_extr_opl3_oss.c_snd_opl3_oss_create_port |
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_u132-hcd.c_u132_roothub_setportfeature.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_u132-hcd.c_u132_roothub_setportfeature.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr }
%struct.u132 = type { i32, ptr }
%struct.u132_port = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@roothub = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@RH_PS_PSS = dso_local local_unnamed_addr global i32 0, align 4
@RH_PS_PPS = dso_local local_unnamed_addr global i32 0, align 4
@EPIPE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @u132_roothub_setportfeature], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @u132_roothub_setportfeature(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = load i32, ptr %0, align 8, !tbaa !5
%7 = icmp slt i32 %6, %2
br i1 %7, label %8, label %11
8: ; preds = %5, %3
%9 = load i32, ptr @EINVAL, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %38
11: ; preds = %5
%12 = add nsw i32 %2, -1
%13 = getelementptr inbounds %struct.u132, ptr %0, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !12
%15 = sext i32 %12 to i64
%16 = getelementptr inbounds %struct.u132_port, ptr %14, i64 %15
%17 = shl nuw i32 1, %1
%18 = xor i32 %17, -1
%19 = load i32, ptr %16, align 4, !tbaa !13
%20 = and i32 %19, %18
store i32 %20, ptr %16, align 4, !tbaa !13
switch i32 %1, label %35 [
i32 128, label %21
i32 130, label %27
i32 129, label %33
]
21: ; preds = %11
%22 = load ptr, ptr @roothub, align 8, !tbaa !15
%23 = getelementptr inbounds i32, ptr %22, i64 %15
%24 = load i32, ptr %23, align 4, !tbaa !11
%25 = load i32, ptr @RH_PS_PSS, align 4, !tbaa !11
%26 = tail call i32 @u132_write_pcimem(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %25) #2
br label %38
27: ; preds = %11
%28 = load ptr, ptr @roothub, align 8, !tbaa !15
%29 = getelementptr inbounds i32, ptr %28, i64 %15
%30 = load i32, ptr %29, align 4, !tbaa !11
%31 = load i32, ptr @RH_PS_PPS, align 4, !tbaa !11
%32 = tail call i32 @u132_write_pcimem(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %31) #2
br label %38
33: ; preds = %11
%34 = tail call i32 @u132_roothub_portreset(ptr noundef nonnull %0, i32 noundef %12) #2
br label %38
35: ; preds = %11
%36 = load i32, ptr @EPIPE, align 4, !tbaa !11
%37 = sub nsw i32 0, %36
br label %38
38: ; preds = %21, %27, %33, %35, %8
%39 = phi i32 [ %10, %8 ], [ %37, %35 ], [ %34, %33 ], [ %32, %27 ], [ %26, %21 ]
ret i32 %39
}
declare i32 @u132_write_pcimem(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @u132_roothub_portreset(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 = !{!"u132", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"u132_port", !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_2__", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_u132-hcd.c_u132_roothub_setportfeature.c'
source_filename = "AnghaBench/linux/drivers/usb/host/extr_u132-hcd.c_u132_roothub_setportfeature.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
%struct.u132_port = type { i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@roothub = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@RH_PS_PSS = common local_unnamed_addr global i32 0, align 4
@RH_PS_PPS = common local_unnamed_addr global i32 0, align 4
@EPIPE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @u132_roothub_setportfeature], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @u132_roothub_setportfeature(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = load i32, ptr %0, align 8, !tbaa !6
%7 = icmp slt i32 %6, %2
br i1 %7, label %8, label %11
8: ; preds = %5, %3
%9 = load i32, ptr @EINVAL, align 4, !tbaa !12
%10 = sub nsw i32 0, %9
br label %38
11: ; preds = %5
%12 = add nsw i32 %2, -1
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = sext i32 %12 to i64
%16 = getelementptr inbounds %struct.u132_port, ptr %14, i64 %15
%17 = shl nuw i32 1, %1
%18 = xor i32 %17, -1
%19 = load i32, ptr %16, align 4, !tbaa !14
%20 = and i32 %19, %18
store i32 %20, ptr %16, align 4, !tbaa !14
switch i32 %1, label %35 [
i32 128, label %21
i32 130, label %27
i32 129, label %33
]
21: ; preds = %11
%22 = load ptr, ptr @roothub, align 8, !tbaa !16
%23 = getelementptr inbounds i32, ptr %22, i64 %15
%24 = load i32, ptr %23, align 4, !tbaa !12
%25 = load i32, ptr @RH_PS_PSS, align 4, !tbaa !12
%26 = tail call i32 @u132_write_pcimem(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %25) #2
br label %38
27: ; preds = %11
%28 = load ptr, ptr @roothub, align 8, !tbaa !16
%29 = getelementptr inbounds i32, ptr %28, i64 %15
%30 = load i32, ptr %29, align 4, !tbaa !12
%31 = load i32, ptr @RH_PS_PPS, align 4, !tbaa !12
%32 = tail call i32 @u132_write_pcimem(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %31) #2
br label %38
33: ; preds = %11
%34 = tail call i32 @u132_roothub_portreset(ptr noundef nonnull %0, i32 noundef %12) #2
br label %38
35: ; preds = %11
%36 = load i32, ptr @EPIPE, align 4, !tbaa !12
%37 = sub nsw i32 0, %36
br label %38
38: ; preds = %21, %27, %33, %35, %8
%39 = phi i32 [ %10, %8 ], [ %37, %35 ], [ %34, %33 ], [ %32, %27 ], [ %26, %21 ]
ret i32 %39
}
declare i32 @u132_write_pcimem(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @u132_roothub_portreset(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 = !{!"u132", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !8, i64 0}
!15 = !{!"u132_port", !8, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_2__", !11, i64 0}
| linux_drivers_usb_host_extr_u132-hcd.c_u132_roothub_setportfeature |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_beacon.c_ath9k_beacon_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_beacon.c_ath9k_beacon_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.ath_softc = type { %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath9k_beacon_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ath9k_beacon_init(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds %struct.ath_softc, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @ath9k_hw_disable_interrupts(ptr noundef %6) #2
%8 = icmp eq i32 %3, 0
br i1 %8, label %11, label %9
9: ; preds = %4
%10 = tail call i32 @ath9k_hw_reset_tsf(ptr noundef %6) #2
br label %11
11: ; preds = %9, %4
%12 = tail call i32 @ath9k_beaconq_config(ptr noundef nonnull %0) #2
%13 = tail call i32 @ath9k_hw_beaconinit(ptr noundef %6, i32 noundef %1, i32 noundef %2) #2
store i64 0, ptr %0, align 8, !tbaa !12
%14 = tail call i32 @ath9k_hw_set_interrupts(ptr noundef %6) #2
%15 = tail call i32 @ath9k_hw_enable_interrupts(ptr noundef %6) #2
ret void
}
declare i32 @ath9k_hw_disable_interrupts(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_reset_tsf(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_beaconq_config(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_beaconinit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_set_interrupts(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_enable_interrupts(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 8}
!6 = !{!"ath_softc", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_beacon.c_ath9k_beacon_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath9k/extr_beacon.c_ath9k_beacon_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 @ath9k_beacon_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ath9k_beacon_init(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @ath9k_hw_disable_interrupts(ptr noundef %6) #2
%8 = icmp eq i32 %3, 0
br i1 %8, label %11, label %9
9: ; preds = %4
%10 = tail call i32 @ath9k_hw_reset_tsf(ptr noundef %6) #2
br label %11
11: ; preds = %9, %4
%12 = tail call i32 @ath9k_beaconq_config(ptr noundef nonnull %0) #2
%13 = tail call i32 @ath9k_hw_beaconinit(ptr noundef %6, i32 noundef %1, i32 noundef %2) #2
store i64 0, ptr %0, align 8, !tbaa !13
%14 = tail call i32 @ath9k_hw_set_interrupts(ptr noundef %6) #2
%15 = tail call i32 @ath9k_hw_enable_interrupts(ptr noundef %6) #2
ret void
}
declare i32 @ath9k_hw_disable_interrupts(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_reset_tsf(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_beaconq_config(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_beaconinit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_set_interrupts(ptr noundef) local_unnamed_addr #1
declare i32 @ath9k_hw_enable_interrupts(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 8}
!7 = !{!"ath_softc", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!7, !9, i64 0}
| fastsocket_kernel_drivers_net_wireless_ath_ath9k_extr_beacon.c_ath9k_beacon_init |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_adm_ops.c_check_can_add_node.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_adm_ops.c_check_can_add_node.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SVN_ERR_ENTRY_FORBIDDEN = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [68 x i8] c"Can't create an entry with a reserved name while trying to add '%s'\00", align 1
@svn_node_none = dso_local local_unnamed_addr global i64 0, align 8
@SVN_ERR_WC_PATH_NOT_FOUND = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [15 x i8] c"'%s' not found\00", align 1
@svn_node_unknown = dso_local local_unnamed_addr global i64 0, align 8
@SVN_ERR_UNSUPPORTED_FEATURE = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [36 x i8] c"Unsupported node kind for path '%s'\00", align 1
@FALSE = dso_local local_unnamed_addr global i64 0, align 8
@TRUE = dso_local local_unnamed_addr global i64 0, align 8
@SVN_ERR_WC_FOUND_CONFLICT = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [105 x i8] c"'%s' is an existing item in conflict; please mark the conflict as resolved before adding a new item here\00", align 1
@SVN_ERR_ENTRY_EXISTS = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [38 x i8] c"'%s' is already under version control\00", align 1
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_can_add_node], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @check_can_add_node(ptr noundef writeonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = tail call ptr @svn_dirent_basename(ptr noundef %4, ptr noundef %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
%15 = tail call i32 @svn_dirent_is_absolute(ptr noundef %4) #3
%16 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %15) #3
%17 = icmp ne ptr %5, null
br i1 %17, label %18, label %25
18: ; preds = %8
%19 = tail call i64 @svn_uri_is_canonical(ptr noundef nonnull %5, ptr noundef %7) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %18
%22 = tail call i64 @SVN_IS_VALID_REVNUM(i32 noundef %6) #3
%23 = icmp ne i64 %22, 0
%24 = zext i1 %23 to i32
br label %25
25: ; preds = %18, %21, %8
%26 = phi i32 [ 1, %8 ], [ 0, %18 ], [ %24, %21 ]
%27 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %26) #3
%28 = tail call i64 @svn_wc_is_adm_dir(ptr noundef %14, ptr noundef %7) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %35, label %30
30: ; preds = %25
%31 = load i64, ptr @SVN_ERR_ENTRY_FORBIDDEN, align 8, !tbaa !5
%32 = tail call i32 @_(ptr noundef nonnull @.str) #3
%33 = tail call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%34 = tail call ptr @svn_error_createf(i64 noundef %31, ptr noundef null, i32 noundef %32, i32 noundef %33) #3
br label %114
35: ; preds = %25
%36 = tail call i32 @svn_path_check_valid(ptr noundef %4, ptr noundef %7) #3
%37 = tail call i32 @SVN_ERR(i32 noundef %36) #3
%38 = call i32 @svn_io_check_special_path(ptr noundef %4, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %7) #3
%39 = call i32 @SVN_ERR(i32 noundef %38) #3
%40 = load i64, ptr %10, align 8, !tbaa !5
%41 = load i64, ptr @svn_node_none, align 8, !tbaa !5
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %48
43: ; preds = %35
%44 = load i64, ptr @SVN_ERR_WC_PATH_NOT_FOUND, align 8, !tbaa !5
%45 = call i32 @_(ptr noundef nonnull @.str.1) #3
%46 = call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%47 = call ptr @svn_error_createf(i64 noundef %44, ptr noundef null, i32 noundef %45, i32 noundef %46) #3
br label %114
48: ; preds = %35
%49 = load i64, ptr @svn_node_unknown, align 8, !tbaa !5
%50 = icmp eq i64 %40, %49
br i1 %50, label %51, label %56
51: ; preds = %48
%52 = load i64, ptr @SVN_ERR_UNSUPPORTED_FEATURE, align 8, !tbaa !5
%53 = call i32 @_(ptr noundef nonnull @.str.2) #3
%54 = call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%55 = call ptr @svn_error_createf(i64 noundef %52, ptr noundef null, i32 noundef %53, i32 noundef %54) #3
br label %114
56: ; preds = %48
%57 = icmp eq ptr %0, null
br i1 %57, label %59, label %58
58: ; preds = %56
store i64 %40, ptr %0, align 8, !tbaa !5
br label %59
59: ; preds = %58, %56
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
%60 = call ptr @svn_wc__db_read_info(ptr noundef nonnull %12, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %13, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3, ptr noundef %4, ptr noundef %7, ptr noundef %7) #3
%61 = icmp eq ptr %60, null
br i1 %61, label %71, label %62
62: ; preds = %59
%63 = load i64, ptr %60, align 8, !tbaa !9
%64 = load i64, ptr @SVN_ERR_WC_PATH_NOT_FOUND, align 8, !tbaa !5
%65 = icmp eq i64 %63, %64
br i1 %65, label %68, label %66
66: ; preds = %62
%67 = call ptr @svn_error_trace(ptr noundef nonnull %60) #3
br label %110
68: ; preds = %62
%69 = call i32 @svn_error_clear(ptr noundef nonnull %60) #3
%70 = load i64, ptr @FALSE, align 8, !tbaa !5
br label %102
71: ; preds = %59
%72 = load i64, ptr @FALSE, align 8, !tbaa !5
store i64 %72, ptr %9, align 8, !tbaa !5
%73 = load i64, ptr @TRUE, align 8, !tbaa !5
%74 = load i64, ptr %13, align 8, !tbaa !5
%75 = icmp eq i64 %74, 0
br i1 %75, label %81, label %76
76: ; preds = %71
%77 = load i64, ptr @SVN_ERR_WC_FOUND_CONFLICT, align 8, !tbaa !5
%78 = call i32 @_(ptr noundef nonnull @.str.3) #3
%79 = call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%80 = call ptr @svn_error_createf(i64 noundef %77, ptr noundef null, i32 noundef %78, i32 noundef %79) #3
br label %110
81: ; preds = %71
%82 = load i32, ptr %12, align 4, !tbaa !11
switch i32 %82, label %97 [
i32 128, label %102
i32 130, label %83
i32 129, label %87
]
83: ; preds = %81
%84 = icmp eq i64 %72, 0
%85 = zext i1 %84 to i32
%86 = call i32 @SVN_ERR_ASSERT(i32 noundef %85) #3
br label %102
87: ; preds = %81
%88 = call i32 @svn_wc__db_is_wcroot(ptr noundef nonnull %9, ptr noundef %3, ptr noundef %4, ptr noundef %7) #3
%89 = call i32 @SVN_ERR(i32 noundef %88) #3
%90 = load i64, ptr %9, align 8, !tbaa !5
%91 = icmp ne i64 %90, 0
%92 = and i1 %17, %91
br i1 %92, label %102, label %93
93: ; preds = %87
%94 = load i64, ptr %11, align 8
%95 = icmp ne i64 %94, 0
%96 = select i1 %91, i1 %95, i1 false
br i1 %96, label %102, label %97
97: ; preds = %93, %81
%98 = load i64, ptr @SVN_ERR_ENTRY_EXISTS, align 8, !tbaa !5
%99 = call i32 @_(ptr noundef nonnull @.str.4) #3
%100 = call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%101 = call ptr @svn_error_createf(i64 noundef %98, ptr noundef null, i32 noundef %99, i32 noundef %100) #3
br label %110
102: ; preds = %81, %83, %87, %93, %68
%103 = phi i64 [ %70, %68 ], [ %90, %87 ], [ %90, %93 ], [ %72, %83 ], [ %72, %81 ]
%104 = phi i64 [ %70, %68 ], [ %73, %87 ], [ %73, %93 ], [ %73, %83 ], [ %73, %81 ]
%105 = icmp eq ptr %1, null
br i1 %105, label %107, label %106
106: ; preds = %102
store i64 %104, ptr %1, align 8, !tbaa !5
br label %107
107: ; preds = %106, %102
%108 = icmp eq ptr %2, null
br i1 %108, label %112, label %109
109: ; preds = %107
store i64 %103, ptr %2, align 8, !tbaa !5
br label %112
110: ; preds = %66, %76, %97
%111 = phi ptr [ %101, %97 ], [ %80, %76 ], [ %67, %66 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
br label %114
112: ; preds = %109, %107
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
%113 = load ptr, ptr @SVN_NO_ERROR, align 8
br label %114
114: ; preds = %112, %110, %51, %43, %30
%115 = phi ptr [ %34, %30 ], [ %47, %43 ], [ %55, %51 ], [ %113, %112 ], [ %111, %110 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
ret ptr %115
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_dirent_basename(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR_ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @svn_dirent_is_absolute(ptr noundef) local_unnamed_addr #2
declare i64 @svn_uri_is_canonical(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @SVN_IS_VALID_REVNUM(i32 noundef) local_unnamed_addr #2
declare i64 @svn_wc_is_adm_dir(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_createf(i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_(ptr noundef) local_unnamed_addr #2
declare i32 @svn_dirent_local_style(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_path_check_valid(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_io_check_special_path(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_wc__db_read_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_trace(ptr noundef) local_unnamed_addr #2
declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_is_wcroot(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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_9__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_adm_ops.c_check_can_add_node.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_adm_ops.c_check_can_add_node.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_ERR_ENTRY_FORBIDDEN = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [68 x i8] c"Can't create an entry with a reserved name while trying to add '%s'\00", align 1
@svn_node_none = common local_unnamed_addr global i64 0, align 8
@SVN_ERR_WC_PATH_NOT_FOUND = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [15 x i8] c"'%s' not found\00", align 1
@svn_node_unknown = common local_unnamed_addr global i64 0, align 8
@SVN_ERR_UNSUPPORTED_FEATURE = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [36 x i8] c"Unsupported node kind for path '%s'\00", align 1
@FALSE = common local_unnamed_addr global i64 0, align 8
@TRUE = common local_unnamed_addr global i64 0, align 8
@SVN_ERR_WC_FOUND_CONFLICT = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [105 x i8] c"'%s' is an existing item in conflict; please mark the conflict as resolved before adding a new item here\00", align 1
@SVN_ERR_ENTRY_EXISTS = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [38 x i8] c"'%s' is already under version control\00", align 1
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @check_can_add_node], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @check_can_add_node(ptr noundef writeonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = tail call ptr @svn_dirent_basename(ptr noundef %4, ptr noundef %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
%15 = tail call i32 @svn_dirent_is_absolute(ptr noundef %4) #3
%16 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %15) #3
%17 = icmp ne ptr %5, null
br i1 %17, label %18, label %25
18: ; preds = %8
%19 = tail call i64 @svn_uri_is_canonical(ptr noundef nonnull %5, ptr noundef %7) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %18
%22 = tail call i64 @SVN_IS_VALID_REVNUM(i32 noundef %6) #3
%23 = icmp ne i64 %22, 0
%24 = zext i1 %23 to i32
br label %25
25: ; preds = %18, %21, %8
%26 = phi i32 [ 1, %8 ], [ 0, %18 ], [ %24, %21 ]
%27 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %26) #3
%28 = tail call i64 @svn_wc_is_adm_dir(ptr noundef %14, ptr noundef %7) #3
%29 = icmp eq i64 %28, 0
br i1 %29, label %35, label %30
30: ; preds = %25
%31 = load i64, ptr @SVN_ERR_ENTRY_FORBIDDEN, align 8, !tbaa !6
%32 = tail call i32 @_(ptr noundef nonnull @.str) #3
%33 = tail call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%34 = tail call ptr @svn_error_createf(i64 noundef %31, ptr noundef null, i32 noundef %32, i32 noundef %33) #3
br label %114
35: ; preds = %25
%36 = tail call i32 @svn_path_check_valid(ptr noundef %4, ptr noundef %7) #3
%37 = tail call i32 @SVN_ERR(i32 noundef %36) #3
%38 = call i32 @svn_io_check_special_path(ptr noundef %4, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %7) #3
%39 = call i32 @SVN_ERR(i32 noundef %38) #3
%40 = load i64, ptr %10, align 8, !tbaa !6
%41 = load i64, ptr @svn_node_none, align 8, !tbaa !6
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %48
43: ; preds = %35
%44 = load i64, ptr @SVN_ERR_WC_PATH_NOT_FOUND, align 8, !tbaa !6
%45 = call i32 @_(ptr noundef nonnull @.str.1) #3
%46 = call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%47 = call ptr @svn_error_createf(i64 noundef %44, ptr noundef null, i32 noundef %45, i32 noundef %46) #3
br label %114
48: ; preds = %35
%49 = load i64, ptr @svn_node_unknown, align 8, !tbaa !6
%50 = icmp eq i64 %40, %49
br i1 %50, label %51, label %56
51: ; preds = %48
%52 = load i64, ptr @SVN_ERR_UNSUPPORTED_FEATURE, align 8, !tbaa !6
%53 = call i32 @_(ptr noundef nonnull @.str.2) #3
%54 = call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%55 = call ptr @svn_error_createf(i64 noundef %52, ptr noundef null, i32 noundef %53, i32 noundef %54) #3
br label %114
56: ; preds = %48
%57 = icmp eq ptr %0, null
br i1 %57, label %59, label %58
58: ; preds = %56
store i64 %40, ptr %0, align 8, !tbaa !6
br label %59
59: ; preds = %58, %56
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
%60 = call ptr @svn_wc__db_read_info(ptr noundef nonnull %12, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %13, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3, ptr noundef %4, ptr noundef %7, ptr noundef %7) #3
%61 = icmp eq ptr %60, null
br i1 %61, label %71, label %62
62: ; preds = %59
%63 = load i64, ptr %60, align 8, !tbaa !10
%64 = load i64, ptr @SVN_ERR_WC_PATH_NOT_FOUND, align 8, !tbaa !6
%65 = icmp eq i64 %63, %64
br i1 %65, label %68, label %66
66: ; preds = %62
%67 = call ptr @svn_error_trace(ptr noundef nonnull %60) #3
br label %110
68: ; preds = %62
%69 = call i32 @svn_error_clear(ptr noundef nonnull %60) #3
%70 = load i64, ptr @FALSE, align 8, !tbaa !6
br label %102
71: ; preds = %59
%72 = load i64, ptr @FALSE, align 8, !tbaa !6
store i64 %72, ptr %9, align 8, !tbaa !6
%73 = load i64, ptr @TRUE, align 8, !tbaa !6
%74 = load i64, ptr %13, align 8, !tbaa !6
%75 = icmp eq i64 %74, 0
br i1 %75, label %81, label %76
76: ; preds = %71
%77 = load i64, ptr @SVN_ERR_WC_FOUND_CONFLICT, align 8, !tbaa !6
%78 = call i32 @_(ptr noundef nonnull @.str.3) #3
%79 = call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%80 = call ptr @svn_error_createf(i64 noundef %77, ptr noundef null, i32 noundef %78, i32 noundef %79) #3
br label %110
81: ; preds = %71
%82 = load i32, ptr %12, align 4, !tbaa !12
switch i32 %82, label %97 [
i32 128, label %102
i32 130, label %83
i32 129, label %87
]
83: ; preds = %81
%84 = icmp eq i64 %72, 0
%85 = zext i1 %84 to i32
%86 = call i32 @SVN_ERR_ASSERT(i32 noundef %85) #3
br label %102
87: ; preds = %81
%88 = call i32 @svn_wc__db_is_wcroot(ptr noundef nonnull %9, ptr noundef %3, ptr noundef %4, ptr noundef %7) #3
%89 = call i32 @SVN_ERR(i32 noundef %88) #3
%90 = load i64, ptr %9, align 8, !tbaa !6
%91 = icmp ne i64 %90, 0
%92 = and i1 %17, %91
br i1 %92, label %102, label %93
93: ; preds = %87
%94 = load i64, ptr %11, align 8
%95 = icmp ne i64 %94, 0
%96 = select i1 %91, i1 %95, i1 false
br i1 %96, label %102, label %97
97: ; preds = %93, %81
%98 = load i64, ptr @SVN_ERR_ENTRY_EXISTS, align 8, !tbaa !6
%99 = call i32 @_(ptr noundef nonnull @.str.4) #3
%100 = call i32 @svn_dirent_local_style(ptr noundef %4, ptr noundef %7) #3
%101 = call ptr @svn_error_createf(i64 noundef %98, ptr noundef null, i32 noundef %99, i32 noundef %100) #3
br label %110
102: ; preds = %81, %83, %87, %93, %68
%103 = phi i64 [ %70, %68 ], [ %90, %87 ], [ %90, %93 ], [ %72, %83 ], [ %72, %81 ]
%104 = phi i64 [ %70, %68 ], [ %73, %87 ], [ %73, %93 ], [ %73, %83 ], [ %73, %81 ]
%105 = icmp eq ptr %1, null
br i1 %105, label %107, label %106
106: ; preds = %102
store i64 %104, ptr %1, align 8, !tbaa !6
br label %107
107: ; preds = %106, %102
%108 = icmp eq ptr %2, null
br i1 %108, label %112, label %109
109: ; preds = %107
store i64 %103, ptr %2, align 8, !tbaa !6
br label %112
110: ; preds = %66, %76, %97
%111 = phi ptr [ %101, %97 ], [ %80, %76 ], [ %67, %66 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
br label %114
112: ; preds = %109, %107
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
%113 = load ptr, ptr @SVN_NO_ERROR, align 8
br label %114
114: ; preds = %112, %110, %51, %43, %30
%115 = phi ptr [ %34, %30 ], [ %47, %43 ], [ %55, %51 ], [ %113, %112 ], [ %111, %110 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
ret ptr %115
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_dirent_basename(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR_ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @svn_dirent_is_absolute(ptr noundef) local_unnamed_addr #2
declare i64 @svn_uri_is_canonical(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @SVN_IS_VALID_REVNUM(i32 noundef) local_unnamed_addr #2
declare i64 @svn_wc_is_adm_dir(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_createf(i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_(ptr noundef) local_unnamed_addr #2
declare i32 @svn_dirent_local_style(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_path_check_valid(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_io_check_special_path(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_wc__db_read_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_trace(ptr noundef) local_unnamed_addr #2
declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_is_wcroot(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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_9__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_wc_extr_adm_ops.c_check_can_add_node |
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson04/4/bl4ckout31/src/extr_kernel.c_kernel_main.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson04/4/bl4ckout31/src/extr_kernel.c_kernel_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"
@putc = dso_local local_unnamed_addr global i32 0, align 4
@process = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"12345\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"error while starting process 1\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"abcde\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"error while starting process 2\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @kernel_main() local_unnamed_addr #0 {
%1 = tail call i32 (...) @uart_init() #2
%2 = load i32, ptr @putc, align 4, !tbaa !5
%3 = tail call i32 @init_printf(i32 noundef 0, i32 noundef %2) #2
%4 = tail call i32 (...) @irq_vector_init() #2
%5 = tail call i32 (...) @timer_init() #2
%6 = tail call i32 (...) @enable_interrupt_controller() #2
%7 = tail call i32 (...) @enable_irq() #2
%8 = tail call i32 @copy_process(i64 noundef ptrtoint (ptr @process to i64), i64 noundef ptrtoint (ptr @.str to i64)) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %0
%11 = tail call i32 @copy_process(i64 noundef ptrtoint (ptr @process to i64), i64 noundef ptrtoint (ptr @.str.2 to i64)) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10, %13
%14 = tail call i32 (...) @schedule() #2
br label %13
15: ; preds = %10, %0
%16 = phi ptr [ @.str.1, %0 ], [ @.str.3, %10 ]
%17 = tail call i32 @printf(ptr noundef nonnull %16) #2
ret void
}
declare i32 @uart_init(...) local_unnamed_addr #1
declare i32 @init_printf(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @irq_vector_init(...) local_unnamed_addr #1
declare i32 @timer_init(...) local_unnamed_addr #1
declare i32 @enable_interrupt_controller(...) local_unnamed_addr #1
declare i32 @enable_irq(...) local_unnamed_addr #1
declare i32 @copy_process(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i32 @schedule(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson04/4/bl4ckout31/src/extr_kernel.c_kernel_main.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson04/4/bl4ckout31/src/extr_kernel.c_kernel_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@putc = common local_unnamed_addr global i32 0, align 4
@process = common global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"12345\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"error while starting process 1\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"abcde\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"error while starting process 2\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @kernel_main() local_unnamed_addr #0 {
%1 = tail call i32 @uart_init() #2
%2 = load i32, ptr @putc, align 4, !tbaa !6
%3 = tail call i32 @init_printf(i32 noundef 0, i32 noundef %2) #2
%4 = tail call i32 @irq_vector_init() #2
%5 = tail call i32 @timer_init() #2
%6 = tail call i32 @enable_interrupt_controller() #2
%7 = tail call i32 @enable_irq() #2
%8 = tail call i32 @copy_process(i64 noundef ptrtoint (ptr @process to i64), i64 noundef ptrtoint (ptr @.str to i64)) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %0
%11 = tail call i32 @copy_process(i64 noundef ptrtoint (ptr @process to i64), i64 noundef ptrtoint (ptr @.str.2 to i64)) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10, %13
%14 = tail call i32 @schedule() #2
br label %13
15: ; preds = %10, %0
%16 = phi ptr [ @.str.1, %0 ], [ @.str.3, %10 ]
%17 = tail call i32 @printf(ptr noundef nonnull %16) #2
ret void
}
declare i32 @uart_init(...) local_unnamed_addr #1
declare i32 @init_printf(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @irq_vector_init(...) local_unnamed_addr #1
declare i32 @timer_init(...) local_unnamed_addr #1
declare i32 @enable_interrupt_controller(...) local_unnamed_addr #1
declare i32 @enable_irq(...) local_unnamed_addr #1
declare i32 @copy_process(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i32 @schedule(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| raspberry-pi-os_exercises_lesson04_4_bl4ckout31_src_extr_kernel.c_kernel_main |
; ModuleID = 'AnghaBench/linux/drivers/tty/vt/extr_vt.c_is_double_width.c'
source_filename = "AnghaBench/linux/drivers/tty/vt/extr_vt.c_is_double_width.c"
target datalayout = "e-m:e-p270:32:32-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.interval = type { i32, i32, i64, i64 }
@is_double_width.double_width = internal constant [12 x %struct.interval] [%struct.interval { i32 4352, i32 4447, i64 0, i64 0 }, %struct.interval { i32 9001, i32 9002, i64 0, i64 0 }, %struct.interval { i32 11904, i32 12350, i64 0, i64 0 }, %struct.interval { i32 12352, i32 42191, i64 0, i64 0 }, %struct.interval { i32 44032, i32 55203, i64 0, i64 0 }, %struct.interval { i32 63744, i32 64255, i64 0, i64 0 }, %struct.interval { i32 65040, i32 65049, i64 0, i64 0 }, %struct.interval { i32 65072, i32 65135, i64 0, i64 0 }, %struct.interval { i32 65280, i32 65376, i64 0, i64 0 }, %struct.interval { i32 65504, i32 65510, i64 0, i64 0 }, %struct.interval { i32 131072, i32 196605, i64 0, i64 0 }, %struct.interval { i32 196608, i32 262141, i64 0, i64 0 }], align 16
@ucs_cmp = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_double_width], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @is_double_width(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8, !tbaa !5
%3 = icmp slt i64 %0, 0
br i1 %3, label %13, label %4
4: ; preds = %1
%5 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull @is_double_width.double_width) #2
%6 = icmp eq i64 %0, 0
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull @is_double_width.double_width) #2
%9 = load i32, ptr @ucs_cmp, align 4, !tbaa !9
%10 = call ptr @bsearch(ptr noundef nonnull %2, ptr noundef nonnull @is_double_width.double_width, i32 noundef %8, i32 noundef 24, i32 noundef %9) #2
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %1, %4, %7
%14 = phi i32 [ %12, %7 ], [ 0, %4 ], [ 0, %1 ]
ret i32 %14
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare ptr @bsearch(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/vt/extr_vt.c_is_double_width.c'
source_filename = "AnghaBench/linux/drivers/tty/vt/extr_vt.c_is_double_width.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.interval = type { i32, i32, i64, i64 }
@is_double_width.double_width = internal constant [12 x %struct.interval] [%struct.interval { i32 4352, i32 4447, i64 0, i64 0 }, %struct.interval { i32 9001, i32 9002, i64 0, i64 0 }, %struct.interval { i32 11904, i32 12350, i64 0, i64 0 }, %struct.interval { i32 12352, i32 42191, i64 0, i64 0 }, %struct.interval { i32 44032, i32 55203, i64 0, i64 0 }, %struct.interval { i32 63744, i32 64255, i64 0, i64 0 }, %struct.interval { i32 65040, i32 65049, i64 0, i64 0 }, %struct.interval { i32 65072, i32 65135, i64 0, i64 0 }, %struct.interval { i32 65280, i32 65376, i64 0, i64 0 }, %struct.interval { i32 65504, i32 65510, i64 0, i64 0 }, %struct.interval { i32 131072, i32 196605, i64 0, i64 0 }, %struct.interval { i32 196608, i32 262141, i64 0, i64 0 }], align 8
@ucs_cmp = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_double_width], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_double_width(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8, !tbaa !6
%3 = icmp slt i64 %0, 0
br i1 %3, label %13, label %4
4: ; preds = %1
%5 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull @is_double_width.double_width) #2
%6 = icmp eq i64 %0, 0
br i1 %6, label %7, label %13
7: ; preds = %4
%8 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull @is_double_width.double_width) #2
%9 = load i32, ptr @ucs_cmp, align 4, !tbaa !10
%10 = call ptr @bsearch(ptr noundef nonnull %2, ptr noundef nonnull @is_double_width.double_width, i32 noundef %8, i32 noundef 24, i32 noundef %9) #2
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %1, %4, %7
%14 = phi i32 [ %12, %7 ], [ 0, %4 ], [ 0, %1 ]
ret i32 %14
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare ptr @bsearch(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| linux_drivers_tty_vt_extr_vt.c_is_double_width |
; ModuleID = 'AnghaBench/citus/src/backend/distributed/deparser/extr_deparse_type_stmts.c_AppendDropTypeStmt.c'
source_filename = "AnghaBench/citus/src/backend/distributed/deparser/extr_deparse_type_stmts.c_AppendDropTypeStmt.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i64 }
@OBJECT_TYPE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [11 x i8] c"DROP TYPE \00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"IF EXISTS \00", align 1
@DROP_CASCADE = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c" CASCADE\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c";\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @AppendDropTypeStmt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @AppendDropTypeStmt(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr @OBJECT_TYPE, align 8, !tbaa !11
%5 = icmp eq i64 %3, %4
%6 = zext i1 %5 to i32
%7 = tail call i32 @Assert(i32 noundef %6) #2
%8 = tail call i32 @appendStringInfo(i32 noundef %0, ptr noundef nonnull @.str) #2
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 3
%10 = load i64, ptr %9, align 8, !tbaa !12
%11 = icmp eq i64 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = tail call i32 @appendStringInfoString(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %14
14: ; preds = %12, %2
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2
%16 = load i32, ptr %15, align 8, !tbaa !13
%17 = tail call i32 @AppendTypeNameList(i32 noundef %0, i32 noundef %16) #2
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%19 = load i64, ptr %18, align 8, !tbaa !14
%20 = load i64, ptr @DROP_CASCADE, align 8, !tbaa !11
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %14
%23 = tail call i32 @appendStringInfoString(i32 noundef %0, ptr noundef nonnull @.str.2) #2
br label %24
24: ; preds = %22, %14
%25 = tail call i32 @appendStringInfoString(i32 noundef %0, ptr noundef nonnull @.str.3) #2
ret void
}
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare i32 @appendStringInfo(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @appendStringInfoString(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AppendTypeNameList(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/citus/src/backend/distributed/deparser/extr_deparse_type_stmts.c_AppendDropTypeStmt.c'
source_filename = "AnghaBench/citus/src/backend/distributed/deparser/extr_deparse_type_stmts.c_AppendDropTypeStmt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OBJECT_TYPE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [11 x i8] c"DROP TYPE \00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"IF EXISTS \00", align 1
@DROP_CASCADE = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c" CASCADE\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c";\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @AppendDropTypeStmt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @AppendDropTypeStmt(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr @OBJECT_TYPE, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
%6 = zext i1 %5 to i32
%7 = tail call i32 @Assert(i32 noundef %6) #2
%8 = tail call i32 @appendStringInfo(i32 noundef %0, ptr noundef nonnull @.str) #2
%9 = getelementptr inbounds i8, ptr %1, i64 24
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = icmp eq i64 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %2
%13 = tail call i32 @appendStringInfoString(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %14
14: ; preds = %12, %2
%15 = getelementptr inbounds i8, ptr %1, i64 16
%16 = load i32, ptr %15, align 8, !tbaa !14
%17 = tail call i32 @AppendTypeNameList(i32 noundef %0, i32 noundef %16) #2
%18 = getelementptr inbounds i8, ptr %1, i64 8
%19 = load i64, ptr %18, align 8, !tbaa !15
%20 = load i64, ptr @DROP_CASCADE, align 8, !tbaa !12
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %14
%23 = tail call i32 @appendStringInfoString(i32 noundef %0, ptr noundef nonnull @.str.2) #2
br label %24
24: ; preds = %22, %14
%25 = tail call i32 @appendStringInfoString(i32 noundef %0, ptr noundef nonnull @.str.3) #2
ret void
}
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare i32 @appendStringInfo(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @appendStringInfoString(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AppendTypeNameList(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_3__", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 24}
!14 = !{!7, !11, i64 16}
!15 = !{!7, !8, i64 8}
| citus_src_backend_distributed_deparser_extr_deparse_type_stmts.c_AppendDropTypeStmt |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/uc/extr_intel_guc_submission.c___get_stage_desc.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/uc/extr_intel_guc_submission.c___get_stage_desc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.intel_guc_client = type { i64, ptr }
%struct.guc_stage_desc = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__get_stage_desc], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal ptr @__get_stage_desc(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.intel_guc_client, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i64, ptr %0, align 8, !tbaa !13
%6 = getelementptr inbounds %struct.guc_stage_desc, ptr %4, i64 %5
ret ptr %6
}
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, !10, i64 8}
!6 = !{!"intel_guc_client", !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_2__", !10, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/uc/extr_intel_guc_submission.c___get_stage_desc.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/uc/extr_intel_guc_submission.c___get_stage_desc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.guc_stage_desc = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @__get_stage_desc], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @__get_stage_desc(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i64, ptr %0, align 8, !tbaa !14
%6 = getelementptr inbounds %struct.guc_stage_desc, ptr %4, i64 %5
ret ptr %6
}
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, !11, i64 8}
!7 = !{!"intel_guc_client", !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_2__", !11, i64 0}
!14 = !{!7, !8, i64 0}
| linux_drivers_gpu_drm_i915_gt_uc_extr_intel_guc_submission.c___get_stage_desc |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_drv.h_nouveau_drm_use_coherent_gpu_mapping.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_drv.h_nouveau_drm_use_coherent_gpu_mapping.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nouveau_drm = type { %struct.TYPE_6__, %struct.TYPE_4__ }
%struct.TYPE_6__ = type { ptr }
%struct.TYPE_4__ = type { %struct.nvif_mmu }
%struct.nvif_mmu = type { ptr }
%struct.TYPE_5__ = type { i32 }
@NVIF_MEM_UNCACHED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nouveau_drm_use_coherent_gpu_mapping], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @nouveau_drm_use_coherent_gpu_mapping(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.nouveau_drm, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = load i64, ptr %4, align 8, !tbaa !14
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !16
%8 = load i32, ptr @NVIF_MEM_UNCACHED, align 4, !tbaa !19
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i32
ret i32 %11
}
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 = !{!"nvif_mmu", !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 = !{!"nouveau_drm", !12, i64 0, !13, i64 8}
!12 = !{!"TYPE_6__", !7, i64 0}
!13 = !{!"TYPE_4__", !6, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_5__", !18, i64 0}
!18 = !{!"int", !8, i64 0}
!19 = !{!18, !18, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_drv.h_nouveau_drm_use_coherent_gpu_mapping.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_drv.h_nouveau_drm_use_coherent_gpu_mapping.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i32 }
@NVIF_MEM_UNCACHED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nouveau_drm_use_coherent_gpu_mapping], 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 @nouveau_drm_use_coherent_gpu_mapping(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !11
%5 = load i64, ptr %4, align 8, !tbaa !15
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !17
%8 = load i32, ptr @NVIF_MEM_UNCACHED, align 4, !tbaa !20
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i32
ret i32 %11
}
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 = !{!"nvif_mmu", !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 = !{!"nouveau_drm", !13, i64 0, !14, i64 8}
!13 = !{!"TYPE_6__", !8, i64 0}
!14 = !{!"TYPE_4__", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"TYPE_5__", !19, i64 0}
!19 = !{!"int", !9, i64 0}
!20 = !{!19, !19, i64 0}
| linux_drivers_gpu_drm_nouveau_extr_nouveau_drv.h_nouveau_drm_use_coherent_gpu_mapping |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/dt3155/extr_dt3155.c_dt3155_g_std.c'
source_filename = "AnghaBench/linux/drivers/media/pci/dt3155/extr_dt3155.c_dt3155_g_std.c"
target datalayout = "e-m:e-p270:32:32-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 @dt3155_g_std], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @dt3155_g_std(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @video_drvdata(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
store i32 %5, ptr %2, align 4, !tbaa !10
ret i32 0
}
declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dt3155_priv", !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/media/pci/dt3155/extr_dt3155.c_dt3155_g_std.c'
source_filename = "AnghaBench/linux/drivers/media/pci/dt3155/extr_dt3155.c_dt3155_g_std.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 @dt3155_g_std], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @dt3155_g_std(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @video_drvdata(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
store i32 %5, ptr %2, align 4, !tbaa !11
ret i32 0
}
declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dt3155_priv", !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_media_pci_dt3155_extr_dt3155.c_dt3155_g_std |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/shlwapi/extr_path.c_strdupA.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/shlwapi/extr_path.c_strdupA.c"
target datalayout = "e-m:e-p270:32:32-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 @strdupA], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @strdupA(i32 noundef %0) #0 {
%2 = tail call i64 @strlen(i32 noundef %0) #2
%3 = add nsw i64 %2, 1
%4 = tail call i32 (...) @GetProcessHeap() #2
%5 = tail call i32 @HeapAlloc(i32 noundef %4, i32 noundef 0, i64 noundef %3) #2
%6 = tail call i32 @memcpy(i32 noundef %5, i32 noundef %0, i64 noundef %3) #2
ret i32 %5
}
declare i64 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @HeapAlloc(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @GetProcessHeap(...) 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)"}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/shlwapi/extr_path.c_strdupA.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/shlwapi/extr_path.c_strdupA.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 @strdupA], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @strdupA(i32 noundef %0) #0 {
%2 = tail call i64 @strlen(i32 noundef %0) #2
%3 = add nsw i64 %2, 1
%4 = tail call i32 @GetProcessHeap() #2
%5 = tail call i32 @HeapAlloc(i32 noundef %4, i32 noundef 0, i64 noundef %3) #2
%6 = tail call i32 @memcpy(i32 noundef %5, i32 noundef %0, i64 noundef %3) #2
ret i32 %5
}
declare i64 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @HeapAlloc(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @GetProcessHeap(...) 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)"}
| reactos_modules_rostests_winetests_shlwapi_extr_path.c_strdupA |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3ni1.c_l3ni1_t303.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3ni1.c_l3ni1_t303.c"
target datalayout = "e-m:e-p270:32:32-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.l3_process = type { i64, ptr, i32 }
@MT_RELEASE_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4
@CC_NOSETUP_RSP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @l3ni1_t303], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @l3ni1_t303(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = add nsw i64 %4, -1
store i64 %7, ptr %0, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 2
%9 = tail call i32 @L3DelTimer(ptr noundef nonnull %8) #2
%10 = tail call i32 @l3ni1_setup_req(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2) #2
br label %22
11: ; preds = %3
%12 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 2
%13 = tail call i32 @L3DelTimer(ptr noundef nonnull %12) #2
%14 = load i32, ptr @MT_RELEASE_COMPLETE, align 4, !tbaa !12
%15 = tail call i32 @l3ni1_message_cause(ptr noundef nonnull %0, i32 noundef %14, i32 noundef 102) #2
%16 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !13
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = load i32, ptr @CC_NOSETUP_RSP, align 4, !tbaa !12
%20 = tail call i32 %18(ptr noundef nonnull %17, i32 noundef %19, ptr noundef nonnull %0) #2
%21 = tail call i32 @ni1_release_l3_process(ptr noundef nonnull %0) #2
br label %22
22: ; preds = %11, %6
ret void
}
declare i32 @L3DelTimer(ptr noundef) local_unnamed_addr #1
declare i32 @l3ni1_setup_req(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @l3ni1_message_cause(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ni1_release_l3_process(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 = !{!"l3_process", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_3__", !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3ni1.c_l3ni1_t303.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3ni1.c_l3ni1_t303.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MT_RELEASE_COMPLETE = common local_unnamed_addr global i32 0, align 4
@CC_NOSETUP_RSP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @l3ni1_t303], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @l3ni1_t303(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp sgt i64 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = add nsw i64 %4, -1
store i64 %7, ptr %0, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = tail call i32 @L3DelTimer(ptr noundef nonnull %8) #2
%10 = tail call i32 @l3ni1_setup_req(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2) #2
br label %22
11: ; preds = %3
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = tail call i32 @L3DelTimer(ptr noundef nonnull %12) #2
%14 = load i32, ptr @MT_RELEASE_COMPLETE, align 4, !tbaa !13
%15 = tail call i32 @l3ni1_message_cause(ptr noundef nonnull %0, i32 noundef %14, i32 noundef 102) #2
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !14
%18 = load ptr, ptr %17, align 8, !tbaa !15
%19 = load i32, ptr @CC_NOSETUP_RSP, align 4, !tbaa !13
%20 = tail call i32 %18(ptr noundef nonnull %17, i32 noundef %19, ptr noundef nonnull %0) #2
%21 = tail call i32 @ni1_release_l3_process(ptr noundef nonnull %0) #2
br label %22
22: ; preds = %11, %6
ret void
}
declare i32 @L3DelTimer(ptr noundef) local_unnamed_addr #1
declare i32 @l3ni1_setup_req(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @l3ni1_message_cause(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ni1_release_l3_process(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 = !{!"l3_process", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"TYPE_3__", !11, i64 0}
| fastsocket_kernel_drivers_isdn_hisax_extr_l3ni1.c_l3ni1_t303 |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/rsi/extr_rsi_91x_core.c_rsi_recalculate_weights.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/rsi/extr_rsi_91x_core.c_rsi_recalculate_weights.c"
target datalayout = "e-m:e-p270:32:32-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.rsi_common = type { i64, ptr, ptr }
%struct.wmm_qinfo = type { i32, i64, i64 }
@NUM_EDCA_QUEUES = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @rsi_recalculate_weights], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rsi_recalculate_weights(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.rsi_common, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr @NUM_EDCA_QUEUES, align 8, !tbaa !11
%5 = icmp eq i64 %4, 0
br i1 %5, label %37, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.rsi_common, ptr %0, i64 0, i32 1
br label %8
8: ; preds = %6, %32
%9 = phi i64 [ 0, %6 ], [ %34, %32 ]
%10 = phi i32 [ 0, %6 ], [ %33, %32 ]
%11 = load ptr, ptr %7, align 8, !tbaa !12
%12 = getelementptr inbounds i32, ptr %11, i64 %9
%13 = tail call i64 @skb_queue_len(ptr noundef %12) #2
%14 = icmp eq i64 %13, 0
%15 = getelementptr inbounds %struct.wmm_qinfo, ptr %3, i64 %9
br i1 %14, label %30, label %16
16: ; preds = %8
%17 = load i32, ptr %15, align 8, !tbaa !13
%18 = icmp eq i32 %17, 0
br i1 %18, label %26, label %19
19: ; preds = %16
%20 = getelementptr inbounds %struct.wmm_qinfo, ptr %3, i64 %9, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !16
%22 = load i64, ptr %0, align 8, !tbaa !17
%23 = icmp sgt i64 %21, %22
%24 = sub nsw i64 %21, %22
%25 = select i1 %23, i64 %24, i64 0
store i64 %25, ptr %20, align 8, !tbaa !16
br label %32
26: ; preds = %16
store i32 1, ptr %15, align 8, !tbaa !13
%27 = getelementptr inbounds %struct.wmm_qinfo, ptr %3, i64 %9, i32 2
%28 = load i64, ptr %27, align 8, !tbaa !18
%29 = getelementptr inbounds %struct.wmm_qinfo, ptr %3, i64 %9, i32 1
store i64 %28, ptr %29, align 8, !tbaa !16
br label %32
30: ; preds = %8
%31 = getelementptr inbounds %struct.wmm_qinfo, ptr %3, i64 %9, i32 1
store i64 0, ptr %31, align 8, !tbaa !16
store i32 0, ptr %15, align 8, !tbaa !13
br label %32
32: ; preds = %30, %26, %19
%33 = phi i32 [ %10, %19 ], [ 1, %26 ], [ %10, %30 ]
%34 = add nuw i64 %9, 1
%35 = load i64, ptr @NUM_EDCA_QUEUES, align 8, !tbaa !11
%36 = icmp ult i64 %34, %35
br i1 %36, label %8, label %37, !llvm.loop !19
37: ; preds = %32, %1
%38 = phi i32 [ 0, %1 ], [ %33, %32 ]
ret i32 %38
}
declare i64 @skb_queue_len(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"rsi_common", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"wmm_qinfo", !15, i64 0, !7, i64 8, !7, i64 16}
!15 = !{!"int", !8, i64 0}
!16 = !{!14, !7, i64 8}
!17 = !{!6, !7, i64 0}
!18 = !{!14, !7, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/rsi/extr_rsi_91x_core.c_rsi_recalculate_weights.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/rsi/extr_rsi_91x_core.c_rsi_recalculate_weights.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.wmm_qinfo = type { i32, i64, i64 }
@NUM_EDCA_QUEUES = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @rsi_recalculate_weights], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @rsi_recalculate_weights(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr @NUM_EDCA_QUEUES, align 8, !tbaa !12
%5 = icmp eq i64 %4, 0
br i1 %5, label %37, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
br label %8
8: ; preds = %6, %32
%9 = phi i64 [ 0, %6 ], [ %34, %32 ]
%10 = phi i32 [ 0, %6 ], [ %33, %32 ]
%11 = load ptr, ptr %7, align 8, !tbaa !13
%12 = getelementptr inbounds i32, ptr %11, i64 %9
%13 = tail call i64 @skb_queue_len(ptr noundef %12) #2
%14 = icmp eq i64 %13, 0
%15 = getelementptr inbounds %struct.wmm_qinfo, ptr %3, i64 %9
br i1 %14, label %30, label %16
16: ; preds = %8
%17 = load i32, ptr %15, align 8, !tbaa !14
%18 = icmp eq i32 %17, 0
br i1 %18, label %26, label %19
19: ; preds = %16
%20 = getelementptr inbounds i8, ptr %15, i64 8
%21 = load i64, ptr %20, align 8, !tbaa !17
%22 = load i64, ptr %0, align 8, !tbaa !18
%23 = icmp sgt i64 %21, %22
%24 = sub nsw i64 %21, %22
%25 = select i1 %23, i64 %24, i64 0
store i64 %25, ptr %20, align 8, !tbaa !17
br label %32
26: ; preds = %16
store i32 1, ptr %15, align 8, !tbaa !14
%27 = getelementptr inbounds i8, ptr %15, i64 16
%28 = load i64, ptr %27, align 8, !tbaa !19
%29 = getelementptr inbounds i8, ptr %15, i64 8
store i64 %28, ptr %29, align 8, !tbaa !17
br label %32
30: ; preds = %8
%31 = getelementptr inbounds i8, ptr %15, i64 8
store i64 0, ptr %31, align 8, !tbaa !17
store i32 0, ptr %15, align 8, !tbaa !14
br label %32
32: ; preds = %30, %26, %19
%33 = phi i32 [ %10, %19 ], [ 1, %26 ], [ %10, %30 ]
%34 = add nuw i64 %9, 1
%35 = load i64, ptr @NUM_EDCA_QUEUES, align 8, !tbaa !12
%36 = icmp ult i64 %34, %35
br i1 %36, label %8, label %37, !llvm.loop !20
37: ; preds = %32, %1
%38 = phi i32 [ 0, %1 ], [ %33, %32 ]
ret i32 %38
}
declare i64 @skb_queue_len(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"rsi_common", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"wmm_qinfo", !16, i64 0, !8, i64 8, !8, i64 16}
!16 = !{!"int", !9, i64 0}
!17 = !{!15, !8, i64 8}
!18 = !{!7, !8, i64 0}
!19 = !{!15, !8, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_wireless_rsi_extr_rsi_91x_core.c_rsi_recalculate_weights |
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_fsldma.c_set_desc_dst.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_fsldma.c_set_desc_dst.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FSL_DMA_IP_MASK = dso_local local_unnamed_addr global i32 0, align 4
@FSL_DMA_IP_85XX = dso_local local_unnamed_addr global i32 0, align 4
@FSL_DMA_DATR_DWRITETYPE_SNOOP_WRITE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_desc_dst], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @set_desc_dst(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = tail call i32 @CPU_TO_DMA(ptr noundef %0, i32 noundef %2, i32 noundef 64) #2
store i32 %4, ptr %1, align 4, !tbaa !5
ret void
}
declare i32 @CPU_TO_DMA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fsl_dma_ld_hw", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/dma/extr_fsldma.c_set_desc_dst.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_fsldma.c_set_desc_dst.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FSL_DMA_IP_MASK = common local_unnamed_addr global i32 0, align 4
@FSL_DMA_IP_85XX = common local_unnamed_addr global i32 0, align 4
@FSL_DMA_DATR_DWRITETYPE_SNOOP_WRITE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @set_desc_dst], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @set_desc_dst(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = tail call i32 @CPU_TO_DMA(ptr noundef %0, i32 noundef %2, i32 noundef 64) #2
store i32 %4, ptr %1, align 4, !tbaa !6
ret void
}
declare i32 @CPU_TO_DMA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"fsl_dma_ld_hw", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_dma_extr_fsldma.c_set_desc_dst |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/extr_comedi_fops.c_comedi_device_cleanup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/extr_comedi_fops.c_comedi_device_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @comedi_device_cleanup(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %8, label %3
3: ; preds = %1
%4 = tail call i32 @mutex_lock(ptr noundef nonnull %0) #2
%5 = tail call i32 @comedi_device_detach(ptr noundef nonnull %0) #2
%6 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2
%7 = tail call i32 @mutex_destroy(ptr noundef nonnull %0) #2
br label %8
8: ; preds = %1, %3
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @comedi_device_detach(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/extr_comedi_fops.c_comedi_device_cleanup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/extr_comedi_fops.c_comedi_device_cleanup.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 @comedi_device_cleanup(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %8, label %3
3: ; preds = %1
%4 = tail call i32 @mutex_lock(ptr noundef nonnull %0) #2
%5 = tail call i32 @comedi_device_detach(ptr noundef nonnull %0) #2
%6 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2
%7 = tail call i32 @mutex_destroy(ptr noundef nonnull %0) #2
br label %8
8: ; preds = %1, %3
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @comedi_device_detach(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_staging_comedi_extr_comedi_fops.c_comedi_device_cleanup |
; ModuleID = 'AnghaBench/linux/tools/perf/ui/extr_..utilevlist.h_perf_evlist__add_default.c'
source_filename = "AnghaBench/linux/tools/perf/ui/extr_..utilevlist.h_perf_evlist__add_default.c"
target datalayout = "e-m:e-p270:32:32-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 @perf_evlist__add_default], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @perf_evlist__add_default(ptr noundef %0) #0 {
%2 = tail call i32 @__perf_evlist__add_default(ptr noundef %0, i32 noundef 1) #2
ret i32 %2
}
declare i32 @__perf_evlist__add_default(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/tools/perf/ui/extr_..utilevlist.h_perf_evlist__add_default.c'
source_filename = "AnghaBench/linux/tools/perf/ui/extr_..utilevlist.h_perf_evlist__add_default.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 @perf_evlist__add_default], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @perf_evlist__add_default(ptr noundef %0) #0 {
%2 = tail call i32 @__perf_evlist__add_default(ptr noundef %0, i32 noundef 1) #2
ret i32 %2
}
declare i32 @__perf_evlist__add_default(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_tools_perf_ui_extr_..utilevlist.h_perf_evlist__add_default |
; ModuleID = 'AnghaBench/linux/virt/kvm/extr_eventfd.c_kvm_ioeventfd.c'
source_filename = "AnghaBench/linux/virt/kvm/extr_eventfd.c_kvm_ioeventfd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KVM_IOEVENTFD_FLAG_DEASSIGN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @kvm_ioeventfd(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = load i32, ptr @KVM_IOEVENTFD_FLAG_DEASSIGN, align 4, !tbaa !10
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = tail call i32 @kvm_deassign_ioeventfd(ptr noundef %0, ptr noundef nonnull %1) #2
br label %11
9: ; preds = %2
%10 = tail call i32 @kvm_assign_ioeventfd(ptr noundef %0, ptr noundef nonnull %1) #2
br label %11
11: ; preds = %9, %7
%12 = phi i32 [ %8, %7 ], [ %10, %9 ]
ret i32 %12
}
declare i32 @kvm_deassign_ioeventfd(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kvm_assign_ioeventfd(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"kvm_ioeventfd", !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/virt/kvm/extr_eventfd.c_kvm_ioeventfd.c'
source_filename = "AnghaBench/linux/virt/kvm/extr_eventfd.c_kvm_ioeventfd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KVM_IOEVENTFD_FLAG_DEASSIGN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @kvm_ioeventfd(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = load i32, ptr @KVM_IOEVENTFD_FLAG_DEASSIGN, align 4, !tbaa !11
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = tail call i32 @kvm_deassign_ioeventfd(ptr noundef %0, ptr noundef nonnull %1) #2
br label %11
9: ; preds = %2
%10 = tail call i32 @kvm_assign_ioeventfd(ptr noundef %0, ptr noundef nonnull %1) #2
br label %11
11: ; preds = %9, %7
%12 = phi i32 [ %8, %7 ], [ %10, %9 ]
ret i32 %12
}
declare i32 @kvm_deassign_ioeventfd(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kvm_assign_ioeventfd(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"kvm_ioeventfd", !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_virt_kvm_extr_eventfd.c_kvm_ioeventfd |
; ModuleID = 'AnghaBench/goaccess/src/extr_gholder.c_set_data_hits_keys.c'
source_filename = "AnghaBench/goaccess/src/extr_gholder.c_set_data_hits_keys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@INTEGER = dso_local local_unnamed_addr global i64 0, align 8
@STRING = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_data_hits_keys], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @set_data_hits_keys(i32 noundef %0, i64 %1, i32 %2, i64 noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5) #0 {
%7 = trunc i64 %1 to i32
%8 = lshr i64 %1, 32
%9 = trunc i64 %8 to i32
%10 = load i64, ptr @INTEGER, align 8, !tbaa !5
%11 = icmp eq i64 %10, %3
br i1 %11, label %12, label %16
12: ; preds = %6
%13 = tail call ptr @ht_get_datamap(i32 noundef %0, i32 noundef %2) #2
store ptr %13, ptr %4, align 8, !tbaa !9
%14 = icmp eq ptr %13, null
br i1 %14, label %24, label %15
15: ; preds = %12
store i32 %7, ptr %5, align 4, !tbaa !11
br label %24
16: ; preds = %6
%17 = load i64, ptr @STRING, align 8, !tbaa !5
%18 = icmp eq i64 %17, %3
br i1 %18, label %19, label %24
19: ; preds = %16
%20 = tail call i32 @ht_get_hits(i32 noundef %0, i32 noundef %2) #2
store i32 %20, ptr %5, align 4, !tbaa !11
%21 = icmp eq i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %19
%23 = tail call ptr @xstrdup(i32 noundef %9) #2
store ptr %23, ptr %4, align 8, !tbaa !9
br label %24
24: ; preds = %15, %22, %16, %19, %12
%25 = phi i32 [ 1, %12 ], [ 1, %19 ], [ 0, %16 ], [ 0, %22 ], [ 0, %15 ]
ret i32 %25
}
declare ptr @ht_get_datamap(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ht_get_hits(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xstrdup(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_gholder.c_set_data_hits_keys.c'
source_filename = "AnghaBench/goaccess/src/extr_gholder.c_set_data_hits_keys.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTEGER = common local_unnamed_addr global i64 0, align 8
@STRING = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @set_data_hits_keys], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @set_data_hits_keys(i32 noundef %0, [2 x i64] %1, i64 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) #0 {
%6 = extractvalue [2 x i64] %1, 0
%7 = extractvalue [2 x i64] %1, 1
%8 = trunc i64 %6 to i32
%9 = lshr i64 %6, 32
%10 = trunc nuw i64 %9 to i32
%11 = trunc i64 %7 to i32
%12 = load i64, ptr @INTEGER, align 8, !tbaa !6
%13 = icmp eq i64 %12, %2
br i1 %13, label %14, label %18
14: ; preds = %5
%15 = tail call ptr @ht_get_datamap(i32 noundef %0, i32 noundef %11) #2
store ptr %15, ptr %3, align 8, !tbaa !10
%16 = icmp eq ptr %15, null
br i1 %16, label %26, label %17
17: ; preds = %14
store i32 %8, ptr %4, align 4, !tbaa !12
br label %26
18: ; preds = %5
%19 = load i64, ptr @STRING, align 8, !tbaa !6
%20 = icmp eq i64 %19, %2
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = tail call i32 @ht_get_hits(i32 noundef %0, i32 noundef %11) #2
store i32 %22, ptr %4, align 4, !tbaa !12
%23 = icmp eq i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = tail call ptr @xstrdup(i32 noundef %10) #2
store ptr %25, ptr %3, align 8, !tbaa !10
br label %26
26: ; preds = %17, %24, %18, %21, %14
%27 = phi i32 [ 1, %14 ], [ 1, %21 ], [ 0, %18 ], [ 0, %24 ], [ 0, %17 ]
ret i32 %27
}
declare ptr @ht_get_datamap(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ht_get_hits(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xstrdup(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| goaccess_src_extr_gholder.c_set_data_hits_keys |
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_avsscanf.c_ffshlim.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_avsscanf.c_ffshlim.c"
target datalayout = "e-m:e-p270:32:32-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, i64, i64, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ffshlim], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @ffshlim(ptr nocapture noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
store i64 %1, ptr %3, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%7 = load i64, ptr %6, align 8, !tbaa !11
%8 = sub nsw i64 %5, %7
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
store i64 %8, ptr %9, align 8, !tbaa !12
%10 = icmp ne i64 %1, 0
%11 = load i64, ptr %0, align 8, !tbaa !13
%12 = sub nsw i64 %11, %7
%13 = icmp sgt i64 %12, %1
%14 = select i1 %10, i1 %13, i1 false
%15 = add nsw i64 %7, %1
%16 = select i1 %14, i64 %15, i64 %11
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store i64 %16, ptr %17, align 8, !tbaa !14
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 40}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 24}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !7, i64 32}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_avsscanf.c_ffshlim.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_avsscanf.c_ffshlim.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 @ffshlim], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @ffshlim(ptr nocapture noundef %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 40
store i64 %1, ptr %3, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = sub nsw i64 %5, %7
%9 = getelementptr inbounds i8, ptr %0, i64 32
store i64 %8, ptr %9, align 8, !tbaa !13
%10 = icmp ne i64 %1, 0
%11 = load i64, ptr %0, align 8, !tbaa !14
%12 = sub nsw i64 %11, %7
%13 = icmp sgt i64 %12, %1
%14 = select i1 %10, i1 %13, i1 false
%15 = add nsw i64 %7, %1
%16 = select i1 %14, i64 %15, i64 %11
%17 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %16, ptr %17, align 8, !tbaa !15
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 40}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 24}
!12 = !{!7, !8, i64 16}
!13 = !{!7, !8, i64 32}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !8, i64 8}
| FFmpeg_libavutil_extr_avsscanf.c_ffshlim |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_vsc7326.c_bist_rd.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_vsc7326.c_bist_rd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"No bist address: 0x%x\0A\00", align 1
@REG_RAM_BIST_CMD = dso_local local_unnamed_addr global i32 0, align 4
@REG_RAM_BIST_RESULT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Still in bist read: 0x%x\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"bist read error: 0x%x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bist_rd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bist_rd(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !5
switch i32 %2, label %5 [
i32 14, label %7
i32 13, label %7
i32 2, label %7
i32 1, label %7
i32 0, label %7
]
5: ; preds = %3
%6 = tail call i32 @CH_ERR(ptr noundef nonnull @.str, i32 noundef %2) #3
br label %7
7: ; preds = %3, %3, %3, %3, %3, %5
%8 = shl i32 %2, 16
%9 = and i32 %8, 16711680
%10 = and i32 %1, 255
%11 = or disjoint i32 %9, %10
%12 = load i32, ptr @REG_RAM_BIST_CMD, align 4, !tbaa !5
%13 = tail call i32 @vsc_write(ptr noundef %0, i32 noundef %12, i32 noundef %11) #3
%14 = tail call i32 @udelay(i32 noundef 10) #3
%15 = load i32, ptr @REG_RAM_BIST_RESULT, align 4, !tbaa !5
%16 = call i32 @vsc_read(ptr noundef %0, i32 noundef %15, ptr noundef nonnull %4) #3
%17 = load i32, ptr %4, align 4, !tbaa !5
%18 = and i32 %17, 512
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %7
%21 = and i32 %17, 256
%22 = icmp eq i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %20, %7
%24 = phi ptr [ @.str.1, %7 ], [ @.str.2, %20 ]
%25 = call i32 @CH_ERR(ptr noundef nonnull %24, i32 noundef %17) #3
br label %26
26: ; preds = %23, %20
%27 = load i32, ptr %4, align 4, !tbaa !5
%28 = and i32 %27, 255
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @CH_ERR(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vsc_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
declare i32 @vsc_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_vsc7326.c_bist_rd.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/chelsio/extr_vsc7326.c_bist_rd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [23 x i8] c"No bist address: 0x%x\0A\00", align 1
@REG_RAM_BIST_CMD = common local_unnamed_addr global i32 0, align 4
@REG_RAM_BIST_RESULT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"Still in bist read: 0x%x\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"bist read error: 0x%x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bist_rd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 256) i32 @bist_rd(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !6
switch i32 %2, label %5 [
i32 14, label %7
i32 13, label %7
i32 2, label %7
i32 1, label %7
i32 0, label %7
]
5: ; preds = %3
%6 = tail call i32 @CH_ERR(ptr noundef nonnull @.str, i32 noundef %2) #3
br label %7
7: ; preds = %3, %3, %3, %3, %3, %5
%8 = shl i32 %2, 16
%9 = and i32 %8, 16711680
%10 = and i32 %1, 255
%11 = or disjoint i32 %9, %10
%12 = load i32, ptr @REG_RAM_BIST_CMD, align 4, !tbaa !6
%13 = tail call i32 @vsc_write(ptr noundef %0, i32 noundef %12, i32 noundef %11) #3
%14 = tail call i32 @udelay(i32 noundef 10) #3
%15 = load i32, ptr @REG_RAM_BIST_RESULT, align 4, !tbaa !6
%16 = call i32 @vsc_read(ptr noundef %0, i32 noundef %15, ptr noundef nonnull %4) #3
%17 = load i32, ptr %4, align 4, !tbaa !6
%18 = and i32 %17, 512
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %7
%21 = and i32 %17, 256
%22 = icmp eq i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %20, %7
%24 = phi ptr [ @.str.1, %7 ], [ @.str.2, %20 ]
%25 = call i32 @CH_ERR(ptr noundef nonnull %24, i32 noundef %17) #3
br label %26
26: ; preds = %23, %20
%27 = load i32, ptr %4, align 4, !tbaa !6
%28 = and i32 %27, 255
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @CH_ERR(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vsc_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
declare i32 @vsc_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_chelsio_extr_vsc7326.c_bist_rd |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TEX_CONST_0_SWIZ_X.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TEX_CONST_0_SWIZ_X.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A3XX_TEX_CONST_0_SWIZ_X__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A3XX_TEX_CONST_0_SWIZ_X__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A3XX_TEX_CONST_0_SWIZ_X], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A3XX_TEX_CONST_0_SWIZ_X(i32 noundef %0) #0 {
%2 = load i32, ptr @A3XX_TEX_CONST_0_SWIZ_X__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @A3XX_TEX_CONST_0_SWIZ_X__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TEX_CONST_0_SWIZ_X.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_TEX_CONST_0_SWIZ_X.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A3XX_TEX_CONST_0_SWIZ_X__SHIFT = common local_unnamed_addr global i32 0, align 4
@A3XX_TEX_CONST_0_SWIZ_X__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A3XX_TEX_CONST_0_SWIZ_X], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A3XX_TEX_CONST_0_SWIZ_X(i32 noundef %0) #0 {
%2 = load i32, ptr @A3XX_TEX_CONST_0_SWIZ_X__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @A3XX_TEX_CONST_0_SWIZ_X__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_adreno_extr_a3xx.xml.h_A3XX_TEX_CONST_0_SWIZ_X |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/extr_comedi_fops.c_comedi_mmap.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/extr_comedi_fops.c_comedi_mmap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr }
%struct.comedi_device = type { i32, i32, i32 }
%struct.vm_area_struct = type { i64, i32, i64, i64, ptr, ptr }
%struct.comedi_buf_map = type { i32, i64, ptr, i32 }
%struct.comedi_buf_page = type { i32, i32 }
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"no driver attached\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@VM_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"mmap() offset must be 0.\0A\00", align 1
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@DMA_NONE = dso_local local_unnamed_addr global i64 0, align 8
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@comedi_vm_ops = dso_local global %struct.TYPE_2__ zeroinitializer, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @comedi_mmap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @comedi_mmap(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i64, ptr %1, align 8, !tbaa !12
%6 = tail call i32 @down_read_trylock(ptr noundef %4) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @EAGAIN, align 4, !tbaa !16
%10 = sub nsw i32 0, %9
br label %129
11: ; preds = %2
%12 = getelementptr inbounds %struct.comedi_device, ptr %4, i64 0, i32 2
%13 = load i32, ptr %12, align 4, !tbaa !17
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = getelementptr inbounds %struct.comedi_device, ptr %4, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !19
%18 = tail call i32 @dev_dbg(i32 noundef %17, ptr noundef nonnull @.str) #2
%19 = load i32, ptr @ENODEV, align 4, !tbaa !16
%20 = sub nsw i32 0, %19
br label %124
21: ; preds = %11
%22 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 1
%23 = load i32, ptr %22, align 8, !tbaa !20
%24 = load i32, ptr @VM_WRITE, align 4, !tbaa !16
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %21
%28 = tail call ptr @comedi_file_write_subdevice(ptr noundef nonnull %0) #2
br label %31
29: ; preds = %21
%30 = tail call ptr @comedi_file_read_subdevice(ptr noundef nonnull %0) #2
br label %31
31: ; preds = %29, %27
%32 = phi ptr [ %28, %27 ], [ %30, %29 ]
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load i32, ptr @EINVAL, align 4, !tbaa !16
%36 = sub nsw i32 0, %35
br label %124
37: ; preds = %31
%38 = load ptr, ptr %32, align 8, !tbaa !21
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load i32, ptr @EINVAL, align 4, !tbaa !16
%42 = sub nsw i32 0, %41
br label %124
43: ; preds = %37
%44 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 2
%45 = load i64, ptr %44, align 8, !tbaa !23
%46 = icmp eq i64 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %43
%48 = getelementptr inbounds %struct.comedi_device, ptr %4, i64 0, i32 1
%49 = load i32, ptr %48, align 4, !tbaa !19
%50 = tail call i32 @dev_dbg(i32 noundef %49, ptr noundef nonnull @.str.1) #2
%51 = load i32, ptr @EINVAL, align 4, !tbaa !16
%52 = sub nsw i32 0, %51
br label %124
53: ; preds = %43
%54 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 3
%55 = load i64, ptr %54, align 8, !tbaa !24
%56 = load i64, ptr %1, align 8, !tbaa !12
%57 = sub i64 %55, %56
%58 = load i64, ptr %38, align 8, !tbaa !25
%59 = icmp ugt i64 %57, %58
br i1 %59, label %60, label %63
60: ; preds = %53
%61 = load i32, ptr @EFAULT, align 4, !tbaa !16
%62 = sub nsw i32 0, %61
br label %124
63: ; preds = %53
%64 = tail call i64 @offset_in_page(i64 noundef %57) #2
%65 = icmp eq i64 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %63
%67 = load i32, ptr @EFAULT, align 4, !tbaa !16
%68 = sub nsw i32 0, %67
br label %124
69: ; preds = %63
%70 = tail call i32 @vma_pages(ptr noundef nonnull %1) #2
%71 = tail call ptr @comedi_buf_map_from_subdev_get(ptr noundef nonnull %32) #2
%72 = icmp eq ptr %71, null
br i1 %72, label %76, label %73
73: ; preds = %69
%74 = load i32, ptr %71, align 8, !tbaa !27
%75 = icmp sgt i32 %70, %74
br i1 %75, label %76, label %79
76: ; preds = %73, %69
%77 = load i32, ptr @EINVAL, align 4, !tbaa !16
%78 = sub nsw i32 0, %77
br label %124
79: ; preds = %73
%80 = getelementptr inbounds %struct.comedi_buf_map, ptr %71, i64 0, i32 1
%81 = load i64, ptr %80, align 8, !tbaa !29
%82 = load i64, ptr @DMA_NONE, align 8, !tbaa !30
%83 = icmp eq i64 %81, %82
br i1 %83, label %84, label %107
84: ; preds = %79
%85 = icmp sgt i32 %70, 0
br i1 %85, label %86, label %119
86: ; preds = %84
%87 = getelementptr inbounds %struct.comedi_buf_map, ptr %71, i64 0, i32 2
%88 = zext nneg i32 %70 to i64
br label %89
89: ; preds = %86, %101
%90 = phi i64 [ 0, %86 ], [ %105, %101 ]
%91 = phi i64 [ %5, %86 ], [ %104, %101 ]
%92 = load ptr, ptr %87, align 8, !tbaa !31
%93 = getelementptr inbounds %struct.comedi_buf_page, ptr %92, i64 %90
%94 = load i32, ptr %93, align 4, !tbaa !32
%95 = tail call i32 @virt_to_page(i32 noundef %94) #2
%96 = tail call i64 @page_to_pfn(i32 noundef %95) #2
%97 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !16
%98 = load i32, ptr @PAGE_SHARED, align 4, !tbaa !16
%99 = tail call i32 @remap_pfn_range(ptr noundef nonnull %1, i64 noundef %91, i64 noundef %96, i32 noundef %97, i32 noundef %98) #2
%100 = icmp eq i32 %99, 0
br i1 %100, label %101, label %124
101: ; preds = %89
%102 = load i32, ptr @PAGE_SIZE, align 4
%103 = sext i32 %102 to i64
%104 = add i64 %91, %103
%105 = add nuw nsw i64 %90, 1
%106 = icmp eq i64 %105, %88
br i1 %106, label %119, label %89, !llvm.loop !34
107: ; preds = %79
%108 = getelementptr inbounds %struct.comedi_buf_map, ptr %71, i64 0, i32 2
%109 = load ptr, ptr %108, align 8, !tbaa !31
%110 = getelementptr inbounds %struct.comedi_buf_map, ptr %71, i64 0, i32 3
%111 = load i32, ptr %110, align 8, !tbaa !36
%112 = load i32, ptr %109, align 4, !tbaa !32
%113 = getelementptr inbounds %struct.comedi_buf_page, ptr %109, i64 0, i32 1
%114 = load i32, ptr %113, align 4, !tbaa !37
%115 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !16
%116 = mul nsw i32 %115, %70
%117 = tail call i32 @dma_mmap_coherent(i32 noundef %111, ptr noundef nonnull %1, i32 noundef %112, i32 noundef %114, i32 noundef %116) #2
%118 = icmp eq i32 %117, 0
br i1 %118, label %119, label %124
119: ; preds = %101, %84, %107
%120 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 4
store ptr @comedi_vm_ops, ptr %120, align 8, !tbaa !38
%121 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 5
store ptr %71, ptr %121, align 8, !tbaa !39
%122 = load ptr, ptr @comedi_vm_ops, align 8, !tbaa !40
%123 = tail call i32 %122(ptr noundef nonnull %1) #2
br label %124
124: ; preds = %89, %107, %119, %76, %66, %60, %47, %40, %34, %15
%125 = phi ptr [ null, %47 ], [ null, %60 ], [ null, %66 ], [ %71, %76 ], [ %71, %119 ], [ %71, %107 ], [ null, %40 ], [ null, %34 ], [ null, %15 ], [ %71, %89 ]
%126 = phi i32 [ %52, %47 ], [ %62, %60 ], [ %68, %66 ], [ %78, %76 ], [ 0, %119 ], [ %117, %107 ], [ %42, %40 ], [ %36, %34 ], [ %20, %15 ], [ %99, %89 ]
%127 = tail call i32 @up_read(ptr noundef %4) #2
%128 = tail call i32 @comedi_buf_map_put(ptr noundef %125) #2
br label %129
129: ; preds = %124, %8
%130 = phi i32 [ %126, %124 ], [ %10, %8 ]
ret i32 %130
}
declare i32 @down_read_trylock(ptr noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @comedi_file_write_subdevice(ptr noundef) local_unnamed_addr #1
declare ptr @comedi_file_read_subdevice(ptr noundef) local_unnamed_addr #1
declare i64 @offset_in_page(i64 noundef) local_unnamed_addr #1
declare i32 @vma_pages(ptr noundef) local_unnamed_addr #1
declare ptr @comedi_buf_map_from_subdev_get(ptr noundef) local_unnamed_addr #1
declare i32 @dma_mmap_coherent(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @page_to_pfn(i32 noundef) local_unnamed_addr #1
declare i32 @virt_to_page(i32 noundef) local_unnamed_addr #1
declare i32 @remap_pfn_range(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @up_read(ptr noundef) local_unnamed_addr #1
declare i32 @comedi_buf_map_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"file", !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 = !{!"comedi_file", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"vm_area_struct", !14, i64 0, !15, i64 8, !14, i64 16, !14, i64 24, !7, i64 32, !7, i64 40}
!14 = !{!"long", !8, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!18, !15, i64 8}
!18 = !{!"comedi_device", !15, i64 0, !15, i64 4, !15, i64 8}
!19 = !{!18, !15, i64 4}
!20 = !{!13, !15, i64 8}
!21 = !{!22, !7, i64 0}
!22 = !{!"comedi_subdevice", !7, i64 0}
!23 = !{!13, !14, i64 16}
!24 = !{!13, !14, i64 24}
!25 = !{!26, !14, i64 0}
!26 = !{!"comedi_async", !14, i64 0}
!27 = !{!28, !15, i64 0}
!28 = !{!"comedi_buf_map", !15, i64 0, !14, i64 8, !7, i64 16, !15, i64 24}
!29 = !{!28, !14, i64 8}
!30 = !{!14, !14, i64 0}
!31 = !{!28, !7, i64 16}
!32 = !{!33, !15, i64 0}
!33 = !{!"comedi_buf_page", !15, i64 0, !15, i64 4}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!28, !15, i64 24}
!37 = !{!33, !15, i64 4}
!38 = !{!13, !7, i64 32}
!39 = !{!13, !7, i64 40}
!40 = !{!41, !7, i64 0}
!41 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/extr_comedi_fops.c_comedi_mmap.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/extr_comedi_fops.c_comedi_mmap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
%struct.comedi_buf_page = type { i32, i32 }
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"no driver attached\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@VM_WRITE = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"mmap() offset must be 0.\0A\00", align 1
@EFAULT = common local_unnamed_addr global i32 0, align 4
@DMA_NONE = common local_unnamed_addr global i64 0, align 8
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@PAGE_SHARED = common local_unnamed_addr global i32 0, align 4
@comedi_vm_ops = common global %struct.TYPE_2__ zeroinitializer, align 8
@llvm.used = appending global [1 x ptr] [ptr @comedi_mmap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @comedi_mmap(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i64, ptr %1, align 8, !tbaa !13
%6 = tail call i32 @down_read_trylock(ptr noundef %4) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @EAGAIN, align 4, !tbaa !17
%10 = sub nsw i32 0, %9
br label %129
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %4, i64 8
%13 = load i32, ptr %12, align 4, !tbaa !18
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %4, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !20
%18 = tail call i32 @dev_dbg(i32 noundef %17, ptr noundef nonnull @.str) #2
%19 = load i32, ptr @ENODEV, align 4, !tbaa !17
%20 = sub nsw i32 0, %19
br label %124
21: ; preds = %11
%22 = getelementptr inbounds i8, ptr %1, i64 8
%23 = load i32, ptr %22, align 8, !tbaa !21
%24 = load i32, ptr @VM_WRITE, align 4, !tbaa !17
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %21
%28 = tail call ptr @comedi_file_write_subdevice(ptr noundef nonnull %0) #2
br label %31
29: ; preds = %21
%30 = tail call ptr @comedi_file_read_subdevice(ptr noundef nonnull %0) #2
br label %31
31: ; preds = %29, %27
%32 = phi ptr [ %28, %27 ], [ %30, %29 ]
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load i32, ptr @EINVAL, align 4, !tbaa !17
%36 = sub nsw i32 0, %35
br label %124
37: ; preds = %31
%38 = load ptr, ptr %32, align 8, !tbaa !22
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load i32, ptr @EINVAL, align 4, !tbaa !17
%42 = sub nsw i32 0, %41
br label %124
43: ; preds = %37
%44 = getelementptr inbounds i8, ptr %1, i64 16
%45 = load i64, ptr %44, align 8, !tbaa !24
%46 = icmp eq i64 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %43
%48 = getelementptr inbounds i8, ptr %4, i64 4
%49 = load i32, ptr %48, align 4, !tbaa !20
%50 = tail call i32 @dev_dbg(i32 noundef %49, ptr noundef nonnull @.str.1) #2
%51 = load i32, ptr @EINVAL, align 4, !tbaa !17
%52 = sub nsw i32 0, %51
br label %124
53: ; preds = %43
%54 = getelementptr inbounds i8, ptr %1, i64 24
%55 = load i64, ptr %54, align 8, !tbaa !25
%56 = load i64, ptr %1, align 8, !tbaa !13
%57 = sub i64 %55, %56
%58 = load i64, ptr %38, align 8, !tbaa !26
%59 = icmp ugt i64 %57, %58
br i1 %59, label %60, label %63
60: ; preds = %53
%61 = load i32, ptr @EFAULT, align 4, !tbaa !17
%62 = sub nsw i32 0, %61
br label %124
63: ; preds = %53
%64 = tail call i64 @offset_in_page(i64 noundef %57) #2
%65 = icmp eq i64 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %63
%67 = load i32, ptr @EFAULT, align 4, !tbaa !17
%68 = sub nsw i32 0, %67
br label %124
69: ; preds = %63
%70 = tail call i32 @vma_pages(ptr noundef nonnull %1) #2
%71 = tail call ptr @comedi_buf_map_from_subdev_get(ptr noundef nonnull %32) #2
%72 = icmp eq ptr %71, null
br i1 %72, label %76, label %73
73: ; preds = %69
%74 = load i32, ptr %71, align 8, !tbaa !28
%75 = icmp sgt i32 %70, %74
br i1 %75, label %76, label %79
76: ; preds = %73, %69
%77 = load i32, ptr @EINVAL, align 4, !tbaa !17
%78 = sub nsw i32 0, %77
br label %124
79: ; preds = %73
%80 = getelementptr inbounds i8, ptr %71, i64 8
%81 = load i64, ptr %80, align 8, !tbaa !30
%82 = load i64, ptr @DMA_NONE, align 8, !tbaa !31
%83 = icmp eq i64 %81, %82
br i1 %83, label %84, label %107
84: ; preds = %79
%85 = icmp sgt i32 %70, 0
br i1 %85, label %86, label %119
86: ; preds = %84
%87 = getelementptr inbounds i8, ptr %71, i64 16
%88 = zext nneg i32 %70 to i64
br label %89
89: ; preds = %86, %101
%90 = phi i64 [ 0, %86 ], [ %105, %101 ]
%91 = phi i64 [ %5, %86 ], [ %104, %101 ]
%92 = load ptr, ptr %87, align 8, !tbaa !32
%93 = getelementptr inbounds %struct.comedi_buf_page, ptr %92, i64 %90
%94 = load i32, ptr %93, align 4, !tbaa !33
%95 = tail call i32 @virt_to_page(i32 noundef %94) #2
%96 = tail call i64 @page_to_pfn(i32 noundef %95) #2
%97 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !17
%98 = load i32, ptr @PAGE_SHARED, align 4, !tbaa !17
%99 = tail call i32 @remap_pfn_range(ptr noundef nonnull %1, i64 noundef %91, i64 noundef %96, i32 noundef %97, i32 noundef %98) #2
%100 = icmp eq i32 %99, 0
br i1 %100, label %101, label %124
101: ; preds = %89
%102 = load i32, ptr @PAGE_SIZE, align 4
%103 = sext i32 %102 to i64
%104 = add i64 %91, %103
%105 = add nuw nsw i64 %90, 1
%106 = icmp eq i64 %105, %88
br i1 %106, label %119, label %89, !llvm.loop !35
107: ; preds = %79
%108 = getelementptr inbounds i8, ptr %71, i64 16
%109 = load ptr, ptr %108, align 8, !tbaa !32
%110 = getelementptr inbounds i8, ptr %71, i64 24
%111 = load i32, ptr %110, align 8, !tbaa !37
%112 = load i32, ptr %109, align 4, !tbaa !33
%113 = getelementptr inbounds i8, ptr %109, i64 4
%114 = load i32, ptr %113, align 4, !tbaa !38
%115 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !17
%116 = mul nsw i32 %115, %70
%117 = tail call i32 @dma_mmap_coherent(i32 noundef %111, ptr noundef nonnull %1, i32 noundef %112, i32 noundef %114, i32 noundef %116) #2
%118 = icmp eq i32 %117, 0
br i1 %118, label %119, label %124
119: ; preds = %101, %84, %107
%120 = getelementptr inbounds i8, ptr %1, i64 32
store ptr @comedi_vm_ops, ptr %120, align 8, !tbaa !39
%121 = getelementptr inbounds i8, ptr %1, i64 40
store ptr %71, ptr %121, align 8, !tbaa !40
%122 = load ptr, ptr @comedi_vm_ops, align 8, !tbaa !41
%123 = tail call i32 %122(ptr noundef nonnull %1) #2
br label %124
124: ; preds = %89, %107, %119, %76, %66, %60, %47, %40, %34, %15
%125 = phi ptr [ null, %47 ], [ null, %60 ], [ null, %66 ], [ %71, %76 ], [ %71, %119 ], [ %71, %107 ], [ null, %40 ], [ null, %34 ], [ null, %15 ], [ %71, %89 ]
%126 = phi i32 [ %52, %47 ], [ %62, %60 ], [ %68, %66 ], [ %78, %76 ], [ 0, %119 ], [ %117, %107 ], [ %42, %40 ], [ %36, %34 ], [ %20, %15 ], [ %99, %89 ]
%127 = tail call i32 @up_read(ptr noundef %4) #2
%128 = tail call i32 @comedi_buf_map_put(ptr noundef %125) #2
br label %129
129: ; preds = %124, %8
%130 = phi i32 [ %126, %124 ], [ %10, %8 ]
ret i32 %130
}
declare i32 @down_read_trylock(ptr noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @comedi_file_write_subdevice(ptr noundef) local_unnamed_addr #1
declare ptr @comedi_file_read_subdevice(ptr noundef) local_unnamed_addr #1
declare i64 @offset_in_page(i64 noundef) local_unnamed_addr #1
declare i32 @vma_pages(ptr noundef) local_unnamed_addr #1
declare ptr @comedi_buf_map_from_subdev_get(ptr noundef) local_unnamed_addr #1
declare i32 @dma_mmap_coherent(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @page_to_pfn(i32 noundef) local_unnamed_addr #1
declare i32 @virt_to_page(i32 noundef) local_unnamed_addr #1
declare i32 @remap_pfn_range(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @up_read(ptr noundef) local_unnamed_addr #1
declare i32 @comedi_buf_map_put(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"file", !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 = !{!"comedi_file", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"vm_area_struct", !15, i64 0, !16, i64 8, !15, i64 16, !15, i64 24, !8, i64 32, !8, i64 40}
!15 = !{!"long", !9, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!19, !16, i64 8}
!19 = !{!"comedi_device", !16, i64 0, !16, i64 4, !16, i64 8}
!20 = !{!19, !16, i64 4}
!21 = !{!14, !16, i64 8}
!22 = !{!23, !8, i64 0}
!23 = !{!"comedi_subdevice", !8, i64 0}
!24 = !{!14, !15, i64 16}
!25 = !{!14, !15, i64 24}
!26 = !{!27, !15, i64 0}
!27 = !{!"comedi_async", !15, i64 0}
!28 = !{!29, !16, i64 0}
!29 = !{!"comedi_buf_map", !16, i64 0, !15, i64 8, !8, i64 16, !16, i64 24}
!30 = !{!29, !15, i64 8}
!31 = !{!15, !15, i64 0}
!32 = !{!29, !8, i64 16}
!33 = !{!34, !16, i64 0}
!34 = !{!"comedi_buf_page", !16, i64 0, !16, i64 4}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!29, !16, i64 24}
!38 = !{!34, !16, i64 4}
!39 = !{!14, !8, i64 32}
!40 = !{!14, !8, i64 40}
!41 = !{!42, !8, i64 0}
!42 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_staging_comedi_extr_comedi_fops.c_comedi_mmap |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_common/extr_eap_common.c_eap_update_len.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_common/extr_eap_common.c_eap_update_len.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @eap_update_len(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @wpabuf_mhead(ptr noundef %0) #2
%3 = tail call i32 @wpabuf_len(ptr noundef %0) #2
%4 = icmp ult i32 %3, 4
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = tail call i32 @wpabuf_len(ptr noundef %0) #2
%7 = tail call i32 @host_to_be16(i32 noundef %6) #2
store i32 %7, ptr %2, align 4, !tbaa !5
br label %8
8: ; preds = %1, %5
ret void
}
declare ptr @wpabuf_mhead(ptr noundef) local_unnamed_addr #1
declare i32 @wpabuf_len(ptr noundef) local_unnamed_addr #1
declare i32 @host_to_be16(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 = !{!"eap_hdr", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_common/extr_eap_common.c_eap_update_len.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_common/extr_eap_common.c_eap_update_len.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 @eap_update_len(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @wpabuf_mhead(ptr noundef %0) #2
%3 = tail call i32 @wpabuf_len(ptr noundef %0) #2
%4 = icmp ult i32 %3, 4
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = tail call i32 @wpabuf_len(ptr noundef %0) #2
%7 = tail call i32 @host_to_be16(i32 noundef %6) #2
store i32 %7, ptr %2, align 4, !tbaa !6
br label %8
8: ; preds = %1, %5
ret void
}
declare ptr @wpabuf_mhead(ptr noundef) local_unnamed_addr #1
declare i32 @wpabuf_len(ptr noundef) local_unnamed_addr #1
declare i32 @host_to_be16(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 = !{!"eap_hdr", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_wpa_src_eap_common_extr_eap_common.c_eap_update_len |
; ModuleID = 'AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_ad1881_unchained.c'
source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_ad1881_unchained.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr, ptr }
@AC97_AD_SERIAL_CFG = dso_local local_unnamed_addr global i32 0, align 4
@AC97_AD_CODEC_CFG = dso_local local_unnamed_addr global i32 0, align 4
@AC97_VENDOR_ID2 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @patch_ad1881_unchained], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef zeroext i16 @patch_ad1881_unchained(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2) #0 {
%4 = load i32, ptr @AC97_AD_SERIAL_CFG, align 4, !tbaa !5
%5 = tail call i32 @snd_ac97_update_bits(ptr noundef %0, i32 noundef %4, i32 noundef 28672, i16 noundef zeroext %2) #2
%6 = load i32, ptr @AC97_AD_CODEC_CFG, align 4, !tbaa !5
%7 = tail call i32 @snd_ac97_write_cache(ptr noundef %0, i32 noundef %6, i32 noundef 0) #2
%8 = load i32, ptr @AC97_VENDOR_ID2, align 4, !tbaa !5
%9 = tail call zeroext i16 @snd_ac97_read(ptr noundef %0, i32 noundef %8) #2
%10 = and i16 %9, -192
%11 = icmp eq i16 %10, 21312
br i1 %11, label %12, label %22
12: ; preds = %3
%13 = load ptr, ptr %0, align 8, !tbaa !9
%14 = sext i32 %1 to i64
%15 = getelementptr inbounds i16, ptr %13, i64 %14
store i16 %2, ptr %15, align 2, !tbaa !14
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = getelementptr inbounds i16, ptr %17, i64 %14
store i16 %9, ptr %18, align 2, !tbaa !14
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%20 = load ptr, ptr %19, align 8, !tbaa !17
%21 = getelementptr inbounds i32, ptr %20, i64 %14
store i32 0, ptr %21, align 4, !tbaa !5
br label %22
22: ; preds = %3, %12
%23 = phi i16 [ %2, %12 ], [ 0, %3 ]
ret i16 %23
}
declare i32 @snd_ac97_update_bits(ptr noundef, i32 noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1
declare i32 @snd_ac97_write_cache(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare zeroext i16 @snd_ac97_read(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, !13, i64 0}
!10 = !{!"snd_ac97", !11, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!10, !13, i64 8}
!17 = !{!10, !13, i64 16}
| ; ModuleID = 'AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_ad1881_unchained.c'
source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_ad1881_unchained.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AC97_AD_SERIAL_CFG = common local_unnamed_addr global i32 0, align 4
@AC97_AD_CODEC_CFG = common local_unnamed_addr global i32 0, align 4
@AC97_VENDOR_ID2 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @patch_ad1881_unchained], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef zeroext i16 @patch_ad1881_unchained(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2) #0 {
%4 = load i32, ptr @AC97_AD_SERIAL_CFG, align 4, !tbaa !6
%5 = tail call i32 @snd_ac97_update_bits(ptr noundef %0, i32 noundef %4, i32 noundef 28672, i16 noundef zeroext %2) #2
%6 = load i32, ptr @AC97_AD_CODEC_CFG, align 4, !tbaa !6
%7 = tail call i32 @snd_ac97_write_cache(ptr noundef %0, i32 noundef %6, i32 noundef 0) #2
%8 = load i32, ptr @AC97_VENDOR_ID2, align 4, !tbaa !6
%9 = tail call zeroext i16 @snd_ac97_read(ptr noundef %0, i32 noundef %8) #2
%10 = and i16 %9, -192
%11 = icmp eq i16 %10, 21312
br i1 %11, label %12, label %22
12: ; preds = %3
%13 = load ptr, ptr %0, align 8, !tbaa !10
%14 = sext i32 %1 to i64
%15 = getelementptr inbounds i16, ptr %13, i64 %14
store i16 %2, ptr %15, align 2, !tbaa !15
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !17
%18 = getelementptr inbounds i16, ptr %17, i64 %14
store i16 %9, ptr %18, align 2, !tbaa !15
%19 = getelementptr inbounds i8, ptr %0, i64 16
%20 = load ptr, ptr %19, align 8, !tbaa !18
%21 = getelementptr inbounds i32, ptr %20, i64 %14
store i32 0, ptr %21, align 4, !tbaa !6
br label %22
22: ; preds = %3, %12
%23 = phi i16 [ %2, %12 ], [ 0, %3 ]
ret i16 %23
}
declare i32 @snd_ac97_update_bits(ptr noundef, i32 noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1
declare i32 @snd_ac97_write_cache(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare zeroext i16 @snd_ac97_read(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, !14, i64 0}
!11 = !{!"snd_ac97", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"short", !8, i64 0}
!17 = !{!11, !14, i64 8}
!18 = !{!11, !14, i64 16}
| linux_sound_pci_ac97_extr_ac97_patch.c_patch_ad1881_unchained |
; ModuleID = 'AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_ad1886.c'
source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_ad1886.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AC97_AD_JACK_SPDIF = dso_local local_unnamed_addr global i32 0, align 4
@patch_ad1886_build_ops = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @patch_ad1886], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @patch_ad1886(ptr noundef %0) #0 {
%2 = tail call i32 @patch_ad1881(ptr noundef %0) #2
%3 = load i32, ptr @AC97_AD_JACK_SPDIF, align 4, !tbaa !5
%4 = tail call i32 @snd_ac97_write_cache(ptr noundef %0, i32 noundef %3, i32 noundef 16) #2
store ptr @patch_ad1886_build_ops, ptr %0, align 8, !tbaa !9
ret i32 0
}
declare i32 @patch_ad1881(ptr noundef) local_unnamed_addr #1
declare i32 @snd_ac97_write_cache(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"snd_ac97", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_ad1886.c'
source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_ad1886.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AC97_AD_JACK_SPDIF = common local_unnamed_addr global i32 0, align 4
@patch_ad1886_build_ops = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @patch_ad1886], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @patch_ad1886(ptr noundef %0) #0 {
%2 = tail call i32 @patch_ad1881(ptr noundef %0) #2
%3 = load i32, ptr @AC97_AD_JACK_SPDIF, align 4, !tbaa !6
%4 = tail call i32 @snd_ac97_write_cache(ptr noundef %0, i32 noundef %3, i32 noundef 16) #2
store ptr @patch_ad1886_build_ops, ptr %0, align 8, !tbaa !10
ret i32 0
}
declare i32 @patch_ad1881(ptr noundef) local_unnamed_addr #1
declare i32 @snd_ac97_write_cache(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"snd_ac97", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| linux_sound_pci_ac97_extr_ac97_patch.c_patch_ad1886 |
; ModuleID = 'AnghaBench/reactos/dll/win32/riched20/extr_style.c_ME_LogFontFromStyle.c'
source_filename = "AnghaBench/reactos/dll/win32/riched20/extr_style.c_ME_LogFontFromStyle.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, i32 }
%struct.TYPE_7__ = type { i32, i32, i64, i32, i32, i32, i32, i32 }
@FW_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
@CFM_BOLD = dso_local local_unnamed_addr global i32 0, align 4
@FW_BOLD = dso_local local_unnamed_addr global i32 0, align 4
@CFM_WEIGHT = dso_local local_unnamed_addr global i32 0, align 4
@CFM_ITALIC = dso_local local_unnamed_addr global i32 0, align 4
@CFM_UNDERLINE = dso_local local_unnamed_addr global i32 0, align 4
@CFE_LINK = dso_local local_unnamed_addr global i32 0, align 4
@CFU_CF1UNDERLINE = dso_local local_unnamed_addr global i64 0, align 8
@CFM_STRIKEOUT = dso_local local_unnamed_addr global i32 0, align 4
@CFM_SUBSCRIPT = dso_local local_unnamed_addr global i32 0, align 4
@CFM_SUPERSCRIPT = dso_local local_unnamed_addr global i32 0, align 4
@CFM_FACE = dso_local local_unnamed_addr global i32 0, align 4
@CFM_CHARSET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ME_LogFontFromStyle], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ME_LogFontFromStyle(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i32 @ZeroMemory(ptr noundef %1, i32 noundef 32) #2
%5 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 7
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 7
%8 = load i32, ptr %7, align 8, !tbaa !10
%9 = tail call i32 @lstrcpyW(i32 noundef %6, i32 noundef %8) #2
%10 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 6
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = sub nsw i32 0, %11
%13 = tail call i32 @ME_twips2pointsY(ptr noundef %0, i32 noundef %12) #2
store i32 %13, ptr %1, align 4, !tbaa !15
%14 = load i32, ptr @FW_NORMAL, align 4, !tbaa !16
%15 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 6
store i32 %14, ptr %15, align 4, !tbaa !17
%16 = load i32, ptr %2, align 8, !tbaa !18
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !19
%19 = and i32 %18, %16
%20 = load i32, ptr @CFM_BOLD, align 4, !tbaa !16
%21 = and i32 %19, %20
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %3
%24 = load i32, ptr @FW_BOLD, align 4, !tbaa !16
store i32 %24, ptr %15, align 4, !tbaa !17
br label %25
25: ; preds = %23, %3
%26 = load i32, ptr @CFM_WEIGHT, align 4, !tbaa !16
%27 = and i32 %26, %18
%28 = icmp eq i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %25
%30 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 5
%31 = load i32, ptr %30, align 8, !tbaa !20
store i32 %31, ptr %15, align 4, !tbaa !17
br label %32
32: ; preds = %29, %25
%33 = load i32, ptr @CFM_ITALIC, align 4, !tbaa !16
%34 = and i32 %33, %19
%35 = icmp eq i32 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %32
%37 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1
store i32 1, ptr %37, align 4, !tbaa !21
br label %38
38: ; preds = %36, %32
%39 = load i32, ptr @CFM_UNDERLINE, align 4, !tbaa !16
%40 = and i32 %16, %39
%41 = and i32 %40, %18
%42 = icmp eq i32 %41, 0
br i1 %42, label %54, label %43
43: ; preds = %38
%44 = load i32, ptr @CFE_LINK, align 4, !tbaa !16
%45 = and i32 %44, %16
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %54
47: ; preds = %43
%48 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 2
%49 = load i64, ptr %48, align 8, !tbaa !22
%50 = load i64, ptr @CFU_CF1UNDERLINE, align 8, !tbaa !23
%51 = icmp eq i64 %49, %50
br i1 %51, label %52, label %54
52: ; preds = %47
%53 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 2
store i32 1, ptr %53, align 4, !tbaa !24
br label %54
54: ; preds = %52, %47, %43, %38
%55 = load i32, ptr @CFM_STRIKEOUT, align 4, !tbaa !16
%56 = and i32 %55, %19
%57 = icmp eq i32 %56, 0
br i1 %57, label %60, label %58
58: ; preds = %54
%59 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 3
store i32 1, ptr %59, align 4, !tbaa !25
br label %60
60: ; preds = %58, %54
%61 = load i32, ptr @CFM_SUBSCRIPT, align 4, !tbaa !16
%62 = load i32, ptr @CFM_SUPERSCRIPT, align 4, !tbaa !16
%63 = or i32 %62, %61
%64 = and i32 %63, %19
%65 = icmp eq i32 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %60
%67 = shl nsw i32 %13, 1
%68 = sdiv i32 %67, 3
store i32 %68, ptr %1, align 4, !tbaa !15
br label %69
69: ; preds = %66, %60
%70 = load i32, ptr @CFM_FACE, align 4, !tbaa !16
%71 = and i32 %70, %18
%72 = icmp eq i32 %71, 0
br i1 %72, label %77, label %73
73: ; preds = %69
%74 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 4
%75 = load i32, ptr %74, align 4, !tbaa !26
%76 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 5
store i32 %75, ptr %76, align 4, !tbaa !27
br label %77
77: ; preds = %73, %69
%78 = load i32, ptr @CFM_CHARSET, align 4, !tbaa !16
%79 = and i32 %78, %18
%80 = icmp eq i32 %79, 0
br i1 %80, label %85, label %81
81: ; preds = %77
%82 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 3
%83 = load i32, ptr %82, align 8, !tbaa !28
%84 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 4
store i32 %83, ptr %84, align 4, !tbaa !29
br label %85
85: ; preds = %81, %77
ret void
}
declare i32 @ZeroMemory(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lstrcpyW(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ME_twips2pointsY(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 28}
!6 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 32}
!11 = !{!"TYPE_8__", !12, i64 0}
!12 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !13, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !7, i64 28}
!15 = !{!6, !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !7, i64 24}
!18 = !{!11, !7, i64 0}
!19 = !{!11, !7, i64 4}
!20 = !{!11, !7, i64 24}
!21 = !{!6, !7, i64 4}
!22 = !{!11, !13, i64 8}
!23 = !{!13, !13, i64 0}
!24 = !{!6, !7, i64 8}
!25 = !{!6, !7, i64 12}
!26 = !{!11, !7, i64 20}
!27 = !{!6, !7, i64 20}
!28 = !{!11, !7, i64 16}
!29 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/riched20/extr_style.c_ME_LogFontFromStyle.c'
source_filename = "AnghaBench/reactos/dll/win32/riched20/extr_style.c_ME_LogFontFromStyle.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FW_NORMAL = common local_unnamed_addr global i32 0, align 4
@CFM_BOLD = common local_unnamed_addr global i32 0, align 4
@FW_BOLD = common local_unnamed_addr global i32 0, align 4
@CFM_WEIGHT = common local_unnamed_addr global i32 0, align 4
@CFM_ITALIC = common local_unnamed_addr global i32 0, align 4
@CFM_UNDERLINE = common local_unnamed_addr global i32 0, align 4
@CFE_LINK = common local_unnamed_addr global i32 0, align 4
@CFU_CF1UNDERLINE = common local_unnamed_addr global i64 0, align 8
@CFM_STRIKEOUT = common local_unnamed_addr global i32 0, align 4
@CFM_SUBSCRIPT = common local_unnamed_addr global i32 0, align 4
@CFM_SUPERSCRIPT = common local_unnamed_addr global i32 0, align 4
@CFM_FACE = common local_unnamed_addr global i32 0, align 4
@CFM_CHARSET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ME_LogFontFromStyle], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ME_LogFontFromStyle(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i32 @ZeroMemory(ptr noundef %1, i32 noundef 32) #2
%5 = getelementptr inbounds i8, ptr %1, i64 28
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %2, i64 32
%8 = load i32, ptr %7, align 8, !tbaa !11
%9 = tail call i32 @lstrcpyW(i32 noundef %6, i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %2, i64 28
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = sub nsw i32 0, %11
%13 = tail call i32 @ME_twips2pointsY(ptr noundef %0, i32 noundef %12) #2
store i32 %13, ptr %1, align 4, !tbaa !16
%14 = load i32, ptr @FW_NORMAL, align 4, !tbaa !17
%15 = getelementptr inbounds i8, ptr %1, i64 24
store i32 %14, ptr %15, align 4, !tbaa !18
%16 = load i32, ptr %2, align 8, !tbaa !19
%17 = getelementptr inbounds i8, ptr %2, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !20
%19 = and i32 %18, %16
%20 = load i32, ptr @CFM_BOLD, align 4, !tbaa !17
%21 = and i32 %19, %20
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %3
%24 = load i32, ptr @FW_BOLD, align 4, !tbaa !17
store i32 %24, ptr %15, align 4, !tbaa !18
br label %25
25: ; preds = %23, %3
%26 = load i32, ptr @CFM_WEIGHT, align 4, !tbaa !17
%27 = and i32 %26, %18
%28 = icmp eq i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %25
%30 = getelementptr inbounds i8, ptr %2, i64 24
%31 = load i32, ptr %30, align 8, !tbaa !21
store i32 %31, ptr %15, align 4, !tbaa !18
br label %32
32: ; preds = %29, %25
%33 = load i32, ptr @CFM_ITALIC, align 4, !tbaa !17
%34 = and i32 %33, %19
%35 = icmp eq i32 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %32
%37 = getelementptr inbounds i8, ptr %1, i64 4
store i32 1, ptr %37, align 4, !tbaa !22
br label %38
38: ; preds = %36, %32
%39 = load i32, ptr @CFM_UNDERLINE, align 4, !tbaa !17
%40 = and i32 %16, %39
%41 = and i32 %40, %18
%42 = icmp eq i32 %41, 0
br i1 %42, label %54, label %43
43: ; preds = %38
%44 = load i32, ptr @CFE_LINK, align 4, !tbaa !17
%45 = and i32 %44, %16
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %54
47: ; preds = %43
%48 = getelementptr inbounds i8, ptr %2, i64 8
%49 = load i64, ptr %48, align 8, !tbaa !23
%50 = load i64, ptr @CFU_CF1UNDERLINE, align 8, !tbaa !24
%51 = icmp eq i64 %49, %50
br i1 %51, label %52, label %54
52: ; preds = %47
%53 = getelementptr inbounds i8, ptr %1, i64 8
store i32 1, ptr %53, align 4, !tbaa !25
br label %54
54: ; preds = %52, %47, %43, %38
%55 = load i32, ptr @CFM_STRIKEOUT, align 4, !tbaa !17
%56 = and i32 %55, %19
%57 = icmp eq i32 %56, 0
br i1 %57, label %60, label %58
58: ; preds = %54
%59 = getelementptr inbounds i8, ptr %1, i64 12
store i32 1, ptr %59, align 4, !tbaa !26
br label %60
60: ; preds = %58, %54
%61 = load i32, ptr @CFM_SUBSCRIPT, align 4, !tbaa !17
%62 = load i32, ptr @CFM_SUPERSCRIPT, align 4, !tbaa !17
%63 = or i32 %62, %61
%64 = and i32 %63, %19
%65 = icmp eq i32 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %60
%67 = shl nsw i32 %13, 1
%68 = sdiv i32 %67, 3
store i32 %68, ptr %1, align 4, !tbaa !16
br label %69
69: ; preds = %66, %60
%70 = load i32, ptr @CFM_FACE, align 4, !tbaa !17
%71 = and i32 %70, %18
%72 = icmp eq i32 %71, 0
br i1 %72, label %77, label %73
73: ; preds = %69
%74 = getelementptr inbounds i8, ptr %2, i64 20
%75 = load i32, ptr %74, align 4, !tbaa !27
%76 = getelementptr inbounds i8, ptr %1, i64 20
store i32 %75, ptr %76, align 4, !tbaa !28
br label %77
77: ; preds = %73, %69
%78 = load i32, ptr @CFM_CHARSET, align 4, !tbaa !17
%79 = and i32 %78, %18
%80 = icmp eq i32 %79, 0
br i1 %80, label %85, label %81
81: ; preds = %77
%82 = getelementptr inbounds i8, ptr %2, i64 16
%83 = load i32, ptr %82, align 8, !tbaa !29
%84 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %83, ptr %84, align 4, !tbaa !30
br label %85
85: ; preds = %81, %77
ret void
}
declare i32 @ZeroMemory(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lstrcpyW(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ME_twips2pointsY(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 28}
!7 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 32}
!12 = !{!"TYPE_8__", !13, i64 0}
!13 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !14, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32}
!14 = !{!"long", !9, i64 0}
!15 = !{!12, !8, i64 28}
!16 = !{!7, !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !8, i64 24}
!19 = !{!12, !8, i64 0}
!20 = !{!12, !8, i64 4}
!21 = !{!12, !8, i64 24}
!22 = !{!7, !8, i64 4}
!23 = !{!12, !14, i64 8}
!24 = !{!14, !14, i64 0}
!25 = !{!7, !8, i64 8}
!26 = !{!7, !8, i64 12}
!27 = !{!12, !8, i64 20}
!28 = !{!7, !8, i64 20}
!29 = !{!12, !8, i64 16}
!30 = !{!7, !8, i64 16}
| reactos_dll_win32_riched20_extr_style.c_ME_LogFontFromStyle |
; ModuleID = 'AnghaBench/linux/sound/core/extr_pcm_lib.c_pcm_sanity_check.c'
source_filename = "AnghaBench/linux/sound/core/extr_pcm_lib.c_pcm_sanity_check.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_pcm_substream = type { ptr, ptr }
%struct.snd_pcm_runtime = type { ptr, i32 }
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_STATE_OPEN = dso_local local_unnamed_addr global i64 0, align 8
@EBADFD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pcm_sanity_check], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pcm_sanity_check(ptr noundef %0) #0 {
%2 = tail call i64 @PCM_RUNTIME_CHECK(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @ENXIO, align 4, !tbaa !5
%6 = sub nsw i32 0, %5
br label %33
7: ; preds = %1
%8 = getelementptr inbounds %struct.snd_pcm_substream, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !9
%10 = load ptr, ptr %0, align 8, !tbaa !12
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %7
%14 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %9, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !15
%16 = icmp eq i32 %15, 0
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %13, %7
%19 = phi i32 [ 0, %7 ], [ %17, %13 ]
%20 = tail call i64 @snd_BUG_ON(i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = load i32, ptr @EINVAL, align 4, !tbaa !5
%24 = sub nsw i32 0, %23
br label %33
25: ; preds = %18
%26 = load ptr, ptr %9, align 8, !tbaa !17
%27 = load i64, ptr %26, align 8, !tbaa !18
%28 = load i64, ptr @SNDRV_PCM_STATE_OPEN, align 8, !tbaa !21
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load i32, ptr @EBADFD, align 4, !tbaa !5
%32 = sub nsw i32 0, %31
br label %33
33: ; preds = %25, %30, %22, %4
%34 = phi i32 [ %6, %4 ], [ %24, %22 ], [ %32, %30 ], [ 0, %25 ]
ret i32 %34
}
declare i64 @PCM_RUNTIME_CHECK(ptr noundef) local_unnamed_addr #1
declare i64 @snd_BUG_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"snd_pcm_substream", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_3__", !6, i64 0}
!15 = !{!16, !6, i64 8}
!16 = !{!"snd_pcm_runtime", !11, i64 0, !6, i64 8}
!17 = !{!16, !11, i64 0}
!18 = !{!19, !20, i64 0}
!19 = !{!"TYPE_4__", !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!20, !20, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/core/extr_pcm_lib.c_pcm_sanity_check.c'
source_filename = "AnghaBench/linux/sound/core/extr_pcm_lib.c_pcm_sanity_check.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_STATE_OPEN = common local_unnamed_addr global i64 0, align 8
@EBADFD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pcm_sanity_check], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @pcm_sanity_check(ptr noundef %0) #0 {
%2 = tail call i64 @PCM_RUNTIME_CHECK(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @ENXIO, align 4, !tbaa !6
%6 = sub nsw i32 0, %5
br label %33
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !10
%10 = load ptr, ptr %0, align 8, !tbaa !13
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %7
%14 = getelementptr inbounds i8, ptr %9, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !16
%16 = icmp eq i32 %15, 0
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %13, %7
%19 = phi i32 [ 0, %7 ], [ %17, %13 ]
%20 = tail call i64 @snd_BUG_ON(i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = load i32, ptr @EINVAL, align 4, !tbaa !6
%24 = sub nsw i32 0, %23
br label %33
25: ; preds = %18
%26 = load ptr, ptr %9, align 8, !tbaa !18
%27 = load i64, ptr %26, align 8, !tbaa !19
%28 = load i64, ptr @SNDRV_PCM_STATE_OPEN, align 8, !tbaa !22
%29 = icmp eq i64 %27, %28
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load i32, ptr @EBADFD, align 4, !tbaa !6
%32 = sub nsw i32 0, %31
br label %33
33: ; preds = %25, %30, %22, %4
%34 = phi i32 [ %6, %4 ], [ %24, %22 ], [ %32, %30 ], [ 0, %25 ]
ret i32 %34
}
declare i64 @PCM_RUNTIME_CHECK(ptr noundef) local_unnamed_addr #1
declare i64 @snd_BUG_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"snd_pcm_substream", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_3__", !7, i64 0}
!16 = !{!17, !7, i64 8}
!17 = !{!"snd_pcm_runtime", !12, i64 0, !7, i64 8}
!18 = !{!17, !12, i64 0}
!19 = !{!20, !21, i64 0}
!20 = !{!"TYPE_4__", !21, i64 0}
!21 = !{!"long", !8, i64 0}
!22 = !{!21, !21, i64 0}
| linux_sound_core_extr_pcm_lib.c_pcm_sanity_check |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_rsa.c_ssl_set_pkey.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_rsa.c_ssl_set_pkey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr }
%struct.TYPE_5__ = type { ptr, ptr }
@SSL_F_SSL_SET_PKEY = dso_local local_unnamed_addr global i32 0, align 4
@SSL_R_UNKNOWN_CERTIFICATE_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@EVP_PKEY_RSA = dso_local local_unnamed_addr global i64 0, align 8
@RSA_METHOD_FLAG_NO_CHECK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ssl_set_pkey], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ssl_set_pkey(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call ptr @ssl_cert_lookup_by_pkey(ptr noundef %1, ptr noundef nonnull %3) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, ptr @SSL_F_SSL_SET_PKEY, align 4, !tbaa !5
%8 = load i32, ptr @SSL_R_UNKNOWN_CERTIFICATE_TYPE, align 4, !tbaa !5
%9 = call i32 @SSLerr(i32 noundef %7, i32 noundef %8) #3
br label %65
10: ; preds = %2
%11 = load ptr, ptr %0, align 8, !tbaa !9
%12 = load i64, ptr %3, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 %12, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = icmp eq ptr %14, null
br i1 %15, label %54, label %16
16: ; preds = %10
%17 = call ptr @X509_get0_pubkey(ptr noundef nonnull %14) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load i32, ptr @SSL_F_SSL_SET_PKEY, align 4, !tbaa !5
%21 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !5
%22 = call i32 @SSLerr(i32 noundef %20, i32 noundef %21) #3
br label %65
23: ; preds = %16
%24 = call i32 @EVP_PKEY_copy_parameters(ptr noundef nonnull %17, ptr noundef %1) #3
%25 = call i32 (...) @ERR_clear_error() #3
%26 = call i64 @EVP_PKEY_id(ptr noundef %1) #3
%27 = load i64, ptr @EVP_PKEY_RSA, align 8, !tbaa !12
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %38
29: ; preds = %23
%30 = call i32 @EVP_PKEY_get0_RSA(ptr noundef %1) #3
%31 = call i32 @RSA_flags(i32 noundef %30) #3
%32 = load i32, ptr @RSA_METHOD_FLAG_NO_CHECK, align 4, !tbaa !5
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %29
%36 = load ptr, ptr %0, align 8, !tbaa !9
%37 = load i64, ptr %3, align 8, !tbaa !12
br label %54
38: ; preds = %29, %23
%39 = load ptr, ptr %0, align 8, !tbaa !9
%40 = load i64, ptr %3, align 8, !tbaa !12
%41 = getelementptr inbounds %struct.TYPE_4__, ptr %39, i64 %40, i32 1
%42 = load ptr, ptr %41, align 8, !tbaa !14
%43 = call i32 @X509_check_private_key(ptr noundef %42, ptr noundef %1) #3
%44 = icmp eq i32 %43, 0
%45 = load ptr, ptr %0, align 8, !tbaa !9
%46 = load i64, ptr %3, align 8, !tbaa !12
br i1 %44, label %47, label %54
47: ; preds = %38
%48 = getelementptr inbounds %struct.TYPE_4__, ptr %45, i64 %46, i32 1
%49 = load ptr, ptr %48, align 8, !tbaa !14
%50 = call i32 @X509_free(ptr noundef %49) #3
%51 = load ptr, ptr %0, align 8, !tbaa !9
%52 = load i64, ptr %3, align 8, !tbaa !12
%53 = getelementptr inbounds %struct.TYPE_4__, ptr %51, i64 %52, i32 1
store ptr null, ptr %53, align 8, !tbaa !14
br label %65
54: ; preds = %35, %38, %10
%55 = phi i64 [ %37, %35 ], [ %46, %38 ], [ %12, %10 ]
%56 = phi ptr [ %36, %35 ], [ %45, %38 ], [ %11, %10 ]
%57 = getelementptr inbounds %struct.TYPE_4__, ptr %56, i64 %55
%58 = load ptr, ptr %57, align 8, !tbaa !16
%59 = call i32 @EVP_PKEY_free(ptr noundef %58) #3
%60 = call i32 @EVP_PKEY_up_ref(ptr noundef %1) #3
%61 = load ptr, ptr %0, align 8, !tbaa !9
%62 = load i64, ptr %3, align 8, !tbaa !12
%63 = getelementptr inbounds %struct.TYPE_4__, ptr %61, i64 %62
store ptr %1, ptr %63, align 8, !tbaa !16
%64 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
store ptr %63, ptr %64, align 8, !tbaa !17
br label %65
65: ; preds = %19, %47, %54, %6
%66 = phi i32 [ 0, %6 ], [ 1, %54 ], [ 0, %47 ], [ 0, %19 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ssl_cert_lookup_by_pkey(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SSLerr(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @X509_get0_pubkey(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_copy_parameters(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ERR_clear_error(...) local_unnamed_addr #2
declare i64 @EVP_PKEY_id(ptr noundef) local_unnamed_addr #2
declare i32 @RSA_flags(i32 noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_get0_RSA(ptr noundef) local_unnamed_addr #2
declare i32 @X509_check_private_key(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @X509_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_up_ref(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"TYPE_5__", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !11, i64 8}
!15 = !{!"TYPE_4__", !11, i64 0, !11, i64 8}
!16 = !{!15, !11, i64 0}
!17 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_rsa.c_ssl_set_pkey.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_rsa.c_ssl_set_pkey.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { ptr, ptr }
@SSL_F_SSL_SET_PKEY = common local_unnamed_addr global i32 0, align 4
@SSL_R_UNKNOWN_CERTIFICATE_TYPE = common local_unnamed_addr global i32 0, align 4
@ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4
@EVP_PKEY_RSA = common local_unnamed_addr global i64 0, align 8
@RSA_METHOD_FLAG_NO_CHECK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ssl_set_pkey], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @ssl_set_pkey(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = call ptr @ssl_cert_lookup_by_pkey(ptr noundef %1, ptr noundef nonnull %3) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, ptr @SSL_F_SSL_SET_PKEY, align 4, !tbaa !6
%8 = load i32, ptr @SSL_R_UNKNOWN_CERTIFICATE_TYPE, align 4, !tbaa !6
%9 = call i32 @SSLerr(i32 noundef %7, i32 noundef %8) #3
br label %65
10: ; preds = %2
%11 = load ptr, ptr %0, align 8, !tbaa !10
%12 = load i64, ptr %3, align 8, !tbaa !13
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 %12, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = icmp eq ptr %14, null
br i1 %15, label %54, label %16
16: ; preds = %10
%17 = call ptr @X509_get0_pubkey(ptr noundef nonnull %14) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load i32, ptr @SSL_F_SSL_SET_PKEY, align 4, !tbaa !6
%21 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !6
%22 = call i32 @SSLerr(i32 noundef %20, i32 noundef %21) #3
br label %65
23: ; preds = %16
%24 = call i32 @EVP_PKEY_copy_parameters(ptr noundef nonnull %17, ptr noundef %1) #3
%25 = call i32 @ERR_clear_error() #3
%26 = call i64 @EVP_PKEY_id(ptr noundef %1) #3
%27 = load i64, ptr @EVP_PKEY_RSA, align 8, !tbaa !13
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %38
29: ; preds = %23
%30 = call i32 @EVP_PKEY_get0_RSA(ptr noundef %1) #3
%31 = call i32 @RSA_flags(i32 noundef %30) #3
%32 = load i32, ptr @RSA_METHOD_FLAG_NO_CHECK, align 4, !tbaa !6
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %29
%36 = load ptr, ptr %0, align 8, !tbaa !10
%37 = load i64, ptr %3, align 8, !tbaa !13
br label %54
38: ; preds = %29, %23
%39 = load ptr, ptr %0, align 8, !tbaa !10
%40 = load i64, ptr %3, align 8, !tbaa !13
%41 = getelementptr inbounds %struct.TYPE_4__, ptr %39, i64 %40, i32 1
%42 = load ptr, ptr %41, align 8, !tbaa !15
%43 = call i32 @X509_check_private_key(ptr noundef %42, ptr noundef %1) #3
%44 = icmp eq i32 %43, 0
%45 = load ptr, ptr %0, align 8, !tbaa !10
%46 = load i64, ptr %3, align 8, !tbaa !13
br i1 %44, label %47, label %54
47: ; preds = %38
%48 = getelementptr inbounds %struct.TYPE_4__, ptr %45, i64 %46, i32 1
%49 = load ptr, ptr %48, align 8, !tbaa !15
%50 = call i32 @X509_free(ptr noundef %49) #3
%51 = load ptr, ptr %0, align 8, !tbaa !10
%52 = load i64, ptr %3, align 8, !tbaa !13
%53 = getelementptr inbounds %struct.TYPE_4__, ptr %51, i64 %52, i32 1
store ptr null, ptr %53, align 8, !tbaa !15
br label %65
54: ; preds = %35, %38, %10
%55 = phi i64 [ %37, %35 ], [ %46, %38 ], [ %12, %10 ]
%56 = phi ptr [ %36, %35 ], [ %45, %38 ], [ %11, %10 ]
%57 = getelementptr inbounds %struct.TYPE_4__, ptr %56, i64 %55
%58 = load ptr, ptr %57, align 8, !tbaa !17
%59 = call i32 @EVP_PKEY_free(ptr noundef %58) #3
%60 = call i32 @EVP_PKEY_up_ref(ptr noundef %1) #3
%61 = load ptr, ptr %0, align 8, !tbaa !10
%62 = load i64, ptr %3, align 8, !tbaa !13
%63 = getelementptr inbounds %struct.TYPE_4__, ptr %61, i64 %62
store ptr %1, ptr %63, align 8, !tbaa !17
%64 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %63, ptr %64, align 8, !tbaa !18
br label %65
65: ; preds = %19, %47, %54, %6
%66 = phi i32 [ 0, %6 ], [ 1, %54 ], [ 0, %47 ], [ 0, %19 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ssl_cert_lookup_by_pkey(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SSLerr(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @X509_get0_pubkey(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_copy_parameters(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ERR_clear_error(...) local_unnamed_addr #2
declare i64 @EVP_PKEY_id(ptr noundef) local_unnamed_addr #2
declare i32 @RSA_flags(i32 noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_get0_RSA(ptr noundef) local_unnamed_addr #2
declare i32 @X509_check_private_key(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @X509_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_PKEY_up_ref(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"TYPE_5__", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !12, i64 8}
!16 = !{!"TYPE_4__", !12, i64 0, !12, i64 8}
!17 = !{!16, !12, i64 0}
!18 = !{!11, !12, i64 8}
| freebsd_crypto_openssl_ssl_extr_ssl_rsa.c_ssl_set_pkey |
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_pcm186x-spi.c_pcm186x_spi_probe.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_pcm186x-spi.c_pcm186x_spi_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.spi_device = type { i32, i32 }
@pcm186x_regmap = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pcm186x_spi_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pcm186x_spi_probe(ptr noundef %0) #0 {
%2 = tail call ptr @spi_get_device_id(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call ptr @devm_regmap_init_spi(ptr noundef nonnull %0, ptr noundef nonnull @pcm186x_regmap) #2
%6 = tail call i64 @IS_ERR(ptr noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @PTR_ERR(ptr noundef %5) #2
br label %13
10: ; preds = %1
%11 = getelementptr inbounds %struct.spi_device, ptr %0, i64 0, i32 1
%12 = tail call i32 @pcm186x_probe(ptr noundef nonnull %11, i32 noundef %3, i32 noundef %4, ptr noundef %5) #2
br label %13
13: ; preds = %10, %8
%14 = phi i32 [ %9, %8 ], [ %12, %10 ]
ret i32 %14
}
declare ptr @spi_get_device_id(ptr noundef) local_unnamed_addr #1
declare ptr @devm_regmap_init_spi(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @pcm186x_probe(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !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 = !{!"spi_device", !7, i64 0, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_pcm186x-spi.c_pcm186x_spi_probe.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_pcm186x-spi.c_pcm186x_spi_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pcm186x_regmap = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pcm186x_spi_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pcm186x_spi_probe(ptr noundef %0) #0 {
%2 = tail call ptr @spi_get_device_id(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !11
%5 = tail call ptr @devm_regmap_init_spi(ptr noundef nonnull %0, ptr noundef nonnull @pcm186x_regmap) #2
%6 = tail call i64 @IS_ERR(ptr noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @PTR_ERR(ptr noundef %5) #2
br label %13
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = tail call i32 @pcm186x_probe(ptr noundef nonnull %11, i32 noundef %3, i32 noundef %4, ptr noundef %5) #2
br label %13
13: ; preds = %10, %8
%14 = phi i32 [ %9, %8 ], [ %12, %10 ]
ret i32 %14
}
declare ptr @spi_get_device_id(ptr noundef) local_unnamed_addr #1
declare ptr @devm_regmap_init_spi(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @pcm186x_probe(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"spi_device", !8, i64 0, !8, i64 4}
| linux_sound_soc_codecs_extr_pcm186x-spi.c_pcm186x_spi_probe |
; ModuleID = 'AnghaBench/nginx/src/stream/extr_ngx_stream_log_module.c_ngx_stream_log_set_log.c'
source_filename = "AnghaBench/nginx/src/stream/extr_ngx_stream_log_module.c_ngx_stream_log_set_log.c"
target datalayout = "e-m:e-p270:32:32-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_34__ = type { ptr, i64 }
%struct.TYPE_43__ = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, ptr, ptr, ptr }
%struct.TYPE_35__ = type { ptr, i32, ptr }
%struct.TYPE_42__ = type { i32, ptr }
%struct.TYPE_44__ = type { i32, ptr }
%struct.TYPE_40__ = type { i32, i32 }
%struct.TYPE_36__ = type { i64, ptr }
%struct.TYPE_32__ = type { %struct.TYPE_39__ }
%struct.TYPE_39__ = type { i64, i32 }
%struct.TYPE_33__ = type { i64, i32, ptr, ptr, ptr, ptr }
%struct.TYPE_41__ = type { i32, ptr, i32, ptr }
%struct.TYPE_37__ = type { ptr, i32 }
@.str = private unnamed_addr constant [4 x i8] c"off\00", align 1
@NGX_CONF_OK = dso_local local_unnamed_addr global ptr null, align 8
@NGX_LOG_EMERG = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"invalid parameter \22%V\22\00", align 1
@NGX_CONF_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@ngx_stream_log_module = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"syslog:\00", align 1
@NGX_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [28 x i8] c"log format is not specified\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"unknown log format \22%V\22\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"buffer=\00", align 1
@NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [25 x i8] c"invalid buffer size \22%V\22\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"flush=\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"invalid flush time \22%V\22\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"gzip\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"nginx was built without zlib support\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"if=\00", align 1
@.str.12 = private unnamed_addr constant [41 x i8] c"no buffer is defined for access_log \22%V\22\00", align 1
@.str.13 = private unnamed_addr constant [44 x i8] c"buffered logs cannot have variables in name\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"logs to syslog cannot be buffered\00", align 1
@.str.15 = private unnamed_addr constant [60 x i8] c"access_log \22%V\22 already defined with conflicting parameters\00", align 1
@ngx_stream_log_flush_handler = dso_local local_unnamed_addr global i32 0, align 4
@ngx_stream_log_flush = dso_local local_unnamed_addr global i32 0, align 4
@Z_BEST_SPEED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_stream_log_set_log], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ngx_stream_log_set_log(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef %2) #0 {
%4 = alloca %struct.TYPE_34__, align 8
%5 = alloca %struct.TYPE_34__, align 8
%6 = alloca %struct.TYPE_43__, align 8
%7 = alloca %struct.TYPE_43__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %7) #4
%8 = getelementptr inbounds %struct.TYPE_35__, ptr %0, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_42__, ptr %9, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !11
%12 = getelementptr inbounds %struct.TYPE_34__, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = tail call i64 @ngx_strcmp(ptr noundef %13, ptr noundef nonnull @.str) #4
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %3
store i32 1, ptr %2, align 8, !tbaa !16
%17 = load ptr, ptr %8, align 8, !tbaa !5
%18 = load i32, ptr %17, align 8, !tbaa !18
%19 = icmp eq i32 %18, 2
br i1 %19, label %312, label %20
20: ; preds = %16
%21 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%22 = getelementptr inbounds %struct.TYPE_34__, ptr %11, i64 2
%23 = tail call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %21, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef nonnull %22) #4
br label %312
24: ; preds = %3
%25 = getelementptr inbounds %struct.TYPE_44__, ptr %2, i64 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !20
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = getelementptr inbounds %struct.TYPE_35__, ptr %0, i64 0, i32 1
%30 = load i32, ptr %29, align 8, !tbaa !21
%31 = tail call ptr @ngx_array_create(i32 noundef %30, i32 noundef 2, i32 noundef 104) #4
store ptr %31, ptr %25, align 8, !tbaa !20
%32 = icmp eq ptr %31, null
br i1 %32, label %312, label %33
33: ; preds = %28, %24
%34 = load i32, ptr @ngx_stream_log_module, align 4, !tbaa !19
%35 = tail call ptr @ngx_stream_conf_get_module_main_conf(ptr noundef nonnull %0, i32 noundef %34) #4
%36 = load ptr, ptr %25, align 8, !tbaa !20
%37 = tail call ptr @ngx_array_push(ptr noundef %36) #4
%38 = icmp eq ptr %37, null
br i1 %38, label %312, label %39
39: ; preds = %33
%40 = tail call i32 @ngx_memzero(ptr noundef nonnull %37, i32 noundef 104) #4
%41 = load ptr, ptr %12, align 8, !tbaa !13
%42 = tail call i64 @ngx_strncmp(ptr noundef %41, ptr noundef nonnull @.str.2, i32 noundef 7) #4
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %55
44: ; preds = %39
%45 = getelementptr inbounds %struct.TYPE_35__, ptr %0, i64 0, i32 1
%46 = load i32, ptr %45, align 8, !tbaa !21
%47 = tail call ptr @ngx_pcalloc(i32 noundef %46, i32 noundef 4) #4
%48 = icmp eq ptr %47, null
br i1 %48, label %312, label %49
49: ; preds = %44
%50 = tail call ptr @ngx_syslog_process_conf(ptr noundef nonnull %0, ptr noundef nonnull %47) #4
%51 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !22
%52 = icmp eq ptr %50, %51
br i1 %52, label %53, label %312
53: ; preds = %49
%54 = getelementptr inbounds %struct.TYPE_43__, ptr %37, i64 0, i32 3
store ptr %47, ptr %54, align 8, !tbaa !23
br label %86
55: ; preds = %39
%56 = tail call i64 @ngx_stream_script_variables_count(ptr noundef nonnull %12) #4
%57 = icmp eq i64 %56, 0
%58 = load ptr, ptr %0, align 8, !tbaa !25
br i1 %57, label %59, label %63
59: ; preds = %55
%60 = tail call ptr @ngx_conf_open_file(ptr noundef %58, ptr noundef nonnull %12) #4
%61 = getelementptr inbounds %struct.TYPE_43__, ptr %37, i64 0, i32 2
store ptr %60, ptr %61, align 8, !tbaa !26
%62 = icmp eq ptr %60, null
br i1 %62, label %312, label %86
63: ; preds = %55
%64 = tail call i64 @ngx_conf_full_name(ptr noundef %58, ptr noundef nonnull %12, i32 noundef 0) #4
%65 = load i64, ptr @NGX_OK, align 8, !tbaa !27
%66 = icmp eq i64 %64, %65
br i1 %66, label %67, label %312
67: ; preds = %63
%68 = getelementptr inbounds %struct.TYPE_35__, ptr %0, i64 0, i32 1
%69 = load i32, ptr %68, align 8, !tbaa !21
%70 = tail call ptr @ngx_pcalloc(i32 noundef %69, i32 noundef 4) #4
%71 = getelementptr inbounds %struct.TYPE_43__, ptr %37, i64 0, i32 4
store ptr %70, ptr %71, align 8, !tbaa !28
%72 = icmp eq ptr %70, null
br i1 %72, label %312, label %73
73: ; preds = %67
%74 = call i32 @ngx_memzero(ptr noundef nonnull %6, i32 noundef 104) #4
%75 = getelementptr inbounds %struct.TYPE_43__, ptr %6, i64 0, i32 8
store ptr %0, ptr %75, align 8, !tbaa !29
%76 = getelementptr inbounds %struct.TYPE_43__, ptr %6, i64 0, i32 13
store ptr %12, ptr %76, align 8, !tbaa !30
%77 = load ptr, ptr %71, align 8, !tbaa !28
%78 = getelementptr inbounds %struct.TYPE_40__, ptr %77, i64 0, i32 1
%79 = getelementptr inbounds %struct.TYPE_43__, ptr %6, i64 0, i32 12
store ptr %78, ptr %79, align 8, !tbaa !31
%80 = getelementptr inbounds %struct.TYPE_43__, ptr %6, i64 0, i32 11
store ptr %77, ptr %80, align 8, !tbaa !32
%81 = getelementptr inbounds %struct.TYPE_43__, ptr %6, i64 0, i32 10
store i64 %56, ptr %81, align 8, !tbaa !33
store i32 1, ptr %6, align 8, !tbaa !34
%82 = getelementptr inbounds %struct.TYPE_43__, ptr %6, i64 0, i32 1
store i32 1, ptr %82, align 4, !tbaa !35
%83 = call i64 @ngx_stream_script_compile(ptr noundef nonnull %6) #4
%84 = load i64, ptr @NGX_OK, align 8, !tbaa !27
%85 = icmp eq i64 %83, %84
br i1 %85, label %86, label %312
86: ; preds = %59, %73, %53
%87 = load ptr, ptr %8, align 8, !tbaa !5
%88 = load i32, ptr %87, align 8, !tbaa !18
%89 = icmp sgt i32 %88, 2
br i1 %89, label %90, label %99
90: ; preds = %86
%91 = getelementptr inbounds %struct.TYPE_34__, ptr %11, i64 2
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %91, i64 16, i1 false), !tbaa.struct !36
%92 = getelementptr inbounds %struct.TYPE_36__, ptr %35, i64 0, i32 1
%93 = load ptr, ptr %92, align 8, !tbaa !37
%94 = load i64, ptr %35, align 8, !tbaa !40
%95 = icmp sgt i64 %94, 0
br i1 %95, label %96, label %122
96: ; preds = %90
%97 = getelementptr inbounds %struct.TYPE_34__, ptr %4, i64 0, i32 1
%98 = load i64, ptr %97, align 8, !tbaa !41
br label %102
99: ; preds = %86
%100 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%101 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %100, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.3) #4
br label %312
102: ; preds = %96, %118
%103 = phi i64 [ %94, %96 ], [ %119, %118 ]
%104 = phi i64 [ 0, %96 ], [ %120, %118 ]
%105 = getelementptr inbounds %struct.TYPE_32__, ptr %93, i64 %104
%106 = load i64, ptr %105, align 8, !tbaa !42
%107 = icmp eq i64 %106, %98
br i1 %107, label %108, label %118
108: ; preds = %102
%109 = getelementptr inbounds %struct.TYPE_39__, ptr %105, i64 0, i32 1
%110 = load i32, ptr %109, align 8, !tbaa !45
%111 = load ptr, ptr %4, align 8, !tbaa !13
%112 = call i64 @ngx_strcasecmp(i32 noundef %110, ptr noundef %111) #4
%113 = icmp eq i64 %112, 0
br i1 %113, label %116, label %114
114: ; preds = %108
%115 = load i64, ptr %35, align 8, !tbaa !40
br label %118
116: ; preds = %108
%117 = getelementptr inbounds %struct.TYPE_43__, ptr %37, i64 0, i32 9
store ptr %105, ptr %117, align 8, !tbaa !46
br label %122
118: ; preds = %114, %102
%119 = phi i64 [ %115, %114 ], [ %103, %102 ]
%120 = add nuw nsw i64 %104, 1
%121 = icmp slt i64 %120, %119
br i1 %121, label %102, label %122, !llvm.loop !47
122: ; preds = %118, %90, %116
%123 = getelementptr inbounds %struct.TYPE_43__, ptr %37, i64 0, i32 9
%124 = load ptr, ptr %123, align 8, !tbaa !46
%125 = icmp eq ptr %124, null
br i1 %125, label %137, label %126
126: ; preds = %122
%127 = load ptr, ptr %8, align 8, !tbaa !5
%128 = load i32, ptr %127, align 8, !tbaa !18
%129 = icmp sgt i32 %128, 3
br i1 %129, label %130, label %312
130: ; preds = %126
%131 = getelementptr inbounds %struct.TYPE_34__, ptr %5, i64 0, i32 1
%132 = getelementptr inbounds %struct.TYPE_43__, ptr %7, i64 0, i32 8
%133 = getelementptr inbounds %struct.TYPE_43__, ptr %7, i64 0, i32 7
%134 = getelementptr inbounds %struct.TYPE_35__, ptr %0, i64 0, i32 1
%135 = getelementptr inbounds %struct.TYPE_43__, ptr %7, i64 0, i32 5
%136 = getelementptr inbounds %struct.TYPE_43__, ptr %37, i64 0, i32 6
br label %140
137: ; preds = %122
%138 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%139 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %138, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str.4, ptr noundef nonnull %4) #4
br label %312
140: ; preds = %130, %222
%141 = phi i32 [ 0, %130 ], [ %224, %222 ]
%142 = phi i64 [ 3, %130 ], [ %225, %222 ]
%143 = phi i64 [ 0, %130 ], [ %223, %222 ]
%144 = getelementptr inbounds %struct.TYPE_34__, ptr %11, i64 %142
%145 = load ptr, ptr %144, align 8, !tbaa !13
%146 = call i64 @ngx_strncmp(ptr noundef %145, ptr noundef nonnull @.str.5, i32 noundef 7) #4
%147 = icmp eq i64 %146, 0
br i1 %147, label %148, label %162
148: ; preds = %140
%149 = getelementptr inbounds %struct.TYPE_34__, ptr %11, i64 %142, i32 1
%150 = load i64, ptr %149, align 8, !tbaa !41
%151 = add nsw i64 %150, -7
store i64 %151, ptr %131, align 8, !tbaa !41
%152 = load ptr, ptr %144, align 8, !tbaa !13
%153 = getelementptr inbounds i8, ptr %152, i64 7
store ptr %153, ptr %5, align 8, !tbaa !13
%154 = call i32 @ngx_parse_size(ptr noundef nonnull %5) #4
%155 = load i32, ptr @NGX_ERROR, align 4, !tbaa !19
%156 = icmp eq i32 %154, %155
%157 = icmp eq i32 %154, 0
%158 = or i1 %157, %156
br i1 %158, label %159, label %222
159: ; preds = %148
%160 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%161 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %160, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.6, ptr noundef nonnull %5) #4
br label %312
162: ; preds = %140
%163 = load ptr, ptr %144, align 8, !tbaa !13
%164 = call i64 @ngx_strncmp(ptr noundef %163, ptr noundef nonnull @.str.7, i32 noundef 6) #4
%165 = icmp eq i64 %164, 0
br i1 %165, label %166, label %181
166: ; preds = %162
%167 = getelementptr inbounds %struct.TYPE_34__, ptr %11, i64 %142, i32 1
%168 = load i64, ptr %167, align 8, !tbaa !41
%169 = add nsw i64 %168, -6
store i64 %169, ptr %131, align 8, !tbaa !41
%170 = load ptr, ptr %144, align 8, !tbaa !13
%171 = getelementptr inbounds i8, ptr %170, i64 6
store ptr %171, ptr %5, align 8, !tbaa !13
%172 = call i64 @ngx_parse_time(ptr noundef nonnull %5, i32 noundef 0) #4
%173 = load i32, ptr @NGX_ERROR, align 4, !tbaa !19
%174 = sext i32 %173 to i64
%175 = icmp eq i64 %172, %174
%176 = icmp eq i64 %172, 0
%177 = or i1 %176, %175
br i1 %177, label %178, label %222
178: ; preds = %166
%179 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%180 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %179, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.8, ptr noundef nonnull %5) #4
br label %312
181: ; preds = %162
%182 = load ptr, ptr %144, align 8, !tbaa !13
%183 = call i64 @ngx_strncmp(ptr noundef %182, ptr noundef nonnull @.str.9, i32 noundef 4) #4
%184 = icmp eq i64 %183, 0
br i1 %184, label %187, label %185
185: ; preds = %181
%186 = load ptr, ptr %144, align 8, !tbaa !13
br label %199
187: ; preds = %181
%188 = getelementptr inbounds %struct.TYPE_34__, ptr %11, i64 %142, i32 1
%189 = load i64, ptr %188, align 8, !tbaa !41
%190 = icmp eq i64 %189, 4
br i1 %190, label %196, label %191
191: ; preds = %187
%192 = load ptr, ptr %144, align 8, !tbaa !13
%193 = getelementptr inbounds i8, ptr %192, i64 4
%194 = load i8, ptr %193, align 1, !tbaa !49
%195 = icmp eq i8 %194, 61
br i1 %195, label %196, label %199
196: ; preds = %191, %187
%197 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%198 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %197, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.10) #4
br label %312
199: ; preds = %185, %191
%200 = phi ptr [ %186, %185 ], [ %192, %191 ]
%201 = call i64 @ngx_strncmp(ptr noundef %200, ptr noundef nonnull @.str.11, i32 noundef 3) #4
%202 = icmp eq i64 %201, 0
br i1 %202, label %203, label %219
203: ; preds = %199
%204 = getelementptr inbounds %struct.TYPE_34__, ptr %11, i64 %142, i32 1
%205 = load i64, ptr %204, align 8, !tbaa !41
%206 = add nsw i64 %205, -3
store i64 %206, ptr %131, align 8, !tbaa !41
%207 = load ptr, ptr %144, align 8, !tbaa !13
%208 = getelementptr inbounds i8, ptr %207, i64 3
store ptr %208, ptr %5, align 8, !tbaa !13
%209 = call i32 @ngx_memzero(ptr noundef nonnull %7, i32 noundef 104) #4
store ptr %0, ptr %132, align 8, !tbaa !29
store ptr %5, ptr %133, align 8, !tbaa !50
%210 = load i32, ptr %134, align 8, !tbaa !21
%211 = call ptr @ngx_palloc(i32 noundef %210, i32 noundef 4) #4
store ptr %211, ptr %135, align 8, !tbaa !51
%212 = icmp eq ptr %211, null
br i1 %212, label %312, label %213
213: ; preds = %203
%214 = call i64 @ngx_stream_compile_complex_value(ptr noundef nonnull %7) #4
%215 = load i64, ptr @NGX_OK, align 8, !tbaa !27
%216 = icmp eq i64 %214, %215
br i1 %216, label %217, label %312
217: ; preds = %213
%218 = load ptr, ptr %135, align 8, !tbaa !51
store ptr %218, ptr %136, align 8, !tbaa !52
br label %222
219: ; preds = %199
%220 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%221 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %220, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef nonnull %144) #4
br label %312
222: ; preds = %166, %148, %217
%223 = phi i64 [ %143, %148 ], [ %172, %166 ], [ %143, %217 ]
%224 = phi i32 [ %154, %148 ], [ %141, %166 ], [ %141, %217 ]
%225 = add nuw nsw i64 %142, 1
%226 = load ptr, ptr %8, align 8, !tbaa !5
%227 = load i32, ptr %226, align 8, !tbaa !18
%228 = sext i32 %227 to i64
%229 = icmp slt i64 %225, %228
br i1 %229, label %140, label %230, !llvm.loop !53
230: ; preds = %222
%231 = icmp ne i64 %223, 0
%232 = icmp eq i32 %224, 0
%233 = select i1 %231, i1 %232, i1 false
br i1 %233, label %234, label %237
234: ; preds = %230
%235 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%236 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %235, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.12, ptr noundef nonnull %12) #4
br label %312
237: ; preds = %230
br i1 %232, label %312, label %238
238: ; preds = %237
%239 = getelementptr inbounds %struct.TYPE_43__, ptr %37, i64 0, i32 4
%240 = load ptr, ptr %239, align 8, !tbaa !28
%241 = icmp eq ptr %240, null
br i1 %241, label %245, label %242
242: ; preds = %238
%243 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%244 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %243, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.13) #4
br label %312
245: ; preds = %238
%246 = getelementptr inbounds %struct.TYPE_43__, ptr %37, i64 0, i32 3
%247 = load ptr, ptr %246, align 8, !tbaa !23
%248 = icmp eq ptr %247, null
br i1 %248, label %252, label %249
249: ; preds = %245
%250 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%251 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %250, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.14) #4
br label %312
252: ; preds = %245
%253 = getelementptr inbounds %struct.TYPE_43__, ptr %37, i64 0, i32 2
%254 = load ptr, ptr %253, align 8, !tbaa !26
%255 = load ptr, ptr %254, align 8, !tbaa !54
%256 = icmp eq ptr %255, null
br i1 %256, label %278, label %257
257: ; preds = %252
%258 = getelementptr inbounds %struct.TYPE_33__, ptr %255, i64 0, i32 4
%259 = load ptr, ptr %258, align 8, !tbaa !56
%260 = getelementptr inbounds %struct.TYPE_33__, ptr %255, i64 0, i32 3
%261 = load ptr, ptr %260, align 8, !tbaa !58
%262 = ptrtoint ptr %259 to i64
%263 = ptrtoint ptr %261 to i64
%264 = sub i64 %262, %263
%265 = ashr exact i64 %264, 2
%266 = sext i32 %224 to i64
%267 = icmp eq i64 %265, %266
br i1 %267, label %268, label %275
268: ; preds = %257
%269 = load i64, ptr %255, align 8, !tbaa !59
%270 = icmp eq i64 %269, %223
br i1 %270, label %271, label %275
271: ; preds = %268
%272 = getelementptr inbounds %struct.TYPE_33__, ptr %255, i64 0, i32 1
%273 = load i32, ptr %272, align 8, !tbaa !60
%274 = icmp eq i32 %273, 0
br i1 %274, label %312, label %275
275: ; preds = %271, %268, %257
%276 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%277 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %276, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.15, ptr noundef nonnull %12) #4
br label %312
278: ; preds = %252
%279 = getelementptr inbounds %struct.TYPE_35__, ptr %0, i64 0, i32 1
%280 = load i32, ptr %279, align 8, !tbaa !21
%281 = call ptr @ngx_pcalloc(i32 noundef %280, i32 noundef 48) #4
%282 = icmp eq ptr %281, null
br i1 %282, label %312, label %283
283: ; preds = %278
%284 = load i32, ptr %279, align 8, !tbaa !21
%285 = call ptr @ngx_pnalloc(i32 noundef %284, i32 noundef %224) #4
%286 = getelementptr inbounds %struct.TYPE_33__, ptr %281, i64 0, i32 3
store ptr %285, ptr %286, align 8, !tbaa !58
%287 = icmp eq ptr %285, null
br i1 %287, label %312, label %288
288: ; preds = %283
%289 = getelementptr inbounds %struct.TYPE_33__, ptr %281, i64 0, i32 5
store ptr %285, ptr %289, align 8, !tbaa !61
%290 = sext i32 %224 to i64
%291 = getelementptr inbounds i32, ptr %285, i64 %290
%292 = getelementptr inbounds %struct.TYPE_33__, ptr %281, i64 0, i32 4
store ptr %291, ptr %292, align 8, !tbaa !56
br i1 %231, label %295, label %293
293: ; preds = %288
%294 = load ptr, ptr %253, align 8, !tbaa !26
br label %307
295: ; preds = %288
%296 = load i32, ptr %279, align 8, !tbaa !21
%297 = call ptr @ngx_pcalloc(i32 noundef %296, i32 noundef 4) #4
%298 = getelementptr inbounds %struct.TYPE_33__, ptr %281, i64 0, i32 2
store ptr %297, ptr %298, align 8, !tbaa !62
%299 = icmp eq ptr %297, null
br i1 %299, label %312, label %300
300: ; preds = %295
%301 = load ptr, ptr %253, align 8, !tbaa !26
%302 = getelementptr inbounds %struct.TYPE_41__, ptr %297, i64 0, i32 3
store ptr %301, ptr %302, align 8, !tbaa !63
%303 = load i32, ptr @ngx_stream_log_flush_handler, align 4, !tbaa !19
%304 = getelementptr inbounds %struct.TYPE_41__, ptr %297, i64 0, i32 2
store i32 %303, ptr %304, align 8, !tbaa !65
%305 = load ptr, ptr %0, align 8, !tbaa !25
%306 = getelementptr inbounds %struct.TYPE_41__, ptr %297, i64 0, i32 1
store ptr %305, ptr %306, align 8, !tbaa !66
store i32 1, ptr %297, align 8, !tbaa !67
store i64 %223, ptr %281, align 8, !tbaa !59
br label %307
307: ; preds = %293, %300
%308 = phi ptr [ %294, %293 ], [ %301, %300 ]
%309 = getelementptr inbounds %struct.TYPE_33__, ptr %281, i64 0, i32 1
store i32 0, ptr %309, align 8, !tbaa !60
%310 = load i32, ptr @ngx_stream_log_flush, align 4, !tbaa !19
%311 = getelementptr inbounds %struct.TYPE_37__, ptr %308, i64 0, i32 1
store i32 %310, ptr %311, align 8, !tbaa !68
store ptr %281, ptr %308, align 8, !tbaa !54
br label %312
312: ; preds = %213, %203, %126, %237, %307, %295, %283, %278, %271, %73, %67, %63, %59, %49, %44, %33, %28, %16, %275, %249, %242, %234, %219, %196, %178, %159, %137, %99, %20
%313 = phi ptr [ @NGX_CONF_ERROR, %20 ], [ @NGX_CONF_ERROR, %137 ], [ @NGX_CONF_ERROR, %159 ], [ @NGX_CONF_ERROR, %178 ], [ @NGX_CONF_ERROR, %196 ], [ @NGX_CONF_ERROR, %219 ], [ @NGX_CONF_ERROR, %234 ], [ @NGX_CONF_ERROR, %242 ], [ @NGX_CONF_ERROR, %249 ], [ @NGX_CONF_ERROR, %275 ], [ @NGX_CONF_ERROR, %99 ], [ @NGX_CONF_OK, %16 ], [ @NGX_CONF_ERROR, %28 ], [ @NGX_CONF_ERROR, %33 ], [ @NGX_CONF_ERROR, %44 ], [ @NGX_CONF_ERROR, %49 ], [ @NGX_CONF_ERROR, %59 ], [ @NGX_CONF_ERROR, %63 ], [ @NGX_CONF_ERROR, %67 ], [ @NGX_CONF_ERROR, %73 ], [ @NGX_CONF_OK, %271 ], [ @NGX_CONF_ERROR, %278 ], [ @NGX_CONF_ERROR, %283 ], [ @NGX_CONF_ERROR, %295 ], [ @NGX_CONF_OK, %307 ], [ @NGX_CONF_OK, %237 ], [ @NGX_CONF_OK, %126 ], [ @NGX_CONF_ERROR, %203 ], [ @NGX_CONF_ERROR, %213 ]
%314 = load ptr, ptr %313, align 8, !tbaa !22
call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
ret ptr %314
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ngx_strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @ngx_array_create(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_stream_conf_get_module_main_conf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_array_push(ptr noundef) local_unnamed_addr #2
declare i32 @ngx_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_syslog_process_conf(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_stream_script_variables_count(ptr noundef) local_unnamed_addr #2
declare ptr @ngx_conf_open_file(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_conf_full_name(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_stream_script_compile(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i64 @ngx_strcasecmp(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_parse_size(ptr noundef) local_unnamed_addr #2
declare i64 @ngx_parse_time(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_palloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_stream_compile_complex_value(ptr noundef) local_unnamed_addr #2
declare ptr @ngx_pnalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"TYPE_35__", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"TYPE_42__", !10, i64 0, !7, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_34__", !7, i64 0, !15, i64 8}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"TYPE_44__", !10, i64 0, !7, i64 8}
!18 = !{!12, !10, i64 0}
!19 = !{!10, !10, i64 0}
!20 = !{!17, !7, i64 8}
!21 = !{!6, !10, i64 8}
!22 = !{!7, !7, i64 0}
!23 = !{!24, !7, i64 16}
!24 = !{!"TYPE_43__", !10, i64 0, !10, i64 4, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !15, i64 72, !7, i64 80, !7, i64 88, !7, i64 96}
!25 = !{!6, !7, i64 0}
!26 = !{!24, !7, i64 8}
!27 = !{!15, !15, i64 0}
!28 = !{!24, !7, i64 24}
!29 = !{!24, !7, i64 56}
!30 = !{!24, !7, i64 96}
!31 = !{!24, !7, i64 88}
!32 = !{!24, !7, i64 80}
!33 = !{!24, !15, i64 72}
!34 = !{!24, !10, i64 0}
!35 = !{!24, !10, i64 4}
!36 = !{i64 0, i64 8, !22, i64 8, i64 8, !27}
!37 = !{!38, !7, i64 8}
!38 = !{!"TYPE_45__", !39, i64 0}
!39 = !{!"TYPE_36__", !15, i64 0, !7, i64 8}
!40 = !{!38, !15, i64 0}
!41 = !{!14, !15, i64 8}
!42 = !{!43, !15, i64 0}
!43 = !{!"TYPE_32__", !44, i64 0}
!44 = !{!"TYPE_39__", !15, i64 0, !10, i64 8}
!45 = !{!43, !10, i64 8}
!46 = !{!24, !7, i64 64}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}
!49 = !{!8, !8, i64 0}
!50 = !{!24, !7, i64 48}
!51 = !{!24, !7, i64 32}
!52 = !{!24, !7, i64 40}
!53 = distinct !{!53, !48}
!54 = !{!55, !7, i64 0}
!55 = !{!"TYPE_37__", !7, i64 0, !10, i64 8}
!56 = !{!57, !7, i64 32}
!57 = !{!"TYPE_33__", !15, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!58 = !{!57, !7, i64 24}
!59 = !{!57, !15, i64 0}
!60 = !{!57, !10, i64 8}
!61 = !{!57, !7, i64 40}
!62 = !{!57, !7, i64 16}
!63 = !{!64, !7, i64 24}
!64 = !{!"TYPE_41__", !10, i64 0, !7, i64 8, !10, i64 16, !7, i64 24}
!65 = !{!64, !10, i64 16}
!66 = !{!64, !7, i64 8}
!67 = !{!64, !10, i64 0}
!68 = !{!55, !10, i64 8}
| ; ModuleID = 'AnghaBench/nginx/src/stream/extr_ngx_stream_log_module.c_ngx_stream_log_set_log.c'
source_filename = "AnghaBench/nginx/src/stream/extr_ngx_stream_log_module.c_ngx_stream_log_set_log.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_34__ = type { ptr, i64 }
%struct.TYPE_43__ = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, ptr, ptr, ptr }
%struct.TYPE_32__ = type { %struct.TYPE_39__ }
%struct.TYPE_39__ = type { i64, i32 }
@.str = private unnamed_addr constant [4 x i8] c"off\00", align 1
@NGX_CONF_OK = common local_unnamed_addr global ptr null, align 8
@NGX_LOG_EMERG = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"invalid parameter \22%V\22\00", align 1
@NGX_CONF_ERROR = common local_unnamed_addr global ptr null, align 8
@ngx_stream_log_module = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"syslog:\00", align 1
@NGX_OK = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [28 x i8] c"log format is not specified\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"unknown log format \22%V\22\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"buffer=\00", align 1
@NGX_ERROR = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [25 x i8] c"invalid buffer size \22%V\22\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"flush=\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"invalid flush time \22%V\22\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"gzip\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"nginx was built without zlib support\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"if=\00", align 1
@.str.12 = private unnamed_addr constant [41 x i8] c"no buffer is defined for access_log \22%V\22\00", align 1
@.str.13 = private unnamed_addr constant [44 x i8] c"buffered logs cannot have variables in name\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"logs to syslog cannot be buffered\00", align 1
@.str.15 = private unnamed_addr constant [60 x i8] c"access_log \22%V\22 already defined with conflicting parameters\00", align 1
@ngx_stream_log_flush_handler = common local_unnamed_addr global i32 0, align 4
@ngx_stream_log_flush = common local_unnamed_addr global i32 0, align 4
@Z_BEST_SPEED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_stream_log_set_log], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ngx_stream_log_set_log(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef %2) #0 {
%4 = alloca %struct.TYPE_34__, align 8
%5 = alloca %struct.TYPE_34__, align 8
%6 = alloca %struct.TYPE_43__, align 8
%7 = alloca %struct.TYPE_43__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %7) #4
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = getelementptr inbounds i8, ptr %9, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = getelementptr inbounds i8, ptr %11, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = tail call i64 @ngx_strcmp(ptr noundef %13, ptr noundef nonnull @.str) #4
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %3
store i32 1, ptr %2, align 8, !tbaa !17
%17 = load ptr, ptr %8, align 8, !tbaa !6
%18 = load i32, ptr %17, align 8, !tbaa !19
%19 = icmp eq i32 %18, 2
br i1 %19, label %310, label %20
20: ; preds = %16
%21 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%22 = getelementptr inbounds i8, ptr %11, i64 32
%23 = tail call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %21, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef nonnull %22) #4
br label %310
24: ; preds = %3
%25 = getelementptr inbounds i8, ptr %2, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !21
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load i32, ptr %29, align 8, !tbaa !22
%31 = tail call ptr @ngx_array_create(i32 noundef %30, i32 noundef 2, i32 noundef 104) #4
store ptr %31, ptr %25, align 8, !tbaa !21
%32 = icmp eq ptr %31, null
br i1 %32, label %310, label %33
33: ; preds = %28, %24
%34 = load i32, ptr @ngx_stream_log_module, align 4, !tbaa !20
%35 = tail call ptr @ngx_stream_conf_get_module_main_conf(ptr noundef nonnull %0, i32 noundef %34) #4
%36 = load ptr, ptr %25, align 8, !tbaa !21
%37 = tail call ptr @ngx_array_push(ptr noundef %36) #4
%38 = icmp eq ptr %37, null
br i1 %38, label %310, label %39
39: ; preds = %33
%40 = tail call i32 @ngx_memzero(ptr noundef nonnull %37, i32 noundef 104) #4
%41 = load ptr, ptr %12, align 8, !tbaa !14
%42 = tail call i64 @ngx_strncmp(ptr noundef %41, ptr noundef nonnull @.str.2, i32 noundef 7) #4
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %55
44: ; preds = %39
%45 = getelementptr inbounds i8, ptr %0, i64 8
%46 = load i32, ptr %45, align 8, !tbaa !22
%47 = tail call ptr @ngx_pcalloc(i32 noundef %46, i32 noundef 4) #4
%48 = icmp eq ptr %47, null
br i1 %48, label %310, label %49
49: ; preds = %44
%50 = tail call ptr @ngx_syslog_process_conf(ptr noundef nonnull %0, ptr noundef nonnull %47) #4
%51 = load ptr, ptr @NGX_CONF_OK, align 8, !tbaa !23
%52 = icmp eq ptr %50, %51
br i1 %52, label %53, label %310
53: ; preds = %49
%54 = getelementptr inbounds i8, ptr %37, i64 16
store ptr %47, ptr %54, align 8, !tbaa !24
br label %85
55: ; preds = %39
%56 = tail call i64 @ngx_stream_script_variables_count(ptr noundef nonnull %12) #4
%57 = icmp eq i64 %56, 0
%58 = load ptr, ptr %0, align 8, !tbaa !26
br i1 %57, label %59, label %63
59: ; preds = %55
%60 = tail call ptr @ngx_conf_open_file(ptr noundef %58, ptr noundef nonnull %12) #4
%61 = getelementptr inbounds i8, ptr %37, i64 8
store ptr %60, ptr %61, align 8, !tbaa !27
%62 = icmp eq ptr %60, null
br i1 %62, label %310, label %85
63: ; preds = %55
%64 = tail call i64 @ngx_conf_full_name(ptr noundef %58, ptr noundef nonnull %12, i32 noundef 0) #4
%65 = load i64, ptr @NGX_OK, align 8, !tbaa !28
%66 = icmp eq i64 %64, %65
br i1 %66, label %67, label %310
67: ; preds = %63
%68 = getelementptr inbounds i8, ptr %0, i64 8
%69 = load i32, ptr %68, align 8, !tbaa !22
%70 = tail call ptr @ngx_pcalloc(i32 noundef %69, i32 noundef 4) #4
%71 = getelementptr inbounds i8, ptr %37, i64 24
store ptr %70, ptr %71, align 8, !tbaa !29
%72 = icmp eq ptr %70, null
br i1 %72, label %310, label %73
73: ; preds = %67
%74 = call i32 @ngx_memzero(ptr noundef nonnull %6, i32 noundef 104) #4
%75 = getelementptr inbounds i8, ptr %6, i64 56
store ptr %0, ptr %75, align 8, !tbaa !30
%76 = getelementptr inbounds i8, ptr %6, i64 96
store ptr %12, ptr %76, align 8, !tbaa !31
%77 = load ptr, ptr %71, align 8, !tbaa !29
%78 = getelementptr inbounds i8, ptr %77, i64 4
%79 = getelementptr inbounds i8, ptr %6, i64 88
store ptr %78, ptr %79, align 8, !tbaa !32
%80 = getelementptr inbounds i8, ptr %6, i64 80
store ptr %77, ptr %80, align 8, !tbaa !33
%81 = getelementptr inbounds i8, ptr %6, i64 72
store i64 %56, ptr %81, align 8, !tbaa !34
store <2 x i32> <i32 1, i32 1>, ptr %6, align 8, !tbaa !20
%82 = call i64 @ngx_stream_script_compile(ptr noundef nonnull %6) #4
%83 = load i64, ptr @NGX_OK, align 8, !tbaa !28
%84 = icmp eq i64 %82, %83
br i1 %84, label %85, label %310
85: ; preds = %59, %73, %53
%86 = load ptr, ptr %8, align 8, !tbaa !6
%87 = load i32, ptr %86, align 8, !tbaa !19
%88 = icmp sgt i32 %87, 2
br i1 %88, label %89, label %98
89: ; preds = %85
%90 = getelementptr inbounds i8, ptr %11, i64 32
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %90, i64 16, i1 false), !tbaa.struct !35
%91 = getelementptr inbounds i8, ptr %35, i64 8
%92 = load ptr, ptr %91, align 8, !tbaa !36
%93 = load i64, ptr %35, align 8, !tbaa !39
%94 = icmp sgt i64 %93, 0
br i1 %94, label %95, label %121
95: ; preds = %89
%96 = getelementptr inbounds i8, ptr %4, i64 8
%97 = load i64, ptr %96, align 8, !tbaa !40
br label %101
98: ; preds = %85
%99 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%100 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %99, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.3) #4
br label %310
101: ; preds = %95, %117
%102 = phi i64 [ %93, %95 ], [ %118, %117 ]
%103 = phi i64 [ 0, %95 ], [ %119, %117 ]
%104 = getelementptr inbounds %struct.TYPE_32__, ptr %92, i64 %103
%105 = load i64, ptr %104, align 8, !tbaa !41
%106 = icmp eq i64 %105, %97
br i1 %106, label %107, label %117
107: ; preds = %101
%108 = getelementptr inbounds i8, ptr %104, i64 8
%109 = load i32, ptr %108, align 8, !tbaa !44
%110 = load ptr, ptr %4, align 8, !tbaa !14
%111 = call i64 @ngx_strcasecmp(i32 noundef %109, ptr noundef %110) #4
%112 = icmp eq i64 %111, 0
br i1 %112, label %115, label %113
113: ; preds = %107
%114 = load i64, ptr %35, align 8, !tbaa !39
br label %117
115: ; preds = %107
%116 = getelementptr inbounds i8, ptr %37, i64 64
store ptr %104, ptr %116, align 8, !tbaa !45
br label %121
117: ; preds = %113, %101
%118 = phi i64 [ %114, %113 ], [ %102, %101 ]
%119 = add nuw nsw i64 %103, 1
%120 = icmp slt i64 %119, %118
br i1 %120, label %101, label %121, !llvm.loop !46
121: ; preds = %117, %89, %115
%122 = getelementptr inbounds i8, ptr %37, i64 64
%123 = load ptr, ptr %122, align 8, !tbaa !45
%124 = icmp eq ptr %123, null
br i1 %124, label %136, label %125
125: ; preds = %121
%126 = load ptr, ptr %8, align 8, !tbaa !6
%127 = load i32, ptr %126, align 8, !tbaa !19
%128 = icmp sgt i32 %127, 3
br i1 %128, label %129, label %310
129: ; preds = %125
%130 = getelementptr inbounds i8, ptr %5, i64 8
%131 = getelementptr inbounds i8, ptr %7, i64 56
%132 = getelementptr inbounds i8, ptr %7, i64 48
%133 = getelementptr inbounds i8, ptr %0, i64 8
%134 = getelementptr inbounds i8, ptr %7, i64 32
%135 = getelementptr inbounds i8, ptr %37, i64 40
br label %139
136: ; preds = %121
%137 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%138 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %137, ptr noundef %0, i32 noundef 0, ptr noundef nonnull @.str.4, ptr noundef nonnull %4) #4
br label %310
139: ; preds = %129, %221
%140 = phi i32 [ 0, %129 ], [ %223, %221 ]
%141 = phi i64 [ 3, %129 ], [ %224, %221 ]
%142 = phi i64 [ 0, %129 ], [ %222, %221 ]
%143 = getelementptr inbounds %struct.TYPE_34__, ptr %11, i64 %141
%144 = load ptr, ptr %143, align 8, !tbaa !14
%145 = call i64 @ngx_strncmp(ptr noundef %144, ptr noundef nonnull @.str.5, i32 noundef 7) #4
%146 = icmp eq i64 %145, 0
br i1 %146, label %147, label %161
147: ; preds = %139
%148 = getelementptr inbounds i8, ptr %143, i64 8
%149 = load i64, ptr %148, align 8, !tbaa !40
%150 = add nsw i64 %149, -7
store i64 %150, ptr %130, align 8, !tbaa !40
%151 = load ptr, ptr %143, align 8, !tbaa !14
%152 = getelementptr inbounds i8, ptr %151, i64 7
store ptr %152, ptr %5, align 8, !tbaa !14
%153 = call i32 @ngx_parse_size(ptr noundef nonnull %5) #4
%154 = load i32, ptr @NGX_ERROR, align 4, !tbaa !20
%155 = icmp eq i32 %153, %154
%156 = icmp eq i32 %153, 0
%157 = or i1 %156, %155
br i1 %157, label %158, label %221
158: ; preds = %147
%159 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%160 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %159, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.6, ptr noundef nonnull %5) #4
br label %310
161: ; preds = %139
%162 = load ptr, ptr %143, align 8, !tbaa !14
%163 = call i64 @ngx_strncmp(ptr noundef %162, ptr noundef nonnull @.str.7, i32 noundef 6) #4
%164 = icmp eq i64 %163, 0
br i1 %164, label %165, label %180
165: ; preds = %161
%166 = getelementptr inbounds i8, ptr %143, i64 8
%167 = load i64, ptr %166, align 8, !tbaa !40
%168 = add nsw i64 %167, -6
store i64 %168, ptr %130, align 8, !tbaa !40
%169 = load ptr, ptr %143, align 8, !tbaa !14
%170 = getelementptr inbounds i8, ptr %169, i64 6
store ptr %170, ptr %5, align 8, !tbaa !14
%171 = call i64 @ngx_parse_time(ptr noundef nonnull %5, i32 noundef 0) #4
%172 = load i32, ptr @NGX_ERROR, align 4, !tbaa !20
%173 = sext i32 %172 to i64
%174 = icmp eq i64 %171, %173
%175 = icmp eq i64 %171, 0
%176 = or i1 %175, %174
br i1 %176, label %177, label %221
177: ; preds = %165
%178 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%179 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %178, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.8, ptr noundef nonnull %5) #4
br label %310
180: ; preds = %161
%181 = load ptr, ptr %143, align 8, !tbaa !14
%182 = call i64 @ngx_strncmp(ptr noundef %181, ptr noundef nonnull @.str.9, i32 noundef 4) #4
%183 = icmp eq i64 %182, 0
br i1 %183, label %186, label %184
184: ; preds = %180
%185 = load ptr, ptr %143, align 8, !tbaa !14
br label %198
186: ; preds = %180
%187 = getelementptr inbounds i8, ptr %143, i64 8
%188 = load i64, ptr %187, align 8, !tbaa !40
%189 = icmp eq i64 %188, 4
br i1 %189, label %195, label %190
190: ; preds = %186
%191 = load ptr, ptr %143, align 8, !tbaa !14
%192 = getelementptr inbounds i8, ptr %191, i64 4
%193 = load i8, ptr %192, align 1, !tbaa !48
%194 = icmp eq i8 %193, 61
br i1 %194, label %195, label %198
195: ; preds = %190, %186
%196 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%197 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %196, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.10) #4
br label %310
198: ; preds = %184, %190
%199 = phi ptr [ %185, %184 ], [ %191, %190 ]
%200 = call i64 @ngx_strncmp(ptr noundef %199, ptr noundef nonnull @.str.11, i32 noundef 3) #4
%201 = icmp eq i64 %200, 0
br i1 %201, label %202, label %218
202: ; preds = %198
%203 = getelementptr inbounds i8, ptr %143, i64 8
%204 = load i64, ptr %203, align 8, !tbaa !40
%205 = add nsw i64 %204, -3
store i64 %205, ptr %130, align 8, !tbaa !40
%206 = load ptr, ptr %143, align 8, !tbaa !14
%207 = getelementptr inbounds i8, ptr %206, i64 3
store ptr %207, ptr %5, align 8, !tbaa !14
%208 = call i32 @ngx_memzero(ptr noundef nonnull %7, i32 noundef 104) #4
store ptr %0, ptr %131, align 8, !tbaa !30
store ptr %5, ptr %132, align 8, !tbaa !49
%209 = load i32, ptr %133, align 8, !tbaa !22
%210 = call ptr @ngx_palloc(i32 noundef %209, i32 noundef 4) #4
store ptr %210, ptr %134, align 8, !tbaa !50
%211 = icmp eq ptr %210, null
br i1 %211, label %310, label %212
212: ; preds = %202
%213 = call i64 @ngx_stream_compile_complex_value(ptr noundef nonnull %7) #4
%214 = load i64, ptr @NGX_OK, align 8, !tbaa !28
%215 = icmp eq i64 %213, %214
br i1 %215, label %216, label %310
216: ; preds = %212
%217 = load ptr, ptr %134, align 8, !tbaa !50
store ptr %217, ptr %135, align 8, !tbaa !51
br label %221
218: ; preds = %198
%219 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%220 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %219, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef nonnull %143) #4
br label %310
221: ; preds = %165, %147, %216
%222 = phi i64 [ %142, %147 ], [ %171, %165 ], [ %142, %216 ]
%223 = phi i32 [ %153, %147 ], [ %140, %165 ], [ %140, %216 ]
%224 = add nuw nsw i64 %141, 1
%225 = load ptr, ptr %8, align 8, !tbaa !6
%226 = load i32, ptr %225, align 8, !tbaa !19
%227 = sext i32 %226 to i64
%228 = icmp slt i64 %224, %227
br i1 %228, label %139, label %229, !llvm.loop !52
229: ; preds = %221
%230 = icmp ne i64 %222, 0
%231 = icmp eq i32 %223, 0
%232 = select i1 %230, i1 %231, i1 false
br i1 %232, label %233, label %236
233: ; preds = %229
%234 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%235 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %234, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.12, ptr noundef nonnull %12) #4
br label %310
236: ; preds = %229
br i1 %231, label %310, label %237
237: ; preds = %236
%238 = getelementptr inbounds i8, ptr %37, i64 24
%239 = load ptr, ptr %238, align 8, !tbaa !29
%240 = icmp eq ptr %239, null
br i1 %240, label %244, label %241
241: ; preds = %237
%242 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%243 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %242, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.13) #4
br label %310
244: ; preds = %237
%245 = getelementptr inbounds i8, ptr %37, i64 16
%246 = load ptr, ptr %245, align 8, !tbaa !24
%247 = icmp eq ptr %246, null
br i1 %247, label %251, label %248
248: ; preds = %244
%249 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%250 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %249, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.14) #4
br label %310
251: ; preds = %244
%252 = getelementptr inbounds i8, ptr %37, i64 8
%253 = load ptr, ptr %252, align 8, !tbaa !27
%254 = load ptr, ptr %253, align 8, !tbaa !53
%255 = icmp eq ptr %254, null
br i1 %255, label %277, label %256
256: ; preds = %251
%257 = getelementptr inbounds i8, ptr %254, i64 32
%258 = load ptr, ptr %257, align 8, !tbaa !55
%259 = getelementptr inbounds i8, ptr %254, i64 24
%260 = load ptr, ptr %259, align 8, !tbaa !57
%261 = ptrtoint ptr %258 to i64
%262 = ptrtoint ptr %260 to i64
%263 = sub i64 %261, %262
%264 = ashr exact i64 %263, 2
%265 = sext i32 %223 to i64
%266 = icmp eq i64 %264, %265
br i1 %266, label %267, label %274
267: ; preds = %256
%268 = load i64, ptr %254, align 8, !tbaa !58
%269 = icmp eq i64 %268, %222
br i1 %269, label %270, label %274
270: ; preds = %267
%271 = getelementptr inbounds i8, ptr %254, i64 8
%272 = load i32, ptr %271, align 8, !tbaa !59
%273 = icmp eq i32 %272, 0
br i1 %273, label %310, label %274
274: ; preds = %270, %267, %256
%275 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !20
%276 = call i32 (i32, ptr, i32, ptr, ...) @ngx_conf_log_error(i32 noundef %275, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.15, ptr noundef nonnull %12) #4
br label %310
277: ; preds = %251
%278 = load i32, ptr %133, align 8, !tbaa !22
%279 = call ptr @ngx_pcalloc(i32 noundef %278, i32 noundef 48) #4
%280 = icmp eq ptr %279, null
br i1 %280, label %310, label %281
281: ; preds = %277
%282 = load i32, ptr %133, align 8, !tbaa !22
%283 = call ptr @ngx_pnalloc(i32 noundef %282, i32 noundef %223) #4
%284 = getelementptr inbounds i8, ptr %279, i64 24
store ptr %283, ptr %284, align 8, !tbaa !57
%285 = icmp eq ptr %283, null
br i1 %285, label %310, label %286
286: ; preds = %281
%287 = getelementptr inbounds i8, ptr %279, i64 40
store ptr %283, ptr %287, align 8, !tbaa !60
%288 = sext i32 %223 to i64
%289 = getelementptr inbounds i32, ptr %283, i64 %288
%290 = getelementptr inbounds i8, ptr %279, i64 32
store ptr %289, ptr %290, align 8, !tbaa !55
br i1 %230, label %293, label %291
291: ; preds = %286
%292 = load ptr, ptr %252, align 8, !tbaa !27
br label %305
293: ; preds = %286
%294 = load i32, ptr %133, align 8, !tbaa !22
%295 = call ptr @ngx_pcalloc(i32 noundef %294, i32 noundef 4) #4
%296 = getelementptr inbounds i8, ptr %279, i64 16
store ptr %295, ptr %296, align 8, !tbaa !61
%297 = icmp eq ptr %295, null
br i1 %297, label %310, label %298
298: ; preds = %293
%299 = load ptr, ptr %252, align 8, !tbaa !27
%300 = getelementptr inbounds i8, ptr %295, i64 24
store ptr %299, ptr %300, align 8, !tbaa !62
%301 = load i32, ptr @ngx_stream_log_flush_handler, align 4, !tbaa !20
%302 = getelementptr inbounds i8, ptr %295, i64 16
store i32 %301, ptr %302, align 8, !tbaa !64
%303 = load ptr, ptr %0, align 8, !tbaa !26
%304 = getelementptr inbounds i8, ptr %295, i64 8
store ptr %303, ptr %304, align 8, !tbaa !65
store i32 1, ptr %295, align 8, !tbaa !66
store i64 %222, ptr %279, align 8, !tbaa !58
br label %305
305: ; preds = %291, %298
%306 = phi ptr [ %292, %291 ], [ %299, %298 ]
%307 = getelementptr inbounds i8, ptr %279, i64 8
store i32 0, ptr %307, align 8, !tbaa !59
%308 = load i32, ptr @ngx_stream_log_flush, align 4, !tbaa !20
%309 = getelementptr inbounds i8, ptr %306, i64 8
store i32 %308, ptr %309, align 8, !tbaa !67
store ptr %279, ptr %306, align 8, !tbaa !53
br label %310
310: ; preds = %212, %202, %125, %236, %305, %293, %281, %277, %270, %73, %67, %63, %59, %49, %44, %33, %28, %16, %274, %248, %241, %233, %218, %195, %177, %158, %136, %98, %20
%311 = phi ptr [ @NGX_CONF_ERROR, %20 ], [ @NGX_CONF_ERROR, %136 ], [ @NGX_CONF_ERROR, %158 ], [ @NGX_CONF_ERROR, %177 ], [ @NGX_CONF_ERROR, %195 ], [ @NGX_CONF_ERROR, %218 ], [ @NGX_CONF_ERROR, %233 ], [ @NGX_CONF_ERROR, %241 ], [ @NGX_CONF_ERROR, %248 ], [ @NGX_CONF_ERROR, %274 ], [ @NGX_CONF_ERROR, %98 ], [ @NGX_CONF_OK, %16 ], [ @NGX_CONF_ERROR, %28 ], [ @NGX_CONF_ERROR, %33 ], [ @NGX_CONF_ERROR, %44 ], [ @NGX_CONF_ERROR, %49 ], [ @NGX_CONF_ERROR, %59 ], [ @NGX_CONF_ERROR, %63 ], [ @NGX_CONF_ERROR, %67 ], [ @NGX_CONF_ERROR, %73 ], [ @NGX_CONF_OK, %270 ], [ @NGX_CONF_ERROR, %277 ], [ @NGX_CONF_ERROR, %281 ], [ @NGX_CONF_ERROR, %293 ], [ @NGX_CONF_OK, %305 ], [ @NGX_CONF_OK, %236 ], [ @NGX_CONF_OK, %125 ], [ @NGX_CONF_ERROR, %202 ], [ @NGX_CONF_ERROR, %212 ]
%312 = load ptr, ptr %311, align 8, !tbaa !23
call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
ret ptr %312
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @ngx_strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @ngx_array_create(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_stream_conf_get_module_main_conf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_array_push(ptr noundef) local_unnamed_addr #2
declare i32 @ngx_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_syslog_process_conf(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_stream_script_variables_count(ptr noundef) local_unnamed_addr #2
declare ptr @ngx_conf_open_file(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @ngx_conf_full_name(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_stream_script_compile(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i64 @ngx_strcasecmp(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ngx_parse_size(ptr noundef) local_unnamed_addr #2
declare i64 @ngx_parse_time(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ngx_palloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ngx_stream_compile_complex_value(ptr noundef) local_unnamed_addr #2
declare ptr @ngx_pnalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"TYPE_35__", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 8}
!13 = !{!"TYPE_42__", !11, i64 0, !8, i64 8}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_34__", !8, i64 0, !16, i64 8}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_44__", !11, i64 0, !8, i64 8}
!19 = !{!13, !11, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!18, !8, i64 8}
!22 = !{!7, !11, i64 8}
!23 = !{!8, !8, i64 0}
!24 = !{!25, !8, i64 16}
!25 = !{!"TYPE_43__", !11, i64 0, !11, i64 4, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !16, i64 72, !8, i64 80, !8, i64 88, !8, i64 96}
!26 = !{!7, !8, i64 0}
!27 = !{!25, !8, i64 8}
!28 = !{!16, !16, i64 0}
!29 = !{!25, !8, i64 24}
!30 = !{!25, !8, i64 56}
!31 = !{!25, !8, i64 96}
!32 = !{!25, !8, i64 88}
!33 = !{!25, !8, i64 80}
!34 = !{!25, !16, i64 72}
!35 = !{i64 0, i64 8, !23, i64 8, i64 8, !28}
!36 = !{!37, !8, i64 8}
!37 = !{!"TYPE_45__", !38, i64 0}
!38 = !{!"TYPE_36__", !16, i64 0, !8, i64 8}
!39 = !{!37, !16, i64 0}
!40 = !{!15, !16, i64 8}
!41 = !{!42, !16, i64 0}
!42 = !{!"TYPE_32__", !43, i64 0}
!43 = !{!"TYPE_39__", !16, i64 0, !11, i64 8}
!44 = !{!42, !11, i64 8}
!45 = !{!25, !8, i64 64}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = !{!9, !9, i64 0}
!49 = !{!25, !8, i64 48}
!50 = !{!25, !8, i64 32}
!51 = !{!25, !8, i64 40}
!52 = distinct !{!52, !47}
!53 = !{!54, !8, i64 0}
!54 = !{!"TYPE_37__", !8, i64 0, !11, i64 8}
!55 = !{!56, !8, i64 32}
!56 = !{!"TYPE_33__", !16, i64 0, !11, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40}
!57 = !{!56, !8, i64 24}
!58 = !{!56, !16, i64 0}
!59 = !{!56, !11, i64 8}
!60 = !{!56, !8, i64 40}
!61 = !{!56, !8, i64 16}
!62 = !{!63, !8, i64 24}
!63 = !{!"TYPE_41__", !11, i64 0, !8, i64 8, !11, i64 16, !8, i64 24}
!64 = !{!63, !11, i64 16}
!65 = !{!63, !8, i64 8}
!66 = !{!63, !11, i64 0}
!67 = !{!54, !11, i64 8}
| nginx_src_stream_extr_ngx_stream_log_module.c_ngx_stream_log_set_log |
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/dsfmt/extr_dSFMT.h_dsfmt_genrand_close1_open2.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/dsfmt/extr_dSFMT.h_dsfmt_genrand_close1_open2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, ptr }
@DSFMT_N64 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @dsfmt_genrand_close1_open2], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal double @dsfmt_genrand_close1_open2(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i64, ptr %0, align 8, !tbaa !13
%6 = load i64, ptr @DSFMT_N64, align 8, !tbaa !14
%7 = icmp slt i64 %5, %6
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @dsfmt_gen_rand_all(ptr noundef nonnull %0) #2
br label %10
10: ; preds = %8, %1
%11 = phi i64 [ 0, %8 ], [ %5, %1 ]
%12 = add nsw i64 %11, 1
store i64 %12, ptr %0, align 8, !tbaa !13
%13 = getelementptr inbounds double, ptr %4, i64 %11
%14 = load double, ptr %13, align 8, !tbaa !15
ret double %14
}
declare i32 @dsfmt_gen_rand_all(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, !10, i64 8}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_5__", !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !8, i64 0}
| ; ModuleID = 'AnghaBench/ccv/lib/3rdparty/dsfmt/extr_dSFMT.h_dsfmt_genrand_close1_open2.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/dsfmt/extr_dSFMT.h_dsfmt_genrand_close1_open2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DSFMT_N64 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @dsfmt_genrand_close1_open2], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal double @dsfmt_genrand_close1_open2(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i64, ptr %0, align 8, !tbaa !14
%6 = load i64, ptr @DSFMT_N64, align 8, !tbaa !15
%7 = icmp slt i64 %5, %6
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @dsfmt_gen_rand_all(ptr noundef nonnull %0) #2
br label %10
10: ; preds = %8, %1
%11 = phi i64 [ 0, %8 ], [ %5, %1 ]
%12 = add nsw i64 %11, 1
store i64 %12, ptr %0, align 8, !tbaa !14
%13 = getelementptr inbounds double, ptr %4, i64 %11
%14 = load double, ptr %13, align 8, !tbaa !16
ret double %14
}
declare i32 @dsfmt_gen_rand_all(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, !11, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_5__", !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !9, i64 0}
| ccv_lib_3rdparty_dsfmt_extr_dSFMT.h_dsfmt_genrand_close1_open2 |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/stringloops/extr_memcmp.c_testcases.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/stringloops/extr_memcmp.c_testcases.c"
target datalayout = "e-m:e-p270:32:32-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 @testcases], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @testcases() #0 {
%1 = tail call i32 @testcase(i32 noundef 0) #2
%2 = tail call i32 @testcase(i32 noundef 1) #2
ret i32 0
}
declare i32 @testcase(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/tools/testing/selftests/powerpc/stringloops/extr_memcmp.c_testcases.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/stringloops/extr_memcmp.c_testcases.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 @testcases], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @testcases() #0 {
%1 = tail call i32 @testcase(i32 noundef 0) #2
%2 = tail call i32 @testcase(i32 noundef 1) #2
ret i32 0
}
declare i32 @testcase(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_tools_testing_selftests_powerpc_stringloops_extr_memcmp.c_testcases |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_usb6501.c_ni6501_detach.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_usb6501.c_ni6501_detach.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ni6501_private = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ni6501_detach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ni6501_detach(ptr noundef %0) #0 {
%2 = tail call ptr @comedi_to_usb_interface(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %14, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.ni6501_private, ptr %3, i64 0, i32 2
%7 = tail call i32 @mutex_destroy(ptr noundef nonnull %6) #2
%8 = tail call i32 @usb_set_intfdata(ptr noundef %2, ptr noundef null) #2
%9 = getelementptr inbounds %struct.ni6501_private, ptr %3, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = tail call i32 @kfree(i32 noundef %10) #2
%12 = load i32, ptr %3, align 4, !tbaa !13
%13 = tail call i32 @kfree(i32 noundef %12) #2
br label %14
14: ; preds = %1, %5
ret void
}
declare ptr @comedi_to_usb_interface(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @usb_set_intfdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"comedi_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"ni6501_private", !12, i64 0, !12, i64 4, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_usb6501.c_ni6501_detach.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_usb6501.c_ni6501_detach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ni6501_detach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ni6501_detach(ptr noundef %0) #0 {
%2 = tail call ptr @comedi_to_usb_interface(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %14, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %3, i64 8
%7 = tail call i32 @mutex_destroy(ptr noundef nonnull %6) #2
%8 = tail call i32 @usb_set_intfdata(ptr noundef %2, ptr noundef null) #2
%9 = getelementptr inbounds i8, ptr %3, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = tail call i32 @kfree(i32 noundef %10) #2
%12 = load i32, ptr %3, align 4, !tbaa !14
%13 = tail call i32 @kfree(i32 noundef %12) #2
br label %14
14: ; preds = %1, %5
ret void
}
declare ptr @comedi_to_usb_interface(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @usb_set_intfdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"comedi_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 4}
!12 = !{!"ni6501_private", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 0}
| linux_drivers_staging_comedi_drivers_extr_ni_usb6501.c_ni6501_detach |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_pnfs.c_end_offset.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_pnfs.c_end_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"
@NFS4_MAX_UINT64 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @end_offset], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i64 @end_offset(i64 noundef %0, i64 noundef %1) #0 {
%3 = add nsw i64 %1, %0
%4 = icmp slt i64 %1, 0
%5 = load i64, ptr @NFS4_MAX_UINT64, align 8
%6 = select i1 %4, i64 %5, i64 %3
ret i64 %6
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_pnfs.c_end_offset.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_pnfs.c_end_offset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NFS4_MAX_UINT64 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @end_offset], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i64 @end_offset(i64 noundef %0, i64 noundef %1) #0 {
%3 = add nsw i64 %1, %0
%4 = icmp slt i64 %1, 0
%5 = load i64, ptr @NFS4_MAX_UINT64, align 8
%6 = select i1 %4, i64 %5, i64 %3
ret i64 %6
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_fs_nfs_extr_pnfs.c_end_offset |
; ModuleID = 'AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_be_mcc_queues_destroy.c'
source_filename = "AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_be_mcc_queues_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.TYPE_6__ = type { %struct.be_queue_info, %struct.be_queue_info }
%struct.be_queue_info = type { i64 }
%struct.be_ctrl_info = type { %struct.TYPE_6__, ptr, ptr, ptr, ptr }
%struct.TYPE_5__ = type { i32, %struct.be_dma_mem }
%struct.be_dma_mem = type { i64, i32, i32 }
@MAX_MCC_CMD = dso_local local_unnamed_addr global i32 0, align 4
@MCC_TAG_STATE_RUNNING = dso_local local_unnamed_addr global i32 0, align 4
@MCC_TAG_STATE_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@MCC_STATUS_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@CQE_VALID_MASK = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@QTYPE_MCCQ = dso_local local_unnamed_addr global i32 0, align 4
@QTYPE_CQ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @be_mcc_queues_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @be_mcc_queues_destroy(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%3 = load i32, ptr @MAX_MCC_CMD, align 4, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %67
5: ; preds = %1
%6 = getelementptr inbounds %struct.be_ctrl_info, ptr %0, i64 0, i32 1
%7 = getelementptr inbounds %struct.be_ctrl_info, ptr %0, i64 0, i32 4
%8 = getelementptr inbounds %struct.be_ctrl_info, ptr %0, i64 0, i32 2
%9 = getelementptr inbounds %struct.be_ctrl_info, ptr %0, i64 0, i32 3
br label %10
10: ; preds = %5, %63
%11 = phi i64 [ 0, %5 ], [ %12, %63 ]
%12 = add nuw nsw i64 %11, 1
%13 = load i32, ptr @MCC_TAG_STATE_RUNNING, align 4, !tbaa !5
%14 = load ptr, ptr %6, align 8, !tbaa !9
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i64 %12
%16 = tail call i64 @test_bit(i32 noundef %13, ptr noundef nonnull %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %63, label %18
18: ; preds = %10
%19 = load i32, ptr @MCC_TAG_STATE_TIMEOUT, align 4, !tbaa !5
%20 = load ptr, ptr %6, align 8, !tbaa !9
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %20, i64 %12
%22 = tail call i64 @test_bit(i32 noundef %19, ptr noundef nonnull %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %36, label %24
24: ; preds = %18
%25 = load ptr, ptr %6, align 8, !tbaa !9
%26 = getelementptr inbounds %struct.TYPE_5__, ptr %25, i64 %12, i32 1
%27 = load i64, ptr %26, align 8, !tbaa !15
%28 = icmp eq i64 %27, 0
br i1 %28, label %63, label %29
29: ; preds = %24
%30 = load ptr, ptr %7, align 8, !tbaa !17
%31 = getelementptr inbounds %struct.TYPE_5__, ptr %25, i64 %12, i32 1, i32 2
%32 = load i32, ptr %31, align 4, !tbaa !18
%33 = getelementptr inbounds %struct.TYPE_5__, ptr %25, i64 %12, i32 1, i32 1
%34 = load i32, ptr %33, align 8, !tbaa !19
%35 = tail call i32 @dma_free_coherent(ptr noundef %30, i64 noundef %27, i32 noundef %32, i32 noundef %34) #2
store i64 0, ptr %26, align 8, !tbaa !15
br label %63
36: ; preds = %18
%37 = load ptr, ptr %8, align 8, !tbaa !20
%38 = getelementptr inbounds i32, ptr %37, i64 %12
%39 = tail call i64 @waitqueue_active(ptr noundef nonnull %38) #2
%40 = icmp eq i64 %39, 0
br i1 %40, label %63, label %41
41: ; preds = %36
%42 = load i32, ptr @MCC_STATUS_FAILED, align 4, !tbaa !5
%43 = load ptr, ptr %9, align 8, !tbaa !21
%44 = getelementptr inbounds i32, ptr %43, i64 %12
store i32 %42, ptr %44, align 4, !tbaa !5
%45 = load i32, ptr @CQE_VALID_MASK, align 4, !tbaa !5
%46 = or i32 %45, %42
store i32 %46, ptr %44, align 4, !tbaa !5
%47 = load ptr, ptr %8, align 8, !tbaa !20
%48 = getelementptr inbounds i32, ptr %47, i64 %12
%49 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %48) #2
%50 = load i32, ptr @MCC_TAG_STATE_RUNNING, align 4, !tbaa !5
%51 = load ptr, ptr %6, align 8, !tbaa !9
%52 = getelementptr inbounds %struct.TYPE_5__, ptr %51, i64 %12
%53 = tail call i64 @test_bit(i32 noundef %50, ptr noundef nonnull %52) #2
%54 = icmp eq i64 %53, 0
br i1 %54, label %63, label %55
55: ; preds = %41, %55
%56 = load i32, ptr @HZ, align 4, !tbaa !5
%57 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef %56) #2
%58 = load i32, ptr @MCC_TAG_STATE_RUNNING, align 4, !tbaa !5
%59 = load ptr, ptr %6, align 8, !tbaa !9
%60 = getelementptr inbounds %struct.TYPE_5__, ptr %59, i64 %12
%61 = tail call i64 @test_bit(i32 noundef %58, ptr noundef nonnull %60) #2
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %55, !llvm.loop !22
63: ; preds = %55, %41, %36, %24, %29, %10
%64 = load i32, ptr @MAX_MCC_CMD, align 4, !tbaa !5
%65 = sext i32 %64 to i64
%66 = icmp slt i64 %12, %65
br i1 %66, label %10, label %67, !llvm.loop !24
67: ; preds = %63, %1
%68 = load i64, ptr %2, align 8, !tbaa !25
%69 = icmp eq i64 %68, 0
br i1 %69, label %74, label %70
70: ; preds = %67
%71 = load i32, ptr @QTYPE_MCCQ, align 4, !tbaa !5
%72 = tail call i32 @beiscsi_cmd_q_destroy(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef %71) #2
%73 = tail call i32 @be_queue_free(ptr noundef nonnull %0, ptr noundef nonnull %2) #2
br label %74
74: ; preds = %70, %67
%75 = load i64, ptr %0, align 8, !tbaa !25
%76 = icmp eq i64 %75, 0
br i1 %76, label %81, label %77
77: ; preds = %74
%78 = load i32, ptr @QTYPE_CQ, align 4, !tbaa !5
%79 = tail call i32 @beiscsi_cmd_q_destroy(ptr noundef nonnull %0, ptr noundef nonnull %0, i32 noundef %78) #2
%80 = tail call i32 @be_queue_free(ptr noundef nonnull %0, ptr noundef nonnull %0) #2
br label %81
81: ; preds = %77, %74
ret void
}
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dma_free_coherent(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @waitqueue_active(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_timeout_uninterruptible(i32 noundef) local_unnamed_addr #1
declare i32 @beiscsi_cmd_q_destroy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be_queue_free(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !14, i64 16}
!10 = !{!"be_ctrl_info", !11, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!11 = !{!"TYPE_6__", !12, i64 0, !12, i64 8}
!12 = !{!"be_queue_info", !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"be_dma_mem", !13, i64 0, !6, i64 8, !6, i64 12}
!17 = !{!10, !14, i64 40}
!18 = !{!16, !6, i64 12}
!19 = !{!16, !6, i64 8}
!20 = !{!10, !14, i64 24}
!21 = !{!10, !14, i64 32}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!12, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_be_mcc_queues_destroy.c'
source_filename = "AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_be_mcc_queues_destroy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i32, %struct.be_dma_mem }
%struct.be_dma_mem = type { i64, i32, i32 }
@MAX_MCC_CMD = common local_unnamed_addr global i32 0, align 4
@MCC_TAG_STATE_RUNNING = common local_unnamed_addr global i32 0, align 4
@MCC_TAG_STATE_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@MCC_STATUS_FAILED = common local_unnamed_addr global i32 0, align 4
@CQE_VALID_MASK = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@QTYPE_MCCQ = common local_unnamed_addr global i32 0, align 4
@QTYPE_CQ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @be_mcc_queues_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @be_mcc_queues_destroy(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr @MAX_MCC_CMD, align 4, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %67
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = getelementptr inbounds i8, ptr %0, i64 40
%8 = getelementptr inbounds i8, ptr %0, i64 24
%9 = getelementptr inbounds i8, ptr %0, i64 32
br label %10
10: ; preds = %5, %63
%11 = phi i64 [ 0, %5 ], [ %12, %63 ]
%12 = add nuw nsw i64 %11, 1
%13 = load i32, ptr @MCC_TAG_STATE_RUNNING, align 4, !tbaa !6
%14 = load ptr, ptr %6, align 8, !tbaa !10
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i64 %12
%16 = tail call i64 @test_bit(i32 noundef %13, ptr noundef nonnull %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %63, label %18
18: ; preds = %10
%19 = load i32, ptr @MCC_TAG_STATE_TIMEOUT, align 4, !tbaa !6
%20 = load ptr, ptr %6, align 8, !tbaa !10
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %20, i64 %12
%22 = tail call i64 @test_bit(i32 noundef %19, ptr noundef nonnull %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %36, label %24
24: ; preds = %18
%25 = load ptr, ptr %6, align 8, !tbaa !10
%26 = getelementptr inbounds %struct.TYPE_5__, ptr %25, i64 %12, i32 1
%27 = load i64, ptr %26, align 8, !tbaa !16
%28 = icmp eq i64 %27, 0
br i1 %28, label %63, label %29
29: ; preds = %24
%30 = load ptr, ptr %7, align 8, !tbaa !18
%31 = getelementptr inbounds i8, ptr %26, i64 12
%32 = load i32, ptr %31, align 4, !tbaa !19
%33 = getelementptr inbounds i8, ptr %26, i64 8
%34 = load i32, ptr %33, align 8, !tbaa !20
%35 = tail call i32 @dma_free_coherent(ptr noundef %30, i64 noundef %27, i32 noundef %32, i32 noundef %34) #2
store i64 0, ptr %26, align 8, !tbaa !16
br label %63
36: ; preds = %18
%37 = load ptr, ptr %8, align 8, !tbaa !21
%38 = getelementptr inbounds i32, ptr %37, i64 %12
%39 = tail call i64 @waitqueue_active(ptr noundef nonnull %38) #2
%40 = icmp eq i64 %39, 0
br i1 %40, label %63, label %41
41: ; preds = %36
%42 = load i32, ptr @MCC_STATUS_FAILED, align 4, !tbaa !6
%43 = load ptr, ptr %9, align 8, !tbaa !22
%44 = getelementptr inbounds i32, ptr %43, i64 %12
store i32 %42, ptr %44, align 4, !tbaa !6
%45 = load i32, ptr @CQE_VALID_MASK, align 4, !tbaa !6
%46 = or i32 %45, %42
store i32 %46, ptr %44, align 4, !tbaa !6
%47 = load ptr, ptr %8, align 8, !tbaa !21
%48 = getelementptr inbounds i32, ptr %47, i64 %12
%49 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %48) #2
%50 = load i32, ptr @MCC_TAG_STATE_RUNNING, align 4, !tbaa !6
%51 = load ptr, ptr %6, align 8, !tbaa !10
%52 = getelementptr inbounds %struct.TYPE_5__, ptr %51, i64 %12
%53 = tail call i64 @test_bit(i32 noundef %50, ptr noundef nonnull %52) #2
%54 = icmp eq i64 %53, 0
br i1 %54, label %63, label %55
55: ; preds = %41, %55
%56 = load i32, ptr @HZ, align 4, !tbaa !6
%57 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef %56) #2
%58 = load i32, ptr @MCC_TAG_STATE_RUNNING, align 4, !tbaa !6
%59 = load ptr, ptr %6, align 8, !tbaa !10
%60 = getelementptr inbounds %struct.TYPE_5__, ptr %59, i64 %12
%61 = tail call i64 @test_bit(i32 noundef %58, ptr noundef nonnull %60) #2
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %55, !llvm.loop !23
63: ; preds = %55, %41, %36, %24, %29, %10
%64 = load i32, ptr @MAX_MCC_CMD, align 4, !tbaa !6
%65 = sext i32 %64 to i64
%66 = icmp slt i64 %12, %65
br i1 %66, label %10, label %67, !llvm.loop !25
67: ; preds = %63, %1
%68 = load i64, ptr %2, align 8, !tbaa !26
%69 = icmp eq i64 %68, 0
br i1 %69, label %74, label %70
70: ; preds = %67
%71 = load i32, ptr @QTYPE_MCCQ, align 4, !tbaa !6
%72 = tail call i32 @beiscsi_cmd_q_destroy(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef %71) #2
%73 = tail call i32 @be_queue_free(ptr noundef nonnull %0, ptr noundef nonnull %2) #2
br label %74
74: ; preds = %70, %67
%75 = load i64, ptr %0, align 8, !tbaa !26
%76 = icmp eq i64 %75, 0
br i1 %76, label %81, label %77
77: ; preds = %74
%78 = load i32, ptr @QTYPE_CQ, align 4, !tbaa !6
%79 = tail call i32 @beiscsi_cmd_q_destroy(ptr noundef nonnull %0, ptr noundef nonnull %0, i32 noundef %78) #2
%80 = tail call i32 @be_queue_free(ptr noundef nonnull %0, ptr noundef nonnull %0) #2
br label %81
81: ; preds = %77, %74
ret void
}
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dma_free_coherent(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @waitqueue_active(ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_timeout_uninterruptible(i32 noundef) local_unnamed_addr #1
declare i32 @beiscsi_cmd_q_destroy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be_queue_free(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !15, i64 16}
!11 = !{!"be_ctrl_info", !12, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40}
!12 = !{!"TYPE_6__", !13, i64 0, !13, i64 8}
!13 = !{!"be_queue_info", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"be_dma_mem", !14, i64 0, !7, i64 8, !7, i64 12}
!18 = !{!11, !15, i64 40}
!19 = !{!17, !7, i64 12}
!20 = !{!17, !7, i64 8}
!21 = !{!11, !15, i64 24}
!22 = !{!11, !15, i64 32}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!13, !14, i64 0}
| linux_drivers_scsi_be2iscsi_extr_be_main.c_be_mcc_queues_destroy |
; ModuleID = 'AnghaBench/freebsd/contrib/sendmail/libsm/extr_b-strl.c_purpose.c'
source_filename = "AnghaBench/freebsd/contrib/sendmail/libsm/extr_b-strl.c_purpose.c"
target datalayout = "e-m:e-p270:32:32-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 [61 x i8] c"This program benchmarks the performance differences between\0A\00", align 1
@.str.1 = private unnamed_addr constant [61 x i8] c"strlcpy() and sm_strlcpy(), and strlcat() and sm_strlcat().\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"These tests may take several minutes to complete.\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @purpose() local_unnamed_addr #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%2 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.2) #2
ret void
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/sendmail/libsm/extr_b-strl.c_purpose.c'
source_filename = "AnghaBench/freebsd/contrib/sendmail/libsm/extr_b-strl.c_purpose.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 [61 x i8] c"This program benchmarks the performance differences between\0A\00", align 1
@.str.1 = private unnamed_addr constant [61 x i8] c"strlcpy() and sm_strlcpy(), and strlcat() and sm_strlcat().\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"These tests may take several minutes to complete.\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @purpose() local_unnamed_addr #0 {
%1 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%2 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%3 = tail call i32 @printf(ptr noundef nonnull @.str.2) #2
ret void
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_sendmail_libsm_extr_b-strl.c_purpose |
; ModuleID = 'AnghaBench/linux/fs/ext2/extr_super.c_ext2_freeze.c'
source_filename = "AnghaBench/linux/fs/ext2/extr_super.c_ext2_freeze.c"
target datalayout = "e-m:e-p270:32:32-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.ext2_sb_info = type { ptr, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ext2_freeze], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ext2_freeze(ptr noundef %0) #0 {
%2 = tail call ptr @EXT2_SB(ptr noundef %0) #2
%3 = tail call i64 @atomic_long_read(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @ext2_sync_fs(ptr noundef %0, i32 noundef 1) #2
br label %17
7: ; preds = %1
%8 = getelementptr inbounds %struct.ext2_sb_info, ptr %2, i64 0, i32 1
%9 = tail call i32 @spin_lock(ptr noundef nonnull %8) #2
%10 = getelementptr inbounds %struct.ext2_sb_info, ptr %2, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = tail call i32 @cpu_to_le16(i32 noundef %11) #2
%13 = load ptr, ptr %2, align 8, !tbaa !11
store i32 %12, ptr %13, align 4, !tbaa !12
%14 = tail call i32 @spin_unlock(ptr noundef nonnull %8) #2
%15 = load ptr, ptr %2, align 8, !tbaa !11
%16 = tail call i32 @ext2_sync_super(ptr noundef %0, ptr noundef %15, i32 noundef 1) #2
br label %17
17: ; preds = %7, %5
ret i32 0
}
declare ptr @EXT2_SB(ptr noundef) local_unnamed_addr #1
declare i64 @atomic_long_read(ptr noundef) local_unnamed_addr #1
declare i32 @ext2_sync_fs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @ext2_sync_super(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 12}
!6 = !{!"ext2_sb_info", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_2__", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/ext2/extr_super.c_ext2_freeze.c'
source_filename = "AnghaBench/linux/fs/ext2/extr_super.c_ext2_freeze.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 @ext2_freeze], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ext2_freeze(ptr noundef %0) #0 {
%2 = tail call ptr @EXT2_SB(ptr noundef %0) #2
%3 = tail call i64 @atomic_long_read(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @ext2_sync_fs(ptr noundef %0, i32 noundef 1) #2
br label %17
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %2, i64 8
%9 = tail call i32 @spin_lock(ptr noundef nonnull %8) #2
%10 = getelementptr inbounds i8, ptr %2, i64 12
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = tail call i32 @cpu_to_le16(i32 noundef %11) #2
%13 = load ptr, ptr %2, align 8, !tbaa !12
store i32 %12, ptr %13, align 4, !tbaa !13
%14 = tail call i32 @spin_unlock(ptr noundef nonnull %8) #2
%15 = load ptr, ptr %2, align 8, !tbaa !12
%16 = tail call i32 @ext2_sync_super(ptr noundef %0, ptr noundef %15, i32 noundef 1) #2
br label %17
17: ; preds = %7, %5
ret i32 0
}
declare ptr @EXT2_SB(ptr noundef) local_unnamed_addr #1
declare i64 @atomic_long_read(ptr noundef) local_unnamed_addr #1
declare i32 @ext2_sync_fs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @ext2_sync_super(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 12}
!7 = !{!"ext2_sb_info", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_2__", !11, i64 0}
| linux_fs_ext2_extr_super.c_ext2_freeze |
; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_hash.c_fts5HashAddPoslistSize.c'
source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_hash.c_fts5HashAddPoslistSize.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, i32, i64 }
@FTS5_DETAIL_NONE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @fts5HashAddPoslistSize], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fts5HashAddPoslistSize(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %1, align 8, !tbaa !5
%5 = icmp eq i32 %4, 0
br i1 %5, label %69, label %6
6: ; preds = %3
%7 = icmp eq ptr %2, null
%8 = select i1 %7, ptr %1, ptr %2
%9 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = load i64, ptr %0, align 8, !tbaa !12
%12 = load i64, ptr @FTS5_DETAIL_NONE, align 8, !tbaa !14
%13 = icmp eq i64 %11, %12
%14 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2
br i1 %13, label %15, label %32
15: ; preds = %6
%16 = icmp eq i32 %10, %4
%17 = zext i1 %16 to i32
%18 = tail call i32 @assert(i32 noundef %17) #2
%19 = load i32, ptr %14, align 8, !tbaa !15
%20 = icmp eq i32 %19, 0
br i1 %20, label %62, label %21
21: ; preds = %15
%22 = add nsw i32 %10, 1
%23 = sext i32 %10 to i64
%24 = getelementptr inbounds i32, ptr %8, i64 %23
store i32 0, ptr %24, align 4, !tbaa !16
%25 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 3
%26 = load i64, ptr %25, align 8, !tbaa !17
%27 = icmp eq i64 %26, 0
br i1 %27, label %62, label %28
28: ; preds = %21
%29 = add nsw i32 %10, 2
%30 = sext i32 %22 to i64
%31 = getelementptr inbounds i32, ptr %8, i64 %30
store i32 0, ptr %31, align 4, !tbaa !16
br label %62
32: ; preds = %6
%33 = xor i32 %4, -1
%34 = add i32 %10, %33
%35 = shl nsw i32 %34, 1
%36 = load i32, ptr %14, align 8, !tbaa !15
%37 = add nsw i32 %36, %35
%38 = icmp ult i32 %36, 2
%39 = zext i1 %38 to i32
%40 = tail call i32 @assert(i32 noundef %39) #2
%41 = icmp slt i32 %37, 128
br i1 %41, label %42, label %46
42: ; preds = %32
%43 = load i32, ptr %1, align 8, !tbaa !5
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %8, i64 %44
store i32 %37, ptr %45, align 4, !tbaa !16
br label %62
46: ; preds = %32
%47 = tail call i32 @sqlite3Fts5GetVarintLen(i32 noundef %37) #2
%48 = load i32, ptr %1, align 8, !tbaa !5
%49 = add nsw i32 %48, %47
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %8, i64 %50
%52 = sext i32 %48 to i64
%53 = getelementptr i32, ptr %8, i64 %52
%54 = getelementptr i32, ptr %53, i64 1
%55 = tail call i32 @memmove(ptr noundef nonnull %51, ptr noundef %54, i32 noundef %34) #2
%56 = load i32, ptr %1, align 8, !tbaa !5
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %8, i64 %57
%59 = tail call i32 @sqlite3Fts5PutVarint(ptr noundef nonnull %58, i32 noundef %37) #2
%60 = add i32 %10, -1
%61 = add i32 %60, %47
br label %62
62: ; preds = %42, %46, %15, %28, %21
%63 = phi i32 [ %29, %28 ], [ %22, %21 ], [ %10, %15 ], [ %10, %42 ], [ %61, %46 ]
%64 = load i32, ptr %9, align 4, !tbaa !11
%65 = sub nsw i32 %63, %64
br i1 %7, label %66, label %69
66: ; preds = %62
store i32 0, ptr %1, align 8, !tbaa !5
%67 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2
store i32 0, ptr %67, align 8, !tbaa !15
%68 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 3
store i64 0, ptr %68, align 8, !tbaa !17
store i32 %63, ptr %9, align 4, !tbaa !11
br label %69
69: ; preds = %62, %66, %3
%70 = phi i32 [ 0, %3 ], [ %65, %66 ], [ %65, %62 ]
ret i32 %70
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3Fts5GetVarintLen(i32 noundef) local_unnamed_addr #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3Fts5PutVarint(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_7__", !10, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !7, i64 8}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_hash.c_fts5HashAddPoslistSize.c'
source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_hash.c_fts5HashAddPoslistSize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FTS5_DETAIL_NONE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @fts5HashAddPoslistSize], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fts5HashAddPoslistSize(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %1, align 8, !tbaa !6
%5 = icmp eq i32 %4, 0
br i1 %5, label %68, label %6
6: ; preds = %3
%7 = icmp eq ptr %2, null
%8 = select i1 %7, ptr %1, ptr %2
%9 = getelementptr inbounds i8, ptr %1, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = load i64, ptr %0, align 8, !tbaa !13
%12 = load i64, ptr @FTS5_DETAIL_NONE, align 8, !tbaa !15
%13 = icmp eq i64 %11, %12
%14 = getelementptr inbounds i8, ptr %1, i64 8
br i1 %13, label %15, label %32
15: ; preds = %6
%16 = icmp eq i32 %10, %4
%17 = zext i1 %16 to i32
%18 = tail call i32 @assert(i32 noundef %17) #2
%19 = load i32, ptr %14, align 8, !tbaa !16
%20 = icmp eq i32 %19, 0
br i1 %20, label %62, label %21
21: ; preds = %15
%22 = add nsw i32 %10, 1
%23 = sext i32 %10 to i64
%24 = getelementptr inbounds i32, ptr %8, i64 %23
store i32 0, ptr %24, align 4, !tbaa !17
%25 = getelementptr inbounds i8, ptr %1, i64 16
%26 = load i64, ptr %25, align 8, !tbaa !18
%27 = icmp eq i64 %26, 0
br i1 %27, label %62, label %28
28: ; preds = %21
%29 = add nsw i32 %10, 2
%30 = sext i32 %22 to i64
%31 = getelementptr inbounds i32, ptr %8, i64 %30
store i32 0, ptr %31, align 4, !tbaa !17
br label %62
32: ; preds = %6
%33 = xor i32 %4, -1
%34 = add i32 %10, %33
%35 = shl nsw i32 %34, 1
%36 = load i32, ptr %14, align 8, !tbaa !16
%37 = add nsw i32 %36, %35
%38 = icmp ult i32 %36, 2
%39 = zext i1 %38 to i32
%40 = tail call i32 @assert(i32 noundef %39) #2
%41 = icmp slt i32 %37, 128
br i1 %41, label %42, label %46
42: ; preds = %32
%43 = load i32, ptr %1, align 8, !tbaa !6
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %8, i64 %44
store i32 %37, ptr %45, align 4, !tbaa !17
br label %62
46: ; preds = %32
%47 = tail call i32 @sqlite3Fts5GetVarintLen(i32 noundef %37) #2
%48 = load i32, ptr %1, align 8, !tbaa !6
%49 = add nsw i32 %48, %47
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %8, i64 %50
%52 = sext i32 %48 to i64
%53 = getelementptr i32, ptr %8, i64 %52
%54 = getelementptr i8, ptr %53, i64 4
%55 = tail call i32 @memmove(ptr noundef nonnull %51, ptr noundef %54, i32 noundef %34) #2
%56 = load i32, ptr %1, align 8, !tbaa !6
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %8, i64 %57
%59 = tail call i32 @sqlite3Fts5PutVarint(ptr noundef nonnull %58, i32 noundef %37) #2
%60 = add i32 %10, -1
%61 = add i32 %60, %47
br label %62
62: ; preds = %42, %46, %15, %28, %21
%63 = phi i32 [ %29, %28 ], [ %22, %21 ], [ %10, %15 ], [ %10, %42 ], [ %61, %46 ]
%64 = load i32, ptr %9, align 4, !tbaa !12
%65 = sub nsw i32 %63, %64
br i1 %7, label %66, label %68
66: ; preds = %62
store i32 0, ptr %1, align 8, !tbaa !6
store i32 0, ptr %14, align 8, !tbaa !16
%67 = getelementptr inbounds i8, ptr %1, i64 16
store i64 0, ptr %67, align 8, !tbaa !18
store i32 %63, ptr %9, align 4, !tbaa !12
br label %68
68: ; preds = %62, %66, %3
%69 = phi i32 [ 0, %3 ], [ %65, %66 ], [ %65, %62 ]
ret i32 %69
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3Fts5GetVarintLen(i32 noundef) local_unnamed_addr #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3Fts5PutVarint(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_7__", !11, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !8, i64 8}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !11, i64 16}
| sqlcipher_ext_fts5_extr_fts5_hash.c_fts5HashAddPoslistSize |
; ModuleID = 'AnghaBench/linux/drivers/mtd/maps/extr_pci.c_intel_iq80310_translate.c'
source_filename = "AnghaBench/linux/drivers/mtd/maps/extr_pci.c_intel_iq80310_translate.c"
target datalayout = "e-m:e-p270:32:32-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 @intel_iq80310_translate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i64 @intel_iq80310_translate(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = and i64 %1, 4194304
%4 = icmp eq i64 %3, 0
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = add nsw i64 %5, 5464
br i1 %4, label %12, label %7
7: ; preds = %2
%8 = tail call i32 @writel(i32 noundef 8, i64 noundef %6) #2
%9 = load i64, ptr %0, align 8, !tbaa !5
%10 = add nsw i64 %9, 5456
%11 = tail call i32 @writel(i32 noundef 0, i64 noundef %10) #2
br label %18
12: ; preds = %2
%13 = tail call i32 @writel(i32 noundef 7, i64 noundef %6) #2
%14 = load i64, ptr %0, align 8, !tbaa !5
%15 = add nsw i64 %14, 5456
%16 = tail call i32 @writel(i32 noundef 8388608, i64 noundef %15) #2
%17 = add i64 %1, 8388608
br label %18
18: ; preds = %12, %7
%19 = phi i64 [ %1, %7 ], [ %17, %12 ]
ret i64 %19
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"map_pci_info", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/maps/extr_pci.c_intel_iq80310_translate.c'
source_filename = "AnghaBench/linux/drivers/mtd/maps/extr_pci.c_intel_iq80310_translate.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 @intel_iq80310_translate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i64 @intel_iq80310_translate(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = and i64 %1, 4194304
%4 = icmp eq i64 %3, 0
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = add nsw i64 %5, 5464
br i1 %4, label %12, label %7
7: ; preds = %2
%8 = tail call i32 @writel(i32 noundef 8, i64 noundef %6) #2
%9 = load i64, ptr %0, align 8, !tbaa !6
%10 = add nsw i64 %9, 5456
%11 = tail call i32 @writel(i32 noundef 0, i64 noundef %10) #2
br label %18
12: ; preds = %2
%13 = tail call i32 @writel(i32 noundef 7, i64 noundef %6) #2
%14 = load i64, ptr %0, align 8, !tbaa !6
%15 = add nsw i64 %14, 5456
%16 = tail call i32 @writel(i32 noundef 8388608, i64 noundef %15) #2
%17 = add i64 %1, 8388608
br label %18
18: ; preds = %12, %7
%19 = phi i64 [ %1, %7 ], [ %17, %12 ]
ret i64 %19
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"map_pci_info", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_mtd_maps_extr_pci.c_intel_iq80310_translate |
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_can.c_CAN_Init.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_can.c_CAN_Init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
%struct.TYPE_6__ = type { i64, i32, i64 }
@CAN_InitStatus_Failed = dso_local local_unnamed_addr global i32 0, align 4
@CAN_MCR_SLEEP = dso_local local_unnamed_addr global i64 0, align 8
@CAN_MCR_INRQ = dso_local local_unnamed_addr global i64 0, align 8
@CAN_MSR_INAK = dso_local local_unnamed_addr global i32 0, align 4
@INAK_TIMEOUT = dso_local local_unnamed_addr global i64 0, align 8
@ENABLE = dso_local local_unnamed_addr global i64 0, align 8
@CAN_MCR_TTCM = dso_local local_unnamed_addr global i64 0, align 8
@CAN_MCR_ABOM = dso_local local_unnamed_addr global i64 0, align 8
@CAN_MCR_AWUM = dso_local local_unnamed_addr global i64 0, align 8
@CAN_MCR_NART = dso_local local_unnamed_addr global i64 0, align 8
@CAN_MCR_RFLM = dso_local local_unnamed_addr global i64 0, align 8
@CAN_MCR_TXFP = dso_local local_unnamed_addr global i64 0, align 8
@CAN_InitStatus_Success = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @CAN_Init(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @IS_CAN_ALL_PERIPH(ptr noundef %0) #2
%4 = tail call i32 @assert_param(i32 noundef %3) #2
%5 = load i64, ptr %1, align 8, !tbaa !5
%6 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %5) #2
%7 = tail call i32 @assert_param(i32 noundef %6) #2
%8 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !10
%10 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %9) #2
%11 = tail call i32 @assert_param(i32 noundef %10) #2
%12 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 2
%13 = load i64, ptr %12, align 8, !tbaa !11
%14 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %13) #2
%15 = tail call i32 @assert_param(i32 noundef %14) #2
%16 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 3
%17 = load i64, ptr %16, align 8, !tbaa !12
%18 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %17) #2
%19 = tail call i32 @assert_param(i32 noundef %18) #2
%20 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 4
%21 = load i64, ptr %20, align 8, !tbaa !13
%22 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %21) #2
%23 = tail call i32 @assert_param(i32 noundef %22) #2
%24 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 5
%25 = load i64, ptr %24, align 8, !tbaa !14
%26 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %25) #2
%27 = tail call i32 @assert_param(i32 noundef %26) #2
%28 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 10
%29 = load i64, ptr %28, align 8, !tbaa !15
%30 = tail call i32 @IS_CAN_MODE(i64 noundef %29) #2
%31 = tail call i32 @assert_param(i32 noundef %30) #2
%32 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 9
%33 = load i64, ptr %32, align 8, !tbaa !16
%34 = tail call i32 @IS_CAN_SJW(i64 noundef %33) #2
%35 = tail call i32 @assert_param(i32 noundef %34) #2
%36 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 8
%37 = load i64, ptr %36, align 8, !tbaa !17
%38 = tail call i32 @IS_CAN_BS1(i64 noundef %37) #2
%39 = tail call i32 @assert_param(i32 noundef %38) #2
%40 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 7
%41 = load i64, ptr %40, align 8, !tbaa !18
%42 = tail call i32 @IS_CAN_BS2(i64 noundef %41) #2
%43 = tail call i32 @assert_param(i32 noundef %42) #2
%44 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 6
%45 = load i64, ptr %44, align 8, !tbaa !19
%46 = tail call i32 @IS_CAN_PRESCALER(i64 noundef %45) #2
%47 = tail call i32 @assert_param(i32 noundef %46) #2
%48 = load i64, ptr @CAN_MCR_SLEEP, align 8, !tbaa !20
%49 = xor i64 %48, -1
%50 = load i64, ptr %0, align 8, !tbaa !21
%51 = and i64 %50, %49
store i64 %51, ptr %0, align 8, !tbaa !21
%52 = load i64, ptr @CAN_MCR_INRQ, align 8, !tbaa !20
%53 = or i64 %52, %51
store i64 %53, ptr %0, align 8, !tbaa !21
%54 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%55 = load i32, ptr %54, align 8, !tbaa !24
%56 = load i32, ptr @CAN_MSR_INAK, align 4, !tbaa !25
%57 = and i32 %56, %55
%58 = icmp ne i32 %57, %56
%59 = freeze i1 %58
br i1 %59, label %127, label %60
60: ; preds = %2
%61 = load i64, ptr %1, align 8, !tbaa !5
%62 = load i64, ptr @ENABLE, align 8, !tbaa !20
%63 = icmp eq i64 %61, %62
%64 = load i64, ptr @CAN_MCR_TTCM, align 8, !tbaa !20
%65 = xor i64 %64, -1
%66 = and i64 %53, %65
%67 = or i64 %64, %53
%68 = select i1 %63, i64 %67, i64 %66
store i64 %68, ptr %0, align 8, !tbaa !21
%69 = load i64, ptr %8, align 8, !tbaa !10
%70 = load i64, ptr @ENABLE, align 8, !tbaa !20
%71 = icmp eq i64 %69, %70
%72 = load i64, ptr @CAN_MCR_ABOM, align 8, !tbaa !20
%73 = xor i64 %72, -1
%74 = and i64 %68, %73
%75 = or i64 %72, %68
%76 = select i1 %71, i64 %75, i64 %74
store i64 %76, ptr %0, align 8, !tbaa !21
%77 = load i64, ptr %12, align 8, !tbaa !11
%78 = load i64, ptr @ENABLE, align 8, !tbaa !20
%79 = icmp eq i64 %77, %78
%80 = load i64, ptr @CAN_MCR_AWUM, align 8, !tbaa !20
%81 = xor i64 %80, -1
%82 = and i64 %76, %81
%83 = or i64 %80, %76
%84 = select i1 %79, i64 %83, i64 %82
store i64 %84, ptr %0, align 8, !tbaa !21
%85 = load i64, ptr %16, align 8, !tbaa !12
%86 = load i64, ptr @ENABLE, align 8, !tbaa !20
%87 = icmp eq i64 %85, %86
%88 = load i64, ptr @CAN_MCR_NART, align 8, !tbaa !20
%89 = xor i64 %88, -1
%90 = and i64 %84, %89
%91 = or i64 %88, %84
%92 = select i1 %87, i64 %91, i64 %90
store i64 %92, ptr %0, align 8, !tbaa !21
%93 = load i64, ptr %20, align 8, !tbaa !13
%94 = load i64, ptr @ENABLE, align 8, !tbaa !20
%95 = icmp eq i64 %93, %94
%96 = load i64, ptr @CAN_MCR_RFLM, align 8, !tbaa !20
%97 = xor i64 %96, -1
%98 = and i64 %92, %97
%99 = or i64 %96, %92
%100 = select i1 %95, i64 %99, i64 %98
store i64 %100, ptr %0, align 8, !tbaa !21
%101 = load i64, ptr %24, align 8, !tbaa !14
%102 = load i64, ptr @ENABLE, align 8, !tbaa !20
%103 = icmp eq i64 %101, %102
%104 = load i64, ptr @CAN_MCR_TXFP, align 8, !tbaa !20
%105 = xor i64 %104, -1
%106 = and i64 %100, %105
%107 = or i64 %104, %100
%108 = select i1 %103, i64 %107, i64 %106
store i64 %108, ptr %0, align 8, !tbaa !21
%109 = load i64, ptr %28, align 8, !tbaa !15
%110 = shl i64 %109, 30
%111 = load i64, ptr %32, align 8, !tbaa !16
%112 = shl i64 %111, 24
%113 = or i64 %112, %110
%114 = load i64, ptr %36, align 8, !tbaa !17
%115 = shl i64 %114, 16
%116 = or i64 %113, %115
%117 = load i64, ptr %40, align 8, !tbaa !18
%118 = shl i64 %117, 20
%119 = or i64 %116, %118
%120 = load i64, ptr %44, align 8, !tbaa !19
%121 = add nsw i64 %120, -1
%122 = or i64 %119, %121
%123 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
store i64 %122, ptr %123, align 8, !tbaa !26
%124 = load i64, ptr @CAN_MCR_INRQ, align 8, !tbaa !20
%125 = xor i64 %124, -1
%126 = and i64 %108, %125
store i64 %126, ptr %0, align 8, !tbaa !21
br label %127
127: ; preds = %60, %2
%128 = load i32, ptr @CAN_InitStatus_Failed, align 4, !tbaa !25
ret i32 %128
}
declare i32 @assert_param(i32 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_ALL_PERIPH(ptr noundef) local_unnamed_addr #1
declare i32 @IS_FUNCTIONAL_STATE(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_MODE(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_SJW(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_BS1(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_BS2(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_PRESCALER(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !7, i64 32}
!14 = !{!6, !7, i64 40}
!15 = !{!6, !7, i64 80}
!16 = !{!6, !7, i64 72}
!17 = !{!6, !7, i64 64}
!18 = !{!6, !7, i64 56}
!19 = !{!6, !7, i64 48}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_6__", !7, i64 0, !23, i64 8, !7, i64 16}
!23 = !{!"int", !8, i64 0}
!24 = !{!22, !23, i64 8}
!25 = !{!23, !23, i64 0}
!26 = !{!22, !7, i64 16}
| ; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_can.c_CAN_Init.c'
source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_can.c_CAN_Init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CAN_InitStatus_Failed = common local_unnamed_addr global i32 0, align 4
@CAN_MCR_SLEEP = common local_unnamed_addr global i64 0, align 8
@CAN_MCR_INRQ = common local_unnamed_addr global i64 0, align 8
@CAN_MSR_INAK = common local_unnamed_addr global i32 0, align 4
@INAK_TIMEOUT = common local_unnamed_addr global i64 0, align 8
@ENABLE = common local_unnamed_addr global i64 0, align 8
@CAN_MCR_TTCM = common local_unnamed_addr global i64 0, align 8
@CAN_MCR_ABOM = common local_unnamed_addr global i64 0, align 8
@CAN_MCR_AWUM = common local_unnamed_addr global i64 0, align 8
@CAN_MCR_NART = common local_unnamed_addr global i64 0, align 8
@CAN_MCR_RFLM = common local_unnamed_addr global i64 0, align 8
@CAN_MCR_TXFP = common local_unnamed_addr global i64 0, align 8
@CAN_InitStatus_Success = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @CAN_Init(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @IS_CAN_ALL_PERIPH(ptr noundef %0) #2
%4 = tail call i32 @assert_param(i32 noundef %3) #2
%5 = load i64, ptr %1, align 8, !tbaa !6
%6 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %5) #2
%7 = tail call i32 @assert_param(i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %9) #2
%11 = tail call i32 @assert_param(i32 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %1, i64 16
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %13) #2
%15 = tail call i32 @assert_param(i32 noundef %14) #2
%16 = getelementptr inbounds i8, ptr %1, i64 24
%17 = load i64, ptr %16, align 8, !tbaa !13
%18 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %17) #2
%19 = tail call i32 @assert_param(i32 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %1, i64 32
%21 = load i64, ptr %20, align 8, !tbaa !14
%22 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %21) #2
%23 = tail call i32 @assert_param(i32 noundef %22) #2
%24 = getelementptr inbounds i8, ptr %1, i64 40
%25 = load i64, ptr %24, align 8, !tbaa !15
%26 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %25) #2
%27 = tail call i32 @assert_param(i32 noundef %26) #2
%28 = getelementptr inbounds i8, ptr %1, i64 80
%29 = load i64, ptr %28, align 8, !tbaa !16
%30 = tail call i32 @IS_CAN_MODE(i64 noundef %29) #2
%31 = tail call i32 @assert_param(i32 noundef %30) #2
%32 = getelementptr inbounds i8, ptr %1, i64 72
%33 = load i64, ptr %32, align 8, !tbaa !17
%34 = tail call i32 @IS_CAN_SJW(i64 noundef %33) #2
%35 = tail call i32 @assert_param(i32 noundef %34) #2
%36 = getelementptr inbounds i8, ptr %1, i64 64
%37 = load i64, ptr %36, align 8, !tbaa !18
%38 = tail call i32 @IS_CAN_BS1(i64 noundef %37) #2
%39 = tail call i32 @assert_param(i32 noundef %38) #2
%40 = getelementptr inbounds i8, ptr %1, i64 56
%41 = load i64, ptr %40, align 8, !tbaa !19
%42 = tail call i32 @IS_CAN_BS2(i64 noundef %41) #2
%43 = tail call i32 @assert_param(i32 noundef %42) #2
%44 = getelementptr inbounds i8, ptr %1, i64 48
%45 = load i64, ptr %44, align 8, !tbaa !20
%46 = tail call i32 @IS_CAN_PRESCALER(i64 noundef %45) #2
%47 = tail call i32 @assert_param(i32 noundef %46) #2
%48 = load i64, ptr @CAN_MCR_SLEEP, align 8, !tbaa !21
%49 = xor i64 %48, -1
%50 = load i64, ptr %0, align 8, !tbaa !22
%51 = and i64 %50, %49
store i64 %51, ptr %0, align 8, !tbaa !22
%52 = load i64, ptr @CAN_MCR_INRQ, align 8, !tbaa !21
%53 = or i64 %52, %51
store i64 %53, ptr %0, align 8, !tbaa !22
%54 = getelementptr inbounds i8, ptr %0, i64 8
%55 = load i32, ptr %54, align 8, !tbaa !25
%56 = load i32, ptr @CAN_MSR_INAK, align 4, !tbaa !26
%57 = and i32 %56, %55
%58 = icmp ne i32 %57, %56
%59 = freeze i1 %58
br i1 %59, label %127, label %60
60: ; preds = %2
%61 = load i64, ptr %1, align 8, !tbaa !6
%62 = load i64, ptr @ENABLE, align 8, !tbaa !21
%63 = icmp eq i64 %61, %62
%64 = load i64, ptr @CAN_MCR_TTCM, align 8, !tbaa !21
%65 = xor i64 %64, -1
%66 = and i64 %53, %65
%67 = or i64 %64, %53
%68 = select i1 %63, i64 %67, i64 %66
store i64 %68, ptr %0, align 8, !tbaa !22
%69 = load i64, ptr %8, align 8, !tbaa !11
%70 = load i64, ptr @ENABLE, align 8, !tbaa !21
%71 = icmp eq i64 %69, %70
%72 = load i64, ptr @CAN_MCR_ABOM, align 8, !tbaa !21
%73 = xor i64 %72, -1
%74 = and i64 %68, %73
%75 = or i64 %72, %68
%76 = select i1 %71, i64 %75, i64 %74
store i64 %76, ptr %0, align 8, !tbaa !22
%77 = load i64, ptr %12, align 8, !tbaa !12
%78 = load i64, ptr @ENABLE, align 8, !tbaa !21
%79 = icmp eq i64 %77, %78
%80 = load i64, ptr @CAN_MCR_AWUM, align 8, !tbaa !21
%81 = xor i64 %80, -1
%82 = and i64 %76, %81
%83 = or i64 %80, %76
%84 = select i1 %79, i64 %83, i64 %82
store i64 %84, ptr %0, align 8, !tbaa !22
%85 = load i64, ptr %16, align 8, !tbaa !13
%86 = load i64, ptr @ENABLE, align 8, !tbaa !21
%87 = icmp eq i64 %85, %86
%88 = load i64, ptr @CAN_MCR_NART, align 8, !tbaa !21
%89 = xor i64 %88, -1
%90 = and i64 %84, %89
%91 = or i64 %88, %84
%92 = select i1 %87, i64 %91, i64 %90
store i64 %92, ptr %0, align 8, !tbaa !22
%93 = load i64, ptr %20, align 8, !tbaa !14
%94 = load i64, ptr @ENABLE, align 8, !tbaa !21
%95 = icmp eq i64 %93, %94
%96 = load i64, ptr @CAN_MCR_RFLM, align 8, !tbaa !21
%97 = xor i64 %96, -1
%98 = and i64 %92, %97
%99 = or i64 %96, %92
%100 = select i1 %95, i64 %99, i64 %98
store i64 %100, ptr %0, align 8, !tbaa !22
%101 = load i64, ptr %24, align 8, !tbaa !15
%102 = load i64, ptr @ENABLE, align 8, !tbaa !21
%103 = icmp eq i64 %101, %102
%104 = load i64, ptr @CAN_MCR_TXFP, align 8, !tbaa !21
%105 = xor i64 %104, -1
%106 = and i64 %100, %105
%107 = or i64 %104, %100
%108 = select i1 %103, i64 %107, i64 %106
store i64 %108, ptr %0, align 8, !tbaa !22
%109 = load i64, ptr %28, align 8, !tbaa !16
%110 = shl i64 %109, 30
%111 = load i64, ptr %32, align 8, !tbaa !17
%112 = shl i64 %111, 24
%113 = or i64 %112, %110
%114 = load i64, ptr %36, align 8, !tbaa !18
%115 = shl i64 %114, 16
%116 = or i64 %113, %115
%117 = load i64, ptr %40, align 8, !tbaa !19
%118 = shl i64 %117, 20
%119 = or i64 %116, %118
%120 = load i64, ptr %44, align 8, !tbaa !20
%121 = add nsw i64 %120, -1
%122 = or i64 %119, %121
%123 = getelementptr inbounds i8, ptr %0, i64 16
store i64 %122, ptr %123, align 8, !tbaa !27
%124 = load i64, ptr @CAN_MCR_INRQ, align 8, !tbaa !21
%125 = xor i64 %124, -1
%126 = and i64 %108, %125
store i64 %126, ptr %0, align 8, !tbaa !22
br label %127
127: ; preds = %60, %2
%128 = load i32, ptr @CAN_InitStatus_Failed, align 4, !tbaa !26
ret i32 %128
}
declare i32 @assert_param(i32 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_ALL_PERIPH(ptr noundef) local_unnamed_addr #1
declare i32 @IS_FUNCTIONAL_STATE(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_MODE(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_SJW(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_BS1(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_BS2(i64 noundef) local_unnamed_addr #1
declare i32 @IS_CAN_PRESCALER(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!7, !8, i64 16}
!13 = !{!7, !8, i64 24}
!14 = !{!7, !8, i64 32}
!15 = !{!7, !8, i64 40}
!16 = !{!7, !8, i64 80}
!17 = !{!7, !8, i64 72}
!18 = !{!7, !8, i64 64}
!19 = !{!7, !8, i64 56}
!20 = !{!7, !8, i64 48}
!21 = !{!8, !8, i64 0}
!22 = !{!23, !8, i64 0}
!23 = !{!"TYPE_6__", !8, i64 0, !24, i64 8, !8, i64 16}
!24 = !{!"int", !9, i64 0}
!25 = !{!23, !24, i64 8}
!26 = !{!24, !24, i64 0}
!27 = !{!23, !8, i64 16}
| anypixel_firmware_display_ThirdParty_SPL_src_extr_stm32f0xx_can.c_CAN_Init |
; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_clk-rcg2.c_clk_gfx3d_set_rate_and_parent.c'
source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_clk-rcg2.c_clk_gfx3d_set_rate_and_parent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.clk_rcg2 = type { i64, %struct.TYPE_4__, ptr }
%struct.TYPE_4__ = type { i32 }
%struct.TYPE_3__ = type { i32 }
@CFG_SRC_SEL_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@CFG_REG = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @clk_gfx3d_set_rate_and_parent], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @clk_gfx3d_set_rate_and_parent(ptr noundef %0, i64 %1, i64 %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_clk_rcg2(ptr noundef %0) #2
%6 = getelementptr inbounds %struct.clk_rcg2, ptr %5, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 %3
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = load i32, ptr @CFG_SRC_SEL_SHIFT, align 4, !tbaa !15
%11 = shl i32 %9, %10
%12 = getelementptr inbounds %struct.clk_rcg2, ptr %5, i64 0, i32 1
%13 = load i32, ptr %12, align 8, !tbaa !16
%14 = load i64, ptr %5, align 8, !tbaa !17
%15 = load i64, ptr @CFG_REG, align 8, !tbaa !18
%16 = add nsw i64 %15, %14
%17 = tail call i32 @regmap_write(i32 noundef %13, i64 noundef %16, i32 noundef %11) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %4
%20 = tail call i32 @update_config(ptr noundef nonnull %5) #2
br label %21
21: ; preds = %4, %19
%22 = phi i32 [ %20, %19 ], [ %17, %4 ]
ret i32 %22
}
declare ptr @to_clk_rcg2(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_write(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @update_config(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !12, i64 16}
!6 = !{!"clk_rcg2", !7, i64 0, !10, i64 8, !12, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_3__", !11, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!6, !11, i64 8}
!17 = !{!6, !7, i64 0}
!18 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_clk-rcg2.c_clk_gfx3d_set_rate_and_parent.c'
source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_clk-rcg2.c_clk_gfx3d_set_rate_and_parent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32 }
@CFG_SRC_SEL_SHIFT = common local_unnamed_addr global i32 0, align 4
@CFG_REG = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @clk_gfx3d_set_rate_and_parent], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @clk_gfx3d_set_rate_and_parent(ptr noundef %0, i64 %1, i64 %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_clk_rcg2(ptr noundef %0) #2
%6 = getelementptr inbounds i8, ptr %5, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 %3
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = load i32, ptr @CFG_SRC_SEL_SHIFT, align 4, !tbaa !16
%11 = shl i32 %9, %10
%12 = getelementptr inbounds i8, ptr %5, i64 8
%13 = load i32, ptr %12, align 8, !tbaa !17
%14 = load i64, ptr %5, align 8, !tbaa !18
%15 = load i64, ptr @CFG_REG, align 8, !tbaa !19
%16 = add nsw i64 %15, %14
%17 = tail call i32 @regmap_write(i32 noundef %13, i64 noundef %16, i32 noundef %11) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %4
%20 = tail call i32 @update_config(ptr noundef nonnull %5) #2
br label %21
21: ; preds = %4, %19
%22 = phi i32 [ %20, %19 ], [ %17, %4 ]
ret i32 %22
}
declare ptr @to_clk_rcg2(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_write(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @update_config(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !13, i64 16}
!7 = !{!"clk_rcg2", !8, i64 0, !11, i64 8, !13, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_3__", !12, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!7, !12, i64 8}
!18 = !{!7, !8, i64 0}
!19 = !{!8, !8, i64 0}
| linux_drivers_clk_qcom_extr_clk-rcg2.c_clk_gfx3d_set_rate_and_parent |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_phantom_cache.c_vm_phantom_cache_init.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_phantom_cache.c_vm_phantom_cache_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"
@VM_CONFIG_COMPRESSOR_IS_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@max_mem = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@VM_GHOST_PAGES_PER_ENTRY = dso_local local_unnamed_addr global i32 0, align 4
@vm_phantom_cache_num_entries = dso_local local_unnamed_addr global i32 0, align 4
@vm_phantom_cache_size = dso_local local_unnamed_addr global i32 0, align 4
@vm_phantom_cache_hash_size = dso_local local_unnamed_addr global i32 0, align 4
@kernel_map = dso_local local_unnamed_addr global i32 0, align 4
@vm_phantom_cache = dso_local global i32 0, align 4
@KMA_KOBJECT = dso_local local_unnamed_addr global i32 0, align 4
@KMA_PERMANENT = dso_local local_unnamed_addr global i32 0, align 4
@VM_KERN_MEMORY_PHANTOM_CACHE = dso_local local_unnamed_addr global i32 0, align 4
@KERN_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [54 x i8] c"vm_phantom_cache_init: kernel_memory_allocate failed\0A\00", align 1
@vm_phantom_cache_hash = dso_local global i32 0, align 4
@vm_ghost_hash_mask = dso_local local_unnamed_addr global i32 0, align 4
@vm_ghost_bucket_hash = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [53 x i8] c"vm_phantom_cache_init: WARNING -- strange page hash\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @vm_phantom_cache_init() local_unnamed_addr #0 {
%1 = load i32, ptr @VM_CONFIG_COMPRESSOR_IS_ACTIVE, align 4, !tbaa !5
%2 = icmp eq i32 %1, 0
br i1 %2, label %68, label %3
3: ; preds = %0
%4 = load i32, ptr @max_mem, align 4, !tbaa !5
%5 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%6 = sdiv i32 %4, %5
%7 = sdiv i32 %6, 4
%8 = load i32, ptr @VM_GHOST_PAGES_PER_ENTRY, align 4, !tbaa !5
%9 = sdiv i32 %7, %8
br label %10
10: ; preds = %10, %3
%11 = phi i32 [ 1, %3 ], [ %13, %10 ]
%12 = icmp ult i32 %11, %9
%13 = shl i32 %11, 1
br i1 %12, label %10, label %14, !llvm.loop !9
14: ; preds = %10
store i32 %11, ptr @vm_phantom_cache_num_entries, align 4, !tbaa !5
%15 = shl i32 %11, 2
store i32 %15, ptr @vm_phantom_cache_size, align 4, !tbaa !5
store i32 %15, ptr @vm_phantom_cache_hash_size, align 4, !tbaa !5
%16 = load i32, ptr @kernel_map, align 4, !tbaa !5
%17 = load i32, ptr @KMA_KOBJECT, align 4, !tbaa !5
%18 = load i32, ptr @KMA_PERMANENT, align 4, !tbaa !5
%19 = or i32 %18, %17
%20 = load i32, ptr @VM_KERN_MEMORY_PHANTOM_CACHE, align 4, !tbaa !5
%21 = tail call i64 @kernel_memory_allocate(i32 noundef %16, ptr noundef nonnull @vm_phantom_cache, i32 noundef %15, i32 noundef 0, i32 noundef %19, i32 noundef %20) #3
%22 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !11
%23 = icmp eq i64 %21, %22
br i1 %23, label %26, label %24
24: ; preds = %14
%25 = tail call i32 @panic(ptr noundef nonnull @.str) #3
br label %26
26: ; preds = %24, %14
%27 = load i32, ptr @vm_phantom_cache, align 4, !tbaa !5
%28 = load i32, ptr @vm_phantom_cache_size, align 4, !tbaa !5
%29 = tail call i32 @bzero(i32 noundef %27, i32 noundef %28) #3
%30 = load i32, ptr @kernel_map, align 4, !tbaa !5
%31 = load i32, ptr @vm_phantom_cache_hash_size, align 4, !tbaa !5
%32 = load i32, ptr @KMA_KOBJECT, align 4, !tbaa !5
%33 = load i32, ptr @KMA_PERMANENT, align 4, !tbaa !5
%34 = or i32 %33, %32
%35 = load i32, ptr @VM_KERN_MEMORY_PHANTOM_CACHE, align 4, !tbaa !5
%36 = tail call i64 @kernel_memory_allocate(i32 noundef %30, ptr noundef nonnull @vm_phantom_cache_hash, i32 noundef %31, i32 noundef 0, i32 noundef %34, i32 noundef %35) #3
%37 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !11
%38 = icmp eq i64 %36, %37
br i1 %38, label %41, label %39
39: ; preds = %26
%40 = tail call i32 @panic(ptr noundef nonnull @.str) #3
br label %41
41: ; preds = %39, %26
%42 = load i32, ptr @vm_phantom_cache_hash, align 4, !tbaa !5
%43 = load i32, ptr @vm_phantom_cache_hash_size, align 4, !tbaa !5
%44 = tail call i32 @bzero(i32 noundef %42, i32 noundef %43) #3
%45 = load i32, ptr @vm_phantom_cache_num_entries, align 4, !tbaa !5
%46 = add i32 %45, -1
store i32 %46, ptr @vm_ghost_hash_mask, align 4, !tbaa !5
%47 = icmp ugt i32 %45, 1
br i1 %47, label %48, label %56
48: ; preds = %41, %48
%49 = phi i32 [ %51, %48 ], [ %45, %41 ]
%50 = phi i32 [ %52, %48 ], [ 0, %41 ]
%51 = lshr i32 %49, 1
%52 = add nuw nsw i32 %50, 1
%53 = icmp ugt i32 %49, 3
br i1 %53, label %48, label %54, !llvm.loop !13
54: ; preds = %48
%55 = add nuw i32 %50, 2
br label %56
56: ; preds = %54, %41
%57 = phi i32 [ 1, %41 ], [ %55, %54 ]
%58 = lshr i32 %57, 1
%59 = shl nuw i32 1, %58
%60 = lshr i32 %57, 2
%61 = shl nuw i32 1, %60
%62 = or i32 %61, %59
%63 = or i32 %62, 1
store i32 %63, ptr @vm_ghost_bucket_hash, align 4, !tbaa !5
%64 = tail call i32 @llvm.ctpop.i32(i32 %45), !range !14
%65 = icmp ult i32 %64, 2
br i1 %65, label %68, label %66
66: ; preds = %56
%67 = tail call i32 @printf(ptr noundef nonnull @.str.1) #3
br label %68
68: ; preds = %56, %66, %0
ret void
}
declare i64 @kernel_memory_allocate(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @bzero(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.ctpop.i32(i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{i32 0, i32 33}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_phantom_cache.c_vm_phantom_cache_init.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_phantom_cache.c_vm_phantom_cache_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VM_CONFIG_COMPRESSOR_IS_ACTIVE = common local_unnamed_addr global i32 0, align 4
@max_mem = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@VM_GHOST_PAGES_PER_ENTRY = common local_unnamed_addr global i32 0, align 4
@vm_phantom_cache_num_entries = common local_unnamed_addr global i32 0, align 4
@vm_phantom_cache_size = common local_unnamed_addr global i32 0, align 4
@vm_phantom_cache_hash_size = common local_unnamed_addr global i32 0, align 4
@kernel_map = common local_unnamed_addr global i32 0, align 4
@vm_phantom_cache = common global i32 0, align 4
@KMA_KOBJECT = common local_unnamed_addr global i32 0, align 4
@KMA_PERMANENT = common local_unnamed_addr global i32 0, align 4
@VM_KERN_MEMORY_PHANTOM_CACHE = common local_unnamed_addr global i32 0, align 4
@KERN_SUCCESS = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [54 x i8] c"vm_phantom_cache_init: kernel_memory_allocate failed\0A\00", align 1
@vm_phantom_cache_hash = common global i32 0, align 4
@vm_ghost_hash_mask = common local_unnamed_addr global i32 0, align 4
@vm_ghost_bucket_hash = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [53 x i8] c"vm_phantom_cache_init: WARNING -- strange page hash\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @vm_phantom_cache_init() local_unnamed_addr #0 {
%1 = load i32, ptr @VM_CONFIG_COMPRESSOR_IS_ACTIVE, align 4, !tbaa !6
%2 = icmp eq i32 %1, 0
br i1 %2, label %68, label %3
3: ; preds = %0
%4 = load i32, ptr @max_mem, align 4, !tbaa !6
%5 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6
%6 = sdiv i32 %4, %5
%7 = sdiv i32 %6, 4
%8 = load i32, ptr @VM_GHOST_PAGES_PER_ENTRY, align 4, !tbaa !6
%9 = sdiv i32 %7, %8
br label %10
10: ; preds = %10, %3
%11 = phi i32 [ 1, %3 ], [ %13, %10 ]
%12 = icmp ult i32 %11, %9
%13 = shl i32 %11, 1
br i1 %12, label %10, label %14, !llvm.loop !10
14: ; preds = %10
store i32 %11, ptr @vm_phantom_cache_num_entries, align 4, !tbaa !6
%15 = shl i32 %11, 2
store i32 %15, ptr @vm_phantom_cache_size, align 4, !tbaa !6
store i32 %15, ptr @vm_phantom_cache_hash_size, align 4, !tbaa !6
%16 = load i32, ptr @kernel_map, align 4, !tbaa !6
%17 = load i32, ptr @KMA_KOBJECT, align 4, !tbaa !6
%18 = load i32, ptr @KMA_PERMANENT, align 4, !tbaa !6
%19 = or i32 %18, %17
%20 = load i32, ptr @VM_KERN_MEMORY_PHANTOM_CACHE, align 4, !tbaa !6
%21 = tail call i64 @kernel_memory_allocate(i32 noundef %16, ptr noundef nonnull @vm_phantom_cache, i32 noundef %15, i32 noundef 0, i32 noundef %19, i32 noundef %20) #3
%22 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !12
%23 = icmp eq i64 %21, %22
br i1 %23, label %26, label %24
24: ; preds = %14
%25 = tail call i32 @panic(ptr noundef nonnull @.str) #3
br label %26
26: ; preds = %24, %14
%27 = load i32, ptr @vm_phantom_cache, align 4, !tbaa !6
%28 = load i32, ptr @vm_phantom_cache_size, align 4, !tbaa !6
%29 = tail call i32 @bzero(i32 noundef %27, i32 noundef %28) #3
%30 = load i32, ptr @kernel_map, align 4, !tbaa !6
%31 = load i32, ptr @vm_phantom_cache_hash_size, align 4, !tbaa !6
%32 = load i32, ptr @KMA_KOBJECT, align 4, !tbaa !6
%33 = load i32, ptr @KMA_PERMANENT, align 4, !tbaa !6
%34 = or i32 %33, %32
%35 = load i32, ptr @VM_KERN_MEMORY_PHANTOM_CACHE, align 4, !tbaa !6
%36 = tail call i64 @kernel_memory_allocate(i32 noundef %30, ptr noundef nonnull @vm_phantom_cache_hash, i32 noundef %31, i32 noundef 0, i32 noundef %34, i32 noundef %35) #3
%37 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !12
%38 = icmp eq i64 %36, %37
br i1 %38, label %41, label %39
39: ; preds = %26
%40 = tail call i32 @panic(ptr noundef nonnull @.str) #3
br label %41
41: ; preds = %39, %26
%42 = load i32, ptr @vm_phantom_cache_hash, align 4, !tbaa !6
%43 = load i32, ptr @vm_phantom_cache_hash_size, align 4, !tbaa !6
%44 = tail call i32 @bzero(i32 noundef %42, i32 noundef %43) #3
%45 = load i32, ptr @vm_phantom_cache_num_entries, align 4, !tbaa !6
%46 = add i32 %45, -1
store i32 %46, ptr @vm_ghost_hash_mask, align 4, !tbaa !6
%47 = icmp ugt i32 %45, 1
br i1 %47, label %48, label %56
48: ; preds = %41, %48
%49 = phi i32 [ %51, %48 ], [ %45, %41 ]
%50 = phi i32 [ %52, %48 ], [ 0, %41 ]
%51 = lshr i32 %49, 1
%52 = add nuw nsw i32 %50, 1
%53 = icmp ugt i32 %49, 3
br i1 %53, label %48, label %54, !llvm.loop !14
54: ; preds = %48
%55 = add nuw i32 %50, 2
br label %56
56: ; preds = %54, %41
%57 = phi i32 [ 1, %41 ], [ %55, %54 ]
%58 = lshr i32 %57, 1
%59 = shl nuw i32 1, %58
%60 = lshr i32 %57, 2
%61 = shl nuw i32 1, %60
%62 = or i32 %61, %59
%63 = or i32 %62, 1
store i32 %63, ptr @vm_ghost_bucket_hash, align 4, !tbaa !6
%64 = tail call range(i32 0, 33) i32 @llvm.ctpop.i32(i32 %45)
%65 = icmp ult i32 %64, 2
br i1 %65, label %68, label %66
66: ; preds = %56
%67 = tail call i32 @printf(ptr noundef nonnull @.str.1) #3
br label %68
68: ; preds = %56, %66, %0
ret void
}
declare i64 @kernel_memory_allocate(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @bzero(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.ctpop.i32(i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = distinct !{!14, !11}
| darwin-xnu_osfmk_vm_extr_vm_phantom_cache.c_vm_phantom_cache_init |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_fid.c_mlxsw_sp_fid_vni_is_set.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_fid.c_mlxsw_sp_fid_vni_is_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: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @mlxsw_sp_fid_vni_is_set(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %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 = !{!"mlxsw_sp_fid", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_fid.c_mlxsw_sp_fid_vni_is_set.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_fid.c_mlxsw_sp_fid_vni_is_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @mlxsw_sp_fid_vni_is_set(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %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 = !{!"mlxsw_sp_fid", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_fid.c_mlxsw_sp_fid_vni_is_set |
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_block_decoder.c_pt_blk_decoder_init.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_block_decoder.c_pt_blk_decoder_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.pt_config = type { i32 }
%struct.pt_block_decoder = type { i32, i32, ptr, i32, i32 }
@pte_internal = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @pt_blk_decoder_init(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.pt_config, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = icmp eq ptr %0, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @pte_internal, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %28
8: ; preds = %2
%9 = call i32 @pt_config_from_user(ptr noundef nonnull %3, ptr noundef %1) #3
%10 = icmp slt i32 %9, 0
br i1 %10, label %28, label %11
11: ; preds = %8
%12 = load i32, ptr %3, align 4, !tbaa !9
%13 = getelementptr inbounds %struct.pt_block_decoder, ptr %0, i64 0, i32 4
store i32 %12, ptr %13, align 4, !tbaa !11
%14 = call i32 @pt_blk_init_qry_flags(ptr noundef nonnull %3, ptr noundef nonnull %13) #3
%15 = icmp slt i32 %14, 0
br i1 %15, label %28, label %16
16: ; preds = %11
%17 = getelementptr inbounds %struct.pt_block_decoder, ptr %0, i64 0, i32 3
%18 = call i32 @pt_qry_decoder_init(ptr noundef nonnull %17, ptr noundef nonnull %3) #3
%19 = icmp slt i32 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %16
%21 = getelementptr inbounds %struct.pt_block_decoder, ptr %0, i64 0, i32 1
%22 = call i32 @pt_image_init(ptr noundef nonnull %21, ptr noundef null) #3
%23 = getelementptr inbounds %struct.pt_block_decoder, ptr %0, i64 0, i32 2
store ptr %21, ptr %23, align 8, !tbaa !14
%24 = call i32 @pt_msec_cache_init(ptr noundef nonnull %0) #3
%25 = icmp slt i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %20
%27 = call i32 @pt_blk_reset(ptr noundef nonnull %0) #3
br label %28
28: ; preds = %20, %16, %11, %8, %26, %5
%29 = phi i32 [ 0, %26 ], [ %7, %5 ], [ %9, %8 ], [ %14, %11 ], [ %18, %16 ], [ %24, %20 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pt_config_from_user(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pt_blk_init_qry_flags(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pt_qry_decoder_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pt_image_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pt_msec_cache_init(ptr noundef) local_unnamed_addr #2
declare i32 @pt_blk_reset(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"pt_config", !6, i64 0}
!11 = !{!12, !6, i64 20}
!12 = !{!"pt_block_decoder", !6, i64 0, !6, i64 4, !13, i64 8, !6, i64 16, !6, i64 20}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!12, !13, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_block_decoder.c_pt_blk_decoder_init.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_block_decoder.c_pt_blk_decoder_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pt_config = type { i32 }
@pte_internal = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @pt_blk_decoder_init(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.pt_config, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = icmp eq ptr %0, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @pte_internal, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %28
8: ; preds = %2
%9 = call i32 @pt_config_from_user(ptr noundef nonnull %3, ptr noundef %1) #3
%10 = icmp slt i32 %9, 0
br i1 %10, label %28, label %11
11: ; preds = %8
%12 = load i32, ptr %3, align 4, !tbaa !10
%13 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %12, ptr %13, align 4, !tbaa !12
%14 = call i32 @pt_blk_init_qry_flags(ptr noundef nonnull %3, ptr noundef nonnull %13) #3
%15 = icmp slt i32 %14, 0
br i1 %15, label %28, label %16
16: ; preds = %11
%17 = getelementptr inbounds i8, ptr %0, i64 16
%18 = call i32 @pt_qry_decoder_init(ptr noundef nonnull %17, ptr noundef nonnull %3) #3
%19 = icmp slt i32 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %16
%21 = getelementptr inbounds i8, ptr %0, i64 4
%22 = call i32 @pt_image_init(ptr noundef nonnull %21, ptr noundef null) #3
%23 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %21, ptr %23, align 8, !tbaa !15
%24 = call i32 @pt_msec_cache_init(ptr noundef nonnull %0) #3
%25 = icmp slt i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %20
%27 = call i32 @pt_blk_reset(ptr noundef nonnull %0) #3
br label %28
28: ; preds = %20, %16, %11, %8, %26, %5
%29 = phi i32 [ 0, %26 ], [ %7, %5 ], [ %9, %8 ], [ %14, %11 ], [ %18, %16 ], [ %24, %20 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pt_config_from_user(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pt_blk_init_qry_flags(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pt_qry_decoder_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pt_image_init(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pt_msec_cache_init(ptr noundef) local_unnamed_addr #2
declare i32 @pt_blk_reset(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"pt_config", !7, i64 0}
!12 = !{!13, !7, i64 20}
!13 = !{!"pt_block_decoder", !7, i64 0, !7, i64 4, !14, i64 8, !7, i64 16, !7, i64 20}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!13, !14, i64 8}
| freebsd_contrib_processor-trace_libipt_src_extr_pt_block_decoder.c_pt_blk_decoder_init |
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_spi.c_SPI_freetuple.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_spi.c_SPI_freetuple.c"
target datalayout = "e-m:e-p270:32:32-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 @SPI_freetuple(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @heap_freetuple(i32 noundef %0) #2
ret void
}
declare i32 @heap_freetuple(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/postgres/src/backend/executor/extr_spi.c_SPI_freetuple.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_spi.c_SPI_freetuple.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 @SPI_freetuple(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @heap_freetuple(i32 noundef %0) #2
ret void
}
declare i32 @heap_freetuple(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)"}
| postgres_src_backend_executor_extr_spi.c_SPI_freetuple |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_opera1.c_opera1_set_voltage.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_opera1.c_opera1_set_voltage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i2c_msg = type { ptr, i32, i32, i32 }
@opera1_set_voltage.command_13v = internal global [1 x i32] zeroinitializer, align 4
@opera1_set_voltage.command_18v = internal global [1 x i32] [i32 1], align 4
@ADDR_B600_VOLTAGE_13V = dso_local local_unnamed_addr global i32 0, align 4
@SEC_VOLTAGE_18 = dso_local local_unnamed_addr global i64 0, align 8
@ADDR_B601_VOLTAGE_18V = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @opera1_set_voltage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @opera1_set_voltage(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = alloca [1 x %struct.i2c_msg], align 16
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
store ptr @opera1_set_voltage.command_13v, ptr %3, align 16, !tbaa !5
%4 = getelementptr inbounds %struct.i2c_msg, ptr %3, i64 0, i32 1
store i32 1, ptr %4, align 8, !tbaa !11
%5 = getelementptr inbounds %struct.i2c_msg, ptr %3, i64 0, i32 2
%6 = load i32, ptr @ADDR_B600_VOLTAGE_13V, align 4, !tbaa !12
store i32 %6, ptr %5, align 4, !tbaa !13
%7 = getelementptr inbounds %struct.i2c_msg, ptr %3, i64 0, i32 3
store i32 0, ptr %7, align 16, !tbaa !14
%8 = load ptr, ptr %0, align 8, !tbaa !15
%9 = load i64, ptr %8, align 8, !tbaa !17
%10 = load i64, ptr @SEC_VOLTAGE_18, align 8, !tbaa !20
%11 = icmp eq i64 %10, %1
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr @ADDR_B601_VOLTAGE_18V, align 4, !tbaa !12
store i32 %13, ptr %5, align 4, !tbaa !13
store ptr @opera1_set_voltage.command_18v, ptr %3, align 16, !tbaa !5
br label %14
14: ; preds = %12, %2
%15 = inttoptr i64 %9 to ptr
%16 = load ptr, ptr %15, align 8, !tbaa !21
%17 = call i32 @i2c_transfer(ptr noundef %16, ptr noundef nonnull %3, i32 noundef 1) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @i2c_transfer(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, !7, i64 0}
!6 = !{!"i2c_msg", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 12}
!14 = !{!6, !10, i64 16}
!15 = !{!16, !7, i64 0}
!16 = !{!"dvb_frontend", !7, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"TYPE_4__", !19, i64 0}
!19 = !{!"long", !8, i64 0}
!20 = !{!19, !19, i64 0}
!21 = !{!22, !7, i64 0}
!22 = !{!"dvb_usb_adapter", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_opera1.c_opera1_set_voltage.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_opera1.c_opera1_set_voltage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.i2c_msg = type { ptr, i32, i32, i32 }
@opera1_set_voltage.command_13v = internal global [1 x i32] zeroinitializer, align 4
@opera1_set_voltage.command_18v = internal global [1 x i32] [i32 1], align 4
@ADDR_B600_VOLTAGE_13V = common local_unnamed_addr global i32 0, align 4
@SEC_VOLTAGE_18 = common local_unnamed_addr global i64 0, align 8
@ADDR_B601_VOLTAGE_18V = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @opera1_set_voltage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @opera1_set_voltage(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = alloca [1 x %struct.i2c_msg], align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
store ptr @opera1_set_voltage.command_13v, ptr %3, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 8
store i32 1, ptr %4, align 8, !tbaa !12
%5 = getelementptr inbounds i8, ptr %3, i64 12
%6 = load i32, ptr @ADDR_B600_VOLTAGE_13V, align 4, !tbaa !13
store i32 %6, ptr %5, align 4, !tbaa !14
%7 = getelementptr inbounds i8, ptr %3, i64 16
store i32 0, ptr %7, align 8, !tbaa !15
%8 = load ptr, ptr %0, align 8, !tbaa !16
%9 = load i64, ptr %8, align 8, !tbaa !18
%10 = load i64, ptr @SEC_VOLTAGE_18, align 8, !tbaa !21
%11 = icmp eq i64 %10, %1
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr @ADDR_B601_VOLTAGE_18V, align 4, !tbaa !13
store i32 %13, ptr %5, align 4, !tbaa !14
store ptr @opera1_set_voltage.command_18v, ptr %3, align 8, !tbaa !6
br label %14
14: ; preds = %12, %2
%15 = inttoptr i64 %9 to ptr
%16 = load ptr, ptr %15, align 8, !tbaa !22
%17 = call i32 @i2c_transfer(ptr noundef %16, ptr noundef nonnull %3, i32 noundef 1) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @i2c_transfer(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, !8, i64 0}
!7 = !{!"i2c_msg", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 12}
!15 = !{!7, !11, i64 16}
!16 = !{!17, !8, i64 0}
!17 = !{!"dvb_frontend", !8, i64 0}
!18 = !{!19, !20, i64 0}
!19 = !{!"TYPE_4__", !20, i64 0}
!20 = !{!"long", !9, i64 0}
!21 = !{!20, !20, i64 0}
!22 = !{!23, !8, i64 0}
!23 = !{!"dvb_usb_adapter", !8, i64 0}
| fastsocket_kernel_drivers_media_dvb_dvb-usb_extr_opera1.c_opera1_set_voltage |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..intel_runtime_pm.h_enable_rpm_wakeref_asserts.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..intel_runtime_pm.h_enable_rpm_wakeref_asserts.c"
target datalayout = "e-m:e-p270:32:32-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_RPM_WAKELOCK_BIAS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @enable_rpm_wakeref_asserts], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @enable_rpm_wakeref_asserts(ptr noundef %0) #0 {
%2 = load i64, ptr @INTEL_RPM_WAKELOCK_BIAS, align 8, !tbaa !5
%3 = add nsw i64 %2, 1
%4 = tail call i32 @atomic_sub(i64 noundef %3, ptr noundef %0) #2
ret void
}
declare i32 @atomic_sub(i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..intel_runtime_pm.h_enable_rpm_wakeref_asserts.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..intel_runtime_pm.h_enable_rpm_wakeref_asserts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTEL_RPM_WAKELOCK_BIAS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @enable_rpm_wakeref_asserts], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @enable_rpm_wakeref_asserts(ptr noundef %0) #0 {
%2 = load i64, ptr @INTEL_RPM_WAKELOCK_BIAS, align 8, !tbaa !6
%3 = add nsw i64 %2, 1
%4 = tail call i32 @atomic_sub(i64 noundef %3, ptr noundef %0) #2
ret void
}
declare i32 @atomic_sub(i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_selftests_extr_..intel_runtime_pm.h_enable_rpm_wakeref_asserts |
; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_ltable.c_getgeneric.c'
source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_ltable.c_getgeneric.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@luaO_nilobject = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @getgeneric], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @getgeneric(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @mainposition(ptr noundef %0, ptr noundef %1) #2
br label %4
4: ; preds = %11, %2
%5 = phi ptr [ %3, %2 ], [ %15, %11 ]
%6 = tail call i32 @gkey(ptr noundef %5) #2
%7 = tail call i64 @luaV_rawequalobj(i32 noundef %6, ptr noundef %1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %4
%10 = tail call ptr @gval(ptr noundef %5) #2
br label %18
11: ; preds = %4
%12 = tail call i32 @gnext(ptr noundef %5) #2
%13 = icmp eq i32 %12, 0
%14 = sext i32 %12 to i64
%15 = getelementptr inbounds i32, ptr %5, i64 %14
br i1 %13, label %16, label %4
16: ; preds = %11
%17 = load ptr, ptr @luaO_nilobject, align 8
br label %18
18: ; preds = %16, %9
%19 = phi ptr [ %10, %9 ], [ %17, %16 ]
ret ptr %19
}
declare ptr @mainposition(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @luaV_rawequalobj(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @gkey(ptr noundef) local_unnamed_addr #1
declare ptr @gval(ptr noundef) local_unnamed_addr #1
declare i32 @gnext(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_ltable.c_getgeneric.c'
source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_ltable.c_getgeneric.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@luaO_nilobject = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @getgeneric], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @getgeneric(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @mainposition(ptr noundef %0, ptr noundef %1) #2
br label %4
4: ; preds = %11, %2
%5 = phi ptr [ %3, %2 ], [ %15, %11 ]
%6 = tail call i32 @gkey(ptr noundef %5) #2
%7 = tail call i64 @luaV_rawequalobj(i32 noundef %6, ptr noundef %1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %4
%10 = tail call ptr @gval(ptr noundef %5) #2
br label %18
11: ; preds = %4
%12 = tail call i32 @gnext(ptr noundef %5) #2
%13 = icmp eq i32 %12, 0
%14 = sext i32 %12 to i64
%15 = getelementptr inbounds i32, ptr %5, i64 %14
br i1 %13, label %16, label %4
16: ; preds = %11
%17 = load ptr, ptr @luaO_nilobject, align 8
br label %18
18: ; preds = %16, %9
%19 = phi ptr [ %10, %9 ], [ %17, %16 ]
ret ptr %19
}
declare ptr @mainposition(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @luaV_rawequalobj(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @gkey(ptr noundef) local_unnamed_addr #1
declare ptr @gval(ptr noundef) local_unnamed_addr #1
declare i32 @gnext(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_lua_src_extr_ltable.c_getgeneric |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_gvp11.c_gvp11_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_gvp11.c_gvp11_release.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IRQ_AMIGA_PORTS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @gvp11_release(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_gvp11.c_gvp11_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_gvp11.c_gvp11_release.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IRQ_AMIGA_PORTS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @gvp11_release(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret i32 1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_scsi_extr_gvp11.c_gvp11_release |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kperf/extr_action.c_kperf_ast_pend.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kperf/extr_action.c_kperf_ast_pend.c"
target datalayout = "e-m:e-p270:32:32-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 [30 x i8] c"pending to non-current thread\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @kperf_ast_pend(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 (...) @current_thread() #2
%4 = icmp eq i64 %3, %0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %7
7: ; preds = %5, %2
%8 = tail call i32 @kperf_get_thread_flags(i64 noundef %0) #2
%9 = and i32 %8, %1
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = or i32 %8, %1
%13 = tail call i32 @kperf_set_thread_flags(i64 noundef %0, i32 noundef %12) #2
%14 = tail call i32 @act_set_kperf(i64 noundef %0) #2
br label %15
15: ; preds = %7, %11
%16 = phi i32 [ 1, %11 ], [ 0, %7 ]
ret i32 %16
}
declare i64 @current_thread(...) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @kperf_get_thread_flags(i64 noundef) local_unnamed_addr #1
declare i32 @kperf_set_thread_flags(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @act_set_kperf(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/darwin-xnu/osfmk/kperf/extr_action.c_kperf_ast_pend.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kperf/extr_action.c_kperf_ast_pend.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [30 x i8] c"pending to non-current thread\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @kperf_ast_pend(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @current_thread() #2
%4 = icmp eq i64 %3, %0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 @panic(ptr noundef nonnull @.str) #2
br label %7
7: ; preds = %5, %2
%8 = tail call i32 @kperf_get_thread_flags(i64 noundef %0) #2
%9 = and i32 %8, %1
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = or i32 %8, %1
%13 = tail call i32 @kperf_set_thread_flags(i64 noundef %0, i32 noundef %12) #2
%14 = tail call i32 @act_set_kperf(i64 noundef %0) #2
br label %15
15: ; preds = %7, %11
%16 = phi i32 [ 1, %11 ], [ 0, %7 ]
ret i32 %16
}
declare i64 @current_thread(...) local_unnamed_addr #1
declare i32 @panic(ptr noundef) local_unnamed_addr #1
declare i32 @kperf_get_thread_flags(i64 noundef) local_unnamed_addr #1
declare i32 @kperf_set_thread_flags(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @act_set_kperf(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)"}
| darwin-xnu_osfmk_kperf_extr_action.c_kperf_ast_pend |
; ModuleID = 'AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge_tx.c_sfxge_tx_qcomplete.c'
source_filename = "AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge_tx.c_sfxge_tx_qcomplete.c"
target datalayout = "e-m:e-p270:32:32-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.sfxge_txq = type { i32, i32, i32, i32, i32, i64, i32, ptr }
%struct.sfxge_tx_mapping = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32, ptr }
@TX_BUF_UNMAP = dso_local local_unnamed_addr global i32 0, align 4
@TX_BUF_MBUF = dso_local local_unnamed_addr global i32 0, align 4
@M_SFXGE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @sfxge_tx_qcomplete(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @SFXGE_EVQ_LOCK_ASSERT_OWNED(ptr noundef %1) #2
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.sfxge_txq, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = icmp eq i32 %4, %6
br i1 %7, label %54, label %8
8: ; preds = %2
%9 = getelementptr inbounds %struct.sfxge_txq, ptr %0, i64 0, i32 2
%10 = getelementptr inbounds %struct.sfxge_txq, ptr %0, i64 0, i32 7
%11 = getelementptr inbounds %struct.sfxge_txq, ptr %0, i64 0, i32 6
%12 = load i32, ptr @TX_BUF_UNMAP, align 4, !tbaa !13
br label %13
13: ; preds = %8, %50
%14 = phi i32 [ %6, %8 ], [ %51, %50 ]
%15 = phi i32 [ %12, %8 ], [ %52, %50 ]
%16 = phi i32 [ %4, %8 ], [ %17, %50 ]
%17 = add i32 %16, 1
%18 = load i32, ptr %9, align 8, !tbaa !14
%19 = and i32 %18, %16
%20 = load ptr, ptr %10, align 8, !tbaa !15
%21 = zext i32 %19 to i64
%22 = getelementptr inbounds %struct.sfxge_tx_mapping, ptr %20, i64 %21
%23 = load i32, ptr %22, align 8, !tbaa !16
%24 = and i32 %15, %23
%25 = icmp eq i32 %24, 0
br i1 %25, label %50, label %26
26: ; preds = %13
%27 = load i32, ptr %11, align 8, !tbaa !19
%28 = getelementptr inbounds %struct.sfxge_tx_mapping, ptr %20, i64 %21, i32 2
%29 = load i32, ptr %28, align 8, !tbaa !20
%30 = tail call i32 @bus_dmamap_unload(i32 noundef %27, i32 noundef %29) #2
%31 = load i32, ptr %22, align 8, !tbaa !16
%32 = load i32, ptr @TX_BUF_MBUF, align 4, !tbaa !13
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %42, label %35
35: ; preds = %26
%36 = getelementptr inbounds %struct.sfxge_tx_mapping, ptr %20, i64 %21, i32 1, i32 1
%37 = load ptr, ptr %36, align 8, !tbaa !21
br label %38
38: ; preds = %38, %35
%39 = phi ptr [ %37, %35 ], [ %40, %38 ]
%40 = tail call ptr @m_free(ptr noundef %39) #2
%41 = icmp eq ptr %40, null
br i1 %41, label %47, label %38, !llvm.loop !22
42: ; preds = %26
%43 = getelementptr inbounds %struct.sfxge_tx_mapping, ptr %20, i64 %21, i32 1
%44 = load i32, ptr %43, align 8, !tbaa !24
%45 = load i32, ptr @M_SFXGE, align 4, !tbaa !13
%46 = tail call i32 @free(i32 noundef %44, i32 noundef %45) #2
br label %47
47: ; preds = %38, %42
store i32 0, ptr %22, align 8, !tbaa !16
%48 = load i32, ptr @TX_BUF_UNMAP, align 4, !tbaa !13
%49 = load i32, ptr %5, align 4, !tbaa !12
br label %50
50: ; preds = %47, %13
%51 = phi i32 [ %49, %47 ], [ %14, %13 ]
%52 = phi i32 [ %48, %47 ], [ %15, %13 ]
%53 = icmp eq i32 %17, %51
br i1 %53, label %54, label %13, !llvm.loop !25
54: ; preds = %50, %2
%55 = phi i32 [ %4, %2 ], [ %17, %50 ]
store i32 %55, ptr %0, align 8, !tbaa !5
%56 = tail call i32 (...) @mb() #2
%57 = getelementptr inbounds %struct.sfxge_txq, ptr %0, i64 0, i32 5
%58 = load i64, ptr %57, align 8, !tbaa !26
%59 = icmp eq i64 %58, 0
br i1 %59, label %71, label %60
60: ; preds = %54
%61 = getelementptr inbounds %struct.sfxge_txq, ptr %0, i64 0, i32 3
%62 = load i32, ptr %61, align 4, !tbaa !27
%63 = load i32, ptr %0, align 8, !tbaa !5
%64 = sub i32 %62, %63
%65 = getelementptr inbounds %struct.sfxge_txq, ptr %0, i64 0, i32 4
%66 = load i32, ptr %65, align 8, !tbaa !28
%67 = tail call i32 @SFXGE_TXQ_UNBLOCK_LEVEL(i32 noundef %66) #2
%68 = icmp ugt i32 %64, %67
br i1 %68, label %71, label %69
69: ; preds = %60
%70 = tail call i32 @sfxge_tx_qunblock(ptr noundef nonnull %0) #2
br label %71
71: ; preds = %60, %69, %54
ret void
}
declare i32 @SFXGE_EVQ_LOCK_ASSERT_OWNED(ptr noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_unload(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @m_free(ptr noundef) local_unnamed_addr #1
declare i32 @free(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mb(...) local_unnamed_addr #1
declare i32 @SFXGE_TXQ_UNBLOCK_LEVEL(i32 noundef) local_unnamed_addr #1
declare i32 @sfxge_tx_qunblock(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 = !{!"sfxge_txq", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !7, i64 32, !11, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !11, i64 40}
!16 = !{!17, !7, i64 0}
!17 = !{!"sfxge_tx_mapping", !7, i64 0, !18, i64 8, !7, i64 24}
!18 = !{!"TYPE_2__", !7, i64 0, !11, i64 8}
!19 = !{!6, !7, i64 32}
!20 = !{!17, !7, i64 24}
!21 = !{!17, !11, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!17, !7, i64 8}
!25 = distinct !{!25, !23}
!26 = !{!6, !10, i64 24}
!27 = !{!6, !7, i64 12}
!28 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge_tx.c_sfxge_tx_qcomplete.c'
source_filename = "AnghaBench/freebsd/sys/dev/sfxge/extr_sfxge_tx.c_sfxge_tx_qcomplete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sfxge_tx_mapping = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32, ptr }
@TX_BUF_UNMAP = common local_unnamed_addr global i32 0, align 4
@TX_BUF_MBUF = common local_unnamed_addr global i32 0, align 4
@M_SFXGE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @sfxge_tx_qcomplete(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @SFXGE_EVQ_LOCK_ASSERT_OWNED(ptr noundef %1) #2
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = icmp eq i32 %4, %6
br i1 %7, label %54, label %8
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = getelementptr inbounds i8, ptr %0, i64 40
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = load i32, ptr @TX_BUF_UNMAP, align 4, !tbaa !14
br label %13
13: ; preds = %8, %50
%14 = phi i32 [ %6, %8 ], [ %51, %50 ]
%15 = phi i32 [ %12, %8 ], [ %52, %50 ]
%16 = phi i32 [ %4, %8 ], [ %17, %50 ]
%17 = add i32 %16, 1
%18 = load i32, ptr %9, align 8, !tbaa !15
%19 = and i32 %18, %16
%20 = load ptr, ptr %10, align 8, !tbaa !16
%21 = zext i32 %19 to i64
%22 = getelementptr inbounds %struct.sfxge_tx_mapping, ptr %20, i64 %21
%23 = load i32, ptr %22, align 8, !tbaa !17
%24 = and i32 %15, %23
%25 = icmp eq i32 %24, 0
br i1 %25, label %50, label %26
26: ; preds = %13
%27 = load i32, ptr %11, align 8, !tbaa !20
%28 = getelementptr inbounds i8, ptr %22, i64 24
%29 = load i32, ptr %28, align 8, !tbaa !21
%30 = tail call i32 @bus_dmamap_unload(i32 noundef %27, i32 noundef %29) #2
%31 = load i32, ptr %22, align 8, !tbaa !17
%32 = load i32, ptr @TX_BUF_MBUF, align 4, !tbaa !14
%33 = and i32 %32, %31
%34 = icmp eq i32 %33, 0
br i1 %34, label %42, label %35
35: ; preds = %26
%36 = getelementptr inbounds i8, ptr %22, i64 16
%37 = load ptr, ptr %36, align 8, !tbaa !22
br label %38
38: ; preds = %38, %35
%39 = phi ptr [ %37, %35 ], [ %40, %38 ]
%40 = tail call ptr @m_free(ptr noundef %39) #2
%41 = icmp eq ptr %40, null
br i1 %41, label %47, label %38, !llvm.loop !23
42: ; preds = %26
%43 = getelementptr inbounds i8, ptr %22, i64 8
%44 = load i32, ptr %43, align 8, !tbaa !25
%45 = load i32, ptr @M_SFXGE, align 4, !tbaa !14
%46 = tail call i32 @free(i32 noundef %44, i32 noundef %45) #2
br label %47
47: ; preds = %38, %42
store i32 0, ptr %22, align 8, !tbaa !17
%48 = load i32, ptr @TX_BUF_UNMAP, align 4, !tbaa !14
%49 = load i32, ptr %5, align 4, !tbaa !13
br label %50
50: ; preds = %47, %13
%51 = phi i32 [ %49, %47 ], [ %14, %13 ]
%52 = phi i32 [ %48, %47 ], [ %15, %13 ]
%53 = icmp eq i32 %17, %51
br i1 %53, label %54, label %13, !llvm.loop !26
54: ; preds = %50, %2
%55 = phi i32 [ %4, %2 ], [ %17, %50 ]
store i32 %55, ptr %0, align 8, !tbaa !6
%56 = tail call i32 @mb() #2
%57 = getelementptr inbounds i8, ptr %0, i64 24
%58 = load i64, ptr %57, align 8, !tbaa !27
%59 = icmp eq i64 %58, 0
br i1 %59, label %71, label %60
60: ; preds = %54
%61 = getelementptr inbounds i8, ptr %0, i64 12
%62 = load i32, ptr %61, align 4, !tbaa !28
%63 = load i32, ptr %0, align 8, !tbaa !6
%64 = sub i32 %62, %63
%65 = getelementptr inbounds i8, ptr %0, i64 16
%66 = load i32, ptr %65, align 8, !tbaa !29
%67 = tail call i32 @SFXGE_TXQ_UNBLOCK_LEVEL(i32 noundef %66) #2
%68 = icmp ugt i32 %64, %67
br i1 %68, label %71, label %69
69: ; preds = %60
%70 = tail call i32 @sfxge_tx_qunblock(ptr noundef nonnull %0) #2
br label %71
71: ; preds = %60, %69, %54
ret void
}
declare i32 @SFXGE_EVQ_LOCK_ASSERT_OWNED(ptr noundef) local_unnamed_addr #1
declare i32 @bus_dmamap_unload(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @m_free(ptr noundef) local_unnamed_addr #1
declare i32 @free(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mb(...) local_unnamed_addr #1
declare i32 @SFXGE_TXQ_UNBLOCK_LEVEL(i32 noundef) local_unnamed_addr #1
declare i32 @sfxge_tx_qunblock(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 = !{!"sfxge_txq", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 24, !8, i64 32, !12, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !12, i64 40}
!17 = !{!18, !8, i64 0}
!18 = !{!"sfxge_tx_mapping", !8, i64 0, !19, i64 8, !8, i64 24}
!19 = !{!"TYPE_2__", !8, i64 0, !12, i64 8}
!20 = !{!7, !8, i64 32}
!21 = !{!18, !8, i64 24}
!22 = !{!18, !12, i64 16}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!18, !8, i64 8}
!26 = distinct !{!26, !24}
!27 = !{!7, !11, i64 24}
!28 = !{!7, !8, i64 12}
!29 = !{!7, !8, i64 16}
| freebsd_sys_dev_sfxge_extr_sfxge_tx.c_sfxge_tx_qcomplete |
; ModuleID = 'AnghaBench/hashcat/src/extr_convert.c_printable_utf8.c'
source_filename = "AnghaBench/hashcat/src/extr_convert.c_printable_utf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@__const.printable_utf8.cp_types = private unnamed_addr constant [256 x i32] [i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 2, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 4, i32 5, i32 5, i32 6, i32 7, i32 7, i32 7, i32 8, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1], align 16
@__const.printable_utf8.cp_lens = private unnamed_addr constant [9 x i64] [i64 1, i64 2, i64 3, i64 3, i64 3, i64 3, i64 4, i64 4, i64 4], align 16
@llvm.compiler.used = appending global [1 x ptr] [ptr @printable_utf8], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
define internal noundef i32 @printable_utf8(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %61, label %4
4: ; preds = %2, %57
%5 = phi i64 [ %59, %57 ], [ 0, %2 ]
%6 = getelementptr inbounds i64, ptr %0, i64 %5
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = getelementptr inbounds [256 x i32], ptr @__const.printable_utf8.cp_types, i64 0, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !9
%10 = icmp eq i32 %9, -1
br i1 %10, label %61, label %11
11: ; preds = %4
%12 = sext i32 %9 to i64
%13 = getelementptr inbounds [9 x i64], ptr @__const.printable_utf8.cp_lens, i64 0, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !5
%15 = add i64 %14, %5
%16 = icmp ugt i64 %15, %1
br i1 %16, label %61, label %17
17: ; preds = %11
%18 = add i64 %7, -32
%19 = icmp ult i64 %18, 96
br i1 %19, label %57, label %20
20: ; preds = %17
%21 = add nuw i64 %5, 1
%22 = getelementptr inbounds i64, ptr %0, i64 %21
%23 = load i64, ptr %22, align 8, !tbaa !5
switch i32 %9, label %36 [
i32 2, label %24
i32 4, label %27
i32 6, label %30
i32 8, label %33
]
24: ; preds = %20
%25 = add i64 %23, -192
%26 = icmp ult i64 %25, -32
br i1 %26, label %61, label %39
27: ; preds = %20
%28 = add i64 %23, -160
%29 = icmp ult i64 %28, -32
br i1 %29, label %61, label %39
30: ; preds = %20
%31 = add i64 %23, -192
%32 = icmp ult i64 %31, -48
br i1 %32, label %61, label %39
33: ; preds = %20
%34 = add i64 %23, -144
%35 = icmp ult i64 %34, -16
br i1 %35, label %61, label %39
36: ; preds = %20
%37 = add i64 %23, -192
%38 = icmp ult i64 %37, -64
br i1 %38, label %61, label %39
39: ; preds = %36, %33, %30, %27, %24
%40 = add i64 %7, -224
%41 = icmp ult i64 %40, -30
br i1 %41, label %42, label %57
42: ; preds = %39
%43 = add i64 %5, -1
%44 = tail call i64 @llvm.umax.i64(i64 %14, i64 3)
%45 = add i64 %43, %44
br label %49
46: ; preds = %49
%47 = add nuw i64 %50, 1
%48 = icmp eq i64 %47, %44
br i1 %48, label %57, label %49, !llvm.loop !11
49: ; preds = %42, %46
%50 = phi i64 [ %47, %46 ], [ 2, %42 ]
%51 = phi i64 [ %52, %46 ], [ %21, %42 ]
%52 = add i64 %51, 1
%53 = getelementptr inbounds i64, ptr %0, i64 %52
%54 = load i64, ptr %53, align 8, !tbaa !5
%55 = and i64 %54, -64
%56 = icmp eq i64 %55, 128
br i1 %56, label %46, label %61
57: ; preds = %46, %39, %17
%58 = phi i64 [ %5, %17 ], [ %21, %39 ], [ %45, %46 ]
%59 = add i64 %58, 1
%60 = icmp ult i64 %59, %1
br i1 %60, label %4, label %61, !llvm.loop !13
61: ; preds = %57, %4, %11, %24, %27, %30, %33, %36, %49, %2
%62 = phi i32 [ 1, %2 ], [ 0, %49 ], [ 1, %57 ], [ 0, %4 ], [ 0, %11 ], [ 0, %24 ], [ 0, %27 ], [ 0, %30 ], [ 0, %33 ], [ 0, %36 ]
ret i32 %62
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #1
attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| ; ModuleID = 'AnghaBench/hashcat/src/extr_convert.c_printable_utf8.c'
source_filename = "AnghaBench/hashcat/src/extr_convert.c_printable_utf8.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__const.printable_utf8.cp_types = private unnamed_addr constant [256 x i32] [i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 2, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 4, i32 5, i32 5, i32 6, i32 7, i32 7, i32 7, i32 8, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1], align 4
@__const.printable_utf8.cp_lens = private unnamed_addr constant [9 x i64] [i64 1, i64 2, i64 3, i64 3, i64 3, i64 3, i64 4, i64 4, i64 4], align 8
@llvm.used = appending global [1 x ptr] [ptr @printable_utf8], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync)
define internal noundef i32 @printable_utf8(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %61, label %4
4: ; preds = %2, %57
%5 = phi i64 [ %59, %57 ], [ 0, %2 ]
%6 = getelementptr inbounds i64, ptr %0, i64 %5
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = getelementptr inbounds [256 x i32], ptr @__const.printable_utf8.cp_types, i64 0, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = icmp eq i32 %9, -1
br i1 %10, label %61, label %11
11: ; preds = %4
%12 = sext i32 %9 to i64
%13 = getelementptr inbounds [9 x i64], ptr @__const.printable_utf8.cp_lens, i64 0, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !6
%15 = add i64 %14, %5
%16 = icmp ugt i64 %15, %1
br i1 %16, label %61, label %17
17: ; preds = %11
%18 = add i64 %7, -32
%19 = icmp ult i64 %18, 96
br i1 %19, label %57, label %20
20: ; preds = %17
%21 = add nuw i64 %5, 1
%22 = getelementptr inbounds i64, ptr %0, i64 %21
%23 = load i64, ptr %22, align 8, !tbaa !6
switch i32 %9, label %36 [
i32 2, label %24
i32 4, label %27
i32 6, label %30
i32 8, label %33
]
24: ; preds = %20
%25 = add i64 %23, -192
%26 = icmp ult i64 %25, -32
br i1 %26, label %61, label %39
27: ; preds = %20
%28 = add i64 %23, -160
%29 = icmp ult i64 %28, -32
br i1 %29, label %61, label %39
30: ; preds = %20
%31 = add i64 %23, -192
%32 = icmp ult i64 %31, -48
br i1 %32, label %61, label %39
33: ; preds = %20
%34 = add i64 %23, -144
%35 = icmp ult i64 %34, -16
br i1 %35, label %61, label %39
36: ; preds = %20
%37 = add i64 %23, -192
%38 = icmp ult i64 %37, -64
br i1 %38, label %61, label %39
39: ; preds = %36, %33, %30, %27, %24
%40 = add i64 %7, -224
%41 = icmp ult i64 %40, -30
br i1 %41, label %42, label %57
42: ; preds = %39
%43 = add i64 %5, -1
%44 = tail call i64 @llvm.umax.i64(i64 %14, i64 3)
%45 = add i64 %43, %44
br label %49
46: ; preds = %49
%47 = add nuw i64 %50, 1
%48 = icmp eq i64 %47, %44
br i1 %48, label %57, label %49, !llvm.loop !12
49: ; preds = %42, %46
%50 = phi i64 [ %47, %46 ], [ 2, %42 ]
%51 = phi i64 [ %52, %46 ], [ %21, %42 ]
%52 = add i64 %51, 1
%53 = getelementptr inbounds i64, ptr %0, i64 %52
%54 = load i64, ptr %53, align 8, !tbaa !6
%55 = and i64 %54, -64
%56 = icmp eq i64 %55, 128
br i1 %56, label %46, label %61
57: ; preds = %46, %39, %17
%58 = phi i64 [ %5, %17 ], [ %21, %39 ], [ %45, %46 ]
%59 = add i64 %58, 1
%60 = icmp ult i64 %59, %1
br i1 %60, label %4, label %61, !llvm.loop !14
61: ; preds = %57, %4, %11, %24, %27, %30, %33, %36, %49, %2
%62 = phi i32 [ 1, %2 ], [ 0, %49 ], [ 1, %57 ], [ 0, %4 ], [ 0, %11 ], [ 0, %24 ], [ 0, %27 ], [ 0, %30 ], [ 0, %33 ], [ 0, %36 ]
ret i32 %62
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #1
attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| hashcat_src_extr_convert.c_printable_utf8 |
; ModuleID = 'AnghaBench/php-src/ext/zlib/extr_zlib.c_php_zlib_decode.c'
source_filename = "AnghaBench/php-src/ext/zlib/extr_zlib.c_php_zlib_decode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, ptr, i32, i32 }
@php_zlib_alloc = dso_local local_unnamed_addr global i32 0, align 4
@php_zlib_free = dso_local local_unnamed_addr global i32 0, align 4
@Z_OK = dso_local local_unnamed_addr global i32 0, align 4
@SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@PHP_ZLIB_ENCODING_ANY = dso_local local_unnamed_addr global i32 0, align 4
@PHP_ZLIB_ENCODING_RAW = dso_local local_unnamed_addr global i32 0, align 4
@E_WARNING = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @php_zlib_decode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @php_zlib_decode(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i64 noundef %5) #0 {
%7 = alloca %struct.TYPE_6__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
%8 = call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 24) #3
%9 = load i32, ptr @php_zlib_alloc, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 3
store i32 %9, ptr %10, align 4, !tbaa !9
%11 = load i32, ptr @php_zlib_free, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 2
store i32 %11, ptr %12, align 8, !tbaa !13
%13 = icmp eq i64 %1, 0
br i1 %13, label %37, label %14
14: ; preds = %6
%15 = call i32 @inflateInit2(ptr noundef nonnull %7, i32 noundef %4) #3
%16 = load i32, ptr @Z_OK, align 4, !tbaa !5
%17 = icmp eq i32 %16, %15
br i1 %17, label %18, label %37
18: ; preds = %14
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 1
%20 = add i64 %1, 1
br label %21
21: ; preds = %18, %29
%22 = phi i32 [ %4, %18 ], [ %31, %29 ]
store ptr %0, ptr %19, align 8, !tbaa !14
store i64 %20, ptr %7, align 8, !tbaa !15
%23 = call i32 @php_zlib_inflate_rounds(ptr noundef nonnull %7, i64 noundef %5, ptr noundef %2, ptr noundef %3) #3
switch i32 %23, label %35 [
i32 128, label %24
i32 129, label %26
]
24: ; preds = %21
%25 = call i32 @inflateEnd(ptr noundef nonnull %7) #3
br label %42
26: ; preds = %21
%27 = load i32, ptr @PHP_ZLIB_ENCODING_ANY, align 4, !tbaa !5
%28 = icmp eq i32 %27, %22
br i1 %28, label %29, label %35
29: ; preds = %26
%30 = call i32 @inflateEnd(ptr noundef nonnull %7) #3
%31 = load i32, ptr @PHP_ZLIB_ENCODING_RAW, align 4, !tbaa !5
%32 = call i32 @inflateInit2(ptr noundef nonnull %7, i32 noundef %31) #3
%33 = load i32, ptr @Z_OK, align 4, !tbaa !5
%34 = icmp eq i32 %33, %32
br i1 %34, label %21, label %37
35: ; preds = %26, %21
%36 = call i32 @inflateEnd(ptr noundef nonnull %7) #3
br label %37
37: ; preds = %29, %14, %35, %6
%38 = phi i32 [ %23, %35 ], [ 129, %6 ], [ %15, %14 ], [ %32, %29 ]
store ptr null, ptr %2, align 8, !tbaa !16
store i64 0, ptr %3, align 8, !tbaa !17
%39 = load i32, ptr @E_WARNING, align 4, !tbaa !5
%40 = call i32 @zError(i32 noundef %38) #3
%41 = call i32 @php_error_docref(ptr noundef null, i32 noundef %39, ptr noundef nonnull @.str, i32 noundef %40) #3
br label %42
42: ; preds = %37, %24
%43 = phi ptr [ @FAILURE, %37 ], [ @SUCCESS, %24 ]
%44 = load i32, ptr %43, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
ret i32 %44
}
; 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 @inflateInit2(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @php_zlib_inflate_rounds(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @inflateEnd(ptr noundef) local_unnamed_addr #2
declare i32 @php_error_docref(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @zError(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 20}
!10 = !{!"TYPE_6__", !11, i64 0, !12, i64 8, !6, i64 16, !6, i64 20}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !6, i64 16}
!14 = !{!10, !12, i64 8}
!15 = !{!10, !11, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/zlib/extr_zlib.c_php_zlib_decode.c'
source_filename = "AnghaBench/php-src/ext/zlib/extr_zlib.c_php_zlib_decode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i64, ptr, i32, i32 }
@php_zlib_alloc = common local_unnamed_addr global i32 0, align 4
@php_zlib_free = common local_unnamed_addr global i32 0, align 4
@Z_OK = common local_unnamed_addr global i32 0, align 4
@SUCCESS = common local_unnamed_addr global i32 0, align 4
@PHP_ZLIB_ENCODING_ANY = common local_unnamed_addr global i32 0, align 4
@PHP_ZLIB_ENCODING_RAW = common local_unnamed_addr global i32 0, align 4
@E_WARNING = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@FAILURE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @php_zlib_decode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @php_zlib_decode(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i64 noundef %5) #0 {
%7 = alloca %struct.TYPE_6__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
%8 = call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 24) #3
%9 = load i32, ptr @php_zlib_alloc, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %7, i64 20
store i32 %9, ptr %10, align 4, !tbaa !10
%11 = load i32, ptr @php_zlib_free, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %7, i64 16
store i32 %11, ptr %12, align 8, !tbaa !14
%13 = icmp eq i64 %1, 0
br i1 %13, label %37, label %14
14: ; preds = %6
%15 = call i32 @inflateInit2(ptr noundef nonnull %7, i32 noundef %4) #3
%16 = load i32, ptr @Z_OK, align 4, !tbaa !6
%17 = icmp eq i32 %16, %15
br i1 %17, label %18, label %37
18: ; preds = %14
%19 = getelementptr inbounds i8, ptr %7, i64 8
%20 = add i64 %1, 1
br label %21
21: ; preds = %18, %29
%22 = phi i32 [ %4, %18 ], [ %31, %29 ]
store ptr %0, ptr %19, align 8, !tbaa !15
store i64 %20, ptr %7, align 8, !tbaa !16
%23 = call i32 @php_zlib_inflate_rounds(ptr noundef nonnull %7, i64 noundef %5, ptr noundef %2, ptr noundef %3) #3
switch i32 %23, label %35 [
i32 128, label %24
i32 129, label %26
]
24: ; preds = %21
%25 = call i32 @inflateEnd(ptr noundef nonnull %7) #3
br label %42
26: ; preds = %21
%27 = load i32, ptr @PHP_ZLIB_ENCODING_ANY, align 4, !tbaa !6
%28 = icmp eq i32 %27, %22
br i1 %28, label %29, label %35
29: ; preds = %26
%30 = call i32 @inflateEnd(ptr noundef nonnull %7) #3
%31 = load i32, ptr @PHP_ZLIB_ENCODING_RAW, align 4, !tbaa !6
%32 = call i32 @inflateInit2(ptr noundef nonnull %7, i32 noundef %31) #3
%33 = load i32, ptr @Z_OK, align 4, !tbaa !6
%34 = icmp eq i32 %33, %32
br i1 %34, label %21, label %37
35: ; preds = %26, %21
%36 = call i32 @inflateEnd(ptr noundef nonnull %7) #3
br label %37
37: ; preds = %29, %14, %35, %6
%38 = phi i32 [ %23, %35 ], [ 129, %6 ], [ %15, %14 ], [ %32, %29 ]
store ptr null, ptr %2, align 8, !tbaa !17
store i64 0, ptr %3, align 8, !tbaa !18
%39 = load i32, ptr @E_WARNING, align 4, !tbaa !6
%40 = call i32 @zError(i32 noundef %38) #3
%41 = call i32 @php_error_docref(ptr noundef null, i32 noundef %39, ptr noundef nonnull @.str, i32 noundef %40) #3
br label %42
42: ; preds = %37, %24
%43 = phi ptr [ @FAILURE, %37 ], [ @SUCCESS, %24 ]
%44 = load i32, ptr %43, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
ret i32 %44
}
; 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 @inflateInit2(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @php_zlib_inflate_rounds(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @inflateEnd(ptr noundef) local_unnamed_addr #2
declare i32 @php_error_docref(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @zError(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 20}
!11 = !{!"TYPE_6__", !12, i64 0, !13, i64 8, !7, i64 16, !7, i64 20}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !7, i64 16}
!15 = !{!11, !13, i64 8}
!16 = !{!11, !12, i64 0}
!17 = !{!13, !13, i64 0}
!18 = !{!12, !12, i64 0}
| php-src_ext_zlib_extr_zlib.c_php_zlib_decode |
; ModuleID = 'AnghaBench/kphp-kdb/vkext/extr_vkext_rpc.c_rpc_read_in.c'
source_filename = "AnghaBench/kphp-kdb/vkext/extr_vkext_rpc.c_rpc_read_in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rpc_server = type { i32, i64, i64 }
@read_in = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rpc_read_in], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rpc_read_in(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, double %3) #0 {
%5 = load i32, ptr @read_in, align 4, !tbaa !5
%6 = tail call i32 @ADD_CNT(i32 noundef %5) #2
%7 = load i32, ptr @read_in, align 4, !tbaa !5
%8 = tail call i32 @START_TIMER(i32 noundef %7) #2
%9 = load i32, ptr %0, align 8, !tbaa !9
%10 = icmp slt i32 %9, %2
%11 = getelementptr inbounds %struct.rpc_server, ptr %0, i64 0, i32 2
%12 = load i64, ptr %11, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.rpc_server, ptr %0, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = add nsw i64 %14, %12
br i1 %10, label %23, label %16
16: ; preds = %4
%17 = tail call i32 @memcpy(ptr noundef %1, i64 noundef %15, i32 noundef %2) #2
%18 = sext i32 %2 to i64
%19 = load i64, ptr %13, align 8, !tbaa !13
%20 = add nsw i64 %19, %18
store i64 %20, ptr %13, align 8, !tbaa !13
%21 = load i32, ptr %0, align 8, !tbaa !9
%22 = sub nsw i32 %21, %2
br label %26
23: ; preds = %4
%24 = tail call i32 @memcpy(ptr noundef %1, i64 noundef %15, i32 noundef %9) #2
%25 = load i32, ptr %0, align 8, !tbaa !9
store i64 0, ptr %13, align 8, !tbaa !13
br label %26
26: ; preds = %23, %16
%27 = phi i32 [ 0, %23 ], [ %22, %16 ]
%28 = phi i32 [ %25, %23 ], [ %2, %16 ]
store i32 %27, ptr %0, align 8, !tbaa !9
%29 = load i32, ptr @read_in, align 4, !tbaa !5
%30 = tail call i32 @END_TIMER(i32 noundef %29) #2
ret i32 %28
}
declare i32 @ADD_CNT(i32 noundef) local_unnamed_addr #1
declare i32 @START_TIMER(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @END_TIMER(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 = !{!"rpc_server", !6, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/kphp-kdb/vkext/extr_vkext_rpc.c_rpc_read_in.c'
source_filename = "AnghaBench/kphp-kdb/vkext/extr_vkext_rpc.c_rpc_read_in.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@read_in = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rpc_read_in], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rpc_read_in(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, double %3) #0 {
%5 = load i32, ptr @read_in, align 4, !tbaa !6
%6 = tail call i32 @ADD_CNT(i32 noundef %5) #2
%7 = load i32, ptr @read_in, align 4, !tbaa !6
%8 = tail call i32 @START_TIMER(i32 noundef %7) #2
%9 = load i32, ptr %0, align 8, !tbaa !10
%10 = icmp slt i32 %9, %2
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = add nsw i64 %14, %12
br i1 %10, label %23, label %16
16: ; preds = %4
%17 = tail call i32 @memcpy(ptr noundef %1, i64 noundef %15, i32 noundef %2) #2
%18 = sext i32 %2 to i64
%19 = load i64, ptr %13, align 8, !tbaa !14
%20 = add nsw i64 %19, %18
store i64 %20, ptr %13, align 8, !tbaa !14
%21 = load i32, ptr %0, align 8, !tbaa !10
%22 = sub nsw i32 %21, %2
br label %26
23: ; preds = %4
%24 = tail call i32 @memcpy(ptr noundef %1, i64 noundef %15, i32 noundef %9) #2
%25 = load i32, ptr %0, align 8, !tbaa !10
store i64 0, ptr %13, align 8, !tbaa !14
br label %26
26: ; preds = %23, %16
%27 = phi i32 [ 0, %23 ], [ %22, %16 ]
%28 = phi i32 [ %25, %23 ], [ %2, %16 ]
store i32 %27, ptr %0, align 8, !tbaa !10
%29 = load i32, ptr @read_in, align 4, !tbaa !6
%30 = tail call i32 @END_TIMER(i32 noundef %29) #2
ret i32 %28
}
declare i32 @ADD_CNT(i32 noundef) local_unnamed_addr #1
declare i32 @START_TIMER(i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @END_TIMER(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 = !{!"rpc_server", !7, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 16}
!14 = !{!11, !12, i64 8}
| kphp-kdb_vkext_extr_vkext_rpc.c_rpc_read_in |
; ModuleID = 'AnghaBench/linux/arch/arc/kernel/extr_smp.c_arch_send_call_function_ipi_mask.c'
source_filename = "AnghaBench/linux/arch/arc/kernel/extr_smp.c_arch_send_call_function_ipi_mask.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IPI_CALL_FUNC = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @arch_send_call_function_ipi_mask(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @IPI_CALL_FUNC, align 4, !tbaa !5
%3 = tail call i32 @ipi_send_msg(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @ipi_send_msg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/arc/kernel/extr_smp.c_arch_send_call_function_ipi_mask.c'
source_filename = "AnghaBench/linux/arch/arc/kernel/extr_smp.c_arch_send_call_function_ipi_mask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IPI_CALL_FUNC = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @arch_send_call_function_ipi_mask(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @IPI_CALL_FUNC, align 4, !tbaa !6
%3 = tail call i32 @ipi_send_msg(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @ipi_send_msg(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_arc_kernel_extr_smp.c_arch_send_call_function_ipi_mask |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/wininet/extr_internet.c_InternetTimeToSystemTimeW_test.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/wininet/extr_internet.c_InternetTimeToSystemTimeW_test.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32, i32, i32 }
@InternetTimeToSystemTimeW_test.expect = internal constant %struct.TYPE_5__ { i32 2005, i32 1, i32 5, i32 7, i32 12, i32 6, i32 35, i32 0 }, align 4
@InternetTimeToSystemTimeW_test.string = internal constant [30 x float] [float 7.000000e+01, float 1.140000e+02, float 1.050000e+02, float 4.400000e+01, float 3.200000e+01, float 4.800000e+01, float 5.500000e+01, float 3.200000e+01, float 7.400000e+01, float 9.700000e+01, float 1.100000e+02, float 3.200000e+01, float 5.000000e+01, float 4.800000e+01, float 4.800000e+01, float 5.300000e+01, float 3.200000e+01, float 4.900000e+01, float 5.000000e+01, float 5.800000e+01, float 4.800000e+01, float 5.400000e+01, float 5.800000e+01, float 5.100000e+01, float 5.300000e+01, float 3.200000e+01, float 7.100000e+01, float 7.700000e+01, float 8.400000e+01, float 0.000000e+00], align 16
@InternetTimeToSystemTimeW_test.string2 = internal constant [25 x float] [float 3.200000e+01, float 1.020000e+02, float 1.140000e+02, float 1.050000e+02, float 3.200000e+01, float 5.500000e+01, float 3.200000e+01, float 1.060000e+02, float 9.700000e+01, float 1.100000e+02, float 3.200000e+01, float 5.000000e+01, float 4.800000e+01, float 4.800000e+01, float 5.300000e+01, float 3.200000e+01, float 4.900000e+01, float 5.000000e+01, float 3.200000e+01, float 4.800000e+01, float 5.400000e+01, float 3.200000e+01, float 5.100000e+01, float 5.300000e+01, float 0.000000e+00], align 16
@InternetTimeToSystemTimeW_test.string3 = internal constant [3 x float] [float 7.000000e+01, float 1.140000e+02, float 0.000000e+00], align 4
@.str = private unnamed_addr constant [42 x i8] c"InternetTimeToSystemTimeW succeeded (%u)\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"InternetTimeToSystemTimeW failed (%u)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @InternetTimeToSystemTimeW_test], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @InternetTimeToSystemTimeW_test() #0 {
%1 = alloca %struct.TYPE_5__, align 4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #3
%2 = tail call i32 @pInternetTimeToSystemTimeW(ptr noundef null, ptr noundef null, i32 noundef 0) #3
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 (...) @GetLastError() #3
%6 = tail call i32 @ok(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef %5) #3
%7 = call i32 @pInternetTimeToSystemTimeW(ptr noundef null, ptr noundef nonnull %1, i32 noundef 0) #3
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = call i32 (...) @GetLastError() #3
%11 = call i32 @ok(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %10) #3
%12 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string, ptr noundef null, i32 noundef 0) #3
%13 = icmp eq i32 %12, 0
%14 = zext i1 %13 to i32
%15 = call i32 (...) @GetLastError() #3
%16 = call i32 @ok(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %15) #3
%17 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string, ptr noundef nonnull %1, i32 noundef 0) #3
%18 = call i32 (...) @GetLastError() #3
%19 = call i32 @ok(i32 noundef %17, ptr noundef nonnull @.str.1, i32 noundef %18) #3
%20 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string, ptr noundef nonnull %1, i32 noundef 0) #3
%21 = call i32 (...) @GetLastError() #3
%22 = call i32 @ok(i32 noundef %20, ptr noundef nonnull @.str.1, i32 noundef %21) #3
%23 = call i32 @memcmp(ptr noundef nonnull %1, ptr noundef nonnull @InternetTimeToSystemTimeW_test.expect, i32 noundef 32) #3
%24 = icmp eq i32 %23, 0
%25 = zext i1 %24 to i32
%26 = call i32 (...) @GetLastError() #3
%27 = call i32 @ok(i32 noundef %25, ptr noundef nonnull @.str.1, i32 noundef %26) #3
%28 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string2, ptr noundef nonnull %1, i32 noundef 0) #3
%29 = call i32 (...) @GetLastError() #3
%30 = call i32 @ok(i32 noundef %28, ptr noundef nonnull @.str.1, i32 noundef %29) #3
%31 = call i32 @memcmp(ptr noundef nonnull %1, ptr noundef nonnull @InternetTimeToSystemTimeW_test.expect, i32 noundef 32) #3
%32 = icmp eq i32 %31, 0
%33 = zext i1 %32 to i32
%34 = call i32 (...) @GetLastError() #3
%35 = call i32 @ok(i32 noundef %33, ptr noundef nonnull @.str.1, i32 noundef %34) #3
%36 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string3, ptr noundef nonnull %1, i32 noundef 0) #3
%37 = call i32 (...) @GetLastError() #3
%38 = call i32 @ok(i32 noundef %36, ptr noundef nonnull @.str.1, i32 noundef %37) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pInternetTimeToSystemTimeW(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i32 @memcmp(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)"}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/wininet/extr_internet.c_InternetTimeToSystemTimeW_test.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/wininet/extr_internet.c_InternetTimeToSystemTimeW_test.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32, i32, i32 }
@InternetTimeToSystemTimeW_test.expect = internal constant %struct.TYPE_5__ { i32 2005, i32 1, i32 5, i32 7, i32 12, i32 6, i32 35, i32 0 }, align 4
@InternetTimeToSystemTimeW_test.string = internal constant [30 x float] [float 7.000000e+01, float 1.140000e+02, float 1.050000e+02, float 4.400000e+01, float 3.200000e+01, float 4.800000e+01, float 5.500000e+01, float 3.200000e+01, float 7.400000e+01, float 9.700000e+01, float 1.100000e+02, float 3.200000e+01, float 5.000000e+01, float 4.800000e+01, float 4.800000e+01, float 5.300000e+01, float 3.200000e+01, float 4.900000e+01, float 5.000000e+01, float 5.800000e+01, float 4.800000e+01, float 5.400000e+01, float 5.800000e+01, float 5.100000e+01, float 5.300000e+01, float 3.200000e+01, float 7.100000e+01, float 7.700000e+01, float 8.400000e+01, float 0.000000e+00], align 4
@InternetTimeToSystemTimeW_test.string2 = internal constant [25 x float] [float 3.200000e+01, float 1.020000e+02, float 1.140000e+02, float 1.050000e+02, float 3.200000e+01, float 5.500000e+01, float 3.200000e+01, float 1.060000e+02, float 9.700000e+01, float 1.100000e+02, float 3.200000e+01, float 5.000000e+01, float 4.800000e+01, float 4.800000e+01, float 5.300000e+01, float 3.200000e+01, float 4.900000e+01, float 5.000000e+01, float 3.200000e+01, float 4.800000e+01, float 5.400000e+01, float 3.200000e+01, float 5.100000e+01, float 5.300000e+01, float 0.000000e+00], align 4
@InternetTimeToSystemTimeW_test.string3 = internal constant [3 x float] [float 7.000000e+01, float 1.140000e+02, float 0.000000e+00], align 4
@.str = private unnamed_addr constant [42 x i8] c"InternetTimeToSystemTimeW succeeded (%u)\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"InternetTimeToSystemTimeW failed (%u)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @InternetTimeToSystemTimeW_test], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @InternetTimeToSystemTimeW_test() #0 {
%1 = alloca %struct.TYPE_5__, align 4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #3
%2 = tail call i32 @pInternetTimeToSystemTimeW(ptr noundef null, ptr noundef null, i32 noundef 0) #3
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @GetLastError() #3
%6 = tail call i32 @ok(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef %5) #3
%7 = call i32 @pInternetTimeToSystemTimeW(ptr noundef null, ptr noundef nonnull %1, i32 noundef 0) #3
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = call i32 @GetLastError() #3
%11 = call i32 @ok(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %10) #3
%12 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string, ptr noundef null, i32 noundef 0) #3
%13 = icmp eq i32 %12, 0
%14 = zext i1 %13 to i32
%15 = call i32 @GetLastError() #3
%16 = call i32 @ok(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %15) #3
%17 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string, ptr noundef nonnull %1, i32 noundef 0) #3
%18 = call i32 @GetLastError() #3
%19 = call i32 @ok(i32 noundef %17, ptr noundef nonnull @.str.1, i32 noundef %18) #3
%20 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string, ptr noundef nonnull %1, i32 noundef 0) #3
%21 = call i32 @GetLastError() #3
%22 = call i32 @ok(i32 noundef %20, ptr noundef nonnull @.str.1, i32 noundef %21) #3
%23 = call i32 @memcmp(ptr noundef nonnull %1, ptr noundef nonnull @InternetTimeToSystemTimeW_test.expect, i32 noundef 32) #3
%24 = icmp eq i32 %23, 0
%25 = zext i1 %24 to i32
%26 = call i32 @GetLastError() #3
%27 = call i32 @ok(i32 noundef %25, ptr noundef nonnull @.str.1, i32 noundef %26) #3
%28 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string2, ptr noundef nonnull %1, i32 noundef 0) #3
%29 = call i32 @GetLastError() #3
%30 = call i32 @ok(i32 noundef %28, ptr noundef nonnull @.str.1, i32 noundef %29) #3
%31 = call i32 @memcmp(ptr noundef nonnull %1, ptr noundef nonnull @InternetTimeToSystemTimeW_test.expect, i32 noundef 32) #3
%32 = icmp eq i32 %31, 0
%33 = zext i1 %32 to i32
%34 = call i32 @GetLastError() #3
%35 = call i32 @ok(i32 noundef %33, ptr noundef nonnull @.str.1, i32 noundef %34) #3
%36 = call i32 @pInternetTimeToSystemTimeW(ptr noundef nonnull @InternetTimeToSystemTimeW_test.string3, ptr noundef nonnull %1, i32 noundef 0) #3
%37 = call i32 @GetLastError() #3
%38 = call i32 @ok(i32 noundef %36, ptr noundef nonnull @.str.1, i32 noundef %37) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pInternetTimeToSystemTimeW(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
declare i32 @memcmp(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)"}
| reactos_modules_rostests_winetests_wininet_extr_internet.c_InternetTimeToSystemTimeW_test |
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_look_for_dac.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_look_for_dac.c"
target datalayout = "e-m:e-p270:32:32-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.hda_gen_spec = type { i32, ptr }
@AC_WCAP_DIGITAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @look_for_dac], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @look_for_dac(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr %4, align 8, !tbaa !10
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %33
7: ; preds = %3
%8 = getelementptr inbounds %struct.hda_gen_spec, ptr %4, i64 0, i32 1
br label %9
9: ; preds = %7, %28
%10 = phi i64 [ 0, %7 ], [ %29, %28 ]
%11 = load ptr, ptr %8, align 8, !tbaa !13
%12 = getelementptr inbounds i32, ptr %11, i64 %10
%13 = load i32, ptr %12, align 4, !tbaa !14
%14 = icmp eq i32 %13, 0
br i1 %14, label %28, label %15
15: ; preds = %9
%16 = tail call i64 @is_dac_already_used(ptr noundef nonnull %0, i32 noundef %13) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %15
%19 = tail call i32 @get_wcaps(ptr noundef nonnull %0, i32 noundef %13) #2
%20 = load i32, ptr @AC_WCAP_DIGITAL, align 4, !tbaa !14
%21 = and i32 %20, %19
%22 = icmp ne i32 %21, 0
%23 = zext i1 %22 to i32
%24 = icmp eq i32 %23, %2
br i1 %24, label %25, label %28
25: ; preds = %18
%26 = tail call i64 @is_reachable_path(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %1) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %25, %15, %9, %18
%29 = add nuw nsw i64 %10, 1
%30 = load i32, ptr %4, align 8, !tbaa !10
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %9, label %33, !llvm.loop !15
33: ; preds = %28, %25, %3
%34 = phi i32 [ 0, %3 ], [ %13, %25 ], [ 0, %28 ]
ret i32 %34
}
declare i64 @is_dac_already_used(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_wcaps(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @is_reachable_path(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"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 = !{!"hda_gen_spec", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!12, !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_look_for_dac.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_look_for_dac.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AC_WCAP_DIGITAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @look_for_dac], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @look_for_dac(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr %4, align 8, !tbaa !11
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %33
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %4, i64 8
br label %9
9: ; preds = %7, %28
%10 = phi i64 [ 0, %7 ], [ %29, %28 ]
%11 = load ptr, ptr %8, align 8, !tbaa !14
%12 = getelementptr inbounds i32, ptr %11, i64 %10
%13 = load i32, ptr %12, align 4, !tbaa !15
%14 = icmp eq i32 %13, 0
br i1 %14, label %28, label %15
15: ; preds = %9
%16 = tail call i64 @is_dac_already_used(ptr noundef nonnull %0, i32 noundef %13) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %15
%19 = tail call i32 @get_wcaps(ptr noundef nonnull %0, i32 noundef %13) #2
%20 = load i32, ptr @AC_WCAP_DIGITAL, align 4, !tbaa !15
%21 = and i32 %20, %19
%22 = icmp ne i32 %21, 0
%23 = zext i1 %22 to i32
%24 = icmp eq i32 %23, %2
br i1 %24, label %25, label %28
25: ; preds = %18
%26 = tail call i64 @is_reachable_path(ptr noundef nonnull %0, i32 noundef %13, i32 noundef %1) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %25, %15, %9, %18
%29 = add nuw nsw i64 %10, 1
%30 = load i32, ptr %4, align 8, !tbaa !11
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %9, label %33, !llvm.loop !16
33: ; preds = %28, %25, %3
%34 = phi i32 [ 0, %3 ], [ %13, %25 ], [ 0, %28 ]
ret i32 %34
}
declare i64 @is_dac_already_used(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_wcaps(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @is_reachable_path(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"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 = !{!"hda_gen_spec", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !8, i64 8}
!15 = !{!13, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| linux_sound_pci_hda_extr_hda_generic.c_look_for_dac |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_hyperv_fb.c_synthvid_update.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_hyperv_fb.c_synthvid_update.c"
target datalayout = "e-m:e-p270:32:32-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.synthvid_msg = type { %struct.TYPE_7__, %struct.TYPE_5__ }
%struct.TYPE_7__ = type { i32, ptr, i64 }
%struct.TYPE_5__ = type { i32, i32 }
%struct.fb_info = type { %struct.TYPE_8__, i32 }
%struct.TYPE_8__ = type { i32, i32 }
%struct.TYPE_6__ = type { i32, i32, i64, i64 }
@SYNTHVID_DIRT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @synthvid_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @synthvid_update(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.synthvid_msg, align 8
%3 = getelementptr inbounds %struct.fb_info, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call ptr @device_to_hv_device(i32 noundef %4) #4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
%6 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 32) #4
%7 = load i32, ptr @SYNTHVID_DIRT, align 4, !tbaa !11
%8 = getelementptr inbounds %struct.synthvid_msg, ptr %2, i64 0, i32 1
%9 = getelementptr inbounds %struct.synthvid_msg, ptr %2, i64 0, i32 1, i32 1
store i32 %7, ptr %9, align 4, !tbaa !12
store i32 8, ptr %8, align 8, !tbaa !18
%10 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 2
store i64 0, ptr %10, align 8, !tbaa !19
store i32 1, ptr %2, align 8, !tbaa !20
%11 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !21
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %12, i64 0, i32 2
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %13, i8 0, i64 16, i1 false)
%14 = load <2 x i32>, ptr %0, align 4, !tbaa !11
store <2 x i32> %14, ptr %12, align 8, !tbaa !11
%15 = call i32 @synthvid_send(ptr noundef %5, ptr noundef nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_to_hv_device(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @synthvid_send(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 8}
!6 = !{!"fb_info", !7, i64 0, !8, i64 8}
!7 = !{!"TYPE_8__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 28}
!13 = !{!"synthvid_msg", !14, i64 0, !17, i64 24}
!14 = !{!"TYPE_7__", !8, i64 0, !15, i64 8, !16, i64 16}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!"TYPE_5__", !8, i64 0, !8, i64 4}
!18 = !{!13, !8, i64 24}
!19 = !{!13, !16, i64 16}
!20 = !{!13, !8, i64 0}
!21 = !{!13, !15, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_hyperv_fb.c_synthvid_update.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_hyperv_fb.c_synthvid_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.synthvid_msg = type { %struct.TYPE_7__, %struct.TYPE_5__ }
%struct.TYPE_7__ = type { i32, ptr, i64 }
%struct.TYPE_5__ = type { i32, i32 }
@SYNTHVID_DIRT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @synthvid_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @synthvid_update(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.synthvid_msg, align 8
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call ptr @device_to_hv_device(i32 noundef %4) #4
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
%6 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 32) #4
%7 = load i32, ptr @SYNTHVID_DIRT, align 4, !tbaa !12
%8 = getelementptr inbounds i8, ptr %2, i64 24
%9 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %7, ptr %9, align 4, !tbaa !13
store i32 8, ptr %8, align 8, !tbaa !19
%10 = getelementptr inbounds i8, ptr %2, i64 16
store i64 0, ptr %10, align 8, !tbaa !20
store i32 1, ptr %2, align 8, !tbaa !21
%11 = getelementptr inbounds i8, ptr %2, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !22
%13 = getelementptr inbounds i8, ptr %12, i64 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %13, i8 0, i64 16, i1 false)
%14 = load <2 x i32>, ptr %0, align 4, !tbaa !12
store <2 x i32> %14, ptr %12, align 8, !tbaa !12
%15 = call i32 @synthvid_send(ptr noundef %5, ptr noundef nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_to_hv_device(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @synthvid_send(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 8}
!7 = !{!"fb_info", !8, i64 0, !9, i64 8}
!8 = !{!"TYPE_8__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !9, i64 28}
!14 = !{!"synthvid_msg", !15, i64 0, !18, i64 24}
!15 = !{!"TYPE_7__", !9, i64 0, !16, i64 8, !17, i64 16}
!16 = !{!"any pointer", !10, i64 0}
!17 = !{!"long", !10, i64 0}
!18 = !{!"TYPE_5__", !9, i64 0, !9, i64 4}
!19 = !{!14, !9, i64 24}
!20 = !{!14, !17, i64 16}
!21 = !{!14, !9, i64 0}
!22 = !{!14, !16, i64 8}
| fastsocket_kernel_drivers_video_extr_hyperv_fb.c_synthvid_update |
; ModuleID = 'AnghaBench/micropython/ports/cc3200/simplelink/oslib/extr_osi_freertos.c_osi_SyncObjSignal.c'
source_filename = "AnghaBench/micropython/ports/cc3200/simplelink/oslib/extr_osi_freertos.c_osi_SyncObjSignal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OSI_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @osi_SyncObjSignal(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @xSemaphoreGive(i32 noundef %2) #2
%4 = load i32, ptr @OSI_OK, align 4, !tbaa !5
ret i32 %4
}
declare i32 @xSemaphoreGive(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/micropython/ports/cc3200/simplelink/oslib/extr_osi_freertos.c_osi_SyncObjSignal.c'
source_filename = "AnghaBench/micropython/ports/cc3200/simplelink/oslib/extr_osi_freertos.c_osi_SyncObjSignal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OSI_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @osi_SyncObjSignal(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @xSemaphoreGive(i32 noundef %2) #2
%4 = load i32, ptr @OSI_OK, align 4, !tbaa !6
ret i32 %4
}
declare i32 @xSemaphoreGive(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"}
| micropython_ports_cc3200_simplelink_oslib_extr_osi_freertos.c_osi_SyncObjSignal |
; ModuleID = 'AnghaBench/freebsd/contrib/mandoc/extr_term_ascii.c_ascii_setwidth.c'
source_filename = "AnghaBench/freebsd/contrib/mandoc/extr_term_ascii.c_ascii_setwidth.c"
target datalayout = "e-m:e-p270:32:32-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.termp = type { i32, i64, i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ascii_setwidth], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @ascii_setwidth(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = sdiv i32 %2, 24
%5 = load i32, ptr %0, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.termp, ptr %0, i64 0, i32 3
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = icmp sgt i32 %1, 0
br i1 %8, label %9, label %11
9: ; preds = %3
%10 = add nsw i32 %5, %4
br label %24
11: ; preds = %3
%12 = icmp eq i32 %1, 0
br i1 %12, label %13, label %20
13: ; preds = %11
%14 = add i32 %2, 23
%15 = icmp ult i32 %14, 47
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = getelementptr inbounds %struct.termp, ptr %0, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !13
%19 = trunc i64 %18 to i32
br label %24
20: ; preds = %11
%21 = icmp ugt i32 %5, %4
br i1 %21, label %22, label %27
22: ; preds = %20
%23 = sub nsw i32 %5, %4
br label %24
24: ; preds = %16, %13, %22, %9
%25 = phi i32 [ %23, %22 ], [ %10, %9 ], [ %19, %16 ], [ %4, %13 ]
%26 = tail call i32 @llvm.smin.i32(i32 %25, i32 1000)
br label %27
27: ; preds = %24, %20
%28 = phi i32 [ 0, %20 ], [ %26, %24 ]
store i32 %28, ptr %0, align 8, !tbaa !5
%29 = sext i32 %5 to i64
%30 = getelementptr inbounds %struct.termp, ptr %0, i64 0, i32 1
store i64 %29, ptr %30, align 8, !tbaa !13
%31 = getelementptr inbounds %struct.termp, ptr %0, i64 0, i32 2
store i32 %28, ptr %31, align 8, !tbaa !14
store i32 %28, ptr %7, align 4, !tbaa !15
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, 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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"termp", !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", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 24}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !7, i64 16}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/mandoc/extr_term_ascii.c_ascii_setwidth.c'
source_filename = "AnghaBench/freebsd/contrib/mandoc/extr_term_ascii.c_ascii_setwidth.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 @ascii_setwidth], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @ascii_setwidth(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = sdiv i32 %2, 24
%5 = load i32, ptr %0, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = icmp sgt i32 %1, 0
br i1 %8, label %9, label %11
9: ; preds = %3
%10 = add nsw i32 %5, %4
br label %24
11: ; preds = %3
%12 = icmp eq i32 %1, 0
br i1 %12, label %13, label %20
13: ; preds = %11
%14 = add i32 %2, 23
%15 = icmp ult i32 %14, 47
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !14
%19 = trunc i64 %18 to i32
br label %24
20: ; preds = %11
%21 = icmp ugt i32 %5, %4
br i1 %21, label %22, label %27
22: ; preds = %20
%23 = sub nsw i32 %5, %4
br label %24
24: ; preds = %16, %13, %22, %9
%25 = phi i32 [ %23, %22 ], [ %10, %9 ], [ %19, %16 ], [ %4, %13 ]
%26 = icmp sgt i32 %25, 1000
br i1 %26, label %27, label %29
27: ; preds = %24, %20
%28 = phi i32 [ 0, %20 ], [ 1000, %24 ]
br label %29
29: ; preds = %27, %24
%30 = phi i32 [ %28, %27 ], [ %25, %24 ]
store i32 %30, ptr %0, align 8, !tbaa !6
%31 = sext i32 %5 to i64
%32 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %31, ptr %32, align 8, !tbaa !14
%33 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %30, ptr %33, align 8, !tbaa !15
store i32 %30, ptr %7, align 4, !tbaa !16
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"termp", !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", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 24}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !8, i64 16}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_2__", !8, i64 0}
| freebsd_contrib_mandoc_extr_term_ascii.c_ascii_setwidth |
; ModuleID = 'AnghaBench/Craft/deps/lodepng/extr_lodepng.c_deflateFixed.c'
source_filename = "AnghaBench/Craft/deps/lodepng/extr_lodepng.c_deflateFixed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @deflateFixed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @deflateFixed(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, ptr nocapture noundef readonly %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
%12 = call i32 @HuffmanTree_init(ptr noundef nonnull %9) #3
%13 = call i32 @HuffmanTree_init(ptr noundef nonnull %10) #3
%14 = call i32 @generateFixedLitLenTree(ptr noundef nonnull %9) #3
%15 = call i32 @generateFixedDistanceTree(ptr noundef nonnull %10) #3
%16 = call i32 @addBitToStream(ptr noundef %1, ptr noundef %0, i32 noundef %7) #3
%17 = call i32 @addBitToStream(ptr noundef %1, ptr noundef %0, i32 noundef 1) #3
%18 = call i32 @addBitToStream(ptr noundef %1, ptr noundef %0, i32 noundef 0) #3
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 4
%20 = load i64, ptr %19, align 8, !tbaa !5
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %8
%23 = icmp ult i64 %4, %5
br i1 %23, label %38, label %50
24: ; preds = %8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
%25 = call i32 @uivector_init(ptr noundef nonnull %11) #3
%26 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 3
%27 = load i32, ptr %26, align 4, !tbaa !11
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 2
%29 = load i32, ptr %28, align 8, !tbaa !12
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 1
%31 = load i32, ptr %30, align 4, !tbaa !13
%32 = load i32, ptr %6, align 8, !tbaa !14
%33 = call i32 @encodeLZ77(ptr noundef nonnull %11, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %32) #3
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %48
35: ; preds = %24
%36 = call i32 @writeLZ77data(ptr noundef %1, ptr noundef %0, ptr noundef nonnull %11, ptr noundef nonnull %9, ptr noundef nonnull %10) #3
%37 = call i32 @uivector_cleanup(ptr noundef nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
br label %50
38: ; preds = %22, %38
%39 = phi i64 [ %46, %38 ], [ %4, %22 ]
%40 = getelementptr inbounds i8, ptr %3, i64 %39
%41 = load i8, ptr %40, align 1, !tbaa !15
%42 = call i32 @HuffmanTree_getCode(ptr noundef nonnull %9, i8 noundef zeroext %41) #3
%43 = load i8, ptr %40, align 1, !tbaa !15
%44 = call i32 @HuffmanTree_getLength(ptr noundef nonnull %9, i8 noundef zeroext %43) #3
%45 = call i32 @addHuffmanSymbol(ptr noundef %1, ptr noundef %0, i32 noundef %42, i32 noundef %44) #3
%46 = add i64 %39, 1
%47 = icmp eq i64 %46, %5
br i1 %47, label %50, label %38, !llvm.loop !16
48: ; preds = %24
%49 = call i32 @uivector_cleanup(ptr noundef nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
br label %54
50: ; preds = %38, %22, %35
%51 = call i32 @HuffmanTree_getCode(ptr noundef nonnull %9, i8 noundef zeroext 0) #3
%52 = call i32 @HuffmanTree_getLength(ptr noundef nonnull %9, i8 noundef zeroext 0) #3
%53 = call i32 @addHuffmanSymbol(ptr noundef %1, ptr noundef %0, i32 noundef %51, i32 noundef %52) #3
br label %54
54: ; preds = %48, %50
%55 = phi i32 [ 0, %50 ], [ %33, %48 ]
%56 = call i32 @HuffmanTree_cleanup(ptr noundef nonnull %9) #3
%57 = call i32 @HuffmanTree_cleanup(ptr noundef nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
ret i32 %55
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @HuffmanTree_init(ptr noundef) local_unnamed_addr #2
declare i32 @generateFixedLitLenTree(ptr noundef) local_unnamed_addr #2
declare i32 @generateFixedDistanceTree(ptr noundef) local_unnamed_addr #2
declare i32 @addBitToStream(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uivector_init(ptr noundef) local_unnamed_addr #2
declare i32 @encodeLZ77(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @writeLZ77data(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @uivector_cleanup(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 @addHuffmanSymbol(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @HuffmanTree_getCode(ptr noundef, i8 noundef zeroext) local_unnamed_addr #2
declare i32 @HuffmanTree_getLength(ptr noundef, i8 noundef zeroext) local_unnamed_addr #2
declare i32 @HuffmanTree_cleanup(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 12}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 0}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/Craft/deps/lodepng/extr_lodepng.c_deflateFixed.c'
source_filename = "AnghaBench/Craft/deps/lodepng/extr_lodepng.c_deflateFixed.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 @deflateFixed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @deflateFixed(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, ptr nocapture noundef readonly %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
%12 = call i32 @HuffmanTree_init(ptr noundef nonnull %9) #3
%13 = call i32 @HuffmanTree_init(ptr noundef nonnull %10) #3
%14 = call i32 @generateFixedLitLenTree(ptr noundef nonnull %9) #3
%15 = call i32 @generateFixedDistanceTree(ptr noundef nonnull %10) #3
%16 = call i32 @addBitToStream(ptr noundef %1, ptr noundef %0, i32 noundef %7) #3
%17 = call i32 @addBitToStream(ptr noundef %1, ptr noundef %0, i32 noundef 1) #3
%18 = call i32 @addBitToStream(ptr noundef %1, ptr noundef %0, i32 noundef 0) #3
%19 = getelementptr inbounds i8, ptr %6, i64 16
%20 = load i64, ptr %19, align 8, !tbaa !6
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %8
%23 = icmp ult i64 %4, %5
br i1 %23, label %38, label %50
24: ; preds = %8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
%25 = call i32 @uivector_init(ptr noundef nonnull %11) #3
%26 = getelementptr inbounds i8, ptr %6, i64 12
%27 = load i32, ptr %26, align 4, !tbaa !12
%28 = getelementptr inbounds i8, ptr %6, i64 8
%29 = load i32, ptr %28, align 8, !tbaa !13
%30 = getelementptr inbounds i8, ptr %6, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !14
%32 = load i32, ptr %6, align 8, !tbaa !15
%33 = call i32 @encodeLZ77(ptr noundef nonnull %11, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %32) #3
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %48
35: ; preds = %24
%36 = call i32 @writeLZ77data(ptr noundef %1, ptr noundef %0, ptr noundef nonnull %11, ptr noundef nonnull %9, ptr noundef nonnull %10) #3
%37 = call i32 @uivector_cleanup(ptr noundef nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
br label %50
38: ; preds = %22, %38
%39 = phi i64 [ %46, %38 ], [ %4, %22 ]
%40 = getelementptr inbounds i8, ptr %3, i64 %39
%41 = load i8, ptr %40, align 1, !tbaa !16
%42 = call i32 @HuffmanTree_getCode(ptr noundef nonnull %9, i8 noundef zeroext %41) #3
%43 = load i8, ptr %40, align 1, !tbaa !16
%44 = call i32 @HuffmanTree_getLength(ptr noundef nonnull %9, i8 noundef zeroext %43) #3
%45 = call i32 @addHuffmanSymbol(ptr noundef %1, ptr noundef %0, i32 noundef %42, i32 noundef %44) #3
%46 = add i64 %39, 1
%47 = icmp eq i64 %46, %5
br i1 %47, label %50, label %38, !llvm.loop !17
48: ; preds = %24
%49 = call i32 @uivector_cleanup(ptr noundef nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
br label %54
50: ; preds = %38, %22, %35
%51 = call i32 @HuffmanTree_getCode(ptr noundef nonnull %9, i8 noundef zeroext 0) #3
%52 = call i32 @HuffmanTree_getLength(ptr noundef nonnull %9, i8 noundef zeroext 0) #3
%53 = call i32 @addHuffmanSymbol(ptr noundef %1, ptr noundef %0, i32 noundef %51, i32 noundef %52) #3
br label %54
54: ; preds = %48, %50
%55 = phi i32 [ 0, %50 ], [ %33, %48 ]
%56 = call i32 @HuffmanTree_cleanup(ptr noundef nonnull %9) #3
%57 = call i32 @HuffmanTree_cleanup(ptr noundef nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
ret i32 %55
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @HuffmanTree_init(ptr noundef) local_unnamed_addr #2
declare i32 @generateFixedLitLenTree(ptr noundef) local_unnamed_addr #2
declare i32 @generateFixedDistanceTree(ptr noundef) local_unnamed_addr #2
declare i32 @addBitToStream(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uivector_init(ptr noundef) local_unnamed_addr #2
declare i32 @encodeLZ77(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @writeLZ77data(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @uivector_cleanup(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 @addHuffmanSymbol(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @HuffmanTree_getCode(ptr noundef, i8 noundef zeroext) local_unnamed_addr #2
declare i32 @HuffmanTree_getLength(ptr noundef, i8 noundef zeroext) local_unnamed_addr #2
declare i32 @HuffmanTree_cleanup(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 12}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 0}
!16 = !{!9, !9, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| Craft_deps_lodepng_extr_lodepng.c_deflateFixed |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_range.c_add_range.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_range.c_add_range.c"
target datalayout = "e-m:e-p270:32:32-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.range = type { i64, i64 }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local i32 @add_range(ptr nocapture noundef writeonly %0, i32 noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = icmp sle i64 %3, %4
%7 = icmp slt i32 %2, %1
%8 = and i1 %7, %6
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = sext i32 %2 to i64
%11 = getelementptr inbounds %struct.range, ptr %0, i64 %10
%12 = getelementptr inbounds %struct.range, ptr %0, i64 %10, i32 1
store i64 %3, ptr %12, align 8, !tbaa !5
store i64 %4, ptr %11, align 8, !tbaa !10
%13 = add nsw i32 %2, 1
br label %14
14: ; preds = %5, %9
%15 = phi i32 [ %13, %9 ], [ %2, %5 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"range", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_range.c_add_range.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_range.c_add_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.range = type { i64, i64 }
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define i32 @add_range(ptr nocapture noundef writeonly %0, i32 noundef %1, i32 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #0 {
%6 = icmp sle i64 %3, %4
%7 = icmp slt i32 %2, %1
%8 = and i1 %7, %6
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = sext i32 %2 to i64
%11 = getelementptr inbounds %struct.range, ptr %0, i64 %10
%12 = getelementptr inbounds i8, ptr %11, i64 8
store i64 %3, ptr %12, align 8, !tbaa !6
store i64 %4, ptr %11, align 8, !tbaa !11
%13 = add nsw i32 %2, 1
br label %14
14: ; preds = %5, %9
%15 = phi i32 [ %13, %9 ], [ %2, %5 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"range", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| fastsocket_kernel_kernel_extr_range.c_add_range |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_snd_hda_codec_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_snd_hda_codec_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 @snd_hda_codec_read(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
%7 = tail call i32 @make_codec_cmd(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%8 = call i64 @codec_exec_verb(ptr noundef %0, i32 noundef %7, i32 noundef %2, ptr noundef nonnull %6) #3
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr %6, align 4
%11 = select i1 %9, i32 %10, i32 -1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @make_codec_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @codec_exec_verb(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_snd_hda_codec_read.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_snd_hda_codec_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 @snd_hda_codec_read(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
%7 = tail call i32 @make_codec_cmd(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%8 = call i64 @codec_exec_verb(ptr noundef %0, i32 noundef %7, i32 noundef %2, ptr noundef nonnull %6) #3
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr %6, align 4
%11 = select i1 %9, i32 %10, i32 -1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @make_codec_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @codec_exec_verb(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_sound_pci_hda_extr_hda_codec.c_snd_hda_codec_read |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/gdiplus/extr_customlinecap.c_test_captype.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/gdiplus/extr_customlinecap.c_test_captype.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@InvalidParameter = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Unexpected return code, %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Unexpected cap type, %d\0A\00", align 1
@FillModeAlternate = dso_local local_unnamed_addr global i32 0, align 4
@Ok = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Failed to create path, %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"AddPathRectangle failed, %d\0A\00", align 1
@LineCapFlat = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [26 x i8] c"Failed to create cap, %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Failed to get cap type, %d\0A\00", align 1
@CustomLineCapTypeDefault = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [24 x i8] c"Unexpected cap type %d\0A\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [37 x i8] c"Failed to create adjustable cap, %d\0A\00", align 1
@CustomLineCapTypeAdjustableArrow = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_captype], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_captype() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @GdipGetCustomLineCapType(ptr noundef null, ptr noundef null) #3
%6 = load i32, ptr @InvalidParameter, align 4, !tbaa !5
%7 = icmp eq i32 %5, %6
%8 = zext i1 %7 to i32
%9 = tail call i32 @ok(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %5) #3
store i32 10, ptr %3, align 4, !tbaa !5
%10 = call i32 @GdipGetCustomLineCapType(ptr noundef null, ptr noundef nonnull %3) #3
%11 = load i32, ptr @InvalidParameter, align 4, !tbaa !5
%12 = icmp eq i32 %10, %11
%13 = zext i1 %12 to i32
%14 = call i32 @ok(i32 noundef %13, ptr noundef nonnull @.str, i32 noundef %10) #3
%15 = load i32, ptr %3, align 4, !tbaa !5
%16 = icmp eq i32 %15, 10
%17 = zext i1 %16 to i32
%18 = call i32 @ok(i32 noundef %17, ptr noundef nonnull @.str.1, i32 noundef %15) #3
%19 = load i32, ptr @FillModeAlternate, align 4, !tbaa !5
%20 = call i32 @GdipCreatePath(i32 noundef %19, ptr noundef nonnull %4) #3
%21 = load i32, ptr @Ok, align 4, !tbaa !5
%22 = icmp eq i32 %20, %21
%23 = zext i1 %22 to i32
%24 = call i32 @ok(i32 noundef %23, ptr noundef nonnull @.str.2, i32 noundef %20) #3
%25 = load ptr, ptr %4, align 8, !tbaa !9
%26 = call i32 @GdipAddPathRectangle(ptr noundef %25, double noundef 5.000000e+00, double noundef 5.000000e+00, double noundef 1.000000e+01, double noundef 1.000000e+01) #3
%27 = load i32, ptr @Ok, align 4, !tbaa !5
%28 = icmp eq i32 %26, %27
%29 = zext i1 %28 to i32
%30 = call i32 @ok(i32 noundef %29, ptr noundef nonnull @.str.3, i32 noundef %26) #3
%31 = load ptr, ptr %4, align 8, !tbaa !9
%32 = load i32, ptr @LineCapFlat, align 4, !tbaa !5
%33 = call i32 @GdipCreateCustomLineCap(ptr noundef null, ptr noundef %31, i32 noundef %32, double noundef 0.000000e+00, ptr noundef nonnull %2) #3
%34 = load i32, ptr @Ok, align 4, !tbaa !5
%35 = icmp eq i32 %33, %34
%36 = zext i1 %35 to i32
%37 = call i32 @ok(i32 noundef %36, ptr noundef nonnull @.str.4, i32 noundef %33) #3
%38 = load ptr, ptr %2, align 8, !tbaa !9
%39 = call i32 @GdipGetCustomLineCapType(ptr noundef %38, ptr noundef nonnull %3) #3
%40 = load i32, ptr @Ok, align 4, !tbaa !5
%41 = icmp eq i32 %39, %40
%42 = zext i1 %41 to i32
%43 = call i32 @ok(i32 noundef %42, ptr noundef nonnull @.str.5, i32 noundef %39) #3
%44 = load i32, ptr %3, align 4, !tbaa !5
%45 = load i32, ptr @CustomLineCapTypeDefault, align 4, !tbaa !5
%46 = icmp eq i32 %44, %45
%47 = zext i1 %46 to i32
%48 = call i32 @ok(i32 noundef %47, ptr noundef nonnull @.str.6, i32 noundef %39) #3
%49 = load ptr, ptr %2, align 8, !tbaa !9
%50 = call i32 @GdipDeleteCustomLineCap(ptr noundef %49) #3
%51 = load ptr, ptr %4, align 8, !tbaa !9
%52 = call i32 @GdipDeletePath(ptr noundef %51) #3
%53 = load i32, ptr @TRUE, align 4, !tbaa !5
%54 = call i32 @GdipCreateAdjustableArrowCap(double noundef 1.700000e+01, double noundef 1.500000e+01, i32 noundef %53, ptr noundef nonnull %1) #3
%55 = load i32, ptr @Ok, align 4, !tbaa !5
%56 = icmp eq i32 %54, %55
%57 = zext i1 %56 to i32
%58 = call i32 @ok(i32 noundef %57, ptr noundef nonnull @.str.7, i32 noundef %54) #3
%59 = load ptr, ptr %1, align 8, !tbaa !9
%60 = call i32 @GdipGetCustomLineCapType(ptr noundef %59, ptr noundef nonnull %3) #3
%61 = load i32, ptr @Ok, align 4, !tbaa !5
%62 = icmp eq i32 %60, %61
%63 = zext i1 %62 to i32
%64 = call i32 @ok(i32 noundef %63, ptr noundef nonnull @.str.5, i32 noundef %60) #3
%65 = load i32, ptr %3, align 4, !tbaa !5
%66 = load i32, ptr @CustomLineCapTypeAdjustableArrow, align 4, !tbaa !5
%67 = icmp eq i32 %65, %66
%68 = zext i1 %67 to i32
%69 = call i32 @ok(i32 noundef %68, ptr noundef nonnull @.str.6, i32 noundef %60) #3
%70 = load ptr, ptr %1, align 8, !tbaa !9
%71 = call i32 @GdipDeleteCustomLineCap(ptr noundef %70) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @GdipGetCustomLineCapType(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GdipCreatePath(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GdipAddPathRectangle(ptr noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #2
declare i32 @GdipCreateCustomLineCap(ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GdipDeleteCustomLineCap(ptr noundef) local_unnamed_addr #2
declare i32 @GdipDeletePath(ptr noundef) local_unnamed_addr #2
declare i32 @GdipCreateAdjustableArrowCap(double noundef, double noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/gdiplus/extr_customlinecap.c_test_captype.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/gdiplus/extr_customlinecap.c_test_captype.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@InvalidParameter = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Unexpected return code, %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Unexpected cap type, %d\0A\00", align 1
@FillModeAlternate = common local_unnamed_addr global i32 0, align 4
@Ok = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Failed to create path, %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"AddPathRectangle failed, %d\0A\00", align 1
@LineCapFlat = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [26 x i8] c"Failed to create cap, %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Failed to get cap type, %d\0A\00", align 1
@CustomLineCapTypeDefault = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [24 x i8] c"Unexpected cap type %d\0A\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [37 x i8] c"Failed to create adjustable cap, %d\0A\00", align 1
@CustomLineCapTypeAdjustableArrow = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_captype], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_captype() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @GdipGetCustomLineCapType(ptr noundef null, ptr noundef null) #3
%6 = load i32, ptr @InvalidParameter, align 4, !tbaa !6
%7 = icmp eq i32 %5, %6
%8 = zext i1 %7 to i32
%9 = tail call i32 @ok(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %5) #3
store i32 10, ptr %3, align 4, !tbaa !6
%10 = call i32 @GdipGetCustomLineCapType(ptr noundef null, ptr noundef nonnull %3) #3
%11 = load i32, ptr @InvalidParameter, align 4, !tbaa !6
%12 = icmp eq i32 %10, %11
%13 = zext i1 %12 to i32
%14 = call i32 @ok(i32 noundef %13, ptr noundef nonnull @.str, i32 noundef %10) #3
%15 = load i32, ptr %3, align 4, !tbaa !6
%16 = icmp eq i32 %15, 10
%17 = zext i1 %16 to i32
%18 = call i32 @ok(i32 noundef %17, ptr noundef nonnull @.str.1, i32 noundef %15) #3
%19 = load i32, ptr @FillModeAlternate, align 4, !tbaa !6
%20 = call i32 @GdipCreatePath(i32 noundef %19, ptr noundef nonnull %4) #3
%21 = load i32, ptr @Ok, align 4, !tbaa !6
%22 = icmp eq i32 %20, %21
%23 = zext i1 %22 to i32
%24 = call i32 @ok(i32 noundef %23, ptr noundef nonnull @.str.2, i32 noundef %20) #3
%25 = load ptr, ptr %4, align 8, !tbaa !10
%26 = call i32 @GdipAddPathRectangle(ptr noundef %25, double noundef 5.000000e+00, double noundef 5.000000e+00, double noundef 1.000000e+01, double noundef 1.000000e+01) #3
%27 = load i32, ptr @Ok, align 4, !tbaa !6
%28 = icmp eq i32 %26, %27
%29 = zext i1 %28 to i32
%30 = call i32 @ok(i32 noundef %29, ptr noundef nonnull @.str.3, i32 noundef %26) #3
%31 = load ptr, ptr %4, align 8, !tbaa !10
%32 = load i32, ptr @LineCapFlat, align 4, !tbaa !6
%33 = call i32 @GdipCreateCustomLineCap(ptr noundef null, ptr noundef %31, i32 noundef %32, double noundef 0.000000e+00, ptr noundef nonnull %2) #3
%34 = load i32, ptr @Ok, align 4, !tbaa !6
%35 = icmp eq i32 %33, %34
%36 = zext i1 %35 to i32
%37 = call i32 @ok(i32 noundef %36, ptr noundef nonnull @.str.4, i32 noundef %33) #3
%38 = load ptr, ptr %2, align 8, !tbaa !10
%39 = call i32 @GdipGetCustomLineCapType(ptr noundef %38, ptr noundef nonnull %3) #3
%40 = load i32, ptr @Ok, align 4, !tbaa !6
%41 = icmp eq i32 %39, %40
%42 = zext i1 %41 to i32
%43 = call i32 @ok(i32 noundef %42, ptr noundef nonnull @.str.5, i32 noundef %39) #3
%44 = load i32, ptr %3, align 4, !tbaa !6
%45 = load i32, ptr @CustomLineCapTypeDefault, align 4, !tbaa !6
%46 = icmp eq i32 %44, %45
%47 = zext i1 %46 to i32
%48 = call i32 @ok(i32 noundef %47, ptr noundef nonnull @.str.6, i32 noundef %39) #3
%49 = load ptr, ptr %2, align 8, !tbaa !10
%50 = call i32 @GdipDeleteCustomLineCap(ptr noundef %49) #3
%51 = load ptr, ptr %4, align 8, !tbaa !10
%52 = call i32 @GdipDeletePath(ptr noundef %51) #3
%53 = load i32, ptr @TRUE, align 4, !tbaa !6
%54 = call i32 @GdipCreateAdjustableArrowCap(double noundef 1.700000e+01, double noundef 1.500000e+01, i32 noundef %53, ptr noundef nonnull %1) #3
%55 = load i32, ptr @Ok, align 4, !tbaa !6
%56 = icmp eq i32 %54, %55
%57 = zext i1 %56 to i32
%58 = call i32 @ok(i32 noundef %57, ptr noundef nonnull @.str.7, i32 noundef %54) #3
%59 = load ptr, ptr %1, align 8, !tbaa !10
%60 = call i32 @GdipGetCustomLineCapType(ptr noundef %59, ptr noundef nonnull %3) #3
%61 = load i32, ptr @Ok, align 4, !tbaa !6
%62 = icmp eq i32 %60, %61
%63 = zext i1 %62 to i32
%64 = call i32 @ok(i32 noundef %63, ptr noundef nonnull @.str.5, i32 noundef %60) #3
%65 = load i32, ptr %3, align 4, !tbaa !6
%66 = load i32, ptr @CustomLineCapTypeAdjustableArrow, align 4, !tbaa !6
%67 = icmp eq i32 %65, %66
%68 = zext i1 %67 to i32
%69 = call i32 @ok(i32 noundef %68, ptr noundef nonnull @.str.6, i32 noundef %60) #3
%70 = load ptr, ptr %1, align 8, !tbaa !10
%71 = call i32 @GdipDeleteCustomLineCap(ptr noundef %70) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @GdipGetCustomLineCapType(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GdipCreatePath(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GdipAddPathRectangle(ptr noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #2
declare i32 @GdipCreateCustomLineCap(ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GdipDeleteCustomLineCap(ptr noundef) local_unnamed_addr #2
declare i32 @GdipDeletePath(ptr noundef) local_unnamed_addr #2
declare i32 @GdipCreateAdjustableArrowCap(double noundef, double noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| reactos_modules_rostests_winetests_gdiplus_extr_customlinecap.c_test_captype |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe.c_vfe_isr_reg_update.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe.c_vfe_isr_reg_update.c"
target datalayout = "e-m:e-p270:32:32-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.vfe_device = type { i32, ptr, ptr }
%struct.TYPE_6__ = type { %struct.vfe_output }
%struct.vfe_output = type { i32, ptr, ptr, i32, i64 }
@VFE_OUTPUT_STOPPING = dso_local local_unnamed_addr global i32 0, align 4
@VB2_BUF_STATE_DONE = dso_local local_unnamed_addr global i32 0, align 4
@VFE_OUTPUT_IDLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vfe_isr_reg_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vfe_isr_reg_update(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%4 = getelementptr inbounds %struct.vfe_device, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i32 %6(ptr noundef %0, i32 noundef %1) #2
%8 = getelementptr inbounds %struct.vfe_device, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = zext i32 %1 to i64
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %10
%12 = getelementptr inbounds %struct.vfe_output, ptr %11, i64 0, i32 4
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %2
store i64 0, ptr %12, align 8, !tbaa !14
%16 = getelementptr inbounds %struct.vfe_output, ptr %11, i64 0, i32 3
%17 = tail call i32 @complete(ptr noundef nonnull %16) #2
br label %68
18: ; preds = %2
%19 = load i32, ptr %11, align 8, !tbaa !17
%20 = load i32, ptr @VFE_OUTPUT_STOPPING, align 4, !tbaa !18
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %68
22: ; preds = %18
%23 = getelementptr inbounds %struct.vfe_output, ptr %11, i64 0, i32 2
%24 = load ptr, ptr %23, align 8, !tbaa !19
%25 = icmp eq ptr %24, null
br i1 %25, label %29, label %26
26: ; preds = %22
%27 = load i32, ptr @VB2_BUF_STATE_DONE, align 4, !tbaa !18
%28 = tail call i32 @vb2_buffer_done(ptr noundef nonnull %24, i32 noundef %27) #2
store ptr null, ptr %23, align 8, !tbaa !19
br label %29
29: ; preds = %26, %22
%30 = load i32, ptr @VFE_OUTPUT_IDLE, align 4, !tbaa !18
store i32 %30, ptr %11, align 8, !tbaa !17
%31 = tail call ptr @vfe_buf_get_pending(ptr noundef nonnull %11) #2
%32 = getelementptr inbounds %struct.vfe_output, ptr %11, i64 0, i32 1
%33 = load ptr, ptr %32, align 8, !tbaa !20
store ptr %31, ptr %33, align 8, !tbaa !21
%34 = tail call ptr @vfe_buf_get_pending(ptr noundef nonnull %11) #2
%35 = load ptr, ptr %32, align 8, !tbaa !20
%36 = getelementptr inbounds ptr, ptr %35, i64 1
store ptr %34, ptr %36, align 8, !tbaa !21
%37 = load ptr, ptr %32, align 8, !tbaa !20
%38 = load ptr, ptr %37, align 8, !tbaa !21
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %50
40: ; preds = %29
%41 = getelementptr inbounds ptr, ptr %37, i64 1
%42 = load ptr, ptr %41, align 8, !tbaa !21
%43 = icmp eq ptr %42, null
br i1 %43, label %52, label %44
44: ; preds = %40
store ptr %42, ptr %37, align 8, !tbaa !21
%45 = load ptr, ptr %32, align 8, !tbaa !20
%46 = getelementptr inbounds ptr, ptr %45, i64 1
store ptr null, ptr %46, align 8, !tbaa !21
%47 = load ptr, ptr %32, align 8, !tbaa !20
%48 = load ptr, ptr %47, align 8, !tbaa !21
%49 = icmp eq ptr %48, null
br i1 %49, label %52, label %50
50: ; preds = %29, %44
%51 = phi ptr [ %47, %44 ], [ %37, %29 ]
store i32 128, ptr %11, align 8, !tbaa !17
br label %52
52: ; preds = %40, %50, %44
%53 = phi ptr [ %51, %50 ], [ %47, %44 ], [ %37, %40 ]
%54 = getelementptr inbounds ptr, ptr %53, i64 1
%55 = load ptr, ptr %54, align 8, !tbaa !21
%56 = icmp eq ptr %55, null
br i1 %56, label %58, label %57
57: ; preds = %52
store i32 129, ptr %11, align 8, !tbaa !17
br label %64
58: ; preds = %52
%59 = load i32, ptr %11, align 8, !tbaa !17
%60 = icmp eq i32 %59, 129
%61 = select i1 %60, i32 3, i32 0
%62 = icmp eq i32 %59, 128
%63 = select i1 %62, i32 2, i32 %61
br label %64
64: ; preds = %58, %57
%65 = phi i32 [ 3, %57 ], [ %63, %58 ]
%66 = tail call i32 @vfe_output_frame_drop(ptr noundef nonnull %0, ptr noundef nonnull %11, i32 noundef %65) #2
%67 = tail call i32 @vfe_output_init_addrs(ptr noundef nonnull %0, ptr noundef nonnull %11, i32 noundef 1) #2
br label %68
68: ; preds = %18, %64, %15
%69 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @vb2_buffer_done(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @vfe_buf_get_pending(ptr noundef) local_unnamed_addr #1
declare i32 @vfe_output_frame_drop(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vfe_output_init_addrs(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"vfe_device", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_5__", !10, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!15, !16, i64 32}
!15 = !{!"vfe_output", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !16, i64 32}
!16 = !{!"long", !8, i64 0}
!17 = !{!15, !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!15, !10, i64 16}
!20 = !{!15, !10, i64 8}
!21 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe.c_vfe_isr_reg_update.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-vfe.c_vfe_isr_reg_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { %struct.vfe_output }
%struct.vfe_output = type { i32, ptr, ptr, i32, i64 }
@VFE_OUTPUT_STOPPING = common local_unnamed_addr global i32 0, align 4
@VB2_BUF_STATE_DONE = common local_unnamed_addr global i32 0, align 4
@VFE_OUTPUT_IDLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vfe_isr_reg_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vfe_isr_reg_update(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = tail call i32 %6(ptr noundef %0, i32 noundef %1) #2
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = zext i32 %1 to i64
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %10
%12 = getelementptr inbounds i8, ptr %11, i64 32
%13 = load i64, ptr %12, align 8, !tbaa !15
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %2
store i64 0, ptr %12, align 8, !tbaa !15
%16 = getelementptr inbounds i8, ptr %11, i64 24
%17 = tail call i32 @complete(ptr noundef nonnull %16) #2
br label %68
18: ; preds = %2
%19 = load i32, ptr %11, align 8, !tbaa !18
%20 = load i32, ptr @VFE_OUTPUT_STOPPING, align 4, !tbaa !19
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %68
22: ; preds = %18
%23 = getelementptr inbounds i8, ptr %11, i64 16
%24 = load ptr, ptr %23, align 8, !tbaa !20
%25 = icmp eq ptr %24, null
br i1 %25, label %29, label %26
26: ; preds = %22
%27 = load i32, ptr @VB2_BUF_STATE_DONE, align 4, !tbaa !19
%28 = tail call i32 @vb2_buffer_done(ptr noundef nonnull %24, i32 noundef %27) #2
store ptr null, ptr %23, align 8, !tbaa !20
br label %29
29: ; preds = %26, %22
%30 = load i32, ptr @VFE_OUTPUT_IDLE, align 4, !tbaa !19
store i32 %30, ptr %11, align 8, !tbaa !18
%31 = tail call ptr @vfe_buf_get_pending(ptr noundef nonnull %11) #2
%32 = getelementptr inbounds i8, ptr %11, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !21
store ptr %31, ptr %33, align 8, !tbaa !22
%34 = tail call ptr @vfe_buf_get_pending(ptr noundef nonnull %11) #2
%35 = load ptr, ptr %32, align 8, !tbaa !21
%36 = getelementptr inbounds i8, ptr %35, i64 8
store ptr %34, ptr %36, align 8, !tbaa !22
%37 = load ptr, ptr %32, align 8, !tbaa !21
%38 = load ptr, ptr %37, align 8, !tbaa !22
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %50
40: ; preds = %29
%41 = getelementptr inbounds i8, ptr %37, i64 8
%42 = load ptr, ptr %41, align 8, !tbaa !22
%43 = icmp eq ptr %42, null
br i1 %43, label %52, label %44
44: ; preds = %40
store ptr %42, ptr %37, align 8, !tbaa !22
%45 = load ptr, ptr %32, align 8, !tbaa !21
%46 = getelementptr inbounds i8, ptr %45, i64 8
store ptr null, ptr %46, align 8, !tbaa !22
%47 = load ptr, ptr %32, align 8, !tbaa !21
%48 = load ptr, ptr %47, align 8, !tbaa !22
%49 = icmp eq ptr %48, null
br i1 %49, label %52, label %50
50: ; preds = %29, %44
%51 = phi ptr [ %47, %44 ], [ %37, %29 ]
store i32 128, ptr %11, align 8, !tbaa !18
br label %52
52: ; preds = %40, %50, %44
%53 = phi ptr [ %51, %50 ], [ %47, %44 ], [ %37, %40 ]
%54 = getelementptr inbounds i8, ptr %53, i64 8
%55 = load ptr, ptr %54, align 8, !tbaa !22
%56 = icmp eq ptr %55, null
br i1 %56, label %58, label %57
57: ; preds = %52
store i32 129, ptr %11, align 8, !tbaa !18
br label %64
58: ; preds = %52
%59 = load i32, ptr %11, align 8, !tbaa !18
%60 = icmp eq i32 %59, 129
%61 = select i1 %60, i32 3, i32 0
%62 = icmp eq i32 %59, 128
%63 = select i1 %62, i32 2, i32 %61
br label %64
64: ; preds = %58, %57
%65 = phi i32 [ 3, %57 ], [ %63, %58 ]
%66 = tail call i32 @vfe_output_frame_drop(ptr noundef nonnull %0, ptr noundef nonnull %11, i32 noundef %65) #2
%67 = tail call i32 @vfe_output_init_addrs(ptr noundef nonnull %0, ptr noundef nonnull %11, i32 noundef 1) #2
br label %68
68: ; preds = %18, %64, %15
%69 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @vb2_buffer_done(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @vfe_buf_get_pending(ptr noundef) local_unnamed_addr #1
declare i32 @vfe_output_frame_drop(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vfe_output_init_addrs(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"vfe_device", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_5__", !11, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!16, !17, i64 32}
!16 = !{!"vfe_output", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !17, i64 32}
!17 = !{!"long", !9, i64 0}
!18 = !{!16, !8, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!16, !11, i64 16}
!21 = !{!16, !11, i64 8}
!22 = !{!11, !11, i64 0}
| linux_drivers_media_platform_qcom_camss_extr_camss-vfe.c_vfe_isr_reg_update |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.