IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/freebsd/sys/dev/ipmi/extr_ipmi.c_ipmi_poll.c' source_filename = "AnghaBench/freebsd/sys/dev/ipmi/extr_ipmi.c_ipmi_poll.c" target datalayout = "e-m:e-p270:32:32-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.ipmi_device = type { i64, i32, i32 } @POLLIN = dso_local local_unnamed_addr global i32 0, align 4 @POLLRDNORM = dso_local local_unnamed_addr global i32 0, align 4 @POLLERR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipmi_poll], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ipmi_poll(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = call i64 @devfs_get_cdevpriv(ptr noundef nonnull %4) #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %41 7: ; preds = %3 %8 = load ptr, ptr %0, align 8, !tbaa !5 %9 = call i32 @IPMI_LOCK(ptr noundef %8) #3 %10 = load i32, ptr @POLLIN, align 4, !tbaa !10 %11 = load i32, ptr @POLLRDNORM, align 4, !tbaa !10 %12 = or i32 %11, %10 %13 = and i32 %12, %1 %14 = icmp eq i32 %13, 0 br i1 %14, label %38, label %15 15: ; preds = %7 %16 = load ptr, ptr %4, align 8, !tbaa !12 %17 = getelementptr inbounds %struct.ipmi_device, ptr %16, i64 0, i32 2 %18 = call i32 @TAILQ_EMPTY(ptr noundef nonnull %17) #3 %19 = icmp eq i32 %18, 0 %20 = load i32, ptr @POLLIN, align 4 %21 = load i32, ptr @POLLRDNORM, align 4 %22 = or i32 %21, %20 %23 = and i32 %22, %1 %24 = select i1 %19, i32 %23, i32 0 %25 = load ptr, ptr %4, align 8, !tbaa !12 %26 = load i64, ptr %25, align 8, !tbaa !13 %27 = icmp eq i64 %26, 0 %28 = load i32, ptr @POLLERR, align 4 %29 = select i1 %27, i32 %28, i32 0 %30 = or i32 %29, %24 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %38 32: ; preds = %15 %33 = icmp eq i32 %23, 0 br i1 %33, label %38, label %34 34: ; preds = %32 %35 = load ptr, ptr %4, align 8, !tbaa !12 %36 = getelementptr inbounds %struct.ipmi_device, ptr %35, i64 0, i32 1 %37 = call i32 @selrecord(ptr noundef %2, ptr noundef nonnull %36) #3 br label %38 38: ; preds = %7, %32, %34, %15 %39 = phi i32 [ 0, %32 ], [ 0, %34 ], [ %30, %15 ], [ 0, %7 ] %40 = call i32 @IPMI_UNLOCK(ptr noundef %8) #3 br label %41 41: ; preds = %3, %38 %42 = phi i32 [ %39, %38 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %42 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @devfs_get_cdevpriv(ptr noundef) local_unnamed_addr #2 declare i32 @IPMI_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @TAILQ_EMPTY(ptr noundef) local_unnamed_addr #2 declare i32 @selrecord(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @IPMI_UNLOCK(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"cdev", !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 = !{!7, !7, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"ipmi_device", !15, i64 0, !11, i64 8, !11, i64 12} !15 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ipmi/extr_ipmi.c_ipmi_poll.c' source_filename = "AnghaBench/freebsd/sys/dev/ipmi/extr_ipmi.c_ipmi_poll.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @POLLIN = common local_unnamed_addr global i32 0, align 4 @POLLRDNORM = common local_unnamed_addr global i32 0, align 4 @POLLERR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ipmi_poll], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ipmi_poll(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = call i64 @devfs_get_cdevpriv(ptr noundef nonnull %4) #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %40 7: ; preds = %3 %8 = load ptr, ptr %0, align 8, !tbaa !6 %9 = call i32 @IPMI_LOCK(ptr noundef %8) #3 %10 = load i32, ptr @POLLIN, align 4, !tbaa !11 %11 = load i32, ptr @POLLRDNORM, align 4, !tbaa !11 %12 = or i32 %11, %10 %13 = and i32 %12, %1 %14 = icmp eq i32 %13, 0 br i1 %14, label %37, label %15 15: ; preds = %7 %16 = load ptr, ptr %4, align 8, !tbaa !13 %17 = getelementptr inbounds i8, ptr %16, i64 12 %18 = call i32 @TAILQ_EMPTY(ptr noundef nonnull %17) #3 %19 = icmp eq i32 %18, 0 %20 = load i32, ptr @POLLIN, align 4 %21 = load i32, ptr @POLLRDNORM, align 4 %22 = or i32 %21, %20 %23 = and i32 %22, %1 %24 = select i1 %19, i32 %23, i32 0 %25 = load ptr, ptr %4, align 8, !tbaa !13 %26 = load i64, ptr %25, align 8, !tbaa !14 %27 = icmp eq i64 %26, 0 %28 = load i32, ptr @POLLERR, align 4 %29 = select i1 %27, i32 %28, i32 0 %30 = or i32 %29, %24 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %15 %33 = icmp eq i32 %23, 0 br i1 %33, label %37, label %34 34: ; preds = %32 %35 = getelementptr inbounds i8, ptr %25, i64 8 %36 = call i32 @selrecord(ptr noundef %2, ptr noundef nonnull %35) #3 br label %37 37: ; preds = %7, %32, %34, %15 %38 = phi i32 [ 0, %32 ], [ 0, %34 ], [ %30, %15 ], [ 0, %7 ] %39 = call i32 @IPMI_UNLOCK(ptr noundef %8) #3 br label %40 40: ; preds = %3, %37 %41 = phi i32 [ %38, %37 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @devfs_get_cdevpriv(ptr noundef) local_unnamed_addr #2 declare i32 @IPMI_LOCK(ptr noundef) local_unnamed_addr #2 declare i32 @TAILQ_EMPTY(ptr noundef) local_unnamed_addr #2 declare i32 @selrecord(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @IPMI_UNLOCK(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"cdev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"ipmi_device", !16, i64 0, !12, i64 8, !12, i64 12} !16 = !{!"long", !9, i64 0}
freebsd_sys_dev_ipmi_extr_ipmi.c_ipmi_poll
; ModuleID = 'AnghaBench/linux/net/l2tp/extr_l2tp_ip.c_l2tp_ip_getname.c' source_filename = "AnghaBench/linux/net/l2tp/extr_l2tp_ip.c_l2tp_ip_getname.c" target datalayout = "e-m:e-p270:32:32-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.sockaddr_l2tpip = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i64 } %struct.inet_sock = type { i64, i64, i64, i32 } %struct.l2tp_ip_sock = type { i32, i32 } @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @ENOTCONN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @l2tp_ip_getname], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @l2tp_ip_getname(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = tail call ptr @inet_sk(ptr noundef %4) #2 %6 = tail call ptr @l2tp_ip_sk(ptr noundef %4) #2 %7 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 16) #2 %8 = load i32, ptr @AF_INET, align 4, !tbaa !10 %9 = getelementptr inbounds %struct.sockaddr_l2tpip, ptr %1, i64 0, i32 2 store i32 %8, ptr %9, align 4, !tbaa !12 %10 = icmp eq i32 %2, 0 br i1 %10, label %24, label %11 11: ; preds = %3 %12 = getelementptr inbounds %struct.inet_sock, ptr %5, i64 0, i32 3 %13 = load i32, ptr %12, align 8, !tbaa !16 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr @ENOTCONN, align 4, !tbaa !10 %17 = sub nsw i32 0, %16 br label %36 18: ; preds = %11 %19 = getelementptr inbounds %struct.l2tp_ip_sock, ptr %6, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = getelementptr inbounds %struct.sockaddr_l2tpip, ptr %1, i64 0, i32 1 store i32 %20, ptr %21, align 8, !tbaa !20 %22 = getelementptr inbounds %struct.inet_sock, ptr %5, i64 0, i32 2 %23 = load i64, ptr %22, align 8, !tbaa !21 br label %34 24: ; preds = %3 %25 = getelementptr inbounds %struct.inet_sock, ptr %5, i64 0, i32 1 %26 = load i64, ptr %25, align 8, !tbaa !22 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = load i64, ptr %5, align 8, !tbaa !23 br label %30 30: ; preds = %28, %24 %31 = phi i64 [ %26, %24 ], [ %29, %28 ] %32 = load i32, ptr %6, align 4, !tbaa !24 %33 = getelementptr inbounds %struct.sockaddr_l2tpip, ptr %1, i64 0, i32 1 store i32 %32, ptr %33, align 8, !tbaa !20 br label %34 34: ; preds = %30, %18 %35 = phi i64 [ %31, %30 ], [ %23, %18 ] store i64 %35, ptr %1, align 8, !tbaa !25 br label %36 36: ; preds = %34, %15 %37 = phi i32 [ 16, %34 ], [ %17, %15 ] ret i32 %37 } declare ptr @inet_sk(ptr noundef) local_unnamed_addr #1 declare ptr @l2tp_ip_sk(ptr noundef) local_unnamed_addr #1 declare i32 @memset(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 = !{!"socket", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 12} !13 = !{!"sockaddr_l2tpip", !14, i64 0, !11, i64 8, !11, i64 12} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !11, i64 24} !17 = !{!"inet_sock", !15, i64 0, !15, i64 8, !15, i64 16, !11, i64 24} !18 = !{!19, !11, i64 4} !19 = !{!"l2tp_ip_sock", !11, i64 0, !11, i64 4} !20 = !{!13, !11, i64 8} !21 = !{!17, !15, i64 16} !22 = !{!17, !15, i64 8} !23 = !{!17, !15, i64 0} !24 = !{!19, !11, i64 0} !25 = !{!13, !15, i64 0}
; ModuleID = 'AnghaBench/linux/net/l2tp/extr_l2tp_ip.c_l2tp_ip_getname.c' source_filename = "AnghaBench/linux/net/l2tp/extr_l2tp_ip.c_l2tp_ip_getname.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AF_INET = common local_unnamed_addr global i32 0, align 4 @ENOTCONN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @l2tp_ip_getname], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @l2tp_ip_getname(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = tail call ptr @inet_sk(ptr noundef %4) #2 %6 = tail call ptr @l2tp_ip_sk(ptr noundef %4) #2 %7 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 16) #2 %8 = load i32, ptr @AF_INET, align 4, !tbaa !11 %9 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %8, ptr %9, align 4, !tbaa !13 %10 = icmp eq i32 %2, 0 br i1 %10, label %24, label %11 11: ; preds = %3 %12 = getelementptr inbounds i8, ptr %5, i64 24 %13 = load i32, ptr %12, align 8, !tbaa !17 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr @ENOTCONN, align 4, !tbaa !11 %17 = sub nsw i32 0, %16 br label %36 18: ; preds = %11 %19 = getelementptr inbounds i8, ptr %6, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %20, ptr %21, align 8, !tbaa !21 %22 = getelementptr inbounds i8, ptr %5, i64 16 %23 = load i64, ptr %22, align 8, !tbaa !22 br label %34 24: ; preds = %3 %25 = getelementptr inbounds i8, ptr %5, i64 8 %26 = load i64, ptr %25, align 8, !tbaa !23 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = load i64, ptr %5, align 8, !tbaa !24 br label %30 30: ; preds = %28, %24 %31 = phi i64 [ %26, %24 ], [ %29, %28 ] %32 = load i32, ptr %6, align 4, !tbaa !25 %33 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %32, ptr %33, align 8, !tbaa !21 br label %34 34: ; preds = %30, %18 %35 = phi i64 [ %31, %30 ], [ %23, %18 ] store i64 %35, ptr %1, align 8, !tbaa !26 br label %36 36: ; preds = %34, %15 %37 = phi i32 [ 16, %34 ], [ %17, %15 ] ret i32 %37 } declare ptr @inet_sk(ptr noundef) local_unnamed_addr #1 declare ptr @l2tp_ip_sk(ptr noundef) local_unnamed_addr #1 declare i32 @memset(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 = !{!"socket", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 12} !14 = !{!"sockaddr_l2tpip", !15, i64 0, !12, i64 8, !12, i64 12} !15 = !{!"TYPE_2__", !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!18, !12, i64 24} !18 = !{!"inet_sock", !16, i64 0, !16, i64 8, !16, i64 16, !12, i64 24} !19 = !{!20, !12, i64 4} !20 = !{!"l2tp_ip_sock", !12, i64 0, !12, i64 4} !21 = !{!14, !12, i64 8} !22 = !{!18, !16, i64 16} !23 = !{!18, !16, i64 8} !24 = !{!18, !16, i64 0} !25 = !{!20, !12, i64 0} !26 = !{!14, !16, i64 0}
linux_net_l2tp_extr_l2tp_ip.c_l2tp_ip_getname
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_..archgbgbasm.c_gb_parse_ld2.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_..archgbgbasm.c_gb_parse_ld2.c" target datalayout = "e-m:e-p270:32:32-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 [6 x i8] c"[hl],\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @gb_parse_ld2], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @gb_parse_ld2(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 { %3 = tail call i32 @strlen(ptr noundef %1) #2 %4 = icmp slt i32 %3, 6 br i1 %4, label %27, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = load i8, ptr %6, align 1, !tbaa !5 %8 = icmp eq i8 %7, 44 %9 = getelementptr inbounds i8, ptr %1, i64 3 br i1 %8, label %10, label %17 10: ; preds = %5 %11 = load i8, ptr %9, align 1, !tbaa !5 %12 = tail call i32 @gb_reg_idx(i8 noundef signext %11) #2 %13 = icmp eq i32 %12, -1 br i1 %13, label %27, label %14 14: ; preds = %10 %15 = shl nsw i32 %12, 3 %16 = or disjoint i32 %15, 6 br label %20 17: ; preds = %5 %18 = tail call i32 @strncmp(ptr noundef nonnull %9, ptr noundef nonnull @.str, i32 noundef 5) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %27 20: ; preds = %17, %14 %21 = phi i32 [ %16, %14 ], [ 54, %17 ] %22 = phi i64 [ 5, %14 ], [ 8, %17 ] store i32 %21, ptr %0, align 4, !tbaa !8 %23 = getelementptr inbounds i8, ptr %1, i64 %22 %24 = tail call i32 @r_num_get(ptr noundef null, ptr noundef nonnull %23) #2 %25 = and i32 %24, 255 %26 = getelementptr inbounds i32, ptr %0, i64 1 store i32 %25, ptr %26, align 4, !tbaa !8 br label %27 27: ; preds = %20, %17, %10, %2 %28 = phi i32 [ 0, %2 ], [ 0, %10 ], [ 0, %17 ], [ 1, %20 ] ret i32 %28 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @gb_reg_idx(i8 noundef signext) local_unnamed_addr #1 declare i32 @r_num_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_..archgbgbasm.c_gb_parse_ld2.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_..archgbgbasm.c_gb_parse_ld2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [6 x i8] c"[hl],\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @gb_parse_ld2], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @gb_parse_ld2(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 { %3 = tail call i32 @strlen(ptr noundef %1) #2 %4 = icmp slt i32 %3, 6 br i1 %4, label %27, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = load i8, ptr %6, align 1, !tbaa !6 %8 = icmp eq i8 %7, 44 %9 = getelementptr inbounds i8, ptr %1, i64 3 br i1 %8, label %10, label %17 10: ; preds = %5 %11 = load i8, ptr %9, align 1, !tbaa !6 %12 = tail call i32 @gb_reg_idx(i8 noundef signext %11) #2 %13 = icmp eq i32 %12, -1 br i1 %13, label %27, label %14 14: ; preds = %10 %15 = shl nsw i32 %12, 3 %16 = or disjoint i32 %15, 6 br label %20 17: ; preds = %5 %18 = tail call i32 @strncmp(ptr noundef nonnull %9, ptr noundef nonnull @.str, i32 noundef 5) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %27 20: ; preds = %17, %14 %21 = phi i32 [ %16, %14 ], [ 54, %17 ] %22 = phi i64 [ 5, %14 ], [ 8, %17 ] store i32 %21, ptr %0, align 4, !tbaa !9 %23 = getelementptr inbounds i8, ptr %1, i64 %22 %24 = tail call i32 @r_num_get(ptr noundef null, ptr noundef nonnull %23) #2 %25 = and i32 %24, 255 %26 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %25, ptr %26, align 4, !tbaa !9 br label %27 27: ; preds = %20, %17, %10, %2 %28 = phi i32 [ 0, %2 ], [ 0, %10 ], [ 0, %17 ], [ 1, %20 ] ret i32 %28 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @gb_reg_idx(i8 noundef signext) local_unnamed_addr #1 declare i32 @r_num_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
radare2_libr_asm_p_extr_..archgbgbasm.c_gb_parse_ld2
; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_eval.c_gl_copy_map_points1d.c' source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_eval.c_gl_copy_map_points1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @gl_copy_map_points1d(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef readonly %3) local_unnamed_addr #0 { %5 = tail call i32 @components(i32 noundef %0) #2 %6 = icmp eq ptr %3, null %7 = icmp eq i32 %5, 0 %8 = select i1 %6, i1 true, i1 %7 br i1 %8, label %63, label %9 9: ; preds = %4 %10 = shl i32 %2, 3 %11 = mul i32 %10, %5 %12 = tail call i64 @malloc(i32 noundef %11) #2 %13 = inttoptr i64 %12 to ptr %14 = icmp ne i64 %12, 0 %15 = icmp sgt i32 %2, 0 %16 = and i1 %14, %15 br i1 %16, label %17, label %63 17: ; preds = %9 %18 = icmp sgt i32 %5, 0 %19 = sext i32 %1 to i64 %20 = zext i32 %5 to i64 %21 = icmp ult i32 %5, 4 %22 = and i64 %20, 2147483644 %23 = shl nuw nsw i64 %22, 3 %24 = icmp eq i64 %22, %20 br label %25 25: ; preds = %17, %58 %26 = phi i32 [ 0, %17 ], [ %60, %58 ] %27 = phi ptr [ %13, %17 ], [ %59, %58 ] %28 = phi ptr [ %3, %17 ], [ %61, %58 ] br i1 %18, label %29, label %58 29: ; preds = %25 br i1 %21, label %46, label %30 30: ; preds = %29 %31 = getelementptr i8, ptr %27, i64 %23 br label %32 32: ; preds = %32, %30 %33 = phi i64 [ 0, %30 ], [ %43, %32 ] %34 = shl i64 %33, 3 %35 = getelementptr i8, ptr %27, i64 %34 %36 = getelementptr inbounds i32, ptr %28, i64 %33 %37 = getelementptr inbounds i32, ptr %36, i64 2 %38 = load <2 x i32>, ptr %36, align 4, !tbaa !5 %39 = load <2 x i32>, ptr %37, align 4, !tbaa !5 %40 = sext <2 x i32> %38 to <2 x i64> %41 = sext <2 x i32> %39 to <2 x i64> %42 = getelementptr i64, ptr %35, i64 2 store <2 x i64> %40, ptr %35, align 8, !tbaa !9 store <2 x i64> %41, ptr %42, align 8, !tbaa !9 %43 = add nuw i64 %33, 4 %44 = icmp eq i64 %43, %22 br i1 %44, label %45, label %32, !llvm.loop !11 45: ; preds = %32 br i1 %24, label %58, label %46 46: ; preds = %29, %45 %47 = phi i64 [ 0, %29 ], [ %22, %45 ] %48 = phi ptr [ %27, %29 ], [ %31, %45 ] br label %49 49: ; preds = %46, %49 %50 = phi i64 [ %56, %49 ], [ %47, %46 ] %51 = phi ptr [ %55, %49 ], [ %48, %46 ] %52 = getelementptr inbounds i32, ptr %28, i64 %50 %53 = load i32, ptr %52, align 4, !tbaa !5 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i64, ptr %51, i64 1 store i64 %54, ptr %51, align 8, !tbaa !9 %56 = add nuw nsw i64 %50, 1 %57 = icmp eq i64 %56, %20 br i1 %57, label %58, label %49, !llvm.loop !15 58: ; preds = %49, %45, %25 %59 = phi ptr [ %27, %25 ], [ %31, %45 ], [ %55, %49 ] %60 = add nuw nsw i32 %26, 1 %61 = getelementptr inbounds i32, ptr %28, i64 %19 %62 = icmp eq i32 %60, %2 br i1 %62, label %63, label %25, !llvm.loop !16 63: ; preds = %58, %9, %4 %64 = phi ptr [ null, %4 ], [ %13, %9 ], [ %13, %58 ] ret ptr %64 } declare i32 @components(i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12, !13, !14} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!"llvm.loop.isvectorized", i32 1} !14 = !{!"llvm.loop.unroll.runtime.disable"} !15 = distinct !{!15, !12, !14, !13} !16 = distinct !{!16, !12}
; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_eval.c_gl_copy_map_points1d.c' source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_eval.c_gl_copy_map_points1d.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @gl_copy_map_points1d(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef readonly %3) local_unnamed_addr #0 { %5 = tail call i32 @components(i32 noundef %0) #2 %6 = icmp eq ptr %3, null %7 = icmp eq i32 %5, 0 %8 = select i1 %6, i1 true, i1 %7 br i1 %8, label %71, label %9 9: ; preds = %4 %10 = shl i32 %2, 3 %11 = mul i32 %10, %5 %12 = tail call i64 @malloc(i32 noundef %11) #2 %13 = inttoptr i64 %12 to ptr %14 = icmp ne i64 %12, 0 %15 = icmp sgt i32 %2, 0 %16 = and i1 %14, %15 br i1 %16, label %17, label %71 17: ; preds = %9 %18 = icmp sgt i32 %5, 0 %19 = sext i32 %1 to i64 %20 = zext i32 %5 to i64 %21 = icmp ult i32 %5, 16 %22 = and i64 %20, 2147483632 %23 = shl nuw nsw i64 %22, 3 %24 = icmp eq i64 %22, %20 br label %25 25: ; preds = %17, %66 %26 = phi i32 [ 0, %17 ], [ %68, %66 ] %27 = phi ptr [ %13, %17 ], [ %67, %66 ] %28 = phi ptr [ %3, %17 ], [ %69, %66 ] br i1 %18, label %29, label %66 29: ; preds = %25 br i1 %21, label %54, label %30 30: ; preds = %29 %31 = getelementptr i8, ptr %27, i64 %23 br label %32 32: ; preds = %32, %30 %33 = phi i64 [ 0, %30 ], [ %51, %32 ] %34 = shl i64 %33, 3 %35 = getelementptr i8, ptr %27, i64 %34 %36 = getelementptr inbounds i32, ptr %28, i64 %33 %37 = getelementptr inbounds i8, ptr %36, i64 16 %38 = getelementptr inbounds i8, ptr %36, i64 32 %39 = getelementptr inbounds i8, ptr %36, i64 48 %40 = load <4 x i32>, ptr %36, align 4, !tbaa !6 %41 = load <4 x i32>, ptr %37, align 4, !tbaa !6 %42 = load <4 x i32>, ptr %38, align 4, !tbaa !6 %43 = load <4 x i32>, ptr %39, align 4, !tbaa !6 %44 = sext <4 x i32> %40 to <4 x i64> %45 = sext <4 x i32> %41 to <4 x i64> %46 = sext <4 x i32> %42 to <4 x i64> %47 = sext <4 x i32> %43 to <4 x i64> %48 = getelementptr i8, ptr %35, i64 32 %49 = getelementptr i8, ptr %35, i64 64 %50 = getelementptr i8, ptr %35, i64 96 store <4 x i64> %44, ptr %35, align 8, !tbaa !10 store <4 x i64> %45, ptr %48, align 8, !tbaa !10 store <4 x i64> %46, ptr %49, align 8, !tbaa !10 store <4 x i64> %47, ptr %50, align 8, !tbaa !10 %51 = add nuw i64 %33, 16 %52 = icmp eq i64 %51, %22 br i1 %52, label %53, label %32, !llvm.loop !12 53: ; preds = %32 br i1 %24, label %66, label %54 54: ; preds = %53, %29 %55 = phi i64 [ 0, %29 ], [ %22, %53 ] %56 = phi ptr [ %27, %29 ], [ %31, %53 ] br label %57 57: ; preds = %54, %57 %58 = phi i64 [ %64, %57 ], [ %55, %54 ] %59 = phi ptr [ %63, %57 ], [ %56, %54 ] %60 = getelementptr inbounds i32, ptr %28, i64 %58 %61 = load i32, ptr %60, align 4, !tbaa !6 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %59, i64 8 store i64 %62, ptr %59, align 8, !tbaa !10 %64 = add nuw nsw i64 %58, 1 %65 = icmp eq i64 %64, %20 br i1 %65, label %66, label %57, !llvm.loop !16 66: ; preds = %57, %53, %25 %67 = phi ptr [ %27, %25 ], [ %31, %53 ], [ %63, %57 ] %68 = add nuw nsw i32 %26, 1 %69 = getelementptr inbounds i32, ptr %28, i64 %19 %70 = icmp eq i32 %68, %2 br i1 %70, label %71, label %25, !llvm.loop !17 71: ; preds = %66, %9, %4 %72 = phi ptr [ null, %4 ], [ %13, %9 ], [ %13, %66 ] ret ptr %72 } declare i32 @components(i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13, !14, !15} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!"llvm.loop.isvectorized", i32 1} !15 = !{!"llvm.loop.unroll.runtime.disable"} !16 = distinct !{!16, !13, !15, !14} !17 = distinct !{!17, !13}
reactos_dll_opengl_mesa_extr_eval.c_gl_copy_map_points1d
; ModuleID = 'AnghaBench/freebsd/sys/dev/netmap/extr_netmap_freebsd.c_nm_os_mitigation_restart.c' source_filename = "AnghaBench/freebsd/sys/dev/netmap/extr_netmap_freebsd.c_nm_os_mitigation_restart.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @nm_os_mitigation_restart(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/netmap/extr_netmap_freebsd.c_nm_os_mitigation_restart.c' source_filename = "AnghaBench/freebsd/sys/dev/netmap/extr_netmap_freebsd.c_nm_os_mitigation_restart.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @nm_os_mitigation_restart(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_netmap_extr_netmap_freebsd.c_nm_os_mitigation_restart
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_mxs-dcp.c_mxs_dcp_run_aes.c' source_filename = "AnghaBench/linux/drivers/crypto/extr_mxs-dcp.c_mxs_dcp_run_aes.c" target datalayout = "e-m:e-p270:32:32-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.dcp = type { i32, ptr } %struct.TYPE_2__ = type { i32, i32, i32, ptr } %struct.dcp_dma_desc = type { i32, i32, i64, ptr, ptr, ptr, i64, i32 } %struct.dcp_async_ctx = type { i64, i32 } %struct.dcp_aes_req_ctx = type { i64, i64 } @global_sdcp = dso_local local_unnamed_addr global ptr null, align 8 @AES_KEYSIZE_128 = dso_local local_unnamed_addr global i32 0, align 4 @DMA_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @DCP_BUF_SZ = dso_local local_unnamed_addr global i32 0, align 4 @DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @AES_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Invalid block size!\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_DECR_SEMAPHORE = dso_local local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_INTERRUPT = dso_local local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_ENABLE_CIPHER = dso_local local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_PAYLOAD_KEY = dso_local local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_CIPHER_ENCRYPT = dso_local local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_CIPHER_INIT = dso_local local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL1_CIPHER_SELECT_AES128 = dso_local local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL1_CIPHER_MODE_ECB = dso_local local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL1_CIPHER_MODE_CBC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mxs_dcp_run_aes], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mxs_dcp_run_aes(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr @global_sdcp, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.dcp, ptr %4, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !9 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 3 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load i64, ptr %0, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.dcp_dma_desc, ptr %8, i64 %9 %11 = tail call ptr @ablkcipher_request_ctx(ptr noundef %1) #2 %12 = load i32, ptr %4, align 8, !tbaa !17 %13 = load ptr, ptr %5, align 8, !tbaa !9 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 2 %15 = load i32, ptr %14, align 8, !tbaa !18 %16 = load i32, ptr @AES_KEYSIZE_128, align 4, !tbaa !19 %17 = shl nsw i32 %16, 1 %18 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !19 %19 = tail call ptr @dma_map_single(i32 noundef %12, i32 noundef %15, i32 noundef %17, i32 noundef %18) #2 %20 = load i32, ptr %4, align 8, !tbaa !17 %21 = load ptr, ptr %5, align 8, !tbaa !9 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !20 %24 = load i32, ptr @DCP_BUF_SZ, align 4, !tbaa !19 %25 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !19 %26 = tail call ptr @dma_map_single(i32 noundef %20, i32 noundef %23, i32 noundef %24, i32 noundef %25) #2 %27 = load i32, ptr %4, align 8, !tbaa !17 %28 = load ptr, ptr %5, align 8, !tbaa !9 %29 = load i32, ptr %28, align 8, !tbaa !21 %30 = load i32, ptr @DCP_BUF_SZ, align 4, !tbaa !19 %31 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !19 %32 = tail call ptr @dma_map_single(i32 noundef %27, i32 noundef %29, i32 noundef %30, i32 noundef %31) #2 %33 = getelementptr inbounds %struct.dcp_async_ctx, ptr %0, i64 0, i32 1 %34 = load i32, ptr %33, align 8, !tbaa !22 %35 = load i32, ptr @AES_BLOCK_SIZE, align 4, !tbaa !19 %36 = srem i32 %34, %35 %37 = icmp eq i32 %36, 0 br i1 %37, label %43, label %38 38: ; preds = %3 %39 = load i32, ptr %4, align 8, !tbaa !17 %40 = tail call i32 @dev_err(i32 noundef %39, ptr noundef nonnull @.str) #2 %41 = load i32, ptr @EINVAL, align 4, !tbaa !19 %42 = sub nsw i32 0, %41 br label %79 43: ; preds = %3 %44 = load i32, ptr @MXS_DCP_CONTROL0_DECR_SEMAPHORE, align 4, !tbaa !19 %45 = load i32, ptr @MXS_DCP_CONTROL0_INTERRUPT, align 4, !tbaa !19 %46 = or i32 %45, %44 %47 = load i32, ptr @MXS_DCP_CONTROL0_ENABLE_CIPHER, align 4, !tbaa !19 %48 = or i32 %46, %47 store i32 %48, ptr %10, align 8, !tbaa !23 %49 = load i32, ptr @MXS_DCP_CONTROL0_PAYLOAD_KEY, align 4, !tbaa !19 %50 = or i32 %49, %48 store i32 %50, ptr %10, align 8, !tbaa !23 %51 = getelementptr inbounds %struct.dcp_aes_req_ctx, ptr %11, i64 0, i32 1 %52 = load i64, ptr %51, align 8, !tbaa !25 %53 = icmp eq i64 %52, 0 br i1 %53, label %57, label %54 54: ; preds = %43 %55 = load i32, ptr @MXS_DCP_CONTROL0_CIPHER_ENCRYPT, align 4, !tbaa !19 %56 = or i32 %55, %50 store i32 %56, ptr %10, align 8, !tbaa !23 br label %57 57: ; preds = %54, %43 %58 = phi i32 [ %56, %54 ], [ %50, %43 ] %59 = icmp eq i32 %2, 0 br i1 %59, label %63, label %60 60: ; preds = %57 %61 = load i32, ptr @MXS_DCP_CONTROL0_CIPHER_INIT, align 4, !tbaa !19 %62 = or i32 %58, %61 store i32 %62, ptr %10, align 8, !tbaa !23 br label %63 63: ; preds = %60, %57 %64 = load i32, ptr @MXS_DCP_CONTROL1_CIPHER_SELECT_AES128, align 4, !tbaa !19 %65 = getelementptr inbounds %struct.dcp_dma_desc, ptr %8, i64 %9, i32 7 store i32 %64, ptr %65, align 8, !tbaa !27 %66 = load i64, ptr %11, align 8, !tbaa !28 %67 = icmp eq i64 %66, 0 %68 = load i32, ptr @MXS_DCP_CONTROL1_CIPHER_MODE_CBC, align 4 %69 = load i32, ptr @MXS_DCP_CONTROL1_CIPHER_MODE_ECB, align 4 %70 = select i1 %67, i32 %68, i32 %69 %71 = or i32 %70, %64 store i32 %71, ptr %65, align 8, !tbaa !27 %72 = getelementptr inbounds %struct.dcp_dma_desc, ptr %8, i64 %9, i32 6 store i64 0, ptr %72, align 8, !tbaa !29 %73 = getelementptr inbounds %struct.dcp_dma_desc, ptr %8, i64 %9, i32 5 store ptr %26, ptr %73, align 8, !tbaa !30 %74 = getelementptr inbounds %struct.dcp_dma_desc, ptr %8, i64 %9, i32 4 store ptr %32, ptr %74, align 8, !tbaa !31 %75 = getelementptr inbounds %struct.dcp_dma_desc, ptr %8, i64 %9, i32 1 store i32 %34, ptr %75, align 4, !tbaa !32 %76 = getelementptr inbounds %struct.dcp_dma_desc, ptr %8, i64 %9, i32 3 store ptr %19, ptr %76, align 8, !tbaa !33 %77 = getelementptr inbounds %struct.dcp_dma_desc, ptr %8, i64 %9, i32 2 store i64 0, ptr %77, align 8, !tbaa !34 %78 = tail call i32 @mxs_dcp_start_dma(ptr noundef nonnull %0) #2 br label %79 79: ; preds = %63, %38 %80 = phi i32 [ %42, %38 ], [ %78, %63 ] %81 = load i32, ptr %4, align 8, !tbaa !17 %82 = load i32, ptr @AES_KEYSIZE_128, align 4, !tbaa !19 %83 = shl nsw i32 %82, 1 %84 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !19 %85 = tail call i32 @dma_unmap_single(i32 noundef %81, ptr noundef %19, i32 noundef %83, i32 noundef %84) #2 %86 = load i32, ptr %4, align 8, !tbaa !17 %87 = load i32, ptr @DCP_BUF_SZ, align 4, !tbaa !19 %88 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !19 %89 = tail call i32 @dma_unmap_single(i32 noundef %86, ptr noundef %26, i32 noundef %87, i32 noundef %88) #2 %90 = load i32, ptr %4, align 8, !tbaa !17 %91 = load i32, ptr @DCP_BUF_SZ, align 4, !tbaa !19 %92 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !19 %93 = tail call i32 @dma_unmap_single(i32 noundef %90, ptr noundef %32, i32 noundef %91, i32 noundef %92) #2 ret i32 %80 } declare ptr @ablkcipher_request_ctx(ptr noundef) local_unnamed_addr #1 declare ptr @dma_map_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mxs_dcp_start_dma(ptr noundef) local_unnamed_addr #1 declare i32 @dma_unmap_single(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"dcp", !11, i64 0, !6, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!13, !6, i64 16} !13 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16} !14 = !{!15, !16, i64 0} !15 = !{!"dcp_async_ctx", !16, i64 0, !11, i64 8} !16 = !{!"long", !7, i64 0} !17 = !{!10, !11, i64 0} !18 = !{!13, !11, i64 8} !19 = !{!11, !11, i64 0} !20 = !{!13, !11, i64 4} !21 = !{!13, !11, i64 0} !22 = !{!15, !11, i64 8} !23 = !{!24, !11, i64 0} !24 = !{!"dcp_dma_desc", !11, i64 0, !11, i64 4, !16, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !16, i64 40, !11, i64 48} !25 = !{!26, !16, i64 8} !26 = !{!"dcp_aes_req_ctx", !16, i64 0, !16, i64 8} !27 = !{!24, !11, i64 48} !28 = !{!26, !16, i64 0} !29 = !{!24, !16, i64 40} !30 = !{!24, !6, i64 32} !31 = !{!24, !6, i64 24} !32 = !{!24, !11, i64 4} !33 = !{!24, !6, i64 16} !34 = !{!24, !16, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_mxs-dcp.c_mxs_dcp_run_aes.c' source_filename = "AnghaBench/linux/drivers/crypto/extr_mxs-dcp.c_mxs_dcp_run_aes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.dcp_dma_desc = type { i32, i32, i64, ptr, ptr, ptr, i64, i32 } @global_sdcp = common local_unnamed_addr global ptr null, align 8 @AES_KEYSIZE_128 = common local_unnamed_addr global i32 0, align 4 @DMA_TO_DEVICE = common local_unnamed_addr global i32 0, align 4 @DCP_BUF_SZ = common local_unnamed_addr global i32 0, align 4 @DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4 @AES_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Invalid block size!\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_DECR_SEMAPHORE = common local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_INTERRUPT = common local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_ENABLE_CIPHER = common local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_PAYLOAD_KEY = common local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_CIPHER_ENCRYPT = common local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL0_CIPHER_INIT = common local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL1_CIPHER_SELECT_AES128 = common local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL1_CIPHER_MODE_ECB = common local_unnamed_addr global i32 0, align 4 @MXS_DCP_CONTROL1_CIPHER_MODE_CBC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mxs_dcp_run_aes], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mxs_dcp_run_aes(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr @global_sdcp, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %6, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i64, ptr %0, align 8, !tbaa !15 %10 = getelementptr inbounds %struct.dcp_dma_desc, ptr %8, i64 %9 %11 = tail call ptr @ablkcipher_request_ctx(ptr noundef %1) #2 %12 = load i32, ptr %4, align 8, !tbaa !18 %13 = load ptr, ptr %5, align 8, !tbaa !10 %14 = getelementptr inbounds i8, ptr %13, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !19 %16 = load i32, ptr @AES_KEYSIZE_128, align 4, !tbaa !20 %17 = shl nsw i32 %16, 1 %18 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !20 %19 = tail call ptr @dma_map_single(i32 noundef %12, i32 noundef %15, i32 noundef %17, i32 noundef %18) #2 %20 = load i32, ptr %4, align 8, !tbaa !18 %21 = load ptr, ptr %5, align 8, !tbaa !10 %22 = getelementptr inbounds i8, ptr %21, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !21 %24 = load i32, ptr @DCP_BUF_SZ, align 4, !tbaa !20 %25 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !20 %26 = tail call ptr @dma_map_single(i32 noundef %20, i32 noundef %23, i32 noundef %24, i32 noundef %25) #2 %27 = load i32, ptr %4, align 8, !tbaa !18 %28 = load ptr, ptr %5, align 8, !tbaa !10 %29 = load i32, ptr %28, align 8, !tbaa !22 %30 = load i32, ptr @DCP_BUF_SZ, align 4, !tbaa !20 %31 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !20 %32 = tail call ptr @dma_map_single(i32 noundef %27, i32 noundef %29, i32 noundef %30, i32 noundef %31) #2 %33 = getelementptr inbounds i8, ptr %0, i64 8 %34 = load i32, ptr %33, align 8, !tbaa !23 %35 = load i32, ptr @AES_BLOCK_SIZE, align 4, !tbaa !20 %36 = srem i32 %34, %35 %37 = icmp eq i32 %36, 0 br i1 %37, label %43, label %38 38: ; preds = %3 %39 = load i32, ptr %4, align 8, !tbaa !18 %40 = tail call i32 @dev_err(i32 noundef %39, ptr noundef nonnull @.str) #2 %41 = load i32, ptr @EINVAL, align 4, !tbaa !20 %42 = sub nsw i32 0, %41 br label %79 43: ; preds = %3 %44 = load i32, ptr @MXS_DCP_CONTROL0_DECR_SEMAPHORE, align 4, !tbaa !20 %45 = load i32, ptr @MXS_DCP_CONTROL0_INTERRUPT, align 4, !tbaa !20 %46 = or i32 %45, %44 %47 = load i32, ptr @MXS_DCP_CONTROL0_ENABLE_CIPHER, align 4, !tbaa !20 %48 = or i32 %46, %47 store i32 %48, ptr %10, align 8, !tbaa !24 %49 = load i32, ptr @MXS_DCP_CONTROL0_PAYLOAD_KEY, align 4, !tbaa !20 %50 = or i32 %49, %48 store i32 %50, ptr %10, align 8, !tbaa !24 %51 = getelementptr inbounds i8, ptr %11, i64 8 %52 = load i64, ptr %51, align 8, !tbaa !26 %53 = icmp eq i64 %52, 0 br i1 %53, label %57, label %54 54: ; preds = %43 %55 = load i32, ptr @MXS_DCP_CONTROL0_CIPHER_ENCRYPT, align 4, !tbaa !20 %56 = or i32 %55, %50 store i32 %56, ptr %10, align 8, !tbaa !24 br label %57 57: ; preds = %54, %43 %58 = phi i32 [ %56, %54 ], [ %50, %43 ] %59 = icmp eq i32 %2, 0 br i1 %59, label %63, label %60 60: ; preds = %57 %61 = load i32, ptr @MXS_DCP_CONTROL0_CIPHER_INIT, align 4, !tbaa !20 %62 = or i32 %58, %61 store i32 %62, ptr %10, align 8, !tbaa !24 br label %63 63: ; preds = %60, %57 %64 = load i32, ptr @MXS_DCP_CONTROL1_CIPHER_SELECT_AES128, align 4, !tbaa !20 %65 = getelementptr inbounds i8, ptr %10, i64 48 store i32 %64, ptr %65, align 8, !tbaa !28 %66 = load i64, ptr %11, align 8, !tbaa !29 %67 = icmp eq i64 %66, 0 %68 = load i32, ptr @MXS_DCP_CONTROL1_CIPHER_MODE_CBC, align 4 %69 = load i32, ptr @MXS_DCP_CONTROL1_CIPHER_MODE_ECB, align 4 %70 = select i1 %67, i32 %68, i32 %69 %71 = or i32 %70, %64 store i32 %71, ptr %65, align 8, !tbaa !28 %72 = getelementptr inbounds i8, ptr %10, i64 40 store i64 0, ptr %72, align 8, !tbaa !30 %73 = getelementptr inbounds i8, ptr %10, i64 32 store ptr %26, ptr %73, align 8, !tbaa !31 %74 = getelementptr inbounds i8, ptr %10, i64 24 store ptr %32, ptr %74, align 8, !tbaa !32 %75 = getelementptr inbounds i8, ptr %10, i64 4 store i32 %34, ptr %75, align 4, !tbaa !33 %76 = getelementptr inbounds i8, ptr %10, i64 16 store ptr %19, ptr %76, align 8, !tbaa !34 %77 = getelementptr inbounds i8, ptr %10, i64 8 store i64 0, ptr %77, align 8, !tbaa !35 %78 = tail call i32 @mxs_dcp_start_dma(ptr noundef nonnull %0) #2 br label %79 79: ; preds = %63, %38 %80 = phi i32 [ %42, %38 ], [ %78, %63 ] %81 = load i32, ptr %4, align 8, !tbaa !18 %82 = load i32, ptr @AES_KEYSIZE_128, align 4, !tbaa !20 %83 = shl nsw i32 %82, 1 %84 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !20 %85 = tail call i32 @dma_unmap_single(i32 noundef %81, ptr noundef %19, i32 noundef %83, i32 noundef %84) #2 %86 = load i32, ptr %4, align 8, !tbaa !18 %87 = load i32, ptr @DCP_BUF_SZ, align 4, !tbaa !20 %88 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !20 %89 = tail call i32 @dma_unmap_single(i32 noundef %86, ptr noundef %26, i32 noundef %87, i32 noundef %88) #2 %90 = load i32, ptr %4, align 8, !tbaa !18 %91 = load i32, ptr @DCP_BUF_SZ, align 4, !tbaa !20 %92 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !20 %93 = tail call i32 @dma_unmap_single(i32 noundef %90, ptr noundef %32, i32 noundef %91, i32 noundef %92) #2 ret i32 %80 } declare ptr @ablkcipher_request_ctx(ptr noundef) local_unnamed_addr #1 declare ptr @dma_map_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mxs_dcp_start_dma(ptr noundef) local_unnamed_addr #1 declare i32 @dma_unmap_single(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"dcp", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 16} !14 = !{!"TYPE_2__", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 16} !15 = !{!16, !17, i64 0} !16 = !{!"dcp_async_ctx", !17, i64 0, !12, i64 8} !17 = !{!"long", !8, i64 0} !18 = !{!11, !12, i64 0} !19 = !{!14, !12, i64 8} !20 = !{!12, !12, i64 0} !21 = !{!14, !12, i64 4} !22 = !{!14, !12, i64 0} !23 = !{!16, !12, i64 8} !24 = !{!25, !12, i64 0} !25 = !{!"dcp_dma_desc", !12, i64 0, !12, i64 4, !17, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !17, i64 40, !12, i64 48} !26 = !{!27, !17, i64 8} !27 = !{!"dcp_aes_req_ctx", !17, i64 0, !17, i64 8} !28 = !{!25, !12, i64 48} !29 = !{!27, !17, i64 0} !30 = !{!25, !17, i64 40} !31 = !{!25, !7, i64 32} !32 = !{!25, !7, i64 24} !33 = !{!25, !12, i64 4} !34 = !{!25, !7, i64 16} !35 = !{!25, !17, i64 8}
linux_drivers_crypto_extr_mxs-dcp.c_mxs_dcp_run_aes
; ModuleID = 'AnghaBench/linux/drivers/tty/hvc/extr_hvsi.c_print_state.c' source_filename = "AnghaBench/linux/drivers/tty/hvc/extr_hvsi.c_print_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @print_state], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @print_state(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/tty/hvc/extr_hvsi.c_print_state.c' source_filename = "AnghaBench/linux/drivers/tty/hvc/extr_hvsi.c_print_state.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 @print_state], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @print_state(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_tty_hvc_extr_hvsi.c_print_state
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-index.c_idx_set_readpos.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-index.c_idx_set_readpos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @idx_bytes = dso_local local_unnamed_addr global i64 0, align 8 @idx_fd = dso_local local_unnamed_addr global i32 0, align 4 @SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4 @idx_read_pos = dso_local local_unnamed_addr global i64 0, align 8 @idx_metafile_pos = dso_local local_unnamed_addr global i64 0, align 8 @read_crc32_acc = dso_local local_unnamed_addr global i32 0, align 4 @RBuff = dso_local local_unnamed_addr global i32 0, align 4 @idx_ptr_crc = dso_local local_unnamed_addr global i32 0, align 4 @idx_wptr = dso_local local_unnamed_addr global i32 0, align 4 @idx_rptr = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @idx_set_readpos(i64 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @idx_bytes, align 8, !tbaa !5 %3 = icmp sge i64 %2, %0 %4 = icmp sgt i64 %0, -1 %5 = and i1 %4, %3 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr @idx_fd, align 4, !tbaa !9 %9 = load i32, ptr @SEEK_SET, align 4, !tbaa !9 %10 = tail call i64 @lseek(i32 noundef %8, i64 noundef %0, i32 noundef %9) #2 %11 = icmp eq i64 %10, %0 %12 = zext i1 %11 to i32 %13 = tail call i32 @assert(i32 noundef %12) #2 store i64 %0, ptr @idx_read_pos, align 8, !tbaa !5 store i64 0, ptr @idx_metafile_pos, align 8, !tbaa !11 store i32 -1, ptr @read_crc32_acc, align 4, !tbaa !9 %14 = load i32, ptr @RBuff, align 4, !tbaa !9 store i32 %14, ptr @idx_ptr_crc, align 4, !tbaa !9 store i32 %14, ptr @idx_wptr, align 4, !tbaa !9 store i32 %14, ptr @idx_rptr, align 4, !tbaa !9 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i64 @lseek(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-index.c_idx_set_readpos.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-index.c_idx_set_readpos.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @idx_bytes = common local_unnamed_addr global i64 0, align 8 @idx_fd = common local_unnamed_addr global i32 0, align 4 @SEEK_SET = common local_unnamed_addr global i32 0, align 4 @idx_read_pos = common local_unnamed_addr global i64 0, align 8 @idx_metafile_pos = common local_unnamed_addr global i64 0, align 8 @read_crc32_acc = common local_unnamed_addr global i32 0, align 4 @RBuff = common local_unnamed_addr global i32 0, align 4 @idx_ptr_crc = common local_unnamed_addr global i32 0, align 4 @idx_wptr = common local_unnamed_addr global i32 0, align 4 @idx_rptr = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @idx_set_readpos(i64 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @idx_bytes, align 8, !tbaa !6 %3 = icmp sge i64 %2, %0 %4 = icmp sgt i64 %0, -1 %5 = and i1 %4, %3 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr @idx_fd, align 4, !tbaa !10 %9 = load i32, ptr @SEEK_SET, align 4, !tbaa !10 %10 = tail call i64 @lseek(i32 noundef %8, i64 noundef %0, i32 noundef %9) #2 %11 = icmp eq i64 %10, %0 %12 = zext i1 %11 to i32 %13 = tail call i32 @assert(i32 noundef %12) #2 store i64 %0, ptr @idx_read_pos, align 8, !tbaa !6 store i64 0, ptr @idx_metafile_pos, align 8, !tbaa !12 store i32 -1, ptr @read_crc32_acc, align 4, !tbaa !10 %14 = load i32, ptr @RBuff, align 4, !tbaa !10 store i32 %14, ptr @idx_ptr_crc, align 4, !tbaa !10 store i32 %14, ptr @idx_wptr, align 4, !tbaa !10 store i32 %14, ptr @idx_rptr, align 4, !tbaa !10 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i64 @lseek(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0}
kphp-kdb_targ_extr_targ-index.c_idx_set_readpos
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_bo.c_ttm_bo_global_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_bo.c_ttm_bo_global_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.ttm_bo_global = type { i32, i32, i32, ptr, ptr, ptr, i32 } %struct.TYPE_3__ = type { ptr } @ttm_bo_glob = dso_local global %struct.ttm_bo_global zeroinitializer, align 8 @ttm_global_mutex = dso_local global i32 0, align 4 @ttm_bo_glob_use_count = dso_local local_unnamed_addr global i32 0, align 4 @ttm_mem_glob = dso_local global %struct.TYPE_3__ zeroinitializer, align 8 @__GFP_ZERO = dso_local local_unnamed_addr global i32 0, align 4 @GFP_DMA32 = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @TTM_MAX_BO_PRIORITY = dso_local local_unnamed_addr global i32 0, align 4 @ttm_bo_glob_kobj_type = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"buffer_objects\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ttm_bo_global_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ttm_bo_global_init() #0 { %1 = tail call i32 @mutex_lock(ptr noundef nonnull @ttm_global_mutex) #2 %2 = load i32, ptr @ttm_bo_glob_use_count, align 4, !tbaa !5 %3 = add nsw i32 %2, 1 store i32 %3, ptr @ttm_bo_glob_use_count, align 4, !tbaa !5 %4 = icmp sgt i32 %2, 0 br i1 %4, label %44, label %5 5: ; preds = %0 %6 = tail call i32 @ttm_mem_global_init(ptr noundef nonnull @ttm_mem_glob) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %44 8: ; preds = %5 %9 = tail call i32 @spin_lock_init(ptr noundef nonnull getelementptr inbounds (%struct.ttm_bo_global, ptr @ttm_bo_glob, i64 0, i32 6)) #2 store ptr @ttm_mem_glob, ptr getelementptr inbounds (%struct.ttm_bo_global, ptr @ttm_bo_glob, i64 0, i32 5), align 8, !tbaa !9 store ptr @ttm_bo_glob, ptr @ttm_mem_glob, align 8, !tbaa !12 %10 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !5 %11 = load i32, ptr @GFP_DMA32, align 4, !tbaa !5 %12 = or i32 %11, %10 %13 = tail call ptr @alloc_page(i32 noundef %12) #2 store ptr %13, ptr getelementptr inbounds (%struct.ttm_bo_global, ptr @ttm_bo_glob, i64 0, i32 4), align 8, !tbaa !14 %14 = icmp eq ptr %13, null %15 = zext i1 %14 to i32 %16 = tail call i64 @unlikely(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %8 %19 = load i32, ptr @TTM_MAX_BO_PRIORITY, align 4, !tbaa !5 %20 = icmp eq i32 %19, 0 br i1 %20, label %33, label %24 21: ; preds = %8 %22 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %23 = sub nsw i32 0, %22 br label %44 24: ; preds = %18, %24 %25 = phi i64 [ %29, %24 ], [ 0, %18 ] %26 = load ptr, ptr getelementptr inbounds (%struct.ttm_bo_global, ptr @ttm_bo_glob, i64 0, i32 3), align 8, !tbaa !15 %27 = getelementptr inbounds i32, ptr %26, i64 %25 %28 = tail call i32 @INIT_LIST_HEAD(ptr noundef %27) #2 %29 = add nuw nsw i64 %25, 1 %30 = load i32, ptr @TTM_MAX_BO_PRIORITY, align 4, !tbaa !5 %31 = zext i32 %30 to i64 %32 = icmp ult i64 %29, %31 br i1 %32, label %24, label %33, !llvm.loop !16 33: ; preds = %24, %18 %34 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull getelementptr inbounds (%struct.ttm_bo_global, ptr @ttm_bo_glob, i64 0, i32 2)) #2 %35 = tail call i32 @atomic_set(ptr noundef nonnull getelementptr inbounds (%struct.ttm_bo_global, ptr @ttm_bo_glob, i64 0, i32 1), i32 noundef 0) #2 %36 = tail call i32 (...) @ttm_get_kobj() #2 %37 = tail call i32 @kobject_init_and_add(ptr noundef nonnull @ttm_bo_glob, ptr noundef nonnull @ttm_bo_glob_kobj_type, i32 noundef %36, ptr noundef nonnull @.str) #2 %38 = icmp ne i32 %37, 0 %39 = zext i1 %38 to i32 %40 = tail call i64 @unlikely(i32 noundef %39) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %44, label %42 42: ; preds = %33 %43 = tail call i32 @kobject_put(ptr noundef nonnull @ttm_bo_glob) #2 br label %44 44: ; preds = %33, %42, %5, %0, %21 %45 = phi i32 [ 0, %0 ], [ %6, %5 ], [ %23, %21 ], [ %37, %42 ], [ %37, %33 ] %46 = tail call i32 @mutex_unlock(ptr noundef nonnull @ttm_global_mutex) #2 ret i32 %45 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @ttm_mem_global_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare ptr @alloc_page(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kobject_init_and_add(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ttm_get_kobj(...) local_unnamed_addr #1 declare i32 @kobject_put(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 32} !10 = !{!"ttm_bo_global", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !6, i64 40} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0} !14 = !{!10, !11, i64 24} !15 = !{!10, !11, i64 16} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_bo.c_ttm_bo_global_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_bo.c_ttm_bo_global_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ttm_bo_global = type { i32, i32, i32, ptr, ptr, ptr, i32 } %struct.TYPE_3__ = type { ptr } @ttm_bo_glob = common global %struct.ttm_bo_global zeroinitializer, align 8 @ttm_global_mutex = common global i32 0, align 4 @ttm_bo_glob_use_count = common local_unnamed_addr global i32 0, align 4 @ttm_mem_glob = common global %struct.TYPE_3__ zeroinitializer, align 8 @__GFP_ZERO = common local_unnamed_addr global i32 0, align 4 @GFP_DMA32 = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @TTM_MAX_BO_PRIORITY = common local_unnamed_addr global i32 0, align 4 @ttm_bo_glob_kobj_type = common global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"buffer_objects\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ttm_bo_global_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ttm_bo_global_init() #0 { %1 = tail call i32 @mutex_lock(ptr noundef nonnull @ttm_global_mutex) #2 %2 = load i32, ptr @ttm_bo_glob_use_count, align 4, !tbaa !6 %3 = add nsw i32 %2, 1 store i32 %3, ptr @ttm_bo_glob_use_count, align 4, !tbaa !6 %4 = icmp sgt i32 %2, 0 br i1 %4, label %44, label %5 5: ; preds = %0 %6 = tail call i32 @ttm_mem_global_init(ptr noundef nonnull @ttm_mem_glob) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %44 8: ; preds = %5 %9 = tail call i32 @spin_lock_init(ptr noundef nonnull getelementptr inbounds (i8, ptr @ttm_bo_glob, i64 40)) #2 store ptr @ttm_mem_glob, ptr getelementptr inbounds (i8, ptr @ttm_bo_glob, i64 32), align 8, !tbaa !10 store ptr @ttm_bo_glob, ptr @ttm_mem_glob, align 8, !tbaa !13 %10 = load i32, ptr @__GFP_ZERO, align 4, !tbaa !6 %11 = load i32, ptr @GFP_DMA32, align 4, !tbaa !6 %12 = or i32 %11, %10 %13 = tail call ptr @alloc_page(i32 noundef %12) #2 store ptr %13, ptr getelementptr inbounds (i8, ptr @ttm_bo_glob, i64 24), align 8, !tbaa !15 %14 = icmp eq ptr %13, null %15 = zext i1 %14 to i32 %16 = tail call i64 @unlikely(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %8 %19 = load i32, ptr @TTM_MAX_BO_PRIORITY, align 4, !tbaa !6 %20 = icmp eq i32 %19, 0 br i1 %20, label %33, label %24 21: ; preds = %8 %22 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %23 = sub nsw i32 0, %22 br label %44 24: ; preds = %18, %24 %25 = phi i64 [ %29, %24 ], [ 0, %18 ] %26 = load ptr, ptr getelementptr inbounds (i8, ptr @ttm_bo_glob, i64 16), align 8, !tbaa !16 %27 = getelementptr inbounds i32, ptr %26, i64 %25 %28 = tail call i32 @INIT_LIST_HEAD(ptr noundef %27) #2 %29 = add nuw nsw i64 %25, 1 %30 = load i32, ptr @TTM_MAX_BO_PRIORITY, align 4, !tbaa !6 %31 = zext i32 %30 to i64 %32 = icmp ult i64 %29, %31 br i1 %32, label %24, label %33, !llvm.loop !17 33: ; preds = %24, %18 %34 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull getelementptr inbounds (i8, ptr @ttm_bo_glob, i64 8)) #2 %35 = tail call i32 @atomic_set(ptr noundef nonnull getelementptr inbounds (i8, ptr @ttm_bo_glob, i64 4), i32 noundef 0) #2 %36 = tail call i32 @ttm_get_kobj() #2 %37 = tail call i32 @kobject_init_and_add(ptr noundef nonnull @ttm_bo_glob, ptr noundef nonnull @ttm_bo_glob_kobj_type, i32 noundef %36, ptr noundef nonnull @.str) #2 %38 = icmp ne i32 %37, 0 %39 = zext i1 %38 to i32 %40 = tail call i64 @unlikely(i32 noundef %39) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %44, label %42 42: ; preds = %33 %43 = tail call i32 @kobject_put(ptr noundef nonnull @ttm_bo_glob) #2 br label %44 44: ; preds = %33, %42, %5, %0, %21 %45 = phi i32 [ 0, %0 ], [ %6, %5 ], [ %23, %21 ], [ %37, %42 ], [ %37, %33 ] %46 = tail call i32 @mutex_unlock(ptr noundef nonnull @ttm_global_mutex) #2 ret i32 %45 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @ttm_mem_global_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare ptr @alloc_page(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kobject_init_and_add(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ttm_get_kobj(...) local_unnamed_addr #1 declare i32 @kobject_put(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 32} !11 = !{!"ttm_bo_global", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !7, i64 40} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0} !15 = !{!11, !12, i64 24} !16 = !{!11, !12, i64 16} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_ttm_extr_ttm_bo.c_ttm_bo_global_init
; ModuleID = 'AnghaBench/linux/arch/mips/kernel/extr_......fsbinfmt_elf.c_load_elf_interp.c' source_filename = "AnghaBench/linux/arch/mips/kernel/extr_......fsbinfmt_elf.c_load_elf_interp.c" target datalayout = "e-m:e-p270:32:32-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.elfhdr = type { i64, i32 } %struct.elf_phdr = type { i64, i64, i64, i64, i32 } @ET_EXEC = dso_local local_unnamed_addr global i64 0, align 8 @ET_DYN = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i64 0, align 8 @PT_LOAD = dso_local local_unnamed_addr global i64 0, align 8 @MAP_PRIVATE = dso_local local_unnamed_addr global i32 0, align 4 @MAP_DENYWRITE = dso_local local_unnamed_addr global i32 0, align 4 @MAP_FIXED_NOREPLACE = dso_local local_unnamed_addr global i32 0, align 4 @TASK_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @ENOMEM = dso_local local_unnamed_addr global i64 0, align 8 @EFAULT = dso_local local_unnamed_addr global i64 0, align 8 @PROT_EXEC = dso_local local_unnamed_addr global i32 0, align 4 @VM_EXEC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @load_elf_interp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @load_elf_interp(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = load i64, ptr %0, align 8, !tbaa !5 %7 = load i64, ptr @ET_EXEC, align 8, !tbaa !11 %8 = icmp eq i64 %6, %7 %9 = load i64, ptr @ET_DYN, align 8 %10 = icmp eq i64 %6, %9 %11 = select i1 %8, i1 true, i1 %10 br i1 %11, label %12, label %160 12: ; preds = %5 %13 = tail call i32 @elf_check_arch(ptr noundef nonnull %0) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %160, label %15 15: ; preds = %12 %16 = tail call i64 @elf_check_fdpic(ptr noundef nonnull %0) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %160 18: ; preds = %15 %19 = load ptr, ptr %1, align 8, !tbaa !12 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = icmp eq i32 %20, 0 br i1 %21, label %160, label %22 22: ; preds = %18 %23 = getelementptr inbounds %struct.elfhdr, ptr %0, i64 0, i32 1 %24 = load i32, ptr %23, align 8, !tbaa !17 %25 = tail call i64 @total_mapping_size(ptr noundef %4, i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %33, label %27 27: ; preds = %22 %28 = load i32, ptr %23, align 8, !tbaa !17 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %136 30: ; preds = %27 %31 = icmp ne i64 %3, 0 %32 = load i64, ptr @PT_LOAD, align 8, !tbaa !11 br label %36 33: ; preds = %22 %34 = load i64, ptr @EINVAL, align 8, !tbaa !11 %35 = sub i64 0, %34 br label %160 36: ; preds = %30, %124 %37 = phi i32 [ %28, %30 ], [ %125, %124 ] %38 = phi i64 [ %32, %30 ], [ %126, %124 ] %39 = phi ptr [ %4, %30 ], [ %134, %124 ] %40 = phi i32 [ 0, %30 ], [ %133, %124 ] %41 = phi i64 [ %25, %30 ], [ %132, %124 ] %42 = phi i32 [ 0, %30 ], [ %131, %124 ] %43 = phi i64 [ 0, %30 ], [ %130, %124 ] %44 = phi i64 [ 0, %30 ], [ %129, %124 ] %45 = phi i32 [ 0, %30 ], [ %128, %124 ] %46 = phi i64 [ 0, %30 ], [ %127, %124 ] %47 = load i64, ptr %39, align 8, !tbaa !18 %48 = icmp eq i64 %47, %38 br i1 %48, label %49, label %124 49: ; preds = %36 %50 = load i32, ptr @MAP_PRIVATE, align 4, !tbaa !20 %51 = load i32, ptr @MAP_DENYWRITE, align 4, !tbaa !20 %52 = or i32 %51, %50 %53 = getelementptr inbounds %struct.elf_phdr, ptr %39, i64 0, i32 4 %54 = load i32, ptr %53, align 8, !tbaa !21 %55 = tail call i32 @make_prot(i32 noundef %54) #3 %56 = getelementptr inbounds %struct.elf_phdr, ptr %39, i64 0, i32 1 %57 = load i64, ptr %56, align 8, !tbaa !22 %58 = load i64, ptr %0, align 8, !tbaa !5 %59 = load i64, ptr @ET_EXEC, align 8, !tbaa !11 %60 = icmp eq i64 %58, %59 %61 = icmp ne i32 %45, 0 %62 = select i1 %60, i1 true, i1 %61 br i1 %62, label %63, label %66 63: ; preds = %49 %64 = load i32, ptr @MAP_FIXED_NOREPLACE, align 4, !tbaa !20 %65 = or i32 %64, %52 br label %72 66: ; preds = %49 %67 = load i64, ptr @ET_DYN, align 8 %68 = icmp eq i64 %58, %67 %69 = select i1 %31, i1 %68, i1 false %70 = sub i64 0, %57 %71 = select i1 %69, i64 %70, i64 %46 br label %72 72: ; preds = %66, %63 %73 = phi i64 [ %46, %63 ], [ %71, %66 ] %74 = phi i32 [ %65, %63 ], [ %52, %66 ] %75 = add i64 %73, %57 %76 = tail call i64 @elf_map(ptr noundef nonnull %1, i64 noundef %75, ptr noundef nonnull %39, i32 noundef %55, i32 noundef %74, i64 noundef %41) #3 %77 = load i64, ptr %2, align 8, !tbaa !11 %78 = icmp eq i64 %77, 0 br i1 %78, label %79, label %80 79: ; preds = %72 store i64 %76, ptr %2, align 8, !tbaa !11 br label %80 80: ; preds = %79, %72 %81 = tail call i64 @BAD_ADDR(i64 noundef %76) #3 %82 = icmp eq i64 %81, 0 br i1 %82, label %83, label %160 83: ; preds = %80 br i1 %61, label %91, label %84 84: ; preds = %83 %85 = load i64, ptr %0, align 8, !tbaa !5 %86 = load i64, ptr @ET_DYN, align 8, !tbaa !11 %87 = icmp eq i64 %85, %86 br i1 %87, label %88, label %91 88: ; preds = %84 %89 = tail call i64 @ELF_PAGESTART(i64 noundef %57) #3 %90 = sub i64 %76, %89 br label %91 91: ; preds = %88, %84, %83 %92 = phi i64 [ %73, %83 ], [ %90, %88 ], [ %73, %84 ] %93 = phi i32 [ 1, %83 ], [ 1, %88 ], [ 0, %84 ] %94 = load i64, ptr %56, align 8, !tbaa !22 %95 = add i64 %94, %92 %96 = tail call i64 @BAD_ADDR(i64 noundef %95) #3 %97 = icmp eq i64 %96, 0 %98 = load i64, ptr @PT_LOAD, align 8, !tbaa !11 br i1 %97, label %99, label %111 99: ; preds = %91 %100 = getelementptr inbounds %struct.elf_phdr, ptr %39, i64 0, i32 2 %101 = load i64, ptr %100, align 8, !tbaa !23 %102 = getelementptr inbounds %struct.elf_phdr, ptr %39, i64 0, i32 3 %103 = load i64, ptr %102, align 8, !tbaa !24 %104 = icmp ugt i64 %101, %103 br i1 %104, label %111, label %105 105: ; preds = %99 %106 = load i64, ptr @TASK_SIZE, align 8, !tbaa !11 %107 = icmp ugt i64 %103, %106 %108 = sub i64 %106, %103 %109 = icmp ult i64 %108, %95 %110 = or i1 %107, %109 br i1 %110, label %111, label %114 111: ; preds = %105, %99, %91 %112 = load i64, ptr @ENOMEM, align 8, !tbaa !11 %113 = sub i64 0, %112 br label %160 114: ; preds = %105 %115 = load i64, ptr %56, align 8, !tbaa !22 %116 = add i64 %115, %92 %117 = add i64 %116, %101 %118 = tail call i64 @llvm.umax.i64(i64 %117, i64 %43) %119 = add i64 %116, %103 %120 = icmp ugt i64 %119, %44 %121 = tail call i64 @llvm.umax.i64(i64 %119, i64 %44) %122 = select i1 %120, i32 %55, i32 %42 %123 = load i32, ptr %23, align 8, !tbaa !17 br label %124 124: ; preds = %114, %36 %125 = phi i32 [ %123, %114 ], [ %37, %36 ] %126 = phi i64 [ %98, %114 ], [ %38, %36 ] %127 = phi i64 [ %92, %114 ], [ %46, %36 ] %128 = phi i32 [ %93, %114 ], [ %45, %36 ] %129 = phi i64 [ %121, %114 ], [ %44, %36 ] %130 = phi i64 [ %118, %114 ], [ %43, %36 ] %131 = phi i32 [ %122, %114 ], [ %42, %36 ] %132 = phi i64 [ 0, %114 ], [ %41, %36 ] %133 = add nuw nsw i32 %40, 1 %134 = getelementptr inbounds %struct.elf_phdr, ptr %39, i64 1 %135 = icmp slt i32 %133, %125 br i1 %135, label %36, label %136, !llvm.loop !25 136: ; preds = %124, %27 %137 = phi i64 [ 0, %27 ], [ %127, %124 ] %138 = phi i64 [ 0, %27 ], [ %129, %124 ] %139 = phi i64 [ 0, %27 ], [ %130, %124 ] %140 = phi i32 [ 0, %27 ], [ %131, %124 ] %141 = tail call i64 @padzero(i64 noundef %139) #3 %142 = icmp eq i64 %141, 0 br i1 %142, label %146, label %143 143: ; preds = %136 %144 = load i64, ptr @EFAULT, align 8, !tbaa !11 %145 = sub i64 0, %144 br label %160 146: ; preds = %136 %147 = tail call i64 @ELF_PAGEALIGN(i64 noundef %139) #3 %148 = tail call i64 @ELF_PAGEALIGN(i64 noundef %138) #3 %149 = icmp ugt i64 %148, %147 br i1 %149, label %150, label %159 150: ; preds = %146 %151 = sub i64 %148, %147 %152 = load i32, ptr @PROT_EXEC, align 4, !tbaa !20 %153 = and i32 %152, %140 %154 = icmp eq i32 %153, 0 %155 = load i32, ptr @VM_EXEC, align 4 %156 = select i1 %154, i32 0, i32 %155 %157 = tail call i64 @vm_brk_flags(i64 noundef %147, i64 noundef %151, i32 noundef %156) #3 %158 = icmp eq i64 %157, 0 br i1 %158, label %159, label %160 159: ; preds = %150, %146 br label %160 160: ; preds = %80, %111, %33, %143, %159, %15, %12, %18, %150, %5 %161 = phi i64 [ -1, %15 ], [ %145, %143 ], [ %157, %150 ], [ %137, %159 ], [ %35, %33 ], [ -1, %18 ], [ -1, %12 ], [ -1, %5 ], [ %113, %111 ], [ %76, %80 ] ret i64 %161 } declare i32 @elf_check_arch(ptr noundef) local_unnamed_addr #1 declare i64 @elf_check_fdpic(ptr noundef) local_unnamed_addr #1 declare i64 @total_mapping_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @make_prot(i32 noundef) local_unnamed_addr #1 declare i64 @elf_map(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @BAD_ADDR(i64 noundef) local_unnamed_addr #1 declare i64 @ELF_PAGESTART(i64 noundef) local_unnamed_addr #1 declare i64 @padzero(i64 noundef) local_unnamed_addr #1 declare i64 @ELF_PAGEALIGN(i64 noundef) local_unnamed_addr #1 declare i64 @vm_brk_flags(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"elfhdr", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"file", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_2__", !10, i64 0} !17 = !{!6, !10, i64 8} !18 = !{!19, !7, i64 0} !19 = !{!"elf_phdr", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32} !20 = !{!10, !10, i64 0} !21 = !{!19, !10, i64 32} !22 = !{!19, !7, i64 8} !23 = !{!19, !7, i64 16} !24 = !{!19, !7, i64 24} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/arch/mips/kernel/extr_......fsbinfmt_elf.c_load_elf_interp.c' source_filename = "AnghaBench/linux/arch/mips/kernel/extr_......fsbinfmt_elf.c_load_elf_interp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ET_EXEC = common local_unnamed_addr global i64 0, align 8 @ET_DYN = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i64 0, align 8 @PT_LOAD = common local_unnamed_addr global i64 0, align 8 @MAP_PRIVATE = common local_unnamed_addr global i32 0, align 4 @MAP_DENYWRITE = common local_unnamed_addr global i32 0, align 4 @MAP_FIXED_NOREPLACE = common local_unnamed_addr global i32 0, align 4 @TASK_SIZE = common local_unnamed_addr global i64 0, align 8 @ENOMEM = common local_unnamed_addr global i64 0, align 8 @EFAULT = common local_unnamed_addr global i64 0, align 8 @PROT_EXEC = common local_unnamed_addr global i32 0, align 4 @VM_EXEC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @load_elf_interp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @load_elf_interp(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = load i64, ptr %0, align 8, !tbaa !6 %7 = load i64, ptr @ET_EXEC, align 8, !tbaa !12 %8 = icmp eq i64 %6, %7 %9 = load i64, ptr @ET_DYN, align 8 %10 = icmp eq i64 %6, %9 %11 = select i1 %8, i1 true, i1 %10 br i1 %11, label %12, label %160 12: ; preds = %5 %13 = tail call i32 @elf_check_arch(ptr noundef nonnull %0) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %160, label %15 15: ; preds = %12 %16 = tail call i64 @elf_check_fdpic(ptr noundef nonnull %0) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %160 18: ; preds = %15 %19 = load ptr, ptr %1, align 8, !tbaa !13 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = icmp eq i32 %20, 0 br i1 %21, label %160, label %22 22: ; preds = %18 %23 = getelementptr inbounds i8, ptr %0, i64 8 %24 = load i32, ptr %23, align 8, !tbaa !18 %25 = tail call i64 @total_mapping_size(ptr noundef %4, i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %33, label %27 27: ; preds = %22 %28 = load i32, ptr %23, align 8, !tbaa !18 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %136 30: ; preds = %27 %31 = icmp ne i64 %3, 0 %32 = load i64, ptr @PT_LOAD, align 8, !tbaa !12 br label %36 33: ; preds = %22 %34 = load i64, ptr @EINVAL, align 8, !tbaa !12 %35 = sub i64 0, %34 br label %160 36: ; preds = %30, %124 %37 = phi i32 [ %28, %30 ], [ %125, %124 ] %38 = phi i64 [ %32, %30 ], [ %126, %124 ] %39 = phi ptr [ %4, %30 ], [ %134, %124 ] %40 = phi i32 [ 0, %30 ], [ %133, %124 ] %41 = phi i64 [ %25, %30 ], [ %132, %124 ] %42 = phi i32 [ 0, %30 ], [ %131, %124 ] %43 = phi i64 [ 0, %30 ], [ %130, %124 ] %44 = phi i64 [ 0, %30 ], [ %129, %124 ] %45 = phi i32 [ 0, %30 ], [ %128, %124 ] %46 = phi i64 [ 0, %30 ], [ %127, %124 ] %47 = load i64, ptr %39, align 8, !tbaa !19 %48 = icmp eq i64 %47, %38 br i1 %48, label %49, label %124 49: ; preds = %36 %50 = load i32, ptr @MAP_PRIVATE, align 4, !tbaa !21 %51 = load i32, ptr @MAP_DENYWRITE, align 4, !tbaa !21 %52 = or i32 %51, %50 %53 = getelementptr inbounds i8, ptr %39, i64 32 %54 = load i32, ptr %53, align 8, !tbaa !22 %55 = tail call i32 @make_prot(i32 noundef %54) #3 %56 = getelementptr inbounds i8, ptr %39, i64 8 %57 = load i64, ptr %56, align 8, !tbaa !23 %58 = load i64, ptr %0, align 8, !tbaa !6 %59 = load i64, ptr @ET_EXEC, align 8, !tbaa !12 %60 = icmp eq i64 %58, %59 %61 = icmp ne i32 %45, 0 %62 = select i1 %60, i1 true, i1 %61 br i1 %62, label %63, label %66 63: ; preds = %49 %64 = load i32, ptr @MAP_FIXED_NOREPLACE, align 4, !tbaa !21 %65 = or i32 %64, %52 br label %72 66: ; preds = %49 %67 = load i64, ptr @ET_DYN, align 8 %68 = icmp eq i64 %58, %67 %69 = select i1 %31, i1 %68, i1 false %70 = sub i64 0, %57 %71 = select i1 %69, i64 %70, i64 %46 br label %72 72: ; preds = %66, %63 %73 = phi i64 [ %46, %63 ], [ %71, %66 ] %74 = phi i32 [ %65, %63 ], [ %52, %66 ] %75 = add i64 %73, %57 %76 = tail call i64 @elf_map(ptr noundef nonnull %1, i64 noundef %75, ptr noundef nonnull %39, i32 noundef %55, i32 noundef %74, i64 noundef %41) #3 %77 = load i64, ptr %2, align 8, !tbaa !12 %78 = icmp eq i64 %77, 0 br i1 %78, label %79, label %80 79: ; preds = %72 store i64 %76, ptr %2, align 8, !tbaa !12 br label %80 80: ; preds = %79, %72 %81 = tail call i64 @BAD_ADDR(i64 noundef %76) #3 %82 = icmp eq i64 %81, 0 br i1 %82, label %83, label %160 83: ; preds = %80 br i1 %61, label %91, label %84 84: ; preds = %83 %85 = load i64, ptr %0, align 8, !tbaa !6 %86 = load i64, ptr @ET_DYN, align 8, !tbaa !12 %87 = icmp eq i64 %85, %86 br i1 %87, label %88, label %91 88: ; preds = %84 %89 = tail call i64 @ELF_PAGESTART(i64 noundef %57) #3 %90 = sub i64 %76, %89 br label %91 91: ; preds = %88, %84, %83 %92 = phi i64 [ %73, %83 ], [ %90, %88 ], [ %73, %84 ] %93 = phi i32 [ 1, %83 ], [ 1, %88 ], [ 0, %84 ] %94 = load i64, ptr %56, align 8, !tbaa !23 %95 = add i64 %94, %92 %96 = tail call i64 @BAD_ADDR(i64 noundef %95) #3 %97 = icmp eq i64 %96, 0 %98 = load i64, ptr @PT_LOAD, align 8, !tbaa !12 br i1 %97, label %99, label %111 99: ; preds = %91 %100 = getelementptr inbounds i8, ptr %39, i64 16 %101 = load i64, ptr %100, align 8, !tbaa !24 %102 = getelementptr inbounds i8, ptr %39, i64 24 %103 = load i64, ptr %102, align 8, !tbaa !25 %104 = icmp ugt i64 %101, %103 br i1 %104, label %111, label %105 105: ; preds = %99 %106 = load i64, ptr @TASK_SIZE, align 8, !tbaa !12 %107 = icmp ugt i64 %103, %106 %108 = sub i64 %106, %103 %109 = icmp ult i64 %108, %95 %110 = or i1 %107, %109 br i1 %110, label %111, label %114 111: ; preds = %105, %99, %91 %112 = load i64, ptr @ENOMEM, align 8, !tbaa !12 %113 = sub i64 0, %112 br label %160 114: ; preds = %105 %115 = load i64, ptr %56, align 8, !tbaa !23 %116 = add i64 %115, %92 %117 = add i64 %116, %101 %118 = tail call i64 @llvm.umax.i64(i64 %117, i64 %43) %119 = add i64 %116, %103 %120 = icmp ugt i64 %119, %44 %121 = tail call i64 @llvm.umax.i64(i64 %119, i64 %44) %122 = select i1 %120, i32 %55, i32 %42 %123 = load i32, ptr %23, align 8, !tbaa !18 br label %124 124: ; preds = %114, %36 %125 = phi i32 [ %123, %114 ], [ %37, %36 ] %126 = phi i64 [ %98, %114 ], [ %38, %36 ] %127 = phi i64 [ %92, %114 ], [ %46, %36 ] %128 = phi i32 [ %93, %114 ], [ %45, %36 ] %129 = phi i64 [ %121, %114 ], [ %44, %36 ] %130 = phi i64 [ %118, %114 ], [ %43, %36 ] %131 = phi i32 [ %122, %114 ], [ %42, %36 ] %132 = phi i64 [ 0, %114 ], [ %41, %36 ] %133 = add nuw nsw i32 %40, 1 %134 = getelementptr inbounds i8, ptr %39, i64 40 %135 = icmp slt i32 %133, %125 br i1 %135, label %36, label %136, !llvm.loop !26 136: ; preds = %124, %27 %137 = phi i64 [ 0, %27 ], [ %127, %124 ] %138 = phi i64 [ 0, %27 ], [ %129, %124 ] %139 = phi i64 [ 0, %27 ], [ %130, %124 ] %140 = phi i32 [ 0, %27 ], [ %131, %124 ] %141 = tail call i64 @padzero(i64 noundef %139) #3 %142 = icmp eq i64 %141, 0 br i1 %142, label %146, label %143 143: ; preds = %136 %144 = load i64, ptr @EFAULT, align 8, !tbaa !12 %145 = sub i64 0, %144 br label %160 146: ; preds = %136 %147 = tail call i64 @ELF_PAGEALIGN(i64 noundef %139) #3 %148 = tail call i64 @ELF_PAGEALIGN(i64 noundef %138) #3 %149 = icmp ugt i64 %148, %147 br i1 %149, label %150, label %159 150: ; preds = %146 %151 = sub i64 %148, %147 %152 = load i32, ptr @PROT_EXEC, align 4, !tbaa !21 %153 = and i32 %152, %140 %154 = icmp eq i32 %153, 0 %155 = load i32, ptr @VM_EXEC, align 4 %156 = select i1 %154, i32 0, i32 %155 %157 = tail call i64 @vm_brk_flags(i64 noundef %147, i64 noundef %151, i32 noundef %156) #3 %158 = icmp eq i64 %157, 0 br i1 %158, label %159, label %160 159: ; preds = %150, %146 br label %160 160: ; preds = %80, %111, %33, %143, %159, %15, %12, %18, %150, %5 %161 = phi i64 [ -1, %15 ], [ %145, %143 ], [ %157, %150 ], [ %137, %159 ], [ %35, %33 ], [ -1, %18 ], [ -1, %12 ], [ -1, %5 ], [ %113, %111 ], [ %76, %80 ] ret i64 %161 } declare i32 @elf_check_arch(ptr noundef) local_unnamed_addr #1 declare i64 @elf_check_fdpic(ptr noundef) local_unnamed_addr #1 declare i64 @total_mapping_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @make_prot(i32 noundef) local_unnamed_addr #1 declare i64 @elf_map(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @BAD_ADDR(i64 noundef) local_unnamed_addr #1 declare i64 @ELF_PAGESTART(i64 noundef) local_unnamed_addr #1 declare i64 @padzero(i64 noundef) local_unnamed_addr #1 declare i64 @ELF_PAGEALIGN(i64 noundef) local_unnamed_addr #1 declare i64 @vm_brk_flags(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"elfhdr", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"file", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_2__", !11, i64 0} !18 = !{!7, !11, i64 8} !19 = !{!20, !8, i64 0} !20 = !{!"elf_phdr", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32} !21 = !{!11, !11, i64 0} !22 = !{!20, !11, i64 32} !23 = !{!20, !8, i64 8} !24 = !{!20, !8, i64 16} !25 = !{!20, !8, i64 24} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
linux_arch_mips_kernel_extr_......fsbinfmt_elf.c_load_elf_interp
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_rule.c_dr_rule_skip.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_rule.c_dr_rule_skip.c" target datalayout = "e-m:e-p270:32:32-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.mlx5dr_match_param = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32 } %struct.TYPE_3__ = type { i32 } @MLX5DR_DOMAIN_TYPE_FDB = dso_local local_unnamed_addr global i32 0, align 4 @MLX5DR_STE_TYPE_RX = dso_local local_unnamed_addr global i32 0, align 4 @WIRE_PORT = dso_local local_unnamed_addr global i32 0, align 4 @MLX5DR_STE_TYPE_TX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dr_rule_skip], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal noundef i32 @dr_rule_skip(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 { %5 = load i32, ptr @MLX5DR_DOMAIN_TYPE_FDB, align 4, !tbaa !5 %6 = icmp eq i32 %5, %0 br i1 %6, label %7, label %47 7: ; preds = %4 %8 = getelementptr inbounds %struct.mlx5dr_match_param, ptr %2, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !9 %10 = icmp eq i32 %9, 0 br i1 %10, label %27, label %11 11: ; preds = %7 %12 = load i32, ptr @MLX5DR_STE_TYPE_RX, align 4, !tbaa !5 %13 = icmp eq i32 %12, %1 br i1 %13, label %14, label %19 14: ; preds = %11 %15 = getelementptr inbounds %struct.mlx5dr_match_param, ptr %3, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !9 %17 = load i32, ptr @WIRE_PORT, align 4, !tbaa !5 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %47 19: ; preds = %14, %11 %20 = load i32, ptr @MLX5DR_STE_TYPE_TX, align 4, !tbaa !5 %21 = icmp eq i32 %20, %1 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = getelementptr inbounds %struct.mlx5dr_match_param, ptr %3, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !9 %25 = load i32, ptr @WIRE_PORT, align 4, !tbaa !5 %26 = icmp eq i32 %24, %25 br i1 %26, label %47, label %27 27: ; preds = %19, %22, %7 %28 = load i32, ptr %2, align 4, !tbaa !13 %29 = icmp eq i32 %28, 0 br i1 %29, label %46, label %30 30: ; preds = %27 %31 = load i32, ptr @MLX5DR_STE_TYPE_RX, align 4, !tbaa !5 %32 = icmp eq i32 %31, %1 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load i32, ptr %3, align 4, !tbaa !13 %35 = load i32, ptr @WIRE_PORT, align 4, !tbaa !5 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, %35 br i1 %37, label %38, label %47 38: ; preds = %33, %30 %39 = load i32, ptr @MLX5DR_STE_TYPE_TX, align 4, !tbaa !5 %40 = icmp eq i32 %39, %1 br i1 %40, label %41, label %46 41: ; preds = %38 %42 = load i32, ptr %3, align 4, !tbaa !13 %43 = load i32, ptr @WIRE_PORT, align 4, !tbaa !5 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, %43 br i1 %45, label %47, label %46 46: ; preds = %38, %41, %27 br label %47 47: ; preds = %41, %33, %22, %14, %4, %46 %48 = phi i32 [ 0, %46 ], [ 0, %4 ], [ 1, %14 ], [ 1, %22 ], [ 1, %33 ], [ 1, %41 ] ret i32 %48 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"mlx5dr_match_param", !11, i64 0, !12, i64 4} !11 = !{!"TYPE_4__", !6, i64 0} !12 = !{!"TYPE_3__", !6, i64 0} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_rule.c_dr_rule_skip.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_rule.c_dr_rule_skip.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX5DR_DOMAIN_TYPE_FDB = common local_unnamed_addr global i32 0, align 4 @MLX5DR_STE_TYPE_RX = common local_unnamed_addr global i32 0, align 4 @WIRE_PORT = common local_unnamed_addr global i32 0, align 4 @MLX5DR_STE_TYPE_TX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dr_rule_skip], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @dr_rule_skip(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #0 { %5 = load i32, ptr @MLX5DR_DOMAIN_TYPE_FDB, align 4, !tbaa !6 %6 = icmp eq i32 %5, %0 br i1 %6, label %7, label %47 7: ; preds = %4 %8 = getelementptr inbounds i8, ptr %2, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = icmp eq i32 %9, 0 br i1 %10, label %27, label %11 11: ; preds = %7 %12 = load i32, ptr @MLX5DR_STE_TYPE_RX, align 4, !tbaa !6 %13 = icmp eq i32 %12, %1 br i1 %13, label %14, label %19 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %3, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !10 %17 = load i32, ptr @WIRE_PORT, align 4, !tbaa !6 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %47 19: ; preds = %14, %11 %20 = load i32, ptr @MLX5DR_STE_TYPE_TX, align 4, !tbaa !6 %21 = icmp eq i32 %20, %1 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = getelementptr inbounds i8, ptr %3, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !10 %25 = load i32, ptr @WIRE_PORT, align 4, !tbaa !6 %26 = icmp eq i32 %24, %25 br i1 %26, label %47, label %27 27: ; preds = %19, %22, %7 %28 = load i32, ptr %2, align 4, !tbaa !14 %29 = icmp eq i32 %28, 0 br i1 %29, label %46, label %30 30: ; preds = %27 %31 = load i32, ptr @MLX5DR_STE_TYPE_RX, align 4, !tbaa !6 %32 = icmp eq i32 %31, %1 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load i32, ptr %3, align 4, !tbaa !14 %35 = load i32, ptr @WIRE_PORT, align 4, !tbaa !6 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, %35 br i1 %37, label %38, label %47 38: ; preds = %33, %30 %39 = load i32, ptr @MLX5DR_STE_TYPE_TX, align 4, !tbaa !6 %40 = icmp eq i32 %39, %1 br i1 %40, label %41, label %46 41: ; preds = %38 %42 = load i32, ptr %3, align 4, !tbaa !14 %43 = load i32, ptr @WIRE_PORT, align 4, !tbaa !6 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, %43 br i1 %45, label %47, label %46 46: ; preds = %38, %41, %27 br label %47 47: ; preds = %41, %33, %22, %14, %4, %46 %48 = phi i32 [ 0, %46 ], [ 0, %4 ], [ 1, %14 ], [ 1, %22 ], [ 1, %33 ], [ 1, %41 ] ret i32 %48 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"mlx5dr_match_param", !12, i64 0, !13, i64 4} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0} !14 = !{!11, !7, i64 0}
linux_drivers_net_ethernet_mellanox_mlx5_core_steering_extr_dr_rule.c_dr_rule_skip
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_asm.c_asm_lref.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_asm.c_asm_lref.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RSET_GPR = dso_local local_unnamed_addr global i32 0, align 4 @ASMREF_L = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @asm_lref], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @asm_lref(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @RSET_GPR, align 4, !tbaa !5 %4 = tail call i32 @ra_dest(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %5 = load i32, ptr @ASMREF_L, align 4, !tbaa !5 %6 = tail call i32 @ra_leftov(ptr noundef %0, i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @ra_dest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ra_leftov(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_asm.c_asm_lref.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_asm.c_asm_lref.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RSET_GPR = common local_unnamed_addr global i32 0, align 4 @ASMREF_L = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @asm_lref], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @asm_lref(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @RSET_GPR, align 4, !tbaa !6 %4 = tail call i32 @ra_dest(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %5 = load i32, ptr @ASMREF_L, align 4, !tbaa !6 %6 = tail call i32 @ra_leftov(ptr noundef %0, i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @ra_dest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ra_leftov(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"}
xLua_build_luajit-2.1.0b3_src_extr_lj_asm.c_asm_lref
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_full_fsync.c' source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_full_fsync.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @OS_VXWORKS = dso_local local_unnamed_addr global i64 0, align 8 @ENOTSUP = dso_local local_unnamed_addr global i64 0, align 8 @F_FULLFSYNC = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i64 0, align 8 @sqlite3_fullsync_count = dso_local local_unnamed_addr global i32 0, align 4 @sqlite3_sync_count = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @full_fsync], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @full_fsync(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @UNUSED_PARAMETER(i32 noundef %1) #2 %5 = tail call i32 @UNUSED_PARAMETER(i32 noundef %2) #2 %6 = tail call i32 @fdatasync(i32 noundef %0) #2 %7 = load i64, ptr @OS_VXWORKS, align 8, !tbaa !5 %8 = icmp ne i64 %7, 0 %9 = icmp ne i32 %6, -1 %10 = select i1 %8, i1 %9, i1 false %11 = select i1 %10, i32 0, i32 %6 ret i32 %11 } declare i32 @UNUSED_PARAMETER(i32 noundef) local_unnamed_addr #1 declare i32 @fdatasync(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_full_fsync.c' source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_full_fsync.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OS_VXWORKS = common local_unnamed_addr global i64 0, align 8 @ENOTSUP = common local_unnamed_addr global i64 0, align 8 @F_FULLFSYNC = common local_unnamed_addr global i32 0, align 4 @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i64 0, align 8 @sqlite3_fullsync_count = common local_unnamed_addr global i32 0, align 4 @sqlite3_sync_count = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @full_fsync], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @full_fsync(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @UNUSED_PARAMETER(i32 noundef %1) #2 %5 = tail call i32 @UNUSED_PARAMETER(i32 noundef %2) #2 %6 = tail call i32 @fsync(i32 noundef %0) #2 %7 = load i64, ptr @OS_VXWORKS, align 8, !tbaa !6 %8 = icmp ne i64 %7, 0 %9 = icmp ne i32 %6, -1 %10 = select i1 %8, i1 %9, i1 false %11 = select i1 %10, i32 0, i32 %6 ret i32 %11 } declare i32 @UNUSED_PARAMETER(i32 noundef) local_unnamed_addr #1 declare i32 @fsync(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"}
Craft_deps_sqlite_extr_sqlite3.c_full_fsync
; ModuleID = 'AnghaBench/ish/fs/extr_adhoc.c_adhoc_fsetattr.c' source_filename = "AnghaBench/ish/fs/extr_adhoc.c_adhoc_fsetattr.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.fd = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32 } @S_IFMT = dso_local local_unnamed_addr global i32 0, align 4 @_EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (i32 (%struct.fd*, i64, i64)* @adhoc_fsetattr to i8*)], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind uwtable willreturn define internal i32 @adhoc_fsetattr(%struct.fd* nocapture noundef %0, i64 %1, i64 %2) #0 { %4 = trunc i64 %1 to i32 switch i32 %4, label %24 [ i32 128, label %5 i32 131, label %9 i32 130, label %12 i32 129, label %22 ] 5: ; preds = %3 %6 = lshr i64 %2, 32 %7 = trunc i64 %6 to i32 %8 = getelementptr inbounds %struct.fd, %struct.fd* %0, i64 0, i32 0, i32 2 store i32 %7, i32* %8, align 4, !tbaa !5 br label %24 9: ; preds = %3 %10 = trunc i64 %2 to i32 %11 = getelementptr inbounds %struct.fd, %struct.fd* %0, i64 0, i32 0, i32 1 store i32 %10, i32* %11, align 4, !tbaa !11 br label %24 12: ; preds = %3 %13 = lshr i64 %1, 32 %14 = trunc i64 %13 to i32 %15 = getelementptr inbounds %struct.fd, %struct.fd* %0, i64 0, i32 0, i32 0 %16 = load i32, i32* %15, align 4, !tbaa !12 %17 = load i32, i32* @S_IFMT, align 4, !tbaa !13 %18 = and i32 %17, %16 %19 = xor i32 %17, -1 %20 = and i32 %19, %14 %21 = or i32 %18, %20 store i32 %21, i32* %15, align 4, !tbaa !12 br label %24 22: ; preds = %3 %23 = load i32, i32* @_EINVAL, align 4, !tbaa !13 br label %24 24: ; preds = %5, %9, %12, %3, %22 %25 = phi i32 [ %23, %22 ], [ 0, %3 ], [ 0, %12 ], [ 0, %9 ], [ 0, %5 ] ret i32 %25 } attributes #0 = { mustprogress nofree norecurse nosync nounwind uwtable willreturn "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" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !8, i64 8} !6 = !{!"fd", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!6, !8, i64 4} !12 = !{!6, !8, i64 0} !13 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/ish/fs/extr_adhoc.c_adhoc_fsetattr.c' source_filename = "AnghaBench/ish/fs/extr_adhoc.c_adhoc_fsetattr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S_IFMT = common local_unnamed_addr global i32 0, align 4 @_EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @adhoc_fsetattr], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @adhoc_fsetattr(ptr nocapture noundef %0, [2 x i64] %1) #0 { %3 = extractvalue [2 x i64] %1, 0 %4 = trunc i64 %3 to i32 %5 = extractvalue [2 x i64] %1, 1 switch i32 %4, label %24 [ i32 128, label %6 i32 131, label %10 i32 130, label %13 i32 129, label %22 ] 6: ; preds = %2 %7 = lshr i64 %5, 32 %8 = trunc nuw i64 %7 to i32 %9 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %8, ptr %9, align 4, !tbaa !6 br label %24 10: ; preds = %2 %11 = trunc i64 %5 to i32 %12 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %11, ptr %12, align 4, !tbaa !12 br label %24 13: ; preds = %2 %14 = lshr i64 %3, 32 %15 = trunc nuw i64 %14 to i32 %16 = load i32, ptr %0, align 4, !tbaa !13 %17 = load i32, ptr @S_IFMT, align 4, !tbaa !14 %18 = and i32 %17, %16 %19 = xor i32 %17, -1 %20 = and i32 %19, %15 %21 = or i32 %18, %20 store i32 %21, ptr %0, align 4, !tbaa !13 br label %24 22: ; preds = %2 %23 = load i32, ptr @_EINVAL, align 4, !tbaa !14 br label %24 24: ; preds = %6, %10, %13, %2, %22 %25 = phi i32 [ %23, %22 ], [ 0, %2 ], [ 0, %13 ], [ 0, %10 ], [ 0, %6 ] ret i32 %25 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 8} !7 = !{!"fd", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4, !9, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!7, !9, i64 4} !13 = !{!7, !9, i64 0} !14 = !{!9, !9, i64 0}
ish_fs_extr_adhoc.c_adhoc_fsetattr
; ModuleID = 'AnghaBench/sway/sway/tree/extr_container.c_container_at_tabbed.c' source_filename = "AnghaBench/sway/sway/tree/extr_container.c_container_at_tabbed.c" target datalayout = "e-m:e-p270:32:32-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.wlr_box = type { double, double, i32, double } %struct.TYPE_3__ = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @container_at_tabbed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @container_at_tabbed(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca %struct.wlr_box, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3 %8 = call i32 @node_get_box(ptr noundef %0, ptr noundef nonnull %7) #3 %9 = load double, ptr %7, align 8, !tbaa !5 %10 = fcmp ogt double %9, %2 br i1 %10, label %51, label %11 11: ; preds = %6 %12 = getelementptr inbounds %struct.wlr_box, ptr %7, i64 0, i32 1 %13 = load double, ptr %12, align 8, !tbaa !11 %14 = fadd double %9, %13 %15 = fcmp olt double %14, %2 br i1 %15, label %51, label %16 16: ; preds = %11 %17 = call ptr (...) @input_manager_current_seat() #3 %18 = call ptr @node_get_children(ptr noundef %0) #3 %19 = load i32, ptr %18, align 8, !tbaa !12 %20 = icmp eq i32 %19, 0 br i1 %20, label %51, label %21 21: ; preds = %16 %22 = call i32 (...) @container_titlebar_height() #3 %23 = load double, ptr %7, align 8, !tbaa !5 %24 = sitofp i32 %22 to double %25 = fadd double %23, %24 %26 = fcmp ogt double %25, %2 br i1 %26, label %27, label %46 27: ; preds = %21 %28 = getelementptr inbounds %struct.wlr_box, ptr %7, i64 0, i32 2 %29 = load i32, ptr %28, align 8, !tbaa !15 %30 = load i32, ptr %18, align 8, !tbaa !12 %31 = sdiv i32 %29, %30 %32 = getelementptr inbounds %struct.wlr_box, ptr %7, i64 0, i32 3 %33 = load double, ptr %32, align 8, !tbaa !16 %34 = fsub double %1, %33 %35 = sitofp i32 %31 to double %36 = fdiv double %34, %35 %37 = fptosi double %36 to i32 %38 = icmp sgt i32 %30, %37 %39 = add nsw i32 %30, -1 %40 = select i1 %38, i32 %37, i32 %39 %41 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 0, i32 1 %42 = load ptr, ptr %41, align 8, !tbaa !17 %43 = sext i32 %40 to i64 %44 = getelementptr inbounds ptr, ptr %42, i64 %43 %45 = load ptr, ptr %44, align 8, !tbaa !18 br label %51 46: ; preds = %21 %47 = call ptr @seat_get_active_tiling_child(ptr noundef %17, ptr noundef %0) #3 %48 = icmp eq ptr %47, null br i1 %48, label %51, label %49 49: ; preds = %46 %50 = call ptr @tiling_container_at(ptr noundef nonnull %47, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #3 br label %51 51: ; preds = %16, %49, %46, %27, %6, %11 %52 = phi ptr [ null, %11 ], [ null, %6 ], [ null, %16 ], [ %45, %27 ], [ %50, %49 ], [ null, %46 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3 ret ptr %52 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @node_get_box(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @input_manager_current_seat(...) local_unnamed_addr #2 declare ptr @node_get_children(ptr noundef) local_unnamed_addr #2 declare i32 @container_titlebar_height(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @seat_get_active_tiling_child(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @tiling_container_at(ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"wlr_box", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24} !7 = !{!"double", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_3__", !10, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!6, !10, i64 16} !16 = !{!6, !7, i64 24} !17 = !{!13, !14, i64 8} !18 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/sway/sway/tree/extr_container.c_container_at_tabbed.c' source_filename = "AnghaBench/sway/sway/tree/extr_container.c_container_at_tabbed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.wlr_box = type { double, double, i32, double } @llvm.used = appending global [1 x ptr] [ptr @container_at_tabbed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @container_at_tabbed(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca %struct.wlr_box, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3 %8 = call i32 @node_get_box(ptr noundef %0, ptr noundef nonnull %7) #3 %9 = load double, ptr %7, align 8, !tbaa !6 %10 = fcmp ogt double %9, %2 br i1 %10, label %51, label %11 11: ; preds = %6 %12 = getelementptr inbounds i8, ptr %7, i64 8 %13 = load double, ptr %12, align 8, !tbaa !12 %14 = fadd double %9, %13 %15 = fcmp olt double %14, %2 br i1 %15, label %51, label %16 16: ; preds = %11 %17 = call ptr @input_manager_current_seat() #3 %18 = call ptr @node_get_children(ptr noundef %0) #3 %19 = load i32, ptr %18, align 8, !tbaa !13 %20 = icmp eq i32 %19, 0 br i1 %20, label %51, label %21 21: ; preds = %16 %22 = call i32 @container_titlebar_height() #3 %23 = load double, ptr %7, align 8, !tbaa !6 %24 = sitofp i32 %22 to double %25 = fadd double %23, %24 %26 = fcmp ogt double %25, %2 br i1 %26, label %27, label %46 27: ; preds = %21 %28 = getelementptr inbounds i8, ptr %7, i64 16 %29 = load i32, ptr %28, align 8, !tbaa !16 %30 = load i32, ptr %18, align 8, !tbaa !13 %31 = sdiv i32 %29, %30 %32 = getelementptr inbounds i8, ptr %7, i64 24 %33 = load double, ptr %32, align 8, !tbaa !17 %34 = fsub double %1, %33 %35 = sitofp i32 %31 to double %36 = fdiv double %34, %35 %37 = fptosi double %36 to i32 %38 = icmp sgt i32 %30, %37 %39 = add nsw i32 %30, -1 %40 = select i1 %38, i32 %37, i32 %39 %41 = getelementptr inbounds i8, ptr %18, i64 8 %42 = load ptr, ptr %41, align 8, !tbaa !18 %43 = sext i32 %40 to i64 %44 = getelementptr inbounds ptr, ptr %42, i64 %43 %45 = load ptr, ptr %44, align 8, !tbaa !19 br label %51 46: ; preds = %21 %47 = call ptr @seat_get_active_tiling_child(ptr noundef %17, ptr noundef %0) #3 %48 = icmp eq ptr %47, null br i1 %48, label %51, label %49 49: ; preds = %46 %50 = call ptr @tiling_container_at(ptr noundef nonnull %47, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #3 br label %51 51: ; preds = %16, %49, %46, %27, %6, %11 %52 = phi ptr [ null, %11 ], [ null, %6 ], [ null, %16 ], [ %45, %27 ], [ %50, %49 ], [ null, %46 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3 ret ptr %52 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @node_get_box(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @input_manager_current_seat(...) local_unnamed_addr #2 declare ptr @node_get_children(ptr noundef) local_unnamed_addr #2 declare i32 @container_titlebar_height(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @seat_get_active_tiling_child(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @tiling_container_at(ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"wlr_box", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24} !8 = !{!"double", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_3__", !11, i64 0, !15, i64 8} !15 = !{!"any pointer", !9, i64 0} !16 = !{!7, !11, i64 16} !17 = !{!7, !8, i64 24} !18 = !{!14, !15, i64 8} !19 = !{!15, !15, i64 0}
sway_sway_tree_extr_container.c_container_at_tabbed
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_wmi.c_ath6kl_wmi_rx_probe_req_event_rx.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_wmi.c_ath6kl_wmi_rx_probe_req_event_rx.c" target datalayout = "e-m:e-p270:32:32-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.wmi_p2p_rx_probe_req_event = type { ptr, i32, i32 } %struct.ath6kl_vif = type { i64, i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"invalid wmi_p2p_rx_probe_req_event: len=%d dlen=%u\0A\00", align 1 @ATH6KL_DBG_WMI = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [50 x i8] c"rx_probe_req: len=%u freq=%u probe_req_report=%d\0A\00", align 1 @AP_NETWORK = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ath6kl_wmi_rx_probe_req_event_rx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ath6kl_wmi_rx_probe_req_event_rx(ptr nocapture readnone %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef %3) #0 { %5 = icmp ult i32 %2, 16 br i1 %5, label %6, label %9 6: ; preds = %4 %7 = load i32, ptr @EINVAL, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %41 9: ; preds = %4 %10 = sext i32 %2 to i64 %11 = getelementptr inbounds %struct.wmi_p2p_rx_probe_req_event, ptr %1, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !9 %13 = tail call i32 @le32_to_cpu(i32 noundef %12) #2 %14 = getelementptr inbounds %struct.wmi_p2p_rx_probe_req_event, ptr %1, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !12 %16 = tail call i32 @le16_to_cpu(i32 noundef %15) #2 %17 = getelementptr inbounds i32, ptr %1, i64 %10 %18 = load ptr, ptr %1, align 8, !tbaa !13 %19 = sext i32 %16 to i64 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = icmp ult ptr %17, %20 br i1 %21, label %22, label %26 22: ; preds = %9 %23 = tail call i32 @ath6kl_err(ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %16) #2 %24 = load i32, ptr @EINVAL, align 4, !tbaa !5 %25 = sub nsw i32 0, %24 br label %41 26: ; preds = %9 %27 = load i32, ptr @ATH6KL_DBG_WMI, align 4, !tbaa !5 %28 = getelementptr inbounds %struct.ath6kl_vif, ptr %3, i64 0, i32 2 %29 = load i32, ptr %28, align 4, !tbaa !14 %30 = tail call i32 @ath6kl_dbg(i32 noundef %27, ptr noundef nonnull @.str.1, i32 noundef %16, i32 noundef %13, i32 noundef %29) #2 %31 = load i32, ptr %28, align 4, !tbaa !14 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %26 %34 = load i64, ptr %3, align 8, !tbaa !17 %35 = load i64, ptr @AP_NETWORK, align 8, !tbaa !18 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %41 37: ; preds = %33, %26 %38 = getelementptr inbounds %struct.ath6kl_vif, ptr %3, i64 0, i32 1 %39 = load ptr, ptr %1, align 8, !tbaa !13 %40 = tail call i32 @cfg80211_rx_mgmt(ptr noundef nonnull %38, i32 noundef %13, i32 noundef 0, ptr noundef %39, i32 noundef %16, i32 noundef 0) #2 br label %41 41: ; preds = %33, %37, %22, %6 %42 = phi i32 [ %8, %6 ], [ %25, %22 ], [ 0, %37 ], [ 0, %33 ] ret i32 %42 } declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @ath6kl_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath6kl_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cfg80211_rx_mgmt(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"wmi_p2p_rx_probe_req_event", !11, i64 0, !6, i64 8, !6, i64 12} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!10, !11, i64 0} !14 = !{!15, !6, i64 12} !15 = !{!"ath6kl_vif", !16, i64 0, !6, i64 8, !6, i64 12} !16 = !{!"long", !7, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!16, !16, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_wmi.c_ath6kl_wmi_rx_probe_req_event_rx.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_wmi.c_ath6kl_wmi_rx_probe_req_event_rx.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 @.str = private unnamed_addr constant [52 x i8] c"invalid wmi_p2p_rx_probe_req_event: len=%d dlen=%u\0A\00", align 1 @ATH6KL_DBG_WMI = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [50 x i8] c"rx_probe_req: len=%u freq=%u probe_req_report=%d\0A\00", align 1 @AP_NETWORK = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ath6kl_wmi_rx_probe_req_event_rx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @ath6kl_wmi_rx_probe_req_event_rx(ptr nocapture readnone %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef %3) #0 { %5 = icmp ult i32 %2, 16 br i1 %5, label %6, label %9 6: ; preds = %4 %7 = load i32, ptr @EINVAL, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %41 9: ; preds = %4 %10 = sext i32 %2 to i64 %11 = getelementptr inbounds i8, ptr %1, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = tail call i32 @le32_to_cpu(i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %1, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = tail call i32 @le16_to_cpu(i32 noundef %15) #2 %17 = getelementptr inbounds i32, ptr %1, i64 %10 %18 = load ptr, ptr %1, align 8, !tbaa !14 %19 = sext i32 %16 to i64 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = icmp ult ptr %17, %20 br i1 %21, label %22, label %26 22: ; preds = %9 %23 = tail call i32 @ath6kl_err(ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %16) #2 %24 = load i32, ptr @EINVAL, align 4, !tbaa !6 %25 = sub nsw i32 0, %24 br label %41 26: ; preds = %9 %27 = load i32, ptr @ATH6KL_DBG_WMI, align 4, !tbaa !6 %28 = getelementptr inbounds i8, ptr %3, i64 12 %29 = load i32, ptr %28, align 4, !tbaa !15 %30 = tail call i32 @ath6kl_dbg(i32 noundef %27, ptr noundef nonnull @.str.1, i32 noundef %16, i32 noundef %13, i32 noundef %29) #2 %31 = load i32, ptr %28, align 4, !tbaa !15 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %26 %34 = load i64, ptr %3, align 8, !tbaa !18 %35 = load i64, ptr @AP_NETWORK, align 8, !tbaa !19 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %41 37: ; preds = %33, %26 %38 = getelementptr inbounds i8, ptr %3, i64 8 %39 = load ptr, ptr %1, align 8, !tbaa !14 %40 = tail call i32 @cfg80211_rx_mgmt(ptr noundef nonnull %38, i32 noundef %13, i32 noundef 0, ptr noundef %39, i32 noundef %16, i32 noundef 0) #2 br label %41 41: ; preds = %33, %37, %22, %6 %42 = phi i32 [ %8, %6 ], [ %25, %22 ], [ 0, %37 ], [ 0, %33 ] ret i32 %42 } declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @ath6kl_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath6kl_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cfg80211_rx_mgmt(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"wmi_p2p_rx_probe_req_event", !12, i64 0, !7, i64 8, !7, i64 12} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!11, !12, i64 0} !15 = !{!16, !7, i64 12} !16 = !{!"ath6kl_vif", !17, i64 0, !7, i64 8, !7, i64 12} !17 = !{!"long", !8, i64 0} !18 = !{!16, !17, i64 0} !19 = !{!17, !17, i64 0}
linux_drivers_net_wireless_ath_ath6kl_extr_wmi.c_ath6kl_wmi_rx_probe_req_event_rx
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_macvtap.c_macvtap_alloc_skb.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_macvtap.c_macvtap_alloc_skb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sk_buff = type { i64, i64 } @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @macvtap_alloc_skb], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @macvtap_alloc_skb(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = add i64 %2, %1 %8 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !5 %9 = icmp uge i64 %7, %8 %10 = icmp ne i64 %3, 0 %11 = and i1 %10, %9 %12 = select i1 %11, i64 %3, i64 %2 %13 = add i64 %12, %1 %14 = sub i64 %2, %12 %15 = tail call ptr @sock_alloc_send_pskb(ptr noundef %0, i64 noundef %13, i64 noundef %14, i32 noundef %4, ptr noundef %5) #2 %16 = icmp eq ptr %15, null br i1 %16, label %23, label %17 17: ; preds = %6 %18 = tail call i32 @skb_reserve(ptr noundef nonnull %15, i64 noundef %1) #2 %19 = tail call i32 @skb_put(ptr noundef nonnull %15, i64 noundef %12) #2 store i64 %14, ptr %15, align 8, !tbaa !9 %20 = getelementptr inbounds %struct.sk_buff, ptr %15, i64 0, i32 1 %21 = load i64, ptr %20, align 8, !tbaa !11 %22 = add i64 %21, %14 store i64 %22, ptr %20, align 8, !tbaa !11 br label %23 23: ; preds = %6, %17 ret ptr %15 } declare ptr @sock_alloc_send_pskb(ptr noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @skb_put(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"sk_buff", !6, i64 0, !6, i64 8} !11 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_macvtap.c_macvtap_alloc_skb.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_macvtap.c_macvtap_alloc_skb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @macvtap_alloc_skb], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @macvtap_alloc_skb(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = add i64 %2, %1 %8 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !6 %9 = icmp uge i64 %7, %8 %10 = icmp ne i64 %3, 0 %11 = and i1 %10, %9 %12 = select i1 %11, i64 %3, i64 %2 %13 = add i64 %12, %1 %14 = sub i64 %2, %12 %15 = tail call ptr @sock_alloc_send_pskb(ptr noundef %0, i64 noundef %13, i64 noundef %14, i32 noundef %4, ptr noundef %5) #2 %16 = icmp eq ptr %15, null br i1 %16, label %23, label %17 17: ; preds = %6 %18 = tail call i32 @skb_reserve(ptr noundef nonnull %15, i64 noundef %1) #2 %19 = tail call i32 @skb_put(ptr noundef nonnull %15, i64 noundef %12) #2 store i64 %14, ptr %15, align 8, !tbaa !10 %20 = getelementptr inbounds i8, ptr %15, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !12 %22 = add i64 %21, %14 store i64 %22, ptr %20, align 8, !tbaa !12 br label %23 23: ; preds = %6, %17 ret ptr %15 } declare ptr @sock_alloc_send_pskb(ptr noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @skb_put(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"sk_buff", !7, i64 0, !7, i64 8} !12 = !{!11, !7, i64 8}
fastsocket_kernel_drivers_net_extr_macvtap.c_macvtap_alloc_skb
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800pci.c_rt2800pci_hwcrypt_disabled.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800pci.c_rt2800pci_hwcrypt_disabled.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @modparam_nohwcrypt = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2800pci_hwcrypt_disabled], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @rt2800pci_hwcrypt_disabled(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @modparam_nohwcrypt, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800pci.c_rt2800pci_hwcrypt_disabled.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800pci.c_rt2800pci_hwcrypt_disabled.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @modparam_nohwcrypt = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rt2800pci_hwcrypt_disabled], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @rt2800pci_hwcrypt_disabled(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @modparam_nohwcrypt, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wireless_ralink_rt2x00_extr_rt2800pci.c_rt2800pci_hwcrypt_disabled
; ModuleID = 'AnghaBench/linux/drivers/s390/block/extr_dasd_alias.c__free_lcu.c' source_filename = "AnghaBench/linux/drivers/s390/block/extr_dasd_alias.c__free_lcu.c" target datalayout = "e-m:e-p270:32:32-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.alias_lcu = type { ptr, ptr, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @_free_lcu], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @_free_lcu(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.alias_lcu, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.alias_lcu, ptr %3, i64 0, i32 3 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = tail call i32 @kfree(ptr noundef %5) #2 %7 = load ptr, ptr %2, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.alias_lcu, ptr %7, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !11 %10 = tail call i32 @kfree(ptr noundef %9) #2 %11 = load ptr, ptr %2, align 8, !tbaa !5 %12 = tail call i32 @kfree(ptr noundef %11) #2 %13 = load ptr, ptr %0, align 8, !tbaa !12 %14 = tail call i32 @kfree(ptr noundef %13) #2 %15 = tail call i32 @kfree(ptr noundef nonnull %0) #2 ret void } declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"alias_lcu", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !7 = !{!"any pointer", !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 0}
; ModuleID = 'AnghaBench/linux/drivers/s390/block/extr_dasd_alias.c__free_lcu.c' source_filename = "AnghaBench/linux/drivers/s390/block/extr_dasd_alias.c__free_lcu.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 @_free_lcu], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @_free_lcu(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call i32 @kfree(ptr noundef %5) #2 %7 = load ptr, ptr %2, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %7, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = tail call i32 @kfree(ptr noundef %9) #2 %11 = load ptr, ptr %2, align 8, !tbaa !6 %12 = tail call i32 @kfree(ptr noundef %11) #2 %13 = load ptr, ptr %0, align 8, !tbaa !13 %14 = tail call i32 @kfree(ptr noundef %13) #2 %15 = tail call i32 @kfree(ptr noundef nonnull %0) #2 ret void } declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"alias_lcu", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24} !8 = !{!"any pointer", !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 0}
linux_drivers_s390_block_extr_dasd_alias.c__free_lcu
; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_input.c_p010BEToUV_c.c' source_filename = "AnghaBench/FFmpeg/libswscale/extr_input.c_p010BEToUV_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @p010BEToUV_c], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @p010BEToUV_c(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, ptr noundef %3, ptr nocapture readnone %4, i32 noundef %5, ptr nocapture readnone %6) #0 { %8 = icmp sgt i32 %5, 0 br i1 %8, label %9, label %27 9: ; preds = %7 %10 = zext nneg i32 %5 to i64 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %25, %11 ] %13 = shl nuw nsw i64 %12, 1 %14 = getelementptr inbounds i32, ptr %0, i64 %13 %15 = shl nsw i64 %12, 2 %16 = getelementptr inbounds i32, ptr %3, i64 %15 %17 = tail call i32 @AV_RB16(ptr noundef %16) #2 %18 = ashr i32 %17, 6 %19 = tail call i32 @AV_WN16(ptr noundef %14, i32 noundef %18) #2 %20 = getelementptr inbounds i32, ptr %1, i64 %13 %21 = getelementptr inbounds i32, ptr %16, i64 2 %22 = tail call i32 @AV_RB16(ptr noundef nonnull %21) #2 %23 = ashr i32 %22, 6 %24 = tail call i32 @AV_WN16(ptr noundef %20, i32 noundef %23) #2 %25 = add nuw nsw i64 %12, 1 %26 = icmp eq i64 %25, %10 br i1 %26, label %27, label %11, !llvm.loop !5 27: ; preds = %11, %7 ret void } declare i32 @AV_WN16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AV_RB16(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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_input.c_p010BEToUV_c.c' source_filename = "AnghaBench/FFmpeg/libswscale/extr_input.c_p010BEToUV_c.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @p010BEToUV_c], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @p010BEToUV_c(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, ptr noundef %3, ptr nocapture readnone %4, i32 noundef %5, ptr nocapture readnone %6) #0 { %8 = icmp sgt i32 %5, 0 br i1 %8, label %9, label %27 9: ; preds = %7 %10 = zext nneg i32 %5 to i64 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %25, %11 ] %13 = shl nuw nsw i64 %12, 1 %14 = getelementptr inbounds i32, ptr %0, i64 %13 %15 = shl nsw i64 %12, 4 %16 = getelementptr inbounds i8, ptr %3, i64 %15 %17 = tail call i32 @AV_RB16(ptr noundef %16) #2 %18 = ashr i32 %17, 6 %19 = tail call i32 @AV_WN16(ptr noundef %14, i32 noundef %18) #2 %20 = getelementptr inbounds i32, ptr %1, i64 %13 %21 = getelementptr inbounds i8, ptr %16, i64 8 %22 = tail call i32 @AV_RB16(ptr noundef nonnull %21) #2 %23 = ashr i32 %22, 6 %24 = tail call i32 @AV_WN16(ptr noundef %20, i32 noundef %23) #2 %25 = add nuw nsw i64 %12, 1 %26 = icmp eq i64 %25, %10 br i1 %26, label %27, label %11, !llvm.loop !6 27: ; preds = %11, %7 ret void } declare i32 @AV_WN16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AV_RB16(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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
FFmpeg_libswscale_extr_input.c_p010BEToUV_c
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_closest_thres.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_closest_thres.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INT_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @closest_thres], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @closest_thres(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr @INT_MAX, align 4, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !9 %5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #3 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %2, %7 %8 = phi i64 [ %20, %7 ], [ 0, %2 ] %9 = phi i32 [ %19, %7 ], [ %3, %2 ] %10 = phi i32 [ %18, %7 ], [ 0, %2 ] %11 = load ptr, ptr %0, align 8, !tbaa !9 %12 = getelementptr inbounds i32, ptr %11, i64 %8 %13 = load i32, ptr %12, align 4, !tbaa !5 %14 = sub nsw i32 %1, %13 %15 = tail call i32 @llvm.abs.i32(i32 %14, i1 true) %16 = icmp slt i32 %15, %9 %17 = trunc i64 %8 to i32 %18 = select i1 %16, i32 %17, i32 %10 %19 = tail call i32 @llvm.smin.i32(i32 %15, i32 %9) %20 = add nuw nsw i64 %8, 1 %21 = tail call i32 @ARRAY_SIZE(ptr noundef %11) #3 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %20, %22 br i1 %23, label %7, label %24, !llvm.loop !12 24: ; preds = %7, %2 %25 = phi i32 [ 0, %2 ], [ %18, %7 ] ret i32 %25 } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.abs.i32(i32, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"sge", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_closest_thres.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_closest_thres.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INT_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @closest_thres], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @closest_thres(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr @INT_MAX, align 4, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !10 %5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #3 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %2, %7 %8 = phi i64 [ %20, %7 ], [ 0, %2 ] %9 = phi i32 [ %19, %7 ], [ %3, %2 ] %10 = phi i32 [ %18, %7 ], [ 0, %2 ] %11 = load ptr, ptr %0, align 8, !tbaa !10 %12 = getelementptr inbounds i32, ptr %11, i64 %8 %13 = load i32, ptr %12, align 4, !tbaa !6 %14 = sub nsw i32 %1, %13 %15 = tail call i32 @llvm.abs.i32(i32 %14, i1 true) %16 = icmp slt i32 %15, %9 %17 = trunc nuw nsw i64 %8 to i32 %18 = select i1 %16, i32 %17, i32 %10 %19 = tail call i32 @llvm.smin.i32(i32 %15, i32 %9) %20 = add nuw nsw i64 %8, 1 %21 = tail call i32 @ARRAY_SIZE(ptr noundef %11) #3 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %20, %22 br i1 %23, label %7, label %24, !llvm.loop !13 24: ; preds = %7, %2 %25 = phi i32 [ 0, %2 ], [ %18, %7 ] ret i32 %25 } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.abs.i32(i32, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"sge", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_net_cxgb4_extr_cxgb4_main.c_closest_thres
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_talitos.c_talitos_sg_unmap.c' source_filename = "AnghaBench/linux/drivers/crypto/extr_talitos.c_talitos_sg_unmap.c" target datalayout = "e-m:e-p270:32:32-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.talitos_edesc = type { i32, i32, i64, i64 } @DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @DMA_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @DMA_BIDIRECTIONAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @talitos_sg_unmap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @talitos_sg_unmap(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %8 = tail call i32 @has_ftr_sec1(ptr noundef %7) #3 %9 = load i32, ptr %1, align 8, !tbaa !5 %10 = tail call i32 @llvm.umax.i32(i32 %9, i32 1) %11 = getelementptr inbounds %struct.talitos_edesc, ptr %1, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = tail call i32 @llvm.umax.i32(i32 %12, i32 1) %14 = icmp ne i32 %8, 0 %15 = icmp ne ptr %3, null %16 = and i1 %15, %14 %17 = icmp ugt i32 %12, 1 %18 = select i1 %16, i1 %17, i1 false br i1 %18, label %19, label %30 19: ; preds = %6 %20 = getelementptr inbounds %struct.talitos_edesc, ptr %1, i64 0, i32 3 %21 = load i64, ptr %20, align 8, !tbaa !12 %22 = zext i32 %5 to i64 %23 = add nsw i64 %21, %22 %24 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !13 %25 = tail call i32 @dma_sync_single_for_device(ptr noundef %0, i64 noundef %23, i32 noundef %4, i32 noundef %24) #3 %26 = getelementptr inbounds %struct.talitos_edesc, ptr %1, i64 0, i32 2 %27 = load i64, ptr %26, align 8, !tbaa !14 %28 = add nsw i64 %27, %22 %29 = tail call i32 @sg_pcopy_from_buffer(ptr noundef nonnull %3, i32 noundef %13, i64 noundef %28, i32 noundef %4, i32 noundef %5) #3 br label %30 30: ; preds = %19, %6 %31 = icmp eq ptr %2, %3 %32 = icmp ugt i32 %9, 1 %33 = and i1 %14, %32 br i1 %31, label %45, label %34 34: ; preds = %30 br i1 %33, label %38, label %35 35: ; preds = %34 %36 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !13 %37 = tail call i32 @dma_unmap_sg(ptr noundef %0, ptr noundef %2, i32 noundef %10, i32 noundef %36) #3 br label %38 38: ; preds = %34, %35 %39 = xor i1 %15, true %40 = and i1 %14, %17 %41 = select i1 %39, i1 true, i1 %40 br i1 %41, label %49, label %42 42: ; preds = %38 %43 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !13 %44 = tail call i32 @dma_unmap_sg(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %13, i32 noundef %43) #3 br label %49 45: ; preds = %30 br i1 %33, label %49, label %46 46: ; preds = %45 %47 = load i32, ptr @DMA_BIDIRECTIONAL, align 4, !tbaa !13 %48 = tail call i32 @dma_unmap_sg(ptr noundef %0, ptr noundef %3, i32 noundef %10, i32 noundef %47) #3 br label %49 49: ; preds = %46, %45, %38, %42 ret void } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @has_ftr_sec1(ptr noundef) local_unnamed_addr #1 declare i32 @dma_sync_single_for_device(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sg_pcopy_from_buffer(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_unmap_sg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"talitos_edesc", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !10, i64 16} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_talitos.c_talitos_sg_unmap.c' source_filename = "AnghaBench/linux/drivers/crypto/extr_talitos.c_talitos_sg_unmap.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 @DMA_TO_DEVICE = common local_unnamed_addr global i32 0, align 4 @DMA_BIDIRECTIONAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @talitos_sg_unmap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @talitos_sg_unmap(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %8 = tail call i32 @has_ftr_sec1(ptr noundef %7) #3 %9 = load i32, ptr %1, align 8, !tbaa !6 %10 = tail call i32 @llvm.umax.i32(i32 %9, i32 1) %11 = getelementptr inbounds i8, ptr %1, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = tail call i32 @llvm.umax.i32(i32 %12, i32 1) %14 = icmp ne i32 %8, 0 %15 = icmp ne ptr %3, null %16 = and i1 %15, %14 %17 = icmp ugt i32 %12, 1 %18 = select i1 %16, i1 %17, i1 false br i1 %18, label %19, label %30 19: ; preds = %6 %20 = getelementptr inbounds i8, ptr %1, i64 16 %21 = load i64, ptr %20, align 8, !tbaa !13 %22 = zext i32 %5 to i64 %23 = add nsw i64 %21, %22 %24 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !14 %25 = tail call i32 @dma_sync_single_for_device(ptr noundef %0, i64 noundef %23, i32 noundef %4, i32 noundef %24) #3 %26 = getelementptr inbounds i8, ptr %1, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !15 %28 = add nsw i64 %27, %22 %29 = tail call i32 @sg_pcopy_from_buffer(ptr noundef nonnull %3, i32 noundef %13, i64 noundef %28, i32 noundef %4, i32 noundef %5) #3 br label %30 30: ; preds = %19, %6 %31 = icmp eq ptr %2, %3 %32 = icmp ugt i32 %9, 1 %33 = and i1 %14, %32 br i1 %31, label %45, label %34 34: ; preds = %30 br i1 %33, label %38, label %35 35: ; preds = %34 %36 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !14 %37 = tail call i32 @dma_unmap_sg(ptr noundef %0, ptr noundef %2, i32 noundef %10, i32 noundef %36) #3 br label %38 38: ; preds = %34, %35 %39 = xor i1 %15, true %40 = and i1 %14, %17 %41 = select i1 %39, i1 true, i1 %40 br i1 %41, label %49, label %42 42: ; preds = %38 %43 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !14 %44 = tail call i32 @dma_unmap_sg(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %13, i32 noundef %43) #3 br label %49 45: ; preds = %30 br i1 %33, label %49, label %46 46: ; preds = %45 %47 = load i32, ptr @DMA_BIDIRECTIONAL, align 4, !tbaa !14 %48 = tail call i32 @dma_unmap_sg(ptr noundef %0, ptr noundef %2, i32 noundef %10, i32 noundef %47) #3 br label %49 49: ; preds = %46, %45, %38, %42 ret void } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @has_ftr_sec1(ptr noundef) local_unnamed_addr #1 declare i32 @dma_sync_single_for_device(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sg_pcopy_from_buffer(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_unmap_sg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"talitos_edesc", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !11, i64 16} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 8}
linux_drivers_crypto_extr_talitos.c_talitos_sg_unmap
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx_inline.h_ahc_inq.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx_inline.h_ahc_inq.c" target datalayout = "e-m:e-p270:32:32-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 @ahc_inq], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @ahc_inq(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %1) #2 %4 = add nsw i64 %1, 1 %5 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %4) #2 %6 = add nsw i64 %1, 2 %7 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %6) #2 %8 = add nsw i64 %1, 3 %9 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %8) #2 %10 = add nsw i64 %1, 4 %11 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %10) #2 %12 = add nsw i64 %1, 5 %13 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %12) #2 %14 = add nsw i64 %1, 6 %15 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %14) #2 %16 = add nsw i64 %1, 7 %17 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %16) #2 ret i32 poison } declare i32 @ahc_inb(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx_inline.h_ahc_inq.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx_inline.h_ahc_inq.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 @ahc_inq], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @ahc_inq(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %1) #2 %4 = add nsw i64 %1, 1 %5 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %4) #2 %6 = add nsw i64 %1, 2 %7 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %6) #2 %8 = add nsw i64 %1, 3 %9 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %8) #2 %10 = add nsw i64 %1, 4 %11 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %10) #2 %12 = add nsw i64 %1, 5 %13 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %12) #2 %14 = add nsw i64 %1, 6 %15 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %14) #2 %16 = add nsw i64 %1, 7 %17 = tail call i32 @ahc_inb(ptr noundef %0, i64 noundef %16) #2 ret i32 poison } declare i32 @ahc_inb(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_aic7xxx_extr_aic7xxx_inline.h_ahc_inq
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_linux.h_xfs_uid_to_kuid.c' source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_linux.h_xfs_uid_to_kuid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @init_user_ns = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xfs_uid_to_kuid], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @xfs_uid_to_kuid(i32 noundef %0) #0 { %2 = tail call i32 @make_kuid(ptr noundef nonnull @init_user_ns, i32 noundef %0) #2 ret i32 %2 } declare i32 @make_kuid(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/fs/xfs/extr_xfs_linux.h_xfs_uid_to_kuid.c' source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_linux.h_xfs_uid_to_kuid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @init_user_ns = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xfs_uid_to_kuid], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @xfs_uid_to_kuid(i32 noundef %0) #0 { %2 = tail call i32 @make_kuid(ptr noundef nonnull @init_user_ns, i32 noundef %0) #2 ret i32 %2 } declare i32 @make_kuid(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_fs_xfs_extr_xfs_linux.h_xfs_uid_to_kuid
; ModuleID = 'AnghaBench/git/builtin/extr_am.c_write_state_bool.c' source_filename = "AnghaBench/git/builtin/extr_am.c_write_state_bool.c" target datalayout = "e-m:e-p270:32:32-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 [2 x i8] c"t\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"f\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_state_bool], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write_state_bool(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 %5 = select i1 %4, ptr @.str.1, ptr @.str %6 = tail call i32 @write_state_text(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5) #2 ret void } declare i32 @write_state_text(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/git/builtin/extr_am.c_write_state_bool.c' source_filename = "AnghaBench/git/builtin/extr_am.c_write_state_bool.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 [2 x i8] c"t\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"f\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @write_state_bool], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write_state_bool(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 %5 = select i1 %4, ptr @.str.1, ptr @.str %6 = tail call i32 @write_state_text(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5) #2 ret void } declare i32 @write_state_text(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
git_builtin_extr_am.c_write_state_bool
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_mad_rmpp.c_ib_rmpp_send_handler.c' source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_mad_rmpp.c_ib_rmpp_send_handler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, i64 } @RDMA_DESTROY_AH_SLEEPABLE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ib_rmpp_send_handler(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load i64, ptr %3, align 8, !tbaa !13 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !14 %7 = icmp eq i64 %4, %6 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @RDMA_DESTROY_AH_SLEEPABLE, align 4, !tbaa !15 %10 = tail call i32 @rdma_destroy_ah(i64 noundef %4, i32 noundef %9) #2 %11 = load ptr, ptr %0, align 8, !tbaa !5 br label %12 12: ; preds = %8, %1 %13 = phi ptr [ %11, %8 ], [ %2, %1 ] %14 = tail call i32 @ib_free_send_mad(ptr noundef %13) #2 ret void } declare i32 @rdma_destroy_ah(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ib_free_send_mad(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 = !{!"ib_mad_send_wc", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_mad_rmpp.c_ib_rmpp_send_handler.c' source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_mad_rmpp.c_ib_rmpp_send_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RDMA_DESTROY_AH_SLEEPABLE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ib_rmpp_send_handler(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load i64, ptr %3, align 8, !tbaa !14 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !15 %7 = icmp eq i64 %4, %6 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @RDMA_DESTROY_AH_SLEEPABLE, align 4, !tbaa !16 %10 = tail call i32 @rdma_destroy_ah(i64 noundef %4, i32 noundef %9) #2 %11 = load ptr, ptr %0, align 8, !tbaa !6 br label %12 12: ; preds = %8, %1 %13 = phi ptr [ %11, %8 ], [ %2, %1 ] %14 = tail call i32 @ib_free_send_mad(ptr noundef %13) #2 ret void } declare i32 @rdma_destroy_ah(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ib_free_send_mad(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 = !{!"ib_mad_send_wc", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0, !13, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 8} !16 = !{!17, !17, i64 0} !17 = !{!"int", !9, i64 0}
linux_drivers_infiniband_core_extr_mad_rmpp.c_ib_rmpp_send_handler
; ModuleID = 'AnghaBench/systemd/src/shared/extr_install.c_mark_symlink_for_removal.c' source_filename = "AnghaBench/systemd/src/shared/extr_install.c_mark_symlink_for_removal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @path_hash_ops = dso_local global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @EEXIST = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mark_symlink_for_removal], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mark_symlink_for_removal(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @assert(ptr noundef %1) #3 %4 = tail call i32 @set_ensure_allocated(ptr noundef %0, ptr noundef nonnull @path_hash_ops) #3 %5 = icmp slt i32 %4, 0 br i1 %5, label %22, label %6 6: ; preds = %2 %7 = tail call ptr @strdup(ptr noundef %1) %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %11 = sub nsw i32 0, %10 br label %22 12: ; preds = %6 %13 = tail call i32 @path_simplify(ptr noundef nonnull %7, i32 noundef 0) #3 %14 = load ptr, ptr %0, align 8, !tbaa !9 %15 = tail call i32 @set_consume(ptr noundef %14, ptr noundef nonnull %7) #3 %16 = load i32, ptr @EEXIST, align 4, !tbaa !5 %17 = sub nsw i32 0, %16 %18 = icmp eq i32 %15, %17 br i1 %18, label %22, label %19 19: ; preds = %12 %20 = icmp slt i32 %15, 0 %21 = select i1 %20, i32 %15, i32 1 br label %22 22: ; preds = %19, %12, %2, %9 %23 = phi i32 [ %11, %9 ], [ %4, %2 ], [ 0, %12 ], [ %21, %19 ] ret i32 %23 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @set_ensure_allocated(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @path_simplify(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_consume(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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, 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 #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/systemd/src/shared/extr_install.c_mark_symlink_for_removal.c' source_filename = "AnghaBench/systemd/src/shared/extr_install.c_mark_symlink_for_removal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @path_hash_ops = common global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @EEXIST = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mark_symlink_for_removal], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mark_symlink_for_removal(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @assert(ptr noundef %1) #3 %4 = tail call i32 @set_ensure_allocated(ptr noundef %0, ptr noundef nonnull @path_hash_ops) #3 %5 = icmp slt i32 %4, 0 br i1 %5, label %22, label %6 6: ; preds = %2 %7 = tail call ptr @strdup(ptr noundef %1) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %11 = sub nsw i32 0, %10 br label %22 12: ; preds = %6 %13 = tail call i32 @path_simplify(ptr noundef nonnull %7, i32 noundef 0) #3 %14 = load ptr, ptr %0, align 8, !tbaa !10 %15 = tail call i32 @set_consume(ptr noundef %14, ptr noundef nonnull %7) #3 %16 = load i32, ptr @EEXIST, align 4, !tbaa !6 %17 = sub nsw i32 0, %16 %18 = icmp eq i32 %15, %17 br i1 %18, label %22, label %19 19: ; preds = %12 %20 = icmp slt i32 %15, 0 %21 = select i1 %20, i32 %15, i32 1 br label %22 22: ; preds = %19, %12, %2, %9 %23 = phi i32 [ %11, %9 ], [ %4, %2 ], [ 0, %12 ], [ %21, %19 ] ret i32 %23 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @set_ensure_allocated(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @path_simplify(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_consume(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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, 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 #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}
systemd_src_shared_extr_install.c_mark_symlink_for_removal
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_libsrt.c_libsrt_get_file_handle.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_libsrt.c_libsrt_get_file_handle.c" target datalayout = "e-m:e-p270:32:32-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 @libsrt_get_file_handle], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @libsrt_get_file_handle(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_libsrt.c_libsrt_get_file_handle.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_libsrt.c_libsrt_get_file_handle.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 @libsrt_get_file_handle], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @libsrt_get_file_handle(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !9, i64 0}
FFmpeg_libavformat_extr_libsrt.c_libsrt_get_file_handle
; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-merge.c_net_readvar_callback.c' source_filename = "AnghaBench/kphp-kdb/search/extr_search-merge.c_net_readvar_callback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @verbosity = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @net_readvar_callback(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @assert(i64 noundef %2) #2 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = tail call i32 @free_all_buffers(i64 noundef %4) #2 store i64 0, ptr %0, align 8, !tbaa !5 ret void } declare i32 @assert(i64 noundef) local_unnamed_addr #1 declare i32 @free_all_buffers(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 = !{!"connection", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-merge.c_net_readvar_callback.c' source_filename = "AnghaBench/kphp-kdb/search/extr_search-merge.c_net_readvar_callback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @verbosity = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @net_readvar_callback(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @assert(i64 noundef %2) #2 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = tail call i32 @free_all_buffers(i64 noundef %4) #2 store i64 0, ptr %0, align 8, !tbaa !6 ret void } declare i32 @assert(i64 noundef) local_unnamed_addr #1 declare i32 @free_all_buffers(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 = !{!"connection", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
kphp-kdb_search_extr_search-merge.c_net_readvar_callback
; ModuleID = 'AnghaBench/linux/drivers/thermal/intel/extr_intel_pch_thermal.c_intel_pch_thermal_resume.c' source_filename = "AnghaBench/linux/drivers/thermal/intel/extr_intel_pch_thermal.c_intel_pch_thermal_resume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_pch_thermal_resume], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @intel_pch_thermal_resume(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = tail call i32 %4(ptr noundef nonnull %2) #2 ret i32 %5 } declare ptr @dev_get_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 = !{!"pch_thermal_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/thermal/intel/extr_intel_pch_thermal.c_intel_pch_thermal_resume.c' source_filename = "AnghaBench/linux/drivers/thermal/intel/extr_intel_pch_thermal.c_intel_pch_thermal_resume.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_pch_thermal_resume], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @intel_pch_thermal_resume(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = tail call i32 %4(ptr noundef nonnull %2) #2 ret i32 %5 } declare ptr @dev_get_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 = !{!"pch_thermal_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0}
linux_drivers_thermal_intel_extr_intel_pch_thermal.c_intel_pch_thermal_resume
; ModuleID = 'AnghaBench/linux/drivers/media/platform/vicodec/extr_vicodec-core.c_register_instance.c' source_filename = "AnghaBench/linux/drivers/media/platform/vicodec/extr_vicodec-core.c_register_instance.c" target datalayout = "e-m:e-p270:32:32-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.video_device = type { i32, i32, i32, ptr, ptr } %struct.vicodec_dev_instance = type { i32, i32, %struct.video_device, i32 } @m2m_ops = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Failed to init vicodec enc device\0A\00", align 1 @vicodec_videodev = dso_local local_unnamed_addr global %struct.video_device zeroinitializer, align 8 @V4L2_CAP_STREAMING = dso_local local_unnamed_addr global i32 0, align 4 @multiplanar = dso_local local_unnamed_addr global i64 0, align 8 @V4L2_CAP_VIDEO_M2M_MPLANE = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_CAP_VIDEO_M2M = dso_local local_unnamed_addr global i32 0, align 4 @VIDIOC_DECODER_CMD = dso_local local_unnamed_addr global i32 0, align 4 @VIDIOC_TRY_DECODER_CMD = dso_local local_unnamed_addr global i32 0, align 4 @VIDIOC_ENCODER_CMD = dso_local local_unnamed_addr global i32 0, align 4 @VIDIOC_TRY_ENCODER_CMD = dso_local local_unnamed_addr global i32 0, align 4 @VFL_TYPE_GRABBER = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"Failed to register video device '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"Device '%s' registered as /dev/video%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @register_instance], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @register_instance(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds %struct.vicodec_dev_instance, ptr %1, i64 0, i32 3 %6 = tail call i32 @spin_lock_init(ptr noundef nonnull %5) #3 %7 = getelementptr inbounds %struct.vicodec_dev_instance, ptr %1, i64 0, i32 1 %8 = tail call i32 @mutex_init(ptr noundef nonnull %7) #3 %9 = tail call i32 @v4l2_m2m_init(ptr noundef nonnull @m2m_ops) #3 store i32 %9, ptr %1, align 8, !tbaa !5 %10 = tail call i64 @IS_ERR(i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %4 %13 = tail call i32 (ptr, ptr, ...) @v4l2_err(ptr noundef %0, ptr noundef nonnull @.str) #3 %14 = load i32, ptr %1, align 8, !tbaa !5 %15 = tail call i32 @PTR_ERR(i32 noundef %14) #3 br label %51 16: ; preds = %4 %17 = getelementptr inbounds %struct.vicodec_dev_instance, ptr %1, i64 0, i32 2 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) @vicodec_videodev, i64 16, i1 false), !tbaa.struct !12 %18 = getelementptr inbounds %struct.vicodec_dev_instance, ptr %1, i64 0, i32 2, i32 4 store ptr %7, ptr %18, align 8, !tbaa !15 %19 = getelementptr inbounds %struct.vicodec_dev_instance, ptr %1, i64 0, i32 2, i32 3 store ptr %0, ptr %19, align 8, !tbaa !16 %20 = getelementptr inbounds %struct.vicodec_dev_instance, ptr %1, i64 0, i32 2, i32 2 %21 = load i32, ptr %20, align 8, !tbaa !17 %22 = tail call i32 @strscpy(i32 noundef %21, ptr noundef %2, i32 noundef 4) #3 %23 = load i32, ptr @V4L2_CAP_STREAMING, align 4, !tbaa !13 %24 = load i64, ptr @multiplanar, align 8, !tbaa !18 %25 = icmp eq i64 %24, 0 %26 = load i32, ptr @V4L2_CAP_VIDEO_M2M_MPLANE, align 4 %27 = load i32, ptr @V4L2_CAP_VIDEO_M2M, align 4 %28 = select i1 %25, i32 %27, i32 %26 %29 = or i32 %28, %23 store i32 %29, ptr %17, align 8, !tbaa !20 %30 = icmp eq i32 %3, 0 %31 = load i32, ptr @VIDIOC_ENCODER_CMD, align 4 %32 = load i32, ptr @VIDIOC_DECODER_CMD, align 4 %33 = select i1 %30, i32 %31, i32 %32 %34 = tail call i32 @v4l2_disable_ioctl(ptr noundef nonnull %17, i32 noundef %33) #3 %35 = load i32, ptr @VIDIOC_TRY_ENCODER_CMD, align 4 %36 = load i32, ptr @VIDIOC_TRY_DECODER_CMD, align 4 %37 = select i1 %30, i32 %35, i32 %36 %38 = tail call i32 @v4l2_disable_ioctl(ptr noundef nonnull %17, i32 noundef %37) #3 %39 = tail call i32 @video_set_drvdata(ptr noundef nonnull %17, ptr noundef %0) #3 %40 = load i32, ptr @VFL_TYPE_GRABBER, align 4, !tbaa !13 %41 = tail call i32 @video_register_device(ptr noundef nonnull %17, i32 noundef %40, i32 noundef 0) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %47, label %43 43: ; preds = %16 %44 = tail call i32 (ptr, ptr, ...) @v4l2_err(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %2) #3 %45 = load i32, ptr %1, align 8, !tbaa !5 %46 = tail call i32 @v4l2_m2m_release(i32 noundef %45) #3 br label %51 47: ; preds = %16 %48 = getelementptr inbounds %struct.vicodec_dev_instance, ptr %1, i64 0, i32 2, i32 1 %49 = load i32, ptr %48, align 4, !tbaa !21 %50 = tail call i32 @v4l2_info(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef %2, i32 noundef %49) #3 br label %51 51: ; preds = %47, %43, %12 %52 = phi i32 [ %15, %12 ], [ %41, %43 ], [ 0, %47 ] ret i32 %52 } declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_m2m_init(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @strscpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_disable_ioctl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @video_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @video_register_device(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_m2m_release(i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_info(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vicodec_dev_instance", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"video_device", !7, i64 0, !7, i64 4, !7, i64 8, !11, i64 16, !11, i64 24} !11 = !{!"any pointer", !8, i64 0} !12 = !{i64 0, i64 4, !13, i64 4, i64 4, !13, i64 8, i64 4, !13, i64 16, i64 8, !14, i64 24, i64 8, !14} !13 = !{!7, !7, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!10, !11, i64 24} !16 = !{!10, !11, i64 16} !17 = !{!10, !7, i64 8} !18 = !{!19, !19, i64 0} !19 = !{!"long", !8, i64 0} !20 = !{!10, !7, i64 0} !21 = !{!10, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/vicodec/extr_vicodec-core.c_register_instance.c' source_filename = "AnghaBench/linux/drivers/media/platform/vicodec/extr_vicodec-core.c_register_instance.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.video_device = type { i32, i32, i32, ptr, ptr } @m2m_ops = common global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Failed to init vicodec enc device\0A\00", align 1 @vicodec_videodev = common local_unnamed_addr global %struct.video_device zeroinitializer, align 8 @V4L2_CAP_STREAMING = common local_unnamed_addr global i32 0, align 4 @multiplanar = common local_unnamed_addr global i64 0, align 8 @V4L2_CAP_VIDEO_M2M_MPLANE = common local_unnamed_addr global i32 0, align 4 @V4L2_CAP_VIDEO_M2M = common local_unnamed_addr global i32 0, align 4 @VIDIOC_DECODER_CMD = common local_unnamed_addr global i32 0, align 4 @VIDIOC_TRY_DECODER_CMD = common local_unnamed_addr global i32 0, align 4 @VIDIOC_ENCODER_CMD = common local_unnamed_addr global i32 0, align 4 @VIDIOC_TRY_ENCODER_CMD = common local_unnamed_addr global i32 0, align 4 @VFL_TYPE_GRABBER = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"Failed to register video device '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"Device '%s' registered as /dev/video%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @register_instance], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @register_instance(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %1, i64 40 %6 = tail call i32 @spin_lock_init(ptr noundef nonnull %5) #3 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = tail call i32 @mutex_init(ptr noundef nonnull %7) #3 %9 = tail call i32 @v4l2_m2m_init(ptr noundef nonnull @m2m_ops) #3 store i32 %9, ptr %1, align 8, !tbaa !6 %10 = tail call i64 @IS_ERR(i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %4 %13 = tail call i32 (ptr, ptr, ...) @v4l2_err(ptr noundef %0, ptr noundef nonnull @.str) #3 %14 = load i32, ptr %1, align 8, !tbaa !6 %15 = tail call i32 @PTR_ERR(i32 noundef %14) #3 br label %51 16: ; preds = %4 %17 = getelementptr inbounds i8, ptr %1, i64 8 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) @vicodec_videodev, i64 16, i1 false), !tbaa.struct !13 %18 = getelementptr inbounds i8, ptr %1, i64 32 store ptr %7, ptr %18, align 8, !tbaa !16 %19 = getelementptr inbounds i8, ptr %1, i64 24 store ptr %0, ptr %19, align 8, !tbaa !17 %20 = getelementptr inbounds i8, ptr %1, i64 16 %21 = load i32, ptr %20, align 8, !tbaa !18 %22 = tail call i32 @strscpy(i32 noundef %21, ptr noundef %2, i32 noundef 4) #3 %23 = load i32, ptr @V4L2_CAP_STREAMING, align 4, !tbaa !14 %24 = load i64, ptr @multiplanar, align 8, !tbaa !19 %25 = icmp eq i64 %24, 0 %26 = load i32, ptr @V4L2_CAP_VIDEO_M2M_MPLANE, align 4 %27 = load i32, ptr @V4L2_CAP_VIDEO_M2M, align 4 %28 = select i1 %25, i32 %27, i32 %26 %29 = or i32 %28, %23 store i32 %29, ptr %17, align 8, !tbaa !21 %30 = icmp eq i32 %3, 0 %31 = load i32, ptr @VIDIOC_ENCODER_CMD, align 4 %32 = load i32, ptr @VIDIOC_DECODER_CMD, align 4 %33 = select i1 %30, i32 %31, i32 %32 %34 = tail call i32 @v4l2_disable_ioctl(ptr noundef nonnull %17, i32 noundef %33) #3 %35 = load i32, ptr @VIDIOC_TRY_ENCODER_CMD, align 4 %36 = load i32, ptr @VIDIOC_TRY_DECODER_CMD, align 4 %37 = select i1 %30, i32 %35, i32 %36 %38 = tail call i32 @v4l2_disable_ioctl(ptr noundef nonnull %17, i32 noundef %37) #3 %39 = tail call i32 @video_set_drvdata(ptr noundef nonnull %17, ptr noundef %0) #3 %40 = load i32, ptr @VFL_TYPE_GRABBER, align 4, !tbaa !14 %41 = tail call i32 @video_register_device(ptr noundef nonnull %17, i32 noundef %40, i32 noundef 0) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %47, label %43 43: ; preds = %16 %44 = tail call i32 (ptr, ptr, ...) @v4l2_err(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %2) #3 %45 = load i32, ptr %1, align 8, !tbaa !6 %46 = tail call i32 @v4l2_m2m_release(i32 noundef %45) #3 br label %51 47: ; preds = %16 %48 = getelementptr inbounds i8, ptr %1, i64 12 %49 = load i32, ptr %48, align 4, !tbaa !22 %50 = tail call i32 @v4l2_info(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef %2, i32 noundef %49) #3 br label %51 51: ; preds = %47, %43, %12 %52 = phi i32 [ %15, %12 ], [ %41, %43 ], [ 0, %47 ] ret i32 %52 } declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_m2m_init(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @strscpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_disable_ioctl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @video_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @video_register_device(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_m2m_release(i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_info(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vicodec_dev_instance", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"video_device", !8, i64 0, !8, i64 4, !8, i64 8, !12, i64 16, !12, i64 24} !12 = !{!"any pointer", !9, i64 0} !13 = !{i64 0, i64 4, !14, i64 4, i64 4, !14, i64 8, i64 4, !14, i64 16, i64 8, !15, i64 24, i64 8, !15} !14 = !{!8, !8, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!11, !12, i64 24} !17 = !{!11, !12, i64 16} !18 = !{!11, !8, i64 8} !19 = !{!20, !20, i64 0} !20 = !{!"long", !9, i64 0} !21 = !{!11, !8, i64 0} !22 = !{!11, !8, i64 4}
linux_drivers_media_platform_vicodec_extr_vicodec-core.c_register_instance
; ModuleID = 'AnghaBench/linux/arch/s390/kernel/extr_perf_cpum_cf_diag.c_cf_diag_get_cpu_speed.c' source_filename = "AnghaBench/linux/arch/s390/kernel/extr_perf_cpum_cf_diag.c_cf_diag_get_cpu_speed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hws_qsi_info_block = type { i64 } @cf_diag_cpu_speed = dso_local local_unnamed_addr global i64 0, align 8 @ECAG_CPU_ATTRIBUTE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cf_diag_get_cpu_speed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cf_diag_get_cpu_speed() #0 { %1 = alloca %struct.hws_qsi_info_block, align 8 %2 = tail call i64 (...) @cpum_sf_avail() #3 %3 = icmp eq i64 %2, 0 br i1 %3, label %11, label %4 4: ; preds = %0 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 %5 = call i32 @memset(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 8) #3 %6 = call i32 @qsi(ptr noundef nonnull %1) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 br label %11 9: ; preds = %4 %10 = load i64, ptr %1, align 8, !tbaa !5 store i64 %10, ptr @cf_diag_cpu_speed, align 8, !tbaa !10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 br label %20 11: ; preds = %8, %0 %12 = call i64 @test_facility(i32 noundef 34) #3 %13 = icmp eq i64 %12, 0 br i1 %13, label %20, label %14 14: ; preds = %11 %15 = load i32, ptr @ECAG_CPU_ATTRIBUTE, align 4, !tbaa !11 %16 = call i64 @__ecag(i32 noundef %15, i32 noundef 0) #3 %17 = icmp eq i64 %16, -1 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = and i64 %16, 4294967295 store i64 %19, ptr @cf_diag_cpu_speed, align 8, !tbaa !10 br label %20 20: ; preds = %9, %14, %18, %11 ret void } declare i64 @cpum_sf_avail(...) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qsi(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 declare i64 @test_facility(i32 noundef) local_unnamed_addr #1 declare i64 @__ecag(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hws_qsi_info_block", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/arch/s390/kernel/extr_perf_cpum_cf_diag.c_cf_diag_get_cpu_speed.c' source_filename = "AnghaBench/linux/arch/s390/kernel/extr_perf_cpum_cf_diag.c_cf_diag_get_cpu_speed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.hws_qsi_info_block = type { i64 } @cf_diag_cpu_speed = common local_unnamed_addr global i64 0, align 8 @ECAG_CPU_ATTRIBUTE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cf_diag_get_cpu_speed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cf_diag_get_cpu_speed() #0 { %1 = alloca %struct.hws_qsi_info_block, align 8 %2 = tail call i64 @cpum_sf_avail() #3 %3 = icmp eq i64 %2, 0 br i1 %3, label %11, label %4 4: ; preds = %0 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 %5 = call i32 @memset(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 8) #3 %6 = call i32 @qsi(ptr noundef nonnull %1) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 br label %11 9: ; preds = %4 %10 = load i64, ptr %1, align 8, !tbaa !6 store i64 %10, ptr @cf_diag_cpu_speed, align 8, !tbaa !11 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 br label %20 11: ; preds = %8, %0 %12 = call i64 @test_facility(i32 noundef 34) #3 %13 = icmp eq i64 %12, 0 br i1 %13, label %20, label %14 14: ; preds = %11 %15 = load i32, ptr @ECAG_CPU_ATTRIBUTE, align 4, !tbaa !12 %16 = call i64 @__ecag(i32 noundef %15, i32 noundef 0) #3 %17 = icmp eq i64 %16, -1 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = and i64 %16, 4294967295 store i64 %19, ptr @cf_diag_cpu_speed, align 8, !tbaa !11 br label %20 20: ; preds = %9, %14, %18, %11 ret void } declare i64 @cpum_sf_avail(...) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qsi(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 declare i64 @test_facility(i32 noundef) local_unnamed_addr #1 declare i64 @__ecag(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hws_qsi_info_block", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_arch_s390_kernel_extr_perf_cpum_cf_diag.c_cf_diag_get_cpu_speed
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_evergreen.c_evergreen_get_number_of_dram_channels.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_evergreen.c_evergreen_get_number_of_dram_channels.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MC_SHARED_CHMAP = dso_local local_unnamed_addr global i32 0, align 4 @NOOFCHAN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @NOOFCHAN_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @switch.table.evergreen_get_number_of_dram_channels = private unnamed_addr constant [3 x i32] [i32 2, i32 4, i32 8], align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @evergreen_get_number_of_dram_channels(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = load i32, ptr @MC_SHARED_CHMAP, align 4, !tbaa !5 %3 = tail call i32 @RREG32(i32 noundef %2) #2 %4 = load i32, ptr @NOOFCHAN_MASK, align 4, !tbaa !5 %5 = and i32 %4, %3 %6 = load i32, ptr @NOOFCHAN_SHIFT, align 4, !tbaa !5 %7 = ashr i32 %5, %6 %8 = add i32 %7, -1 %9 = icmp ult i32 %8, 3 br i1 %9, label %10, label %14 10: ; preds = %1 %11 = zext nneg i32 %8 to i64 %12 = getelementptr inbounds [3 x i32], ptr @switch.table.evergreen_get_number_of_dram_channels, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 br label %14 14: ; preds = %10, %1 %15 = phi i32 [ 1, %1 ], [ %13, %10 ] ret i32 %15 } declare i32 @RREG32(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_evergreen.c_evergreen_get_number_of_dram_channels.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_evergreen.c_evergreen_get_number_of_dram_channels.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MC_SHARED_CHMAP = common local_unnamed_addr global i32 0, align 4 @NOOFCHAN_MASK = common local_unnamed_addr global i32 0, align 4 @NOOFCHAN_SHIFT = common local_unnamed_addr global i32 0, align 4 @switch.table.evergreen_get_number_of_dram_channels = private unnamed_addr constant [3 x i32] [i32 2, i32 4, i32 8], align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 1, 9) i32 @evergreen_get_number_of_dram_channels(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = load i32, ptr @MC_SHARED_CHMAP, align 4, !tbaa !6 %3 = tail call i32 @RREG32(i32 noundef %2) #2 %4 = load i32, ptr @NOOFCHAN_MASK, align 4, !tbaa !6 %5 = and i32 %4, %3 %6 = load i32, ptr @NOOFCHAN_SHIFT, align 4, !tbaa !6 %7 = ashr i32 %5, %6 %8 = add i32 %7, -1 %9 = icmp ult i32 %8, 3 br i1 %9, label %10, label %14 10: ; preds = %1 %11 = zext nneg i32 %8 to i64 %12 = getelementptr inbounds [3 x i32], ptr @switch.table.evergreen_get_number_of_dram_channels, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 br label %14 14: ; preds = %10, %1 %15 = phi i32 [ 1, %1 ], [ %13, %10 ] ret i32 %15 } declare i32 @RREG32(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_gpu_drm_radeon_extr_evergreen.c_evergreen_get_number_of_dram_channels
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_t3_hw.c_t3_get_adapter_info.c' source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_t3_hw.c_t3_get_adapter_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.adapter_info = type { i32 } @t3_adap_info = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @t3_get_adapter_info(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @t3_adap_info, align 8, !tbaa !5 %3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2 %4 = icmp ugt i32 %3, %0 %5 = load ptr, ptr @t3_adap_info, align 8 %6 = zext i32 %0 to i64 %7 = getelementptr inbounds %struct.adapter_info, ptr %5, i64 %6 %8 = select i1 %4, ptr %7, ptr null ret ptr %8 } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_t3_hw.c_t3_get_adapter_info.c' source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_t3_hw.c_t3_get_adapter_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.adapter_info = type { i32 } @t3_adap_info = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @t3_get_adapter_info(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @t3_adap_info, align 8, !tbaa !6 %3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2 %4 = icmp ugt i32 %3, %0 %5 = load ptr, ptr @t3_adap_info, align 8 %6 = zext i32 %0 to i64 %7 = getelementptr inbounds %struct.adapter_info, ptr %5, i64 %6 %8 = select i1 %4, ptr %7, ptr null ret ptr %8 } declare i32 @ARRAY_SIZE(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"}
freebsd_sys_dev_cxgb_common_extr_cxgb_t3_hw.c_t3_get_adapter_info
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_rsr_vecbase_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_rsr_vecbase_Slot_inst_encode.c" target datalayout = "e-m:e-p270:32:32-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 @Opcode_rsr_vecbase_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @Opcode_rsr_vecbase_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 255744, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_rsr_vecbase_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_rsr_vecbase_Slot_inst_encode.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 @Opcode_rsr_vecbase_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @Opcode_rsr_vecbase_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 255744, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Opcode_rsr_vecbase_Slot_inst_encode
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c___i40e_del_filter.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c___i40e_del_filter.c" target datalayout = "e-m:e-p270:32:32-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.i40e_mac_filter = type { i64, i32 } %struct.i40e_vsi = type { ptr, i32 } @I40E_FILTER_FAILED = dso_local local_unnamed_addr global i64 0, align 8 @I40E_FILTER_NEW = dso_local local_unnamed_addr global i64 0, align 8 @I40E_FILTER_REMOVE = dso_local local_unnamed_addr global i64 0, align 8 @I40E_VSI_FLAG_FILTER_CHANGED = dso_local local_unnamed_addr global i32 0, align 4 @__I40E_MACVLAN_SYNC_PENDING = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @__i40e_del_filter(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %26, label %4 4: ; preds = %2 %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = load i64, ptr @I40E_FILTER_FAILED, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 %8 = load i64, ptr @I40E_FILTER_NEW, align 8 %9 = icmp eq i64 %5, %8 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %11, label %15 11: ; preds = %4 %12 = getelementptr inbounds %struct.i40e_mac_filter, ptr %1, i64 0, i32 1 %13 = tail call i32 @hash_del(ptr noundef nonnull %12) #2 %14 = tail call i32 @kfree(ptr noundef nonnull %1) #2 br label %17 15: ; preds = %4 %16 = load i64, ptr @I40E_FILTER_REMOVE, align 8, !tbaa !11 store i64 %16, ptr %1, align 8, !tbaa !5 br label %17 17: ; preds = %15, %11 %18 = load i32, ptr @I40E_VSI_FLAG_FILTER_CHANGED, align 4, !tbaa !12 %19 = getelementptr inbounds %struct.i40e_vsi, ptr %0, i64 0, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !13 %21 = or i32 %20, %18 store i32 %21, ptr %19, align 8, !tbaa !13 %22 = load i32, ptr @__I40E_MACVLAN_SYNC_PENDING, align 4, !tbaa !12 %23 = load ptr, ptr %0, align 8, !tbaa !16 %24 = load i32, ptr %23, align 4, !tbaa !17 %25 = tail call i32 @set_bit(i32 noundef %22, i32 noundef %24) #2 br label %26 26: ; preds = %2, %17 ret void } declare i32 @hash_del(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"i40e_mac_filter", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!14, !10, i64 8} !14 = !{!"i40e_vsi", !15, i64 0, !10, i64 8} !15 = !{!"any pointer", !8, i64 0} !16 = !{!14, !15, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_2__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c___i40e_del_filter.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c___i40e_del_filter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @I40E_FILTER_FAILED = common local_unnamed_addr global i64 0, align 8 @I40E_FILTER_NEW = common local_unnamed_addr global i64 0, align 8 @I40E_FILTER_REMOVE = common local_unnamed_addr global i64 0, align 8 @I40E_VSI_FLAG_FILTER_CHANGED = common local_unnamed_addr global i32 0, align 4 @__I40E_MACVLAN_SYNC_PENDING = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @__i40e_del_filter(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %26, label %4 4: ; preds = %2 %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = load i64, ptr @I40E_FILTER_FAILED, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 %8 = load i64, ptr @I40E_FILTER_NEW, align 8 %9 = icmp eq i64 %5, %8 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %11, label %15 11: ; preds = %4 %12 = getelementptr inbounds i8, ptr %1, i64 8 %13 = tail call i32 @hash_del(ptr noundef nonnull %12) #2 %14 = tail call i32 @kfree(ptr noundef nonnull %1) #2 br label %17 15: ; preds = %4 %16 = load i64, ptr @I40E_FILTER_REMOVE, align 8, !tbaa !12 store i64 %16, ptr %1, align 8, !tbaa !6 br label %17 17: ; preds = %15, %11 %18 = load i32, ptr @I40E_VSI_FLAG_FILTER_CHANGED, align 4, !tbaa !13 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !14 %21 = or i32 %20, %18 store i32 %21, ptr %19, align 8, !tbaa !14 %22 = load i32, ptr @__I40E_MACVLAN_SYNC_PENDING, align 4, !tbaa !13 %23 = load ptr, ptr %0, align 8, !tbaa !17 %24 = load i32, ptr %23, align 4, !tbaa !18 %25 = tail call i32 @set_bit(i32 noundef %22, i32 noundef %24) #2 br label %26 26: ; preds = %2, %17 ret void } declare i32 @hash_del(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"i40e_mac_filter", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !11, i64 8} !15 = !{!"i40e_vsi", !16, i64 0, !11, i64 8} !16 = !{!"any pointer", !9, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_2__", !11, i64 0}
linux_drivers_net_ethernet_intel_i40e_extr_i40e_main.c___i40e_del_filter
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_cbs.c_ff_cbs_read_extradata.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_cbs.c_ff_cbs_read_extradata.c" target datalayout = "e-m:e-p270:32:32-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, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @ff_cbs_read_extradata(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = load i32, ptr %2, align 4, !tbaa !10 %7 = tail call i32 @cbs_fill_fragment_data(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef %6) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %3 %10 = load ptr, ptr %0, align 8, !tbaa !11 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = tail call i32 %11(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 1) #2 %13 = icmp slt i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %9 %15 = tail call i32 @cbs_read_fragment_content(ptr noundef nonnull %0, ptr noundef %1) #2 br label %16 16: ; preds = %9, %3, %14 %17 = phi i32 [ %15, %14 ], [ %7, %3 ], [ %12, %9 ] ret i32 %17 } declare i32 @cbs_fill_fragment_data(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cbs_read_fragment_content(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 4} !6 = !{!"TYPE_11__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_10__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_9__", !13, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_cbs.c_ff_cbs_read_extradata.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_cbs.c_ff_cbs_read_extradata.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 @ff_cbs_read_extradata(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %2, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = load i32, ptr %2, align 4, !tbaa !11 %7 = tail call i32 @cbs_fill_fragment_data(ptr noundef %0, ptr noundef %1, i32 noundef %5, i32 noundef %6) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %3 %10 = load ptr, ptr %0, align 8, !tbaa !12 %11 = load ptr, ptr %10, align 8, !tbaa !15 %12 = tail call i32 %11(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 1) #2 %13 = icmp slt i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %9 %15 = tail call i32 @cbs_read_fragment_content(ptr noundef nonnull %0, ptr noundef %1) #2 br label %16 16: ; preds = %9, %3, %14 %17 = phi i32 [ %15, %14 ], [ %7, %3 ], [ %12, %9 ] ret i32 %17 } declare i32 @cbs_fill_fragment_data(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cbs_read_fragment_content(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 4} !7 = !{!"TYPE_11__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_10__", !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_9__", !14, i64 0}
FFmpeg_libavcodec_extr_cbs.c_ff_cbs_read_extradata
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_defsena_admin_defs.h_get_ena_admin_aenq_common_desc_phase.c' source_filename = "AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_defsena_admin_defs.h_get_ena_admin_aenq_common_desc_phase.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENA_ADMIN_AENQ_COMMON_DESC_PHASE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_ena_admin_aenq_common_desc_phase], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @get_ena_admin_aenq_common_desc_phase(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @ENA_ADMIN_AENQ_COMMON_DESC_PHASE_MASK, align 4, !tbaa !10 %4 = and i32 %3, %2 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ena_admin_aenq_common_desc", !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/freebsd/sys/contrib/ena-com/extr_ena_defsena_admin_defs.h_get_ena_admin_aenq_common_desc_phase.c' source_filename = "AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_defsena_admin_defs.h_get_ena_admin_aenq_common_desc_phase.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENA_ADMIN_AENQ_COMMON_DESC_PHASE_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_ena_admin_aenq_common_desc_phase], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @get_ena_admin_aenq_common_desc_phase(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @ENA_ADMIN_AENQ_COMMON_DESC_PHASE_MASK, align 4, !tbaa !11 %4 = and i32 %3, %2 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ena_admin_aenq_common_desc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_sys_contrib_ena-com_extr_ena_defsena_admin_defs.h_get_ena_admin_aenq_common_desc_phase
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfad_bsg.c_bfad_iocmd_ioc_get_fwstats.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfad_bsg.c_bfad_iocmd_ioc_get_fwstats.c" target datalayout = "e-m:e-p270:32:32-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.bfad_s = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @BFA_STATUS_OK = dso_local local_unnamed_addr global i64 0, align 8 @BFA_STATUS_VERSION_FAIL = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @bfad_iocmd_ioc_get_fwstats(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i64 @bfad_chk_iocmd_sz(i32 noundef %2, i32 noundef 8, i32 noundef 4) #2 %5 = load i64, ptr @BFA_STATUS_OK, align 8, !tbaa !5 %6 = icmp eq i64 %4, %5 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = load i64, ptr @BFA_STATUS_VERSION_FAIL, align 8, !tbaa !5 store i64 %8, ptr %1, align 8, !tbaa !9 br label %21 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %12 = getelementptr inbounds %struct.bfad_s, ptr %0, i64 0, i32 1 %13 = tail call i64 @bfa_ioc_fw_stats_get(ptr noundef nonnull %12, ptr noundef nonnull %10) #2 store i64 %13, ptr %1, align 8, !tbaa !9 %14 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %15 = load i64, ptr %1, align 8, !tbaa !9 %16 = load i64, ptr @BFA_STATUS_OK, align 8, !tbaa !5 %17 = icmp eq i64 %15, %16 br i1 %17, label %21, label %18 18: ; preds = %9 %19 = trunc i64 %15 to i32 %20 = tail call i32 @bfa_trc(ptr noundef %0, i32 noundef %19) #2 br label %21 21: ; preds = %9, %18, %7 %22 = tail call i32 @bfa_trc(ptr noundef %0, i32 noundef 26214) #2 ret i32 0 } declare i64 @bfad_chk_iocmd_sz(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @bfa_ioc_fw_stats_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @bfa_trc(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"bfa_bsg_ioc_fwstats_s", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfad_bsg.c_bfad_iocmd_ioc_get_fwstats.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfad_bsg.c_bfad_iocmd_ioc_get_fwstats.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BFA_STATUS_OK = common local_unnamed_addr global i64 0, align 8 @BFA_STATUS_VERSION_FAIL = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @bfad_iocmd_ioc_get_fwstats(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i64 @bfad_chk_iocmd_sz(i32 noundef %2, i32 noundef 8, i32 noundef 4) #2 %5 = load i64, ptr @BFA_STATUS_OK, align 8, !tbaa !6 %6 = icmp eq i64 %4, %5 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = load i64, ptr @BFA_STATUS_VERSION_FAIL, align 8, !tbaa !6 store i64 %8, ptr %1, align 8, !tbaa !10 br label %21 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %12 = getelementptr inbounds i8, ptr %0, i64 4 %13 = tail call i64 @bfa_ioc_fw_stats_get(ptr noundef nonnull %12, ptr noundef nonnull %10) #2 store i64 %13, ptr %1, align 8, !tbaa !10 %14 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %15 = load i64, ptr %1, align 8, !tbaa !10 %16 = load i64, ptr @BFA_STATUS_OK, align 8, !tbaa !6 %17 = icmp eq i64 %15, %16 br i1 %17, label %21, label %18 18: ; preds = %9 %19 = trunc i64 %15 to i32 %20 = tail call i32 @bfa_trc(ptr noundef %0, i32 noundef %19) #2 br label %21 21: ; preds = %9, %18, %7 %22 = tail call i32 @bfa_trc(ptr noundef %0, i32 noundef 26214) #2 ret i32 0 } declare i64 @bfad_chk_iocmd_sz(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @bfa_ioc_fw_stats_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @bfa_trc(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"bfa_bsg_ioc_fwstats_s", !7, i64 0}
linux_drivers_scsi_bfa_extr_bfad_bsg.c_bfad_iocmd_ioc_get_fwstats
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-core/extr_dvb_ringbuffer.c_dvb_ringbuffer_flush_spinlock_wakeup.c' source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_ringbuffer.c_dvb_ringbuffer_flush_spinlock_wakeup.c" target datalayout = "e-m:e-p270:32:32-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.dvb_ringbuffer = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @dvb_ringbuffer_flush_spinlock_wakeup(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.dvb_ringbuffer, ptr %0, i64 0, i32 1 %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %4 = tail call i32 @dvb_ringbuffer_flush(ptr noundef %0) #2 %5 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 %6 = tail call i32 @wake_up(ptr noundef %0) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dvb_ringbuffer_flush(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wake_up(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/media/dvb-core/extr_dvb_ringbuffer.c_dvb_ringbuffer_flush_spinlock_wakeup.c' source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_ringbuffer.c_dvb_ringbuffer_flush_spinlock_wakeup.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 @dvb_ringbuffer_flush_spinlock_wakeup(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %4 = tail call i32 @dvb_ringbuffer_flush(ptr noundef %0) #2 %5 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 %6 = tail call i32 @wake_up(ptr noundef %0) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dvb_ringbuffer_flush(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wake_up(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_media_dvb-core_extr_dvb_ringbuffer.c_dvb_ringbuffer_flush_spinlock_wakeup
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_id3v1.c_ff_id3v1_read.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_id3v1.c_ff_id3v1_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" @ID3v1_TAG_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @AVIO_SEEKABLE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ff_id3v1_read(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ID3v1_TAG_SIZE, align 4, !tbaa !5 %3 = zext i32 %2 to i64 %4 = alloca i32, i64 %3, align 16 %5 = load ptr, ptr %0, align 8, !tbaa !9 %6 = tail call i32 @avio_tell(ptr noundef %5) #2 %7 = load ptr, ptr %0, align 8, !tbaa !9 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = load i32, ptr @AVIO_SEEKABLE_NORMAL, align 4, !tbaa !5 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %11, label %31, label %12 12: ; preds = %1 %13 = tail call i32 @avio_size(ptr noundef nonnull %7) #2 %14 = icmp sgt i32 %13, 128 br i1 %14, label %15, label %31 15: ; preds = %12 %16 = load ptr, ptr %0, align 8, !tbaa !9 %17 = add nsw i32 %13, -128 %18 = load i32, ptr @SEEK_SET, align 4, !tbaa !5 %19 = tail call i32 @avio_seek(ptr noundef %16, i32 noundef %17, i32 noundef %18) #2 %20 = load ptr, ptr %0, align 8, !tbaa !9 %21 = load i32, ptr @ID3v1_TAG_SIZE, align 4, !tbaa !5 %22 = call i32 @avio_read(ptr noundef %20, ptr noundef nonnull %4, i32 noundef %21) #2 %23 = load i32, ptr @ID3v1_TAG_SIZE, align 4, !tbaa !5 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %15 %26 = call i32 @parse_tag(ptr noundef nonnull %0, ptr noundef nonnull %4) #2 br label %27 27: ; preds = %25, %15 %28 = load ptr, ptr %0, align 8, !tbaa !9 %29 = load i32, ptr @SEEK_SET, align 4, !tbaa !5 %30 = call i32 @avio_seek(ptr noundef %28, i32 noundef %6, i32 noundef %29) #2 br label %31 31: ; preds = %12, %27, %1 ret void } declare i32 @avio_tell(ptr noundef) local_unnamed_addr #1 declare i32 @avio_size(ptr noundef) local_unnamed_addr #1 declare i32 @avio_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @parse_tag(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, !11, i64 0} !10 = !{!"TYPE_8__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"TYPE_9__", !6, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_id3v1.c_ff_id3v1_read.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_id3v1.c_ff_id3v1_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ID3v1_TAG_SIZE = common local_unnamed_addr global i32 0, align 4 @AVIO_SEEKABLE_NORMAL = common local_unnamed_addr global i32 0, align 4 @SEEK_SET = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ff_id3v1_read(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ID3v1_TAG_SIZE, align 4, !tbaa !6 %3 = zext i32 %2 to i64 %4 = alloca i32, i64 %3, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !10 %6 = tail call i32 @avio_tell(ptr noundef %5) #2 %7 = load ptr, ptr %0, align 8, !tbaa !10 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = load i32, ptr @AVIO_SEEKABLE_NORMAL, align 4, !tbaa !6 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %11, label %31, label %12 12: ; preds = %1 %13 = tail call i32 @avio_size(ptr noundef nonnull %7) #2 %14 = icmp sgt i32 %13, 128 br i1 %14, label %15, label %31 15: ; preds = %12 %16 = load ptr, ptr %0, align 8, !tbaa !10 %17 = add nsw i32 %13, -128 %18 = load i32, ptr @SEEK_SET, align 4, !tbaa !6 %19 = tail call i32 @avio_seek(ptr noundef %16, i32 noundef %17, i32 noundef %18) #2 %20 = load ptr, ptr %0, align 8, !tbaa !10 %21 = load i32, ptr @ID3v1_TAG_SIZE, align 4, !tbaa !6 %22 = call i32 @avio_read(ptr noundef %20, ptr noundef nonnull %4, i32 noundef %21) #2 %23 = load i32, ptr @ID3v1_TAG_SIZE, align 4, !tbaa !6 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %15 %26 = call i32 @parse_tag(ptr noundef nonnull %0, ptr noundef nonnull %4) #2 br label %27 27: ; preds = %25, %15 %28 = load ptr, ptr %0, align 8, !tbaa !10 %29 = load i32, ptr @SEEK_SET, align 4, !tbaa !6 %30 = call i32 @avio_seek(ptr noundef %28, i32 noundef %6, i32 noundef %29) #2 br label %31 31: ; preds = %12, %27, %1 ret void } declare i32 @avio_tell(ptr noundef) local_unnamed_addr #1 declare i32 @avio_size(ptr noundef) local_unnamed_addr #1 declare i32 @avio_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @parse_tag(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, !12, i64 0} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_9__", !7, i64 0}
FFmpeg_libavformat_extr_id3v1.c_ff_id3v1_read
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_vivante_fbdev_ctx.c_gfx_ctx_vivante_get_proc_address.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_vivante_fbdev_ctx.c_gfx_ctx_vivante_get_proc_address.c" target datalayout = "e-m:e-p270:32:32-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 @gfx_ctx_vivante_get_proc_address], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noalias noundef ptr @gfx_ctx_vivante_get_proc_address(ptr nocapture readnone %0) #0 { ret ptr null } 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/RetroArch/gfx/drivers_context/extr_vivante_fbdev_ctx.c_gfx_ctx_vivante_get_proc_address.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_vivante_fbdev_ctx.c_gfx_ctx_vivante_get_proc_address.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 @gfx_ctx_vivante_get_proc_address], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noalias noundef ptr @gfx_ctx_vivante_get_proc_address(ptr nocapture readnone %0) #0 { ret ptr null } 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)"}
RetroArch_gfx_drivers_context_extr_vivante_fbdev_ctx.c_gfx_ctx_vivante_get_proc_address
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/vnc/extr_vnc.c_ui_destblt.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/vnc/extr_vnc.c_ui_destblt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @server = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"ui_destblt: opcode=%d %d,%d %dx%d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ui_destblt(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { switch i32 %0, label %38 [ i32 0, label %6 i32 15, label %6 i32 5, label %8 ] 6: ; preds = %5, %5 %7 = tail call i32 @ui_rect(i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 255) #2 br label %50 8: ; preds = %5 %9 = load i32, ptr @server, align 4, !tbaa !5 %10 = tail call ptr @vncGetRect(i32 noundef %9, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %11 = mul nsw i32 %4, %3 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %50 13: ; preds = %8 %14 = zext nneg i32 %11 to i64 %15 = and i64 %14, 1 %16 = icmp eq i32 %11, 1 br i1 %16, label %40, label %17 17: ; preds = %13 %18 = and i64 %14, 2147483646 br label %19 19: ; preds = %19, %17 %20 = phi i64 [ 0, %17 ], [ %35, %19 ] %21 = phi i64 [ 0, %17 ], [ %36, %19 ] %22 = load i64, ptr %10, align 8, !tbaa !9 %23 = inttoptr i64 %22 to ptr %24 = getelementptr inbounds i8, ptr %23, i64 %20 %25 = load i8, ptr %24, align 1, !tbaa !12 %26 = icmp eq i8 %25, 0 %27 = zext i1 %26 to i8 store i8 %27, ptr %24, align 1, !tbaa !12 %28 = or disjoint i64 %20, 1 %29 = load i64, ptr %10, align 8, !tbaa !9 %30 = inttoptr i64 %29 to ptr %31 = getelementptr inbounds i8, ptr %30, i64 %28 %32 = load i8, ptr %31, align 1, !tbaa !12 %33 = icmp eq i8 %32, 0 %34 = zext i1 %33 to i8 store i8 %34, ptr %31, align 1, !tbaa !12 %35 = add nuw nsw i64 %20, 2 %36 = add i64 %21, 2 %37 = icmp eq i64 %36, %18 br i1 %37, label %40, label %19, !llvm.loop !13 38: ; preds = %5 %39 = tail call i32 @unimpl(ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 br label %50 40: ; preds = %19, %13 %41 = phi i64 [ 0, %13 ], [ %35, %19 ] %42 = icmp eq i64 %15, 0 br i1 %42, label %50, label %43 43: ; preds = %40 %44 = load i64, ptr %10, align 8, !tbaa !9 %45 = inttoptr i64 %44 to ptr %46 = getelementptr inbounds i8, ptr %45, i64 %41 %47 = load i8, ptr %46, align 1, !tbaa !12 %48 = icmp eq i8 %47, 0 %49 = zext i1 %48 to i8 store i8 %49, ptr %46, align 1, !tbaa !12 br label %50 50: ; preds = %43, %40, %8, %38, %6 ret void } declare i32 @ui_rect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @vncGetRect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @unimpl(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"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_3__", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!7, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/vnc/extr_vnc.c_ui_destblt.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/vnc/extr_vnc.c_ui_destblt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @server = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"ui_destblt: opcode=%d %d,%d %dx%d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ui_destblt(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { switch i32 %0, label %25 [ i32 0, label %6 i32 15, label %6 i32 5, label %8 ] 6: ; preds = %5, %5 %7 = tail call i32 @ui_rect(i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 255) #2 br label %27 8: ; preds = %5 %9 = load i32, ptr @server, align 4, !tbaa !6 %10 = tail call ptr @vncGetRect(i32 noundef %9, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %11 = mul nsw i32 %4, %3 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %27 13: ; preds = %8 %14 = zext nneg i32 %11 to i64 br label %15 15: ; preds = %13, %15 %16 = phi i64 [ 0, %13 ], [ %23, %15 ] %17 = load i64, ptr %10, align 8, !tbaa !10 %18 = inttoptr i64 %17 to ptr %19 = getelementptr inbounds i8, ptr %18, i64 %16 %20 = load i8, ptr %19, align 1, !tbaa !13 %21 = icmp eq i8 %20, 0 %22 = zext i1 %21 to i8 store i8 %22, ptr %19, align 1, !tbaa !13 %23 = add nuw nsw i64 %16, 1 %24 = icmp eq i64 %23, %14 br i1 %24, label %27, label %15, !llvm.loop !14 25: ; preds = %5 %26 = tail call i32 @unimpl(ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 br label %27 27: ; preds = %15, %8, %25, %6 ret void } declare i32 @ui_rect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @vncGetRect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @unimpl(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"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
reactos_modules_rosapps_applications_net_tsclient_rdesktop_vnc_extr_vnc.c_ui_destblt
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_utils.c_l2cu_allocate_ccb.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_utils.c_l2cu_allocate_ccb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_15__ = type { ptr, ptr, ptr } %struct.TYPE_13__ = type { i32, i32, %struct.TYPE_14__, ptr, ptr, ptr, i64, i32, i64, ptr, %struct.TYPE_12__, ptr, ptr, i32, %struct.TYPE_14__, i32, ptr, i64, %struct.TYPE_14__, %struct.TYPE_14__, i64, i32, ptr, ptr, i64, i32, ptr, ptr } %struct.TYPE_12__ = type { ptr, ptr, ptr, %struct.TYPE_14__, %struct.TYPE_14__ } %struct.TYPE_14__ = type { i64, ptr, i32, i32, ptr, i32, i32, i32, %struct.TYPE_11__, i32, i32 } %struct.TYPE_11__ = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [30 x i8] c"l2cu_allocate_ccb: cid 0x%04x\00", align 1 @l2cb = dso_local local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 8 @L2CAP_BASE_APPL_CID = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [70 x i8] c"l2cu_allocate_ccb: could not find CCB for CID 0x%04x in the free list\00", align 1 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_CHNL_PRIORITY_LOW = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_FLUSH_TO = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_MTU = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_SERV_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_TOKEN_RATE = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_BUCKET_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_PEAK_BANDWIDTH = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_LATENCY = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_DELAY = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global ptr null, align 8 @L2CAP_MAX_FCR_CFG_TRIES = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_BASIC_MODE = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_CHAN_OPT_BASIC = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_RX_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_TX_BUF_SIZE = dso_local local_unnamed_addr global ptr null, align 8 @L2CAP_USER_RX_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_USER_TX_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_MTU_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @QUEUE_SIZE_MAX = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [47 x i8] c"l2cu_allocate_ccb: cid 0x%04x config_done:0x%x\00", align 1 @CST_CLOSED = dso_local local_unnamed_addr global i32 0, align 4 @L2CAP_CHNL_DATA_RATE_LOW = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @l2cu_allocate_ccb(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_DEBUG(ptr noundef nonnull @.str, i64 noundef %1) #3 %4 = load ptr, ptr getelementptr inbounds (%struct.TYPE_15__, ptr @l2cb, i64 0, i32 2), align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %155, label %6 6: ; preds = %2 %7 = icmp eq i64 %1, 0 br i1 %7, label %8, label %13 8: ; preds = %6 %9 = getelementptr inbounds %struct.TYPE_13__, ptr %4, i64 0, i32 27 %10 = load ptr, ptr %9, align 8, !tbaa !10 store ptr %10, ptr getelementptr inbounds (%struct.TYPE_15__, ptr @l2cb, i64 0, i32 2), align 8, !tbaa !5 %11 = load i64, ptr @L2CAP_BASE_APPL_CID, align 8, !tbaa !17 %12 = load ptr, ptr @l2cb, align 8, !tbaa !18 br label %38 13: ; preds = %6 %14 = load ptr, ptr @l2cb, align 8, !tbaa !18 %15 = load i64, ptr @L2CAP_BASE_APPL_CID, align 8, !tbaa !17 %16 = sub nsw i64 %1, %15 %17 = getelementptr inbounds %struct.TYPE_13__, ptr %14, i64 %16 %18 = icmp eq ptr %17, %4 br i1 %18, label %19, label %22 19: ; preds = %13 %20 = getelementptr inbounds %struct.TYPE_13__, ptr %14, i64 %16, i32 27 %21 = load ptr, ptr %20, align 8, !tbaa !10 store ptr %21, ptr getelementptr inbounds (%struct.TYPE_15__, ptr @l2cb, i64 0, i32 2), align 8, !tbaa !5 br label %38 22: ; preds = %13, %25 %23 = phi ptr [ %27, %25 ], [ %4, %13 ] %24 = icmp eq ptr %23, null br i1 %24, label %36, label %25 25: ; preds = %22 %26 = getelementptr inbounds %struct.TYPE_13__, ptr %23, i64 0, i32 27 %27 = load ptr, ptr %26, align 8, !tbaa !10 %28 = icmp eq ptr %27, %17 br i1 %28, label %29, label %22, !llvm.loop !19 29: ; preds = %25 %30 = getelementptr inbounds %struct.TYPE_13__, ptr %23, i64 0, i32 27 %31 = getelementptr inbounds %struct.TYPE_13__, ptr %14, i64 %16, i32 27 %32 = load ptr, ptr %31, align 8, !tbaa !10 store ptr %32, ptr %30, align 8, !tbaa !10 %33 = load ptr, ptr getelementptr inbounds (%struct.TYPE_15__, ptr @l2cb, i64 0, i32 1), align 8, !tbaa !21 %34 = icmp eq ptr %17, %33 br i1 %34, label %35, label %38 35: ; preds = %29 store ptr %23, ptr getelementptr inbounds (%struct.TYPE_15__, ptr @l2cb, i64 0, i32 1), align 8, !tbaa !21 br label %38 36: ; preds = %22 %37 = tail call i32 @L2CAP_TRACE_ERROR(ptr noundef nonnull @.str.1, i64 noundef %1) #3 br label %155 38: ; preds = %35, %29, %19, %8 %39 = phi ptr [ %12, %8 ], [ %14, %19 ], [ %14, %29 ], [ %14, %35 ] %40 = phi i64 [ %11, %8 ], [ %15, %19 ], [ %15, %29 ], [ %15, %35 ] %41 = phi ptr [ %4, %8 ], [ %4, %19 ], [ %17, %29 ], [ %17, %35 ] %42 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 26 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %42, i8 0, i64 16, i1 false) %43 = load i32, ptr @TRUE, align 4, !tbaa !22 %44 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 25 store i32 %43, ptr %44, align 8, !tbaa !23 %45 = ptrtoint ptr %41 to i64 %46 = ptrtoint ptr %39 to i64 %47 = sub i64 %45, %46 %48 = sdiv exact i64 %47, 680 %49 = add nsw i64 %48, %40 %50 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 24 store i64 %49, ptr %50, align 8, !tbaa !24 %51 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 23 store ptr %0, ptr %51, align 8, !tbaa !25 %52 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 22 store ptr null, ptr %52, align 8, !tbaa !26 store i32 0, ptr %41, align 8, !tbaa !27 %53 = load i32, ptr @L2CAP_CHNL_PRIORITY_LOW, align 4, !tbaa !22 %54 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 21 store i32 %53, ptr %54, align 8, !tbaa !28 %55 = icmp eq ptr %0, null br i1 %55, label %58, label %56 56: ; preds = %38 %57 = tail call i32 @l2cu_enqueue_ccb(ptr noundef nonnull %41) #3 br label %58 58: ; preds = %56, %38 %59 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 20 store i64 0, ptr %59, align 8, !tbaa !29 %60 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 19 %61 = tail call i32 @memset(ptr noundef nonnull %60, i32 noundef 0, i32 noundef 4) #3 %62 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 18 %63 = tail call i32 @memset(ptr noundef nonnull %62, i32 noundef 0, i32 noundef 4) #3 %64 = load i32, ptr @L2CAP_DEFAULT_FLUSH_TO, align 4, !tbaa !22 %65 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 18, i32 10 store i32 %64, ptr %65, align 8, !tbaa !30 %66 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 19, i32 10 store i32 %64, ptr %66, align 8, !tbaa !31 %67 = load i32, ptr @L2CAP_DEFAULT_MTU, align 4, !tbaa !22 %68 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 18, i32 9 store i32 %67, ptr %68, align 4, !tbaa !32 %69 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 19, i32 9 store i32 %67, ptr %69, align 4, !tbaa !33 %70 = load i32, ptr @L2CAP_DEFAULT_SERV_TYPE, align 4, !tbaa !22 %71 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 18, i32 8 %72 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 18, i32 8, i32 5 store i32 %70, ptr %72, align 4, !tbaa !34 %73 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 19, i32 8 %74 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 19, i32 8, i32 5 store i32 %70, ptr %74, align 4, !tbaa !35 %75 = load i32, ptr @L2CAP_DEFAULT_TOKEN_RATE, align 4, !tbaa !22 %76 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 18, i32 8, i32 4 store i32 %75, ptr %76, align 4, !tbaa !36 %77 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 19, i32 8, i32 4 store i32 %75, ptr %77, align 4, !tbaa !37 %78 = load i32, ptr @L2CAP_DEFAULT_BUCKET_SIZE, align 4, !tbaa !22 %79 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 18, i32 8, i32 3 store i32 %78, ptr %79, align 4, !tbaa !38 %80 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 19, i32 8, i32 3 store i32 %78, ptr %80, align 4, !tbaa !39 %81 = load i32, ptr @L2CAP_DEFAULT_PEAK_BANDWIDTH, align 4, !tbaa !22 %82 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 18, i32 8, i32 2 store i32 %81, ptr %82, align 4, !tbaa !40 %83 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 19, i32 8, i32 2 store i32 %81, ptr %83, align 4, !tbaa !41 %84 = load i32, ptr @L2CAP_DEFAULT_LATENCY, align 4, !tbaa !22 %85 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 18, i32 8, i32 1 store i32 %84, ptr %85, align 4, !tbaa !42 %86 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 19, i32 8, i32 1 store i32 %84, ptr %86, align 4, !tbaa !43 %87 = load i32, ptr @L2CAP_DEFAULT_DELAY, align 4, !tbaa !22 store i32 %87, ptr %71, align 4, !tbaa !44 store i32 %87, ptr %73, align 4, !tbaa !45 %88 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 17 store i64 0, ptr %88, align 8, !tbaa !46 %89 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 14 %90 = tail call i32 @memset(ptr noundef nonnull %89, i32 noundef 0, i32 noundef 4) #3 %91 = load ptr, ptr @FALSE, align 8, !tbaa !47 %92 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 16 store ptr %91, ptr %92, align 8, !tbaa !48 %93 = load i32, ptr @L2CAP_MAX_FCR_CFG_TRIES, align 4, !tbaa !22 %94 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 15 store i32 %93, ptr %94, align 8, !tbaa !49 %95 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 10 %96 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 10, i32 4 %97 = tail call i32 @btu_free_quick_timer(ptr noundef nonnull %96) #3 %98 = tail call i32 @memset(ptr noundef nonnull %96, i32 noundef 0, i32 noundef 4) #3 %99 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 10, i32 4, i32 1 store ptr %41, ptr %99, align 8, !tbaa !50 %100 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 10, i32 3 %101 = tail call i32 @btu_free_quick_timer(ptr noundef nonnull %100) #3 %102 = tail call i32 @memset(ptr noundef nonnull %100, i32 noundef 0, i32 noundef 4) #3 %103 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 10, i32 3, i32 1 store ptr %41, ptr %103, align 8, !tbaa !51 %104 = tail call i32 @l2c_fcr_free_timer(ptr noundef nonnull %41) #3 %105 = load i32, ptr @L2CAP_FCR_BASIC_MODE, align 4, !tbaa !22 %106 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 14, i32 7 store i32 %105, ptr %106, align 8, !tbaa !52 %107 = load i32, ptr @L2CAP_FCR_CHAN_OPT_BASIC, align 4, !tbaa !22 %108 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 14, i32 6 store i32 %107, ptr %108, align 4, !tbaa !53 %109 = load i32, ptr @L2CAP_FCR_RX_BUF_SIZE, align 4, !tbaa !22 %110 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 14, i32 5 store i32 %109, ptr %110, align 8, !tbaa !54 %111 = load ptr, ptr @L2CAP_FCR_TX_BUF_SIZE, align 8, !tbaa !47 %112 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 14, i32 4 store ptr %111, ptr %112, align 8, !tbaa !55 %113 = load i32, ptr @L2CAP_USER_RX_BUF_SIZE, align 4, !tbaa !22 %114 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 14, i32 3 store i32 %113, ptr %114, align 4, !tbaa !56 %115 = load i32, ptr @L2CAP_USER_TX_BUF_SIZE, align 4, !tbaa !22 %116 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 14, i32 2 store i32 %115, ptr %116, align 8, !tbaa !57 %117 = load i32, ptr @L2CAP_MTU_SIZE, align 4, !tbaa !22 %118 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 13 store i32 %117, ptr %118, align 8, !tbaa !58 %119 = getelementptr inbounds i8, ptr %111, i64 -32 %120 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 12 store ptr %119, ptr %120, align 8, !tbaa !59 %121 = load i32, ptr @QUEUE_SIZE_MAX, align 4, !tbaa !22 %122 = tail call ptr @fixed_queue_new(i32 noundef %121) #3 %123 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 11 store ptr %122, ptr %123, align 8, !tbaa !60 %124 = load i32, ptr @QUEUE_SIZE_MAX, align 4, !tbaa !22 %125 = tail call ptr @fixed_queue_new(i32 noundef %124) #3 %126 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 10, i32 2 store ptr %125, ptr %126, align 8, !tbaa !61 %127 = load i32, ptr @QUEUE_SIZE_MAX, align 4, !tbaa !22 %128 = tail call ptr @fixed_queue_new(i32 noundef %127) #3 %129 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 10, i32 1 store ptr %128, ptr %129, align 8, !tbaa !62 %130 = load i32, ptr @QUEUE_SIZE_MAX, align 4, !tbaa !22 %131 = tail call ptr @fixed_queue_new(i32 noundef %130) #3 store ptr %131, ptr %95, align 8, !tbaa !63 %132 = load ptr, ptr @FALSE, align 8, !tbaa !47 %133 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 9 store ptr %132, ptr %133, align 8, !tbaa !64 %134 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 1 store i32 2, ptr %134, align 4, !tbaa !65 %135 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 8 br i1 %7, label %136, label %137 136: ; preds = %58 store i64 0, ptr %135, align 8, !tbaa !66 br label %141 137: ; preds = %58 %138 = load i64, ptr %135, align 8, !tbaa !66 %139 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_DEBUG(ptr noundef nonnull @.str.2, i64 noundef %1, i64 noundef %138) #3 %140 = load ptr, ptr @FALSE, align 8, !tbaa !47 br label %141 141: ; preds = %137, %136 %142 = phi ptr [ %140, %137 ], [ %132, %136 ] %143 = load i32, ptr @CST_CLOSED, align 4, !tbaa !22 %144 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 7 store i32 %143, ptr %144, align 8, !tbaa !67 %145 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 6 store i64 0, ptr %145, align 8, !tbaa !68 %146 = load ptr, ptr @L2CAP_CHNL_DATA_RATE_LOW, align 8, !tbaa !47 %147 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 5 store ptr %146, ptr %147, align 8, !tbaa !69 %148 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 4 store ptr %146, ptr %148, align 8, !tbaa !70 %149 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 3 store ptr %142, ptr %149, align 8, !tbaa !71 %150 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 2 %151 = tail call i32 @btu_free_timer(ptr noundef nonnull %150) #3 %152 = tail call i32 @memset(ptr noundef nonnull %150, i32 noundef 0, i32 noundef 4) #3 %153 = getelementptr inbounds %struct.TYPE_13__, ptr %41, i64 0, i32 2, i32 1 store ptr %41, ptr %153, align 8, !tbaa !72 store i64 0, ptr %150, align 8, !tbaa !73 %154 = tail call i32 (...) @l2c_link_adjust_chnl_allocation() #3 br label %155 155: ; preds = %2, %141, %36 %156 = phi ptr [ %41, %141 ], [ null, %36 ], [ null, %2 ] ret ptr %156 } declare i32 @L2CAP_TRACE_DEBUG(ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @L2CAP_TRACE_ERROR(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @l2cu_enqueue_ccb(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btu_free_quick_timer(ptr noundef) local_unnamed_addr #1 declare i32 @l2c_fcr_free_timer(ptr noundef) local_unnamed_addr #1 declare ptr @fixed_queue_new(i32 noundef) local_unnamed_addr #1 declare i32 @btu_free_timer(ptr noundef) local_unnamed_addr #1 declare i32 @l2c_link_adjust_chnl_allocation(...) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"TYPE_15__", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 672} !11 = !{!"TYPE_13__", !12, i64 0, !12, i64 4, !13, i64 8, !7, i64 88, !7, i64 96, !7, i64 104, !14, i64 112, !12, i64 120, !14, i64 128, !7, i64 136, !16, i64 144, !7, i64 328, !7, i64 336, !12, i64 344, !13, i64 352, !12, i64 432, !7, i64 440, !14, i64 448, !13, i64 456, !13, i64 536, !14, i64 616, !12, i64 624, !7, i64 632, !7, i64 640, !14, i64 648, !12, i64 656, !7, i64 664, !7, i64 672} !12 = !{!"int", !8, i64 0} !13 = !{!"TYPE_14__", !14, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !7, i64 24, !12, i64 32, !12, i64 36, !12, i64 40, !15, i64 44, !12, i64 68, !12, i64 72} !14 = !{!"long", !8, i64 0} !15 = !{!"TYPE_11__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20} !16 = !{!"TYPE_12__", !7, i64 0, !7, i64 8, !7, i64 16, !13, i64 24, !13, i64 104} !17 = !{!14, !14, i64 0} !18 = !{!6, !7, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!6, !7, i64 8} !22 = !{!12, !12, i64 0} !23 = !{!11, !12, i64 656} !24 = !{!11, !14, i64 648} !25 = !{!11, !7, i64 640} !26 = !{!11, !7, i64 632} !27 = !{!11, !12, i64 0} !28 = !{!11, !12, i64 624} !29 = !{!11, !14, i64 616} !30 = !{!11, !12, i64 528} !31 = !{!11, !12, i64 608} !32 = !{!11, !12, i64 524} !33 = !{!11, !12, i64 604} !34 = !{!11, !12, i64 520} !35 = !{!11, !12, i64 600} !36 = !{!11, !12, i64 516} !37 = !{!11, !12, i64 596} !38 = !{!11, !12, i64 512} !39 = !{!11, !12, i64 592} !40 = !{!11, !12, i64 508} !41 = !{!11, !12, i64 588} !42 = !{!11, !12, i64 504} !43 = !{!11, !12, i64 584} !44 = !{!11, !12, i64 500} !45 = !{!11, !12, i64 580} !46 = !{!11, !14, i64 448} !47 = !{!7, !7, i64 0} !48 = !{!11, !7, i64 440} !49 = !{!11, !12, i64 432} !50 = !{!11, !7, i64 256} !51 = !{!11, !7, i64 176} !52 = !{!11, !12, i64 392} !53 = !{!11, !12, i64 388} !54 = !{!11, !12, i64 384} !55 = !{!11, !7, i64 376} !56 = !{!11, !12, i64 372} !57 = !{!11, !12, i64 368} !58 = !{!11, !12, i64 344} !59 = !{!11, !7, i64 336} !60 = !{!11, !7, i64 328} !61 = !{!11, !7, i64 160} !62 = !{!11, !7, i64 152} !63 = !{!11, !7, i64 144} !64 = !{!11, !7, i64 136} !65 = !{!11, !12, i64 4} !66 = !{!11, !14, i64 128} !67 = !{!11, !12, i64 120} !68 = !{!11, !14, i64 112} !69 = !{!11, !7, i64 104} !70 = !{!11, !7, i64 96} !71 = !{!11, !7, i64 88} !72 = !{!11, !7, i64 16} !73 = !{!11, !14, i64 8}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_utils.c_l2cu_allocate_ccb.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_utils.c_l2cu_allocate_ccb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_15__ = type { ptr, ptr, ptr } %struct.TYPE_13__ = type { i32, i32, %struct.TYPE_14__, ptr, ptr, ptr, i64, i32, i64, ptr, %struct.TYPE_12__, ptr, ptr, i32, %struct.TYPE_14__, i32, ptr, i64, %struct.TYPE_14__, %struct.TYPE_14__, i64, i32, ptr, ptr, i64, i32, ptr, ptr } %struct.TYPE_12__ = type { ptr, ptr, ptr, %struct.TYPE_14__, %struct.TYPE_14__ } %struct.TYPE_14__ = type { i64, ptr, i32, i32, ptr, i32, i32, i32, %struct.TYPE_11__, i32, i32 } %struct.TYPE_11__ = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [30 x i8] c"l2cu_allocate_ccb: cid 0x%04x\00", align 1 @l2cb = common local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 8 @L2CAP_BASE_APPL_CID = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [70 x i8] c"l2cu_allocate_ccb: could not find CCB for CID 0x%04x in the free list\00", align 1 @TRUE = common local_unnamed_addr global i32 0, align 4 @L2CAP_CHNL_PRIORITY_LOW = common local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_FLUSH_TO = common local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_MTU = common local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_SERV_TYPE = common local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_TOKEN_RATE = common local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_BUCKET_SIZE = common local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_PEAK_BANDWIDTH = common local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_LATENCY = common local_unnamed_addr global i32 0, align 4 @L2CAP_DEFAULT_DELAY = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global ptr null, align 8 @L2CAP_MAX_FCR_CFG_TRIES = common local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_BASIC_MODE = common local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_CHAN_OPT_BASIC = common local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_RX_BUF_SIZE = common local_unnamed_addr global i32 0, align 4 @L2CAP_FCR_TX_BUF_SIZE = common local_unnamed_addr global ptr null, align 8 @L2CAP_USER_RX_BUF_SIZE = common local_unnamed_addr global i32 0, align 4 @L2CAP_USER_TX_BUF_SIZE = common local_unnamed_addr global i32 0, align 4 @L2CAP_MTU_SIZE = common local_unnamed_addr global i32 0, align 4 @QUEUE_SIZE_MAX = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [47 x i8] c"l2cu_allocate_ccb: cid 0x%04x config_done:0x%x\00", align 1 @CST_CLOSED = common local_unnamed_addr global i32 0, align 4 @L2CAP_CHNL_DATA_RATE_LOW = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @l2cu_allocate_ccb(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_DEBUG(ptr noundef nonnull @.str, i64 noundef %1) #3 %4 = load ptr, ptr getelementptr inbounds (i8, ptr @l2cb, i64 16), align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %155, label %6 6: ; preds = %2 %7 = icmp eq i64 %1, 0 br i1 %7, label %8, label %13 8: ; preds = %6 %9 = getelementptr inbounds i8, ptr %4, i64 672 %10 = load ptr, ptr %9, align 8, !tbaa !11 store ptr %10, ptr getelementptr inbounds (i8, ptr @l2cb, i64 16), align 8, !tbaa !6 %11 = load i64, ptr @L2CAP_BASE_APPL_CID, align 8, !tbaa !18 %12 = load ptr, ptr @l2cb, align 8, !tbaa !19 br label %38 13: ; preds = %6 %14 = load ptr, ptr @l2cb, align 8, !tbaa !19 %15 = load i64, ptr @L2CAP_BASE_APPL_CID, align 8, !tbaa !18 %16 = sub nsw i64 %1, %15 %17 = getelementptr inbounds %struct.TYPE_13__, ptr %14, i64 %16 %18 = icmp eq ptr %17, %4 br i1 %18, label %19, label %22 19: ; preds = %13 %20 = getelementptr inbounds i8, ptr %17, i64 672 %21 = load ptr, ptr %20, align 8, !tbaa !11 store ptr %21, ptr getelementptr inbounds (i8, ptr @l2cb, i64 16), align 8, !tbaa !6 br label %38 22: ; preds = %13, %25 %23 = phi ptr [ %27, %25 ], [ %4, %13 ] %24 = icmp eq ptr %23, null br i1 %24, label %36, label %25 25: ; preds = %22 %26 = getelementptr inbounds i8, ptr %23, i64 672 %27 = load ptr, ptr %26, align 8, !tbaa !11 %28 = icmp eq ptr %27, %17 br i1 %28, label %29, label %22, !llvm.loop !20 29: ; preds = %25 %30 = getelementptr inbounds i8, ptr %23, i64 672 %31 = getelementptr inbounds i8, ptr %17, i64 672 %32 = load ptr, ptr %31, align 8, !tbaa !11 store ptr %32, ptr %30, align 8, !tbaa !11 %33 = load ptr, ptr getelementptr inbounds (i8, ptr @l2cb, i64 8), align 8, !tbaa !22 %34 = icmp eq ptr %17, %33 br i1 %34, label %35, label %38 35: ; preds = %29 store ptr %23, ptr getelementptr inbounds (i8, ptr @l2cb, i64 8), align 8, !tbaa !22 br label %38 36: ; preds = %22 %37 = tail call i32 @L2CAP_TRACE_ERROR(ptr noundef nonnull @.str.1, i64 noundef %1) #3 br label %155 38: ; preds = %35, %29, %19, %8 %39 = phi ptr [ %12, %8 ], [ %14, %19 ], [ %14, %29 ], [ %14, %35 ] %40 = phi i64 [ %11, %8 ], [ %15, %19 ], [ %15, %29 ], [ %15, %35 ] %41 = phi ptr [ %4, %8 ], [ %17, %19 ], [ %17, %29 ], [ %17, %35 ] %42 = getelementptr inbounds i8, ptr %41, i64 664 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %42, i8 0, i64 16, i1 false) %43 = load i32, ptr @TRUE, align 4, !tbaa !23 %44 = getelementptr inbounds i8, ptr %41, i64 656 store i32 %43, ptr %44, align 8, !tbaa !24 %45 = ptrtoint ptr %41 to i64 %46 = ptrtoint ptr %39 to i64 %47 = sub i64 %45, %46 %48 = sdiv exact i64 %47, 680 %49 = add nsw i64 %48, %40 %50 = getelementptr inbounds i8, ptr %41, i64 648 store i64 %49, ptr %50, align 8, !tbaa !25 %51 = getelementptr inbounds i8, ptr %41, i64 640 store ptr %0, ptr %51, align 8, !tbaa !26 %52 = getelementptr inbounds i8, ptr %41, i64 632 store ptr null, ptr %52, align 8, !tbaa !27 store i32 0, ptr %41, align 8, !tbaa !28 %53 = load i32, ptr @L2CAP_CHNL_PRIORITY_LOW, align 4, !tbaa !23 %54 = getelementptr inbounds i8, ptr %41, i64 624 store i32 %53, ptr %54, align 8, !tbaa !29 %55 = icmp eq ptr %0, null br i1 %55, label %58, label %56 56: ; preds = %38 %57 = tail call i32 @l2cu_enqueue_ccb(ptr noundef nonnull %41) #3 br label %58 58: ; preds = %56, %38 %59 = getelementptr inbounds i8, ptr %41, i64 616 store i64 0, ptr %59, align 8, !tbaa !30 %60 = getelementptr inbounds i8, ptr %41, i64 536 %61 = tail call i32 @memset(ptr noundef nonnull %60, i32 noundef 0, i32 noundef 4) #3 %62 = getelementptr inbounds i8, ptr %41, i64 456 %63 = tail call i32 @memset(ptr noundef nonnull %62, i32 noundef 0, i32 noundef 4) #3 %64 = load i32, ptr @L2CAP_DEFAULT_FLUSH_TO, align 4, !tbaa !23 %65 = getelementptr inbounds i8, ptr %41, i64 528 store i32 %64, ptr %65, align 8, !tbaa !31 %66 = getelementptr inbounds i8, ptr %41, i64 608 store i32 %64, ptr %66, align 8, !tbaa !32 %67 = load i32, ptr @L2CAP_DEFAULT_MTU, align 4, !tbaa !23 %68 = getelementptr inbounds i8, ptr %41, i64 524 store i32 %67, ptr %68, align 4, !tbaa !33 %69 = getelementptr inbounds i8, ptr %41, i64 604 store i32 %67, ptr %69, align 4, !tbaa !34 %70 = load i32, ptr @L2CAP_DEFAULT_SERV_TYPE, align 4, !tbaa !23 %71 = getelementptr inbounds i8, ptr %41, i64 500 %72 = getelementptr inbounds i8, ptr %41, i64 520 store i32 %70, ptr %72, align 4, !tbaa !35 %73 = getelementptr inbounds i8, ptr %41, i64 580 %74 = getelementptr inbounds i8, ptr %41, i64 600 store i32 %70, ptr %74, align 4, !tbaa !36 %75 = load i32, ptr @L2CAP_DEFAULT_TOKEN_RATE, align 4, !tbaa !23 %76 = getelementptr inbounds i8, ptr %41, i64 516 store i32 %75, ptr %76, align 4, !tbaa !37 %77 = getelementptr inbounds i8, ptr %41, i64 596 store i32 %75, ptr %77, align 4, !tbaa !38 %78 = load i32, ptr @L2CAP_DEFAULT_BUCKET_SIZE, align 4, !tbaa !23 %79 = getelementptr inbounds i8, ptr %41, i64 512 store i32 %78, ptr %79, align 4, !tbaa !39 %80 = getelementptr inbounds i8, ptr %41, i64 592 store i32 %78, ptr %80, align 4, !tbaa !40 %81 = load i32, ptr @L2CAP_DEFAULT_PEAK_BANDWIDTH, align 4, !tbaa !23 %82 = getelementptr inbounds i8, ptr %41, i64 508 store i32 %81, ptr %82, align 4, !tbaa !41 %83 = getelementptr inbounds i8, ptr %41, i64 588 store i32 %81, ptr %83, align 4, !tbaa !42 %84 = load i32, ptr @L2CAP_DEFAULT_LATENCY, align 4, !tbaa !23 %85 = getelementptr inbounds i8, ptr %41, i64 504 store i32 %84, ptr %85, align 4, !tbaa !43 %86 = getelementptr inbounds i8, ptr %41, i64 584 store i32 %84, ptr %86, align 4, !tbaa !44 %87 = load i32, ptr @L2CAP_DEFAULT_DELAY, align 4, !tbaa !23 store i32 %87, ptr %71, align 4, !tbaa !45 store i32 %87, ptr %73, align 4, !tbaa !46 %88 = getelementptr inbounds i8, ptr %41, i64 448 store i64 0, ptr %88, align 8, !tbaa !47 %89 = getelementptr inbounds i8, ptr %41, i64 352 %90 = tail call i32 @memset(ptr noundef nonnull %89, i32 noundef 0, i32 noundef 4) #3 %91 = load ptr, ptr @FALSE, align 8, !tbaa !48 %92 = getelementptr inbounds i8, ptr %41, i64 440 store ptr %91, ptr %92, align 8, !tbaa !49 %93 = load i32, ptr @L2CAP_MAX_FCR_CFG_TRIES, align 4, !tbaa !23 %94 = getelementptr inbounds i8, ptr %41, i64 432 store i32 %93, ptr %94, align 8, !tbaa !50 %95 = getelementptr inbounds i8, ptr %41, i64 144 %96 = getelementptr inbounds i8, ptr %41, i64 248 %97 = tail call i32 @btu_free_quick_timer(ptr noundef nonnull %96) #3 %98 = tail call i32 @memset(ptr noundef nonnull %96, i32 noundef 0, i32 noundef 4) #3 %99 = getelementptr inbounds i8, ptr %41, i64 256 store ptr %41, ptr %99, align 8, !tbaa !51 %100 = getelementptr inbounds i8, ptr %41, i64 168 %101 = tail call i32 @btu_free_quick_timer(ptr noundef nonnull %100) #3 %102 = tail call i32 @memset(ptr noundef nonnull %100, i32 noundef 0, i32 noundef 4) #3 %103 = getelementptr inbounds i8, ptr %41, i64 176 store ptr %41, ptr %103, align 8, !tbaa !52 %104 = tail call i32 @l2c_fcr_free_timer(ptr noundef nonnull %41) #3 %105 = load i32, ptr @L2CAP_FCR_BASIC_MODE, align 4, !tbaa !23 %106 = getelementptr inbounds i8, ptr %41, i64 392 store i32 %105, ptr %106, align 8, !tbaa !53 %107 = load i32, ptr @L2CAP_FCR_CHAN_OPT_BASIC, align 4, !tbaa !23 %108 = getelementptr inbounds i8, ptr %41, i64 388 store i32 %107, ptr %108, align 4, !tbaa !54 %109 = load i32, ptr @L2CAP_FCR_RX_BUF_SIZE, align 4, !tbaa !23 %110 = getelementptr inbounds i8, ptr %41, i64 384 store i32 %109, ptr %110, align 8, !tbaa !55 %111 = load ptr, ptr @L2CAP_FCR_TX_BUF_SIZE, align 8, !tbaa !48 %112 = getelementptr inbounds i8, ptr %41, i64 376 store ptr %111, ptr %112, align 8, !tbaa !56 %113 = load i32, ptr @L2CAP_USER_RX_BUF_SIZE, align 4, !tbaa !23 %114 = getelementptr inbounds i8, ptr %41, i64 372 store i32 %113, ptr %114, align 4, !tbaa !57 %115 = load i32, ptr @L2CAP_USER_TX_BUF_SIZE, align 4, !tbaa !23 %116 = getelementptr inbounds i8, ptr %41, i64 368 store i32 %115, ptr %116, align 8, !tbaa !58 %117 = load i32, ptr @L2CAP_MTU_SIZE, align 4, !tbaa !23 %118 = getelementptr inbounds i8, ptr %41, i64 344 store i32 %117, ptr %118, align 8, !tbaa !59 %119 = getelementptr inbounds i8, ptr %111, i64 -32 %120 = getelementptr inbounds i8, ptr %41, i64 336 store ptr %119, ptr %120, align 8, !tbaa !60 %121 = load i32, ptr @QUEUE_SIZE_MAX, align 4, !tbaa !23 %122 = tail call ptr @fixed_queue_new(i32 noundef %121) #3 %123 = getelementptr inbounds i8, ptr %41, i64 328 store ptr %122, ptr %123, align 8, !tbaa !61 %124 = load i32, ptr @QUEUE_SIZE_MAX, align 4, !tbaa !23 %125 = tail call ptr @fixed_queue_new(i32 noundef %124) #3 %126 = getelementptr inbounds i8, ptr %41, i64 160 store ptr %125, ptr %126, align 8, !tbaa !62 %127 = load i32, ptr @QUEUE_SIZE_MAX, align 4, !tbaa !23 %128 = tail call ptr @fixed_queue_new(i32 noundef %127) #3 %129 = getelementptr inbounds i8, ptr %41, i64 152 store ptr %128, ptr %129, align 8, !tbaa !63 %130 = load i32, ptr @QUEUE_SIZE_MAX, align 4, !tbaa !23 %131 = tail call ptr @fixed_queue_new(i32 noundef %130) #3 store ptr %131, ptr %95, align 8, !tbaa !64 %132 = load ptr, ptr @FALSE, align 8, !tbaa !48 %133 = getelementptr inbounds i8, ptr %41, i64 136 store ptr %132, ptr %133, align 8, !tbaa !65 %134 = getelementptr inbounds i8, ptr %41, i64 4 store i32 2, ptr %134, align 4, !tbaa !66 %135 = getelementptr inbounds i8, ptr %41, i64 128 br i1 %7, label %136, label %137 136: ; preds = %58 store i64 0, ptr %135, align 8, !tbaa !67 br label %141 137: ; preds = %58 %138 = load i64, ptr %135, align 8, !tbaa !67 %139 = tail call i32 (ptr, i64, ...) @L2CAP_TRACE_DEBUG(ptr noundef nonnull @.str.2, i64 noundef %1, i64 noundef %138) #3 %140 = load ptr, ptr @FALSE, align 8, !tbaa !48 br label %141 141: ; preds = %137, %136 %142 = phi ptr [ %140, %137 ], [ %132, %136 ] %143 = load i32, ptr @CST_CLOSED, align 4, !tbaa !23 %144 = getelementptr inbounds i8, ptr %41, i64 120 store i32 %143, ptr %144, align 8, !tbaa !68 %145 = getelementptr inbounds i8, ptr %41, i64 112 store i64 0, ptr %145, align 8, !tbaa !69 %146 = load ptr, ptr @L2CAP_CHNL_DATA_RATE_LOW, align 8, !tbaa !48 %147 = getelementptr inbounds i8, ptr %41, i64 104 store ptr %146, ptr %147, align 8, !tbaa !70 %148 = getelementptr inbounds i8, ptr %41, i64 96 store ptr %146, ptr %148, align 8, !tbaa !71 %149 = getelementptr inbounds i8, ptr %41, i64 88 store ptr %142, ptr %149, align 8, !tbaa !72 %150 = getelementptr inbounds i8, ptr %41, i64 8 %151 = tail call i32 @btu_free_timer(ptr noundef nonnull %150) #3 %152 = tail call i32 @memset(ptr noundef nonnull %150, i32 noundef 0, i32 noundef 4) #3 %153 = getelementptr inbounds i8, ptr %41, i64 16 store ptr %41, ptr %153, align 8, !tbaa !73 store i64 0, ptr %150, align 8, !tbaa !74 %154 = tail call i32 @l2c_link_adjust_chnl_allocation() #3 br label %155 155: ; preds = %2, %141, %36 %156 = phi ptr [ %41, %141 ], [ null, %36 ], [ null, %2 ] ret ptr %156 } declare i32 @L2CAP_TRACE_DEBUG(ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @L2CAP_TRACE_ERROR(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @l2cu_enqueue_ccb(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btu_free_quick_timer(ptr noundef) local_unnamed_addr #1 declare i32 @l2c_fcr_free_timer(ptr noundef) local_unnamed_addr #1 declare ptr @fixed_queue_new(i32 noundef) local_unnamed_addr #1 declare i32 @btu_free_timer(ptr noundef) local_unnamed_addr #1 declare i32 @l2c_link_adjust_chnl_allocation(...) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"TYPE_15__", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 672} !12 = !{!"TYPE_13__", !13, i64 0, !13, i64 4, !14, i64 8, !8, i64 88, !8, i64 96, !8, i64 104, !15, i64 112, !13, i64 120, !15, i64 128, !8, i64 136, !17, i64 144, !8, i64 328, !8, i64 336, !13, i64 344, !14, i64 352, !13, i64 432, !8, i64 440, !15, i64 448, !14, i64 456, !14, i64 536, !15, i64 616, !13, i64 624, !8, i64 632, !8, i64 640, !15, i64 648, !13, i64 656, !8, i64 664, !8, i64 672} !13 = !{!"int", !9, i64 0} !14 = !{!"TYPE_14__", !15, i64 0, !8, i64 8, !13, i64 16, !13, i64 20, !8, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !16, i64 44, !13, i64 68, !13, i64 72} !15 = !{!"long", !9, i64 0} !16 = !{!"TYPE_11__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20} !17 = !{!"TYPE_12__", !8, i64 0, !8, i64 8, !8, i64 16, !14, i64 24, !14, i64 104} !18 = !{!15, !15, i64 0} !19 = !{!7, !8, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!7, !8, i64 8} !23 = !{!13, !13, i64 0} !24 = !{!12, !13, i64 656} !25 = !{!12, !15, i64 648} !26 = !{!12, !8, i64 640} !27 = !{!12, !8, i64 632} !28 = !{!12, !13, i64 0} !29 = !{!12, !13, i64 624} !30 = !{!12, !15, i64 616} !31 = !{!12, !13, i64 528} !32 = !{!12, !13, i64 608} !33 = !{!12, !13, i64 524} !34 = !{!12, !13, i64 604} !35 = !{!12, !13, i64 520} !36 = !{!12, !13, i64 600} !37 = !{!12, !13, i64 516} !38 = !{!12, !13, i64 596} !39 = !{!12, !13, i64 512} !40 = !{!12, !13, i64 592} !41 = !{!12, !13, i64 508} !42 = !{!12, !13, i64 588} !43 = !{!12, !13, i64 504} !44 = !{!12, !13, i64 584} !45 = !{!12, !13, i64 500} !46 = !{!12, !13, i64 580} !47 = !{!12, !15, i64 448} !48 = !{!8, !8, i64 0} !49 = !{!12, !8, i64 440} !50 = !{!12, !13, i64 432} !51 = !{!12, !8, i64 256} !52 = !{!12, !8, i64 176} !53 = !{!12, !13, i64 392} !54 = !{!12, !13, i64 388} !55 = !{!12, !13, i64 384} !56 = !{!12, !8, i64 376} !57 = !{!12, !13, i64 372} !58 = !{!12, !13, i64 368} !59 = !{!12, !13, i64 344} !60 = !{!12, !8, i64 336} !61 = !{!12, !8, i64 328} !62 = !{!12, !8, i64 160} !63 = !{!12, !8, i64 152} !64 = !{!12, !8, i64 144} !65 = !{!12, !8, i64 136} !66 = !{!12, !13, i64 4} !67 = !{!12, !15, i64 128} !68 = !{!12, !13, i64 120} !69 = !{!12, !15, i64 112} !70 = !{!12, !8, i64 104} !71 = !{!12, !8, i64 96} !72 = !{!12, !8, i64 88} !73 = !{!12, !8, i64 16} !74 = !{!12, !15, i64 8}
esp-idf_components_bt_host_bluedroid_stack_l2cap_extr_l2c_utils.c_l2cu_allocate_ccb
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_card.c___format_callback.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_card.c___format_callback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, ptr, i64, i64, i64 } @cardmap = dso_local local_unnamed_addr global ptr null, align 8 @CARD_SYSAREA = dso_local local_unnamed_addr global i32 0, align 4 @CARD_SYSDIR = dso_local local_unnamed_addr global i64 0, align 8 @CARD_SYSDIR_BACK = dso_local local_unnamed_addr global i64 0, align 8 @CARD_SYSBAT = dso_local local_unnamed_addr global i64 0, align 8 @CARD_SYSBAT_BACK = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @__format_callback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__format_callback(i64 noundef %0, i64 noundef %1) #0 { %3 = load ptr, ptr @cardmap, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %0 %5 = load i32, ptr %4, align 8, !tbaa !9 %6 = add nsw i32 %5, 1 store i32 %6, ptr %4, align 8, !tbaa !9 %7 = load i32, ptr @CARD_SYSAREA, align 4, !tbaa !13 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = mul nsw i32 %11, %6 %13 = tail call i64 @__card_sectorerase(i64 noundef %0, i32 noundef %12, ptr noundef nonnull @__format_callback) #2 br label %49 14: ; preds = %2 %15 = icmp slt i32 %5, 9 br i1 %15, label %16, label %27 16: ; preds = %14 %17 = sub nsw i32 %6, %7 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = mul nsw i32 %19, %17 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %0, i32 3 %22 = load i64, ptr %21, align 8, !tbaa !15 %23 = shl i32 %17, 13 %24 = sext i32 %23 to i64 %25 = add nsw i64 %22, %24 %26 = tail call i64 @__card_write(i64 noundef %0, i32 noundef %20, i32 noundef 8192, i64 noundef %25, ptr noundef nonnull @__format_callback) #2 br label %49 27: ; preds = %14 %28 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %0, i32 3 %29 = load i64, ptr %28, align 8, !tbaa !15 %30 = load i64, ptr @CARD_SYSDIR, align 8, !tbaa !16 %31 = add nsw i64 %30, %29 %32 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %0, i32 5 store i64 %31, ptr %32, align 8, !tbaa !17 %33 = load i64, ptr @CARD_SYSDIR_BACK, align 8, !tbaa !16 %34 = add nsw i64 %33, %29 %35 = tail call i32 @memcpy(i64 noundef %31, i64 noundef %34, i32 noundef 8192) #2 %36 = load i64, ptr %28, align 8, !tbaa !15 %37 = load i64, ptr @CARD_SYSBAT, align 8, !tbaa !16 %38 = add nsw i64 %37, %36 %39 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %0, i32 4 store i64 %38, ptr %39, align 8, !tbaa !18 %40 = load i64, ptr @CARD_SYSBAT_BACK, align 8, !tbaa !16 %41 = add nsw i64 %40, %36 %42 = tail call i32 @memcpy(i64 noundef %38, i64 noundef %41, i32 noundef 8192) #2 %43 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %0, i32 2 %44 = load ptr, ptr %43, align 8, !tbaa !19 store ptr null, ptr %43, align 8, !tbaa !19 %45 = tail call i32 @__card_putcntrlblock(ptr noundef nonnull %4, i64 noundef %1) #2 %46 = icmp eq ptr %44, null br i1 %46, label %49, label %47 47: ; preds = %27 %48 = tail call i32 %44(i64 noundef %0, i64 noundef %1) #2 br label %49 49: ; preds = %27, %47, %16, %9 ret void } declare i64 @__card_sectorerase(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @__card_write(i64 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__card_putcntrlblock(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_4__", !11, i64 0, !11, i64 4, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32} !11 = !{!"int", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!10, !11, i64 4} !15 = !{!10, !12, i64 16} !16 = !{!12, !12, i64 0} !17 = !{!10, !12, i64 32} !18 = !{!10, !12, i64 24} !19 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_card.c___format_callback.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_card.c___format_callback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32, ptr, i64, i64, i64 } @cardmap = common local_unnamed_addr global ptr null, align 8 @CARD_SYSAREA = common local_unnamed_addr global i32 0, align 4 @CARD_SYSDIR = common local_unnamed_addr global i64 0, align 8 @CARD_SYSDIR_BACK = common local_unnamed_addr global i64 0, align 8 @CARD_SYSBAT = common local_unnamed_addr global i64 0, align 8 @CARD_SYSBAT_BACK = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @__format_callback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__format_callback(i64 noundef %0, i64 noundef %1) #0 { %3 = load ptr, ptr @cardmap, align 8, !tbaa !6 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %0 %5 = load i32, ptr %4, align 8, !tbaa !10 %6 = add nsw i32 %5, 1 store i32 %6, ptr %4, align 8, !tbaa !10 %7 = load i32, ptr @CARD_SYSAREA, align 4, !tbaa !14 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %4, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = mul nsw i32 %11, %6 %13 = tail call i64 @__card_sectorerase(i64 noundef %0, i32 noundef %12, ptr noundef nonnull @__format_callback) #2 br label %49 14: ; preds = %2 %15 = icmp slt i32 %5, 9 br i1 %15, label %16, label %27 16: ; preds = %14 %17 = sub nsw i32 %6, %7 %18 = getelementptr inbounds i8, ptr %4, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = mul nsw i32 %19, %17 %21 = getelementptr inbounds i8, ptr %4, i64 16 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = shl i32 %17, 13 %24 = sext i32 %23 to i64 %25 = add nsw i64 %22, %24 %26 = tail call i64 @__card_write(i64 noundef %0, i32 noundef %20, i32 noundef 8192, i64 noundef %25, ptr noundef nonnull @__format_callback) #2 br label %49 27: ; preds = %14 %28 = getelementptr inbounds i8, ptr %4, i64 16 %29 = load i64, ptr %28, align 8, !tbaa !16 %30 = load i64, ptr @CARD_SYSDIR, align 8, !tbaa !17 %31 = add nsw i64 %30, %29 %32 = getelementptr inbounds i8, ptr %4, i64 32 store i64 %31, ptr %32, align 8, !tbaa !18 %33 = load i64, ptr @CARD_SYSDIR_BACK, align 8, !tbaa !17 %34 = add nsw i64 %33, %29 %35 = tail call i32 @memcpy(i64 noundef %31, i64 noundef %34, i32 noundef 8192) #2 %36 = load i64, ptr %28, align 8, !tbaa !16 %37 = load i64, ptr @CARD_SYSBAT, align 8, !tbaa !17 %38 = add nsw i64 %37, %36 %39 = getelementptr inbounds i8, ptr %4, i64 24 store i64 %38, ptr %39, align 8, !tbaa !19 %40 = load i64, ptr @CARD_SYSBAT_BACK, align 8, !tbaa !17 %41 = add nsw i64 %40, %36 %42 = tail call i32 @memcpy(i64 noundef %38, i64 noundef %41, i32 noundef 8192) #2 %43 = getelementptr inbounds i8, ptr %4, i64 8 %44 = load ptr, ptr %43, align 8, !tbaa !20 store ptr null, ptr %43, align 8, !tbaa !20 %45 = tail call i32 @__card_putcntrlblock(ptr noundef nonnull %4, i64 noundef %1) #2 %46 = icmp eq ptr %44, null br i1 %46, label %49, label %47 47: ; preds = %27 %48 = tail call i32 %44(i64 noundef %0, i64 noundef %1) #2 br label %49 49: ; preds = %27, %47, %16, %9 ret void } declare i64 @__card_sectorerase(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @__card_write(i64 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__card_putcntrlblock(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !12, i64 4, !7, i64 8, !13, i64 16, !13, i64 24, !13, i64 32} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!11, !12, i64 4} !16 = !{!11, !13, i64 16} !17 = !{!13, !13, i64 0} !18 = !{!11, !13, i64 32} !19 = !{!11, !13, i64 24} !20 = !{!11, !7, i64 8}
RetroArch_wii_libogc_libogc_extr_card.c___format_callback
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_tm.c_hclge_tm_qs_to_pri_map_cfg.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_tm.c_hclge_tm_qs_to_pri_map_cfg.c" target datalayout = "e-m:e-p270:32:32-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_qs_to_pri_link_cmd = type { i32, i32, i32 } @HCLGE_OPC_TM_QS_TO_PRI_LINK = dso_local local_unnamed_addr global i32 0, align 4 @HCLGE_TM_QS_PRI_LINK_VLD_MSK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hclge_tm_qs_to_pri_map_cfg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hclge_tm_qs_to_pri_map_cfg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.hclge_desc, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load i32, ptr @HCLGE_OPC_TM_QS_TO_PRI_LINK, align 4, !tbaa !5 %6 = call i32 @hclge_cmd_setup_basic_desc(ptr noundef nonnull %4, i32 noundef %5, i32 noundef 0) #3 %7 = load i64, ptr %4, align 8, !tbaa !9 %8 = inttoptr i64 %7 to ptr %9 = call i32 @cpu_to_le16(i32 noundef %1) #3 %10 = getelementptr inbounds %struct.hclge_qs_to_pri_link_cmd, ptr %8, i64 0, i32 2 store i32 %9, ptr %10, align 4, !tbaa !12 %11 = getelementptr inbounds %struct.hclge_qs_to_pri_link_cmd, ptr %8, i64 0, i32 1 store i32 %2, ptr %11, align 4, !tbaa !14 %12 = load i32, ptr @HCLGE_TM_QS_PRI_LINK_VLD_MSK, align 4, !tbaa !5 store i32 %12, ptr %8, align 4, !tbaa !15 %13 = call i32 @hclge_cmd_send(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 1) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hclge_cmd_setup_basic_desc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @hclge_cmd_send(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, !6, i64 8} !13 = !{!"hclge_qs_to_pri_link_cmd", !6, i64 0, !6, i64 4, !6, i64 8} !14 = !{!13, !6, i64 4} !15 = !{!13, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_tm.c_hclge_tm_qs_to_pri_map_cfg.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_tm.c_hclge_tm_qs_to_pri_map_cfg.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_TM_QS_TO_PRI_LINK = common local_unnamed_addr global i32 0, align 4 @HCLGE_TM_QS_PRI_LINK_VLD_MSK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hclge_tm_qs_to_pri_map_cfg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hclge_tm_qs_to_pri_map_cfg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.hclge_desc, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load i32, ptr @HCLGE_OPC_TM_QS_TO_PRI_LINK, align 4, !tbaa !6 %6 = call i32 @hclge_cmd_setup_basic_desc(ptr noundef nonnull %4, i32 noundef %5, i32 noundef 0) #3 %7 = load i64, ptr %4, align 8, !tbaa !10 %8 = inttoptr i64 %7 to ptr %9 = call i32 @cpu_to_le16(i32 noundef %1) #3 %10 = getelementptr inbounds i8, ptr %8, i64 8 store i32 %9, ptr %10, align 4, !tbaa !13 %11 = getelementptr inbounds i8, ptr %8, i64 4 store i32 %2, ptr %11, align 4, !tbaa !15 %12 = load i32, ptr @HCLGE_TM_QS_PRI_LINK_VLD_MSK, align 4, !tbaa !6 store i32 %12, ptr %8, align 4, !tbaa !16 %13 = call i32 @hclge_cmd_send(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 1) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hclge_cmd_setup_basic_desc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @hclge_cmd_send(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, !7, i64 8} !14 = !{!"hclge_qs_to_pri_link_cmd", !7, i64 0, !7, i64 4, !7, i64 8} !15 = !{!14, !7, i64 4} !16 = !{!14, !7, i64 0}
linux_drivers_net_ethernet_hisilicon_hns3_hns3pf_extr_hclge_tm.c_hclge_tm_qs_to_pri_map_cfg
; ModuleID = 'AnghaBench/linux/arch/arm/mach-mvebu/extr_pmsu.c_armada_38x_cpu_suspend.c' source_filename = "AnghaBench/linux/arch/arm/mach-mvebu/extr_pmsu.c_armada_38x_cpu_suspend.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @armada_38x_do_cpu_suspend = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @armada_38x_cpu_suspend], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @armada_38x_cpu_suspend(i64 %0) #0 { %2 = load i32, ptr @armada_38x_do_cpu_suspend, align 4, !tbaa !5 %3 = tail call i32 @cpu_suspend(i32 noundef 0, i32 noundef %2) #2 ret i32 %3 } declare i32 @cpu_suspend(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/arm/mach-mvebu/extr_pmsu.c_armada_38x_cpu_suspend.c' source_filename = "AnghaBench/linux/arch/arm/mach-mvebu/extr_pmsu.c_armada_38x_cpu_suspend.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @armada_38x_do_cpu_suspend = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @armada_38x_cpu_suspend], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @armada_38x_cpu_suspend(i64 %0) #0 { %2 = load i32, ptr @armada_38x_do_cpu_suspend, align 4, !tbaa !6 %3 = tail call i32 @cpu_suspend(i32 noundef 0, i32 noundef %2) #2 ret i32 %3 } declare i32 @cpu_suspend(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_arm_mach-mvebu_extr_pmsu.c_armada_38x_cpu_suspend
; ModuleID = 'AnghaBench/git/builtin/extr_pack-redundant.c_add_pack_file.c' source_filename = "AnghaBench/git/builtin/extr_pack-redundant.c_add_pack_file.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.packed_git = type { ptr, i32 } @the_repository = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Bad pack filename: %s\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Filename %s not found in packed_git\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_pack_file], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @add_pack_file(ptr noundef %0) #0 { %2 = load i32, ptr @the_repository, align 4, !tbaa !5 %3 = tail call ptr @get_all_packs(i32 noundef %2) #2 %4 = tail call i32 @strlen(ptr noundef %0) #2 %5 = icmp slt i32 %4, 40 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @die(ptr noundef nonnull @.str, ptr noundef %0) #2 br label %8 8: ; preds = %6, %1 %9 = icmp eq ptr %3, null br i1 %9, label %21, label %10 10: ; preds = %8, %18 %11 = phi ptr [ %19, %18 ], [ %3, %8 ] %12 = getelementptr inbounds %struct.packed_git, ptr %11, i64 0, i32 1 %13 = load i32, ptr %12, align 8, !tbaa !9 %14 = tail call i64 @strstr(i32 noundef %13, ptr noundef %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %10 %17 = tail call ptr @add_pack(ptr noundef nonnull %11) #2 br label %23 18: ; preds = %10 %19 = load ptr, ptr %11, align 8, !tbaa !12 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %10, !llvm.loop !13 21: ; preds = %18, %8 %22 = tail call i32 @die(ptr noundef nonnull @.str.1, ptr noundef %0) #2 br label %23 23: ; preds = %21, %16 %24 = phi ptr [ %17, %16 ], [ undef, %21 ] ret ptr %24 } declare ptr @get_all_packs(i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @die(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @strstr(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @add_pack(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"packed_git", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/git/builtin/extr_pack-redundant.c_add_pack_file.c' source_filename = "AnghaBench/git/builtin/extr_pack-redundant.c_add_pack_file.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @the_repository = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Bad pack filename: %s\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Filename %s not found in packed_git\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @add_pack_file], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @add_pack_file(ptr noundef %0) #0 { %2 = load i32, ptr @the_repository, align 4, !tbaa !6 %3 = tail call ptr @get_all_packs(i32 noundef %2) #2 %4 = tail call i32 @strlen(ptr noundef %0) #2 %5 = icmp slt i32 %4, 40 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @die(ptr noundef nonnull @.str, ptr noundef %0) #2 br label %8 8: ; preds = %6, %1 %9 = icmp eq ptr %3, null br i1 %9, label %21, label %10 10: ; preds = %8, %18 %11 = phi ptr [ %19, %18 ], [ %3, %8 ] %12 = getelementptr inbounds i8, ptr %11, i64 8 %13 = load i32, ptr %12, align 8, !tbaa !10 %14 = tail call i64 @strstr(i32 noundef %13, ptr noundef %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %10 %17 = tail call ptr @add_pack(ptr noundef nonnull %11) #2 br label %23 18: ; preds = %10 %19 = load ptr, ptr %11, align 8, !tbaa !13 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %10, !llvm.loop !14 21: ; preds = %18, %8 %22 = tail call i32 @die(ptr noundef nonnull @.str.1, ptr noundef %0) #2 br label %23 23: ; preds = %21, %16 %24 = phi ptr [ %17, %16 ], [ undef, %21 ] ret ptr %24 } declare ptr @get_all_packs(i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @die(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @strstr(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @add_pack(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"packed_git", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
git_builtin_extr_pack-redundant.c_add_pack_file
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_block_unbind.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_block_unbind.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mlxsw_sp_acl_block_unbind(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @mlxsw_sp_acl_block_lookup(ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load i32, ptr @ENOENT, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %18 10: ; preds = %4 %11 = tail call i32 @list_del(ptr noundef nonnull %5) #2 %12 = tail call i64 @mlxsw_sp_acl_ruleset_block_bound(ptr noundef %1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %10 %15 = tail call i32 @mlxsw_sp_acl_ruleset_unbind(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5) #2 br label %16 16: ; preds = %14, %10 %17 = tail call i32 @kfree(ptr noundef nonnull %5) #2 br label %18 18: ; preds = %16, %7 %19 = phi i32 [ 0, %16 ], [ %9, %7 ] ret i32 %19 } declare ptr @mlxsw_sp_acl_block_lookup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i64 @mlxsw_sp_acl_ruleset_block_bound(ptr noundef) local_unnamed_addr #1 declare i32 @mlxsw_sp_acl_ruleset_unbind(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_block_unbind.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_block_unbind.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @mlxsw_sp_acl_block_unbind(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @mlxsw_sp_acl_block_lookup(ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load i32, ptr @ENOENT, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %18 10: ; preds = %4 %11 = tail call i32 @list_del(ptr noundef nonnull %5) #2 %12 = tail call i64 @mlxsw_sp_acl_ruleset_block_bound(ptr noundef %1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %10 %15 = tail call i32 @mlxsw_sp_acl_ruleset_unbind(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5) #2 br label %16 16: ; preds = %14, %10 %17 = tail call i32 @kfree(ptr noundef nonnull %5) #2 br label %18 18: ; preds = %16, %7 %19 = phi i32 [ 0, %16 ], [ %9, %7 ] ret i32 %19 } declare ptr @mlxsw_sp_acl_block_lookup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i64 @mlxsw_sp_acl_ruleset_block_bound(ptr noundef) local_unnamed_addr #1 declare i32 @mlxsw_sp_acl_ruleset_unbind(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_acl.c_mlxsw_sp_acl_block_unbind
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/khronos/glxx/extr_glxx_client.c_draw_arrays_or_elements.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/khronos/glxx/extr_glxx_client.c_draw_arrays_or_elements.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_15__ = type { i32, ptr } %struct.TYPE_13__ = type { i32, ptr, ptr, i32 } %struct.TYPE_14__ = type { ptr, i32, %struct.TYPE_12__, ptr, i64 } %struct.TYPE_12__ = type { i64 } %struct.TYPE_11__ = type { i64, ptr, i32, i32, i32, i64 } @GLXX_CONFIG_MAX_VERTEX_ATTRIBS = dso_local local_unnamed_addr global i32 0, align 4 @GL_INVALID_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @CACHE_ENTRY_T = dso_local local_unnamed_addr global i32 0, align 4 @data = dso_local local_unnamed_addr global i32 0, align 4 @glintFindMax_impl = dso_local local_unnamed_addr global i32 0, align 4 @GLINTFINDMAX_ID = dso_local local_unnamed_addr global i32 0, align 4 @CACHE_SIG_ATTRIB_0 = dso_local local_unnamed_addr global i64 0, align 8 @GL_OUT_OF_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @glintDrawElements_impl = dso_local local_unnamed_addr global i32 0, align 4 @GLINTDRAWELEMENTS_ID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @draw_arrays_or_elements], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @draw_arrays_or_elements(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, i64 noundef %4, ptr noundef %5) #0 { %7 = alloca %struct.TYPE_15__, align 8 %8 = load i32, ptr @GLXX_CONFIG_MAX_VERTEX_ATTRIBS, align 4, !tbaa !5 %9 = zext i32 %8 to i64 %10 = alloca %struct.TYPE_13__, i64 %9, align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4 %11 = icmp ne ptr %1, null %12 = zext i1 %11 to i32 %13 = tail call i32 @vcos_assert(i32 noundef %12) #4 %14 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 3 %15 = load ptr, ptr %14, align 8, !tbaa !9 %16 = icmp eq ptr %15, null br i1 %16, label %27, label %17 17: ; preds = %6 %18 = tail call i64 @IS_OPENGLES_11(ptr noundef %0) #4 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 4 %22 = load i64, ptr %21, align 8, !tbaa !14 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20, %17 %25 = load ptr, ptr %14, align 8, !tbaa !9 %26 = tail call i32 (...) %25() #4 br label %27 27: ; preds = %24, %20, %6 %28 = icmp slt i32 %3, 0 br i1 %28, label %29, label %32 29: ; preds = %27 %30 = load i32, ptr @GL_INVALID_VALUE, align 4, !tbaa !5 %31 = tail call i32 @glxx_set_error(ptr noundef nonnull %1, i32 noundef %30) #4 br label %229 32: ; preds = %27 %33 = load i32, ptr @GLXX_CONFIG_MAX_VERTEX_ATTRIBS, align 4, !tbaa !5 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %56 35: ; preds = %32 %36 = load ptr, ptr %1, align 8, !tbaa !15 %37 = zext nneg i32 %33 to i64 br label %38 38: ; preds = %35, %52 %39 = phi i64 [ 0, %35 ], [ %54, %52 ] %40 = phi i32 [ 0, %35 ], [ %53, %52 ] %41 = getelementptr inbounds %struct.TYPE_11__, ptr %36, i64 %39, i32 5 %42 = load i64, ptr %41, align 8, !tbaa !16 %43 = icmp eq i64 %42, 0 br i1 %43, label %52, label %44 44: ; preds = %38 %45 = getelementptr inbounds %struct.TYPE_11__, ptr %36, i64 %39 %46 = load i64, ptr %45, align 8, !tbaa !18 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %44 %49 = getelementptr inbounds %struct.TYPE_11__, ptr %36, i64 %39, i32 1 %50 = load ptr, ptr %49, align 8, !tbaa !19 %51 = icmp eq ptr %50, null br i1 %51, label %229, label %52 52: ; preds = %38, %44, %48 %53 = phi i32 [ %40, %38 ], [ %40, %44 ], [ 1, %48 ] %54 = add nuw nsw i64 %39, 1 %55 = icmp eq i64 %54, %37 br i1 %55, label %56, label %38, !llvm.loop !20 56: ; preds = %52, %32 %57 = phi i32 [ 0, %32 ], [ %53, %52 ] store i32 %57, ptr %7, align 8, !tbaa !22 %58 = icmp eq i64 %4, 0 br i1 %58, label %59, label %66 59: ; preds = %56 %60 = ptrtoint ptr %5 to i64 %61 = trunc i64 %60 to i32 %62 = shl i64 %60, 32 %63 = ashr exact i64 %62, 32 %64 = add nsw i32 %3, -1 %65 = add i32 %64, %61 br label %95 66: ; preds = %56 %67 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 2 %68 = load i64, ptr %67, align 8, !tbaa !24 %69 = icmp eq i64 %68, 0 %70 = trunc i64 %4 to i32 %71 = tail call i32 @khrn_get_type_size(i32 noundef %70) #4 %72 = mul nsw i32 %71, %3 %73 = tail call i32 @align_length(i32 noundef %72) #4 br i1 %69, label %74, label %84 74: ; preds = %66 %75 = tail call i32 @khrn_get_type_size(i32 noundef %70) #4 %76 = tail call i32 @find_max(i32 noundef %3, i32 noundef %75, ptr noundef %5) #4 %77 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 1 %78 = tail call i32 @khrn_cache_lookup(ptr noundef %0, ptr noundef nonnull %77, ptr noundef %5, i32 noundef %73, i64 noundef 0) #4 %79 = load i32, ptr @CACHE_ENTRY_T, align 4, !tbaa !5 %80 = load i32, ptr @data, align 4, !tbaa !5 %81 = tail call i32 @offsetof(i32 noundef %79, i32 noundef %80) #4 %82 = add nsw i32 %81, %78 %83 = sext i32 %82 to i64 br label %95 84: ; preds = %66 %85 = ptrtoint ptr %5 to i64 %86 = icmp eq i32 %57, 0 br i1 %86, label %220, label %87 87: ; preds = %84 %88 = load i32, ptr @glintFindMax_impl, align 4, !tbaa !5 %89 = load i32, ptr @GLINTFINDMAX_ID, align 4, !tbaa !5 %90 = tail call i32 @RPC_SIZEI(i32 noundef %3) #4 %91 = tail call i32 @RPC_ENUM(i64 noundef %4) #4 %92 = tail call i32 @RPC_UINT(i64 noundef %85) #4 %93 = tail call i32 @RPC_CALL3_RES(i32 noundef %88, ptr noundef %0, i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92) #4 %94 = tail call i32 @RPC_INT_RES(i32 noundef %93) #4 br label %99 95: ; preds = %74, %59 %96 = phi i32 [ %76, %74 ], [ %65, %59 ] %97 = phi i64 [ %83, %74 ], [ %63, %59 ] %98 = icmp eq i32 %57, 0 br i1 %98, label %220, label %99 99: ; preds = %87, %95 %100 = phi i64 [ %85, %87 ], [ %97, %95 ] %101 = phi i32 [ %94, %87 ], [ %96, %95 ] %102 = load i32, ptr @GLXX_CONFIG_MAX_VERTEX_ATTRIBS, align 4, !tbaa !5 %103 = icmp sgt i32 %102, 0 br i1 %103, label %106, label %212 104: ; preds = %182 %105 = icmp sgt i32 %184, 0 br i1 %105, label %187, label %212 106: ; preds = %99, %182 %107 = phi i64 [ %183, %182 ], [ 0, %99 ] %108 = load ptr, ptr %1, align 8, !tbaa !15 %109 = getelementptr inbounds %struct.TYPE_11__, ptr %108, i64 %107, i32 5 %110 = load i64, ptr %109, align 8, !tbaa !16 %111 = icmp eq i64 %110, 0 br i1 %111, label %180, label %112 112: ; preds = %106 %113 = getelementptr inbounds %struct.TYPE_11__, ptr %108, i64 %107 %114 = load i64, ptr %113, align 8, !tbaa !18 %115 = icmp eq i64 %114, 0 br i1 %115, label %116, label %180 116: ; preds = %112 %117 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %107 store i32 1, ptr %117, align 16, !tbaa !25 %118 = getelementptr inbounds %struct.TYPE_11__, ptr %108, i64 %107, i32 1 %119 = load ptr, ptr %118, align 8, !tbaa !19 %120 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %107, i32 1 store ptr %119, ptr %120, align 8, !tbaa !27 %121 = getelementptr inbounds %struct.TYPE_11__, ptr %108, i64 %107, i32 4 %122 = load i32, ptr %121, align 8, !tbaa !28 %123 = getelementptr inbounds %struct.TYPE_11__, ptr %108, i64 %107, i32 3 %124 = load i32, ptr %123, align 4, !tbaa !29 %125 = getelementptr inbounds %struct.TYPE_11__, ptr %108, i64 %107, i32 2 %126 = load i32, ptr %125, align 8, !tbaa !30 %127 = tail call i32 @calc_length(i32 noundef %101, i32 noundef %122, i32 noundef %124, i32 noundef %126) #4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %119, i64 %128 %130 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %107, i32 2 store ptr %129, ptr %130, align 16, !tbaa !31 %131 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %107, i32 3 store i32 -1, ptr %131, align 8, !tbaa !32 %132 = icmp eq i64 %107, 0 br i1 %132, label %182, label %133 133: ; preds = %116 %134 = ptrtoint ptr %119 to i64 %135 = trunc i64 %107 to i32 br label %136 136: ; preds = %133, %177 %137 = phi i64 [ 0, %133 ], [ %178, %177 ] %138 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %137 %139 = load i32, ptr %138, align 16, !tbaa !25 %140 = icmp eq i32 %139, 0 br i1 %140, label %177, label %141 141: ; preds = %136 %142 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %137, i32 3 %143 = load i32, ptr %142, align 8, !tbaa !32 %144 = icmp eq i32 %143, -1 br i1 %144, label %145, label %177 145: ; preds = %141 %146 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %137, i32 1 %147 = load ptr, ptr %146, align 8, !tbaa !27 %148 = icmp ult ptr %119, %147 %149 = select i1 %148, ptr %119, ptr %147 %150 = load ptr, ptr %130, align 16, !tbaa !31 %151 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %137, i32 2 %152 = load ptr, ptr %151, align 16, !tbaa !31 %153 = icmp ugt ptr %150, %152 %154 = select i1 %153, ptr %150, ptr %152 %155 = ptrtoint ptr %154 to i64 %156 = ptrtoint ptr %149 to i64 %157 = sub i64 %155, %156 %158 = ptrtoint ptr %150 to i64 %159 = ptrtoint ptr %152 to i64 %160 = ptrtoint ptr %147 to i64 %161 = add i64 %160, %134 %162 = sub i64 %158, %161 %163 = add i64 %162, %159 %164 = icmp slt i64 %157, %163 br i1 %164, label %165, label %177 165: ; preds = %145 br i1 %148, label %166, label %174 166: ; preds = %165, %166 %167 = phi i32 [ %170, %166 ], [ %135, %165 ] %168 = sext i32 %167 to i64 %169 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %168, i32 3 %170 = load i32, ptr %169, align 8, !tbaa !32 %171 = icmp eq i32 %170, -1 br i1 %171, label %172, label %166, !llvm.loop !33 172: ; preds = %166 %173 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %168, i32 2 store ptr %154, ptr %173, align 16, !tbaa !31 store i32 %135, ptr %142, align 8, !tbaa !32 br label %177 174: ; preds = %165 %175 = tail call i32 @vcos_assert(i32 noundef 1) #4 store ptr %154, ptr %151, align 16, !tbaa !31 %176 = trunc i64 %137 to i32 store i32 %176, ptr %131, align 8, !tbaa !32 br label %177 177: ; preds = %145, %174, %172, %136, %141 %178 = add nuw nsw i64 %137, 1 %179 = icmp eq i64 %178, %107 br i1 %179, label %182, label %136, !llvm.loop !34 180: ; preds = %112, %106 %181 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %107 store i32 0, ptr %181, align 16, !tbaa !25 br label %182 182: ; preds = %177, %116, %180 %183 = add nuw nsw i64 %107, 1 %184 = load i32, ptr @GLXX_CONFIG_MAX_VERTEX_ATTRIBS, align 4, !tbaa !5 %185 = sext i32 %184 to i64 %186 = icmp slt i64 %183, %185 br i1 %186, label %106, label %104, !llvm.loop !35 187: ; preds = %104 %188 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 1 %189 = load i32, ptr %10, align 16, !tbaa !25 %190 = icmp ne i32 %189, 0 tail call void @llvm.assume(i1 %190) %191 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 0, i32 3 %192 = load i32, ptr %191, align 8, !tbaa !32 %193 = icmp eq i32 %192, -1 tail call void @llvm.assume(i1 %193) %194 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 0, i32 1 %195 = load ptr, ptr %194, align 8, !tbaa !27 %196 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 0, i32 2 %197 = load ptr, ptr %196, align 16, !tbaa !31 %198 = ptrtoint ptr %197 to i64 %199 = ptrtoint ptr %195 to i64 %200 = sub i64 %198, %199 %201 = trunc i64 %200 to i32 %202 = load i64, ptr @CACHE_SIG_ATTRIB_0, align 8, !tbaa !36 %203 = tail call i32 @khrn_cache_lookup(ptr noundef %0, ptr noundef nonnull %188, ptr noundef %195, i32 noundef %201, i64 noundef %202) #4 %204 = icmp eq i32 %203, -1 br i1 %204, label %205, label %208 205: ; preds = %187 %206 = load i32, ptr @GL_OUT_OF_MEMORY, align 4, !tbaa !5 %207 = tail call i32 @glxx_set_error(ptr noundef nonnull %1, i32 noundef %206) #4 br label %229 208: ; preds = %187 %209 = load i32, ptr @CACHE_ENTRY_T, align 4, !tbaa !5 %210 = load i32, ptr @data, align 4, !tbaa !5 %211 = tail call i32 @offsetof(i32 noundef %209, i32 noundef %210) #4 unreachable 212: ; preds = %99, %104 %213 = load i32, ptr @glintDrawElements_impl, align 4, !tbaa !5 %214 = load i32, ptr @GLINTDRAWELEMENTS_ID, align 4, !tbaa !5 %215 = tail call i32 @RPC_ENUM(i64 noundef %2) #4 %216 = tail call i32 @RPC_SIZEI(i32 noundef %3) #4 %217 = tail call i32 @RPC_ENUM(i64 noundef %4) #4 %218 = tail call i32 @RPC_UINT(i64 noundef %100) #4 %219 = call i32 @RPC_CALL5_IN_CTRL(i32 noundef %213, ptr noundef %0, i32 noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218, ptr noundef nonnull %7, i32 noundef 16) #4 br label %229 220: ; preds = %84, %95 %221 = phi i64 [ %97, %95 ], [ %85, %84 ] %222 = load i32, ptr @glintDrawElements_impl, align 4, !tbaa !5 %223 = load i32, ptr @GLINTDRAWELEMENTS_ID, align 4, !tbaa !5 %224 = tail call i32 @RPC_ENUM(i64 noundef %2) #4 %225 = tail call i32 @RPC_SIZEI(i32 noundef %3) #4 %226 = tail call i32 @RPC_ENUM(i64 noundef %4) #4 %227 = tail call i32 @RPC_UINT(i64 noundef %221) #4 %228 = call i32 @RPC_CALL5_IN_CTRL(i32 noundef %222, ptr noundef %0, i32 noundef %223, i32 noundef %224, i32 noundef %225, i32 noundef %226, i32 noundef %227, ptr noundef nonnull %7, i32 noundef 4) #4 br label %229 229: ; preds = %48, %205, %212, %220, %29 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vcos_assert(i32 noundef) local_unnamed_addr #2 declare i64 @IS_OPENGLES_11(ptr noundef) local_unnamed_addr #2 declare i32 @glxx_set_error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @align_length(i32 noundef) local_unnamed_addr #2 declare i32 @khrn_get_type_size(i32 noundef) local_unnamed_addr #2 declare i32 @find_max(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @khrn_cache_lookup(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @offsetof(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @RPC_INT_RES(i32 noundef) local_unnamed_addr #2 declare i32 @RPC_CALL3_RES(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @RPC_SIZEI(i32 noundef) local_unnamed_addr #2 declare i32 @RPC_ENUM(i64 noundef) local_unnamed_addr #2 declare i32 @RPC_UINT(i64 noundef) local_unnamed_addr #2 declare i32 @calc_length(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @RPC_CALL5_IN_CTRL(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) declare void @llvm.assume(i1 noundef) #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 nosync nounwind willreturn memory(inaccessiblemem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 24} !10 = !{!"TYPE_14__", !11, i64 0, !6, i64 8, !12, i64 16, !11, i64 24, !13, i64 32} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_12__", !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!10, !13, i64 32} !15 = !{!10, !11, i64 0} !16 = !{!17, !13, i64 32} !17 = !{!"TYPE_11__", !13, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !13, i64 32} !18 = !{!17, !13, i64 0} !19 = !{!17, !11, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!23, !6, i64 0} !23 = !{!"TYPE_15__", !6, i64 0, !11, i64 8} !24 = !{!10, !13, i64 16} !25 = !{!26, !6, i64 0} !26 = !{!"TYPE_13__", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24} !27 = !{!26, !11, i64 8} !28 = !{!17, !6, i64 24} !29 = !{!17, !6, i64 20} !30 = !{!17, !6, i64 16} !31 = !{!26, !11, i64 16} !32 = !{!26, !6, i64 24} !33 = distinct !{!33, !21} !34 = distinct !{!34, !21} !35 = distinct !{!35, !21} !36 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/khronos/glxx/extr_glxx_client.c_draw_arrays_or_elements.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/khronos/glxx/extr_glxx_client.c_draw_arrays_or_elements.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_15__ = type { i32, ptr } %struct.TYPE_13__ = type { i32, ptr, ptr, i32 } %struct.TYPE_11__ = type { i64, ptr, i32, i32, i32, i64 } @GLXX_CONFIG_MAX_VERTEX_ATTRIBS = common local_unnamed_addr global i32 0, align 4 @GL_INVALID_VALUE = common local_unnamed_addr global i32 0, align 4 @CACHE_ENTRY_T = common local_unnamed_addr global i32 0, align 4 @data = common local_unnamed_addr global i32 0, align 4 @glintFindMax_impl = common local_unnamed_addr global i32 0, align 4 @GLINTFINDMAX_ID = common local_unnamed_addr global i32 0, align 4 @CACHE_SIG_ATTRIB_0 = common local_unnamed_addr global i64 0, align 8 @GL_OUT_OF_MEMORY = common local_unnamed_addr global i32 0, align 4 @glintDrawElements_impl = common local_unnamed_addr global i32 0, align 4 @GLINTDRAWELEMENTS_ID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @draw_arrays_or_elements], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @draw_arrays_or_elements(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, i64 noundef %4, ptr noundef %5) #0 { %7 = alloca %struct.TYPE_15__, align 8 %8 = load i32, ptr @GLXX_CONFIG_MAX_VERTEX_ATTRIBS, align 4, !tbaa !6 %9 = zext i32 %8 to i64 %10 = alloca %struct.TYPE_13__, i64 %9, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5 %11 = icmp ne ptr %1, null %12 = zext i1 %11 to i32 %13 = tail call i32 @vcos_assert(i32 noundef %12) #5 %14 = getelementptr inbounds i8, ptr %1, i64 24 %15 = load ptr, ptr %14, align 8, !tbaa !10 %16 = icmp eq ptr %15, null br i1 %16, label %27, label %17 17: ; preds = %6 %18 = tail call i64 @IS_OPENGLES_11(ptr noundef %0) #5 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = getelementptr inbounds i8, ptr %1, i64 32 %22 = load i64, ptr %21, align 8, !tbaa !15 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20, %17 %25 = load ptr, ptr %14, align 8, !tbaa !10 %26 = tail call i32 %25() #5 br label %27 27: ; preds = %24, %20, %6 %28 = icmp slt i32 %3, 0 br i1 %28, label %29, label %32 29: ; preds = %27 %30 = load i32, ptr @GL_INVALID_VALUE, align 4, !tbaa !6 %31 = tail call i32 @glxx_set_error(ptr noundef nonnull %1, i32 noundef %30) #5 br label %227 32: ; preds = %27 %33 = load i32, ptr @GLXX_CONFIG_MAX_VERTEX_ATTRIBS, align 4, !tbaa !6 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %56 35: ; preds = %32 %36 = load ptr, ptr %1, align 8, !tbaa !16 %37 = zext nneg i32 %33 to i64 br label %38 38: ; preds = %35, %52 %39 = phi i64 [ 0, %35 ], [ %54, %52 ] %40 = phi i32 [ 0, %35 ], [ %53, %52 ] %41 = getelementptr inbounds %struct.TYPE_11__, ptr %36, i64 %39 %42 = getelementptr inbounds i8, ptr %41, i64 32 %43 = load i64, ptr %42, align 8, !tbaa !17 %44 = icmp eq i64 %43, 0 br i1 %44, label %52, label %45 45: ; preds = %38 %46 = load i64, ptr %41, align 8, !tbaa !19 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %52 48: ; preds = %45 %49 = getelementptr inbounds %struct.TYPE_11__, ptr %36, i64 %39, i32 1 %50 = load ptr, ptr %49, align 8, !tbaa !20 %51 = icmp eq ptr %50, null br i1 %51, label %227, label %52 52: ; preds = %38, %45, %48 %53 = phi i32 [ %40, %38 ], [ %40, %45 ], [ 1, %48 ] %54 = add nuw nsw i64 %39, 1 %55 = icmp eq i64 %54, %37 br i1 %55, label %56, label %38, !llvm.loop !21 56: ; preds = %52, %32 %57 = phi i32 [ 0, %32 ], [ %53, %52 ] store i32 %57, ptr %7, align 8, !tbaa !23 %58 = icmp eq i64 %4, 0 br i1 %58, label %59, label %66 59: ; preds = %56 %60 = ptrtoint ptr %5 to i64 %61 = trunc i64 %60 to i32 %62 = shl i64 %60, 32 %63 = ashr exact i64 %62, 32 %64 = add nsw i32 %3, -1 %65 = add i32 %64, %61 br label %95 66: ; preds = %56 %67 = getelementptr inbounds i8, ptr %1, i64 16 %68 = load i64, ptr %67, align 8, !tbaa !25 %69 = icmp eq i64 %68, 0 %70 = trunc i64 %4 to i32 %71 = tail call i32 @khrn_get_type_size(i32 noundef %70) #5 %72 = mul nsw i32 %71, %3 %73 = tail call i32 @align_length(i32 noundef %72) #5 br i1 %69, label %74, label %84 74: ; preds = %66 %75 = tail call i32 @khrn_get_type_size(i32 noundef %70) #5 %76 = tail call i32 @find_max(i32 noundef %3, i32 noundef %75, ptr noundef %5) #5 %77 = getelementptr inbounds i8, ptr %1, i64 8 %78 = tail call i32 @khrn_cache_lookup(ptr noundef %0, ptr noundef nonnull %77, ptr noundef %5, i32 noundef %73, i64 noundef 0) #5 %79 = load i32, ptr @CACHE_ENTRY_T, align 4, !tbaa !6 %80 = load i32, ptr @data, align 4, !tbaa !6 %81 = tail call i32 @offsetof(i32 noundef %79, i32 noundef %80) #5 %82 = add nsw i32 %81, %78 %83 = sext i32 %82 to i64 br label %95 84: ; preds = %66 %85 = ptrtoint ptr %5 to i64 %86 = icmp eq i32 %57, 0 br i1 %86, label %218, label %87 87: ; preds = %84 %88 = load i32, ptr @glintFindMax_impl, align 4, !tbaa !6 %89 = load i32, ptr @GLINTFINDMAX_ID, align 4, !tbaa !6 %90 = tail call i32 @RPC_SIZEI(i32 noundef %3) #5 %91 = tail call i32 @RPC_ENUM(i64 noundef %4) #5 %92 = tail call i32 @RPC_UINT(i64 noundef %85) #5 %93 = tail call i32 @RPC_CALL3_RES(i32 noundef %88, ptr noundef %0, i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92) #5 %94 = tail call i32 @RPC_INT_RES(i32 noundef %93) #5 br label %99 95: ; preds = %74, %59 %96 = phi i32 [ %76, %74 ], [ %65, %59 ] %97 = phi i64 [ %83, %74 ], [ %63, %59 ] %98 = icmp eq i32 %57, 0 br i1 %98, label %218, label %99 99: ; preds = %87, %95 %100 = phi i64 [ %85, %87 ], [ %97, %95 ] %101 = phi i32 [ %94, %87 ], [ %96, %95 ] %102 = load i32, ptr @GLXX_CONFIG_MAX_VERTEX_ATTRIBS, align 4, !tbaa !6 %103 = icmp sgt i32 %102, 0 br i1 %103, label %106, label %210 104: ; preds = %183 %105 = icmp sgt i32 %185, 0 br i1 %105, label %188, label %210 106: ; preds = %99, %183 %107 = phi i64 [ %184, %183 ], [ 0, %99 ] %108 = load ptr, ptr %1, align 8, !tbaa !16 %109 = getelementptr inbounds %struct.TYPE_11__, ptr %108, i64 %107 %110 = getelementptr inbounds i8, ptr %109, i64 32 %111 = load i64, ptr %110, align 8, !tbaa !17 %112 = icmp eq i64 %111, 0 br i1 %112, label %181, label %113 113: ; preds = %106 %114 = load i64, ptr %109, align 8, !tbaa !19 %115 = icmp eq i64 %114, 0 br i1 %115, label %116, label %181 116: ; preds = %113 %117 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %107 store i32 1, ptr %117, align 8, !tbaa !26 %118 = getelementptr inbounds %struct.TYPE_11__, ptr %108, i64 %107, i32 1 %119 = load ptr, ptr %118, align 8, !tbaa !20 %120 = getelementptr inbounds i8, ptr %117, i64 8 store ptr %119, ptr %120, align 8, !tbaa !28 %121 = getelementptr inbounds i8, ptr %109, i64 24 %122 = load i32, ptr %121, align 8, !tbaa !29 %123 = getelementptr inbounds i8, ptr %109, i64 20 %124 = load i32, ptr %123, align 4, !tbaa !30 %125 = getelementptr inbounds i8, ptr %109, i64 16 %126 = load i32, ptr %125, align 8, !tbaa !31 %127 = tail call i32 @calc_length(i32 noundef %101, i32 noundef %122, i32 noundef %124, i32 noundef %126) #5 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %119, i64 %128 %130 = getelementptr inbounds i8, ptr %117, i64 16 store ptr %129, ptr %130, align 8, !tbaa !32 %131 = getelementptr inbounds i8, ptr %117, i64 24 store i32 -1, ptr %131, align 8, !tbaa !33 %132 = icmp eq i64 %107, 0 br i1 %132, label %183, label %133 133: ; preds = %116 %134 = ptrtoint ptr %119 to i64 %135 = trunc nuw nsw i64 %107 to i32 br label %136 136: ; preds = %133, %178 %137 = phi i64 [ 0, %133 ], [ %179, %178 ] %138 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %137 %139 = load i32, ptr %138, align 8, !tbaa !26 %140 = icmp eq i32 %139, 0 br i1 %140, label %178, label %141 141: ; preds = %136 %142 = getelementptr inbounds i8, ptr %138, i64 24 %143 = load i32, ptr %142, align 8, !tbaa !33 %144 = icmp eq i32 %143, -1 br i1 %144, label %145, label %178 145: ; preds = %141 %146 = getelementptr inbounds i8, ptr %138, i64 8 %147 = load ptr, ptr %146, align 8, !tbaa !28 %148 = icmp ult ptr %119, %147 %149 = select i1 %148, ptr %119, ptr %147 %150 = load ptr, ptr %130, align 8, !tbaa !32 %151 = getelementptr inbounds i8, ptr %138, i64 16 %152 = load ptr, ptr %151, align 8, !tbaa !32 %153 = icmp ugt ptr %150, %152 %154 = select i1 %153, ptr %150, ptr %152 %155 = ptrtoint ptr %154 to i64 %156 = ptrtoint ptr %149 to i64 %157 = sub i64 %155, %156 %158 = ptrtoint ptr %150 to i64 %159 = ptrtoint ptr %152 to i64 %160 = ptrtoint ptr %147 to i64 %161 = add i64 %160, %134 %162 = sub i64 %158, %161 %163 = add i64 %162, %159 %164 = icmp slt i64 %157, %163 br i1 %164, label %165, label %178 165: ; preds = %145 br i1 %148, label %166, label %175 166: ; preds = %165, %166 %167 = phi i32 [ %171, %166 ], [ %135, %165 ] %168 = sext i32 %167 to i64 %169 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %168 %170 = getelementptr inbounds i8, ptr %169, i64 24 %171 = load i32, ptr %170, align 8, !tbaa !33 %172 = icmp eq i32 %171, -1 br i1 %172, label %173, label %166, !llvm.loop !34 173: ; preds = %166 %174 = getelementptr inbounds i8, ptr %169, i64 16 store ptr %154, ptr %174, align 8, !tbaa !32 store i32 %135, ptr %142, align 8, !tbaa !33 br label %178 175: ; preds = %165 %176 = tail call i32 @vcos_assert(i32 noundef 1) #5 store ptr %154, ptr %151, align 8, !tbaa !32 %177 = trunc nuw nsw i64 %137 to i32 store i32 %177, ptr %131, align 8, !tbaa !33 br label %178 178: ; preds = %145, %175, %173, %136, %141 %179 = add nuw nsw i64 %137, 1 %180 = icmp eq i64 %179, %107 br i1 %180, label %183, label %136, !llvm.loop !35 181: ; preds = %113, %106 %182 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 %107 store i32 0, ptr %182, align 8, !tbaa !26 br label %183 183: ; preds = %178, %116, %181 %184 = add nuw nsw i64 %107, 1 %185 = load i32, ptr @GLXX_CONFIG_MAX_VERTEX_ATTRIBS, align 4, !tbaa !6 %186 = sext i32 %185 to i64 %187 = icmp slt i64 %184, %186 br i1 %187, label %106, label %104, !llvm.loop !36 188: ; preds = %104 %189 = getelementptr inbounds i8, ptr %1, i64 8 %190 = load i32, ptr %10, align 8, !tbaa !26 %191 = icmp ne i32 %190, 0 tail call void @llvm.assume(i1 %191) %192 = getelementptr inbounds i8, ptr %10, i64 24 %193 = load i32, ptr %192, align 8, !tbaa !33 %194 = icmp eq i32 %193, -1 tail call void @llvm.assume(i1 %194) %195 = getelementptr inbounds i8, ptr %10, i64 8 %196 = load ptr, ptr %195, align 8, !tbaa !28 %197 = getelementptr inbounds i8, ptr %10, i64 16 %198 = load ptr, ptr %197, align 8, !tbaa !32 %199 = ptrtoint ptr %198 to i64 %200 = ptrtoint ptr %196 to i64 %201 = sub i64 %199, %200 %202 = trunc i64 %201 to i32 %203 = load i64, ptr @CACHE_SIG_ATTRIB_0, align 8, !tbaa !37 %204 = tail call i32 @khrn_cache_lookup(ptr noundef %0, ptr noundef nonnull %189, ptr noundef %196, i32 noundef %202, i64 noundef %203) #5 %205 = icmp eq i32 %204, -1 br i1 %205, label %206, label %209 206: ; preds = %188 %207 = load i32, ptr @GL_OUT_OF_MEMORY, align 4, !tbaa !6 %208 = tail call i32 @glxx_set_error(ptr noundef nonnull %1, i32 noundef %207) #5 br label %227 209: ; preds = %188 call void @draw_arrays_or_elements.cold.1() #6 unreachable 210: ; preds = %99, %104 %211 = load i32, ptr @glintDrawElements_impl, align 4, !tbaa !6 %212 = load i32, ptr @GLINTDRAWELEMENTS_ID, align 4, !tbaa !6 %213 = tail call i32 @RPC_ENUM(i64 noundef %2) #5 %214 = tail call i32 @RPC_SIZEI(i32 noundef %3) #5 %215 = tail call i32 @RPC_ENUM(i64 noundef %4) #5 %216 = tail call i32 @RPC_UINT(i64 noundef %100) #5 %217 = call i32 @RPC_CALL5_IN_CTRL(i32 noundef %211, ptr noundef %0, i32 noundef %212, i32 noundef %213, i32 noundef %214, i32 noundef %215, i32 noundef %216, ptr noundef nonnull %7, i32 noundef 16) #5 br label %227 218: ; preds = %84, %95 %219 = phi i64 [ %97, %95 ], [ %85, %84 ] %220 = load i32, ptr @glintDrawElements_impl, align 4, !tbaa !6 %221 = load i32, ptr @GLINTDRAWELEMENTS_ID, align 4, !tbaa !6 %222 = tail call i32 @RPC_ENUM(i64 noundef %2) #5 %223 = tail call i32 @RPC_SIZEI(i32 noundef %3) #5 %224 = tail call i32 @RPC_ENUM(i64 noundef %4) #5 %225 = tail call i32 @RPC_UINT(i64 noundef %219) #5 %226 = call i32 @RPC_CALL5_IN_CTRL(i32 noundef %220, ptr noundef %0, i32 noundef %221, i32 noundef %222, i32 noundef %223, i32 noundef %224, i32 noundef %225, ptr noundef nonnull %7, i32 noundef 4) #5 br label %227 227: ; preds = %48, %206, %210, %218, %29 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vcos_assert(i32 noundef) local_unnamed_addr #2 declare i64 @IS_OPENGLES_11(ptr noundef) local_unnamed_addr #2 declare i32 @glxx_set_error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @align_length(i32 noundef) local_unnamed_addr #2 declare i32 @khrn_get_type_size(i32 noundef) local_unnamed_addr #2 declare i32 @find_max(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @khrn_cache_lookup(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @offsetof(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @RPC_INT_RES(i32 noundef) local_unnamed_addr #2 declare i32 @RPC_CALL3_RES(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @RPC_SIZEI(i32 noundef) local_unnamed_addr #2 declare i32 @RPC_ENUM(i64 noundef) local_unnamed_addr #2 declare i32 @RPC_UINT(i64 noundef) local_unnamed_addr #2 declare i32 @calc_length(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @RPC_CALL5_IN_CTRL(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) declare void @llvm.assume(i1 noundef) #3 ; Function Attrs: cold minsize noreturn nounwind ssp uwtable(sync) define internal void @draw_arrays_or_elements.cold.1() #4 { br label %1 1: ; preds = %0 %2 = load i32, ptr @CACHE_ENTRY_T, align 4, !tbaa !6 %3 = load i32, ptr @data, align 4, !tbaa !6 %4 = tail call i32 @offsetof(i32 noundef %2, i32 noundef %3) #5 unreachable } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 nosync nounwind willreturn memory(inaccessiblemem: write) } attributes #4 = { cold minsize noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #5 = { nounwind } attributes #6 = { noinline } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 24} !11 = !{!"TYPE_14__", !12, i64 0, !7, i64 8, !13, i64 16, !12, i64 24, !14, i64 32} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_12__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!11, !14, i64 32} !16 = !{!11, !12, i64 0} !17 = !{!18, !14, i64 32} !18 = !{!"TYPE_11__", !14, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !14, i64 32} !19 = !{!18, !14, i64 0} !20 = !{!18, !12, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!24, !7, i64 0} !24 = !{!"TYPE_15__", !7, i64 0, !12, i64 8} !25 = !{!11, !14, i64 16} !26 = !{!27, !7, i64 0} !27 = !{!"TYPE_13__", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24} !28 = !{!27, !12, i64 8} !29 = !{!18, !7, i64 24} !30 = !{!18, !7, i64 20} !31 = !{!18, !7, i64 16} !32 = !{!27, !12, i64 16} !33 = !{!27, !7, i64 24} !34 = distinct !{!34, !22} !35 = distinct !{!35, !22} !36 = distinct !{!36, !22} !37 = !{!14, !14, i64 0}
RetroArch_gfx_include_userland_interface_khronos_glxx_extr_glxx_client.c_draw_arrays_or_elements
; ModuleID = 'AnghaBench/linux/drivers/iio/health/extr_max30100.c_max30100_buffer_predisable.c' source_filename = "AnghaBench/linux/drivers/iio/health/extr_max30100.c_max30100_buffer_predisable.c" target datalayout = "e-m:e-p270:32:32-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 @max30100_buffer_predisable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @max30100_buffer_predisable(ptr noundef %0) #0 { %2 = tail call ptr @iio_priv(ptr noundef %0) #2 %3 = tail call i32 @max30100_set_powermode(ptr noundef %2, i32 noundef 0) #2 ret i32 %3 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @max30100_set_powermode(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/iio/health/extr_max30100.c_max30100_buffer_predisable.c' source_filename = "AnghaBench/linux/drivers/iio/health/extr_max30100.c_max30100_buffer_predisable.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 @max30100_buffer_predisable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @max30100_buffer_predisable(ptr noundef %0) #0 { %2 = tail call ptr @iio_priv(ptr noundef %0) #2 %3 = tail call i32 @max30100_set_powermode(ptr noundef %2, i32 noundef 0) #2 ret i32 %3 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @max30100_set_powermode(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_iio_health_extr_max30100.c_max30100_buffer_predisable
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_cxusb.c_cxusb_fmd1216me_tuner_attach.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_cxusb.c_cxusb_fmd1216me_tuner_attach.c" target datalayout = "e-m:e-p270:32:32-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.dvb_usb_adapter = type { ptr, i32 } @simple_tuner_attach = dso_local local_unnamed_addr global i32 0, align 4 @TUNER_PHILIPS_FMD1216ME_MK3 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cxusb_fmd1216me_tuner_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @cxusb_fmd1216me_tuner_attach(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @simple_tuner_attach, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.dvb_usb_adapter, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !9 %5 = load ptr, ptr %0, align 8, !tbaa !12 %6 = load i32, ptr @TUNER_PHILIPS_FMD1216ME_MK3, align 4, !tbaa !5 %7 = tail call i32 @dvb_attach(i32 noundef %2, i32 noundef %4, ptr noundef %5, i32 noundef 97, i32 noundef %6) #2 ret i32 0 } declare i32 @dvb_attach(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"dvb_usb_adapter", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_cxusb.c_cxusb_fmd1216me_tuner_attach.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_cxusb.c_cxusb_fmd1216me_tuner_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @simple_tuner_attach = common local_unnamed_addr global i32 0, align 4 @TUNER_PHILIPS_FMD1216ME_MK3 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cxusb_fmd1216me_tuner_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @cxusb_fmd1216me_tuner_attach(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @simple_tuner_attach, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !10 %5 = load ptr, ptr %0, align 8, !tbaa !13 %6 = load i32, ptr @TUNER_PHILIPS_FMD1216ME_MK3, align 4, !tbaa !6 %7 = tail call i32 @dvb_attach(i32 noundef %2, i32 noundef %4, ptr noundef %5, i32 noundef 97, i32 noundef %6) #2 ret i32 0 } declare i32 @dvb_attach(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"dvb_usb_adapter", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0}
fastsocket_kernel_drivers_media_dvb_dvb-usb_extr_cxusb.c_cxusb_fmd1216me_tuner_attach
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_gm20b.c_gm20b_fifo_new.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_gm20b.c_gm20b_fifo_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" @gm20b_fifo = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @gm20b_fifo_new(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @gk104_fifo_new_(ptr noundef nonnull @gm20b_fifo, ptr noundef %0, i32 noundef %1, i32 noundef 512, ptr noundef %2) #2 ret i32 %4 } declare i32 @gk104_fifo_new_(ptr noundef, 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)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_gm20b.c_gm20b_fifo_new.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_gm20b.c_gm20b_fifo_new.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gm20b_fifo = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @gm20b_fifo_new(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @gk104_fifo_new_(ptr noundef nonnull @gm20b_fifo, ptr noundef %0, i32 noundef %1, i32 noundef 512, ptr noundef %2) #2 ret i32 %4 } declare i32 @gk104_fifo_new_(ptr noundef, 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)"}
linux_drivers_gpu_drm_nouveau_nvkm_engine_fifo_extr_gm20b.c_gm20b_fifo_new
; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_core.c_nvme_identify_ns.c' source_filename = "AnghaBench/linux/drivers/nvme/host/extr_core.c_nvme_identify_ns.c" target datalayout = "e-m:e-p270:32:32-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.nvme_command = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32 } %struct.nvme_ctrl = type { i32, i32 } @nvme_admin_identify = dso_local local_unnamed_addr global i32 0, align 4 @NVME_ID_CNS_NS = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Identify namespace failed (%d)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nvme_identify_ns], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nvme_identify_ns(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = alloca %struct.nvme_command, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = load i32, ptr @nvme_admin_identify, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 2 store i32 %5, ptr %6, align 4, !tbaa !9 %7 = tail call i32 @cpu_to_le32(i32 noundef %1) #3 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 store i32 %7, ptr %8, align 4, !tbaa !12 %9 = load i32, ptr @NVME_ID_CNS_NS, align 4, !tbaa !5 store i32 %9, ptr %4, align 4, !tbaa !13 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %11 = tail call ptr @kmalloc(i32 noundef 4, i32 noundef %10) #3 store ptr %11, ptr %2, align 8, !tbaa !14 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %15 = sub nsw i32 0, %14 br label %26 16: ; preds = %3 %17 = getelementptr inbounds %struct.nvme_ctrl, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !16 %19 = call i32 @nvme_submit_sync_cmd(i32 noundef %18, ptr noundef nonnull %4, ptr noundef nonnull %11, i32 noundef 4) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %16 %22 = load i32, ptr %0, align 4, !tbaa !18 %23 = call i32 @dev_warn(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %19) #3 %24 = load ptr, ptr %2, align 8, !tbaa !14 %25 = call i32 @kfree(ptr noundef %24) #3 br label %26 26: ; preds = %16, %21, %13 %27 = phi i32 [ %15, %13 ], [ %19, %21 ], [ 0, %16 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nvme_submit_sync_cmd(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_warn(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"nvme_command", !11, i64 0} !11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8} !12 = !{!10, !6, i64 4} !13 = !{!10, !6, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !7, i64 0} !16 = !{!17, !6, i64 4} !17 = !{!"nvme_ctrl", !6, i64 0, !6, i64 4} !18 = !{!17, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_core.c_nvme_identify_ns.c' source_filename = "AnghaBench/linux/drivers/nvme/host/extr_core.c_nvme_identify_ns.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nvme_command = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32 } @nvme_admin_identify = common local_unnamed_addr global i32 0, align 4 @NVME_ID_CNS_NS = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Identify namespace failed (%d)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @nvme_identify_ns], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nvme_identify_ns(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = alloca %struct.nvme_command, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = load i32, ptr @nvme_admin_identify, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %5, ptr %6, align 4, !tbaa !10 %7 = tail call i32 @cpu_to_le32(i32 noundef %1) #3 %8 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %7, ptr %8, align 4, !tbaa !13 %9 = load i32, ptr @NVME_ID_CNS_NS, align 4, !tbaa !6 store i32 %9, ptr %4, align 4, !tbaa !14 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %11 = tail call ptr @kmalloc(i32 noundef 4, i32 noundef %10) #3 store ptr %11, ptr %2, align 8, !tbaa !15 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %15 = sub nsw i32 0, %14 br label %26 16: ; preds = %3 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = call i32 @nvme_submit_sync_cmd(i32 noundef %18, ptr noundef nonnull %4, ptr noundef nonnull %11, i32 noundef 4) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %16 %22 = load i32, ptr %0, align 4, !tbaa !19 %23 = call i32 @dev_warn(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %19) #3 %24 = load ptr, ptr %2, align 8, !tbaa !15 %25 = call i32 @kfree(ptr noundef %24) #3 br label %26 26: ; preds = %16, %21, %13 %27 = phi i32 [ %15, %13 ], [ %19, %21 ], [ 0, %16 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nvme_submit_sync_cmd(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_warn(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"nvme_command", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8} !13 = !{!11, !7, i64 4} !14 = !{!11, !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !7, i64 4} !18 = !{!"nvme_ctrl", !7, i64 0, !7, i64 4} !19 = !{!18, !7, i64 0}
linux_drivers_nvme_host_extr_core.c_nvme_identify_ns
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/nwfpe/extr_double_cpdo.c_float64_abs.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/nwfpe/extr_double_cpdo.c_float64_abs.c" target datalayout = "e-m:e-p270:32:32-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 @float64_abs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @float64_abs(ptr nocapture readnone %0, i32 noundef returned %1) #0 { %3 = zext i32 %1 to i64 %4 = inttoptr i64 %3 to ptr %5 = getelementptr inbounds i32, ptr %4, i64 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = and i32 %6, 2147483647 store i32 %7, ptr %5, align 4, !tbaa !5 ret i32 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/nwfpe/extr_double_cpdo.c_float64_abs.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/nwfpe/extr_double_cpdo.c_float64_abs.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 @float64_abs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @float64_abs(ptr nocapture readnone %0, i32 noundef returned %1) #0 { %3 = zext i32 %1 to i64 %4 = inttoptr i64 %3 to ptr %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = and i32 %6, 2147483647 store i32 %7, ptr %5, align 4, !tbaa !6 ret i32 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_arm_nwfpe_extr_double_cpdo.c_float64_abs
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-lantiq.c_ltq_pinctrl_pin_dbg_show.c' source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-lantiq.c_ltq_pinctrl_pin_dbg_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ltq_pinctrl_pin_dbg_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ltq_pinctrl_pin_dbg_show(ptr nocapture noundef readonly %0, ptr noundef %1, i32 %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @dev_name(i32 noundef %4) #2 %6 = tail call i32 @seq_printf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %5) #2 ret void } declare i32 @seq_printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(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 = !{!"pinctrl_dev", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-lantiq.c_ltq_pinctrl_pin_dbg_show.c' source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-lantiq.c_ltq_pinctrl_pin_dbg_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ltq_pinctrl_pin_dbg_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ltq_pinctrl_pin_dbg_show(ptr nocapture noundef readonly %0, ptr noundef %1, i32 %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @dev_name(i32 noundef %4) #2 %6 = tail call i32 @seq_printf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %5) #2 ret void } declare i32 @seq_printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(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 = !{!"pinctrl_dev", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_pinctrl_extr_pinctrl-lantiq.c_ltq_pinctrl_pin_dbg_show
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_traversetable.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_traversetable.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i32, i64 } @TM_MODE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @traversetable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @traversetable(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 4 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = tail call i32 @markobject(ptr noundef %0, i64 noundef %4) #2 %8 = load i64, ptr %3, align 8, !tbaa !5 br label %9 9: ; preds = %6, %2 %10 = phi i64 [ %8, %6 ], [ 0, %2 ] %11 = load i32, ptr @TM_MODE, align 4, !tbaa !12 %12 = tail call ptr @gfasttm(ptr noundef %0, i64 noundef %10, i32 noundef %11) #2 %13 = icmp eq ptr %12, null br i1 %13, label %43, label %14 14: ; preds = %9 %15 = tail call i64 @ttisstring(ptr noundef nonnull %12) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %43, label %17 17: ; preds = %14 %18 = tail call i32 @svalue(ptr noundef nonnull %12) #2 %19 = tail call ptr @strchr(i32 noundef %18, i8 noundef signext 107) #2 %20 = icmp ne ptr %19, null %21 = tail call i32 @svalue(ptr noundef nonnull %12) #2 %22 = tail call ptr @strchr(i32 noundef %21, i8 noundef signext 118) #2 %23 = icmp ne ptr %22, null %24 = select i1 %20, i1 true, i1 %23 br i1 %24, label %25, label %43 25: ; preds = %17 %26 = tail call i32 @bitmask(i32 noundef 3) #2 %27 = tail call i32 @bitmask(i32 noundef 4) #2 %28 = or i32 %27, %26 %29 = xor i32 %28, -1 %30 = load i32, ptr %1, align 8, !tbaa !13 %31 = and i32 %30, %29 store i32 %31, ptr %1, align 8, !tbaa !13 %32 = select i1 %20, i32 8, i32 0 %33 = select i1 %23, i32 16, i32 0 %34 = or disjoint i32 %33, %32 %35 = tail call i32 @cast_byte(i32 noundef %34) #2 %36 = load i32, ptr %1, align 8, !tbaa !13 %37 = or i32 %36, %35 store i32 %37, ptr %1, align 8, !tbaa !13 %38 = load i32, ptr %0, align 4, !tbaa !14 %39 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 store i32 %38, ptr %39, align 8, !tbaa !16 %40 = tail call i32 @obj2gco(ptr noundef nonnull %1) #2 store i32 %40, ptr %0, align 4, !tbaa !14 %41 = select i1 %20, i1 %23, i1 false br i1 %41, label %86, label %42 42: ; preds = %25 br i1 %23, label %59, label %43 43: ; preds = %17, %14, %9, %42 %44 = phi i1 [ %20, %42 ], [ false, %9 ], [ false, %14 ], [ %20, %17 ] %45 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1 %46 = load i32, ptr %45, align 4, !tbaa !17 %47 = icmp eq i32 %46, 0 br i1 %47, label %59, label %48 48: ; preds = %43 %49 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 2 %50 = sext i32 %46 to i64 br label %51 51: ; preds = %48, %51 %52 = phi i64 [ %50, %48 ], [ %53, %51 ] %53 = add nsw i64 %52, -1 %54 = load ptr, ptr %49, align 8, !tbaa !18 %55 = getelementptr inbounds i32, ptr %54, i64 %53 %56 = tail call i32 @markvalue(ptr noundef %0, ptr noundef %55) #2 %57 = and i64 %53, 4294967295 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %51, !llvm.loop !19 59: ; preds = %51, %43, %42 %60 = phi i1 [ %20, %42 ], [ %44, %43 ], [ %44, %51 ] %61 = phi i1 [ true, %42 ], [ false, %43 ], [ false, %51 ] %62 = tail call i32 @sizenode(ptr noundef nonnull %1) #2 %63 = icmp eq i32 %62, 0 br i1 %63, label %83, label %64 64: ; preds = %59, %81 %65 = phi i32 [ %66, %81 ], [ %62, %59 ] %66 = add nsw i32 %65, -1 %67 = tail call ptr @gnode(ptr noundef %1, i32 noundef %66) #2 %68 = tail call ptr @gval(ptr noundef %67) #2 %69 = tail call i64 @ttisnil(ptr noundef %68) #2 %70 = icmp eq i64 %69, 0 br i1 %70, label %73, label %71 71: ; preds = %64 %72 = tail call i32 @removeentry(ptr noundef %67) #2 br label %81 73: ; preds = %64 br i1 %60, label %77, label %74 74: ; preds = %73 %75 = tail call ptr @gkey(ptr noundef %67) #2 %76 = tail call i32 @markvalue(ptr noundef %0, ptr noundef %75) #2 br label %77 77: ; preds = %74, %73 br i1 %61, label %81, label %78 78: ; preds = %77 %79 = tail call ptr @gval(ptr noundef %67) #2 %80 = tail call i32 @markvalue(ptr noundef %0, ptr noundef %79) #2 br label %81 81: ; preds = %77, %78, %71 %82 = icmp eq i32 %66, 0 br i1 %82, label %83, label %64, !llvm.loop !21 83: ; preds = %81, %59 %84 = or i1 %60, %61 %85 = zext i1 %84 to i32 br label %86 86: ; preds = %25, %83 %87 = phi i32 [ %85, %83 ], [ 1, %25 ] ret i32 %87 } declare i32 @markobject(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @gfasttm(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ttisstring(ptr noundef) local_unnamed_addr #1 declare ptr @strchr(i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @svalue(ptr noundef) local_unnamed_addr #1 declare i32 @bitmask(i32 noundef) local_unnamed_addr #1 declare i32 @cast_byte(i32 noundef) local_unnamed_addr #1 declare i32 @obj2gco(ptr noundef) local_unnamed_addr #1 declare i32 @markvalue(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sizenode(ptr noundef) local_unnamed_addr #1 declare ptr @gnode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ttisnil(ptr noundef) local_unnamed_addr #1 declare ptr @gval(ptr noundef) local_unnamed_addr #1 declare i32 @removeentry(ptr noundef) local_unnamed_addr #1 declare ptr @gkey(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 24} !6 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !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 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_11__", !7, i64 0} !16 = !{!6, !7, i64 16} !17 = !{!6, !7, i64 4} !18 = !{!6, !10, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = distinct !{!21, !20}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_traversetable.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_traversetable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TM_MODE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @traversetable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @traversetable(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 24 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = tail call i32 @markobject(ptr noundef %0, i64 noundef %4) #2 %8 = load i64, ptr %3, align 8, !tbaa !6 br label %9 9: ; preds = %6, %2 %10 = phi i64 [ %8, %6 ], [ 0, %2 ] %11 = load i32, ptr @TM_MODE, align 4, !tbaa !13 %12 = tail call ptr @gfasttm(ptr noundef %0, i64 noundef %10, i32 noundef %11) #2 %13 = icmp eq ptr %12, null br i1 %13, label %43, label %14 14: ; preds = %9 %15 = tail call i64 @ttisstring(ptr noundef nonnull %12) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %43, label %17 17: ; preds = %14 %18 = tail call i32 @svalue(ptr noundef nonnull %12) #2 %19 = tail call ptr @strchr(i32 noundef %18, i8 noundef signext 107) #2 %20 = icmp ne ptr %19, null %21 = tail call i32 @svalue(ptr noundef nonnull %12) #2 %22 = tail call ptr @strchr(i32 noundef %21, i8 noundef signext 118) #2 %23 = icmp ne ptr %22, null %24 = select i1 %20, i1 true, i1 %23 br i1 %24, label %25, label %43 25: ; preds = %17 %26 = tail call i32 @bitmask(i32 noundef 3) #2 %27 = tail call i32 @bitmask(i32 noundef 4) #2 %28 = or i32 %27, %26 %29 = xor i32 %28, -1 %30 = load i32, ptr %1, align 8, !tbaa !14 %31 = and i32 %30, %29 store i32 %31, ptr %1, align 8, !tbaa !14 %32 = select i1 %20, i32 8, i32 0 %33 = select i1 %23, i32 16, i32 0 %34 = or disjoint i32 %33, %32 %35 = tail call i32 @cast_byte(i32 noundef %34) #2 %36 = load i32, ptr %1, align 8, !tbaa !14 %37 = or i32 %36, %35 store i32 %37, ptr %1, align 8, !tbaa !14 %38 = load i32, ptr %0, align 4, !tbaa !15 %39 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %38, ptr %39, align 8, !tbaa !17 %40 = tail call i32 @obj2gco(ptr noundef nonnull %1) #2 store i32 %40, ptr %0, align 4, !tbaa !15 %41 = select i1 %20, i1 %23, i1 false br i1 %41, label %85, label %42 42: ; preds = %25 br i1 %23, label %58, label %43 43: ; preds = %17, %14, %9, %42 %44 = phi i1 [ %20, %42 ], [ false, %9 ], [ false, %14 ], [ %20, %17 ] %45 = getelementptr inbounds i8, ptr %1, i64 4 %46 = load i32, ptr %45, align 4, !tbaa !18 %47 = icmp eq i32 %46, 0 br i1 %47, label %58, label %48 48: ; preds = %43 %49 = getelementptr inbounds i8, ptr %1, i64 8 %50 = sext i32 %46 to i64 br label %51 51: ; preds = %48, %51 %52 = phi i64 [ %50, %48 ], [ %53, %51 ] %53 = add nsw i64 %52, -1 %54 = load ptr, ptr %49, align 8, !tbaa !19 %55 = getelementptr inbounds i32, ptr %54, i64 %53 %56 = tail call i32 @markvalue(ptr noundef %0, ptr noundef %55) #2 %57 = icmp eq i64 %53, 0 br i1 %57, label %58, label %51, !llvm.loop !20 58: ; preds = %51, %43, %42 %59 = phi i1 [ %20, %42 ], [ %44, %43 ], [ %44, %51 ] %60 = phi i1 [ true, %42 ], [ false, %43 ], [ false, %51 ] %61 = tail call i32 @sizenode(ptr noundef nonnull %1) #2 %62 = icmp eq i32 %61, 0 br i1 %62, label %82, label %63 63: ; preds = %58, %80 %64 = phi i32 [ %65, %80 ], [ %61, %58 ] %65 = add nsw i32 %64, -1 %66 = tail call ptr @gnode(ptr noundef %1, i32 noundef %65) #2 %67 = tail call ptr @gval(ptr noundef %66) #2 %68 = tail call i64 @ttisnil(ptr noundef %67) #2 %69 = icmp eq i64 %68, 0 br i1 %69, label %72, label %70 70: ; preds = %63 %71 = tail call i32 @removeentry(ptr noundef %66) #2 br label %80 72: ; preds = %63 br i1 %59, label %76, label %73 73: ; preds = %72 %74 = tail call ptr @gkey(ptr noundef %66) #2 %75 = tail call i32 @markvalue(ptr noundef %0, ptr noundef %74) #2 br label %76 76: ; preds = %73, %72 br i1 %60, label %80, label %77 77: ; preds = %76 %78 = tail call ptr @gval(ptr noundef %66) #2 %79 = tail call i32 @markvalue(ptr noundef %0, ptr noundef %78) #2 br label %80 80: ; preds = %76, %77, %70 %81 = icmp eq i32 %65, 0 br i1 %81, label %82, label %63, !llvm.loop !22 82: ; preds = %80, %58 %83 = or i1 %59, %60 %84 = zext i1 %83 to i32 br label %85 85: ; preds = %25, %82 %86 = phi i32 [ %84, %82 ], [ 1, %25 ] ret i32 %86 } declare i32 @markobject(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @gfasttm(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ttisstring(ptr noundef) local_unnamed_addr #1 declare ptr @strchr(i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @svalue(ptr noundef) local_unnamed_addr #1 declare i32 @bitmask(i32 noundef) local_unnamed_addr #1 declare i32 @cast_byte(i32 noundef) local_unnamed_addr #1 declare i32 @obj2gco(ptr noundef) local_unnamed_addr #1 declare i32 @markvalue(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sizenode(ptr noundef) local_unnamed_addr #1 declare ptr @gnode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ttisnil(ptr noundef) local_unnamed_addr #1 declare ptr @gval(ptr noundef) local_unnamed_addr #1 declare i32 @removeentry(ptr noundef) local_unnamed_addr #1 declare ptr @gkey(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 24} !7 = !{!"TYPE_12__", !8, i64 0, !8, i64 4, !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 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_11__", !8, i64 0} !17 = !{!7, !8, i64 16} !18 = !{!7, !8, i64 4} !19 = !{!7, !11, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = distinct !{!22, !21}
xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_traversetable
; ModuleID = 'AnghaBench/skynet/skynet-src/extr_socket_server.c_socket_server_udp_connect.c' source_filename = "AnghaBench/skynet/skynet-src/extr_socket_server.c_socket_server_udp_connect.c" target datalayout = "e-m:e-p270:32:32-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.socket_lock = type { i32 } %struct.addrinfo = type { i64, i64, i32, i32 } %struct.request_package = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32, i32 } %struct.socket = type { i32, i64, i32 } @SOCKET_TYPE_INVALID = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @AF_UNSPEC = dso_local local_unnamed_addr global i64 0, align 8 @SOCK_DGRAM = dso_local local_unnamed_addr global i32 0, align 4 @IPPROTO_UDP = dso_local local_unnamed_addr global i32 0, align 4 @AF_INET = dso_local local_unnamed_addr global i64 0, align 8 @PROTOCOL_UDP = dso_local local_unnamed_addr global i32 0, align 4 @AF_INET6 = dso_local local_unnamed_addr global i64 0, align 8 @PROTOCOL_UDPv6 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @socket_server_udp_connect(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.socket_lock, align 4 %6 = alloca %struct.addrinfo, align 8 %7 = alloca ptr, align 8 %8 = alloca [16 x i8], align 16 %9 = alloca %struct.request_package, align 4 %10 = load ptr, ptr %0, align 8, !tbaa !5 %11 = tail call i64 @HASH_ID(i32 noundef %1) #3 %12 = getelementptr inbounds %struct.socket, ptr %10, i64 %11 %13 = load i32, ptr %12, align 8, !tbaa !10 %14 = icmp eq i32 %13, %1 br i1 %14, label %15, label %71 15: ; preds = %4 %16 = getelementptr inbounds %struct.socket, ptr %10, i64 %11, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !14 %18 = load i64, ptr @SOCKET_TYPE_INVALID, align 8, !tbaa !15 %19 = icmp eq i64 %17, %18 br i1 %19, label %71, label %20 20: ; preds = %15 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %21 = call i32 @socket_lock_init(ptr noundef nonnull %12, ptr noundef nonnull %5) #3 %22 = call i32 @socket_lock(ptr noundef nonnull %5) #3 %23 = load i32, ptr %12, align 8, !tbaa !10 %24 = icmp eq i32 %23, %1 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i64, ptr %16, align 8, !tbaa !14 %27 = load i64, ptr @SOCKET_TYPE_INVALID, align 8, !tbaa !15 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %31 29: ; preds = %25, %20 %30 = call i32 @socket_unlock(ptr noundef nonnull %5) #3 br label %69 31: ; preds = %25 %32 = getelementptr inbounds %struct.socket, ptr %10, i64 %11, i32 2 %33 = call i32 @ATOM_INC(ptr noundef nonnull %32) #3 %34 = call i32 @socket_unlock(ptr noundef nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3 %35 = call i32 @sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str, i32 noundef %3) #3 %36 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 24) #3 %37 = load i64, ptr @AF_UNSPEC, align 8, !tbaa !15 store i64 %37, ptr %6, align 8, !tbaa !17 %38 = load i32, ptr @SOCK_DGRAM, align 4, !tbaa !19 %39 = getelementptr inbounds %struct.addrinfo, ptr %6, i64 0, i32 3 store i32 %38, ptr %39, align 4, !tbaa !20 %40 = load i32, ptr @IPPROTO_UDP, align 4, !tbaa !19 %41 = getelementptr inbounds %struct.addrinfo, ptr %6, i64 0, i32 2 store i32 %40, ptr %41, align 8, !tbaa !21 %42 = call i32 @getaddrinfo(ptr noundef %2, ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %67 44: ; preds = %31 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 store i32 %1, ptr %9, align 4, !tbaa !22 %45 = load ptr, ptr %7, align 8, !tbaa !16 %46 = load i64, ptr %45, align 8, !tbaa !17 %47 = load i64, ptr @AF_INET, align 8, !tbaa !15 %48 = icmp eq i64 %46, %47 br i1 %48, label %54, label %49 49: ; preds = %44 %50 = load i64, ptr @AF_INET6, align 8, !tbaa !15 %51 = icmp eq i64 %46, %50 br i1 %51, label %54, label %52 52: ; preds = %49 %53 = call i32 @freeaddrinfo(ptr noundef nonnull %45) #3 br label %65 54: ; preds = %49, %44 %55 = phi ptr [ @PROTOCOL_UDP, %44 ], [ @PROTOCOL_UDPv6, %49 ] %56 = load i32, ptr %55, align 4, !tbaa !19 %57 = getelementptr inbounds %struct.addrinfo, ptr %45, i64 0, i32 1 %58 = load i64, ptr %57, align 8, !tbaa !26 %59 = inttoptr i64 %58 to ptr %60 = call i32 @gen_udp_address(i32 noundef %56, ptr noundef %59, i32 noundef undef) #3 %61 = load ptr, ptr %7, align 8, !tbaa !16 %62 = call i32 @freeaddrinfo(ptr noundef %61) #3 %63 = add i32 %60, 4 %64 = call i32 @send_request(ptr noundef nonnull %0, ptr noundef nonnull %9, i8 noundef signext 67, i32 noundef %63) #3 br label %65 65: ; preds = %54, %52 %66 = phi i32 [ 0, %54 ], [ -1, %52 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 br label %67 67: ; preds = %31, %65 %68 = phi i32 [ %66, %65 ], [ -1, %31 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3 br label %69 69: ; preds = %67, %29 %70 = phi i32 [ -1, %29 ], [ %68, %67 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %71 71: ; preds = %4, %15, %69 %72 = phi i32 [ %70, %69 ], [ -1, %15 ], [ -1, %4 ] ret i32 %72 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @HASH_ID(i32 noundef) local_unnamed_addr #2 declare i32 @socket_lock_init(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @socket_lock(ptr noundef) local_unnamed_addr #2 declare i32 @socket_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @ATOM_INC(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @freeaddrinfo(ptr noundef) local_unnamed_addr #2 declare i32 @gen_udp_address(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @send_request(ptr noundef, ptr noundef, i8 noundef signext, 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 = !{!"socket_server", !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 = !{!"socket", !12, i64 0, !13, i64 8, !12, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !13, i64 8} !15 = !{!13, !13, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!18, !13, i64 0} !18 = !{!"addrinfo", !13, i64 0, !13, i64 8, !12, i64 16, !12, i64 20} !19 = !{!12, !12, i64 0} !20 = !{!18, !12, i64 20} !21 = !{!18, !12, i64 16} !22 = !{!23, !12, i64 0} !23 = !{!"request_package", !24, i64 0} !24 = !{!"TYPE_4__", !25, i64 0} !25 = !{!"TYPE_3__", !12, i64 0, !12, i64 4} !26 = !{!18, !13, i64 8}
; ModuleID = 'AnghaBench/skynet/skynet-src/extr_socket_server.c_socket_server_udp_connect.c' source_filename = "AnghaBench/skynet/skynet-src/extr_socket_server.c_socket_server_udp_connect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.socket_lock = type { i32 } %struct.addrinfo = type { i64, i64, i32, i32 } %struct.request_package = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32, i32 } %struct.socket = type { i32, i64, i32 } @SOCKET_TYPE_INVALID = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @AF_UNSPEC = common local_unnamed_addr global i64 0, align 8 @SOCK_DGRAM = common local_unnamed_addr global i32 0, align 4 @IPPROTO_UDP = common local_unnamed_addr global i32 0, align 4 @AF_INET = common local_unnamed_addr global i64 0, align 8 @PROTOCOL_UDP = common local_unnamed_addr global i32 0, align 4 @AF_INET6 = common local_unnamed_addr global i64 0, align 8 @PROTOCOL_UDPv6 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @socket_server_udp_connect(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.socket_lock, align 4 %6 = alloca %struct.addrinfo, align 8 %7 = alloca ptr, align 8 %8 = alloca [16 x i8], align 1 %9 = alloca %struct.request_package, align 4 %10 = load ptr, ptr %0, align 8, !tbaa !6 %11 = tail call i64 @HASH_ID(i32 noundef %1) #3 %12 = getelementptr inbounds %struct.socket, ptr %10, i64 %11 %13 = load i32, ptr %12, align 8, !tbaa !11 %14 = icmp eq i32 %13, %1 br i1 %14, label %15, label %71 15: ; preds = %4 %16 = getelementptr inbounds i8, ptr %12, i64 8 %17 = load i64, ptr %16, align 8, !tbaa !15 %18 = load i64, ptr @SOCKET_TYPE_INVALID, align 8, !tbaa !16 %19 = icmp eq i64 %17, %18 br i1 %19, label %71, label %20 20: ; preds = %15 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %21 = call i32 @socket_lock_init(ptr noundef nonnull %12, ptr noundef nonnull %5) #3 %22 = call i32 @socket_lock(ptr noundef nonnull %5) #3 %23 = load i32, ptr %12, align 8, !tbaa !11 %24 = icmp eq i32 %23, %1 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i64, ptr %16, align 8, !tbaa !15 %27 = load i64, ptr @SOCKET_TYPE_INVALID, align 8, !tbaa !16 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %31 29: ; preds = %25, %20 %30 = call i32 @socket_unlock(ptr noundef nonnull %5) #3 br label %69 31: ; preds = %25 %32 = getelementptr inbounds i8, ptr %12, i64 16 %33 = call i32 @ATOM_INC(ptr noundef nonnull %32) #3 %34 = call i32 @socket_unlock(ptr noundef nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !17 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3 %35 = call i32 @sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str, i32 noundef %3) #3 %36 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 24) #3 %37 = load i64, ptr @AF_UNSPEC, align 8, !tbaa !16 store i64 %37, ptr %6, align 8, !tbaa !18 %38 = load i32, ptr @SOCK_DGRAM, align 4, !tbaa !20 %39 = getelementptr inbounds i8, ptr %6, i64 20 store i32 %38, ptr %39, align 4, !tbaa !21 %40 = load i32, ptr @IPPROTO_UDP, align 4, !tbaa !20 %41 = getelementptr inbounds i8, ptr %6, i64 16 store i32 %40, ptr %41, align 8, !tbaa !22 %42 = call i32 @getaddrinfo(ptr noundef %2, ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %67 44: ; preds = %31 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 store i32 %1, ptr %9, align 4, !tbaa !23 %45 = load ptr, ptr %7, align 8, !tbaa !17 %46 = load i64, ptr %45, align 8, !tbaa !18 %47 = load i64, ptr @AF_INET, align 8, !tbaa !16 %48 = icmp eq i64 %46, %47 br i1 %48, label %54, label %49 49: ; preds = %44 %50 = load i64, ptr @AF_INET6, align 8, !tbaa !16 %51 = icmp eq i64 %46, %50 br i1 %51, label %54, label %52 52: ; preds = %49 %53 = call i32 @freeaddrinfo(ptr noundef nonnull %45) #3 br label %65 54: ; preds = %49, %44 %55 = phi ptr [ @PROTOCOL_UDP, %44 ], [ @PROTOCOL_UDPv6, %49 ] %56 = load i32, ptr %55, align 4, !tbaa !20 %57 = getelementptr inbounds i8, ptr %45, i64 8 %58 = load i64, ptr %57, align 8, !tbaa !27 %59 = inttoptr i64 %58 to ptr %60 = call i32 @gen_udp_address(i32 noundef %56, ptr noundef %59, i32 noundef undef) #3 %61 = load ptr, ptr %7, align 8, !tbaa !17 %62 = call i32 @freeaddrinfo(ptr noundef %61) #3 %63 = add i32 %60, 4 %64 = call i32 @send_request(ptr noundef nonnull %0, ptr noundef nonnull %9, i8 noundef signext 67, i32 noundef %63) #3 br label %65 65: ; preds = %54, %52 %66 = phi i32 [ 0, %54 ], [ -1, %52 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 br label %67 67: ; preds = %31, %65 %68 = phi i32 [ %66, %65 ], [ -1, %31 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3 br label %69 69: ; preds = %67, %29 %70 = phi i32 [ -1, %29 ], [ %68, %67 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %71 71: ; preds = %4, %15, %69 %72 = phi i32 [ %70, %69 ], [ -1, %15 ], [ -1, %4 ] ret i32 %72 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @HASH_ID(i32 noundef) local_unnamed_addr #2 declare i32 @socket_lock_init(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @socket_lock(ptr noundef) local_unnamed_addr #2 declare i32 @socket_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @ATOM_INC(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @freeaddrinfo(ptr noundef) local_unnamed_addr #2 declare i32 @gen_udp_address(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @send_request(ptr noundef, ptr noundef, i8 noundef signext, 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 = !{!"socket_server", !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 = !{!"socket", !13, i64 0, !14, i64 8, !13, i64 16} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!12, !14, i64 8} !16 = !{!14, !14, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!19, !14, i64 0} !19 = !{!"addrinfo", !14, i64 0, !14, i64 8, !13, i64 16, !13, i64 20} !20 = !{!13, !13, i64 0} !21 = !{!19, !13, i64 20} !22 = !{!19, !13, i64 16} !23 = !{!24, !13, i64 0} !24 = !{!"request_package", !25, i64 0} !25 = !{!"TYPE_4__", !26, i64 0} !26 = !{!"TYPE_3__", !13, i64 0, !13, i64 4} !27 = !{!19, !14, i64 8}
skynet_skynet-src_extr_socket_server.c_socket_server_udp_connect
; ModuleID = 'AnghaBench/linux/sound/pci/au88x0/extr_au88x0_core.c_vortex_codec_write.c' source_filename = "AnghaBench/linux/sound/pci/au88x0/extr_au88x0_core.c_vortex_codec_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_ac97 = type { i16, i64 } %struct.TYPE_4__ = type { i32, ptr } @VORTEX_CODEC_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @POLL_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"ac97 codec stuck busy\0A\00", align 1 @VORTEX_CODEC_IO = dso_local local_unnamed_addr global i32 0, align 4 @VORTEX_CODEC_ADDSHIFT = dso_local local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_ADDMASK = dso_local local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_DATSHIFT = dso_local local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_DATMASK = dso_local local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_WRITE = dso_local local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_ID_SHIFT = dso_local local_unnamed_addr global i16 0, align 2 @llvm.compiler.used = appending global [1 x ptr] [ptr @vortex_codec_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vortex_codec_write(ptr nocapture noundef readonly %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = getelementptr inbounds %struct.snd_ac97, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = inttoptr i64 %5 to ptr br label %7 7: ; preds = %14, %3 %8 = phi i32 [ 0, %3 ], [ %16, %14 ] %9 = load i32, ptr %6, align 8, !tbaa !11 %10 = load i32, ptr @VORTEX_CODEC_CTRL, align 4, !tbaa !15 %11 = tail call i32 @hwread(i32 noundef %9, i32 noundef %10) #2 %12 = and i32 %11, 256 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %24 14: ; preds = %7 %15 = tail call i32 @udelay(i32 noundef 100) #2 %16 = add i32 %8, 1 %17 = load i32, ptr @POLL_COUNT, align 4, !tbaa !15 %18 = icmp ugt i32 %8, %17 br i1 %18, label %19, label %7, !llvm.loop !16 19: ; preds = %14 %20 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !18 %22 = load i32, ptr %21, align 4, !tbaa !19 %23 = tail call i32 @dev_err(i32 noundef %22, ptr noundef nonnull @.str) #2 br label %56 24: ; preds = %7 %25 = load i32, ptr %6, align 8, !tbaa !11 %26 = load i32, ptr @VORTEX_CODEC_IO, align 4, !tbaa !15 %27 = zext i16 %1 to i32 %28 = load i16, ptr @VORTEX_CODEC_ADDSHIFT, align 2, !tbaa !21 %29 = zext nneg i16 %28 to i32 %30 = shl i32 %27, %29 %31 = load i16, ptr @VORTEX_CODEC_ADDMASK, align 2, !tbaa !21 %32 = zext i16 %31 to i32 %33 = and i32 %30, %32 %34 = zext i16 %2 to i32 %35 = load i16, ptr @VORTEX_CODEC_DATSHIFT, align 2, !tbaa !21 %36 = zext nneg i16 %35 to i32 %37 = shl i32 %34, %36 %38 = load i16, ptr @VORTEX_CODEC_DATMASK, align 2, !tbaa !21 %39 = zext i16 %38 to i32 %40 = and i32 %37, %39 %41 = or i32 %40, %33 %42 = load i16, ptr @VORTEX_CODEC_WRITE, align 2, !tbaa !21 %43 = zext i16 %42 to i32 %44 = or i32 %41, %43 %45 = load i16, ptr %0, align 8, !tbaa !22 %46 = zext i16 %45 to i32 %47 = load i16, ptr @VORTEX_CODEC_ID_SHIFT, align 2, !tbaa !21 %48 = zext nneg i16 %47 to i32 %49 = shl i32 %46, %48 %50 = or i32 %44, %49 %51 = trunc i32 %50 to i16 %52 = tail call i32 @hwwrite(i32 noundef %25, i32 noundef %26, i16 noundef zeroext %51) #2 %53 = load i32, ptr %6, align 8, !tbaa !11 %54 = load i32, ptr @VORTEX_CODEC_IO, align 4, !tbaa !15 %55 = tail call i32 @hwread(i32 noundef %53, i32 noundef %54) #2 br label %56 56: ; preds = %24, %19 ret void } declare i32 @hwread(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hwwrite(i32 noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"snd_ac97", !7, i64 0, !10, i64 8} !7 = !{!"short", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0, !14, i64 8} !13 = !{!"int", !8, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !13, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!12, !14, i64 8} !19 = !{!20, !13, i64 0} !20 = !{!"TYPE_3__", !13, i64 0} !21 = !{!7, !7, i64 0} !22 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/au88x0/extr_au88x0_core.c_vortex_codec_write.c' source_filename = "AnghaBench/linux/sound/pci/au88x0/extr_au88x0_core.c_vortex_codec_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VORTEX_CODEC_CTRL = common local_unnamed_addr global i32 0, align 4 @POLL_COUNT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"ac97 codec stuck busy\0A\00", align 1 @VORTEX_CODEC_IO = common local_unnamed_addr global i32 0, align 4 @VORTEX_CODEC_ADDSHIFT = common local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_ADDMASK = common local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_DATSHIFT = common local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_DATMASK = common local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_WRITE = common local_unnamed_addr global i16 0, align 2 @VORTEX_CODEC_ID_SHIFT = common local_unnamed_addr global i16 0, align 2 @llvm.used = appending global [1 x ptr] [ptr @vortex_codec_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vortex_codec_write(ptr nocapture noundef readonly %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = inttoptr i64 %5 to ptr br label %7 7: ; preds = %14, %3 %8 = phi i32 [ 0, %3 ], [ %16, %14 ] %9 = load i32, ptr %6, align 8, !tbaa !12 %10 = load i32, ptr @VORTEX_CODEC_CTRL, align 4, !tbaa !16 %11 = tail call i32 @hwread(i32 noundef %9, i32 noundef %10) #2 %12 = and i32 %11, 256 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %24 14: ; preds = %7 %15 = tail call i32 @udelay(i32 noundef 100) #2 %16 = add i32 %8, 1 %17 = load i32, ptr @POLL_COUNT, align 4, !tbaa !16 %18 = icmp ugt i32 %8, %17 br i1 %18, label %19, label %7, !llvm.loop !17 19: ; preds = %14 %20 = getelementptr inbounds i8, ptr %6, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !19 %22 = load i32, ptr %21, align 4, !tbaa !20 %23 = tail call i32 @dev_err(i32 noundef %22, ptr noundef nonnull @.str) #2 br label %56 24: ; preds = %7 %25 = load i32, ptr %6, align 8, !tbaa !12 %26 = load i32, ptr @VORTEX_CODEC_IO, align 4, !tbaa !16 %27 = zext i16 %1 to i32 %28 = load i16, ptr @VORTEX_CODEC_ADDSHIFT, align 2, !tbaa !22 %29 = zext nneg i16 %28 to i32 %30 = shl i32 %27, %29 %31 = load i16, ptr @VORTEX_CODEC_ADDMASK, align 2, !tbaa !22 %32 = zext i16 %31 to i32 %33 = and i32 %30, %32 %34 = zext i16 %2 to i32 %35 = load i16, ptr @VORTEX_CODEC_DATSHIFT, align 2, !tbaa !22 %36 = zext nneg i16 %35 to i32 %37 = shl i32 %34, %36 %38 = load i16, ptr @VORTEX_CODEC_DATMASK, align 2, !tbaa !22 %39 = zext i16 %38 to i32 %40 = and i32 %37, %39 %41 = or i32 %40, %33 %42 = load i16, ptr @VORTEX_CODEC_WRITE, align 2, !tbaa !22 %43 = zext i16 %42 to i32 %44 = or i32 %41, %43 %45 = load i16, ptr %0, align 8, !tbaa !23 %46 = zext i16 %45 to i32 %47 = load i16, ptr @VORTEX_CODEC_ID_SHIFT, align 2, !tbaa !22 %48 = zext nneg i16 %47 to i32 %49 = shl i32 %46, %48 %50 = or i32 %44, %49 %51 = trunc i32 %50 to i16 %52 = tail call i32 @hwwrite(i32 noundef %25, i32 noundef %26, i16 noundef zeroext %51) #2 %53 = load i32, ptr %6, align 8, !tbaa !12 %54 = load i32, ptr @VORTEX_CODEC_IO, align 4, !tbaa !16 %55 = tail call i32 @hwread(i32 noundef %53, i32 noundef %54) #2 br label %56 56: ; preds = %24, %19 ret void } declare i32 @hwread(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hwwrite(i32 noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"snd_ac97", !8, i64 0, !11, i64 8} !8 = !{!"short", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_4__", !14, i64 0, !15, i64 8} !14 = !{!"int", !9, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!14, !14, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!13, !15, i64 8} !20 = !{!21, !14, i64 0} !21 = !{!"TYPE_3__", !14, i64 0} !22 = !{!8, !8, i64 0} !23 = !{!7, !8, i64 0}
linux_sound_pci_au88x0_extr_au88x0_core.c_vortex_codec_write
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_lan78xx.c_lan78xx_ethtool_get_eeprom_len.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_lan78xx.c_lan78xx_ethtool_get_eeprom_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" @MAX_EEPROM_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lan78xx_ethtool_get_eeprom_len], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @lan78xx_ethtool_get_eeprom_len(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @MAX_EEPROM_SIZE, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_lan78xx.c_lan78xx_ethtool_get_eeprom_len.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_lan78xx.c_lan78xx_ethtool_get_eeprom_len.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_EEPROM_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lan78xx_ethtool_get_eeprom_len], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @lan78xx_ethtool_get_eeprom_len(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @MAX_EEPROM_SIZE, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_usb_extr_lan78xx.c_lan78xx_ethtool_get_eeprom_len
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_po1030.c_po1030_get_hflip.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_po1030.c_po1030_get_hflip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HFLIP_IDX = dso_local local_unnamed_addr global i64 0, align 8 @D_V4L2 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Read hflip %d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @po1030_get_hflip], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @po1030_get_hflip(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @HFLIP_IDX, align 8, !tbaa !10 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !12 store i32 %6, ptr %1, align 4, !tbaa !12 %7 = load i32, ptr @D_V4L2, align 4, !tbaa !12 %8 = tail call i32 @PDEBUG(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 0 } declare i32 @PDEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sd", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_po1030.c_po1030_get_hflip.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_po1030.c_po1030_get_hflip.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HFLIP_IDX = common local_unnamed_addr global i64 0, align 8 @D_V4L2 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Read hflip %d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @po1030_get_hflip], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @po1030_get_hflip(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @HFLIP_IDX, align 8, !tbaa !11 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !13 store i32 %6, ptr %1, align 4, !tbaa !13 %7 = load i32, ptr @D_V4L2, align 4, !tbaa !13 %8 = tail call i32 @PDEBUG(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 0 } declare i32 @PDEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sd", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
fastsocket_kernel_drivers_media_video_gspca_m5602_extr_m5602_po1030.c_po1030_get_hflip
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_debug.c_Assert.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_debug.c_Assert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mach_assert = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"%s:%d non-fatal Assertion: %s\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"%s:%d Assertion failed: %s\00", align 1 ; Function Attrs: noinline nounwind uwtable define dso_local void @Assert(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @mach_assert, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call i32 @kprintf(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 br label %10 8: ; preds = %3 %9 = tail call i32 @panic_plain(ptr noundef nonnull @.str.1, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 br label %10 10: ; preds = %8, %6 ret void } declare i32 @kprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @panic_plain(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { noinline nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_debug.c_Assert.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_debug.c_Assert.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mach_assert = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"%s:%d non-fatal Assertion: %s\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"%s:%d Assertion failed: %s\00", align 1 ; Function Attrs: noinline nounwind ssp uwtable(sync) define void @Assert(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @mach_assert, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call i32 @kprintf(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 br label %10 8: ; preds = %3 %9 = tail call i32 @panic_plain(ptr noundef nonnull @.str.1, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 br label %10 10: ; preds = %8, %6 ret void } declare i32 @kprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @panic_plain(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { noinline nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
darwin-xnu_osfmk_kern_extr_debug.c_Assert
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_fw_common.c__rtl92c_fw_free_to_go.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_fw_common.c__rtl92c_fw_free_to_go.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EIO = dso_local local_unnamed_addr global i32 0, align 4 @REG_MCUFWDL = dso_local local_unnamed_addr global i32 0, align 4 @FW_8192C_POLLING_TIMEOUT_COUNT = dso_local local_unnamed_addr global i64 0, align 8 @FWDL_CHKSUM_RPT = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [42 x i8] c"chksum report fail! REG_MCUFWDL:0x%08x .\0A\00", align 1 @MCUFWDL_RDY = dso_local local_unnamed_addr global i64 0, align 8 @WINTINI_RDY = dso_local local_unnamed_addr global i64 0, align 8 @FW_8192C_POLLING_DELAY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"Polling FW ready fail! REG_MCUFWDL:0x%08x.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @_rtl92c_fw_free_to_go], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @_rtl92c_fw_free_to_go(ptr noundef %0) #0 { %2 = tail call ptr @rtl_priv(ptr noundef %0) #2 %3 = load i32, ptr @EIO, align 4, !tbaa !5 %4 = sub nsw i32 0, %3 br label %5 5: ; preds = %12, %1 %6 = phi i64 [ 0, %1 ], [ %9, %12 ] %7 = load i32, ptr @REG_MCUFWDL, align 4, !tbaa !5 %8 = tail call i64 @rtl_read_dword(ptr noundef %2, i32 noundef %7) #2 %9 = add nuw nsw i64 %6, 1 %10 = load i64, ptr @FW_8192C_POLLING_TIMEOUT_COUNT, align 8, !tbaa !9 %11 = icmp slt i64 %6, %10 br i1 %11, label %12, label %16 12: ; preds = %5 %13 = load i64, ptr @FWDL_CHKSUM_RPT, align 8, !tbaa !9 %14 = and i64 %13, %8 %15 = icmp eq i64 %14, 0 br i1 %15, label %5, label %16, !llvm.loop !11 16: ; preds = %5, %12 %17 = icmp slt i64 %9, %10 br i1 %17, label %20, label %18 18: ; preds = %16 %19 = tail call i32 @pr_err(ptr noundef nonnull @.str, i64 noundef %8) #2 br label %45 20: ; preds = %16 %21 = load i32, ptr @REG_MCUFWDL, align 4, !tbaa !5 %22 = tail call i64 @rtl_read_dword(ptr noundef %2, i32 noundef %21) #2 %23 = load i64, ptr @MCUFWDL_RDY, align 8, !tbaa !9 %24 = or i64 %23, %22 %25 = load i64, ptr @WINTINI_RDY, align 8, !tbaa !9 %26 = xor i64 %25, -1 %27 = and i64 %24, %26 %28 = load i32, ptr @REG_MCUFWDL, align 4, !tbaa !5 %29 = tail call i32 @rtl_write_dword(ptr noundef %2, i32 noundef %28, i64 noundef %27) #2 br label %30 30: ; preds = %37, %20 %31 = phi i64 [ 0, %20 ], [ %40, %37 ] %32 = load i32, ptr @REG_MCUFWDL, align 4, !tbaa !5 %33 = tail call i64 @rtl_read_dword(ptr noundef %2, i32 noundef %32) #2 %34 = load i64, ptr @WINTINI_RDY, align 8, !tbaa !9 %35 = and i64 %34, %33 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %45 37: ; preds = %30 %38 = load i32, ptr @FW_8192C_POLLING_DELAY, align 4, !tbaa !5 %39 = tail call i32 @mdelay(i32 noundef %38) #2 %40 = add nuw nsw i64 %31, 1 %41 = load i64, ptr @FW_8192C_POLLING_TIMEOUT_COUNT, align 8, !tbaa !9 %42 = icmp slt i64 %31, %41 br i1 %42, label %30, label %43, !llvm.loop !13 43: ; preds = %37 %44 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, i64 noundef %33) #2 br label %45 45: ; preds = %30, %18, %43 %46 = phi i32 [ %4, %43 ], [ %4, %18 ], [ 0, %30 ] ret i32 %46 } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare i64 @rtl_read_dword(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rtl_write_dword(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_fw_common.c__rtl92c_fw_free_to_go.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_fw_common.c__rtl92c_fw_free_to_go.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EIO = common local_unnamed_addr global i32 0, align 4 @REG_MCUFWDL = common local_unnamed_addr global i32 0, align 4 @FW_8192C_POLLING_TIMEOUT_COUNT = common local_unnamed_addr global i64 0, align 8 @FWDL_CHKSUM_RPT = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [42 x i8] c"chksum report fail! REG_MCUFWDL:0x%08x .\0A\00", align 1 @MCUFWDL_RDY = common local_unnamed_addr global i64 0, align 8 @WINTINI_RDY = common local_unnamed_addr global i64 0, align 8 @FW_8192C_POLLING_DELAY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"Polling FW ready fail! REG_MCUFWDL:0x%08x.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @_rtl92c_fw_free_to_go], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @_rtl92c_fw_free_to_go(ptr noundef %0) #0 { %2 = tail call ptr @rtl_priv(ptr noundef %0) #2 %3 = load i32, ptr @EIO, align 4, !tbaa !6 %4 = sub nsw i32 0, %3 br label %5 5: ; preds = %12, %1 %6 = phi i64 [ 0, %1 ], [ %9, %12 ] %7 = load i32, ptr @REG_MCUFWDL, align 4, !tbaa !6 %8 = tail call i64 @rtl_read_dword(ptr noundef %2, i32 noundef %7) #2 %9 = add nuw nsw i64 %6, 1 %10 = load i64, ptr @FW_8192C_POLLING_TIMEOUT_COUNT, align 8, !tbaa !10 %11 = icmp slt i64 %6, %10 br i1 %11, label %12, label %16 12: ; preds = %5 %13 = load i64, ptr @FWDL_CHKSUM_RPT, align 8, !tbaa !10 %14 = and i64 %13, %8 %15 = icmp eq i64 %14, 0 br i1 %15, label %5, label %16, !llvm.loop !12 16: ; preds = %5, %12 %17 = icmp slt i64 %9, %10 br i1 %17, label %20, label %18 18: ; preds = %16 %19 = tail call i32 @pr_err(ptr noundef nonnull @.str, i64 noundef %8) #2 br label %45 20: ; preds = %16 %21 = load i32, ptr @REG_MCUFWDL, align 4, !tbaa !6 %22 = tail call i64 @rtl_read_dword(ptr noundef %2, i32 noundef %21) #2 %23 = load i64, ptr @MCUFWDL_RDY, align 8, !tbaa !10 %24 = or i64 %23, %22 %25 = load i64, ptr @WINTINI_RDY, align 8, !tbaa !10 %26 = xor i64 %25, -1 %27 = and i64 %24, %26 %28 = load i32, ptr @REG_MCUFWDL, align 4, !tbaa !6 %29 = tail call i32 @rtl_write_dword(ptr noundef %2, i32 noundef %28, i64 noundef %27) #2 br label %30 30: ; preds = %37, %20 %31 = phi i64 [ 0, %20 ], [ %40, %37 ] %32 = load i32, ptr @REG_MCUFWDL, align 4, !tbaa !6 %33 = tail call i64 @rtl_read_dword(ptr noundef %2, i32 noundef %32) #2 %34 = load i64, ptr @WINTINI_RDY, align 8, !tbaa !10 %35 = and i64 %34, %33 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %45 37: ; preds = %30 %38 = load i32, ptr @FW_8192C_POLLING_DELAY, align 4, !tbaa !6 %39 = tail call i32 @mdelay(i32 noundef %38) #2 %40 = add nuw nsw i64 %31, 1 %41 = load i64, ptr @FW_8192C_POLLING_TIMEOUT_COUNT, align 8, !tbaa !10 %42 = icmp slt i64 %31, %41 br i1 %42, label %30, label %43, !llvm.loop !14 43: ; preds = %37 %44 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, i64 noundef %33) #2 br label %45 45: ; preds = %30, %18, %43 %46 = phi i32 [ %4, %43 ], [ %4, %18 ], [ 0, %30 ] ret i32 %46 } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare i64 @rtl_read_dword(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rtl_write_dword(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8192c_extr_fw_common.c__rtl92c_fw_free_to_go
; ModuleID = 'AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_fb.c_bcmfb_putc.c' source_filename = "AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_fb.c_bcmfb_putc.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.bcmsc_softc = type { i64, ptr, i32, i32, i32, i32, i32 } %struct.TYPE_7__ = type { i32, i32, i32, i32 } @BCMFB_FONT_HEIGHT = dso_local local_unnamed_addr global i32 0, align 4 @bcmfb_palette = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @bcmfb_putc], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @bcmfb_putc(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr %0, align 8 %6 = icmp eq i64 %5, 0 %7 = lshr i64 %5, 32 %8 = trunc i64 %7 to i32 %9 = trunc i64 %5 to i32 br i1 %6, label %130, label %10 10: ; preds = %4 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %12 = load ptr, ptr %11, align 8 %13 = load i32, ptr @BCMFB_FONT_HEIGHT, align 4, !tbaa !5 %14 = mul nsw i32 %13, %2 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %12, i64 %15 %17 = getelementptr inbounds %struct.bcmsc_softc, ptr %0, i64 0, i32 3 %18 = getelementptr inbounds %struct.bcmsc_softc, ptr %0, i64 0, i32 4 %19 = lshr i32 %3, 4 %20 = icmp sgt i32 %13, 0 br i1 %20, label %21, label %130 21: ; preds = %10 %22 = ptrtoint ptr %12 to i64 %23 = trunc i64 %22 to i32 %24 = load i32, ptr %18, align 8, !tbaa !9 %25 = sdiv i32 %24, 8 %26 = inttoptr i64 %5 to ptr %27 = getelementptr inbounds %struct.bcmsc_softc, ptr %0, i64 0, i32 2 %28 = load i32, ptr %27, align 8, !tbaa !13 %29 = sdiv i32 %1, %9 %30 = mul nsw i32 %29, %8 %31 = add nsw i32 %28, %30 %32 = load i32, ptr %17, align 4, !tbaa !14 %33 = mul nsw i32 %31, %32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %26, i64 %34 %36 = getelementptr inbounds %struct.bcmsc_softc, ptr %0, i64 0, i32 5 %37 = load i32, ptr %36, align 4, !tbaa !15 %38 = srem i32 %1, %9 %39 = mul nsw i32 %38, %23 %40 = add nsw i32 %37, %39 %41 = mul nsw i32 %40, %25 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %35, i64 %42 %44 = getelementptr inbounds %struct.bcmsc_softc, ptr %0, i64 0, i32 6 %45 = sext i32 %25 to i64 br label %46 46: ; preds = %21, %122 %47 = phi i64 [ 0, %21 ], [ %126, %122 ] %48 = phi ptr [ %43, %21 ], [ %125, %122 ] %49 = getelementptr inbounds i32, ptr %16, i64 %47 %50 = load ptr, ptr @bcmfb_palette, align 8 br label %51 51: ; preds = %46, %118 %52 = phi i64 [ 0, %46 ], [ %119, %118 ] %53 = phi i32 [ 7, %46 ], [ %120, %118 ] %54 = load i32, ptr %49, align 4, !tbaa !5 %55 = shl nuw i32 1, %53 %56 = and i32 %54, %55 %57 = icmp eq i32 %56, 0 %58 = select i1 %57, i32 %19, i32 %3 %59 = and i32 %58, 15 %60 = load i32, ptr %18, align 8, !tbaa !9 switch i32 %60, label %118 [ i32 32, label %61 i32 24, label %61 i32 16, label %93 ] 61: ; preds = %51, %51 %62 = load i32, ptr %44, align 8, !tbaa !16 %63 = icmp eq i32 %62, 0 %64 = zext nneg i32 %59 to i64 %65 = mul nsw i64 %52, %45 %66 = getelementptr inbounds i32, ptr %48, i64 %65 %67 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %64, i32 1 %68 = add nsw i64 %65, 1 %69 = getelementptr inbounds i32, ptr %48, i64 %68 %70 = add nsw i64 %65, 2 %71 = getelementptr inbounds i32, ptr %48, i64 %70 br i1 %63, label %77, label %72 72: ; preds = %61 %73 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %64 %74 = load i32, ptr %73, align 4, !tbaa !17 store i32 %74, ptr %66, align 4, !tbaa !5 %75 = load i32, ptr %67, align 4, !tbaa !19 store i32 %75, ptr %69, align 4, !tbaa !5 %76 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %64, i32 2 br label %82 77: ; preds = %61 %78 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %64, i32 2 %79 = load i32, ptr %78, align 4, !tbaa !20 store i32 %79, ptr %66, align 4, !tbaa !5 %80 = load i32, ptr %67, align 4, !tbaa !19 store i32 %80, ptr %69, align 4, !tbaa !5 %81 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %64 br label %82 82: ; preds = %77, %72 %83 = phi ptr [ %81, %77 ], [ %76, %72 ] %84 = load i32, ptr %83, align 4, !tbaa !5 store i32 %84, ptr %71, align 4, !tbaa !5 %85 = load i32, ptr %18, align 8, !tbaa !9 %86 = icmp eq i32 %85, 32 br i1 %86, label %87, label %118 87: ; preds = %82 %88 = zext nneg i32 %59 to i64 %89 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %88, i32 3 %90 = load i32, ptr %89, align 4, !tbaa !21 %91 = mul nsw i64 %52, %45 %92 = add nsw i64 %91, 3 br label %114 93: ; preds = %51 %94 = zext nneg i32 %59 to i64 %95 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %94 %96 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %94, i32 2 %97 = load i32, ptr %96, align 4, !tbaa !20 %98 = shl i32 %97, 8 %99 = and i32 %98, -2048 %100 = getelementptr inbounds %struct.TYPE_7__, ptr %50, i64 %94, i32 1 %101 = load i32, ptr %100, align 4, !tbaa !19 %102 = shl i32 %101, 3 %103 = and i32 %102, -32 %104 = or i32 %103, %99 %105 = load i32, ptr %95, align 4, !tbaa !17 %106 = ashr i32 %105, 3 %107 = or i32 %104, %106 %108 = and i32 %107, 255 %109 = mul nsw i64 %52, %45 %110 = getelementptr inbounds i32, ptr %48, i64 %109 store i32 %108, ptr %110, align 4, !tbaa !5 %111 = lshr i32 %107, 8 %112 = and i32 %111, 255 %113 = add nsw i64 %109, 1 br label %114 114: ; preds = %93, %87 %115 = phi i64 [ %92, %87 ], [ %113, %93 ] %116 = phi i32 [ %90, %87 ], [ %112, %93 ] %117 = getelementptr inbounds i32, ptr %48, i64 %115 store i32 %116, ptr %117, align 4, !tbaa !5 br label %118 118: ; preds = %114, %82, %51 %119 = add nuw nsw i64 %52, 1 %120 = add nsw i32 %53, -1 %121 = icmp eq i64 %119, 8 br i1 %121, label %122, label %51, !llvm.loop !22 122: ; preds = %118 %123 = load i32, ptr %17, align 4, !tbaa !14 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %48, i64 %124 %126 = add nuw nsw i64 %47, 1 %127 = load i32, ptr @BCMFB_FONT_HEIGHT, align 4, !tbaa !5 %128 = sext i32 %127 to i64 %129 = icmp slt i64 %126, %128 br i1 %129, label %46, label %130, !llvm.loop !24 130: ; preds = %122, %10, %4 ret i32 0 } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 24} !10 = !{!"bcmsc_softc", !11, i64 0, !12, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 16} !14 = !{!10, !6, i64 20} !15 = !{!10, !6, i64 28} !16 = !{!10, !6, i64 32} !17 = !{!18, !6, i64 0} !18 = !{!"TYPE_7__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !19 = !{!18, !6, i64 4} !20 = !{!18, !6, i64 8} !21 = !{!18, !6, i64 12} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = distinct !{!24, !23}
; ModuleID = 'AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_fb.c_bcmfb_putc.c' source_filename = "AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_fb.c_bcmfb_putc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { i32, i32, i32, i32 } @BCMFB_FONT_HEIGHT = common local_unnamed_addr global i32 0, align 4 @bcmfb_palette = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @bcmfb_putc], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @bcmfb_putc(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr %0, align 8 %6 = icmp eq i64 %5, 0 %7 = lshr i64 %5, 32 %8 = trunc nuw i64 %7 to i32 %9 = trunc i64 %5 to i32 br i1 %6, label %130, label %10 10: ; preds = %4 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8 %13 = load i32, ptr @BCMFB_FONT_HEIGHT, align 4, !tbaa !6 %14 = mul nsw i32 %13, %2 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %12, i64 %15 %17 = getelementptr inbounds i8, ptr %0, i64 20 %18 = getelementptr inbounds i8, ptr %0, i64 24 %19 = lshr i32 %3, 4 %20 = icmp sgt i32 %13, 0 br i1 %20, label %21, label %130 21: ; preds = %10 %22 = ptrtoint ptr %12 to i64 %23 = trunc i64 %22 to i32 %24 = load i32, ptr %18, align 8, !tbaa !10 %25 = sdiv i32 %24, 8 %26 = inttoptr i64 %5 to ptr %27 = getelementptr inbounds i8, ptr %0, i64 16 %28 = load i32, ptr %27, align 8, !tbaa !14 %29 = freeze i32 %9 %30 = sdiv i32 %1, %29 %31 = mul nsw i32 %30, %8 %32 = add nsw i32 %28, %31 %33 = load i32, ptr %17, align 4, !tbaa !15 %34 = mul nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %26, i64 %35 %37 = getelementptr inbounds i8, ptr %0, i64 28 %38 = load i32, ptr %37, align 4, !tbaa !16 %39 = mul i32 %30, %29 %40 = sub i32 %1, %39 %41 = mul nsw i32 %40, %23 %42 = add nsw i32 %38, %41 %43 = mul nsw i32 %42, %25 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %36, i64 %44 %46 = getelementptr inbounds i8, ptr %0, i64 32 %47 = sext i32 %25 to i64 br label %48 48: ; preds = %21, %122 %49 = phi i64 [ 0, %21 ], [ %126, %122 ] %50 = phi ptr [ %45, %21 ], [ %125, %122 ] %51 = getelementptr inbounds i32, ptr %16, i64 %49 %52 = load ptr, ptr @bcmfb_palette, align 8 br label %53 53: ; preds = %48, %118 %54 = phi i64 [ 0, %48 ], [ %119, %118 ] %55 = phi i32 [ 7, %48 ], [ %120, %118 ] %56 = load i32, ptr %51, align 4, !tbaa !6 %57 = shl nuw i32 1, %55 %58 = and i32 %56, %57 %59 = icmp eq i32 %58, 0 %60 = select i1 %59, i32 %19, i32 %3 %61 = and i32 %60, 15 %62 = load i32, ptr %18, align 8, !tbaa !10 switch i32 %62, label %118 [ i32 32, label %63 i32 24, label %63 i32 16, label %93 ] 63: ; preds = %53, %53 %64 = load i32, ptr %46, align 8, !tbaa !17 %65 = icmp eq i32 %64, 0 %66 = zext nneg i32 %61 to i64 %67 = mul nsw i64 %54, %47 %68 = getelementptr inbounds i32, ptr %50, i64 %67 %69 = getelementptr inbounds %struct.TYPE_7__, ptr %52, i64 %66, i32 1 %70 = add nsw i64 %67, 1 %71 = getelementptr inbounds i32, ptr %50, i64 %70 %72 = add nsw i64 %67, 2 %73 = getelementptr inbounds i32, ptr %50, i64 %72 br i1 %65, label %79, label %74 74: ; preds = %63 %75 = getelementptr inbounds %struct.TYPE_7__, ptr %52, i64 %66 %76 = load i32, ptr %75, align 4, !tbaa !18 store i32 %76, ptr %68, align 4, !tbaa !6 %77 = load i32, ptr %69, align 4, !tbaa !20 store i32 %77, ptr %71, align 4, !tbaa !6 %78 = getelementptr inbounds %struct.TYPE_7__, ptr %52, i64 %66, i32 2 br label %84 79: ; preds = %63 %80 = getelementptr inbounds %struct.TYPE_7__, ptr %52, i64 %66, i32 2 %81 = load i32, ptr %80, align 4, !tbaa !21 store i32 %81, ptr %68, align 4, !tbaa !6 %82 = load i32, ptr %69, align 4, !tbaa !20 store i32 %82, ptr %71, align 4, !tbaa !6 %83 = getelementptr inbounds %struct.TYPE_7__, ptr %52, i64 %66 br label %84 84: ; preds = %79, %74 %85 = phi ptr [ %83, %79 ], [ %78, %74 ] %86 = load i32, ptr %85, align 4, !tbaa !6 store i32 %86, ptr %73, align 4, !tbaa !6 %87 = load i32, ptr %18, align 8, !tbaa !10 %88 = icmp eq i32 %87, 32 br i1 %88, label %89, label %118 89: ; preds = %84 %90 = getelementptr inbounds %struct.TYPE_7__, ptr %52, i64 %66, i32 3 %91 = load i32, ptr %90, align 4, !tbaa !22 %92 = add nsw i64 %67, 3 br label %114 93: ; preds = %53 %94 = zext nneg i32 %61 to i64 %95 = getelementptr inbounds %struct.TYPE_7__, ptr %52, i64 %94 %96 = getelementptr inbounds i8, ptr %95, i64 8 %97 = load i32, ptr %96, align 4, !tbaa !21 %98 = shl i32 %97, 8 %99 = and i32 %98, -2048 %100 = getelementptr inbounds i8, ptr %95, i64 4 %101 = load i32, ptr %100, align 4, !tbaa !20 %102 = shl i32 %101, 3 %103 = and i32 %102, -32 %104 = or i32 %103, %99 %105 = load i32, ptr %95, align 4, !tbaa !18 %106 = ashr i32 %105, 3 %107 = or i32 %104, %106 %108 = and i32 %107, 255 %109 = mul nsw i64 %54, %47 %110 = getelementptr inbounds i32, ptr %50, i64 %109 store i32 %108, ptr %110, align 4, !tbaa !6 %111 = lshr i32 %107, 8 %112 = and i32 %111, 255 %113 = add nsw i64 %109, 1 br label %114 114: ; preds = %93, %89 %115 = phi i64 [ %92, %89 ], [ %113, %93 ] %116 = phi i32 [ %91, %89 ], [ %112, %93 ] %117 = getelementptr inbounds i32, ptr %50, i64 %115 store i32 %116, ptr %117, align 4, !tbaa !6 br label %118 118: ; preds = %114, %84, %53 %119 = add nuw nsw i64 %54, 1 %120 = add nsw i32 %55, -1 %121 = icmp eq i64 %119, 8 br i1 %121, label %122, label %53, !llvm.loop !23 122: ; preds = %118 %123 = load i32, ptr %17, align 4, !tbaa !15 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %50, i64 %124 %126 = add nuw nsw i64 %49, 1 %127 = load i32, ptr @BCMFB_FONT_HEIGHT, align 4, !tbaa !6 %128 = sext i32 %127 to i64 %129 = icmp slt i64 %126, %128 br i1 %129, label %48, label %130, !llvm.loop !25 130: ; preds = %122, %10, %4 ret i32 0 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"bcmsc_softc", !12, i64 0, !13, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 16} !15 = !{!11, !7, i64 20} !16 = !{!11, !7, i64 28} !17 = !{!11, !7, i64 32} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !20 = !{!19, !7, i64 4} !21 = !{!19, !7, i64 8} !22 = !{!19, !7, i64 12} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = distinct !{!25, !24}
freebsd_sys_arm_broadcom_bcm2835_extr_bcm2835_fb.c_bcmfb_putc
; ModuleID = 'AnghaBench/sqlcipher/tool/extr_sqldiff.c_gobble_token.c' source_filename = "AnghaBench/sqlcipher/tool/extr_sqldiff.c_gobble_token.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define dso_local noundef ptr @gobble_token(ptr noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = sext i32 %2 to i64 %5 = getelementptr i8, ptr %1, i64 %4 %6 = getelementptr i8, ptr %5, i64 -1 %7 = icmp eq ptr %0, null br i1 %7, label %59, label %8 8: ; preds = %3, %11 %9 = phi ptr [ %12, %11 ], [ %0, %3 ] %10 = load i8, ptr %9, align 1, !tbaa !5 switch i8 %10, label %44 [ i8 32, label %11 i8 34, label %15 i8 39, label %16 i8 96, label %13 i8 91, label %14 ] 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %9, i64 1 br label %8, !llvm.loop !8 13: ; preds = %8 br label %16 14: ; preds = %8 br label %16 15: ; preds = %8 br label %16 16: ; preds = %8, %15, %14, %13 %17 = phi i32 [ 96, %13 ], [ 93, %14 ], [ 34, %15 ], [ 39, %8 ] %18 = getelementptr inbounds i8, ptr %9, i64 1 %19 = load i8, ptr %18, align 1, !tbaa !5 %20 = icmp ne i8 %19, 0 %21 = icmp ugt ptr %6, %1 %22 = and i1 %20, %21 br i1 %22, label %23, label %56 23: ; preds = %16, %35 %24 = phi i8 [ %40, %35 ], [ %19, %16 ] %25 = phi ptr [ %39, %35 ], [ %18, %16 ] %26 = phi ptr [ %38, %35 ], [ %1, %16 ] %27 = phi ptr [ %37, %35 ], [ %9, %16 ] %28 = sext i8 %24 to i32 %29 = icmp eq i32 %17, %28 br i1 %29, label %30, label %35 30: ; preds = %23 %31 = getelementptr inbounds i8, ptr %27, i64 2 %32 = load i8, ptr %31, align 1, !tbaa !5 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %17, %33 br i1 %34, label %35, label %56 35: ; preds = %23, %30 %36 = phi i8 [ %32, %30 ], [ %24, %23 ] %37 = phi ptr [ %31, %30 ], [ %25, %23 ] store i8 %36, ptr %26, align 1, !tbaa !5 %38 = getelementptr inbounds i8, ptr %26, i64 1 %39 = getelementptr inbounds i8, ptr %37, i64 1 %40 = load i8, ptr %39, align 1, !tbaa !5 %41 = icmp ne i8 %40, 0 %42 = icmp ult ptr %38, %6 %43 = select i1 %41, i1 %42, i1 false br i1 %43, label %23, label %56, !llvm.loop !10 44: ; preds = %8, %52 %45 = phi i8 [ %55, %52 ], [ %10, %8 ] %46 = phi ptr [ %54, %52 ], [ %9, %8 ] %47 = phi ptr [ %53, %52 ], [ %1, %8 ] switch i8 %45, label %48 [ i8 0, label %56 i8 32, label %56 i8 40, label %56 ] 48: ; preds = %44 %49 = icmp ult ptr %47, %6 br i1 %49, label %50, label %52 50: ; preds = %48 %51 = getelementptr inbounds i8, ptr %47, i64 1 store i8 %45, ptr %47, align 1, !tbaa !5 br label %52 52: ; preds = %50, %48 %53 = phi ptr [ %51, %50 ], [ %47, %48 ] %54 = getelementptr inbounds i8, ptr %46, i64 1 %55 = load i8, ptr %54, align 1, !tbaa !5 br label %44, !llvm.loop !11 56: ; preds = %30, %35, %44, %44, %44, %16 %57 = phi ptr [ %18, %16 ], [ %46, %44 ], [ %46, %44 ], [ %46, %44 ], [ %31, %30 ], [ %39, %35 ] %58 = phi ptr [ %1, %16 ], [ %47, %44 ], [ %47, %44 ], [ %47, %44 ], [ %26, %30 ], [ %38, %35 ] store i8 0, ptr %58, align 1, !tbaa !5 br label %59 59: ; preds = %3, %56 %60 = phi ptr [ %57, %56 ], [ null, %3 ] ret ptr %60 } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = distinct !{!10, !9} !11 = distinct !{!11, !9}
; ModuleID = 'AnghaBench/sqlcipher/tool/extr_sqldiff.c_gobble_token.c' source_filename = "AnghaBench/sqlcipher/tool/extr_sqldiff.c_gobble_token.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define noundef ptr @gobble_token(ptr noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = sext i32 %2 to i64 %5 = getelementptr i8, ptr %1, i64 %4 %6 = getelementptr i8, ptr %5, i64 -1 %7 = icmp eq ptr %0, null br i1 %7, label %59, label %8 8: ; preds = %3, %11 %9 = phi ptr [ %12, %11 ], [ %0, %3 ] %10 = load i8, ptr %9, align 1, !tbaa !6 switch i8 %10, label %44 [ i8 32, label %11 i8 34, label %15 i8 39, label %16 i8 96, label %13 i8 91, label %14 ] 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %9, i64 1 br label %8, !llvm.loop !9 13: ; preds = %8 br label %16 14: ; preds = %8 br label %16 15: ; preds = %8 br label %16 16: ; preds = %8, %15, %14, %13 %17 = phi i32 [ 96, %13 ], [ 93, %14 ], [ 34, %15 ], [ 39, %8 ] %18 = getelementptr inbounds i8, ptr %9, i64 1 %19 = load i8, ptr %18, align 1, !tbaa !6 %20 = icmp ne i8 %19, 0 %21 = icmp ugt ptr %6, %1 %22 = and i1 %20, %21 br i1 %22, label %23, label %56 23: ; preds = %16, %35 %24 = phi i8 [ %40, %35 ], [ %19, %16 ] %25 = phi ptr [ %39, %35 ], [ %18, %16 ] %26 = phi ptr [ %38, %35 ], [ %1, %16 ] %27 = phi ptr [ %37, %35 ], [ %9, %16 ] %28 = sext i8 %24 to i32 %29 = icmp eq i32 %17, %28 br i1 %29, label %30, label %35 30: ; preds = %23 %31 = getelementptr inbounds i8, ptr %27, i64 2 %32 = load i8, ptr %31, align 1, !tbaa !6 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %17, %33 br i1 %34, label %35, label %56 35: ; preds = %23, %30 %36 = phi i8 [ %32, %30 ], [ %24, %23 ] %37 = phi ptr [ %31, %30 ], [ %25, %23 ] store i8 %36, ptr %26, align 1, !tbaa !6 %38 = getelementptr inbounds i8, ptr %26, i64 1 %39 = getelementptr inbounds i8, ptr %37, i64 1 %40 = load i8, ptr %39, align 1, !tbaa !6 %41 = icmp ne i8 %40, 0 %42 = icmp ult ptr %38, %6 %43 = select i1 %41, i1 %42, i1 false br i1 %43, label %23, label %56, !llvm.loop !11 44: ; preds = %8, %52 %45 = phi i8 [ %55, %52 ], [ %10, %8 ] %46 = phi ptr [ %54, %52 ], [ %9, %8 ] %47 = phi ptr [ %53, %52 ], [ %1, %8 ] switch i8 %45, label %48 [ i8 0, label %56 i8 32, label %56 i8 40, label %56 ] 48: ; preds = %44 %49 = icmp ult ptr %47, %6 br i1 %49, label %50, label %52 50: ; preds = %48 %51 = getelementptr inbounds i8, ptr %47, i64 1 store i8 %45, ptr %47, align 1, !tbaa !6 br label %52 52: ; preds = %50, %48 %53 = phi ptr [ %51, %50 ], [ %47, %48 ] %54 = getelementptr inbounds i8, ptr %46, i64 1 %55 = load i8, ptr %54, align 1, !tbaa !6 br label %44, !llvm.loop !12 56: ; preds = %30, %35, %44, %44, %44, %16 %57 = phi ptr [ %18, %16 ], [ %46, %44 ], [ %46, %44 ], [ %46, %44 ], [ %31, %30 ], [ %39, %35 ] %58 = phi ptr [ %1, %16 ], [ %47, %44 ], [ %47, %44 ], [ %47, %44 ], [ %26, %30 ], [ %38, %35 ] store i8 0, ptr %58, align 1, !tbaa !6 br label %59 59: ; preds = %3, %56 %60 = phi ptr [ %57, %56 ], [ null, %3 ] ret ptr %60 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10} !12 = distinct !{!12, !10}
sqlcipher_tool_extr_sqldiff.c_gobble_token
; ModuleID = 'AnghaBench/openssl/ssl/extr_s3_lib.c_srp_password_from_info_cb.c' source_filename = "AnghaBench/openssl/ssl/extr_s3_lib.c_srp_password_from_info_cb.c" target datalayout = "e-m:e-p270:32:32-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 @srp_password_from_info_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @srp_password_from_info_cb(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call ptr @OPENSSL_strdup(i32 noundef %3) #2 ret ptr %4 } declare ptr @OPENSSL_strdup(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/ssl/extr_s3_lib.c_srp_password_from_info_cb.c' source_filename = "AnghaBench/openssl/ssl/extr_s3_lib.c_srp_password_from_info_cb.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 @srp_password_from_info_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @srp_password_from_info_cb(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call ptr @OPENSSL_strdup(i32 noundef %3) #2 ret ptr %4 } declare ptr @OPENSSL_strdup(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
openssl_ssl_extr_s3_lib.c_srp_password_from_info_cb
; ModuleID = 'AnghaBench/reactos/dll/win32/wininet/extr_utility.c_get_callback_name.c' source_filename = "AnghaBench/reactos/dll/win32/wininet/extr_utility.c_get_callback_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, ptr } @get_callback_name.internet_status = internal unnamed_addr constant [25 x %struct.TYPE_3__] [%struct.TYPE_3__ { i32 132, ptr @.str }, %struct.TYPE_3__ { i32 141, ptr @.str.1 }, %struct.TYPE_3__ { i32 150, ptr @.str.2 }, %struct.TYPE_3__ { i32 151, ptr @.str.3 }, %struct.TYPE_3__ { i32 130, ptr @.str.4 }, %struct.TYPE_3__ { i32 133, ptr @.str.5 }, %struct.TYPE_3__ { i32 136, ptr @.str.6 }, %struct.TYPE_3__ { i32 131, ptr @.str.7 }, %struct.TYPE_3__ { i32 145, ptr @.str.8 }, %struct.TYPE_3__ { i32 138, ptr @.str.9 }, %struct.TYPE_3__ { i32 152, ptr @.str.10 }, %struct.TYPE_3__ { i32 149, ptr @.str.11 }, %struct.TYPE_3__ { i32 143, ptr @.str.12 }, %struct.TYPE_3__ { i32 144, ptr @.str.13 }, %struct.TYPE_3__ { i32 134, ptr @.str.14 }, %struct.TYPE_3__ { i32 135, ptr @.str.15 }, %struct.TYPE_3__ { i32 142, ptr @.str.16 }, %struct.TYPE_3__ { i32 128, ptr @.str.17 }, %struct.TYPE_3__ { i32 129, ptr @.str.18 }, %struct.TYPE_3__ { i32 146, ptr @.str.19 }, %struct.TYPE_3__ { i32 147, ptr @.str.20 }, %struct.TYPE_3__ { i32 137, ptr @.str.21 }, %struct.TYPE_3__ { i32 140, ptr @.str.22 }, %struct.TYPE_3__ { i32 139, ptr @.str.23 }, %struct.TYPE_3__ { i32 148, ptr @.str.24 }], align 16 @.str = private unnamed_addr constant [31 x i8] c"INTERNET_STATUS_RESOLVING_NAME\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"INTERNET_STATUS_NAME_RESOLVED\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"INTERNET_STATUS_CONNECTING_TO_SERVER\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"INTERNET_STATUS_CONNECTED_TO_SERVER\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"INTERNET_STATUS_SENDING_REQUEST\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"INTERNET_STATUS_REQUEST_SENT\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"INTERNET_STATUS_RECEIVING_RESPONSE\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"INTERNET_STATUS_RESPONSE_RECEIVED\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c"INTERNET_STATUS_CTL_RESPONSE_RECEIVED\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"INTERNET_STATUS_PREFETCH\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"INTERNET_STATUS_CLOSING_CONNECTION\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"INTERNET_STATUS_CONNECTION_CLOSED\00", align 1 @.str.12 = private unnamed_addr constant [31 x i8] c"INTERNET_STATUS_HANDLE_CREATED\00", align 1 @.str.13 = private unnamed_addr constant [31 x i8] c"INTERNET_STATUS_HANDLE_CLOSING\00", align 1 @.str.14 = private unnamed_addr constant [33 x i8] c"INTERNET_STATUS_REQUEST_COMPLETE\00", align 1 @.str.15 = private unnamed_addr constant [25 x i8] c"INTERNET_STATUS_REDIRECT\00", align 1 @.str.16 = private unnamed_addr constant [38 x i8] c"INTERNET_STATUS_INTERMEDIATE_RESPONSE\00", align 1 @.str.17 = private unnamed_addr constant [36 x i8] c"INTERNET_STATUS_USER_INPUT_REQUIRED\00", align 1 @.str.18 = private unnamed_addr constant [29 x i8] c"INTERNET_STATUS_STATE_CHANGE\00", align 1 @.str.19 = private unnamed_addr constant [28 x i8] c"INTERNET_STATUS_COOKIE_SENT\00", align 1 @.str.20 = private unnamed_addr constant [32 x i8] c"INTERNET_STATUS_COOKIE_RECEIVED\00", align 1 @.str.21 = private unnamed_addr constant [33 x i8] c"INTERNET_STATUS_PRIVACY_IMPACTED\00", align 1 @.str.22 = private unnamed_addr constant [27 x i8] c"INTERNET_STATUS_P3P_HEADER\00", align 1 @.str.23 = private unnamed_addr constant [30 x i8] c"INTERNET_STATUS_P3P_POLICYREF\00", align 1 @.str.24 = private unnamed_addr constant [31 x i8] c"INTERNET_STATUS_COOKIE_HISTORY\00", align 1 @.str.25 = private unnamed_addr constant [8 x i8] c"Unknown\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_callback_name], section "llvm.metadata" @switch.table.get_callback_name = private unnamed_addr constant [25 x i64] [i64 17, i64 18, i64 4, i64 7, i64 0, i64 5, i64 14, i64 15, i64 6, i64 21, i64 9, i64 23, i64 22, i64 1, i64 16, i64 12, i64 13, i64 8, i64 19, i64 20, i64 24, i64 11, i64 2, i64 3, i64 10], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal ptr @get_callback_name(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 25 br i1 %3, label %4, label %10 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = getelementptr inbounds [25 x i64], ptr @switch.table.get_callback_name, i64 0, i64 %5 %7 = load i64, ptr %6, align 8 %8 = getelementptr inbounds [25 x %struct.TYPE_3__], ptr @get_callback_name.internet_status, i64 0, i64 %7, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !5 br label %10 10: ; preds = %1, %4 %11 = phi ptr [ %9, %4 ], [ @.str.25, %1 ] ret ptr %11 } 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)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/wininet/extr_utility.c_get_callback_name.c' source_filename = "AnghaBench/reactos/dll/win32/wininet/extr_utility.c_get_callback_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, ptr } @get_callback_name.internet_status = internal unnamed_addr constant [25 x %struct.TYPE_3__] [%struct.TYPE_3__ { i32 132, ptr @.str }, %struct.TYPE_3__ { i32 141, ptr @.str.1 }, %struct.TYPE_3__ { i32 150, ptr @.str.2 }, %struct.TYPE_3__ { i32 151, ptr @.str.3 }, %struct.TYPE_3__ { i32 130, ptr @.str.4 }, %struct.TYPE_3__ { i32 133, ptr @.str.5 }, %struct.TYPE_3__ { i32 136, ptr @.str.6 }, %struct.TYPE_3__ { i32 131, ptr @.str.7 }, %struct.TYPE_3__ { i32 145, ptr @.str.8 }, %struct.TYPE_3__ { i32 138, ptr @.str.9 }, %struct.TYPE_3__ { i32 152, ptr @.str.10 }, %struct.TYPE_3__ { i32 149, ptr @.str.11 }, %struct.TYPE_3__ { i32 143, ptr @.str.12 }, %struct.TYPE_3__ { i32 144, ptr @.str.13 }, %struct.TYPE_3__ { i32 134, ptr @.str.14 }, %struct.TYPE_3__ { i32 135, ptr @.str.15 }, %struct.TYPE_3__ { i32 142, ptr @.str.16 }, %struct.TYPE_3__ { i32 128, ptr @.str.17 }, %struct.TYPE_3__ { i32 129, ptr @.str.18 }, %struct.TYPE_3__ { i32 146, ptr @.str.19 }, %struct.TYPE_3__ { i32 147, ptr @.str.20 }, %struct.TYPE_3__ { i32 137, ptr @.str.21 }, %struct.TYPE_3__ { i32 140, ptr @.str.22 }, %struct.TYPE_3__ { i32 139, ptr @.str.23 }, %struct.TYPE_3__ { i32 148, ptr @.str.24 }], align 8 @.str = private unnamed_addr constant [31 x i8] c"INTERNET_STATUS_RESOLVING_NAME\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"INTERNET_STATUS_NAME_RESOLVED\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"INTERNET_STATUS_CONNECTING_TO_SERVER\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"INTERNET_STATUS_CONNECTED_TO_SERVER\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"INTERNET_STATUS_SENDING_REQUEST\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"INTERNET_STATUS_REQUEST_SENT\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"INTERNET_STATUS_RECEIVING_RESPONSE\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"INTERNET_STATUS_RESPONSE_RECEIVED\00", align 1 @.str.8 = private unnamed_addr constant [38 x i8] c"INTERNET_STATUS_CTL_RESPONSE_RECEIVED\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"INTERNET_STATUS_PREFETCH\00", align 1 @.str.10 = private unnamed_addr constant [35 x i8] c"INTERNET_STATUS_CLOSING_CONNECTION\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"INTERNET_STATUS_CONNECTION_CLOSED\00", align 1 @.str.12 = private unnamed_addr constant [31 x i8] c"INTERNET_STATUS_HANDLE_CREATED\00", align 1 @.str.13 = private unnamed_addr constant [31 x i8] c"INTERNET_STATUS_HANDLE_CLOSING\00", align 1 @.str.14 = private unnamed_addr constant [33 x i8] c"INTERNET_STATUS_REQUEST_COMPLETE\00", align 1 @.str.15 = private unnamed_addr constant [25 x i8] c"INTERNET_STATUS_REDIRECT\00", align 1 @.str.16 = private unnamed_addr constant [38 x i8] c"INTERNET_STATUS_INTERMEDIATE_RESPONSE\00", align 1 @.str.17 = private unnamed_addr constant [36 x i8] c"INTERNET_STATUS_USER_INPUT_REQUIRED\00", align 1 @.str.18 = private unnamed_addr constant [29 x i8] c"INTERNET_STATUS_STATE_CHANGE\00", align 1 @.str.19 = private unnamed_addr constant [28 x i8] c"INTERNET_STATUS_COOKIE_SENT\00", align 1 @.str.20 = private unnamed_addr constant [32 x i8] c"INTERNET_STATUS_COOKIE_RECEIVED\00", align 1 @.str.21 = private unnamed_addr constant [33 x i8] c"INTERNET_STATUS_PRIVACY_IMPACTED\00", align 1 @.str.22 = private unnamed_addr constant [27 x i8] c"INTERNET_STATUS_P3P_HEADER\00", align 1 @.str.23 = private unnamed_addr constant [30 x i8] c"INTERNET_STATUS_P3P_POLICYREF\00", align 1 @.str.24 = private unnamed_addr constant [31 x i8] c"INTERNET_STATUS_COOKIE_HISTORY\00", align 1 @.str.25 = private unnamed_addr constant [8 x i8] c"Unknown\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @get_callback_name], section "llvm.metadata" @switch.table.get_callback_name = private unnamed_addr constant [25 x ptr] [ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 272), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 288), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 64), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 112), ptr @get_callback_name.internet_status, ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 80), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 224), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 240), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 96), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 336), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 144), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 368), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 352), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 16), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 256), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 192), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 208), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 128), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 304), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 320), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 384), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 176), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 32), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 48), ptr getelementptr inbounds (i8, ptr @get_callback_name.internet_status, i64 160)], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal ptr @get_callback_name(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 25 br i1 %3, label %4, label %10 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = getelementptr inbounds [25 x ptr], ptr @switch.table.get_callback_name, i64 0, i64 %5 %7 = load ptr, ptr %6, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !6 br label %10 10: ; preds = %1, %4 %11 = phi ptr [ %9, %4 ], [ @.str.25, %1 ] ret ptr %11 } 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 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0}
reactos_dll_win32_wininet_extr_utility.c_get_callback_name
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_CTX_iv_length.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_CTX_iv_length.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EVP_CIPH_CUSTOM_IV_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @EVP_CTRL_GET_IVLEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @EVP_CIPHER_CTX_iv_length(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @EVP_CIPHER_flags(ptr noundef %3) #3 %5 = load i32, ptr @EVP_CIPH_CUSTOM_IV_LENGTH, align 4, !tbaa !10 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %14, label %8 8: ; preds = %1 %9 = load i32, ptr @EVP_CTRL_GET_IVLEN, align 4, !tbaa !10 %10 = call i32 @EVP_CIPHER_CTX_ctrl(ptr noundef nonnull %0, i32 noundef %9, i32 noundef 0, ptr noundef nonnull %2) #3 %11 = icmp eq i32 %10, 1 %12 = load i32, ptr %2, align 4 %13 = select i1 %11, i32 %12, i32 -1 br label %17 14: ; preds = %1 %15 = load ptr, ptr %0, align 8, !tbaa !5 %16 = load i32, ptr %15, align 4, !tbaa !12 br label %17 17: ; preds = %14, %8 %18 = phi i32 [ %13, %8 ], [ %16, %14 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @EVP_CIPHER_flags(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_CIPHER_CTX_ctrl(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)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_6__", !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_CTX_iv_length.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_CTX_iv_length.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EVP_CIPH_CUSTOM_IV_LENGTH = common local_unnamed_addr global i32 0, align 4 @EVP_CTRL_GET_IVLEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @EVP_CIPHER_CTX_iv_length(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @EVP_CIPHER_flags(ptr noundef %3) #3 %5 = load i32, ptr @EVP_CIPH_CUSTOM_IV_LENGTH, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %14, label %8 8: ; preds = %1 %9 = load i32, ptr @EVP_CTRL_GET_IVLEN, align 4, !tbaa !11 %10 = call i32 @EVP_CIPHER_CTX_ctrl(ptr noundef nonnull %0, i32 noundef %9, i32 noundef 0, ptr noundef nonnull %2) #3 %11 = icmp eq i32 %10, 1 %12 = load i32, ptr %2, align 4 %13 = select i1 %11, i32 %12, i32 -1 br label %17 14: ; preds = %1 %15 = load ptr, ptr %0, align 8, !tbaa !6 %16 = load i32, ptr %15, align 4, !tbaa !13 br label %17 17: ; preds = %14, %8 %18 = phi i32 [ %13, %8 ], [ %16, %14 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @EVP_CIPHER_flags(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_CIPHER_CTX_ctrl(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)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_6__", !12, i64 0}
freebsd_crypto_openssl_crypto_evp_extr_evp_lib.c_EVP_CIPHER_CTX_iv_length
; ModuleID = 'AnghaBench/qmk_firmware/layouts/community/ergodox/osx_de_experimental/extr_keymap.c_matrix_init_user.c' source_filename = "AnghaBench/qmk_firmware/layouts/community/ergodox/osx_de_experimental/extr_keymap.c_matrix_init_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @matrix_init_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/layouts/community/ergodox/osx_de_experimental/extr_keymap.c_matrix_init_user.c' source_filename = "AnghaBench/qmk_firmware/layouts/community/ergodox/osx_de_experimental/extr_keymap.c_matrix_init_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @matrix_init_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_layouts_community_ergodox_osx_de_experimental_extr_keymap.c_matrix_init_user
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic.h_qlcnic_alloc_mbx_args.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic.h_qlcnic_alloc_mbx_args.c" target datalayout = "e-m:e-p270:32:32-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 @qlcnic_alloc_mbx_args], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @qlcnic_alloc_mbx_args(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call i32 %6(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #1 ret i32 %7 } 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"qlcnic_adapter", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic.h_qlcnic_alloc_mbx_args.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic.h_qlcnic_alloc_mbx_args.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 @qlcnic_alloc_mbx_args], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @qlcnic_alloc_mbx_args(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = tail call i32 %6(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #1 ret i32 %7 } 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"qlcnic_adapter", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_4__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_3__", !8, i64 0}
fastsocket_kernel_drivers_net_qlcnic_extr_qlcnic.h_qlcnic_alloc_mbx_args
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_serial167.c_serial167_console_write.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_serial167.c_serial167_console_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BASE_ADDR = dso_local local_unnamed_addr global i64 0, align 8 @CyCAR = dso_local local_unnamed_addr global i64 0, align 8 @CyCCR = dso_local local_unnamed_addr global i64 0, align 8 @CyENB_XMTR = dso_local local_unnamed_addr global i8 0, align 1 @CyIER = dso_local local_unnamed_addr global i64 0, align 8 @CyTxMpty = dso_local local_unnamed_addr global i8 0, align 1 @pcc2chip = dso_local local_unnamed_addr global ptr null, align 8 @PccSCCTICR = dso_local local_unnamed_addr global i64 0, align 8 @PccTPIACKR = dso_local local_unnamed_addr global i64 0, align 8 @CyLICR = dso_local local_unnamed_addr global i64 0, align 8 @CyNOTRANS = dso_local local_unnamed_addr global i8 0, align 1 @CyTEOIR = dso_local local_unnamed_addr global i64 0, align 8 @CyTDR = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @serial167_console_write(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = load i64, ptr @BASE_ADDR, align 8, !tbaa !5 %6 = inttoptr i64 %5 to ptr call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) %7 = tail call i32 @local_irq_save(i64 noundef undef) #3 %8 = load i64, ptr @CyCAR, align 8, !tbaa !5 %9 = getelementptr inbounds i8, ptr %6, i64 %8 store volatile i8 0, ptr %9, align 1, !tbaa !9 %10 = load i64, ptr @CyCCR, align 8, !tbaa !5 %11 = getelementptr inbounds i8, ptr %6, i64 %10 br label %12 12: ; preds = %12, %3 %13 = load volatile i8, ptr %11, align 1, !tbaa !9 %14 = icmp eq i8 %13, 0 br i1 %14, label %15, label %12, !llvm.loop !10 15: ; preds = %12 %16 = load i8, ptr @CyENB_XMTR, align 1, !tbaa !9 store volatile i8 %16, ptr %11, align 1, !tbaa !9 %17 = load i64, ptr @CyIER, align 8, !tbaa !5 %18 = getelementptr inbounds i8, ptr %6, i64 %17 %19 = load volatile i8, ptr %18, align 1, !tbaa !9 %20 = load i8, ptr @CyTxMpty, align 1, !tbaa !9 store volatile i8 %20, ptr %18, align 1, !tbaa !9 br label %21 21: ; preds = %69, %15 %22 = phi ptr [ %71, %69 ], [ %1, %15 ] %23 = phi i32 [ %72, %69 ], [ 0, %15 ] %24 = phi i32 [ %73, %69 ], [ 0, %15 ] %25 = load ptr, ptr @pcc2chip, align 8, !tbaa !12 %26 = load i64, ptr @PccSCCTICR, align 8, !tbaa !5 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !14 %29 = and i32 %28, 32 %30 = icmp eq i32 %29, 0 br label %31 31: ; preds = %21, %31 br i1 %30, label %31, label %32 32: ; preds = %31 %33 = load i64, ptr @PccTPIACKR, align 8, !tbaa !5 %34 = getelementptr inbounds i32, ptr %25, i64 %33 %35 = load i32, ptr %34, align 4, !tbaa !14 store volatile i32 %35, ptr %4, align 4, !tbaa !14 %36 = load i64, ptr @CyLICR, align 8, !tbaa !5 %37 = getelementptr inbounds i8, ptr %6, i64 %36 %38 = load volatile i8, ptr %37, align 1, !tbaa !9 %39 = icmp ult i8 %38, 4 br i1 %39, label %40, label %67 40: ; preds = %32 %41 = icmp eq i32 %24, %2 br i1 %41, label %42, label %49 42: ; preds = %40 %43 = load i8, ptr @CyNOTRANS, align 1, !tbaa !9 %44 = load i64, ptr @CyTEOIR, align 8, !tbaa !5 %45 = getelementptr inbounds i8, ptr %6, i64 %44 store volatile i8 %43, ptr %45, align 1, !tbaa !9 %46 = load i64, ptr @CyIER, align 8, !tbaa !5 %47 = getelementptr inbounds i8, ptr %6, i64 %46 store volatile i8 %19, ptr %47, align 1, !tbaa !9 %48 = tail call i32 @local_irq_restore(i64 noundef undef) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) ret void 49: ; preds = %40 %50 = icmp eq i32 %23, 0 br i1 %50, label %56, label %51 51: ; preds = %49 %52 = load i64, ptr @CyTDR, align 8, !tbaa !5 %53 = getelementptr inbounds i8, ptr %6, i64 %52 store volatile i8 10, ptr %53, align 1, !tbaa !9 %54 = getelementptr inbounds i8, ptr %22, i64 1 %55 = add nsw i32 %24, 1 br label %69 56: ; preds = %49 %57 = load i8, ptr %22, align 1, !tbaa !9 %58 = icmp eq i8 %57, 10 br i1 %58, label %59, label %62 59: ; preds = %56 %60 = load i64, ptr @CyTDR, align 8, !tbaa !5 %61 = getelementptr inbounds i8, ptr %6, i64 %60 store volatile i8 13, ptr %61, align 1, !tbaa !9 br label %69 62: ; preds = %56 %63 = getelementptr inbounds i8, ptr %22, i64 1 %64 = load i64, ptr @CyTDR, align 8, !tbaa !5 %65 = getelementptr inbounds i8, ptr %6, i64 %64 store volatile i8 %57, ptr %65, align 1, !tbaa !9 %66 = add nsw i32 %24, 1 br label %69 67: ; preds = %32 %68 = load i8, ptr @CyNOTRANS, align 1, !tbaa !9 br label %69 69: ; preds = %51, %62, %59, %67 %70 = phi i8 [ %68, %67 ], [ 0, %59 ], [ 0, %62 ], [ 0, %51 ] %71 = phi ptr [ %22, %67 ], [ %22, %59 ], [ %63, %62 ], [ %54, %51 ] %72 = phi i32 [ %23, %67 ], [ 1, %59 ], [ 0, %62 ], [ 0, %51 ] %73 = phi i32 [ %24, %67 ], [ %24, %59 ], [ %66, %62 ], [ %55, %51 ] %74 = load i64, ptr @CyTEOIR, align 8, !tbaa !5 %75 = getelementptr inbounds i8, ptr %6, i64 %74 store volatile i8 %70, ptr %75, align 1, !tbaa !9 br label %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #2 declare i32 @local_irq_restore(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_serial167.c_serial167_console_write.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_serial167.c_serial167_console_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BASE_ADDR = common local_unnamed_addr global i64 0, align 8 @CyCAR = common local_unnamed_addr global i64 0, align 8 @CyCCR = common local_unnamed_addr global i64 0, align 8 @CyENB_XMTR = common local_unnamed_addr global i8 0, align 1 @CyIER = common local_unnamed_addr global i64 0, align 8 @CyTxMpty = common local_unnamed_addr global i8 0, align 1 @pcc2chip = common local_unnamed_addr global ptr null, align 8 @PccSCCTICR = common local_unnamed_addr global i64 0, align 8 @PccTPIACKR = common local_unnamed_addr global i64 0, align 8 @CyLICR = common local_unnamed_addr global i64 0, align 8 @CyNOTRANS = common local_unnamed_addr global i8 0, align 1 @CyTEOIR = common local_unnamed_addr global i64 0, align 8 @CyTDR = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @serial167_console_write(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = load i64, ptr @BASE_ADDR, align 8, !tbaa !6 %6 = inttoptr i64 %5 to ptr call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) %7 = tail call i32 @local_irq_save(i64 noundef undef) #3 %8 = load i64, ptr @CyCAR, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %6, i64 %8 store volatile i8 0, ptr %9, align 1, !tbaa !10 %10 = load i64, ptr @CyCCR, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %6, i64 %10 br label %12 12: ; preds = %12, %3 %13 = load volatile i8, ptr %11, align 1, !tbaa !10 %14 = icmp eq i8 %13, 0 br i1 %14, label %15, label %12, !llvm.loop !11 15: ; preds = %12 %16 = load i8, ptr @CyENB_XMTR, align 1, !tbaa !10 store volatile i8 %16, ptr %11, align 1, !tbaa !10 %17 = load i64, ptr @CyIER, align 8, !tbaa !6 %18 = getelementptr inbounds i8, ptr %6, i64 %17 %19 = load volatile i8, ptr %18, align 1, !tbaa !10 %20 = load i8, ptr @CyTxMpty, align 1, !tbaa !10 store volatile i8 %20, ptr %18, align 1, !tbaa !10 br label %21 21: ; preds = %69, %15 %22 = phi ptr [ %71, %69 ], [ %1, %15 ] %23 = phi i32 [ %72, %69 ], [ 0, %15 ] %24 = phi i32 [ %73, %69 ], [ 0, %15 ] %25 = load ptr, ptr @pcc2chip, align 8, !tbaa !13 %26 = load i64, ptr @PccSCCTICR, align 8, !tbaa !6 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !15 %29 = and i32 %28, 32 %30 = icmp eq i32 %29, 0 br label %31 31: ; preds = %21, %31 br i1 %30, label %31, label %32 32: ; preds = %31 %33 = load i64, ptr @PccTPIACKR, align 8, !tbaa !6 %34 = getelementptr inbounds i32, ptr %25, i64 %33 %35 = load i32, ptr %34, align 4, !tbaa !15 store volatile i32 %35, ptr %4, align 4, !tbaa !15 %36 = load i64, ptr @CyLICR, align 8, !tbaa !6 %37 = getelementptr inbounds i8, ptr %6, i64 %36 %38 = load volatile i8, ptr %37, align 1, !tbaa !10 %39 = icmp ult i8 %38, 4 br i1 %39, label %40, label %67 40: ; preds = %32 %41 = icmp eq i32 %24, %2 br i1 %41, label %42, label %49 42: ; preds = %40 %43 = load i8, ptr @CyNOTRANS, align 1, !tbaa !10 %44 = load i64, ptr @CyTEOIR, align 8, !tbaa !6 %45 = getelementptr inbounds i8, ptr %6, i64 %44 store volatile i8 %43, ptr %45, align 1, !tbaa !10 %46 = load i64, ptr @CyIER, align 8, !tbaa !6 %47 = getelementptr inbounds i8, ptr %6, i64 %46 store volatile i8 %19, ptr %47, align 1, !tbaa !10 %48 = tail call i32 @local_irq_restore(i64 noundef undef) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) ret void 49: ; preds = %40 %50 = icmp eq i32 %23, 0 br i1 %50, label %56, label %51 51: ; preds = %49 %52 = load i64, ptr @CyTDR, align 8, !tbaa !6 %53 = getelementptr inbounds i8, ptr %6, i64 %52 store volatile i8 10, ptr %53, align 1, !tbaa !10 %54 = getelementptr inbounds i8, ptr %22, i64 1 %55 = add nsw i32 %24, 1 br label %69 56: ; preds = %49 %57 = load i8, ptr %22, align 1, !tbaa !10 %58 = icmp eq i8 %57, 10 br i1 %58, label %59, label %62 59: ; preds = %56 %60 = load i64, ptr @CyTDR, align 8, !tbaa !6 %61 = getelementptr inbounds i8, ptr %6, i64 %60 store volatile i8 13, ptr %61, align 1, !tbaa !10 br label %69 62: ; preds = %56 %63 = getelementptr inbounds i8, ptr %22, i64 1 %64 = load i64, ptr @CyTDR, align 8, !tbaa !6 %65 = getelementptr inbounds i8, ptr %6, i64 %64 store volatile i8 %57, ptr %65, align 1, !tbaa !10 %66 = add nsw i32 %24, 1 br label %69 67: ; preds = %32 %68 = load i8, ptr @CyNOTRANS, align 1, !tbaa !10 br label %69 69: ; preds = %51, %62, %59, %67 %70 = phi i8 [ %68, %67 ], [ 0, %59 ], [ 0, %62 ], [ 0, %51 ] %71 = phi ptr [ %22, %67 ], [ %22, %59 ], [ %63, %62 ], [ %54, %51 ] %72 = phi i32 [ %23, %67 ], [ 1, %59 ], [ 0, %62 ], [ 0, %51 ] %73 = phi i32 [ %24, %67 ], [ %24, %59 ], [ %66, %62 ], [ %55, %51 ] %74 = load i64, ptr @CyTEOIR, align 8, !tbaa !6 %75 = getelementptr inbounds i8, ptr %6, i64 %74 store volatile i8 %70, ptr %75, align 1, !tbaa !10 br label %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #2 declare i32 @local_irq_restore(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0}
fastsocket_kernel_drivers_char_extr_serial167.c_serial167_console_write
; ModuleID = 'AnghaBench/freebsd/lib/libiconv_modules/ISO2022/extr_citrus_iso2022.c__citrus_ISO2022_put_state_reset.c' source_filename = "AnghaBench/freebsd/lib/libiconv_modules/ISO2022/extr_citrus_iso2022.c__citrus_ISO2022_put_state_reset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MB_LEN_MAX = dso_local local_unnamed_addr global i32 0, align 4 @E2BIG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_citrus_ISO2022_put_state_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @_citrus_ISO2022_put_state_reset(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias nocapture noundef writeonly %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 %8 = load i32, ptr @MB_LEN_MAX, align 4, !tbaa !5 %9 = zext i32 %8 to i64 %10 = tail call ptr @llvm.stacksave.p0() %11 = alloca i8, i64 %9, align 16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 %12 = call i32 @_ISO2022_sputwchar(ptr noundef %0, i32 noundef 0, ptr noundef nonnull %11, i32 noundef %8, ptr noundef nonnull %6, ptr noundef %3, ptr noundef nonnull %7) #4 %13 = icmp eq i32 %12, 0 %14 = load i64, ptr %7, align 8, !tbaa !9 br i1 %13, label %16, label %15 15: ; preds = %5 store i64 %14, ptr %4, align 8, !tbaa !9 br label %27 16: ; preds = %5 %17 = icmp ugt i64 %14, %9 br i1 %17, label %21, label %18 18: ; preds = %16 %19 = add nsw i64 %14, -1 %20 = icmp ugt i64 %19, %2 br i1 %20, label %21, label %23 21: ; preds = %18, %16 store i64 -1, ptr %4, align 8, !tbaa !9 %22 = load i32, ptr @E2BIG, align 4, !tbaa !5 br label %27 23: ; preds = %18 %24 = call i32 @memcpy(ptr noundef %1, ptr noundef nonnull %11, i64 noundef %19) #4 %25 = load i64, ptr %7, align 8, !tbaa !9 %26 = add i64 %25, -1 store i64 %26, ptr %4, align 8, !tbaa !9 br label %27 27: ; preds = %23, %21, %15 %28 = phi i32 [ %12, %15 ], [ %22, %21 ], [ 0, %23 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 call void @llvm.stackrestore.p0(ptr %10) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @_ISO2022_sputwchar(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/lib/libiconv_modules/ISO2022/extr_citrus_iso2022.c__citrus_ISO2022_put_state_reset.c' source_filename = "AnghaBench/freebsd/lib/libiconv_modules/ISO2022/extr_citrus_iso2022.c__citrus_ISO2022_put_state_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MB_LEN_MAX = common local_unnamed_addr global i32 0, align 4 @E2BIG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_citrus_ISO2022_put_state_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @_citrus_ISO2022_put_state_reset(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias nocapture noundef writeonly %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 %8 = load i32, ptr @MB_LEN_MAX, align 4, !tbaa !6 %9 = zext i32 %8 to i64 %10 = tail call ptr @llvm.stacksave.p0() %11 = alloca i8, i64 %9, align 1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 %12 = call i32 @_ISO2022_sputwchar(ptr noundef %0, i32 noundef 0, ptr noundef nonnull %11, i32 noundef %8, ptr noundef nonnull %6, ptr noundef %3, ptr noundef nonnull %7) #4 %13 = icmp eq i32 %12, 0 %14 = load i64, ptr %7, align 8, !tbaa !10 br i1 %13, label %16, label %15 15: ; preds = %5 store i64 %14, ptr %4, align 8, !tbaa !10 br label %27 16: ; preds = %5 %17 = icmp ugt i64 %14, %9 br i1 %17, label %21, label %18 18: ; preds = %16 %19 = add nsw i64 %14, -1 %20 = icmp ugt i64 %19, %2 br i1 %20, label %21, label %23 21: ; preds = %18, %16 store i64 -1, ptr %4, align 8, !tbaa !10 %22 = load i32, ptr @E2BIG, align 4, !tbaa !6 br label %27 23: ; preds = %18 %24 = call i32 @memcpy(ptr noundef %1, ptr noundef nonnull %11, i64 noundef %19) #4 %25 = load i64, ptr %7, align 8, !tbaa !10 %26 = add i64 %25, -1 store i64 %26, ptr %4, align 8, !tbaa !10 br label %27 27: ; preds = %23, %21, %15 %28 = phi i32 [ %12, %15 ], [ %22, %21 ], [ 0, %23 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 call void @llvm.stackrestore.p0(ptr %10) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @_ISO2022_sputwchar(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
freebsd_lib_libiconv_modules_ISO2022_extr_citrus_iso2022.c__citrus_ISO2022_put_state_reset
; ModuleID = 'AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_beiscsi_cleanup_task.c' source_filename = "AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_beiscsi_cleanup_task.c" target datalayout = "e-m:e-p270:32:32-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.iscsi_task = type { i64, ptr, ptr, ptr } %struct.beiscsi_conn = type { i32, i32, ptr, ptr } %struct.hwi_wrb_context = type { i32 } %struct.beiscsi_io_task = type { ptr, i64, ptr, ptr, ptr, %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @beiscsi_cleanup_task], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @beiscsi_cleanup_task(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.iscsi_task, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.iscsi_task, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = getelementptr inbounds %struct.beiscsi_conn, ptr %6, i64 0, i32 3 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = getelementptr inbounds %struct.beiscsi_conn, ptr %6, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !17 %11 = getelementptr inbounds %struct.beiscsi_conn, ptr %6, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !18 %13 = tail call i64 @BE_GET_CRI_FROM_CID(i32 noundef %12) #2 %14 = load ptr, ptr %8, align 8, !tbaa !19 %15 = load ptr, ptr %14, align 8, !tbaa !21 %16 = getelementptr inbounds %struct.hwi_wrb_context, ptr %15, i64 %13 %17 = getelementptr inbounds %struct.beiscsi_io_task, ptr %3, i64 0, i32 4 %18 = load ptr, ptr %17, align 8, !tbaa !23 %19 = icmp eq ptr %18, null br i1 %19, label %26, label %20 20: ; preds = %1 %21 = load i32, ptr %10, align 4, !tbaa !28 %22 = getelementptr inbounds %struct.beiscsi_io_task, ptr %3, i64 0, i32 5 %23 = load i32, ptr %22, align 8, !tbaa !30 %24 = tail call i32 @dma_pool_free(i32 noundef %21, ptr noundef nonnull %18, i32 noundef %23) #2 store ptr null, ptr %17, align 8, !tbaa !23 %25 = getelementptr inbounds %struct.iscsi_task, ptr %0, i64 0, i32 1 store ptr null, ptr %25, align 8, !tbaa !31 br label %26 26: ; preds = %20, %1 %27 = load i64, ptr %0, align 8, !tbaa !32 %28 = icmp eq i64 %27, 0 br i1 %28, label %51, label %29 29: ; preds = %26 %30 = getelementptr inbounds %struct.beiscsi_io_task, ptr %3, i64 0, i32 3 %31 = load ptr, ptr %30, align 8, !tbaa !33 %32 = icmp eq ptr %31, null br i1 %32, label %35, label %33 33: ; preds = %29 %34 = tail call i32 @free_wrb_handle(ptr noundef nonnull %8, ptr noundef %16, ptr noundef nonnull %31) #2 store ptr null, ptr %30, align 8, !tbaa !33 br label %35 35: ; preds = %33, %29 %36 = getelementptr inbounds %struct.beiscsi_io_task, ptr %3, i64 0, i32 2 %37 = load ptr, ptr %36, align 8, !tbaa !34 %38 = icmp eq ptr %37, null br i1 %38, label %41, label %39 39: ; preds = %35 %40 = tail call i32 @free_io_sgl_handle(ptr noundef nonnull %8, ptr noundef nonnull %37) #2 store ptr null, ptr %36, align 8, !tbaa !34 br label %41 41: ; preds = %39, %35 %42 = load ptr, ptr %3, align 8, !tbaa !35 %43 = icmp eq ptr %42, null br i1 %43, label %56, label %44 44: ; preds = %41 %45 = getelementptr inbounds %struct.beiscsi_io_task, ptr %3, i64 0, i32 1 %46 = load i64, ptr %45, align 8, !tbaa !36 %47 = icmp eq i64 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %44 %49 = tail call i32 @scsi_dma_unmap(ptr noundef nonnull %42) #2 br label %50 50: ; preds = %48, %44 store ptr null, ptr %3, align 8, !tbaa !35 br label %56 51: ; preds = %26 %52 = load i32, ptr %6, align 8, !tbaa !37 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = tail call i32 @beiscsi_free_mgmt_task_handles(ptr noundef nonnull %6, ptr noundef nonnull %0) #2 br label %56 56: ; preds = %51, %54, %41, %50 ret void } declare i64 @BE_GET_CRI_FROM_CID(i32 noundef) local_unnamed_addr #1 declare i32 @dma_pool_free(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_wrb_handle(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free_io_sgl_handle(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @scsi_dma_unmap(ptr noundef) local_unnamed_addr #1 declare i32 @beiscsi_free_mgmt_task_handles(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, !10, i64 24} !6 = !{!"iscsi_task", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 16} !12 = !{!13, !10, i64 0} !13 = !{!"iscsi_conn", !10, i64 0} !14 = !{!15, !10, i64 16} !15 = !{!"beiscsi_conn", !16, i64 0, !16, i64 4, !10, i64 8, !10, i64 16} !16 = !{!"int", !8, i64 0} !17 = !{!15, !10, i64 8} !18 = !{!15, !16, i64 4} !19 = !{!20, !10, i64 0} !20 = !{!"beiscsi_hba", !10, i64 0} !21 = !{!22, !10, i64 0} !22 = !{!"hwi_controller", !10, i64 0} !23 = !{!24, !10, i64 32} !24 = !{!"beiscsi_io_task", !10, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !25, i64 40} !25 = !{!"TYPE_6__", !26, i64 0} !26 = !{!"TYPE_5__", !27, i64 0} !27 = !{!"TYPE_4__", !16, i64 0} !28 = !{!29, !16, i64 0} !29 = !{!"beiscsi_session", !16, i64 0} !30 = !{!24, !16, i64 40} !31 = !{!6, !10, i64 8} !32 = !{!6, !7, i64 0} !33 = !{!24, !10, i64 24} !34 = !{!24, !10, i64 16} !35 = !{!24, !10, i64 0} !36 = !{!24, !7, i64 8} !37 = !{!15, !16, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_beiscsi_cleanup_task.c' source_filename = "AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_beiscsi_cleanup_task.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.hwi_wrb_context = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @beiscsi_cleanup_task], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @beiscsi_cleanup_task(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = getelementptr inbounds i8, ptr %6, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !15 %9 = getelementptr inbounds i8, ptr %6, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !18 %11 = getelementptr inbounds i8, ptr %6, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !19 %13 = tail call i64 @BE_GET_CRI_FROM_CID(i32 noundef %12) #2 %14 = load ptr, ptr %8, align 8, !tbaa !20 %15 = load ptr, ptr %14, align 8, !tbaa !22 %16 = getelementptr inbounds %struct.hwi_wrb_context, ptr %15, i64 %13 %17 = getelementptr inbounds i8, ptr %3, i64 32 %18 = load ptr, ptr %17, align 8, !tbaa !24 %19 = icmp eq ptr %18, null br i1 %19, label %26, label %20 20: ; preds = %1 %21 = load i32, ptr %10, align 4, !tbaa !29 %22 = getelementptr inbounds i8, ptr %3, i64 40 %23 = load i32, ptr %22, align 8, !tbaa !31 %24 = tail call i32 @dma_pool_free(i32 noundef %21, ptr noundef nonnull %18, i32 noundef %23) #2 store ptr null, ptr %17, align 8, !tbaa !24 %25 = getelementptr inbounds i8, ptr %0, i64 8 store ptr null, ptr %25, align 8, !tbaa !32 br label %26 26: ; preds = %20, %1 %27 = load i64, ptr %0, align 8, !tbaa !33 %28 = icmp eq i64 %27, 0 br i1 %28, label %51, label %29 29: ; preds = %26 %30 = getelementptr inbounds i8, ptr %3, i64 24 %31 = load ptr, ptr %30, align 8, !tbaa !34 %32 = icmp eq ptr %31, null br i1 %32, label %35, label %33 33: ; preds = %29 %34 = tail call i32 @free_wrb_handle(ptr noundef nonnull %8, ptr noundef %16, ptr noundef nonnull %31) #2 store ptr null, ptr %30, align 8, !tbaa !34 br label %35 35: ; preds = %33, %29 %36 = getelementptr inbounds i8, ptr %3, i64 16 %37 = load ptr, ptr %36, align 8, !tbaa !35 %38 = icmp eq ptr %37, null br i1 %38, label %41, label %39 39: ; preds = %35 %40 = tail call i32 @free_io_sgl_handle(ptr noundef nonnull %8, ptr noundef nonnull %37) #2 store ptr null, ptr %36, align 8, !tbaa !35 br label %41 41: ; preds = %39, %35 %42 = load ptr, ptr %3, align 8, !tbaa !36 %43 = icmp eq ptr %42, null br i1 %43, label %56, label %44 44: ; preds = %41 %45 = getelementptr inbounds i8, ptr %3, i64 8 %46 = load i64, ptr %45, align 8, !tbaa !37 %47 = icmp eq i64 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %44 %49 = tail call i32 @scsi_dma_unmap(ptr noundef nonnull %42) #2 br label %50 50: ; preds = %48, %44 store ptr null, ptr %3, align 8, !tbaa !36 br label %56 51: ; preds = %26 %52 = load i32, ptr %6, align 8, !tbaa !38 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = tail call i32 @beiscsi_free_mgmt_task_handles(ptr noundef nonnull %6, ptr noundef nonnull %0) #2 br label %56 56: ; preds = %51, %54, %41, %50 ret void } declare i64 @BE_GET_CRI_FROM_CID(i32 noundef) local_unnamed_addr #1 declare i32 @dma_pool_free(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_wrb_handle(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free_io_sgl_handle(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @scsi_dma_unmap(ptr noundef) local_unnamed_addr #1 declare i32 @beiscsi_free_mgmt_task_handles(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"iscsi_task", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 16} !13 = !{!14, !11, i64 0} !14 = !{!"iscsi_conn", !11, i64 0} !15 = !{!16, !11, i64 16} !16 = !{!"beiscsi_conn", !17, i64 0, !17, i64 4, !11, i64 8, !11, i64 16} !17 = !{!"int", !9, i64 0} !18 = !{!16, !11, i64 8} !19 = !{!16, !17, i64 4} !20 = !{!21, !11, i64 0} !21 = !{!"beiscsi_hba", !11, i64 0} !22 = !{!23, !11, i64 0} !23 = !{!"hwi_controller", !11, i64 0} !24 = !{!25, !11, i64 32} !25 = !{!"beiscsi_io_task", !11, i64 0, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !26, i64 40} !26 = !{!"TYPE_6__", !27, i64 0} !27 = !{!"TYPE_5__", !28, i64 0} !28 = !{!"TYPE_4__", !17, i64 0} !29 = !{!30, !17, i64 0} !30 = !{!"beiscsi_session", !17, i64 0} !31 = !{!25, !17, i64 40} !32 = !{!7, !11, i64 8} !33 = !{!7, !8, i64 0} !34 = !{!25, !11, i64 24} !35 = !{!25, !11, i64 16} !36 = !{!25, !11, i64 0} !37 = !{!25, !8, i64 8} !38 = !{!16, !17, i64 0}
linux_drivers_scsi_be2iscsi_extr_be_main.c_beiscsi_cleanup_task
; ModuleID = 'AnghaBench/kphp-kdb/letters/extr_letters-engine.c_safe_read_in.c' source_filename = "AnghaBench/kphp-kdb/letters/extr_letters-engine.c_safe_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @safe_read_in], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @safe_read_in(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @read_in(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 %5 = icmp eq i32 %4, %2 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = icmp sgt i32 %2, 0 br i1 %8, label %9, label %252 9: ; preds = %3 %10 = zext nneg i32 %2 to i64 %11 = icmp ult i32 %2, 8 br i1 %11, label %241, label %12 12: ; preds = %9 %13 = icmp ult i32 %2, 32 br i1 %13, label %190, label %14 14: ; preds = %12 %15 = and i64 %10, 2147483616 br label %16 16: ; preds = %182, %14 %17 = phi i64 [ 0, %14 ], [ %183, %182 ] %18 = or disjoint i64 %17, 16 %19 = getelementptr inbounds i8, ptr %1, i64 %17 %20 = getelementptr inbounds i8, ptr %19, i64 16 %21 = load <16 x i8>, ptr %19, align 1, !tbaa !5 %22 = load <16 x i8>, ptr %20, align 1, !tbaa !5 %23 = icmp eq <16 x i8> %21, zeroinitializer %24 = icmp eq <16 x i8> %22, zeroinitializer %25 = extractelement <16 x i1> %23, i64 0 br i1 %25, label %26, label %28 26: ; preds = %16 %27 = getelementptr inbounds i8, ptr %1, i64 %17 store i8 32, ptr %27, align 1, !tbaa !5 br label %28 28: ; preds = %26, %16 %29 = extractelement <16 x i1> %23, i64 1 br i1 %29, label %30, label %33 30: ; preds = %28 %31 = or disjoint i64 %17, 1 %32 = getelementptr inbounds i8, ptr %1, i64 %31 store i8 32, ptr %32, align 1, !tbaa !5 br label %33 33: ; preds = %30, %28 %34 = extractelement <16 x i1> %23, i64 2 br i1 %34, label %35, label %38 35: ; preds = %33 %36 = or disjoint i64 %17, 2 %37 = getelementptr inbounds i8, ptr %1, i64 %36 store i8 32, ptr %37, align 1, !tbaa !5 br label %38 38: ; preds = %35, %33 %39 = extractelement <16 x i1> %23, i64 3 br i1 %39, label %40, label %43 40: ; preds = %38 %41 = or disjoint i64 %17, 3 %42 = getelementptr inbounds i8, ptr %1, i64 %41 store i8 32, ptr %42, align 1, !tbaa !5 br label %43 43: ; preds = %40, %38 %44 = extractelement <16 x i1> %23, i64 4 br i1 %44, label %45, label %48 45: ; preds = %43 %46 = or disjoint i64 %17, 4 %47 = getelementptr inbounds i8, ptr %1, i64 %46 store i8 32, ptr %47, align 1, !tbaa !5 br label %48 48: ; preds = %45, %43 %49 = extractelement <16 x i1> %23, i64 5 br i1 %49, label %50, label %53 50: ; preds = %48 %51 = or disjoint i64 %17, 5 %52 = getelementptr inbounds i8, ptr %1, i64 %51 store i8 32, ptr %52, align 1, !tbaa !5 br label %53 53: ; preds = %50, %48 %54 = extractelement <16 x i1> %23, i64 6 br i1 %54, label %55, label %58 55: ; preds = %53 %56 = or disjoint i64 %17, 6 %57 = getelementptr inbounds i8, ptr %1, i64 %56 store i8 32, ptr %57, align 1, !tbaa !5 br label %58 58: ; preds = %55, %53 %59 = extractelement <16 x i1> %23, i64 7 br i1 %59, label %60, label %63 60: ; preds = %58 %61 = or disjoint i64 %17, 7 %62 = getelementptr inbounds i8, ptr %1, i64 %61 store i8 32, ptr %62, align 1, !tbaa !5 br label %63 63: ; preds = %60, %58 %64 = extractelement <16 x i1> %23, i64 8 br i1 %64, label %65, label %68 65: ; preds = %63 %66 = or disjoint i64 %17, 8 %67 = getelementptr inbounds i8, ptr %1, i64 %66 store i8 32, ptr %67, align 1, !tbaa !5 br label %68 68: ; preds = %65, %63 %69 = extractelement <16 x i1> %23, i64 9 br i1 %69, label %70, label %73 70: ; preds = %68 %71 = or disjoint i64 %17, 9 %72 = getelementptr inbounds i8, ptr %1, i64 %71 store i8 32, ptr %72, align 1, !tbaa !5 br label %73 73: ; preds = %70, %68 %74 = extractelement <16 x i1> %23, i64 10 br i1 %74, label %75, label %78 75: ; preds = %73 %76 = or disjoint i64 %17, 10 %77 = getelementptr inbounds i8, ptr %1, i64 %76 store i8 32, ptr %77, align 1, !tbaa !5 br label %78 78: ; preds = %75, %73 %79 = extractelement <16 x i1> %23, i64 11 br i1 %79, label %80, label %83 80: ; preds = %78 %81 = or disjoint i64 %17, 11 %82 = getelementptr inbounds i8, ptr %1, i64 %81 store i8 32, ptr %82, align 1, !tbaa !5 br label %83 83: ; preds = %80, %78 %84 = extractelement <16 x i1> %23, i64 12 br i1 %84, label %85, label %88 85: ; preds = %83 %86 = or disjoint i64 %17, 12 %87 = getelementptr inbounds i8, ptr %1, i64 %86 store i8 32, ptr %87, align 1, !tbaa !5 br label %88 88: ; preds = %85, %83 %89 = extractelement <16 x i1> %23, i64 13 br i1 %89, label %90, label %93 90: ; preds = %88 %91 = or disjoint i64 %17, 13 %92 = getelementptr inbounds i8, ptr %1, i64 %91 store i8 32, ptr %92, align 1, !tbaa !5 br label %93 93: ; preds = %90, %88 %94 = extractelement <16 x i1> %23, i64 14 br i1 %94, label %95, label %98 95: ; preds = %93 %96 = or disjoint i64 %17, 14 %97 = getelementptr inbounds i8, ptr %1, i64 %96 store i8 32, ptr %97, align 1, !tbaa !5 br label %98 98: ; preds = %95, %93 %99 = extractelement <16 x i1> %23, i64 15 br i1 %99, label %100, label %103 100: ; preds = %98 %101 = or disjoint i64 %17, 15 %102 = getelementptr inbounds i8, ptr %1, i64 %101 store i8 32, ptr %102, align 1, !tbaa !5 br label %103 103: ; preds = %100, %98 %104 = extractelement <16 x i1> %24, i64 0 br i1 %104, label %105, label %107 105: ; preds = %103 %106 = getelementptr inbounds i8, ptr %1, i64 %18 store i8 32, ptr %106, align 1, !tbaa !5 br label %107 107: ; preds = %105, %103 %108 = extractelement <16 x i1> %24, i64 1 br i1 %108, label %109, label %112 109: ; preds = %107 %110 = or disjoint i64 %17, 17 %111 = getelementptr inbounds i8, ptr %1, i64 %110 store i8 32, ptr %111, align 1, !tbaa !5 br label %112 112: ; preds = %109, %107 %113 = extractelement <16 x i1> %24, i64 2 br i1 %113, label %114, label %117 114: ; preds = %112 %115 = or disjoint i64 %17, 18 %116 = getelementptr inbounds i8, ptr %1, i64 %115 store i8 32, ptr %116, align 1, !tbaa !5 br label %117 117: ; preds = %114, %112 %118 = extractelement <16 x i1> %24, i64 3 br i1 %118, label %119, label %122 119: ; preds = %117 %120 = or disjoint i64 %17, 19 %121 = getelementptr inbounds i8, ptr %1, i64 %120 store i8 32, ptr %121, align 1, !tbaa !5 br label %122 122: ; preds = %119, %117 %123 = extractelement <16 x i1> %24, i64 4 br i1 %123, label %124, label %127 124: ; preds = %122 %125 = or disjoint i64 %17, 20 %126 = getelementptr inbounds i8, ptr %1, i64 %125 store i8 32, ptr %126, align 1, !tbaa !5 br label %127 127: ; preds = %124, %122 %128 = extractelement <16 x i1> %24, i64 5 br i1 %128, label %129, label %132 129: ; preds = %127 %130 = or disjoint i64 %17, 21 %131 = getelementptr inbounds i8, ptr %1, i64 %130 store i8 32, ptr %131, align 1, !tbaa !5 br label %132 132: ; preds = %129, %127 %133 = extractelement <16 x i1> %24, i64 6 br i1 %133, label %134, label %137 134: ; preds = %132 %135 = or disjoint i64 %17, 22 %136 = getelementptr inbounds i8, ptr %1, i64 %135 store i8 32, ptr %136, align 1, !tbaa !5 br label %137 137: ; preds = %134, %132 %138 = extractelement <16 x i1> %24, i64 7 br i1 %138, label %139, label %142 139: ; preds = %137 %140 = or disjoint i64 %17, 23 %141 = getelementptr inbounds i8, ptr %1, i64 %140 store i8 32, ptr %141, align 1, !tbaa !5 br label %142 142: ; preds = %139, %137 %143 = extractelement <16 x i1> %24, i64 8 br i1 %143, label %144, label %147 144: ; preds = %142 %145 = or disjoint i64 %17, 24 %146 = getelementptr inbounds i8, ptr %1, i64 %145 store i8 32, ptr %146, align 1, !tbaa !5 br label %147 147: ; preds = %144, %142 %148 = extractelement <16 x i1> %24, i64 9 br i1 %148, label %149, label %152 149: ; preds = %147 %150 = or disjoint i64 %17, 25 %151 = getelementptr inbounds i8, ptr %1, i64 %150 store i8 32, ptr %151, align 1, !tbaa !5 br label %152 152: ; preds = %149, %147 %153 = extractelement <16 x i1> %24, i64 10 br i1 %153, label %154, label %157 154: ; preds = %152 %155 = or disjoint i64 %17, 26 %156 = getelementptr inbounds i8, ptr %1, i64 %155 store i8 32, ptr %156, align 1, !tbaa !5 br label %157 157: ; preds = %154, %152 %158 = extractelement <16 x i1> %24, i64 11 br i1 %158, label %159, label %162 159: ; preds = %157 %160 = or disjoint i64 %17, 27 %161 = getelementptr inbounds i8, ptr %1, i64 %160 store i8 32, ptr %161, align 1, !tbaa !5 br label %162 162: ; preds = %159, %157 %163 = extractelement <16 x i1> %24, i64 12 br i1 %163, label %164, label %167 164: ; preds = %162 %165 = or disjoint i64 %17, 28 %166 = getelementptr inbounds i8, ptr %1, i64 %165 store i8 32, ptr %166, align 1, !tbaa !5 br label %167 167: ; preds = %164, %162 %168 = extractelement <16 x i1> %24, i64 13 br i1 %168, label %169, label %172 169: ; preds = %167 %170 = or disjoint i64 %17, 29 %171 = getelementptr inbounds i8, ptr %1, i64 %170 store i8 32, ptr %171, align 1, !tbaa !5 br label %172 172: ; preds = %169, %167 %173 = extractelement <16 x i1> %24, i64 14 br i1 %173, label %174, label %177 174: ; preds = %172 %175 = or disjoint i64 %17, 30 %176 = getelementptr inbounds i8, ptr %1, i64 %175 store i8 32, ptr %176, align 1, !tbaa !5 br label %177 177: ; preds = %174, %172 %178 = extractelement <16 x i1> %24, i64 15 br i1 %178, label %179, label %182 179: ; preds = %177 %180 = or disjoint i64 %17, 31 %181 = getelementptr inbounds i8, ptr %1, i64 %180 store i8 32, ptr %181, align 1, !tbaa !5 br label %182 182: ; preds = %179, %177 %183 = add nuw i64 %17, 32 %184 = icmp eq i64 %183, %15 br i1 %184, label %185, label %16, !llvm.loop !8 185: ; preds = %182 %186 = icmp eq i64 %15, %10 br i1 %186, label %252, label %187 187: ; preds = %185 %188 = and i64 %10, 24 %189 = icmp eq i64 %188, 0 br i1 %189, label %241, label %190 190: ; preds = %12, %187 %191 = phi i64 [ %15, %187 ], [ 0, %12 ] %192 = and i64 %10, 2147483640 br label %193 193: ; preds = %236, %190 %194 = phi i64 [ %191, %190 ], [ %237, %236 ] %195 = getelementptr inbounds i8, ptr %1, i64 %194 %196 = load <8 x i8>, ptr %195, align 1, !tbaa !5 %197 = icmp eq <8 x i8> %196, zeroinitializer %198 = extractelement <8 x i1> %197, i64 0 br i1 %198, label %199, label %201 199: ; preds = %193 %200 = getelementptr inbounds i8, ptr %1, i64 %194 store i8 32, ptr %200, align 1, !tbaa !5 br label %201 201: ; preds = %199, %193 %202 = extractelement <8 x i1> %197, i64 1 br i1 %202, label %203, label %206 203: ; preds = %201 %204 = or disjoint i64 %194, 1 %205 = getelementptr inbounds i8, ptr %1, i64 %204 store i8 32, ptr %205, align 1, !tbaa !5 br label %206 206: ; preds = %203, %201 %207 = extractelement <8 x i1> %197, i64 2 br i1 %207, label %208, label %211 208: ; preds = %206 %209 = or disjoint i64 %194, 2 %210 = getelementptr inbounds i8, ptr %1, i64 %209 store i8 32, ptr %210, align 1, !tbaa !5 br label %211 211: ; preds = %208, %206 %212 = extractelement <8 x i1> %197, i64 3 br i1 %212, label %213, label %216 213: ; preds = %211 %214 = or disjoint i64 %194, 3 %215 = getelementptr inbounds i8, ptr %1, i64 %214 store i8 32, ptr %215, align 1, !tbaa !5 br label %216 216: ; preds = %213, %211 %217 = extractelement <8 x i1> %197, i64 4 br i1 %217, label %218, label %221 218: ; preds = %216 %219 = or disjoint i64 %194, 4 %220 = getelementptr inbounds i8, ptr %1, i64 %219 store i8 32, ptr %220, align 1, !tbaa !5 br label %221 221: ; preds = %218, %216 %222 = extractelement <8 x i1> %197, i64 5 br i1 %222, label %223, label %226 223: ; preds = %221 %224 = or disjoint i64 %194, 5 %225 = getelementptr inbounds i8, ptr %1, i64 %224 store i8 32, ptr %225, align 1, !tbaa !5 br label %226 226: ; preds = %223, %221 %227 = extractelement <8 x i1> %197, i64 6 br i1 %227, label %228, label %231 228: ; preds = %226 %229 = or disjoint i64 %194, 6 %230 = getelementptr inbounds i8, ptr %1, i64 %229 store i8 32, ptr %230, align 1, !tbaa !5 br label %231 231: ; preds = %228, %226 %232 = extractelement <8 x i1> %197, i64 7 br i1 %232, label %233, label %236 233: ; preds = %231 %234 = or disjoint i64 %194, 7 %235 = getelementptr inbounds i8, ptr %1, i64 %234 store i8 32, ptr %235, align 1, !tbaa !5 br label %236 236: ; preds = %233, %231 %237 = add nuw i64 %194, 8 %238 = icmp eq i64 %237, %192 br i1 %238, label %239, label %193, !llvm.loop !12 239: ; preds = %236 %240 = icmp eq i64 %192, %10 br i1 %240, label %252, label %241 241: ; preds = %9, %187, %239 %242 = phi i64 [ 0, %9 ], [ %15, %187 ], [ %192, %239 ] br label %243 243: ; preds = %241, %249 %244 = phi i64 [ %250, %249 ], [ %242, %241 ] %245 = getelementptr inbounds i8, ptr %1, i64 %244 %246 = load i8, ptr %245, align 1, !tbaa !5 %247 = icmp eq i8 %246, 0 br i1 %247, label %248, label %249 248: ; preds = %243 store i8 32, ptr %245, align 1, !tbaa !5 br label %249 249: ; preds = %243, %248 %250 = add nuw nsw i64 %244, 1 %251 = icmp eq i64 %250, %10 br i1 %251, label %252, label %243, !llvm.loop !13 252: ; preds = %249, %185, %239, %3 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @read_in(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9, !10, !11} !9 = !{!"llvm.loop.mustprogress"} !10 = !{!"llvm.loop.isvectorized", i32 1} !11 = !{!"llvm.loop.unroll.runtime.disable"} !12 = distinct !{!12, !9, !10, !11} !13 = distinct !{!13, !9, !11, !10}
; ModuleID = 'AnghaBench/kphp-kdb/letters/extr_letters-engine.c_safe_read_in.c' source_filename = "AnghaBench/kphp-kdb/letters/extr_letters-engine.c_safe_read_in.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 @safe_read_in], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @safe_read_in(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @read_in(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 %5 = icmp eq i32 %4, %2 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = icmp sgt i32 %2, 0 br i1 %8, label %9, label %169 9: ; preds = %3 %10 = zext nneg i32 %2 to i64 %11 = icmp ult i32 %2, 8 br i1 %11, label %158, label %12 12: ; preds = %9 %13 = icmp ult i32 %2, 16 br i1 %13, label %107, label %14 14: ; preds = %12 %15 = and i64 %10, 2147483632 br label %16 16: ; preds = %99, %14 %17 = phi i64 [ 0, %14 ], [ %100, %99 ] %18 = getelementptr inbounds i8, ptr %1, i64 %17 %19 = load <16 x i8>, ptr %18, align 1, !tbaa !6 %20 = icmp eq <16 x i8> %19, zeroinitializer %21 = extractelement <16 x i1> %20, i64 0 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = getelementptr inbounds i8, ptr %1, i64 %17 store i8 32, ptr %23, align 1, !tbaa !6 br label %24 24: ; preds = %22, %16 %25 = extractelement <16 x i1> %20, i64 1 br i1 %25, label %26, label %29 26: ; preds = %24 %27 = or disjoint i64 %17, 1 %28 = getelementptr inbounds i8, ptr %1, i64 %27 store i8 32, ptr %28, align 1, !tbaa !6 br label %29 29: ; preds = %26, %24 %30 = extractelement <16 x i1> %20, i64 2 br i1 %30, label %31, label %34 31: ; preds = %29 %32 = or disjoint i64 %17, 2 %33 = getelementptr inbounds i8, ptr %1, i64 %32 store i8 32, ptr %33, align 1, !tbaa !6 br label %34 34: ; preds = %31, %29 %35 = extractelement <16 x i1> %20, i64 3 br i1 %35, label %36, label %39 36: ; preds = %34 %37 = or disjoint i64 %17, 3 %38 = getelementptr inbounds i8, ptr %1, i64 %37 store i8 32, ptr %38, align 1, !tbaa !6 br label %39 39: ; preds = %36, %34 %40 = extractelement <16 x i1> %20, i64 4 br i1 %40, label %41, label %44 41: ; preds = %39 %42 = or disjoint i64 %17, 4 %43 = getelementptr inbounds i8, ptr %1, i64 %42 store i8 32, ptr %43, align 1, !tbaa !6 br label %44 44: ; preds = %41, %39 %45 = extractelement <16 x i1> %20, i64 5 br i1 %45, label %46, label %49 46: ; preds = %44 %47 = or disjoint i64 %17, 5 %48 = getelementptr inbounds i8, ptr %1, i64 %47 store i8 32, ptr %48, align 1, !tbaa !6 br label %49 49: ; preds = %46, %44 %50 = extractelement <16 x i1> %20, i64 6 br i1 %50, label %51, label %54 51: ; preds = %49 %52 = or disjoint i64 %17, 6 %53 = getelementptr inbounds i8, ptr %1, i64 %52 store i8 32, ptr %53, align 1, !tbaa !6 br label %54 54: ; preds = %51, %49 %55 = extractelement <16 x i1> %20, i64 7 br i1 %55, label %56, label %59 56: ; preds = %54 %57 = or disjoint i64 %17, 7 %58 = getelementptr inbounds i8, ptr %1, i64 %57 store i8 32, ptr %58, align 1, !tbaa !6 br label %59 59: ; preds = %56, %54 %60 = extractelement <16 x i1> %20, i64 8 br i1 %60, label %61, label %64 61: ; preds = %59 %62 = or disjoint i64 %17, 8 %63 = getelementptr inbounds i8, ptr %1, i64 %62 store i8 32, ptr %63, align 1, !tbaa !6 br label %64 64: ; preds = %61, %59 %65 = extractelement <16 x i1> %20, i64 9 br i1 %65, label %66, label %69 66: ; preds = %64 %67 = or disjoint i64 %17, 9 %68 = getelementptr inbounds i8, ptr %1, i64 %67 store i8 32, ptr %68, align 1, !tbaa !6 br label %69 69: ; preds = %66, %64 %70 = extractelement <16 x i1> %20, i64 10 br i1 %70, label %71, label %74 71: ; preds = %69 %72 = or disjoint i64 %17, 10 %73 = getelementptr inbounds i8, ptr %1, i64 %72 store i8 32, ptr %73, align 1, !tbaa !6 br label %74 74: ; preds = %71, %69 %75 = extractelement <16 x i1> %20, i64 11 br i1 %75, label %76, label %79 76: ; preds = %74 %77 = or disjoint i64 %17, 11 %78 = getelementptr inbounds i8, ptr %1, i64 %77 store i8 32, ptr %78, align 1, !tbaa !6 br label %79 79: ; preds = %76, %74 %80 = extractelement <16 x i1> %20, i64 12 br i1 %80, label %81, label %84 81: ; preds = %79 %82 = or disjoint i64 %17, 12 %83 = getelementptr inbounds i8, ptr %1, i64 %82 store i8 32, ptr %83, align 1, !tbaa !6 br label %84 84: ; preds = %81, %79 %85 = extractelement <16 x i1> %20, i64 13 br i1 %85, label %86, label %89 86: ; preds = %84 %87 = or disjoint i64 %17, 13 %88 = getelementptr inbounds i8, ptr %1, i64 %87 store i8 32, ptr %88, align 1, !tbaa !6 br label %89 89: ; preds = %86, %84 %90 = extractelement <16 x i1> %20, i64 14 br i1 %90, label %91, label %94 91: ; preds = %89 %92 = or disjoint i64 %17, 14 %93 = getelementptr inbounds i8, ptr %1, i64 %92 store i8 32, ptr %93, align 1, !tbaa !6 br label %94 94: ; preds = %91, %89 %95 = extractelement <16 x i1> %20, i64 15 br i1 %95, label %96, label %99 96: ; preds = %94 %97 = or disjoint i64 %17, 15 %98 = getelementptr inbounds i8, ptr %1, i64 %97 store i8 32, ptr %98, align 1, !tbaa !6 br label %99 99: ; preds = %96, %94 %100 = add nuw i64 %17, 16 %101 = icmp eq i64 %100, %15 br i1 %101, label %102, label %16, !llvm.loop !9 102: ; preds = %99 %103 = icmp eq i64 %15, %10 br i1 %103, label %169, label %104 104: ; preds = %102 %105 = and i64 %10, 8 %106 = icmp eq i64 %105, 0 br i1 %106, label %158, label %107 107: ; preds = %12, %104 %108 = phi i64 [ %15, %104 ], [ 0, %12 ] %109 = and i64 %10, 2147483640 br label %110 110: ; preds = %153, %107 %111 = phi i64 [ %108, %107 ], [ %154, %153 ] %112 = getelementptr inbounds i8, ptr %1, i64 %111 %113 = load <8 x i8>, ptr %112, align 1, !tbaa !6 %114 = icmp eq <8 x i8> %113, zeroinitializer %115 = extractelement <8 x i1> %114, i64 0 br i1 %115, label %116, label %118 116: ; preds = %110 %117 = getelementptr inbounds i8, ptr %1, i64 %111 store i8 32, ptr %117, align 1, !tbaa !6 br label %118 118: ; preds = %116, %110 %119 = extractelement <8 x i1> %114, i64 1 br i1 %119, label %120, label %123 120: ; preds = %118 %121 = or disjoint i64 %111, 1 %122 = getelementptr inbounds i8, ptr %1, i64 %121 store i8 32, ptr %122, align 1, !tbaa !6 br label %123 123: ; preds = %120, %118 %124 = extractelement <8 x i1> %114, i64 2 br i1 %124, label %125, label %128 125: ; preds = %123 %126 = or disjoint i64 %111, 2 %127 = getelementptr inbounds i8, ptr %1, i64 %126 store i8 32, ptr %127, align 1, !tbaa !6 br label %128 128: ; preds = %125, %123 %129 = extractelement <8 x i1> %114, i64 3 br i1 %129, label %130, label %133 130: ; preds = %128 %131 = or disjoint i64 %111, 3 %132 = getelementptr inbounds i8, ptr %1, i64 %131 store i8 32, ptr %132, align 1, !tbaa !6 br label %133 133: ; preds = %130, %128 %134 = extractelement <8 x i1> %114, i64 4 br i1 %134, label %135, label %138 135: ; preds = %133 %136 = or disjoint i64 %111, 4 %137 = getelementptr inbounds i8, ptr %1, i64 %136 store i8 32, ptr %137, align 1, !tbaa !6 br label %138 138: ; preds = %135, %133 %139 = extractelement <8 x i1> %114, i64 5 br i1 %139, label %140, label %143 140: ; preds = %138 %141 = or disjoint i64 %111, 5 %142 = getelementptr inbounds i8, ptr %1, i64 %141 store i8 32, ptr %142, align 1, !tbaa !6 br label %143 143: ; preds = %140, %138 %144 = extractelement <8 x i1> %114, i64 6 br i1 %144, label %145, label %148 145: ; preds = %143 %146 = or disjoint i64 %111, 6 %147 = getelementptr inbounds i8, ptr %1, i64 %146 store i8 32, ptr %147, align 1, !tbaa !6 br label %148 148: ; preds = %145, %143 %149 = extractelement <8 x i1> %114, i64 7 br i1 %149, label %150, label %153 150: ; preds = %148 %151 = or disjoint i64 %111, 7 %152 = getelementptr inbounds i8, ptr %1, i64 %151 store i8 32, ptr %152, align 1, !tbaa !6 br label %153 153: ; preds = %150, %148 %154 = add nuw i64 %111, 8 %155 = icmp eq i64 %154, %109 br i1 %155, label %156, label %110, !llvm.loop !13 156: ; preds = %153 %157 = icmp eq i64 %109, %10 br i1 %157, label %169, label %158 158: ; preds = %156, %9, %104 %159 = phi i64 [ 0, %9 ], [ %15, %104 ], [ %109, %156 ] br label %160 160: ; preds = %158, %166 %161 = phi i64 [ %167, %166 ], [ %159, %158 ] %162 = getelementptr inbounds i8, ptr %1, i64 %161 %163 = load i8, ptr %162, align 1, !tbaa !6 %164 = icmp eq i8 %163, 0 br i1 %164, label %165, label %166 165: ; preds = %160 store i8 32, ptr %162, align 1, !tbaa !6 br label %166 166: ; preds = %160, %165 %167 = add nuw nsw i64 %161, 1 %168 = icmp eq i64 %167, %10 br i1 %168, label %169, label %160, !llvm.loop !14 169: ; preds = %166, %102, %156, %3 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @read_in(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10, !11, !12} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!"llvm.loop.isvectorized", i32 1} !12 = !{!"llvm.loop.unroll.runtime.disable"} !13 = distinct !{!13, !10, !11, !12} !14 = distinct !{!14, !10, !12, !11}
kphp-kdb_letters_extr_letters-engine.c_safe_read_in
; ModuleID = 'AnghaBench/freebsd/sys/dev/glxiic/extr_glxiic.c_glxiic_gpio_disable.c' source_filename = "AnghaBench/freebsd/sys/dev/glxiic/extr_glxiic.c_glxiic_gpio_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GLXIIC_GPIOL_OUT_AUX1_SEL = dso_local local_unnamed_addr global i32 0, align 4 @GLXIIC_GPIO_14_15_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @GLXIIC_GPIOL_IN_AUX1_SEL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @glxiic_gpio_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @glxiic_gpio_disable(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @GLXIIC_GPIOL_OUT_AUX1_SEL, align 4, !tbaa !10 %4 = load i32, ptr @GLXIIC_GPIO_14_15_DISABLE, align 4, !tbaa !10 %5 = tail call i32 @bus_write_4(i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = load i32, ptr @GLXIIC_GPIOL_IN_AUX1_SEL, align 4, !tbaa !10 %8 = load i32, ptr @GLXIIC_GPIO_14_15_DISABLE, align 4, !tbaa !10 %9 = tail call i32 @bus_write_4(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 ret void } declare i32 @bus_write_4(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"glxiic_softc", !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/freebsd/sys/dev/glxiic/extr_glxiic.c_glxiic_gpio_disable.c' source_filename = "AnghaBench/freebsd/sys/dev/glxiic/extr_glxiic.c_glxiic_gpio_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GLXIIC_GPIOL_OUT_AUX1_SEL = common local_unnamed_addr global i32 0, align 4 @GLXIIC_GPIO_14_15_DISABLE = common local_unnamed_addr global i32 0, align 4 @GLXIIC_GPIOL_IN_AUX1_SEL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @glxiic_gpio_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @glxiic_gpio_disable(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @GLXIIC_GPIOL_OUT_AUX1_SEL, align 4, !tbaa !11 %4 = load i32, ptr @GLXIIC_GPIO_14_15_DISABLE, align 4, !tbaa !11 %5 = tail call i32 @bus_write_4(i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = load i32, ptr @GLXIIC_GPIOL_IN_AUX1_SEL, align 4, !tbaa !11 %8 = load i32, ptr @GLXIIC_GPIO_14_15_DISABLE, align 4, !tbaa !11 %9 = tail call i32 @bus_write_4(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 ret void } declare i32 @bus_write_4(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"glxiic_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_sys_dev_glxiic_extr_glxiic.c_glxiic_gpio_disable
; ModuleID = 'AnghaBench/freebsd/usr.bin/ar/extr_write.c_free_obj.c' source_filename = "AnghaBench/freebsd/usr.bin/ar/extr_write.c_free_obj.c" target datalayout = "e-m:e-p270:32:32-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.ar_obj = type { i32, ptr, i32, ptr } @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"can't munmap file: %s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @free_obj], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @free_obj(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = icmp eq i32 %3, -1 %5 = getelementptr inbounds %struct.ar_obj, ptr %1, i64 0, i32 3 %6 = load ptr, ptr %5, align 8, !tbaa !11 br i1 %4, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @free(ptr noundef %6) #2 br label %21 9: ; preds = %2 %10 = icmp eq ptr %6, null br i1 %10, label %21, label %11 11: ; preds = %9 %12 = getelementptr inbounds %struct.ar_obj, ptr %1, i64 0, i32 2 %13 = load i32, ptr %12, align 8, !tbaa !12 %14 = tail call i64 @munmap(ptr noundef nonnull %6, i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = load i32, ptr @errno, align 4, !tbaa !13 %18 = getelementptr inbounds %struct.ar_obj, ptr %1, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !14 %20 = tail call i32 @bsdar_warnc(ptr noundef %0, i32 noundef %17, ptr noundef nonnull @.str, ptr noundef %19) #2 br label %21 21: ; preds = %9, %11, %16, %7 %22 = getelementptr inbounds %struct.ar_obj, ptr %1, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !14 %24 = tail call i32 @free(ptr noundef %23) #2 %25 = tail call i32 @free(ptr noundef nonnull %1) #2 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i64 @munmap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bsdar_warnc(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ar_obj", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 24} !12 = !{!6, !7, i64 16} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/usr.bin/ar/extr_write.c_free_obj.c' source_filename = "AnghaBench/freebsd/usr.bin/ar/extr_write.c_free_obj.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @errno = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"can't munmap file: %s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @free_obj], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @free_obj(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = icmp eq i32 %3, -1 %5 = getelementptr inbounds i8, ptr %1, i64 24 %6 = load ptr, ptr %5, align 8, !tbaa !12 br i1 %4, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @free(ptr noundef %6) #2 br label %21 9: ; preds = %2 %10 = icmp eq ptr %6, null br i1 %10, label %21, label %11 11: ; preds = %9 %12 = getelementptr inbounds i8, ptr %1, i64 16 %13 = load i32, ptr %12, align 8, !tbaa !13 %14 = tail call i64 @munmap(ptr noundef nonnull %6, i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = load i32, ptr @errno, align 4, !tbaa !14 %18 = getelementptr inbounds i8, ptr %1, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !15 %20 = tail call i32 @bsdar_warnc(ptr noundef %0, i32 noundef %17, ptr noundef nonnull @.str, ptr noundef %19) #2 br label %21 21: ; preds = %9, %11, %16, %7 %22 = getelementptr inbounds i8, ptr %1, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = tail call i32 @free(ptr noundef %23) #2 %25 = tail call i32 @free(ptr noundef nonnull %1) #2 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i64 @munmap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bsdar_warnc(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ar_obj", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 24} !13 = !{!7, !8, i64 16} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 8}
freebsd_usr.bin_ar_extr_write.c_free_obj
; ModuleID = 'AnghaBench/fastsocket/kernel/security/smack/extr_smack_lsm.c_smack_msg_queue_associate.c' source_filename = "AnghaBench/fastsocket/kernel/security/smack/extr_smack_lsm.c_smack_msg_queue_associate.c" target datalayout = "e-m:e-p270:32:32-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 @smack_msg_queue_associate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @smack_msg_queue_associate(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @smack_flags_to_may(i32 noundef %1) #2 %4 = tail call i32 @smk_curacc_msq(ptr noundef %0, i32 noundef %3) #2 ret i32 %4 } declare i32 @smack_flags_to_may(i32 noundef) local_unnamed_addr #1 declare i32 @smk_curacc_msq(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/fastsocket/kernel/security/smack/extr_smack_lsm.c_smack_msg_queue_associate.c' source_filename = "AnghaBench/fastsocket/kernel/security/smack/extr_smack_lsm.c_smack_msg_queue_associate.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 @smack_msg_queue_associate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @smack_msg_queue_associate(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @smack_flags_to_may(i32 noundef %1) #2 %4 = tail call i32 @smk_curacc_msq(ptr noundef %0, i32 noundef %3) #2 ret i32 %4 } declare i32 @smack_flags_to_may(i32 noundef) local_unnamed_addr #1 declare i32 @smk_curacc_msq(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)"}
fastsocket_kernel_security_smack_extr_smack_lsm.c_smack_msg_queue_associate
; ModuleID = 'AnghaBench/systemd/src/machine/extr_machinectl.c_on_machine_removed.c' source_filename = "AnghaBench/systemd/src/machine/extr_machinectl.c_on_machine_removed.c" target datalayout = "e-m:e-p270:32:32-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 [38 x i8] c"Failed to set ignore_vhangup flag: %m\00", align 1 @EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @on_machine_removed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @on_machine_removed(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = tail call i32 @assert(ptr noundef %0) #2 %5 = tail call i32 @assert(ptr noundef %1) #2 %6 = load ptr, ptr %1, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %3 %9 = tail call i32 @pty_forward_set_ignore_vhangup(ptr noundef nonnull %6, i32 noundef 0) #2 %10 = icmp sgt i32 %9, -1 br i1 %10, label %18, label %11 11: ; preds = %8 %12 = tail call i32 @log_error_errno(i32 noundef %9, ptr noundef nonnull @.str) #2 br label %13 13: ; preds = %11, %3 %14 = tail call i32 @sd_bus_message_get_bus(ptr noundef %0) #2 %15 = tail call i32 @sd_bus_get_event(i32 noundef %14) #2 %16 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !9 %17 = tail call i32 @sd_event_exit(i32 noundef %15, i32 noundef %16) #2 br label %18 18: ; preds = %8, %13 ret i32 0 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @pty_forward_set_ignore_vhangup(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @log_error_errno(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sd_event_exit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sd_bus_get_event(i32 noundef) local_unnamed_addr #1 declare i32 @sd_bus_message_get_bus(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, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/systemd/src/machine/extr_machinectl.c_on_machine_removed.c' source_filename = "AnghaBench/systemd/src/machine/extr_machinectl.c_on_machine_removed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [38 x i8] c"Failed to set ignore_vhangup flag: %m\00", align 1 @EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @on_machine_removed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @on_machine_removed(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = tail call i32 @assert(ptr noundef %0) #2 %5 = tail call i32 @assert(ptr noundef %1) #2 %6 = load ptr, ptr %1, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %3 %9 = tail call i32 @pty_forward_set_ignore_vhangup(ptr noundef nonnull %6, i32 noundef 0) #2 %10 = icmp sgt i32 %9, -1 br i1 %10, label %18, label %11 11: ; preds = %8 %12 = tail call i32 @log_error_errno(i32 noundef %9, ptr noundef nonnull @.str) #2 br label %13 13: ; preds = %11, %3 %14 = tail call i32 @sd_bus_message_get_bus(ptr noundef %0) #2 %15 = tail call i32 @sd_bus_get_event(i32 noundef %14) #2 %16 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !10 %17 = tail call i32 @sd_event_exit(i32 noundef %15, i32 noundef %16) #2 br label %18 18: ; preds = %8, %13 ret i32 0 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @pty_forward_set_ignore_vhangup(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @log_error_errno(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sd_event_exit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sd_bus_get_event(i32 noundef) local_unnamed_addr #1 declare i32 @sd_bus_message_get_bus(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, !11, i64 0} !11 = !{!"int", !8, i64 0}
systemd_src_machine_extr_machinectl.c_on_machine_removed
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-data.c_perform_pricing.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-data.c_perform_pricing.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @R_position = dso_local local_unnamed_addr global i32 0, align 4 @Q_limit = dso_local local_unnamed_addr global i32 0, align 4 @R = dso_local local_unnamed_addr global ptr null, align 8 @heap_push_user_ad_ext = dso_local local_unnamed_addr global i32 0, align 4 @heap_push_user_ad_std = dso_local local_unnamed_addr global i32 0, align 4 @heap_push_user_ad = dso_local local_unnamed_addr global i32 0, align 4 @__use_factor = dso_local local_unnamed_addr global i32 0, align 4 @__use_views_limit = dso_local local_unnamed_addr global i64 0, align 8 @__exclude_ad_id = dso_local local_unnamed_addr global i64 0, align 8 @ADF_SITES_MASK_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @__and_mask = dso_local local_unnamed_addr global i32 0, align 4 @__xor_mask = dso_local local_unnamed_addr global i32 0, align 4 @__cat_mask = dso_local local_unnamed_addr global i64 0, align 8 @R_cnt = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @perform_pricing(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = add i32 %0, -101 %6 = icmp ult i32 %5, -100 br i1 %6, label %49, label %7 7: ; preds = %4 store i32 %0, ptr @R_position, align 4, !tbaa !5 %8 = load i32, ptr @Q_limit, align 4, !tbaa !5 %9 = icmp slt i32 %8, 1 br i1 %9, label %12, label %10 10: ; preds = %7 %11 = icmp ugt i32 %8, 10000 br i1 %11, label %12, label %14 12: ; preds = %10, %7 %13 = phi i32 [ 1000, %7 ], [ 10000, %10 ] store i32 %13, ptr @Q_limit, align 4, !tbaa !5 br label %14 14: ; preds = %12, %10 %15 = phi i32 [ %8, %10 ], [ %13, %12 ] %16 = load ptr, ptr @R, align 8, !tbaa !9 %17 = shl nuw nsw i32 %15, 2 %18 = tail call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef %17) #2 %19 = and i32 %1, 8 %20 = icmp eq i32 %19, 0 %21 = load i32, ptr @heap_push_user_ad_ext, align 4 %22 = load i32, ptr @heap_push_user_ad_std, align 4 %23 = select i1 %20, i32 %22, i32 %21 store i32 %23, ptr @heap_push_user_ad, align 4, !tbaa !5 store i32 1, ptr @__use_factor, align 4, !tbaa !5 store i64 0, ptr @__use_views_limit, align 8, !tbaa !11 store i64 0, ptr @__exclude_ad_id, align 8, !tbaa !11 %24 = and i32 %2, 255 %25 = load i32, ptr @ADF_SITES_MASK_SHIFT, align 4, !tbaa !5 %26 = shl i32 %24, %25 store i32 %26, ptr @__and_mask, align 4, !tbaa !5 %27 = and i32 %3, 255 %28 = shl i32 %27, %25 store i32 %28, ptr @__xor_mask, align 4, !tbaa !5 store i64 -1, ptr @__cat_mask, align 8, !tbaa !13 %29 = tail call i32 @perform_query(i32 noundef 0) #2 store i32 0, ptr @__use_factor, align 4, !tbaa !5 store i64 0, ptr @__use_views_limit, align 8, !tbaa !11 %30 = load i32, ptr @ADF_SITES_MASK_SHIFT, align 4, !tbaa !5 %31 = shl i32 254, %30 store i32 %31, ptr @__and_mask, align 4, !tbaa !5 store i32 0, ptr @__xor_mask, align 4, !tbaa !5 store i32 0, ptr @R_position, align 4, !tbaa !5 %32 = icmp sgt i32 %29, 0 br i1 %32, label %33, label %49 33: ; preds = %14 %34 = load i32, ptr @Q_limit, align 4, !tbaa !5 store i32 %34, ptr @R_cnt, align 4, !tbaa !5 %35 = icmp eq i32 %34, 0 br i1 %35, label %49, label %36 36: ; preds = %33 %37 = load ptr, ptr @R, align 8, !tbaa !9 %38 = getelementptr i32, ptr %37, i64 -1 %39 = sext i32 %34 to i64 br label %44 40: ; preds = %44 %41 = add nsw i64 %45, -1 %42 = trunc i64 %41 to i32 store i32 %42, ptr @R_cnt, align 4, !tbaa !5 %43 = icmp eq i32 %42, 0 br i1 %43, label %49, label %44, !llvm.loop !15 44: ; preds = %36, %40 %45 = phi i64 [ %39, %36 ], [ %41, %40 ] %46 = getelementptr i32, ptr %38, i64 %45 %47 = load i32, ptr %46, align 4, !tbaa !5 %48 = icmp eq i32 %47, 0 br i1 %48, label %40, label %49 49: ; preds = %44, %40, %33, %14, %4 %50 = phi i32 [ -1, %4 ], [ %29, %14 ], [ %29, %33 ], [ %29, %40 ], [ %29, %44 ] ret i32 %50 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @perform_query(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long long", !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-data.c_perform_pricing.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-data.c_perform_pricing.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R_position = common local_unnamed_addr global i32 0, align 4 @Q_limit = common local_unnamed_addr global i32 0, align 4 @R = common local_unnamed_addr global ptr null, align 8 @heap_push_user_ad_ext = common local_unnamed_addr global i32 0, align 4 @heap_push_user_ad_std = common local_unnamed_addr global i32 0, align 4 @heap_push_user_ad = common local_unnamed_addr global i32 0, align 4 @__use_factor = common local_unnamed_addr global i32 0, align 4 @__use_views_limit = common local_unnamed_addr global i64 0, align 8 @__exclude_ad_id = common local_unnamed_addr global i64 0, align 8 @ADF_SITES_MASK_SHIFT = common local_unnamed_addr global i32 0, align 4 @__and_mask = common local_unnamed_addr global i32 0, align 4 @__xor_mask = common local_unnamed_addr global i32 0, align 4 @__cat_mask = common local_unnamed_addr global i64 0, align 8 @R_cnt = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @perform_pricing(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = add i32 %0, -101 %6 = icmp ult i32 %5, -100 br i1 %6, label %49, label %7 7: ; preds = %4 store i32 %0, ptr @R_position, align 4, !tbaa !6 %8 = load i32, ptr @Q_limit, align 4, !tbaa !6 %9 = icmp slt i32 %8, 1 br i1 %9, label %12, label %10 10: ; preds = %7 %11 = icmp ugt i32 %8, 10000 br i1 %11, label %12, label %14 12: ; preds = %10, %7 %13 = phi i32 [ 1000, %7 ], [ 10000, %10 ] store i32 %13, ptr @Q_limit, align 4, !tbaa !6 br label %14 14: ; preds = %12, %10 %15 = phi i32 [ %8, %10 ], [ %13, %12 ] %16 = load ptr, ptr @R, align 8, !tbaa !10 %17 = shl nuw nsw i32 %15, 2 %18 = tail call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef %17) #2 %19 = and i32 %1, 8 %20 = icmp eq i32 %19, 0 %21 = load i32, ptr @heap_push_user_ad_ext, align 4 %22 = load i32, ptr @heap_push_user_ad_std, align 4 %23 = select i1 %20, i32 %22, i32 %21 store i32 %23, ptr @heap_push_user_ad, align 4, !tbaa !6 store i32 1, ptr @__use_factor, align 4, !tbaa !6 store i64 0, ptr @__use_views_limit, align 8, !tbaa !12 store i64 0, ptr @__exclude_ad_id, align 8, !tbaa !12 %24 = and i32 %2, 255 %25 = load i32, ptr @ADF_SITES_MASK_SHIFT, align 4, !tbaa !6 %26 = shl i32 %24, %25 store i32 %26, ptr @__and_mask, align 4, !tbaa !6 %27 = and i32 %3, 255 %28 = shl i32 %27, %25 store i32 %28, ptr @__xor_mask, align 4, !tbaa !6 store i64 -1, ptr @__cat_mask, align 8, !tbaa !14 %29 = tail call i32 @perform_query(i32 noundef 0) #2 store i32 0, ptr @__use_factor, align 4, !tbaa !6 store i64 0, ptr @__use_views_limit, align 8, !tbaa !12 %30 = load i32, ptr @ADF_SITES_MASK_SHIFT, align 4, !tbaa !6 %31 = shl i32 254, %30 store i32 %31, ptr @__and_mask, align 4, !tbaa !6 store i32 0, ptr @__xor_mask, align 4, !tbaa !6 store i32 0, ptr @R_position, align 4, !tbaa !6 %32 = icmp sgt i32 %29, 0 br i1 %32, label %33, label %49 33: ; preds = %14 %34 = load i32, ptr @Q_limit, align 4, !tbaa !6 store i32 %34, ptr @R_cnt, align 4, !tbaa !6 %35 = icmp eq i32 %34, 0 br i1 %35, label %49, label %36 36: ; preds = %33 %37 = load ptr, ptr @R, align 8, !tbaa !10 %38 = getelementptr i8, ptr %37, i64 -4 %39 = sext i32 %34 to i64 br label %44 40: ; preds = %44 %41 = add nsw i64 %45, -1 %42 = trunc nsw i64 %41 to i32 store i32 %42, ptr @R_cnt, align 4, !tbaa !6 %43 = icmp eq i64 %41, 0 br i1 %43, label %49, label %44, !llvm.loop !16 44: ; preds = %36, %40 %45 = phi i64 [ %39, %36 ], [ %41, %40 ] %46 = getelementptr i32, ptr %38, i64 %45 %47 = load i32, ptr %46, align 4, !tbaa !6 %48 = icmp eq i32 %47, 0 br i1 %48, label %40, label %49 49: ; preds = %44, %40, %33, %14, %4 %50 = phi i32 [ -1, %4 ], [ %29, %14 ], [ %29, %33 ], [ %29, %40 ], [ %29, %44 ] ret i32 %50 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @perform_query(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long long", !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
kphp-kdb_targ_extr_targ-data.c_perform_pricing
; ModuleID = 'AnghaBench/RetroArch/deps/libFLAC/extr_stream_decoder.c_file_length_callback_.c' source_filename = "AnghaBench/RetroArch/deps/libFLAC/extr_stream_decoder.c_file_length_callback_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.flac_stat_s = type { i64 } @stdin = dso_local local_unnamed_addr global i64 0, align 8 @FLAC__STREAM_DECODER_LENGTH_STATUS_UNSUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @FLAC__STREAM_DECODER_LENGTH_STATUS_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @FLAC__STREAM_DECODER_LENGTH_STATUS_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @file_length_callback_(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 { %4 = alloca %struct.flac_stat_s, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = load i64, ptr @stdin, align 8, !tbaa !13 %8 = icmp eq i64 %6, %7 br i1 %8, label %15, label %9 9: ; preds = %3 %10 = tail call i32 @fileno(i64 noundef %6) #3 %11 = call i64 @flac_fstat(i32 noundef %10, ptr noundef nonnull %4) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load i64, ptr %4, align 8, !tbaa !14 store i64 %14, ptr %1, align 8, !tbaa !13 br label %15 15: ; preds = %9, %3, %13 %16 = phi ptr [ @FLAC__STREAM_DECODER_LENGTH_STATUS_OK, %13 ], [ @FLAC__STREAM_DECODER_LENGTH_STATUS_UNSUPPORTED, %3 ], [ @FLAC__STREAM_DECODER_LENGTH_STATUS_ERROR, %9 ] %17 = load i32, ptr %16, align 4, !tbaa !16 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @flac_fstat(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fileno(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"flac_stat_s", !12, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/RetroArch/deps/libFLAC/extr_stream_decoder.c_file_length_callback_.c' source_filename = "AnghaBench/RetroArch/deps/libFLAC/extr_stream_decoder.c_file_length_callback_.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.flac_stat_s = type { i64 } @stdin = common local_unnamed_addr global i64 0, align 8 @FLAC__STREAM_DECODER_LENGTH_STATUS_UNSUPPORTED = common local_unnamed_addr global i32 0, align 4 @FLAC__STREAM_DECODER_LENGTH_STATUS_ERROR = common local_unnamed_addr global i32 0, align 4 @FLAC__STREAM_DECODER_LENGTH_STATUS_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @file_length_callback_(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 { %4 = alloca %struct.flac_stat_s, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = load i64, ptr @stdin, align 8, !tbaa !14 %8 = icmp eq i64 %6, %7 br i1 %8, label %15, label %9 9: ; preds = %3 %10 = tail call i32 @fileno(i64 noundef %6) #3 %11 = call i64 @flac_fstat(i32 noundef %10, ptr noundef nonnull %4) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = load i64, ptr %4, align 8, !tbaa !15 store i64 %14, ptr %1, align 8, !tbaa !14 br label %15 15: ; preds = %9, %3, %13 %16 = phi ptr [ @FLAC__STREAM_DECODER_LENGTH_STATUS_OK, %13 ], [ @FLAC__STREAM_DECODER_LENGTH_STATUS_UNSUPPORTED, %3 ], [ @FLAC__STREAM_DECODER_LENGTH_STATUS_ERROR, %9 ] %17 = load i32, ptr %16, align 4, !tbaa !17 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @flac_fstat(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fileno(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"flac_stat_s", !13, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"int", !9, i64 0}
RetroArch_deps_libFLAC_extr_stream_decoder.c_file_length_callback_
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_at803x.c_at803x_context_restore.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_at803x.c_at803x_context_restore.c" target datalayout = "e-m:e-p270:32:32-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.at803x_context = type { i32, i32, i32, i32, i32, i32 } @MII_BMCR = dso_local local_unnamed_addr global i32 0, align 4 @MII_ADVERTISE = dso_local local_unnamed_addr global i32 0, align 4 @MII_CTRL1000 = dso_local local_unnamed_addr global i32 0, align 4 @AT803X_INTR_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @AT803X_SMART_SPEED = dso_local local_unnamed_addr global i32 0, align 4 @AT803X_LED_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @at803x_context_restore], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @at803x_context_restore(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @MII_BMCR, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.at803x_context, ptr %1, i64 0, i32 5 %5 = load i32, ptr %4, align 4, !tbaa !9 %6 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2 %7 = load i32, ptr @MII_ADVERTISE, align 4, !tbaa !5 %8 = getelementptr inbounds %struct.at803x_context, ptr %1, i64 0, i32 4 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %7, i32 noundef %9) #2 %11 = load i32, ptr @MII_CTRL1000, align 4, !tbaa !5 %12 = getelementptr inbounds %struct.at803x_context, ptr %1, i64 0, i32 3 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %11, i32 noundef %13) #2 %15 = load i32, ptr @AT803X_INTR_ENABLE, align 4, !tbaa !5 %16 = getelementptr inbounds %struct.at803x_context, ptr %1, i64 0, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %15, i32 noundef %17) #2 %19 = load i32, ptr @AT803X_SMART_SPEED, align 4, !tbaa !5 %20 = getelementptr inbounds %struct.at803x_context, ptr %1, i64 0, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !14 %22 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %19, i32 noundef %21) #2 %23 = load i32, ptr @AT803X_LED_CONTROL, align 4, !tbaa !5 %24 = load i32, ptr %1, align 4, !tbaa !15 %25 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %23, i32 noundef %24) #2 ret void } declare i32 @phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 20} !10 = !{!"at803x_context", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20} !11 = !{!10, !6, i64 16} !12 = !{!10, !6, i64 12} !13 = !{!10, !6, i64 8} !14 = !{!10, !6, i64 4} !15 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_at803x.c_at803x_context_restore.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_at803x.c_at803x_context_restore.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MII_BMCR = common local_unnamed_addr global i32 0, align 4 @MII_ADVERTISE = common local_unnamed_addr global i32 0, align 4 @MII_CTRL1000 = common local_unnamed_addr global i32 0, align 4 @AT803X_INTR_ENABLE = common local_unnamed_addr global i32 0, align 4 @AT803X_SMART_SPEED = common local_unnamed_addr global i32 0, align 4 @AT803X_LED_CONTROL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @at803x_context_restore], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @at803x_context_restore(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @MII_BMCR, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %1, i64 20 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %3, i32 noundef %5) #2 %7 = load i32, ptr @MII_ADVERTISE, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %1, i64 16 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %7, i32 noundef %9) #2 %11 = load i32, ptr @MII_CTRL1000, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %1, i64 12 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %11, i32 noundef %13) #2 %15 = load i32, ptr @AT803X_INTR_ENABLE, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %1, i64 8 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %15, i32 noundef %17) #2 %19 = load i32, ptr @AT803X_SMART_SPEED, align 4, !tbaa !6 %20 = getelementptr inbounds i8, ptr %1, i64 4 %21 = load i32, ptr %20, align 4, !tbaa !15 %22 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %19, i32 noundef %21) #2 %23 = load i32, ptr @AT803X_LED_CONTROL, align 4, !tbaa !6 %24 = load i32, ptr %1, align 4, !tbaa !16 %25 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %23, i32 noundef %24) #2 ret void } declare i32 @phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 20} !11 = !{!"at803x_context", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !12 = !{!11, !7, i64 16} !13 = !{!11, !7, i64 12} !14 = !{!11, !7, i64 8} !15 = !{!11, !7, i64 4} !16 = !{!11, !7, i64 0}
linux_drivers_net_phy_extr_at803x.c_at803x_context_restore
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wl18xx/extr_main.c_wl18xx_lnk_low_prio.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wl18xx/extr_main.c_wl18xx_lnk_low_prio.c" target datalayout = "e-m:e-p270:32:32-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.wl1271 = type { i64, i64, ptr } %struct.wl18xx_fw_status_priv = type { i64, i64, i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @wl18xx_lnk_low_prio], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wl18xx_lnk_low_prio(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca i64, align 8 %5 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = inttoptr i64 %7 to ptr call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %9 = icmp eq i64 %7, 0 br i1 %9, label %33, label %10 10: ; preds = %3 %11 = getelementptr inbounds %struct.wl18xx_fw_status_priv, ptr %8, i64 0, i32 3 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = tail call i64 @le32_to_cpu(i32 noundef %12) #3 store i64 %13, ptr %4, align 8, !tbaa !16 %14 = call i64 @test_bit(i64 noundef %1, ptr noundef nonnull %4) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %27 16: ; preds = %10 %17 = call i64 @test_bit(i64 noundef %1, ptr noundef nonnull %0) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %16 %20 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 1 %21 = call i64 @test_bit(i64 noundef %1, ptr noundef nonnull %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = getelementptr inbounds %struct.wl18xx_fw_status_priv, ptr %8, i64 0, i32 1 br label %27 25: ; preds = %19, %16 %26 = getelementptr inbounds %struct.wl18xx_fw_status_priv, ptr %8, i64 0, i32 2 br label %27 27: ; preds = %10, %23, %25 %28 = phi ptr [ %26, %25 ], [ %24, %23 ], [ %8, %10 ] %29 = load i64, ptr %28, align 8, !tbaa !16 %30 = load i64, ptr %2, align 8, !tbaa !17 %31 = icmp slt i64 %30, %29 %32 = zext i1 %31 to i32 br label %33 33: ; preds = %3, %27 %34 = phi i32 [ %32, %27 ], [ 1, %3 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #2 declare i64 @test_bit(i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"wl1271", !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 = !{!12, !7, i64 0} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!14, !15, i64 24} !14 = !{!"wl18xx_fw_status_priv", !7, i64 0, !7, i64 8, !7, i64 16, !15, i64 24} !15 = !{!"int", !8, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"wl1271_link", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wl18xx/extr_main.c_wl18xx_lnk_low_prio.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wl18xx/extr_main.c_wl18xx_lnk_low_prio.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 @wl18xx_lnk_low_prio], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @wl18xx_lnk_low_prio(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca i64, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = inttoptr i64 %7 to ptr call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %9 = icmp eq i64 %7, 0 br i1 %9, label %33, label %10 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %8, i64 24 %12 = load i32, ptr %11, align 8, !tbaa !14 %13 = tail call i64 @le32_to_cpu(i32 noundef %12) #3 store i64 %13, ptr %4, align 8, !tbaa !17 %14 = call i64 @test_bit(i64 noundef %1, ptr noundef nonnull %4) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %27 16: ; preds = %10 %17 = call i64 @test_bit(i64 noundef %1, ptr noundef nonnull %0) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %16 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = call i64 @test_bit(i64 noundef %1, ptr noundef nonnull %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %8, i64 8 br label %27 25: ; preds = %19, %16 %26 = getelementptr inbounds i8, ptr %8, i64 16 br label %27 27: ; preds = %10, %23, %25 %28 = phi ptr [ %26, %25 ], [ %24, %23 ], [ %8, %10 ] %29 = load i64, ptr %28, align 8, !tbaa !17 %30 = load i64, ptr %2, align 8, !tbaa !18 %31 = icmp slt i64 %30, %29 %32 = zext i1 %31 to i32 br label %33 33: ; preds = %3, %27 %34 = phi i32 [ %32, %27 ], [ 1, %3 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #2 declare i64 @test_bit(i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"wl1271", !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 = !{!13, !8, i64 0} !13 = !{!"TYPE_2__", !8, i64 0} !14 = !{!15, !16, i64 24} !15 = !{!"wl18xx_fw_status_priv", !8, i64 0, !8, i64 8, !8, i64 16, !16, i64 24} !16 = !{!"int", !9, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"wl1271_link", !8, i64 0}
linux_drivers_net_wireless_ti_wl18xx_extr_main.c_wl18xx_lnk_low_prio
; ModuleID = 'AnghaBench/linux/drivers/iio/health/extr_afe4404.c_afe4404_read_raw.c' source_filename = "AnghaBench/linux/drivers/iio/health/extr_afe4404.c_afe4404_read_raw.c" target datalayout = "e-m:e-p270:32:32-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.iio_chan_spec = type { i64, i32 } %struct.afe4404_data = type { ptr, i32 } @afe4404_channel_values = dso_local local_unnamed_addr global ptr null, align 8 @afe4404_channel_leds = dso_local local_unnamed_addr global ptr null, align 8 @afe4404_channel_offdacs = dso_local local_unnamed_addr global ptr null, align 8 @IIO_VAL_INT = dso_local local_unnamed_addr global i32 0, align 4 @IIO_VAL_INT_PLUS_MICRO = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @afe4404_read_raw], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @afe4404_read_raw(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef writeonly %3, i64 noundef %4) #0 { %6 = tail call ptr @iio_priv(ptr noundef %0) #2 %7 = load ptr, ptr @afe4404_channel_values, align 8, !tbaa !5 %8 = load i64, ptr %1, align 8, !tbaa !9 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = load ptr, ptr @afe4404_channel_leds, align 8, !tbaa !5 %12 = getelementptr inbounds i32, ptr %11, i64 %8 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = load ptr, ptr @afe4404_channel_offdacs, align 8, !tbaa !5 %15 = getelementptr inbounds i32, ptr %14, i64 %8 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = getelementptr inbounds %struct.iio_chan_spec, ptr %1, i64 0, i32 1 %18 = load i32, ptr %17, align 8, !tbaa !14 switch i32 %18, label %48 [ i32 128, label %19 i32 129, label %36 ] 19: ; preds = %5 switch i64 %4, label %48 [ i64 131, label %20 i64 132, label %27 ] 20: ; preds = %19 %21 = getelementptr inbounds %struct.afe4404_data, ptr %6, i64 0, i32 1 %22 = load i32, ptr %21, align 8, !tbaa !15 %23 = tail call i32 @regmap_read(i32 noundef %22, i32 noundef %10, ptr noundef %2) #2 %24 = icmp eq i32 %23, 0 %25 = load i32, ptr @IIO_VAL_INT, align 4 %26 = select i1 %24, i32 %25, i32 %23 br label %51 27: ; preds = %19 %28 = load ptr, ptr %6, align 8, !tbaa !17 %29 = zext i32 %16 to i64 %30 = getelementptr inbounds i32, ptr %28, i64 %29 %31 = load i32, ptr %30, align 4, !tbaa !13 %32 = tail call i32 @regmap_field_read(i32 noundef %31, ptr noundef %2) #2 %33 = icmp eq i32 %32, 0 %34 = load i32, ptr @IIO_VAL_INT, align 4 %35 = select i1 %33, i32 %34, i32 %32 br label %51 36: ; preds = %5 switch i64 %4, label %48 [ i64 131, label %37 i64 130, label %46 ] 37: ; preds = %36 %38 = load ptr, ptr %6, align 8, !tbaa !17 %39 = zext i32 %13 to i64 %40 = getelementptr inbounds i32, ptr %38, i64 %39 %41 = load i32, ptr %40, align 4, !tbaa !13 %42 = tail call i32 @regmap_field_read(i32 noundef %41, ptr noundef %2) #2 %43 = icmp eq i32 %42, 0 %44 = load i32, ptr @IIO_VAL_INT, align 4 %45 = select i1 %43, i32 %44, i32 %42 br label %51 46: ; preds = %36 store i32 0, ptr %2, align 4, !tbaa !13 store i32 800000, ptr %3, align 4, !tbaa !13 %47 = load i32, ptr @IIO_VAL_INT_PLUS_MICRO, align 4, !tbaa !13 br label %51 48: ; preds = %5, %36, %19 %49 = load i32, ptr @EINVAL, align 4, !tbaa !13 %50 = sub nsw i32 0, %49 br label %51 51: ; preds = %37, %27, %20, %48, %46 %52 = phi i32 [ %50, %48 ], [ %47, %46 ], [ %26, %20 ], [ %35, %27 ], [ %45, %37 ] ret i32 %52 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @regmap_field_read(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"iio_chan_spec", !11, i64 0, !12, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!10, !12, i64 8} !15 = !{!16, !12, i64 8} !16 = !{!"afe4404_data", !6, i64 0, !12, i64 8} !17 = !{!16, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iio/health/extr_afe4404.c_afe4404_read_raw.c' source_filename = "AnghaBench/linux/drivers/iio/health/extr_afe4404.c_afe4404_read_raw.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @afe4404_channel_values = common local_unnamed_addr global ptr null, align 8 @afe4404_channel_leds = common local_unnamed_addr global ptr null, align 8 @afe4404_channel_offdacs = common local_unnamed_addr global ptr null, align 8 @IIO_VAL_INT = common local_unnamed_addr global i32 0, align 4 @IIO_VAL_INT_PLUS_MICRO = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @afe4404_read_raw], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @afe4404_read_raw(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef writeonly %3, i64 noundef %4) #0 { %6 = tail call ptr @iio_priv(ptr noundef %0) #2 %7 = load ptr, ptr @afe4404_channel_values, align 8, !tbaa !6 %8 = load i64, ptr %1, align 8, !tbaa !10 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = load ptr, ptr @afe4404_channel_leds, align 8, !tbaa !6 %12 = getelementptr inbounds i32, ptr %11, i64 %8 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = load ptr, ptr @afe4404_channel_offdacs, align 8, !tbaa !6 %15 = getelementptr inbounds i32, ptr %14, i64 %8 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = getelementptr inbounds i8, ptr %1, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !15 switch i32 %18, label %48 [ i32 128, label %19 i32 129, label %36 ] 19: ; preds = %5 switch i64 %4, label %48 [ i64 131, label %20 i64 132, label %27 ] 20: ; preds = %19 %21 = getelementptr inbounds i8, ptr %6, i64 8 %22 = load i32, ptr %21, align 8, !tbaa !16 %23 = tail call i32 @regmap_read(i32 noundef %22, i32 noundef %10, ptr noundef %2) #2 %24 = icmp eq i32 %23, 0 %25 = load i32, ptr @IIO_VAL_INT, align 4 %26 = select i1 %24, i32 %25, i32 %23 br label %51 27: ; preds = %19 %28 = load ptr, ptr %6, align 8, !tbaa !18 %29 = zext i32 %16 to i64 %30 = getelementptr inbounds i32, ptr %28, i64 %29 %31 = load i32, ptr %30, align 4, !tbaa !14 %32 = tail call i32 @regmap_field_read(i32 noundef %31, ptr noundef %2) #2 %33 = icmp eq i32 %32, 0 %34 = load i32, ptr @IIO_VAL_INT, align 4 %35 = select i1 %33, i32 %34, i32 %32 br label %51 36: ; preds = %5 switch i64 %4, label %48 [ i64 131, label %37 i64 130, label %46 ] 37: ; preds = %36 %38 = load ptr, ptr %6, align 8, !tbaa !18 %39 = zext i32 %13 to i64 %40 = getelementptr inbounds i32, ptr %38, i64 %39 %41 = load i32, ptr %40, align 4, !tbaa !14 %42 = tail call i32 @regmap_field_read(i32 noundef %41, ptr noundef %2) #2 %43 = icmp eq i32 %42, 0 %44 = load i32, ptr @IIO_VAL_INT, align 4 %45 = select i1 %43, i32 %44, i32 %42 br label %51 46: ; preds = %36 store i32 0, ptr %2, align 4, !tbaa !14 store i32 800000, ptr %3, align 4, !tbaa !14 %47 = load i32, ptr @IIO_VAL_INT_PLUS_MICRO, align 4, !tbaa !14 br label %51 48: ; preds = %5, %36, %19 %49 = load i32, ptr @EINVAL, align 4, !tbaa !14 %50 = sub nsw i32 0, %49 br label %51 51: ; preds = %37, %27, %20, %48, %46 %52 = phi i32 [ %50, %48 ], [ %47, %46 ], [ %26, %20 ], [ %35, %27 ], [ %45, %37 ] ret i32 %52 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @regmap_field_read(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"iio_chan_spec", !12, i64 0, !13, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!11, !13, i64 8} !16 = !{!17, !13, i64 8} !17 = !{!"afe4404_data", !7, i64 0, !13, i64 8} !18 = !{!17, !7, i64 0}
linux_drivers_iio_health_extr_afe4404.c_afe4404_read_raw
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TI4_Config.c' source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TI4_Config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @TIM_CCER_CC4E = dso_local local_unnamed_addr global i64 0, align 8 @TIM_CCMR2_CC4S = dso_local local_unnamed_addr global i64 0, align 8 @TIM_CCMR2_IC4F = dso_local local_unnamed_addr global i64 0, align 8 @TIM_CCER_CC4P = dso_local local_unnamed_addr global i32 0, align 4 @TIM_CCER_CC4NP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @TI4_Config], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @TI4_Config(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr @TIM_CCER_CC4E, align 8, !tbaa !5 %6 = trunc i64 %5 to i32 %7 = xor i32 %6, -1 %8 = load i32, ptr %0, align 4, !tbaa !9 %9 = and i32 %8, %7 store i32 %9, ptr %0, align 4, !tbaa !9 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = shl i32 %1, 12 %13 = load i64, ptr @TIM_CCMR2_CC4S, align 8, !tbaa !5 %14 = load i64, ptr @TIM_CCMR2_IC4F, align 8, !tbaa !5 %15 = or i64 %14, %13 %16 = trunc i64 %15 to i32 %17 = xor i32 %16, -1 %18 = and i32 %11, %17 %19 = shl i32 %2, 8 %20 = shl i32 %3, 12 %21 = or i32 %20, %19 %22 = or i32 %21, %18 %23 = load i32, ptr @TIM_CCER_CC4P, align 4, !tbaa !13 %24 = load i32, ptr @TIM_CCER_CC4NP, align 4, !tbaa !13 %25 = or i32 %24, %23 %26 = xor i32 %25, -1 %27 = and i32 %9, %26 %28 = or i32 %12, %27 %29 = or i32 %28, %6 store i32 %22, ptr %10, align 4, !tbaa !12 store i32 %29, ptr %0, align 4, !tbaa !9 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_3__", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 4} !13 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TI4_Config.c' source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TI4_Config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TIM_CCER_CC4E = common local_unnamed_addr global i64 0, align 8 @TIM_CCMR2_CC4S = common local_unnamed_addr global i64 0, align 8 @TIM_CCMR2_IC4F = common local_unnamed_addr global i64 0, align 8 @TIM_CCER_CC4P = common local_unnamed_addr global i32 0, align 4 @TIM_CCER_CC4NP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @TI4_Config], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @TI4_Config(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr @TIM_CCER_CC4E, align 8, !tbaa !6 %6 = trunc i64 %5 to i32 %7 = xor i32 %6, -1 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = and i32 %8, %7 store i32 %9, ptr %0, align 4, !tbaa !10 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = shl i32 %1, 12 %13 = load i64, ptr @TIM_CCMR2_CC4S, align 8, !tbaa !6 %14 = load i64, ptr @TIM_CCMR2_IC4F, align 8, !tbaa !6 %15 = or i64 %14, %13 %16 = trunc i64 %15 to i32 %17 = xor i32 %16, -1 %18 = and i32 %11, %17 %19 = shl i32 %2, 8 %20 = shl i32 %3, 12 %21 = or i32 %20, %19 %22 = or i32 %21, %18 %23 = load i32, ptr @TIM_CCER_CC4P, align 4, !tbaa !14 %24 = load i32, ptr @TIM_CCER_CC4NP, align 4, !tbaa !14 %25 = or i32 %24, %23 %26 = xor i32 %25, -1 %27 = and i32 %9, %26 %28 = or i32 %12, %27 %29 = or i32 %28, %6 store i32 %22, ptr %10, align 4, !tbaa !13 store i32 %29, ptr %0, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 4} !14 = !{!12, !12, i64 0}
anypixel_firmware_display_ThirdParty_SPL_src_extr_stm32f0xx_tim.c_TI4_Config
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_workarounds.c_icl_ctx_workarounds_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_workarounds.c_icl_ctx_workarounds_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.intel_engine_cs = type { i32, ptr } @GEN8_L3CNTLREG = dso_local local_unnamed_addr global i32 0, align 4 @GEN8_ERRDETBCTRL = dso_local local_unnamed_addr global i32 0, align 4 @ICL_REVID_A0 = dso_local local_unnamed_addr global i32 0, align 4 @ICL_REVID_B0 = dso_local local_unnamed_addr global i32 0, align 4 @GEN7_ROW_CHICKEN2 = dso_local local_unnamed_addr global i32 0, align 4 @PUSH_CONSTANT_DEREF_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @ICL_HDC_MODE = dso_local local_unnamed_addr global i32 0, align 4 @HDC_FORCE_NON_COHERENT = dso_local local_unnamed_addr global i32 0, align 4 @GEN11_TDL_CLOCK_GATING_FIX_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @GEN11_COMMON_SLICE_CHICKEN3 = dso_local local_unnamed_addr global i32 0, align 4 @GEN11_BLEND_EMB_FIX_DISABLE_IN_RCC = dso_local local_unnamed_addr global i32 0, align 4 @GEN10_CACHE_MODE_SS = dso_local local_unnamed_addr global i32 0, align 4 @FLOAT_BLEND_OPTIMIZATION_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @GEN8_CS_CHICKEN1 = dso_local local_unnamed_addr global i32 0, align 4 @GEN9_PREEMPT_GPGPU_LEVEL_MASK = dso_local local_unnamed_addr global i32 0, align 4 @GEN9_PREEMPT_GPGPU_THREAD_GROUP_LEVEL = dso_local local_unnamed_addr global i32 0, align 4 @GEN10_SAMPLER_MODE = dso_local local_unnamed_addr global i32 0, align 4 @GEN11_SAMPLER_ENABLE_HEADLESS_MSG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @icl_ctx_workarounds_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @icl_ctx_workarounds_init(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.intel_engine_cs, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @GEN8_L3CNTLREG, align 4, !tbaa !11 %6 = load i32, ptr %0, align 8, !tbaa !12 %7 = tail call i32 @intel_uncore_read(i32 noundef %6, i32 noundef %5) #2 %8 = load i32, ptr @GEN8_ERRDETBCTRL, align 4, !tbaa !11 %9 = or i32 %8, %7 %10 = tail call i32 @wa_write(ptr noundef %1, i32 noundef %5, i32 noundef %9) #2 %11 = load i32, ptr @ICL_REVID_A0, align 4, !tbaa !11 %12 = load i32, ptr @ICL_REVID_B0, align 4, !tbaa !11 %13 = tail call i64 @IS_ICL_REVID(ptr noundef %4, i32 noundef %11, i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %19, label %15 15: ; preds = %2 %16 = load i32, ptr @GEN7_ROW_CHICKEN2, align 4, !tbaa !11 %17 = load i32, ptr @PUSH_CONSTANT_DEREF_DISABLE, align 4, !tbaa !11 %18 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %16, i32 noundef %17) #2 br label %19 19: ; preds = %15, %2 %20 = load i32, ptr @ICL_HDC_MODE, align 4, !tbaa !11 %21 = load i32, ptr @HDC_FORCE_NON_COHERENT, align 4, !tbaa !11 %22 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %20, i32 noundef %21) #2 %23 = load i32, ptr @ICL_REVID_A0, align 4, !tbaa !11 %24 = tail call i64 @IS_ICL_REVID(ptr noundef %4, i32 noundef %23, i32 noundef %23) #2 %25 = icmp eq i64 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %19 %27 = load i32, ptr @GEN7_ROW_CHICKEN2, align 4, !tbaa !11 %28 = load i32, ptr @GEN11_TDL_CLOCK_GATING_FIX_DISABLE, align 4, !tbaa !11 %29 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %27, i32 noundef %28) #2 br label %30 30: ; preds = %26, %19 %31 = load i32, ptr @ICL_REVID_A0, align 4, !tbaa !11 %32 = tail call i64 @IS_ICL_REVID(ptr noundef %4, i32 noundef %31, i32 noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %38, label %34 34: ; preds = %30 %35 = load i32, ptr @GEN11_COMMON_SLICE_CHICKEN3, align 4, !tbaa !11 %36 = load i32, ptr @GEN11_BLEND_EMB_FIX_DISABLE_IN_RCC, align 4, !tbaa !11 %37 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %35, i32 noundef %36) #2 br label %38 38: ; preds = %34, %30 %39 = load i32, ptr @GEN10_CACHE_MODE_SS, align 4, !tbaa !11 %40 = load i32, ptr @FLOAT_BLEND_OPTIMIZATION_ENABLE, align 4, !tbaa !11 %41 = tail call i32 @_MASKED_BIT_ENABLE(i32 noundef %40) #2 %42 = tail call i32 @wa_write_masked_or(ptr noundef %1, i32 noundef %39, i32 noundef 0, i32 noundef %41) #2 %43 = load i32, ptr @GEN8_CS_CHICKEN1, align 4, !tbaa !11 %44 = load i32, ptr @GEN9_PREEMPT_GPGPU_LEVEL_MASK, align 4, !tbaa !11 %45 = load i32, ptr @GEN9_PREEMPT_GPGPU_THREAD_GROUP_LEVEL, align 4, !tbaa !11 %46 = tail call i32 @WA_SET_FIELD_MASKED(i32 noundef %43, i32 noundef %44, i32 noundef %45) #2 %47 = load i32, ptr @GEN10_SAMPLER_MODE, align 4, !tbaa !11 %48 = load i32, ptr @GEN11_SAMPLER_ENABLE_HEADLESS_MSG, align 4, !tbaa !11 %49 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %47, i32 noundef %48) #2 ret void } declare i32 @wa_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intel_uncore_read(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ICL_REVID(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WA_SET_BIT_MASKED(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wa_write_masked_or(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_MASKED_BIT_ENABLE(i32 noundef) local_unnamed_addr #1 declare i32 @WA_SET_FIELD_MASKED(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"intel_engine_cs", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_workarounds.c_icl_ctx_workarounds_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_workarounds.c_icl_ctx_workarounds_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GEN8_L3CNTLREG = common local_unnamed_addr global i32 0, align 4 @GEN8_ERRDETBCTRL = common local_unnamed_addr global i32 0, align 4 @ICL_REVID_A0 = common local_unnamed_addr global i32 0, align 4 @ICL_REVID_B0 = common local_unnamed_addr global i32 0, align 4 @GEN7_ROW_CHICKEN2 = common local_unnamed_addr global i32 0, align 4 @PUSH_CONSTANT_DEREF_DISABLE = common local_unnamed_addr global i32 0, align 4 @ICL_HDC_MODE = common local_unnamed_addr global i32 0, align 4 @HDC_FORCE_NON_COHERENT = common local_unnamed_addr global i32 0, align 4 @GEN11_TDL_CLOCK_GATING_FIX_DISABLE = common local_unnamed_addr global i32 0, align 4 @GEN11_COMMON_SLICE_CHICKEN3 = common local_unnamed_addr global i32 0, align 4 @GEN11_BLEND_EMB_FIX_DISABLE_IN_RCC = common local_unnamed_addr global i32 0, align 4 @GEN10_CACHE_MODE_SS = common local_unnamed_addr global i32 0, align 4 @FLOAT_BLEND_OPTIMIZATION_ENABLE = common local_unnamed_addr global i32 0, align 4 @GEN8_CS_CHICKEN1 = common local_unnamed_addr global i32 0, align 4 @GEN9_PREEMPT_GPGPU_LEVEL_MASK = common local_unnamed_addr global i32 0, align 4 @GEN9_PREEMPT_GPGPU_THREAD_GROUP_LEVEL = common local_unnamed_addr global i32 0, align 4 @GEN10_SAMPLER_MODE = common local_unnamed_addr global i32 0, align 4 @GEN11_SAMPLER_ENABLE_HEADLESS_MSG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @icl_ctx_workarounds_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @icl_ctx_workarounds_init(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @GEN8_L3CNTLREG, align 4, !tbaa !12 %6 = load i32, ptr %0, align 8, !tbaa !13 %7 = tail call i32 @intel_uncore_read(i32 noundef %6, i32 noundef %5) #2 %8 = load i32, ptr @GEN8_ERRDETBCTRL, align 4, !tbaa !12 %9 = or i32 %8, %7 %10 = tail call i32 @wa_write(ptr noundef %1, i32 noundef %5, i32 noundef %9) #2 %11 = load i32, ptr @ICL_REVID_A0, align 4, !tbaa !12 %12 = load i32, ptr @ICL_REVID_B0, align 4, !tbaa !12 %13 = tail call i64 @IS_ICL_REVID(ptr noundef %4, i32 noundef %11, i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %19, label %15 15: ; preds = %2 %16 = load i32, ptr @GEN7_ROW_CHICKEN2, align 4, !tbaa !12 %17 = load i32, ptr @PUSH_CONSTANT_DEREF_DISABLE, align 4, !tbaa !12 %18 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %16, i32 noundef %17) #2 br label %19 19: ; preds = %15, %2 %20 = load i32, ptr @ICL_HDC_MODE, align 4, !tbaa !12 %21 = load i32, ptr @HDC_FORCE_NON_COHERENT, align 4, !tbaa !12 %22 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %20, i32 noundef %21) #2 %23 = load i32, ptr @ICL_REVID_A0, align 4, !tbaa !12 %24 = tail call i64 @IS_ICL_REVID(ptr noundef %4, i32 noundef %23, i32 noundef %23) #2 %25 = icmp eq i64 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %19 %27 = load i32, ptr @GEN7_ROW_CHICKEN2, align 4, !tbaa !12 %28 = load i32, ptr @GEN11_TDL_CLOCK_GATING_FIX_DISABLE, align 4, !tbaa !12 %29 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %27, i32 noundef %28) #2 br label %30 30: ; preds = %26, %19 %31 = load i32, ptr @ICL_REVID_A0, align 4, !tbaa !12 %32 = tail call i64 @IS_ICL_REVID(ptr noundef %4, i32 noundef %31, i32 noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %38, label %34 34: ; preds = %30 %35 = load i32, ptr @GEN11_COMMON_SLICE_CHICKEN3, align 4, !tbaa !12 %36 = load i32, ptr @GEN11_BLEND_EMB_FIX_DISABLE_IN_RCC, align 4, !tbaa !12 %37 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %35, i32 noundef %36) #2 br label %38 38: ; preds = %34, %30 %39 = load i32, ptr @GEN10_CACHE_MODE_SS, align 4, !tbaa !12 %40 = load i32, ptr @FLOAT_BLEND_OPTIMIZATION_ENABLE, align 4, !tbaa !12 %41 = tail call i32 @_MASKED_BIT_ENABLE(i32 noundef %40) #2 %42 = tail call i32 @wa_write_masked_or(ptr noundef %1, i32 noundef %39, i32 noundef 0, i32 noundef %41) #2 %43 = load i32, ptr @GEN8_CS_CHICKEN1, align 4, !tbaa !12 %44 = load i32, ptr @GEN9_PREEMPT_GPGPU_LEVEL_MASK, align 4, !tbaa !12 %45 = load i32, ptr @GEN9_PREEMPT_GPGPU_THREAD_GROUP_LEVEL, align 4, !tbaa !12 %46 = tail call i32 @WA_SET_FIELD_MASKED(i32 noundef %43, i32 noundef %44, i32 noundef %45) #2 %47 = load i32, ptr @GEN10_SAMPLER_MODE, align 4, !tbaa !12 %48 = load i32, ptr @GEN11_SAMPLER_ENABLE_HEADLESS_MSG, align 4, !tbaa !12 %49 = tail call i32 @WA_SET_BIT_MASKED(i32 noundef %47, i32 noundef %48) #2 ret void } declare i32 @wa_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intel_uncore_read(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ICL_REVID(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WA_SET_BIT_MASKED(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wa_write_masked_or(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_MASKED_BIT_ENABLE(i32 noundef) local_unnamed_addr #1 declare i32 @WA_SET_FIELD_MASKED(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"intel_engine_cs", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_i915_gt_extr_intel_workarounds.c_icl_ctx_workarounds_init
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_rev_file.c_svn_fs_fs__open_pack_or_rev_file.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_rev_file.c_svn_fs_fs__open_pack_or_rev_file.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FALSE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_fs_fs__open_pack_or_rev_file(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call ptr @apr_palloc(ptr noundef %3, i32 noundef 4) #2 store ptr %6, ptr %0, align 8, !tbaa !5 %7 = tail call i32 @init_revision_file(ptr noundef %6, ptr noundef %1, i32 noundef %2, ptr noundef %3) #2 %8 = load ptr, ptr %0, align 8, !tbaa !5 %9 = load i32, ptr @FALSE, align 4, !tbaa !9 %10 = tail call i32 @open_pack_or_rev_file(ptr noundef %8, ptr noundef %1, i32 noundef %2, i32 noundef %9, ptr noundef %3, ptr noundef %4) #2 %11 = tail call ptr @svn_error_trace(i32 noundef %10) #2 ret ptr %11 } declare ptr @apr_palloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_revision_file(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @svn_error_trace(i32 noundef) local_unnamed_addr #1 declare i32 @open_pack_or_rev_file(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_rev_file.c_svn_fs_fs__open_pack_or_rev_file.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_rev_file.c_svn_fs_fs__open_pack_or_rev_file.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_fs_fs__open_pack_or_rev_file(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call ptr @apr_palloc(ptr noundef %3, i32 noundef 4) #2 store ptr %6, ptr %0, align 8, !tbaa !6 %7 = tail call i32 @init_revision_file(ptr noundef %6, ptr noundef %1, i32 noundef %2, ptr noundef %3) #2 %8 = load ptr, ptr %0, align 8, !tbaa !6 %9 = load i32, ptr @FALSE, align 4, !tbaa !10 %10 = tail call i32 @open_pack_or_rev_file(ptr noundef %8, ptr noundef %1, i32 noundef %2, i32 noundef %9, ptr noundef %3, ptr noundef %4) #2 %11 = tail call ptr @svn_error_trace(i32 noundef %10) #2 ret ptr %11 } declare ptr @apr_palloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_revision_file(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @svn_error_trace(i32 noundef) local_unnamed_addr #1 declare i32 @open_pack_or_rev_file(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_contrib_subversion_subversion_libsvn_fs_fs_extr_rev_file.c_svn_fs_fs__open_pack_or_rev_file
; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_liolib.c_g_iofile.c' source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_liolib.c_g_iofile.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LUA_REGISTRYINDEX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @g_iofile], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @g_iofile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @lua_isnoneornil(ptr noundef %0, i32 noundef 1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %17 6: ; preds = %3 %7 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef 1) #2 %8 = icmp eq ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %6 %10 = tail call i32 @opencheck(ptr noundef %0, ptr noundef nonnull %7, ptr noundef %2) #2 br label %14 11: ; preds = %6 %12 = tail call i32 @tofile(ptr noundef %0) #2 %13 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef 1) #2 br label %14 14: ; preds = %11, %9 %15 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !5 %16 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef %15, ptr noundef %1) #2 br label %17 17: ; preds = %14, %3 %18 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !5 %19 = tail call i32 @lua_getfield(ptr noundef %0, i32 noundef %18, ptr noundef %1) #2 ret i32 1 } declare i32 @lua_isnoneornil(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @opencheck(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tofile(ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_setfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_liolib.c_g_iofile.c' source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_liolib.c_g_iofile.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LUA_REGISTRYINDEX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @g_iofile], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @g_iofile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @lua_isnoneornil(ptr noundef %0, i32 noundef 1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %17 6: ; preds = %3 %7 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef 1) #2 %8 = icmp eq ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %6 %10 = tail call i32 @opencheck(ptr noundef %0, ptr noundef nonnull %7, ptr noundef %2) #2 br label %14 11: ; preds = %6 %12 = tail call i32 @tofile(ptr noundef %0) #2 %13 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef 1) #2 br label %14 14: ; preds = %11, %9 %15 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !6 %16 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef %15, ptr noundef %1) #2 br label %17 17: ; preds = %14, %3 %18 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !6 %19 = tail call i32 @lua_getfield(ptr noundef %0, i32 noundef %18, ptr noundef %1) #2 ret i32 1 } declare i32 @lua_isnoneornil(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @opencheck(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tofile(ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_setfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_deps_lua_src_extr_liolib.c_g_iofile
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/extr_pcnet32.c_pcnet32_check_media.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/extr_pcnet32.c_pcnet32_check_media.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ethtool_cmd = type { i64, i32 } %struct.pcnet32_private = type { i64, i32, ptr, %struct.TYPE_5__, i64, i64, i32 } %struct.TYPE_5__ = type { i32 } %struct.TYPE_4__ = type { ptr, ptr } @PCNET32_79C970A = dso_local local_unnamed_addr global i64 0, align 8 @link = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"link down\0A\00", align 1 @ETHTOOL_GSET = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"link up, %uMbps, %s-duplex\0A\00", align 1 @DUPLEX_FULL = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [5 x i8] c"full\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"half\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"link up\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @pcnet32_check_media], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pcnet32_check_media(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.ethtool_cmd, align 8 %4 = tail call ptr @netdev_priv(ptr noundef %0) #3 %5 = tail call i64 @netif_carrier_ok(ptr noundef %0) #3 %6 = icmp ne i64 %5, 0 %7 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 4 %8 = load i64, ptr %7, align 8, !tbaa !5 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 3 %12 = tail call i32 @mii_link_ok(ptr noundef nonnull %11) #3 br label %40 13: ; preds = %2 %14 = load i64, ptr %4, align 8, !tbaa !13 %15 = load i64, ptr @PCNET32_79C970A, align 8, !tbaa !14 %16 = icmp eq i64 %14, %15 %17 = load i32, ptr %0, align 4, !tbaa !15 br i1 %16, label %18, label %33 18: ; preds = %13 %19 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 6 %20 = load i32, ptr %19, align 8, !tbaa !17 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %56 22: ; preds = %18 %23 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 5 %24 = load i64, ptr %23, align 8, !tbaa !18 %25 = icmp eq i64 %24, 0 br i1 %25, label %56, label %26 26: ; preds = %22 %27 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 2 %28 = load ptr, ptr %27, align 8, !tbaa !19 %29 = load ptr, ptr %28, align 8, !tbaa !20 %30 = tail call i32 %29(i32 noundef %17, i32 noundef 4) #3 %31 = icmp ne i32 %30, 192 %32 = zext i1 %31 to i32 br label %40 33: ; preds = %13 %34 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 2 %35 = load ptr, ptr %34, align 8, !tbaa !19 %36 = load ptr, ptr %35, align 8, !tbaa !20 %37 = tail call i32 %36(i32 noundef %17, i32 noundef 4) #3 %38 = icmp ne i32 %37, 192 %39 = zext i1 %38 to i32 br label %40 40: ; preds = %26, %33, %10 %41 = phi i32 [ %12, %10 ], [ %39, %33 ], [ %32, %26 ] %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %56 43: ; preds = %40 %44 = icmp ne i32 %1, 0 %45 = or i1 %44, %6 br i1 %45, label %46, label %50 46: ; preds = %43 %47 = tail call i32 @netif_carrier_off(ptr noundef %0) #3 %48 = load i32, ptr @link, align 4, !tbaa !22 %49 = tail call i32 @netif_info(ptr noundef nonnull %4, i32 noundef %48, ptr noundef %0, ptr noundef nonnull @.str) #3 br label %50 50: ; preds = %43, %46 %51 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 1 %52 = load i32, ptr %51, align 8, !tbaa !23 %53 = icmp sgt i32 %52, 1 br i1 %53, label %54, label %100 54: ; preds = %50 %55 = tail call i32 @pcnet32_check_otherphy(ptr noundef %0) #3 br label %100 56: ; preds = %18, %22, %40 %57 = icmp eq i32 %1, 0 %58 = select i1 %57, i1 %6, i1 false br i1 %58, label %100, label %59 59: ; preds = %56 %60 = tail call i32 @netif_carrier_on(ptr noundef %0) #3 %61 = load i64, ptr %7, align 8, !tbaa !5 %62 = icmp eq i64 %61, 0 br i1 %62, label %97, label %63 63: ; preds = %59 %64 = tail call i64 @netif_msg_link(ptr noundef nonnull %4) #3 %65 = icmp eq i64 %64, 0 br i1 %65, label %77, label %66 66: ; preds = %63 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 store i64 0, ptr %3, align 8, !tbaa !24 %67 = getelementptr inbounds %struct.ethtool_cmd, ptr %3, i64 0, i32 1 %68 = load i32, ptr @ETHTOOL_GSET, align 4, !tbaa !22 store i32 %68, ptr %67, align 8, !tbaa !26 %69 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 3 %70 = call i32 @mii_ethtool_gset(ptr noundef nonnull %69, ptr noundef nonnull %3) #3 %71 = call i32 @ethtool_cmd_speed(ptr noundef nonnull %3) #3 %72 = load i64, ptr %3, align 8, !tbaa !24 %73 = load i64, ptr @DUPLEX_FULL, align 8, !tbaa !14 %74 = icmp eq i64 %72, %73 %75 = select i1 %74, ptr @.str.2, ptr @.str.3 %76 = call i32 @netdev_info(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %71, ptr noundef nonnull %75) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 br label %77 77: ; preds = %66, %63 %78 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 2 %79 = load ptr, ptr %78, align 8, !tbaa !19 %80 = load ptr, ptr %79, align 8, !tbaa !20 %81 = load i32, ptr %0, align 4, !tbaa !15 %82 = call i32 %80(i32 noundef %81, i32 noundef 9) #3 %83 = and i32 %82, 1 %84 = getelementptr inbounds %struct.pcnet32_private, ptr %4, i64 0, i32 3 %85 = load i32, ptr %84, align 8, !tbaa !27 %86 = icmp eq i32 %83, %85 br i1 %86, label %100, label %87 87: ; preds = %77 %88 = icmp ne i32 %85, 0 %89 = and i32 %82, -2 %90 = zext i1 %88 to i32 %91 = or disjoint i32 %89, %90 %92 = load ptr, ptr %78, align 8, !tbaa !19 %93 = getelementptr inbounds %struct.TYPE_4__, ptr %92, i64 0, i32 1 %94 = load ptr, ptr %93, align 8, !tbaa !28 %95 = load i32, ptr %0, align 4, !tbaa !15 %96 = call i32 %94(i32 noundef %95, i32 noundef 9, i32 noundef %91) #3 br label %100 97: ; preds = %59 %98 = load i32, ptr @link, align 4, !tbaa !22 %99 = tail call i32 @netif_info(ptr noundef nonnull %4, i32 noundef %98, ptr noundef %0, ptr noundef nonnull @.str.4) #3 br label %100 100: ; preds = %56, %77, %87, %97, %50, %54 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare i64 @netif_carrier_ok(ptr noundef) local_unnamed_addr #2 declare i32 @mii_link_ok(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 @netif_carrier_off(ptr noundef) local_unnamed_addr #2 declare i32 @netif_info(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pcnet32_check_otherphy(ptr noundef) local_unnamed_addr #2 declare i32 @netif_carrier_on(ptr noundef) local_unnamed_addr #2 declare i64 @netif_msg_link(ptr noundef) local_unnamed_addr #2 declare i32 @mii_ethtool_gset(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @netdev_info(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ethtool_cmd_speed(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 32} !6 = !{!"pcnet32_private", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24, !7, i64 32, !7, i64 40, !10, i64 48} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"TYPE_5__", !10, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"net_device", !10, i64 0} !17 = !{!6, !10, i64 48} !18 = !{!6, !7, i64 40} !19 = !{!6, !11, i64 16} !20 = !{!21, !11, i64 0} !21 = !{!"TYPE_4__", !11, i64 0, !11, i64 8} !22 = !{!10, !10, i64 0} !23 = !{!6, !10, i64 8} !24 = !{!25, !7, i64 0} !25 = !{!"ethtool_cmd", !7, i64 0, !10, i64 8} !26 = !{!25, !10, i64 8} !27 = !{!6, !10, i64 24} !28 = !{!21, !11, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/extr_pcnet32.c_pcnet32_check_media.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/extr_pcnet32.c_pcnet32_check_media.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ethtool_cmd = type { i64, i32 } @PCNET32_79C970A = common local_unnamed_addr global i64 0, align 8 @link = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"link down\0A\00", align 1 @ETHTOOL_GSET = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"link up, %uMbps, %s-duplex\0A\00", align 1 @DUPLEX_FULL = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [5 x i8] c"full\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"half\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"link up\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @pcnet32_check_media], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pcnet32_check_media(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.ethtool_cmd, align 8 %4 = tail call ptr @netdev_priv(ptr noundef %0) #3 %5 = tail call i64 @netif_carrier_ok(ptr noundef %0) #3 %6 = icmp ne i64 %5, 0 %7 = getelementptr inbounds i8, ptr %4, i64 32 %8 = load i64, ptr %7, align 8, !tbaa !6 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %4, i64 24 %12 = tail call i32 @mii_link_ok(ptr noundef nonnull %11) #3 br label %40 13: ; preds = %2 %14 = load i64, ptr %4, align 8, !tbaa !14 %15 = load i64, ptr @PCNET32_79C970A, align 8, !tbaa !15 %16 = icmp eq i64 %14, %15 %17 = load i32, ptr %0, align 4, !tbaa !16 br i1 %16, label %18, label %33 18: ; preds = %13 %19 = getelementptr inbounds i8, ptr %4, i64 48 %20 = load i32, ptr %19, align 8, !tbaa !18 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %56 22: ; preds = %18 %23 = getelementptr inbounds i8, ptr %4, i64 40 %24 = load i64, ptr %23, align 8, !tbaa !19 %25 = icmp eq i64 %24, 0 br i1 %25, label %56, label %26 26: ; preds = %22 %27 = getelementptr inbounds i8, ptr %4, i64 16 %28 = load ptr, ptr %27, align 8, !tbaa !20 %29 = load ptr, ptr %28, align 8, !tbaa !21 %30 = tail call i32 %29(i32 noundef %17, i32 noundef 4) #3 %31 = icmp ne i32 %30, 192 %32 = zext i1 %31 to i32 br label %40 33: ; preds = %13 %34 = getelementptr inbounds i8, ptr %4, i64 16 %35 = load ptr, ptr %34, align 8, !tbaa !20 %36 = load ptr, ptr %35, align 8, !tbaa !21 %37 = tail call i32 %36(i32 noundef %17, i32 noundef 4) #3 %38 = icmp ne i32 %37, 192 %39 = zext i1 %38 to i32 br label %40 40: ; preds = %26, %33, %10 %41 = phi i32 [ %12, %10 ], [ %39, %33 ], [ %32, %26 ] %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %56 43: ; preds = %40 %44 = icmp ne i32 %1, 0 %45 = or i1 %44, %6 br i1 %45, label %46, label %50 46: ; preds = %43 %47 = tail call i32 @netif_carrier_off(ptr noundef %0) #3 %48 = load i32, ptr @link, align 4, !tbaa !23 %49 = tail call i32 @netif_info(ptr noundef nonnull %4, i32 noundef %48, ptr noundef %0, ptr noundef nonnull @.str) #3 br label %50 50: ; preds = %43, %46 %51 = getelementptr inbounds i8, ptr %4, i64 8 %52 = load i32, ptr %51, align 8, !tbaa !24 %53 = icmp sgt i32 %52, 1 br i1 %53, label %54, label %100 54: ; preds = %50 %55 = tail call i32 @pcnet32_check_otherphy(ptr noundef %0) #3 br label %100 56: ; preds = %18, %22, %40 %57 = icmp eq i32 %1, 0 %58 = select i1 %57, i1 %6, i1 false br i1 %58, label %100, label %59 59: ; preds = %56 %60 = tail call i32 @netif_carrier_on(ptr noundef %0) #3 %61 = load i64, ptr %7, align 8, !tbaa !6 %62 = icmp eq i64 %61, 0 br i1 %62, label %97, label %63 63: ; preds = %59 %64 = tail call i64 @netif_msg_link(ptr noundef nonnull %4) #3 %65 = icmp eq i64 %64, 0 br i1 %65, label %77, label %66 66: ; preds = %63 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 store i64 0, ptr %3, align 8, !tbaa !25 %67 = getelementptr inbounds i8, ptr %3, i64 8 %68 = load i32, ptr @ETHTOOL_GSET, align 4, !tbaa !23 store i32 %68, ptr %67, align 8, !tbaa !27 %69 = getelementptr inbounds i8, ptr %4, i64 24 %70 = call i32 @mii_ethtool_gset(ptr noundef nonnull %69, ptr noundef nonnull %3) #3 %71 = call i32 @ethtool_cmd_speed(ptr noundef nonnull %3) #3 %72 = load i64, ptr %3, align 8, !tbaa !25 %73 = load i64, ptr @DUPLEX_FULL, align 8, !tbaa !15 %74 = icmp eq i64 %72, %73 %75 = select i1 %74, ptr @.str.2, ptr @.str.3 %76 = call i32 @netdev_info(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %71, ptr noundef nonnull %75) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 br label %77 77: ; preds = %66, %63 %78 = getelementptr inbounds i8, ptr %4, i64 16 %79 = load ptr, ptr %78, align 8, !tbaa !20 %80 = load ptr, ptr %79, align 8, !tbaa !21 %81 = load i32, ptr %0, align 4, !tbaa !16 %82 = call i32 %80(i32 noundef %81, i32 noundef 9) #3 %83 = and i32 %82, 1 %84 = getelementptr inbounds i8, ptr %4, i64 24 %85 = load i32, ptr %84, align 8, !tbaa !28 %86 = icmp eq i32 %83, %85 br i1 %86, label %100, label %87 87: ; preds = %77 %88 = icmp ne i32 %85, 0 %89 = and i32 %82, -2 %90 = zext i1 %88 to i32 %91 = or disjoint i32 %89, %90 %92 = load ptr, ptr %78, align 8, !tbaa !20 %93 = getelementptr inbounds i8, ptr %92, i64 8 %94 = load ptr, ptr %93, align 8, !tbaa !29 %95 = load i32, ptr %0, align 4, !tbaa !16 %96 = call i32 %94(i32 noundef %95, i32 noundef 9, i32 noundef %91) #3 br label %100 97: ; preds = %59 %98 = load i32, ptr @link, align 4, !tbaa !23 %99 = tail call i32 @netif_info(ptr noundef nonnull %4, i32 noundef %98, ptr noundef %0, ptr noundef nonnull @.str.4) #3 br label %100 100: ; preds = %56, %77, %87, %97, %50, %54 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare i64 @netif_carrier_ok(ptr noundef) local_unnamed_addr #2 declare i32 @mii_link_ok(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 @netif_carrier_off(ptr noundef) local_unnamed_addr #2 declare i32 @netif_info(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pcnet32_check_otherphy(ptr noundef) local_unnamed_addr #2 declare i32 @netif_carrier_on(ptr noundef) local_unnamed_addr #2 declare i64 @netif_msg_link(ptr noundef) local_unnamed_addr #2 declare i32 @mii_ethtool_gset(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @netdev_info(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ethtool_cmd_speed(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 32} !7 = !{!"pcnet32_private", !8, i64 0, !11, i64 8, !12, i64 16, !13, i64 24, !8, i64 32, !8, i64 40, !11, i64 48} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"TYPE_5__", !11, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"net_device", !11, i64 0} !18 = !{!7, !11, i64 48} !19 = !{!7, !8, i64 40} !20 = !{!7, !12, i64 16} !21 = !{!22, !12, i64 0} !22 = !{!"TYPE_4__", !12, i64 0, !12, i64 8} !23 = !{!11, !11, i64 0} !24 = !{!7, !11, i64 8} !25 = !{!26, !8, i64 0} !26 = !{!"ethtool_cmd", !8, i64 0, !11, i64 8} !27 = !{!26, !11, i64 8} !28 = !{!7, !11, i64 24} !29 = !{!22, !12, i64 8}
linux_drivers_net_ethernet_amd_extr_pcnet32.c_pcnet32_check_media
; ModuleID = 'AnghaBench/xLua/build/lua-5.1.5/src/extr_lua.c_lstop.c' source_filename = "AnghaBench/xLua/build/lua-5.1.5/src/extr_lua.c_lstop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"interrupted!\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @lstop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @lstop(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @lua_sethook(ptr noundef %0, ptr noundef null, i32 noundef 0, i32 noundef 0) #2 %4 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str) #2 ret void } declare i32 @lua_sethook(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/xLua/build/lua-5.1.5/src/extr_lua.c_lstop.c' source_filename = "AnghaBench/xLua/build/lua-5.1.5/src/extr_lua.c_lstop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [13 x i8] c"interrupted!\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @lstop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @lstop(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @lua_sethook(ptr noundef %0, ptr noundef null, i32 noundef 0, i32 noundef 0) #2 %4 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str) #2 ret void } declare i32 @lua_sethook(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_error(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)"}
xLua_build_lua-5.1.5_src_extr_lua.c_lstop
; ModuleID = 'AnghaBench/linux/net/core/extr_filter.c_sk_detach_filter.c' source_filename = "AnghaBench/linux/net/core/extr_filter.c_sk_detach_filter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_FILTER_LOCKED = dso_local local_unnamed_addr global i32 0, align 4 @EPERM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sk_detach_filter(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ENOENT, align 4, !tbaa !5 %3 = load i32, ptr @SOCK_FILTER_LOCKED, align 4, !tbaa !5 %4 = tail call i64 @sock_flag(ptr noundef %0, i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EPERM, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %19 9: ; preds = %1 %10 = sub nsw i32 0, %2 %11 = load i32, ptr %0, align 4, !tbaa !9 %12 = tail call i32 @lockdep_sock_is_held(ptr noundef nonnull %0) #2 %13 = tail call ptr @rcu_dereference_protected(i32 noundef %11, i32 noundef %12) #2 %14 = icmp eq ptr %13, null br i1 %14, label %19, label %15 15: ; preds = %9 %16 = load i32, ptr %0, align 4, !tbaa !9 %17 = tail call i32 @RCU_INIT_POINTER(i32 noundef %16, ptr noundef null) #2 %18 = tail call i32 @sk_filter_uncharge(ptr noundef nonnull %0, ptr noundef nonnull %13) #2 br label %19 19: ; preds = %9, %15, %6 %20 = phi i32 [ %8, %6 ], [ 0, %15 ], [ %10, %9 ] ret i32 %20 } declare i64 @sock_flag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @rcu_dereference_protected(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lockdep_sock_is_held(ptr noundef) local_unnamed_addr #1 declare i32 @RCU_INIT_POINTER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sk_filter_uncharge(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"sock", !6, i64 0}
; ModuleID = 'AnghaBench/linux/net/core/extr_filter.c_sk_detach_filter.c' source_filename = "AnghaBench/linux/net/core/extr_filter.c_sk_detach_filter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOENT = common local_unnamed_addr global i32 0, align 4 @SOCK_FILTER_LOCKED = common local_unnamed_addr global i32 0, align 4 @EPERM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @sk_detach_filter(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ENOENT, align 4, !tbaa !6 %3 = load i32, ptr @SOCK_FILTER_LOCKED, align 4, !tbaa !6 %4 = tail call i64 @sock_flag(ptr noundef %0, i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EPERM, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %19 9: ; preds = %1 %10 = sub nsw i32 0, %2 %11 = load i32, ptr %0, align 4, !tbaa !10 %12 = tail call i32 @lockdep_sock_is_held(ptr noundef nonnull %0) #2 %13 = tail call ptr @rcu_dereference_protected(i32 noundef %11, i32 noundef %12) #2 %14 = icmp eq ptr %13, null br i1 %14, label %19, label %15 15: ; preds = %9 %16 = load i32, ptr %0, align 4, !tbaa !10 %17 = tail call i32 @RCU_INIT_POINTER(i32 noundef %16, ptr noundef null) #2 %18 = tail call i32 @sk_filter_uncharge(ptr noundef nonnull %0, ptr noundef nonnull %13) #2 br label %19 19: ; preds = %9, %15, %6 %20 = phi i32 [ %8, %6 ], [ 0, %15 ], [ %10, %9 ] ret i32 %20 } declare i64 @sock_flag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @rcu_dereference_protected(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lockdep_sock_is_held(ptr noundef) local_unnamed_addr #1 declare i32 @RCU_INIT_POINTER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sk_filter_uncharge(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"sock", !7, i64 0}
linux_net_core_extr_filter.c_sk_detach_filter
; ModuleID = 'AnghaBench/linux/sound/firewire/bebob/extr_..amdtp-stream.h_amdtp_streaming_error.c' source_filename = "AnghaBench/linux/sound/firewire/bebob/extr_..amdtp-stream.h_amdtp_streaming_error.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @amdtp_streaming_error], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @amdtp_streaming_error(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = lshr i64 %2, 63 %4 = trunc i64 %3 to i32 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"amdtp_stream", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/firewire/bebob/extr_..amdtp-stream.h_amdtp_streaming_error.c' source_filename = "AnghaBench/linux/sound/firewire/bebob/extr_..amdtp-stream.h_amdtp_streaming_error.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 @amdtp_streaming_error], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @amdtp_streaming_error(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = lshr i64 %2, 63 %4 = trunc nuw nsw i64 %3 to i32 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"amdtp_stream", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_sound_firewire_bebob_extr_..amdtp-stream.h_amdtp_streaming_error
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_action.c_mlx5dr_action_create_pop_vlan.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_action.c_mlx5dr_action_create_pop_vlan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DR_ACTION_TYP_POP_VLAN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @mlx5dr_action_create_pop_vlan() local_unnamed_addr #0 { %1 = load i32, ptr @DR_ACTION_TYP_POP_VLAN, align 4, !tbaa !5 %2 = tail call ptr @dr_action_create_generic(i32 noundef %1) #2 ret ptr %2 } declare ptr @dr_action_create_generic(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_action.c_mlx5dr_action_create_pop_vlan.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/extr_dr_action.c_mlx5dr_action_create_pop_vlan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DR_ACTION_TYP_POP_VLAN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @mlx5dr_action_create_pop_vlan() local_unnamed_addr #0 { %1 = load i32, ptr @DR_ACTION_TYP_POP_VLAN, align 4, !tbaa !6 %2 = tail call ptr @dr_action_create_generic(i32 noundef %1) #2 ret ptr %2 } declare ptr @dr_action_create_generic(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_mellanox_mlx5_core_steering_extr_dr_action.c_mlx5dr_action_create_pop_vlan
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_moveToRoot.c' source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_moveToRoot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_15__ = type { i64, i32, i64, i32, i32, i64, i32, ptr, %struct.TYPE_13__, i64, i32, ptr, ptr } %struct.TYPE_13__ = type { i64 } %struct.TYPE_14__ = type { i32, i32, i64, i64, i32, ptr, i32 } @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @CURSOR_INVALID = dso_local local_unnamed_addr global i64 0, align 8 @CURSOR_REQUIRESEEK = dso_local local_unnamed_addr global i64 0, align 8 @CURSOR_VALID = dso_local local_unnamed_addr global i64 0, align 8 @CURSOR_FAULT = dso_local local_unnamed_addr global i64 0, align 8 @SQLITE_EMPTY = dso_local local_unnamed_addr global i32 0, align 4 @BTCF_AtLast = dso_local local_unnamed_addr global i32 0, align 4 @BTCF_ValidNKey = dso_local local_unnamed_addr global i32 0, align 4 @BTCF_ValidOvfl = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_CORRUPT_BKPT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @moveToRoot], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @moveToRoot(ptr noundef %0) #0 { %2 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %3 = tail call i32 @cursorOwnsBtShared(ptr noundef %0) #3 %4 = tail call i32 @assert(i32 noundef %3) #3 %5 = load i64, ptr @CURSOR_INVALID, align 8, !tbaa !9 %6 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !9 %7 = icmp slt i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = load i64, ptr @CURSOR_VALID, align 8, !tbaa !9 %11 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !9 %12 = icmp slt i64 %10, %11 %13 = zext i1 %12 to i32 %14 = tail call i32 @assert(i32 noundef %13) #3 %15 = load i64, ptr @CURSOR_FAULT, align 8, !tbaa !9 %16 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !9 %17 = icmp sgt i64 %15, %16 %18 = zext i1 %17 to i32 %19 = tail call i32 @assert(i32 noundef %18) #3 %20 = load i64, ptr %0, align 8, !tbaa !11 %21 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !9 %22 = icmp slt i64 %20, %21 br i1 %22, label %27, label %23 23: ; preds = %1 %24 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1 %25 = load i32, ptr %24, align 8, !tbaa !15 %26 = lshr i32 %25, 31 br label %27 27: ; preds = %23, %1 %28 = phi i32 [ 1, %1 ], [ %26, %23 ] %29 = tail call i32 @assert(i32 noundef %28) #3 %30 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 2 %31 = load i64, ptr %30, align 8, !tbaa !16 %32 = icmp sgt i64 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %27 %34 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1 %35 = load i32, ptr %34, align 8, !tbaa !15 %36 = lshr i32 %35, 31 br label %37 37: ; preds = %33, %27 %38 = phi i32 [ 1, %27 ], [ %36, %33 ] %39 = tail call i32 @assert(i32 noundef %38) #3 %40 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1 %41 = load i32, ptr %40, align 8, !tbaa !15 %42 = icmp sgt i32 %41, -1 br i1 %42, label %43, label %68 43: ; preds = %37 %44 = icmp eq i32 %41, 0 %45 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 7 %46 = load ptr, ptr %45, align 8, !tbaa !17 br i1 %44, label %111, label %47 47: ; preds = %43 %48 = tail call i32 @releasePageNotNull(ptr noundef %46) #3 %49 = load i32, ptr %40, align 8, !tbaa !15 %50 = add nsw i32 %49, -1 store i32 %50, ptr %40, align 8, !tbaa !15 %51 = icmp eq i32 %50, 0 br i1 %51, label %64, label %52 52: ; preds = %47 %53 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 12 br label %54 54: ; preds = %52, %54 %55 = phi i32 [ %50, %52 ], [ %62, %54 ] %56 = load ptr, ptr %53, align 8, !tbaa !18 %57 = sext i32 %55 to i64 %58 = getelementptr inbounds ptr, ptr %56, i64 %57 %59 = load ptr, ptr %58, align 8, !tbaa !19 %60 = tail call i32 @releasePageNotNull(ptr noundef %59) #3 %61 = load i32, ptr %40, align 8, !tbaa !15 %62 = add nsw i32 %61, -1 store i32 %62, ptr %40, align 8, !tbaa !15 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %54, !llvm.loop !20 64: ; preds = %54, %47 %65 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 12 %66 = load ptr, ptr %65, align 8, !tbaa !18 %67 = load ptr, ptr %66, align 8, !tbaa !19 store ptr %67, ptr %45, align 8, !tbaa !17 br label %141 68: ; preds = %37 %69 = load i64, ptr %30, align 8, !tbaa !16 %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %68 %72 = load i64, ptr @CURSOR_INVALID, align 8, !tbaa !9 store i64 %72, ptr %0, align 8, !tbaa !11 %73 = load i32, ptr @SQLITE_EMPTY, align 4, !tbaa !5 br label %183 74: ; preds = %68 %75 = icmp eq i32 %41, -1 %76 = zext i1 %75 to i32 %77 = tail call i32 @assert(i32 noundef %76) #3 %78 = load i64, ptr %0, align 8, !tbaa !11 %79 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !9 %80 = icmp slt i64 %78, %79 br i1 %80, label %94, label %81 81: ; preds = %74 %82 = load i64, ptr @CURSOR_FAULT, align 8, !tbaa !9 %83 = icmp eq i64 %78, %82 br i1 %83, label %84, label %92 84: ; preds = %81 %85 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 3 %86 = load i32, ptr %85, align 8, !tbaa !22 %87 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %88 = icmp ne i32 %86, %87 %89 = zext i1 %88 to i32 %90 = tail call i32 @assert(i32 noundef %89) #3 %91 = load i32, ptr %85, align 8, !tbaa !22 br label %183 92: ; preds = %81 %93 = tail call i32 @sqlite3BtreeClearCursor(ptr noundef nonnull %0) #3 br label %94 94: ; preds = %92, %74 %95 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 11 %96 = load ptr, ptr %95, align 8, !tbaa !23 %97 = load i32, ptr %96, align 4, !tbaa !24 %98 = load i64, ptr %30, align 8, !tbaa !16 %99 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 7 %100 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 10 %101 = load i32, ptr %100, align 8, !tbaa !26 %102 = tail call i32 @getAndInitPage(i32 noundef %97, i64 noundef %98, ptr noundef nonnull %99, i32 noundef 0, i32 noundef %101) #3 %103 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %104 = icmp eq i32 %102, %103 br i1 %104, label %107, label %105 105: ; preds = %94 %106 = load i64, ptr @CURSOR_INVALID, align 8, !tbaa !9 store i64 %106, ptr %0, align 8, !tbaa !11 br label %183 107: ; preds = %94 store i32 0, ptr %40, align 8, !tbaa !15 %108 = load ptr, ptr %99, align 8, !tbaa !17 %109 = load i32, ptr %108, align 8, !tbaa !27 %110 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 4 store i32 %109, ptr %110, align 4, !tbaa !29 br label %111 111: ; preds = %43, %107 %112 = phi ptr [ %108, %107 ], [ %46, %43 ] %113 = phi i32 [ %102, %107 ], [ %2, %43 ] %114 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 7 %115 = getelementptr inbounds %struct.TYPE_14__, ptr %112, i64 0, i32 1 %116 = load i32, ptr %115, align 4, !tbaa !30 %117 = sext i32 %116 to i64 %118 = load i64, ptr %30, align 8, !tbaa !16 %119 = icmp eq i64 %118, %117 %120 = zext i1 %119 to i32 %121 = tail call i32 @assert(i32 noundef %120) #3 %122 = load i32, ptr %112, align 8, !tbaa !27 %123 = icmp ult i32 %122, 2 %124 = zext i1 %123 to i32 %125 = tail call i32 @assert(i32 noundef %124) #3 %126 = getelementptr inbounds %struct.TYPE_14__, ptr %112, i64 0, i32 2 %127 = load i64, ptr %126, align 8, !tbaa !31 %128 = icmp eq i64 %127, 0 br i1 %128, label %138, label %129 129: ; preds = %111 %130 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 5 %131 = load i64, ptr %130, align 8, !tbaa !32 %132 = icmp eq i64 %131, 0 %133 = zext i1 %132 to i32 %134 = load i32, ptr %112, align 8, !tbaa !27 %135 = icmp eq i32 %134, %133 br i1 %135, label %136, label %138 136: ; preds = %129 %137 = load ptr, ptr %114, align 8, !tbaa !17 br label %141 138: ; preds = %129, %111 %139 = load ptr, ptr %114, align 8, !tbaa !17 %140 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef %139) #3 br label %183 141: ; preds = %136, %64 %142 = phi ptr [ %67, %64 ], [ %137, %136 ] %143 = phi i32 [ %2, %64 ], [ %113, %136 ] %144 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %144, i8 0, i64 16, i1 false) %145 = load i32, ptr @BTCF_AtLast, align 4, !tbaa !5 %146 = load i32, ptr @BTCF_ValidNKey, align 4, !tbaa !5 %147 = or i32 %146, %145 %148 = load i32, ptr @BTCF_ValidOvfl, align 4, !tbaa !5 %149 = or i32 %147, %148 %150 = xor i32 %149, -1 %151 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 6 %152 = load i32, ptr %151, align 8, !tbaa !33 %153 = and i32 %152, %150 store i32 %153, ptr %151, align 8, !tbaa !33 %154 = getelementptr inbounds %struct.TYPE_14__, ptr %142, i64 0, i32 3 %155 = load i64, ptr %154, align 8, !tbaa !34 %156 = icmp sgt i64 %155, 0 br i1 %156, label %157, label %159 157: ; preds = %141 %158 = load i64, ptr @CURSOR_VALID, align 8, !tbaa !9 store i64 %158, ptr %0, align 8, !tbaa !11 br label %183 159: ; preds = %141 %160 = getelementptr inbounds %struct.TYPE_14__, ptr %142, i64 0, i32 6 %161 = load i32, ptr %160, align 8, !tbaa !35 %162 = icmp eq i32 %161, 0 br i1 %162, label %163, label %180 163: ; preds = %159 %164 = getelementptr inbounds %struct.TYPE_14__, ptr %142, i64 0, i32 1 %165 = load i32, ptr %164, align 4, !tbaa !30 %166 = icmp eq i32 %165, 1 br i1 %166, label %169, label %167 167: ; preds = %163 %168 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !5 br label %183 169: ; preds = %163 %170 = getelementptr inbounds %struct.TYPE_14__, ptr %142, i64 0, i32 5 %171 = load ptr, ptr %170, align 8, !tbaa !36 %172 = getelementptr inbounds %struct.TYPE_14__, ptr %142, i64 0, i32 4 %173 = load i32, ptr %172, align 8, !tbaa !37 %174 = sext i32 %173 to i64 %175 = getelementptr i32, ptr %171, i64 %174 %176 = getelementptr i32, ptr %175, i64 8 %177 = tail call i32 @get4byte(ptr noundef %176) #3 %178 = load i64, ptr @CURSOR_VALID, align 8, !tbaa !9 store i64 %178, ptr %0, align 8, !tbaa !11 %179 = tail call i32 @moveToChild(ptr noundef nonnull %0, i32 noundef %177) #3 br label %183 180: ; preds = %159 %181 = load i64, ptr @CURSOR_INVALID, align 8, !tbaa !9 store i64 %181, ptr %0, align 8, !tbaa !11 %182 = load i32, ptr @SQLITE_EMPTY, align 4, !tbaa !5 br label %183 183: ; preds = %167, %169, %157, %180, %138, %105, %84, %71 %184 = phi i32 [ %140, %138 ], [ %73, %71 ], [ %91, %84 ], [ %102, %105 ], [ %143, %157 ], [ %182, %180 ], [ %168, %167 ], [ %179, %169 ] ret i32 %184 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @cursorOwnsBtShared(ptr noundef) local_unnamed_addr #1 declare i32 @releasePageNotNull(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3BtreeClearCursor(ptr noundef) local_unnamed_addr #1 declare i32 @getAndInitPage(i32 noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SQLITE_CORRUPT_PAGE(ptr noundef) local_unnamed_addr #1 declare i32 @get4byte(ptr noundef) local_unnamed_addr #1 declare i32 @moveToChild(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_15__", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !10, i64 32, !6, i64 40, !13, i64 48, !14, i64 56, !10, i64 64, !6, i64 72, !13, i64 80, !13, i64 88} !13 = !{!"any pointer", !7, i64 0} !14 = !{!"TYPE_13__", !10, i64 0} !15 = !{!12, !6, i64 8} !16 = !{!12, !10, i64 16} !17 = !{!12, !13, i64 48} !18 = !{!12, !13, i64 88} !19 = !{!13, !13, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!12, !6, i64 24} !23 = !{!12, !13, i64 80} !24 = !{!25, !6, i64 0} !25 = !{!"TYPE_12__", !6, i64 0} !26 = !{!12, !6, i64 72} !27 = !{!28, !6, i64 0} !28 = !{!"TYPE_14__", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16, !6, i64 24, !13, i64 32, !6, i64 40} !29 = !{!12, !6, i64 28} !30 = !{!28, !6, i64 4} !31 = !{!28, !10, i64 8} !32 = !{!12, !10, i64 32} !33 = !{!12, !6, i64 40} !34 = !{!28, !10, i64 16} !35 = !{!28, !6, i64 40} !36 = !{!28, !13, i64 32} !37 = !{!28, !6, i64 24}
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_moveToRoot.c' source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_moveToRoot.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @CURSOR_INVALID = common local_unnamed_addr global i64 0, align 8 @CURSOR_REQUIRESEEK = common local_unnamed_addr global i64 0, align 8 @CURSOR_VALID = common local_unnamed_addr global i64 0, align 8 @CURSOR_FAULT = common local_unnamed_addr global i64 0, align 8 @SQLITE_EMPTY = common local_unnamed_addr global i32 0, align 4 @BTCF_AtLast = common local_unnamed_addr global i32 0, align 4 @BTCF_ValidNKey = common local_unnamed_addr global i32 0, align 4 @BTCF_ValidOvfl = common local_unnamed_addr global i32 0, align 4 @SQLITE_CORRUPT_BKPT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @moveToRoot], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @moveToRoot(ptr noundef %0) #0 { %2 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %3 = tail call i32 @cursorOwnsBtShared(ptr noundef %0) #3 %4 = tail call i32 @assert(i32 noundef %3) #3 %5 = load i64, ptr @CURSOR_INVALID, align 8, !tbaa !10 %6 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !10 %7 = icmp slt i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = load i64, ptr @CURSOR_VALID, align 8, !tbaa !10 %11 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !10 %12 = icmp slt i64 %10, %11 %13 = zext i1 %12 to i32 %14 = tail call i32 @assert(i32 noundef %13) #3 %15 = load i64, ptr @CURSOR_FAULT, align 8, !tbaa !10 %16 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !10 %17 = icmp sgt i64 %15, %16 %18 = zext i1 %17 to i32 %19 = tail call i32 @assert(i32 noundef %18) #3 %20 = load i64, ptr %0, align 8, !tbaa !12 %21 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !10 %22 = icmp slt i64 %20, %21 br i1 %22, label %27, label %23 23: ; preds = %1 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !16 %26 = lshr i32 %25, 31 br label %27 27: ; preds = %23, %1 %28 = phi i32 [ 1, %1 ], [ %26, %23 ] %29 = tail call i32 @assert(i32 noundef %28) #3 %30 = getelementptr inbounds i8, ptr %0, i64 16 %31 = load i64, ptr %30, align 8, !tbaa !17 %32 = icmp sgt i64 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %27 %34 = getelementptr inbounds i8, ptr %0, i64 8 %35 = load i32, ptr %34, align 8, !tbaa !16 %36 = lshr i32 %35, 31 br label %37 37: ; preds = %33, %27 %38 = phi i32 [ 1, %27 ], [ %36, %33 ] %39 = tail call i32 @assert(i32 noundef %38) #3 %40 = getelementptr inbounds i8, ptr %0, i64 8 %41 = load i32, ptr %40, align 8, !tbaa !16 %42 = icmp sgt i32 %41, -1 br i1 %42, label %43, label %68 43: ; preds = %37 %44 = icmp eq i32 %41, 0 %45 = getelementptr inbounds i8, ptr %0, i64 48 %46 = load ptr, ptr %45, align 8, !tbaa !18 br i1 %44, label %111, label %47 47: ; preds = %43 %48 = tail call i32 @releasePageNotNull(ptr noundef %46) #3 %49 = load i32, ptr %40, align 8, !tbaa !16 %50 = add nsw i32 %49, -1 store i32 %50, ptr %40, align 8, !tbaa !16 %51 = icmp eq i32 %50, 0 br i1 %51, label %64, label %52 52: ; preds = %47 %53 = getelementptr inbounds i8, ptr %0, i64 88 br label %54 54: ; preds = %52, %54 %55 = phi i32 [ %50, %52 ], [ %62, %54 ] %56 = load ptr, ptr %53, align 8, !tbaa !19 %57 = sext i32 %55 to i64 %58 = getelementptr inbounds ptr, ptr %56, i64 %57 %59 = load ptr, ptr %58, align 8, !tbaa !20 %60 = tail call i32 @releasePageNotNull(ptr noundef %59) #3 %61 = load i32, ptr %40, align 8, !tbaa !16 %62 = add nsw i32 %61, -1 store i32 %62, ptr %40, align 8, !tbaa !16 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %54, !llvm.loop !21 64: ; preds = %54, %47 %65 = getelementptr inbounds i8, ptr %0, i64 88 %66 = load ptr, ptr %65, align 8, !tbaa !19 %67 = load ptr, ptr %66, align 8, !tbaa !20 store ptr %67, ptr %45, align 8, !tbaa !18 br label %141 68: ; preds = %37 %69 = load i64, ptr %30, align 8, !tbaa !17 %70 = icmp eq i64 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %68 %72 = load i64, ptr @CURSOR_INVALID, align 8, !tbaa !10 store i64 %72, ptr %0, align 8, !tbaa !12 %73 = load i32, ptr @SQLITE_EMPTY, align 4, !tbaa !6 br label %183 74: ; preds = %68 %75 = icmp eq i32 %41, -1 %76 = zext i1 %75 to i32 %77 = tail call i32 @assert(i32 noundef %76) #3 %78 = load i64, ptr %0, align 8, !tbaa !12 %79 = load i64, ptr @CURSOR_REQUIRESEEK, align 8, !tbaa !10 %80 = icmp slt i64 %78, %79 br i1 %80, label %94, label %81 81: ; preds = %74 %82 = load i64, ptr @CURSOR_FAULT, align 8, !tbaa !10 %83 = icmp eq i64 %78, %82 br i1 %83, label %84, label %92 84: ; preds = %81 %85 = getelementptr inbounds i8, ptr %0, i64 24 %86 = load i32, ptr %85, align 8, !tbaa !23 %87 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %88 = icmp ne i32 %86, %87 %89 = zext i1 %88 to i32 %90 = tail call i32 @assert(i32 noundef %89) #3 %91 = load i32, ptr %85, align 8, !tbaa !23 br label %183 92: ; preds = %81 %93 = tail call i32 @sqlite3BtreeClearCursor(ptr noundef nonnull %0) #3 br label %94 94: ; preds = %92, %74 %95 = getelementptr inbounds i8, ptr %0, i64 80 %96 = load ptr, ptr %95, align 8, !tbaa !24 %97 = load i32, ptr %96, align 4, !tbaa !25 %98 = load i64, ptr %30, align 8, !tbaa !17 %99 = getelementptr inbounds i8, ptr %0, i64 48 %100 = getelementptr inbounds i8, ptr %0, i64 72 %101 = load i32, ptr %100, align 8, !tbaa !27 %102 = tail call i32 @getAndInitPage(i32 noundef %97, i64 noundef %98, ptr noundef nonnull %99, i32 noundef 0, i32 noundef %101) #3 %103 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %104 = icmp eq i32 %102, %103 br i1 %104, label %107, label %105 105: ; preds = %94 %106 = load i64, ptr @CURSOR_INVALID, align 8, !tbaa !10 store i64 %106, ptr %0, align 8, !tbaa !12 br label %183 107: ; preds = %94 store i32 0, ptr %40, align 8, !tbaa !16 %108 = load ptr, ptr %99, align 8, !tbaa !18 %109 = load i32, ptr %108, align 8, !tbaa !28 %110 = getelementptr inbounds i8, ptr %0, i64 28 store i32 %109, ptr %110, align 4, !tbaa !30 br label %111 111: ; preds = %43, %107 %112 = phi ptr [ %108, %107 ], [ %46, %43 ] %113 = phi i32 [ %102, %107 ], [ %2, %43 ] %114 = getelementptr inbounds i8, ptr %0, i64 48 %115 = getelementptr inbounds i8, ptr %112, i64 4 %116 = load i32, ptr %115, align 4, !tbaa !31 %117 = sext i32 %116 to i64 %118 = load i64, ptr %30, align 8, !tbaa !17 %119 = icmp eq i64 %118, %117 %120 = zext i1 %119 to i32 %121 = tail call i32 @assert(i32 noundef %120) #3 %122 = load i32, ptr %112, align 8, !tbaa !28 %123 = icmp ult i32 %122, 2 %124 = zext i1 %123 to i32 %125 = tail call i32 @assert(i32 noundef %124) #3 %126 = getelementptr inbounds i8, ptr %112, i64 8 %127 = load i64, ptr %126, align 8, !tbaa !32 %128 = icmp eq i64 %127, 0 br i1 %128, label %138, label %129 129: ; preds = %111 %130 = getelementptr inbounds i8, ptr %0, i64 32 %131 = load i64, ptr %130, align 8, !tbaa !33 %132 = icmp eq i64 %131, 0 %133 = zext i1 %132 to i32 %134 = load i32, ptr %112, align 8, !tbaa !28 %135 = icmp eq i32 %134, %133 br i1 %135, label %136, label %138 136: ; preds = %129 %137 = load ptr, ptr %114, align 8, !tbaa !18 br label %141 138: ; preds = %129, %111 %139 = load ptr, ptr %114, align 8, !tbaa !18 %140 = tail call i32 @SQLITE_CORRUPT_PAGE(ptr noundef %139) #3 br label %183 141: ; preds = %136, %64 %142 = phi ptr [ %67, %64 ], [ %137, %136 ] %143 = phi i32 [ %2, %64 ], [ %113, %136 ] %144 = getelementptr inbounds i8, ptr %0, i64 56 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %144, i8 0, i64 16, i1 false) %145 = load i32, ptr @BTCF_AtLast, align 4, !tbaa !6 %146 = load i32, ptr @BTCF_ValidNKey, align 4, !tbaa !6 %147 = or i32 %146, %145 %148 = load i32, ptr @BTCF_ValidOvfl, align 4, !tbaa !6 %149 = or i32 %147, %148 %150 = xor i32 %149, -1 %151 = getelementptr inbounds i8, ptr %0, i64 40 %152 = load i32, ptr %151, align 8, !tbaa !34 %153 = and i32 %152, %150 store i32 %153, ptr %151, align 8, !tbaa !34 %154 = getelementptr inbounds i8, ptr %142, i64 16 %155 = load i64, ptr %154, align 8, !tbaa !35 %156 = icmp sgt i64 %155, 0 br i1 %156, label %157, label %159 157: ; preds = %141 %158 = load i64, ptr @CURSOR_VALID, align 8, !tbaa !10 store i64 %158, ptr %0, align 8, !tbaa !12 br label %183 159: ; preds = %141 %160 = getelementptr inbounds i8, ptr %142, i64 40 %161 = load i32, ptr %160, align 8, !tbaa !36 %162 = icmp eq i32 %161, 0 br i1 %162, label %163, label %180 163: ; preds = %159 %164 = getelementptr inbounds i8, ptr %142, i64 4 %165 = load i32, ptr %164, align 4, !tbaa !31 %166 = icmp eq i32 %165, 1 br i1 %166, label %167, label %178 167: ; preds = %163 %168 = getelementptr inbounds i8, ptr %142, i64 32 %169 = load ptr, ptr %168, align 8, !tbaa !37 %170 = getelementptr inbounds i8, ptr %142, i64 24 %171 = load i32, ptr %170, align 8, !tbaa !38 %172 = sext i32 %171 to i64 %173 = getelementptr i32, ptr %169, i64 %172 %174 = getelementptr i8, ptr %173, i64 32 %175 = tail call i32 @get4byte(ptr noundef %174) #3 %176 = load i64, ptr @CURSOR_VALID, align 8, !tbaa !10 store i64 %176, ptr %0, align 8, !tbaa !12 %177 = tail call i32 @moveToChild(ptr noundef nonnull %0, i32 noundef %175) #3 br label %183 178: ; preds = %163 %179 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !6 br label %183 180: ; preds = %159 %181 = load i64, ptr @CURSOR_INVALID, align 8, !tbaa !10 store i64 %181, ptr %0, align 8, !tbaa !12 %182 = load i32, ptr @SQLITE_EMPTY, align 4, !tbaa !6 br label %183 183: ; preds = %157, %180, %167, %178, %138, %105, %84, %71 %184 = phi i32 [ %179, %178 ], [ %140, %138 ], [ %73, %71 ], [ %91, %84 ], [ %102, %105 ], [ %143, %157 ], [ %182, %180 ], [ %177, %167 ] ret i32 %184 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @cursorOwnsBtShared(ptr noundef) local_unnamed_addr #1 declare i32 @releasePageNotNull(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3BtreeClearCursor(ptr noundef) local_unnamed_addr #1 declare i32 @getAndInitPage(i32 noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SQLITE_CORRUPT_PAGE(ptr noundef) local_unnamed_addr #1 declare i32 @get4byte(ptr noundef) local_unnamed_addr #1 declare i32 @moveToChild(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_15__", !11, i64 0, !7, i64 8, !11, i64 16, !7, i64 24, !7, i64 28, !11, i64 32, !7, i64 40, !14, i64 48, !15, i64 56, !11, i64 64, !7, i64 72, !14, i64 80, !14, i64 88} !14 = !{!"any pointer", !8, i64 0} !15 = !{!"TYPE_13__", !11, i64 0} !16 = !{!13, !7, i64 8} !17 = !{!13, !11, i64 16} !18 = !{!13, !14, i64 48} !19 = !{!13, !14, i64 88} !20 = !{!14, !14, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!13, !7, i64 24} !24 = !{!13, !14, i64 80} !25 = !{!26, !7, i64 0} !26 = !{!"TYPE_12__", !7, i64 0} !27 = !{!13, !7, i64 72} !28 = !{!29, !7, i64 0} !29 = !{!"TYPE_14__", !7, i64 0, !7, i64 4, !11, i64 8, !11, i64 16, !7, i64 24, !14, i64 32, !7, i64 40} !30 = !{!13, !7, i64 28} !31 = !{!29, !7, i64 4} !32 = !{!29, !11, i64 8} !33 = !{!13, !11, i64 32} !34 = !{!13, !7, i64 40} !35 = !{!29, !11, i64 16} !36 = !{!29, !7, i64 40} !37 = !{!29, !14, i64 32} !38 = !{!29, !7, i64 24}
mimikatz_modules_extr_sqlite3_omit.c_moveToRoot
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nls/extr_nls_cp936.c_char2uni.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nls/extr_nls_cp936.c_char2uni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENAMETOOLONG = dso_local local_unnamed_addr global i32 0, align 4 @page_charset2uni = dso_local local_unnamed_addr global ptr null, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @char2uni], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @char2uni(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = icmp slt i32 %1, 1 br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %37 8: ; preds = %3 %9 = icmp eq i32 %1, 1 %10 = load i8, ptr %0, align 1, !tbaa !9 br i1 %9, label %11, label %15 11: ; preds = %8 %12 = icmp eq i8 %10, -128 %13 = zext i8 %10 to i32 %14 = select i1 %12, i32 8364, i32 %13 store i32 %14, ptr %2, align 4, !tbaa !5 br label %37 15: ; preds = %8 %16 = getelementptr inbounds i8, ptr %0, i64 1 %17 = load i8, ptr %16, align 1, !tbaa !9 %18 = load ptr, ptr @page_charset2uni, align 8, !tbaa !10 %19 = zext i8 %10 to i64 %20 = getelementptr inbounds ptr, ptr %18, i64 %19 %21 = load ptr, ptr %20, align 8, !tbaa !10 %22 = icmp ne ptr %21, null %23 = icmp ne i8 %17, 0 %24 = select i1 %22, i1 %23, i1 false br i1 %24, label %25, label %33 25: ; preds = %15 %26 = zext i8 %17 to i64 %27 = getelementptr inbounds i32, ptr %21, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !5 store i32 %28, ptr %2, align 4, !tbaa !5 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %25 %31 = load i32, ptr @EINVAL, align 4, !tbaa !5 %32 = sub nsw i32 0, %31 br label %37 33: ; preds = %15 %34 = icmp eq i8 %10, -128 %35 = zext i8 %10 to i32 %36 = select i1 %34, i32 8364, i32 %35 store i32 %36, ptr %2, align 4, !tbaa !5 br label %37 37: ; preds = %33, %25, %30, %11, %5 %38 = phi i32 [ %7, %5 ], [ 1, %11 ], [ %32, %30 ], [ 1, %33 ], [ 2, %25 ] ret i32 %38 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nls/extr_nls_cp936.c_char2uni.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nls/extr_nls_cp936.c_char2uni.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENAMETOOLONG = common local_unnamed_addr global i32 0, align 4 @page_charset2uni = common local_unnamed_addr global ptr null, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @char2uni], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @char2uni(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = icmp slt i32 %1, 1 br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %37 8: ; preds = %3 %9 = icmp eq i32 %1, 1 %10 = load i8, ptr %0, align 1, !tbaa !10 br i1 %9, label %11, label %15 11: ; preds = %8 %12 = icmp eq i8 %10, -128 %13 = zext i8 %10 to i32 %14 = select i1 %12, i32 8364, i32 %13 store i32 %14, ptr %2, align 4, !tbaa !6 br label %37 15: ; preds = %8 %16 = getelementptr inbounds i8, ptr %0, i64 1 %17 = load i8, ptr %16, align 1, !tbaa !10 %18 = load ptr, ptr @page_charset2uni, align 8, !tbaa !11 %19 = zext i8 %10 to i64 %20 = getelementptr inbounds ptr, ptr %18, i64 %19 %21 = load ptr, ptr %20, align 8, !tbaa !11 %22 = icmp ne ptr %21, null %23 = icmp ne i8 %17, 0 %24 = select i1 %22, i1 %23, i1 false br i1 %24, label %25, label %33 25: ; preds = %15 %26 = zext i8 %17 to i64 %27 = getelementptr inbounds i32, ptr %21, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !6 store i32 %28, ptr %2, align 4, !tbaa !6 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %25 %31 = load i32, ptr @EINVAL, align 4, !tbaa !6 %32 = sub nsw i32 0, %31 br label %37 33: ; preds = %15 %34 = icmp eq i8 %10, -128 %35 = zext i8 %10 to i32 %36 = select i1 %34, i32 8364, i32 %35 store i32 %36, ptr %2, align 4, !tbaa !6 br label %37 37: ; preds = %33, %25, %30, %11, %5 %38 = phi i32 [ %7, %5 ], [ 1, %11 ], [ %32, %30 ], [ 1, %33 ], [ 2, %25 ] ret i32 %38 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_fs_nls_extr_nls_cp936.c_char2uni
; ModuleID = 'AnghaBench/xLua/build/luasocket/extr_udp.c_meth_setoption.c' source_filename = "AnghaBench/xLua/build/luasocket/extr_udp.c_meth_setoption.c" target datalayout = "e-m:e-p270:32:32-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 [9 x i8] c"udp{any}\00", align 1 @optset = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @meth_setoption], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @meth_setoption(ptr noundef %0) #0 { %2 = tail call i32 @auxiliar_checkgroup(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 1) #2 %3 = sext i32 %2 to i64 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr @optset, align 4, !tbaa !5 %6 = tail call i32 @opt_meth_setoption(ptr noundef %0, i32 noundef %5, ptr noundef %4) #2 ret i32 %6 } declare i32 @auxiliar_checkgroup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @opt_meth_setoption(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/xLua/build/luasocket/extr_udp.c_meth_setoption.c' source_filename = "AnghaBench/xLua/build/luasocket/extr_udp.c_meth_setoption.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 [9 x i8] c"udp{any}\00", align 1 @optset = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @meth_setoption], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @meth_setoption(ptr noundef %0) #0 { %2 = tail call i32 @auxiliar_checkgroup(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 1) #2 %3 = sext i32 %2 to i64 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr @optset, align 4, !tbaa !6 %6 = tail call i32 @opt_meth_setoption(ptr noundef %0, i32 noundef %5, ptr noundef %4) #2 ret i32 %6 } declare i32 @auxiliar_checkgroup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @opt_meth_setoption(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
xLua_build_luasocket_extr_udp.c_meth_setoption
; ModuleID = 'AnghaBench/rofi/source/extr_view.c_rofi_view_get_selected_line.c' source_filename = "AnghaBench/rofi/source/extr_view.c_rofi_view_get_selected_line.c" target datalayout = "e-m:e-p270:32:32-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 @rofi_view_get_selected_line(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 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/rofi/source/extr_view.c_rofi_view_get_selected_line.c' source_filename = "AnghaBench/rofi/source/extr_view.c_rofi_view_get_selected_line.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 @rofi_view_get_selected_line(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 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
rofi_source_extr_view.c_rofi_view_get_selected_line
; ModuleID = 'AnghaBench/linux/sound/pci/lola/extr_lola_mixer.c_lola_mixer_set_src_gain.c' source_filename = "AnghaBench/linux/sound/pci/lola/extr_lola_mixer.c_lola_mixer_set_src_gain.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32, ptr } %struct.TYPE_5__ = type { i32, ptr } %struct.lola = type { %struct.TYPE_6__, ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"lola_mixer_set_src_gain (id=%d, gain=%d) enable=%x\0A\00", align 1 @LOLA_VERB_SET_SOURCE_GAIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lola_mixer_set_src_gain], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lola_mixer_set_src_gain(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2, i32 noundef %3) #0 { %5 = load i32, ptr %0, align 8, !tbaa !5 %6 = shl nuw i32 1, %1 %7 = and i32 %5, %6 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load i32, ptr @EINVAL, align 4, !tbaa !12 %11 = sub nsw i32 0, %10 br label %50 12: ; preds = %4 %13 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = tail call i32 @readl(ptr noundef %14) #2 %16 = icmp eq i32 %3, 0 %17 = or i32 %15, %6 %18 = xor i32 %6, -1 %19 = and i32 %15, %18 %20 = select i1 %16, i32 %19, i32 %17 %21 = icmp eq i32 %20, %15 br i1 %21, label %24, label %22 22: ; preds = %12 %23 = zext i32 %1 to i64 br label %32 24: ; preds = %12 %25 = load ptr, ptr %13, align 8, !tbaa !13 %26 = getelementptr inbounds %struct.TYPE_5__, ptr %25, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !14 %28 = zext i32 %1 to i64 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = tail call zeroext i16 @readw(ptr noundef %29) #2 %31 = icmp eq i16 %30, %2 br i1 %31, label %50, label %32 32: ; preds = %22, %24 %33 = phi i64 [ %23, %22 ], [ %28, %24 ] %34 = getelementptr inbounds %struct.lola, ptr %0, i64 0, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !16 %36 = load i32, ptr %35, align 4, !tbaa !17 %37 = tail call i32 @dev_dbg(i32 noundef %36, ptr noundef nonnull @.str, i32 noundef %1, i16 noundef zeroext %2, i32 noundef %20) #2 %38 = load ptr, ptr %13, align 8, !tbaa !13 %39 = getelementptr inbounds %struct.TYPE_5__, ptr %38, i64 0, i32 1 %40 = load ptr, ptr %39, align 8, !tbaa !14 %41 = getelementptr inbounds i32, ptr %40, i64 %33 %42 = tail call i32 @writew(i16 noundef zeroext %2, ptr noundef %41) #2 %43 = load ptr, ptr %13, align 8, !tbaa !13 %44 = tail call i32 @writel(i32 noundef %20, ptr noundef %43) #2 %45 = tail call i32 @lola_codec_flush(ptr noundef nonnull %0) #2 %46 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %47 = load i32, ptr %46, align 4, !tbaa !19 %48 = load i32, ptr @LOLA_VERB_SET_SOURCE_GAIN, align 4, !tbaa !12 %49 = tail call i32 @lola_codec_write(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %48, i32 noundef %1, i32 noundef 0) #2 br label %50 50: ; preds = %24, %32, %9 %51 = phi i32 [ %49, %32 ], [ %11, %9 ], [ 0, %24 ] ret i32 %51 } declare i32 @readl(ptr noundef) local_unnamed_addr #1 declare zeroext i16 @readw(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i16 noundef zeroext, i32 noundef) local_unnamed_addr #1 declare i32 @writew(i16 noundef zeroext, ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lola_codec_flush(ptr noundef) local_unnamed_addr #1 declare i32 @lola_codec_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"lola", !7, i64 0, !11, i64 16} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!6, !11, i64 8} !14 = !{!15, !11, i64 8} !15 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !16 = !{!6, !11, i64 16} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_4__", !8, i64 0} !19 = !{!6, !8, i64 4}
; ModuleID = 'AnghaBench/linux/sound/pci/lola/extr_lola_mixer.c_lola_mixer_set_src_gain.c' source_filename = "AnghaBench/linux/sound/pci/lola/extr_lola_mixer.c_lola_mixer_set_src_gain.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 @.str = private unnamed_addr constant [52 x i8] c"lola_mixer_set_src_gain (id=%d, gain=%d) enable=%x\0A\00", align 1 @LOLA_VERB_SET_SOURCE_GAIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lola_mixer_set_src_gain], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lola_mixer_set_src_gain(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2, i32 noundef %3) #0 { %5 = load i32, ptr %0, align 8, !tbaa !6 %6 = shl nuw i32 1, %1 %7 = and i32 %5, %6 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load i32, ptr @EINVAL, align 4, !tbaa !13 %11 = sub nsw i32 0, %10 br label %50 12: ; preds = %4 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = tail call i32 @readl(ptr noundef %14) #2 %16 = icmp eq i32 %3, 0 %17 = or i32 %15, %6 %18 = xor i32 %6, -1 %19 = and i32 %15, %18 %20 = select i1 %16, i32 %19, i32 %17 %21 = icmp eq i32 %20, %15 br i1 %21, label %24, label %22 22: ; preds = %12 %23 = zext i32 %1 to i64 br label %32 24: ; preds = %12 %25 = load ptr, ptr %13, align 8, !tbaa !14 %26 = getelementptr inbounds i8, ptr %25, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !15 %28 = zext i32 %1 to i64 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = tail call zeroext i16 @readw(ptr noundef %29) #2 %31 = icmp eq i16 %30, %2 br i1 %31, label %50, label %32 32: ; preds = %22, %24 %33 = phi i64 [ %23, %22 ], [ %28, %24 ] %34 = getelementptr inbounds i8, ptr %0, i64 16 %35 = load ptr, ptr %34, align 8, !tbaa !17 %36 = load i32, ptr %35, align 4, !tbaa !18 %37 = tail call i32 @dev_dbg(i32 noundef %36, ptr noundef nonnull @.str, i32 noundef %1, i16 noundef zeroext %2, i32 noundef %20) #2 %38 = load ptr, ptr %13, align 8, !tbaa !14 %39 = getelementptr inbounds i8, ptr %38, i64 8 %40 = load ptr, ptr %39, align 8, !tbaa !15 %41 = getelementptr inbounds i32, ptr %40, i64 %33 %42 = tail call i32 @writew(i16 noundef zeroext %2, ptr noundef %41) #2 %43 = load ptr, ptr %13, align 8, !tbaa !14 %44 = tail call i32 @writel(i32 noundef %20, ptr noundef %43) #2 %45 = tail call i32 @lola_codec_flush(ptr noundef nonnull %0) #2 %46 = getelementptr inbounds i8, ptr %0, i64 4 %47 = load i32, ptr %46, align 4, !tbaa !20 %48 = load i32, ptr @LOLA_VERB_SET_SOURCE_GAIN, align 4, !tbaa !13 %49 = tail call i32 @lola_codec_write(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %48, i32 noundef %1, i32 noundef 0) #2 br label %50 50: ; preds = %24, %32, %9 %51 = phi i32 [ %49, %32 ], [ %11, %9 ], [ 0, %24 ] ret i32 %51 } declare i32 @readl(ptr noundef) local_unnamed_addr #1 declare zeroext i16 @readw(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i16 noundef zeroext, i32 noundef) local_unnamed_addr #1 declare i32 @writew(i16 noundef zeroext, ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lola_codec_flush(ptr noundef) local_unnamed_addr #1 declare i32 @lola_codec_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"lola", !8, i64 0, !12, i64 16} !8 = !{!"TYPE_6__", !9, i64 0, !9, i64 4, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!9, !9, i64 0} !14 = !{!7, !12, i64 8} !15 = !{!16, !12, i64 8} !16 = !{!"TYPE_5__", !9, i64 0, !12, i64 8} !17 = !{!7, !12, i64 16} !18 = !{!19, !9, i64 0} !19 = !{!"TYPE_4__", !9, i64 0} !20 = !{!7, !9, i64 4}
linux_sound_pci_lola_extr_lola_mixer.c_lola_mixer_set_src_gain
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_pxa2xx_palmld.c_palmld_pcmcia_configure_socket.c' source_filename = "AnghaBench/linux/drivers/pcmcia/extr_pxa2xx_palmld.c_palmld_pcmcia_configure_socket.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GPIO_NR_PALMLD_PCMCIA_POWER = dso_local local_unnamed_addr global i32 0, align 4 @GPIO_NR_PALMLD_PCMCIA_RESET = dso_local local_unnamed_addr global i32 0, align 4 @SS_RESET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @palmld_pcmcia_configure_socket], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @palmld_pcmcia_configure_socket(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @GPIO_NR_PALMLD_PCMCIA_POWER, align 4, !tbaa !5 %4 = tail call i32 @gpio_set_value(i32 noundef %3, i32 noundef 1) #2 %5 = load i32, ptr @GPIO_NR_PALMLD_PCMCIA_RESET, align 4, !tbaa !5 %6 = load i32, ptr %1, align 4, !tbaa !9 %7 = load i32, ptr @SS_RESET, align 4, !tbaa !5 %8 = and i32 %7, %6 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @gpio_set_value(i32 noundef %5, i32 noundef %10) #2 ret i32 0 } declare i32 @gpio_set_value(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_pxa2xx_palmld.c_palmld_pcmcia_configure_socket.c' source_filename = "AnghaBench/linux/drivers/pcmcia/extr_pxa2xx_palmld.c_palmld_pcmcia_configure_socket.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GPIO_NR_PALMLD_PCMCIA_POWER = common local_unnamed_addr global i32 0, align 4 @GPIO_NR_PALMLD_PCMCIA_RESET = common local_unnamed_addr global i32 0, align 4 @SS_RESET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @palmld_pcmcia_configure_socket], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @palmld_pcmcia_configure_socket(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @GPIO_NR_PALMLD_PCMCIA_POWER, align 4, !tbaa !6 %4 = tail call i32 @gpio_set_value(i32 noundef %3, i32 noundef 1) #2 %5 = load i32, ptr @GPIO_NR_PALMLD_PCMCIA_RESET, align 4, !tbaa !6 %6 = load i32, ptr %1, align 4, !tbaa !10 %7 = load i32, ptr @SS_RESET, align 4, !tbaa !6 %8 = and i32 %7, %6 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @gpio_set_value(i32 noundef %5, i32 noundef %10) #2 ret i32 0 } declare i32 @gpio_set_value(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_3__", !7, i64 0}
linux_drivers_pcmcia_extr_pxa2xx_palmld.c_palmld_pcmcia_configure_socket
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_process_vendor_specific.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_process_vendor_specific.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qla2x00_process_vendor_specific], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qla2x00_process_vendor_specific(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load i32, ptr %3, align 4, !tbaa !14 switch i32 %4, label %35 [ i32 135, label %5 i32 141, label %7 i32 140, label %9 i32 142, label %11 i32 136, label %13 i32 138, label %15 i32 134, label %17 i32 130, label %19 i32 131, label %21 i32 133, label %23 i32 129, label %25 i32 128, label %27 i32 132, label %29 i32 139, label %31 i32 137, label %33 ] 5: ; preds = %1 %6 = tail call i32 @qla2x00_process_loopback(ptr noundef nonnull %0) #2 br label %38 7: ; preds = %1 %8 = tail call i32 @qla84xx_reset(ptr noundef nonnull %0) #2 br label %38 9: ; preds = %1 %10 = tail call i32 @qla84xx_updatefw(ptr noundef nonnull %0) #2 br label %38 11: ; preds = %1 %12 = tail call i32 @qla84xx_mgmt_cmd(ptr noundef nonnull %0) #2 br label %38 13: ; preds = %1 %14 = tail call i32 @qla24xx_iidma(ptr noundef nonnull %0) #2 br label %38 15: ; preds = %1 %16 = tail call i32 @qla24xx_proc_fcp_prio_cfg_cmd(ptr noundef nonnull %0) #2 br label %38 17: ; preds = %1 %18 = tail call i32 @qla2x00_read_optrom(ptr noundef nonnull %0) #2 br label %38 19: ; preds = %1 %20 = tail call i32 @qla2x00_update_optrom(ptr noundef nonnull %0) #2 br label %38 21: ; preds = %1 %22 = tail call i32 @qla2x00_update_fru_versions(ptr noundef nonnull %0) #2 br label %38 23: ; preds = %1 %24 = tail call i32 @qla2x00_read_fru_status(ptr noundef nonnull %0) #2 br label %38 25: ; preds = %1 %26 = tail call i32 @qla2x00_write_fru_status(ptr noundef nonnull %0) #2 br label %38 27: ; preds = %1 %28 = tail call i32 @qla2x00_write_i2c(ptr noundef nonnull %0) #2 br label %38 29: ; preds = %1 %30 = tail call i32 @qla2x00_read_i2c(ptr noundef nonnull %0) #2 br label %38 31: ; preds = %1 %32 = tail call i32 @qla24xx_process_bidir_cmd(ptr noundef nonnull %0) #2 br label %38 33: ; preds = %1 %34 = tail call i32 @qlafx00_mgmt_cmd(ptr noundef nonnull %0) #2 br label %38 35: ; preds = %1 %36 = load i32, ptr @ENOSYS, align 4, !tbaa !14 %37 = sub nsw i32 0, %36 br label %38 38: ; preds = %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5 %39 = phi i32 [ %37, %35 ], [ %34, %33 ], [ %32, %31 ], [ %30, %29 ], [ %28, %27 ], [ %26, %25 ], [ %24, %23 ], [ %22, %21 ], [ %20, %19 ], [ %18, %17 ], [ %16, %15 ], [ %14, %13 ], [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ %6, %5 ] ret i32 %39 } declare i32 @qla2x00_process_loopback(ptr noundef) local_unnamed_addr #1 declare i32 @qla84xx_reset(ptr noundef) local_unnamed_addr #1 declare i32 @qla84xx_updatefw(ptr noundef) local_unnamed_addr #1 declare i32 @qla84xx_mgmt_cmd(ptr noundef) local_unnamed_addr #1 declare i32 @qla24xx_iidma(ptr noundef) local_unnamed_addr #1 declare i32 @qla24xx_proc_fcp_prio_cfg_cmd(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_read_optrom(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_update_optrom(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_update_fru_versions(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_read_fru_status(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_write_fru_status(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_write_i2c(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_read_i2c(ptr noundef) local_unnamed_addr #1 declare i32 @qla24xx_process_bidir_cmd(ptr noundef) local_unnamed_addr #1 declare i32 @qlafx00_mgmt_cmd(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 = !{!"fc_bsg_job", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"TYPE_4__", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_process_vendor_specific.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_bsg.c_qla2x00_process_vendor_specific.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOSYS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qla2x00_process_vendor_specific], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @qla2x00_process_vendor_specific(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load i32, ptr %3, align 4, !tbaa !15 switch i32 %4, label %35 [ i32 135, label %5 i32 141, label %7 i32 140, label %9 i32 142, label %11 i32 136, label %13 i32 138, label %15 i32 134, label %17 i32 130, label %19 i32 131, label %21 i32 133, label %23 i32 129, label %25 i32 128, label %27 i32 132, label %29 i32 139, label %31 i32 137, label %33 ] 5: ; preds = %1 %6 = tail call i32 @qla2x00_process_loopback(ptr noundef nonnull %0) #2 br label %38 7: ; preds = %1 %8 = tail call i32 @qla84xx_reset(ptr noundef nonnull %0) #2 br label %38 9: ; preds = %1 %10 = tail call i32 @qla84xx_updatefw(ptr noundef nonnull %0) #2 br label %38 11: ; preds = %1 %12 = tail call i32 @qla84xx_mgmt_cmd(ptr noundef nonnull %0) #2 br label %38 13: ; preds = %1 %14 = tail call i32 @qla24xx_iidma(ptr noundef nonnull %0) #2 br label %38 15: ; preds = %1 %16 = tail call i32 @qla24xx_proc_fcp_prio_cfg_cmd(ptr noundef nonnull %0) #2 br label %38 17: ; preds = %1 %18 = tail call i32 @qla2x00_read_optrom(ptr noundef nonnull %0) #2 br label %38 19: ; preds = %1 %20 = tail call i32 @qla2x00_update_optrom(ptr noundef nonnull %0) #2 br label %38 21: ; preds = %1 %22 = tail call i32 @qla2x00_update_fru_versions(ptr noundef nonnull %0) #2 br label %38 23: ; preds = %1 %24 = tail call i32 @qla2x00_read_fru_status(ptr noundef nonnull %0) #2 br label %38 25: ; preds = %1 %26 = tail call i32 @qla2x00_write_fru_status(ptr noundef nonnull %0) #2 br label %38 27: ; preds = %1 %28 = tail call i32 @qla2x00_write_i2c(ptr noundef nonnull %0) #2 br label %38 29: ; preds = %1 %30 = tail call i32 @qla2x00_read_i2c(ptr noundef nonnull %0) #2 br label %38 31: ; preds = %1 %32 = tail call i32 @qla24xx_process_bidir_cmd(ptr noundef nonnull %0) #2 br label %38 33: ; preds = %1 %34 = tail call i32 @qlafx00_mgmt_cmd(ptr noundef nonnull %0) #2 br label %38 35: ; preds = %1 %36 = load i32, ptr @ENOSYS, align 4, !tbaa !15 %37 = sub nsw i32 0, %36 br label %38 38: ; preds = %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5 %39 = phi i32 [ %37, %35 ], [ %34, %33 ], [ %32, %31 ], [ %30, %29 ], [ %28, %27 ], [ %26, %25 ], [ %24, %23 ], [ %22, %21 ], [ %20, %19 ], [ %18, %17 ], [ %16, %15 ], [ %14, %13 ], [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ %6, %5 ] ret i32 %39 } declare i32 @qla2x00_process_loopback(ptr noundef) local_unnamed_addr #1 declare i32 @qla84xx_reset(ptr noundef) local_unnamed_addr #1 declare i32 @qla84xx_updatefw(ptr noundef) local_unnamed_addr #1 declare i32 @qla84xx_mgmt_cmd(ptr noundef) local_unnamed_addr #1 declare i32 @qla24xx_iidma(ptr noundef) local_unnamed_addr #1 declare i32 @qla24xx_proc_fcp_prio_cfg_cmd(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_read_optrom(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_update_optrom(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_update_fru_versions(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_read_fru_status(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_write_fru_status(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_write_i2c(ptr noundef) local_unnamed_addr #1 declare i32 @qla2x00_read_i2c(ptr noundef) local_unnamed_addr #1 declare i32 @qla24xx_process_bidir_cmd(ptr noundef) local_unnamed_addr #1 declare i32 @qlafx00_mgmt_cmd(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 = !{!"fc_bsg_job", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"TYPE_4__", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0}
fastsocket_kernel_drivers_scsi_qla2xxx_extr_qla_bsg.c_qla2x00_process_vendor_specific
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_w100fb.c_w100_init_clocks.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_w100fb.c_w100_init_clocks.c" target datalayout = "e-m:e-p270:32:32-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.TYPE_5__ } %struct.TYPE_5__ = type { i64, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64, i32, i32 } %struct.w100fb_par = type { i64, ptr } %struct.w100_mode = type { i64, i64, i32, i64, i64 } @CLK_SRC_PLL = dso_local local_unnamed_addr global i64 0, align 8 @w100_pwr_state = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @remapped_regs = dso_local local_unnamed_addr global i64 0, align 8 @mmSCLK_CNTL = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @w100_init_clocks], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @w100_init_clocks(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.w100fb_par, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %3, align 8, !tbaa !11 %5 = load i64, ptr @CLK_SRC_PLL, align 8, !tbaa !14 %6 = icmp eq i64 %4, %5 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.w100_mode, ptr %3, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !15 %10 = icmp eq i64 %9, %5 br i1 %10, label %11, label %26 11: ; preds = %7, %1 %12 = load i64, ptr %0, align 8, !tbaa !16 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %11 %15 = getelementptr inbounds %struct.w100_mode, ptr %3, i64 0, i32 4 %16 = load i64, ptr %15, align 8, !tbaa !17 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %14, %11 %19 = getelementptr inbounds %struct.w100_mode, ptr %3, i64 0, i32 3 %20 = load i64, ptr %19, align 8, !tbaa !18 br label %21 21: ; preds = %14, %18 %22 = phi i64 [ %20, %18 ], [ %16, %14 ] %23 = tail call i32 @w100_set_pll_freq(ptr noundef nonnull %0, i64 noundef %22) #2 %24 = getelementptr inbounds %struct.w100_mode, ptr %3, i64 0, i32 1 %25 = load i64, ptr %24, align 8, !tbaa !15 br label %26 26: ; preds = %21, %7 %27 = phi i64 [ %25, %21 ], [ %9, %7 ] store i64 %27, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @w100_pwr_state, i64 0, i32 0, i32 1), align 8, !tbaa !19 %28 = getelementptr inbounds %struct.w100_mode, ptr %3, i64 0, i32 2 %29 = load i32, ptr %28, align 8, !tbaa !23 store i32 %29, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @w100_pwr_state, i64 0, i32 0, i32 1, i32 2), align 4, !tbaa !24 store i32 %29, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @w100_pwr_state, i64 0, i32 0, i32 1, i32 1), align 8, !tbaa !25 %30 = load i64, ptr @w100_pwr_state, align 8, !tbaa !26 %31 = trunc i64 %30 to i32 %32 = load i64, ptr @remapped_regs, align 8, !tbaa !14 %33 = load i64, ptr @mmSCLK_CNTL, align 8, !tbaa !14 %34 = add nsw i64 %33, %32 %35 = tail call i32 @writel(i32 noundef %31, i64 noundef %34) #2 ret void } declare i32 @w100_set_pll_freq(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"w100fb_par", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"w100_mode", !7, i64 0, !7, i64 8, !13, i64 16, !7, i64 24, !7, i64 32} !13 = !{!"int", !8, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!12, !7, i64 8} !16 = !{!6, !7, i64 0} !17 = !{!12, !7, i64 32} !18 = !{!12, !7, i64 24} !19 = !{!20, !7, i64 8} !20 = !{!"TYPE_6__", !21, i64 0} !21 = !{!"TYPE_5__", !7, i64 0, !22, i64 8} !22 = !{!"TYPE_4__", !7, i64 0, !13, i64 8, !13, i64 12} !23 = !{!12, !13, i64 16} !24 = !{!20, !13, i64 20} !25 = !{!20, !13, i64 16} !26 = !{!20, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_w100fb.c_w100_init_clocks.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_w100fb.c_w100_init_clocks.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.TYPE_5__ } %struct.TYPE_5__ = type { i64, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64, i32, i32 } @CLK_SRC_PLL = common local_unnamed_addr global i64 0, align 8 @w100_pwr_state = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @remapped_regs = common local_unnamed_addr global i64 0, align 8 @mmSCLK_CNTL = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @w100_init_clocks], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @w100_init_clocks(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %3, align 8, !tbaa !12 %5 = load i64, ptr @CLK_SRC_PLL, align 8, !tbaa !15 %6 = icmp eq i64 %4, %5 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %3, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !16 %10 = icmp eq i64 %9, %5 br i1 %10, label %11, label %26 11: ; preds = %7, %1 %12 = load i64, ptr %0, align 8, !tbaa !17 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %3, i64 32 %16 = load i64, ptr %15, align 8, !tbaa !18 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %14, %11 %19 = getelementptr inbounds i8, ptr %3, i64 24 %20 = load i64, ptr %19, align 8, !tbaa !19 br label %21 21: ; preds = %14, %18 %22 = phi i64 [ %20, %18 ], [ %16, %14 ] %23 = tail call i32 @w100_set_pll_freq(ptr noundef nonnull %0, i64 noundef %22) #2 %24 = getelementptr inbounds i8, ptr %3, i64 8 %25 = load i64, ptr %24, align 8, !tbaa !16 br label %26 26: ; preds = %21, %7 %27 = phi i64 [ %25, %21 ], [ %9, %7 ] store i64 %27, ptr getelementptr inbounds (i8, ptr @w100_pwr_state, i64 8), align 8, !tbaa !20 %28 = getelementptr inbounds i8, ptr %3, i64 16 %29 = load i32, ptr %28, align 8, !tbaa !24 store i32 %29, ptr getelementptr inbounds (i8, ptr @w100_pwr_state, i64 20), align 4, !tbaa !25 store i32 %29, ptr getelementptr inbounds (i8, ptr @w100_pwr_state, i64 16), align 8, !tbaa !26 %30 = load i64, ptr @w100_pwr_state, align 8, !tbaa !27 %31 = trunc i64 %30 to i32 %32 = load i64, ptr @remapped_regs, align 8, !tbaa !15 %33 = load i64, ptr @mmSCLK_CNTL, align 8, !tbaa !15 %34 = add nsw i64 %33, %32 %35 = tail call i32 @writel(i32 noundef %31, i64 noundef %34) #2 ret void } declare i32 @w100_set_pll_freq(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"w100fb_par", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"w100_mode", !8, i64 0, !8, i64 8, !14, i64 16, !8, i64 24, !8, i64 32} !14 = !{!"int", !9, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!13, !8, i64 8} !17 = !{!7, !8, i64 0} !18 = !{!13, !8, i64 32} !19 = !{!13, !8, i64 24} !20 = !{!21, !8, i64 8} !21 = !{!"TYPE_6__", !22, i64 0} !22 = !{!"TYPE_5__", !8, i64 0, !23, i64 8} !23 = !{!"TYPE_4__", !8, i64 0, !14, i64 8, !14, i64 12} !24 = !{!13, !14, i64 16} !25 = !{!21, !14, i64 20} !26 = !{!21, !14, i64 16} !27 = !{!21, !8, i64 0}
fastsocket_kernel_drivers_video_extr_w100fb.c_w100_init_clocks