IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_conntrack_ftp.c_try_eprt.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nf_conntrack_ftp.c_try_eprt.c" target datalayout = "e-m:e-p270:32:32-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.nf_conntrack_man = type { i64, %struct.TYPE_6__, %struct.TYPE_4__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } %struct.TYPE_4__ = type { i64, i32 } @.str = private unnamed_addr constant [17 x i8] c"EPRT: too short\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"try_eprt: invalid delimiter.\0A\00", align 1 @PF_INET = dso_local local_unnamed_addr global i64 0, align 8 @PF_INET6 = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [32 x i8] c"EPRT: invalid protocol number.\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"EPRT: Got %c%c%c\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"EPRT: Got IP address!\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @try_eprt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @try_eprt(ptr noundef %0, i64 noundef %1, ptr noundef %2, i8 signext %3, ptr nocapture readnone %4) #0 { %6 = alloca [4 x i32], align 16 %7 = icmp ult i64 %1, 4 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str) #4 br label %86 10: ; preds = %5 %11 = load i8, ptr %0, align 1, !tbaa !5 %12 = tail call i64 @isdigit(i8 noundef signext %11) #4 %13 = icmp ne i64 %12, 0 %14 = sext i8 %11 to i32 %15 = add i8 %11, -127 %16 = icmp ult i8 %15, -94 %17 = or i1 %13, %16 br i1 %17, label %22, label %18 18: ; preds = %10 %19 = getelementptr inbounds i8, ptr %0, i64 2 %20 = load i8, ptr %19, align 1, !tbaa !5 %21 = icmp eq i8 %20, %11 br i1 %21, label %24, label %22 22: ; preds = %18, %10 %23 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.1) #4 br label %86 24: ; preds = %18 %25 = load i64, ptr %2, align 8, !tbaa !8 %26 = load i64, ptr @PF_INET, align 8, !tbaa !15 %27 = icmp eq i64 %25, %26 br i1 %27, label %28, label %32 28: ; preds = %24 %29 = getelementptr inbounds i8, ptr %0, i64 1 %30 = load i8, ptr %29, align 1, !tbaa !5 %31 = icmp eq i8 %30, 49 br i1 %31, label %32, label %41 32: ; preds = %28, %24 %33 = load i64, ptr @PF_INET6, align 8, !tbaa !15 %34 = icmp eq i64 %25, %33 %35 = getelementptr inbounds i8, ptr %0, i64 1 %36 = load i8, ptr %35, align 1, !tbaa !5 br i1 %34, label %39, label %37 37: ; preds = %32 %38 = sext i8 %36 to i32 br label %43 39: ; preds = %32 %40 = icmp eq i8 %36, 50 br i1 %40, label %43, label %41 41: ; preds = %39, %28 %42 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.2) #4 br label %86 43: ; preds = %37, %39 %44 = phi i32 [ %38, %37 ], [ 50, %39 ] %45 = getelementptr inbounds i8, ptr %0, i64 1 %46 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.3, i32 noundef %14, i32 noundef %44, i32 noundef %14) #4 %47 = load i8, ptr %45, align 1, !tbaa !5 %48 = icmp eq i8 %47, 49 br i1 %48, label %49, label %71 49: ; preds = %43 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 %50 = getelementptr inbounds i8, ptr %0, i64 3 %51 = add i64 %1, -3 %52 = call i32 @try_number(ptr noundef nonnull %50, i64 noundef %51, ptr noundef nonnull %6, i32 noundef 4, i8 noundef signext 46, i8 noundef signext %11) #4 %53 = icmp eq i32 %52, 0 br i1 %53, label %70, label %54 54: ; preds = %49 %55 = load i32, ptr %6, align 16, !tbaa !16 %56 = shl i32 %55, 24 %57 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 1 %58 = load i32, ptr %57, align 4, !tbaa !16 %59 = shl i32 %58, 16 %60 = or i32 %59, %56 %61 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 2 %62 = load i32, ptr %61, align 8, !tbaa !16 %63 = shl i32 %62, 8 %64 = or i32 %60, %63 %65 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 3 %66 = load i32, ptr %65, align 4, !tbaa !16 %67 = or i32 %64, %66 %68 = call i32 @htonl(i32 noundef %67) %69 = getelementptr inbounds %struct.nf_conntrack_man, ptr %2, i64 0, i32 2, i32 1 store i32 %68, ptr %69, align 8, !tbaa !17 br label %70 70: ; preds = %54, %49 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 br label %78 71: ; preds = %43 %72 = getelementptr inbounds i8, ptr %0, i64 3 %73 = add i64 %1, -3 %74 = getelementptr inbounds %struct.nf_conntrack_man, ptr %2, i64 0, i32 2 %75 = load i64, ptr %74, align 8, !tbaa !18 %76 = inttoptr i64 %75 to ptr %77 = tail call i32 @get_ipv6_addr(ptr noundef nonnull %72, i64 noundef %73, ptr noundef %76, i8 noundef signext %11) #4 br label %78 78: ; preds = %71, %70 %79 = phi i32 [ %52, %70 ], [ %77, %71 ] %80 = icmp eq i32 %79, 0 br i1 %80, label %86, label %81 81: ; preds = %78 %82 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.4) #4 %83 = add nsw i32 %79, 4 %84 = getelementptr inbounds %struct.nf_conntrack_man, ptr %2, i64 0, i32 1 %85 = call i32 @get_port(ptr noundef nonnull %0, i32 noundef %83, i64 noundef %1, i8 noundef signext %11, ptr noundef nonnull %84) #4 br label %86 86: ; preds = %78, %81, %41, %22, %8 %87 = phi i32 [ 0, %8 ], [ 0, %22 ], [ 0, %41 ], [ %85, %81 ], [ 0, %78 ] ret i32 %87 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pr_debug(ptr noundef, ...) local_unnamed_addr #2 declare i64 @isdigit(i8 noundef signext) local_unnamed_addr #2 declare i32 @try_number(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i8 noundef signext, i8 noundef signext) local_unnamed_addr #2 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @htonl(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @get_ipv6_addr(ptr noundef, i64 noundef, ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @get_port(ptr noundef, i32 noundef, i64 noundef, i8 noundef signext, 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 = { nofree nosync nounwind memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !10, i64 0} !9 = !{!"nf_conntrack_man", !10, i64 0, !11, i64 8, !14, i64 16} !10 = !{!"long", !6, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !6, i64 0} !14 = !{!"TYPE_4__", !10, i64 0, !13, i64 8} !15 = !{!10, !10, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!9, !13, i64 24} !18 = !{!9, !10, i64 16}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_conntrack_ftp.c_try_eprt.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nf_conntrack_ftp.c_try_eprt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [17 x i8] c"EPRT: too short\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"try_eprt: invalid delimiter.\0A\00", align 1 @PF_INET = common local_unnamed_addr global i64 0, align 8 @PF_INET6 = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [32 x i8] c"EPRT: invalid protocol number.\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"EPRT: Got %c%c%c\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"EPRT: Got IP address!\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @try_eprt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @try_eprt(ptr noundef %0, i64 noundef %1, ptr noundef %2, i8 signext %3, ptr nocapture readnone %4) #0 { %6 = alloca [4 x i32], align 4 %7 = icmp ult i64 %1, 4 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str) #4 br label %85 10: ; preds = %5 %11 = load i8, ptr %0, align 1, !tbaa !6 %12 = tail call i64 @isdigit(i8 noundef signext %11) #4 %13 = icmp ne i64 %12, 0 %14 = sext i8 %11 to i32 %15 = add i8 %11, -127 %16 = icmp ult i8 %15, -94 %17 = or i1 %13, %16 br i1 %17, label %22, label %18 18: ; preds = %10 %19 = getelementptr inbounds i8, ptr %0, i64 2 %20 = load i8, ptr %19, align 1, !tbaa !6 %21 = icmp eq i8 %20, %11 br i1 %21, label %24, label %22 22: ; preds = %18, %10 %23 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.1) #4 br label %85 24: ; preds = %18 %25 = load i64, ptr %2, align 8, !tbaa !9 %26 = load i64, ptr @PF_INET, align 8, !tbaa !16 %27 = icmp eq i64 %25, %26 br i1 %27, label %28, label %32 28: ; preds = %24 %29 = getelementptr inbounds i8, ptr %0, i64 1 %30 = load i8, ptr %29, align 1, !tbaa !6 %31 = icmp eq i8 %30, 49 br i1 %31, label %32, label %41 32: ; preds = %28, %24 %33 = load i64, ptr @PF_INET6, align 8, !tbaa !16 %34 = icmp eq i64 %25, %33 %35 = getelementptr inbounds i8, ptr %0, i64 1 %36 = load i8, ptr %35, align 1, !tbaa !6 br i1 %34, label %39, label %37 37: ; preds = %32 %38 = sext i8 %36 to i32 br label %43 39: ; preds = %32 %40 = icmp eq i8 %36, 50 br i1 %40, label %43, label %41 41: ; preds = %39, %28 %42 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.2) #4 br label %85 43: ; preds = %37, %39 %44 = phi i32 [ %38, %37 ], [ 50, %39 ] %45 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.3, i32 noundef %14, i32 noundef %44, i32 noundef %14) #4 %46 = load i8, ptr %35, align 1, !tbaa !6 %47 = icmp eq i8 %46, 49 br i1 %47, label %48, label %70 48: ; preds = %43 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 %49 = getelementptr inbounds i8, ptr %0, i64 3 %50 = add i64 %1, -3 %51 = call i32 @try_number(ptr noundef nonnull %49, i64 noundef %50, ptr noundef nonnull %6, i32 noundef 4, i8 noundef signext 46, i8 noundef signext %11) #4 %52 = icmp eq i32 %51, 0 br i1 %52, label %69, label %53 53: ; preds = %48 %54 = load i32, ptr %6, align 4, !tbaa !17 %55 = shl i32 %54, 24 %56 = getelementptr inbounds i8, ptr %6, i64 4 %57 = load i32, ptr %56, align 4, !tbaa !17 %58 = shl i32 %57, 16 %59 = or i32 %58, %55 %60 = getelementptr inbounds i8, ptr %6, i64 8 %61 = load i32, ptr %60, align 4, !tbaa !17 %62 = shl i32 %61, 8 %63 = or i32 %59, %62 %64 = getelementptr inbounds i8, ptr %6, i64 12 %65 = load i32, ptr %64, align 4, !tbaa !17 %66 = or i32 %63, %65 %67 = call i32 @htonl(i32 noundef %66) %68 = getelementptr inbounds i8, ptr %2, i64 24 store i32 %67, ptr %68, align 8, !tbaa !18 br label %69 69: ; preds = %53, %48 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 br label %77 70: ; preds = %43 %71 = getelementptr inbounds i8, ptr %0, i64 3 %72 = add i64 %1, -3 %73 = getelementptr inbounds i8, ptr %2, i64 16 %74 = load i64, ptr %73, align 8, !tbaa !19 %75 = inttoptr i64 %74 to ptr %76 = tail call i32 @get_ipv6_addr(ptr noundef nonnull %71, i64 noundef %72, ptr noundef %75, i8 noundef signext %11) #4 br label %77 77: ; preds = %70, %69 %78 = phi i32 [ %51, %69 ], [ %76, %70 ] %79 = icmp eq i32 %78, 0 br i1 %79, label %85, label %80 80: ; preds = %77 %81 = call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.4) #4 %82 = add nsw i32 %78, 4 %83 = getelementptr inbounds i8, ptr %2, i64 8 %84 = call i32 @get_port(ptr noundef nonnull %0, i32 noundef %82, i64 noundef %1, i8 noundef signext %11, ptr noundef nonnull %83) #4 br label %85 85: ; preds = %77, %80, %41, %22, %8 %86 = phi i32 [ 0, %8 ], [ 0, %22 ], [ 0, %41 ], [ %84, %80 ], [ 0, %77 ] ret i32 %86 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pr_debug(ptr noundef, ...) local_unnamed_addr #2 declare i64 @isdigit(i8 noundef signext) local_unnamed_addr #2 declare i32 @try_number(ptr noundef, i64 noundef, ptr noundef, i32 noundef, i8 noundef signext, i8 noundef signext) local_unnamed_addr #2 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @htonl(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @get_ipv6_addr(ptr noundef, i64 noundef, ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @get_port(ptr noundef, i32 noundef, i64 noundef, i8 noundef signext, 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 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"nf_conntrack_man", !11, i64 0, !12, i64 8, !15, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"int", !7, i64 0} !15 = !{!"TYPE_4__", !11, i64 0, !14, i64 8} !16 = !{!11, !11, i64 0} !17 = !{!14, !14, i64 0} !18 = !{!10, !14, i64 24} !19 = !{!10, !11, i64 16}
linux_net_netfilter_extr_nf_conntrack_ftp.c_try_eprt
; ModuleID = 'AnghaBench/linux/drivers/scsi/libfc/extr_fc_rport.c_fc_rport_recv_flogi_req.c' source_filename = "AnghaBench/linux/drivers/scsi/libfc/extr_fc_rport.c_fc_rport_recv_flogi_req.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fc_seq_els_data = type { ptr, ptr } %struct.fc_lport = type { i64, %struct.TYPE_3__, i32 } %struct.TYPE_3__ = type { ptr } %struct.fc_rport_priv = type { i32, i32, i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } @.str = private unnamed_addr constant [24 x i8] c"Received FLOGI request\0A\00", align 1 @ELS_RJT_UNSUP = dso_local local_unnamed_addr global ptr null, align 8 @ELS_EXPL_NONE = dso_local local_unnamed_addr global ptr null, align 8 @ELS_RJT_LOGIC = dso_local local_unnamed_addr global ptr null, align 8 @ELS_EXPL_INV_LEN = dso_local local_unnamed_addr global ptr null, align 8 @ELS_RJT_FIP = dso_local local_unnamed_addr global ptr null, align 8 @ELS_EXPL_NOT_NEIGHBOR = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [28 x i8] c"Received FLOGI in %s state\0A\00", align 1 @RPORT_EV_LOGO = dso_local local_unnamed_addr global i32 0, align 4 @ELS_RJT_BUSY = dso_local local_unnamed_addr global ptr null, align 8 @ELS_LS_ACC = dso_local local_unnamed_addr global i32 0, align 4 @FC_RCTL_ELS_REP = dso_local local_unnamed_addr global i32 0, align 4 @fc_rport_destroy = dso_local local_unnamed_addr global i32 0, align 4 @ELS_LS_RJT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fc_rport_recv_flogi_req], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fc_rport_recv_flogi_req(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.fc_seq_els_data, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = tail call i32 @fc_frame_sid(ptr noundef %1) #3 %5 = tail call i32 @FC_RPORT_ID_DBG(ptr noundef %0, i32 noundef %4, ptr noundef nonnull @.str) #3 %6 = getelementptr inbounds %struct.fc_lport, ptr %0, i64 0, i32 2 %7 = load i32, ptr %6, align 8, !tbaa !5 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr @ELS_RJT_UNSUP, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.fc_seq_els_data, ptr %3, i64 0, i32 1 store ptr %10, ptr %11, align 8, !tbaa !14 %12 = load ptr, ptr @ELS_EXPL_NONE, align 8, !tbaa !13 store ptr %12, ptr %3, align 8, !tbaa !16 br label %86 13: ; preds = %2 %14 = tail call ptr @fc_frame_payload_get(ptr noundef %1, i32 noundef 4) #3 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %13 %17 = load ptr, ptr @ELS_RJT_LOGIC, align 8, !tbaa !13 %18 = getelementptr inbounds %struct.fc_seq_els_data, ptr %3, i64 0, i32 1 store ptr %17, ptr %18, align 8, !tbaa !14 %19 = load ptr, ptr @ELS_EXPL_INV_LEN, align 8, !tbaa !13 store ptr %19, ptr %3, align 8, !tbaa !16 br label %86 20: ; preds = %13 %21 = tail call ptr @fc_rport_lookup(ptr noundef nonnull %0, i32 noundef %4) #3 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %20 %24 = load ptr, ptr @ELS_RJT_FIP, align 8, !tbaa !13 %25 = getelementptr inbounds %struct.fc_seq_els_data, ptr %3, i64 0, i32 1 store ptr %24, ptr %25, align 8, !tbaa !14 %26 = load ptr, ptr @ELS_EXPL_NOT_NEIGHBOR, align 8, !tbaa !13 store ptr %26, ptr %3, align 8, !tbaa !16 br label %86 27: ; preds = %20 %28 = getelementptr inbounds %struct.fc_rport_priv, ptr %21, i64 0, i32 2 %29 = tail call i32 @mutex_lock(ptr noundef nonnull %28) #3 %30 = tail call i32 @fc_rport_state(ptr noundef nonnull %21) #3 %31 = tail call i32 @FC_RPORT_DBG(ptr noundef nonnull %21, ptr noundef nonnull @.str.1, i32 noundef %30) #3 %32 = load i32, ptr %21, align 8, !tbaa !17 switch i32 %32, label %45 [ i32 136, label %38 i32 135, label %33 i32 129, label %38 i32 128, label %38 i32 130, label %38 ] 33: ; preds = %27 %34 = tail call i32 @mutex_unlock(ptr noundef nonnull %28) #3 %35 = load ptr, ptr @ELS_RJT_FIP, align 8, !tbaa !13 %36 = getelementptr inbounds %struct.fc_seq_els_data, ptr %3, i64 0, i32 1 store ptr %35, ptr %36, align 8, !tbaa !14 %37 = load ptr, ptr @ELS_EXPL_NOT_NEIGHBOR, align 8, !tbaa !13 store ptr %37, ptr %3, align 8, !tbaa !16 br label %82 38: ; preds = %27, %27, %27, %27 %39 = load i32, ptr @RPORT_EV_LOGO, align 4, !tbaa !20 %40 = tail call i32 @fc_rport_enter_delete(ptr noundef nonnull %21, i32 noundef %39) #3 %41 = tail call i32 @mutex_unlock(ptr noundef nonnull %28) #3 %42 = load ptr, ptr @ELS_RJT_BUSY, align 8, !tbaa !13 %43 = getelementptr inbounds %struct.fc_seq_els_data, ptr %3, i64 0, i32 1 store ptr %42, ptr %43, align 8, !tbaa !14 %44 = load ptr, ptr @ELS_EXPL_NONE, align 8, !tbaa !13 store ptr %44, ptr %3, align 8, !tbaa !16 br label %82 45: ; preds = %27 %46 = tail call i64 @fc_rport_login_complete(ptr noundef nonnull %21, ptr noundef %1) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %53, label %48 48: ; preds = %45 %49 = tail call i32 @mutex_unlock(ptr noundef nonnull %28) #3 %50 = load ptr, ptr @ELS_RJT_LOGIC, align 8, !tbaa !13 %51 = getelementptr inbounds %struct.fc_seq_els_data, ptr %3, i64 0, i32 1 store ptr %50, ptr %51, align 8, !tbaa !14 %52 = load ptr, ptr @ELS_EXPL_NONE, align 8, !tbaa !13 store ptr %52, ptr %3, align 8, !tbaa !16 br label %82 53: ; preds = %45 %54 = tail call ptr @fc_frame_alloc(ptr noundef nonnull %0, i32 noundef 4) #3 %55 = icmp eq ptr %54, null br i1 %55, label %76, label %56 56: ; preds = %53 %57 = tail call i32 @fc_flogi_fill(ptr noundef nonnull %0, ptr noundef nonnull %54) #3 %58 = tail call ptr @fc_frame_payload_get(ptr noundef nonnull %54, i32 noundef 4) #3 %59 = load i32, ptr @ELS_LS_ACC, align 4, !tbaa !20 store i32 %59, ptr %58, align 4, !tbaa !21 %60 = load i32, ptr @FC_RCTL_ELS_REP, align 4, !tbaa !20 %61 = tail call i32 @fc_fill_reply_hdr(ptr noundef nonnull %54, ptr noundef %1, i32 noundef %60, i32 noundef 0) #3 %62 = getelementptr inbounds %struct.fc_lport, ptr %0, i64 0, i32 1 %63 = load ptr, ptr %62, align 8, !tbaa !23 %64 = tail call i32 %63(ptr noundef nonnull %0, ptr noundef nonnull %54) #3 %65 = load i32, ptr %21, align 8, !tbaa !17 %66 = icmp eq i32 %65, 134 br i1 %66, label %76, label %67 67: ; preds = %56 %68 = getelementptr inbounds %struct.fc_rport_priv, ptr %21, i64 0, i32 3 %69 = load i64, ptr %68, align 8, !tbaa !24 %70 = load i64, ptr %0, align 8, !tbaa !25 %71 = icmp slt i64 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %67 %73 = tail call i32 @fc_rport_enter_plogi(ptr noundef nonnull %21) #3 br label %76 74: ; preds = %67 %75 = tail call i32 @fc_rport_state_enter(ptr noundef nonnull %21, i32 noundef 131) #3 br label %76 76: ; preds = %56, %74, %72, %53 %77 = tail call i32 @mutex_unlock(ptr noundef nonnull %28) #3 %78 = getelementptr inbounds %struct.fc_rport_priv, ptr %21, i64 0, i32 1 %79 = load i32, ptr @fc_rport_destroy, align 4, !tbaa !20 %80 = tail call i32 @kref_put(ptr noundef nonnull %78, i32 noundef %79) #3 %81 = tail call i32 @fc_frame_free(ptr noundef %1) #3 br label %90 82: ; preds = %48, %38, %33 %83 = getelementptr inbounds %struct.fc_rport_priv, ptr %21, i64 0, i32 1 %84 = load i32, ptr @fc_rport_destroy, align 4, !tbaa !20 %85 = tail call i32 @kref_put(ptr noundef nonnull %83, i32 noundef %84) #3 br label %86 86: ; preds = %82, %23, %16, %9 %87 = load i32, ptr @ELS_LS_RJT, align 4, !tbaa !20 %88 = call i32 @fc_seq_els_rsp_send(ptr noundef %1, i32 noundef %87, ptr noundef nonnull %3) #3 %89 = call i32 @fc_frame_free(ptr noundef %1) #3 br label %90 90: ; preds = %86, %76 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fc_frame_sid(ptr noundef) local_unnamed_addr #2 declare i32 @FC_RPORT_ID_DBG(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @fc_frame_payload_get(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @fc_rport_lookup(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @FC_RPORT_DBG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fc_rport_state(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @fc_rport_enter_delete(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @fc_rport_login_complete(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @fc_frame_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fc_flogi_fill(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fc_fill_reply_hdr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fc_rport_enter_plogi(ptr noundef) local_unnamed_addr #2 declare i32 @fc_rport_state_enter(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fc_frame_free(ptr noundef) local_unnamed_addr #2 declare i32 @fc_seq_els_rsp_send(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 16} !6 = !{!"fc_lport", !7, i64 0, !10, i64 8, !12, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_3__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !11, i64 8} !15 = !{!"fc_seq_els_data", !11, i64 0, !11, i64 8} !16 = !{!15, !11, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"fc_rport_priv", !12, i64 0, !12, i64 4, !12, i64 8, !19, i64 16} !19 = !{!"TYPE_4__", !7, i64 0} !20 = !{!12, !12, i64 0} !21 = !{!22, !12, i64 0} !22 = !{!"fc_els_flogi", !12, i64 0} !23 = !{!6, !11, i64 8} !24 = !{!18, !7, i64 16} !25 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/libfc/extr_fc_rport.c_fc_rport_recv_flogi_req.c' source_filename = "AnghaBench/linux/drivers/scsi/libfc/extr_fc_rport.c_fc_rport_recv_flogi_req.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.fc_seq_els_data = type { ptr, ptr } @.str = private unnamed_addr constant [24 x i8] c"Received FLOGI request\0A\00", align 1 @ELS_RJT_UNSUP = common local_unnamed_addr global ptr null, align 8 @ELS_EXPL_NONE = common local_unnamed_addr global ptr null, align 8 @ELS_RJT_LOGIC = common local_unnamed_addr global ptr null, align 8 @ELS_EXPL_INV_LEN = common local_unnamed_addr global ptr null, align 8 @ELS_RJT_FIP = common local_unnamed_addr global ptr null, align 8 @ELS_EXPL_NOT_NEIGHBOR = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [28 x i8] c"Received FLOGI in %s state\0A\00", align 1 @RPORT_EV_LOGO = common local_unnamed_addr global i32 0, align 4 @ELS_RJT_BUSY = common local_unnamed_addr global ptr null, align 8 @ELS_LS_ACC = common local_unnamed_addr global i32 0, align 4 @FC_RCTL_ELS_REP = common local_unnamed_addr global i32 0, align 4 @fc_rport_destroy = common local_unnamed_addr global i32 0, align 4 @ELS_LS_RJT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fc_rport_recv_flogi_req], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fc_rport_recv_flogi_req(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.fc_seq_els_data, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = tail call i32 @fc_frame_sid(ptr noundef %1) #3 %5 = tail call i32 @FC_RPORT_ID_DBG(ptr noundef %0, i32 noundef %4, ptr noundef nonnull @.str) #3 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load i32, ptr %6, align 8, !tbaa !6 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %2 %10 = load ptr, ptr @ELS_RJT_UNSUP, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %10, ptr %11, align 8, !tbaa !15 %12 = load ptr, ptr @ELS_EXPL_NONE, align 8, !tbaa !14 store ptr %12, ptr %3, align 8, !tbaa !17 br label %86 13: ; preds = %2 %14 = tail call ptr @fc_frame_payload_get(ptr noundef %1, i32 noundef 4) #3 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %20 16: ; preds = %13 %17 = load ptr, ptr @ELS_RJT_LOGIC, align 8, !tbaa !14 %18 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %17, ptr %18, align 8, !tbaa !15 %19 = load ptr, ptr @ELS_EXPL_INV_LEN, align 8, !tbaa !14 store ptr %19, ptr %3, align 8, !tbaa !17 br label %86 20: ; preds = %13 %21 = tail call ptr @fc_rport_lookup(ptr noundef nonnull %0, i32 noundef %4) #3 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %20 %24 = load ptr, ptr @ELS_RJT_FIP, align 8, !tbaa !14 %25 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %24, ptr %25, align 8, !tbaa !15 %26 = load ptr, ptr @ELS_EXPL_NOT_NEIGHBOR, align 8, !tbaa !14 store ptr %26, ptr %3, align 8, !tbaa !17 br label %86 27: ; preds = %20 %28 = getelementptr inbounds i8, ptr %21, i64 8 %29 = tail call i32 @mutex_lock(ptr noundef nonnull %28) #3 %30 = tail call i32 @fc_rport_state(ptr noundef nonnull %21) #3 %31 = tail call i32 @FC_RPORT_DBG(ptr noundef nonnull %21, ptr noundef nonnull @.str.1, i32 noundef %30) #3 %32 = load i32, ptr %21, align 8, !tbaa !18 switch i32 %32, label %45 [ i32 136, label %38 i32 135, label %33 i32 129, label %38 i32 128, label %38 i32 130, label %38 ] 33: ; preds = %27 %34 = tail call i32 @mutex_unlock(ptr noundef nonnull %28) #3 %35 = load ptr, ptr @ELS_RJT_FIP, align 8, !tbaa !14 %36 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %35, ptr %36, align 8, !tbaa !15 %37 = load ptr, ptr @ELS_EXPL_NOT_NEIGHBOR, align 8, !tbaa !14 store ptr %37, ptr %3, align 8, !tbaa !17 br label %82 38: ; preds = %27, %27, %27, %27 %39 = load i32, ptr @RPORT_EV_LOGO, align 4, !tbaa !21 %40 = tail call i32 @fc_rport_enter_delete(ptr noundef nonnull %21, i32 noundef %39) #3 %41 = tail call i32 @mutex_unlock(ptr noundef nonnull %28) #3 %42 = load ptr, ptr @ELS_RJT_BUSY, align 8, !tbaa !14 %43 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %42, ptr %43, align 8, !tbaa !15 %44 = load ptr, ptr @ELS_EXPL_NONE, align 8, !tbaa !14 store ptr %44, ptr %3, align 8, !tbaa !17 br label %82 45: ; preds = %27 %46 = tail call i64 @fc_rport_login_complete(ptr noundef nonnull %21, ptr noundef %1) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %53, label %48 48: ; preds = %45 %49 = tail call i32 @mutex_unlock(ptr noundef nonnull %28) #3 %50 = load ptr, ptr @ELS_RJT_LOGIC, align 8, !tbaa !14 %51 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %50, ptr %51, align 8, !tbaa !15 %52 = load ptr, ptr @ELS_EXPL_NONE, align 8, !tbaa !14 store ptr %52, ptr %3, align 8, !tbaa !17 br label %82 53: ; preds = %45 %54 = tail call ptr @fc_frame_alloc(ptr noundef nonnull %0, i32 noundef 4) #3 %55 = icmp eq ptr %54, null br i1 %55, label %76, label %56 56: ; preds = %53 %57 = tail call i32 @fc_flogi_fill(ptr noundef nonnull %0, ptr noundef nonnull %54) #3 %58 = tail call ptr @fc_frame_payload_get(ptr noundef nonnull %54, i32 noundef 4) #3 %59 = load i32, ptr @ELS_LS_ACC, align 4, !tbaa !21 store i32 %59, ptr %58, align 4, !tbaa !22 %60 = load i32, ptr @FC_RCTL_ELS_REP, align 4, !tbaa !21 %61 = tail call i32 @fc_fill_reply_hdr(ptr noundef nonnull %54, ptr noundef %1, i32 noundef %60, i32 noundef 0) #3 %62 = getelementptr inbounds i8, ptr %0, i64 8 %63 = load ptr, ptr %62, align 8, !tbaa !24 %64 = tail call i32 %63(ptr noundef nonnull %0, ptr noundef nonnull %54) #3 %65 = load i32, ptr %21, align 8, !tbaa !18 %66 = icmp eq i32 %65, 134 br i1 %66, label %76, label %67 67: ; preds = %56 %68 = getelementptr inbounds i8, ptr %21, i64 16 %69 = load i64, ptr %68, align 8, !tbaa !25 %70 = load i64, ptr %0, align 8, !tbaa !26 %71 = icmp slt i64 %69, %70 br i1 %71, label %72, label %74 72: ; preds = %67 %73 = tail call i32 @fc_rport_enter_plogi(ptr noundef nonnull %21) #3 br label %76 74: ; preds = %67 %75 = tail call i32 @fc_rport_state_enter(ptr noundef nonnull %21, i32 noundef 131) #3 br label %76 76: ; preds = %56, %74, %72, %53 %77 = tail call i32 @mutex_unlock(ptr noundef nonnull %28) #3 %78 = getelementptr inbounds i8, ptr %21, i64 4 %79 = load i32, ptr @fc_rport_destroy, align 4, !tbaa !21 %80 = tail call i32 @kref_put(ptr noundef nonnull %78, i32 noundef %79) #3 %81 = tail call i32 @fc_frame_free(ptr noundef %1) #3 br label %90 82: ; preds = %48, %38, %33 %83 = getelementptr inbounds i8, ptr %21, i64 4 %84 = load i32, ptr @fc_rport_destroy, align 4, !tbaa !21 %85 = tail call i32 @kref_put(ptr noundef nonnull %83, i32 noundef %84) #3 br label %86 86: ; preds = %82, %23, %16, %9 %87 = load i32, ptr @ELS_LS_RJT, align 4, !tbaa !21 %88 = call i32 @fc_seq_els_rsp_send(ptr noundef %1, i32 noundef %87, ptr noundef nonnull %3) #3 %89 = call i32 @fc_frame_free(ptr noundef %1) #3 br label %90 90: ; preds = %86, %76 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fc_frame_sid(ptr noundef) local_unnamed_addr #2 declare i32 @FC_RPORT_ID_DBG(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @fc_frame_payload_get(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @fc_rport_lookup(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @FC_RPORT_DBG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fc_rport_state(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @fc_rport_enter_delete(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @fc_rport_login_complete(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @fc_frame_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fc_flogi_fill(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fc_fill_reply_hdr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fc_rport_enter_plogi(ptr noundef) local_unnamed_addr #2 declare i32 @fc_rport_state_enter(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fc_frame_free(ptr noundef) local_unnamed_addr #2 declare i32 @fc_seq_els_rsp_send(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 16} !7 = !{!"fc_lport", !8, i64 0, !11, i64 8, !13, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!16, !12, i64 8} !16 = !{!"fc_seq_els_data", !12, i64 0, !12, i64 8} !17 = !{!16, !12, i64 0} !18 = !{!19, !13, i64 0} !19 = !{!"fc_rport_priv", !13, i64 0, !13, i64 4, !13, i64 8, !20, i64 16} !20 = !{!"TYPE_4__", !8, i64 0} !21 = !{!13, !13, i64 0} !22 = !{!23, !13, i64 0} !23 = !{!"fc_els_flogi", !13, i64 0} !24 = !{!7, !12, i64 8} !25 = !{!19, !8, i64 16} !26 = !{!7, !8, i64 0}
linux_drivers_scsi_libfc_extr_fc_rport.c_fc_rport_recv_flogi_req
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/skfp/extr_cfm.c_cem_priv_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/skfp/extr_cfm.c_cem_priv_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" %struct.s_smc = type { ptr, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } %struct.TYPE_4__ = type { i64, i64, i64 } @SMT_DAS = dso_local local_unnamed_addr global i64 0, align 8 @CF_JOIN = dso_local local_unnamed_addr global i32 0, align 4 @PA = dso_local local_unnamed_addr global i32 0, align 4 @PB = dso_local local_unnamed_addr global i32 0, align 4 @CEM_PST_UP = dso_local local_unnamed_addr global i64 0, align 8 @CEM_PST_DOWN = dso_local local_unnamed_addr global i64 0, align 8 @CEM_PST_HOLD = dso_local local_unnamed_addr global i64 0, align 8 @EVENT_PCM = dso_local local_unnamed_addr global i64 0, align 8 @PC_START = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cem_priv_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cem_priv_state(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.s_smc, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr @SMT_DAS, align 8, !tbaa !12 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %126 7: ; preds = %2 %8 = load i32, ptr @CF_JOIN, align 4, !tbaa !13 %9 = sub nsw i32 %1, %8 %10 = load i32, ptr @PA, align 4, !tbaa !13 %11 = icmp eq i32 %9, %10 %12 = load i32, ptr @PB, align 4 %13 = icmp eq i32 %9, %12 %14 = select i1 %11, i1 true, i1 %13 br i1 %14, label %15, label %126 15: ; preds = %7 %16 = load ptr, ptr %0, align 8, !tbaa !15 %17 = sext i32 %9 to i64 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 %17 %19 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 %17, i32 2 %20 = load i64, ptr %19, align 8, !tbaa !16 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %15 %23 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 %17, i32 1 %24 = load i64, ptr %23, align 8, !tbaa !18 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %22, %15 %27 = phi ptr [ @CEM_PST_UP, %15 ], [ @CEM_PST_DOWN, %22 ] %28 = load i64, ptr %27, align 8, !tbaa !12 store i64 %28, ptr %18, align 8, !tbaa !19 br label %29 29: ; preds = %26, %22 %30 = load i64, ptr %16, align 8, !tbaa !19 %31 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !12 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %45 33: ; preds = %29 %34 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 0, i32 1 %35 = load i64, ptr %34, align 8, !tbaa !18 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %45 37: ; preds = %33 %38 = load i64, ptr @CEM_PST_DOWN, align 8, !tbaa !12 store i64 %38, ptr %16, align 8, !tbaa !19 %39 = load i64, ptr @EVENT_PCM, align 8, !tbaa !12 %40 = trunc i64 %39 to i32 %41 = load i32, ptr @PC_START, align 4, !tbaa !13 %42 = tail call i32 @queue_event(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %41) #2 %43 = load ptr, ptr %0, align 8, !tbaa !15 %44 = load i64, ptr %43, align 8, !tbaa !19 br label %45 45: ; preds = %37, %33, %29 %46 = phi i64 [ %44, %37 ], [ %30, %33 ], [ %30, %29 ] %47 = phi ptr [ %43, %37 ], [ %16, %33 ], [ %16, %29 ] %48 = load i64, ptr @CEM_PST_UP, align 8, !tbaa !12 %49 = icmp eq i64 %46, %48 br i1 %49, label %50, label %62 50: ; preds = %45 %51 = getelementptr inbounds %struct.TYPE_4__, ptr %47, i64 0, i32 1 %52 = load i64, ptr %51, align 8, !tbaa !18 %53 = icmp eq i64 %52, 0 br i1 %53, label %62, label %54 54: ; preds = %50 %55 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !12 store i64 %55, ptr %47, align 8, !tbaa !19 %56 = load i64, ptr @EVENT_PCM, align 8, !tbaa !12 %57 = trunc i64 %56 to i32 %58 = load i32, ptr @PC_START, align 4, !tbaa !13 %59 = tail call i32 @queue_event(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %58) #2 %60 = load ptr, ptr %0, align 8, !tbaa !15 %61 = load i64, ptr %60, align 8, !tbaa !19 br label %62 62: ; preds = %54, %50, %45 %63 = phi i64 [ %61, %54 ], [ %46, %50 ], [ %46, %45 ] %64 = phi ptr [ %60, %54 ], [ %47, %50 ], [ %47, %45 ] %65 = load i64, ptr @CEM_PST_DOWN, align 8, !tbaa !12 %66 = icmp eq i64 %63, %65 br i1 %66, label %69, label %67 67: ; preds = %62 %68 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !12 br label %75 69: ; preds = %62 %70 = getelementptr inbounds %struct.TYPE_4__, ptr %64, i64 0, i32 1 %71 = load i64, ptr %70, align 8, !tbaa !18 %72 = icmp eq i64 %71, 0 %73 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !12 br i1 %72, label %75, label %74 74: ; preds = %69 store i64 %73, ptr %64, align 8, !tbaa !19 br label %75 75: ; preds = %67, %69, %74 %76 = phi i64 [ %68, %67 ], [ %73, %69 ], [ %73, %74 ] %77 = getelementptr inbounds %struct.TYPE_4__, ptr %64, i64 1 %78 = load i64, ptr %77, align 8, !tbaa !19 %79 = icmp eq i64 %78, %76 br i1 %79, label %80, label %94 80: ; preds = %75 %81 = getelementptr inbounds %struct.TYPE_4__, ptr %64, i64 1, i32 1 %82 = load i64, ptr %81, align 8, !tbaa !18 %83 = icmp eq i64 %82, 0 br i1 %83, label %84, label %94 84: ; preds = %80 %85 = load i64, ptr @CEM_PST_DOWN, align 8, !tbaa !12 store i64 %85, ptr %77, align 8, !tbaa !19 %86 = load i64, ptr @EVENT_PCM, align 8, !tbaa !12 %87 = trunc i64 %86 to i32 %88 = add i32 %87, 1 %89 = load i32, ptr @PC_START, align 4, !tbaa !13 %90 = tail call i32 @queue_event(ptr noundef nonnull %0, i32 noundef %88, i32 noundef %89) #2 %91 = load ptr, ptr %0, align 8, !tbaa !15 %92 = getelementptr inbounds %struct.TYPE_4__, ptr %91, i64 1 %93 = load i64, ptr %92, align 8, !tbaa !19 br label %94 94: ; preds = %84, %80, %75 %95 = phi i64 [ %93, %84 ], [ %76, %80 ], [ %78, %75 ] %96 = phi ptr [ %91, %84 ], [ %64, %80 ], [ %64, %75 ] %97 = getelementptr inbounds %struct.TYPE_4__, ptr %96, i64 1 %98 = load i64, ptr @CEM_PST_UP, align 8, !tbaa !12 %99 = icmp eq i64 %95, %98 br i1 %99, label %100, label %114 100: ; preds = %94 %101 = getelementptr inbounds %struct.TYPE_4__, ptr %96, i64 1, i32 1 %102 = load i64, ptr %101, align 8, !tbaa !18 %103 = icmp eq i64 %102, 0 br i1 %103, label %114, label %104 104: ; preds = %100 %105 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !12 store i64 %105, ptr %97, align 8, !tbaa !19 %106 = load i64, ptr @EVENT_PCM, align 8, !tbaa !12 %107 = trunc i64 %106 to i32 %108 = add i32 %107, 1 %109 = load i32, ptr @PC_START, align 4, !tbaa !13 %110 = tail call i32 @queue_event(ptr noundef nonnull %0, i32 noundef %108, i32 noundef %109) #2 %111 = load ptr, ptr %0, align 8, !tbaa !15 %112 = getelementptr inbounds %struct.TYPE_4__, ptr %111, i64 1 %113 = load i64, ptr %112, align 8, !tbaa !19 br label %114 114: ; preds = %104, %100, %94 %115 = phi i64 [ %113, %104 ], [ %95, %100 ], [ %95, %94 ] %116 = phi ptr [ %111, %104 ], [ %96, %100 ], [ %96, %94 ] %117 = getelementptr inbounds %struct.TYPE_4__, ptr %116, i64 1 %118 = load i64, ptr @CEM_PST_DOWN, align 8, !tbaa !12 %119 = icmp eq i64 %115, %118 br i1 %119, label %120, label %126 120: ; preds = %114 %121 = getelementptr inbounds %struct.TYPE_4__, ptr %116, i64 1, i32 1 %122 = load i64, ptr %121, align 8, !tbaa !18 %123 = icmp eq i64 %122, 0 br i1 %123, label %126, label %124 124: ; preds = %120 %125 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !12 store i64 %125, ptr %117, align 8, !tbaa !19 br label %126 126: ; preds = %114, %120, %124, %7, %2 ret void } declare i32 @queue_event(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, !11, i64 8} !6 = !{!"s_smc", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_3__", !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!17, !11, i64 16} !17 = !{!"TYPE_4__", !11, i64 0, !11, i64 8, !11, i64 16} !18 = !{!17, !11, i64 8} !19 = !{!17, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/skfp/extr_cfm.c_cem_priv_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/skfp/extr_cfm.c_cem_priv_state.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 { i64, i64, i64 } @SMT_DAS = common local_unnamed_addr global i64 0, align 8 @CF_JOIN = common local_unnamed_addr global i32 0, align 4 @PA = common local_unnamed_addr global i32 0, align 4 @PB = common local_unnamed_addr global i32 0, align 4 @CEM_PST_UP = common local_unnamed_addr global i64 0, align 8 @CEM_PST_DOWN = common local_unnamed_addr global i64 0, align 8 @CEM_PST_HOLD = common local_unnamed_addr global i64 0, align 8 @EVENT_PCM = common local_unnamed_addr global i64 0, align 8 @PC_START = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cem_priv_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cem_priv_state(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr @SMT_DAS, align 8, !tbaa !13 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %126 7: ; preds = %2 %8 = load i32, ptr @CF_JOIN, align 4, !tbaa !14 %9 = sub nsw i32 %1, %8 %10 = load i32, ptr @PA, align 4, !tbaa !14 %11 = icmp eq i32 %9, %10 %12 = load i32, ptr @PB, align 4 %13 = icmp eq i32 %9, %12 %14 = select i1 %11, i1 true, i1 %13 br i1 %14, label %15, label %126 15: ; preds = %7 %16 = load ptr, ptr %0, align 8, !tbaa !16 %17 = sext i32 %9 to i64 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 %17 %19 = getelementptr inbounds i8, ptr %18, i64 16 %20 = load i64, ptr %19, align 8, !tbaa !17 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %15 %23 = getelementptr inbounds i8, ptr %18, i64 8 %24 = load i64, ptr %23, align 8, !tbaa !19 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %22, %15 %27 = phi ptr [ @CEM_PST_UP, %15 ], [ @CEM_PST_DOWN, %22 ] %28 = load i64, ptr %27, align 8, !tbaa !13 store i64 %28, ptr %18, align 8, !tbaa !20 br label %29 29: ; preds = %26, %22 %30 = load i64, ptr %16, align 8, !tbaa !20 %31 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !13 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %45 33: ; preds = %29 %34 = getelementptr inbounds i8, ptr %16, i64 8 %35 = load i64, ptr %34, align 8, !tbaa !19 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %45 37: ; preds = %33 %38 = load i64, ptr @CEM_PST_DOWN, align 8, !tbaa !13 store i64 %38, ptr %16, align 8, !tbaa !20 %39 = load i64, ptr @EVENT_PCM, align 8, !tbaa !13 %40 = trunc i64 %39 to i32 %41 = load i32, ptr @PC_START, align 4, !tbaa !14 %42 = tail call i32 @queue_event(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %41) #2 %43 = load ptr, ptr %0, align 8, !tbaa !16 %44 = load i64, ptr %43, align 8, !tbaa !20 br label %45 45: ; preds = %37, %33, %29 %46 = phi i64 [ %44, %37 ], [ %30, %33 ], [ %30, %29 ] %47 = phi ptr [ %43, %37 ], [ %16, %33 ], [ %16, %29 ] %48 = load i64, ptr @CEM_PST_UP, align 8, !tbaa !13 %49 = icmp eq i64 %46, %48 br i1 %49, label %50, label %62 50: ; preds = %45 %51 = getelementptr inbounds i8, ptr %47, i64 8 %52 = load i64, ptr %51, align 8, !tbaa !19 %53 = icmp eq i64 %52, 0 br i1 %53, label %62, label %54 54: ; preds = %50 %55 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !13 store i64 %55, ptr %47, align 8, !tbaa !20 %56 = load i64, ptr @EVENT_PCM, align 8, !tbaa !13 %57 = trunc i64 %56 to i32 %58 = load i32, ptr @PC_START, align 4, !tbaa !14 %59 = tail call i32 @queue_event(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %58) #2 %60 = load ptr, ptr %0, align 8, !tbaa !16 %61 = load i64, ptr %60, align 8, !tbaa !20 br label %62 62: ; preds = %54, %50, %45 %63 = phi i64 [ %61, %54 ], [ %46, %50 ], [ %46, %45 ] %64 = phi ptr [ %60, %54 ], [ %47, %50 ], [ %47, %45 ] %65 = load i64, ptr @CEM_PST_DOWN, align 8, !tbaa !13 %66 = icmp eq i64 %63, %65 br i1 %66, label %69, label %67 67: ; preds = %62 %68 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !13 br label %75 69: ; preds = %62 %70 = getelementptr inbounds i8, ptr %64, i64 8 %71 = load i64, ptr %70, align 8, !tbaa !19 %72 = icmp eq i64 %71, 0 %73 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !13 br i1 %72, label %75, label %74 74: ; preds = %69 store i64 %73, ptr %64, align 8, !tbaa !20 br label %75 75: ; preds = %67, %69, %74 %76 = phi i64 [ %68, %67 ], [ %73, %69 ], [ %73, %74 ] %77 = getelementptr inbounds i8, ptr %64, i64 24 %78 = load i64, ptr %77, align 8, !tbaa !20 %79 = icmp eq i64 %78, %76 br i1 %79, label %80, label %94 80: ; preds = %75 %81 = getelementptr inbounds i8, ptr %64, i64 32 %82 = load i64, ptr %81, align 8, !tbaa !19 %83 = icmp eq i64 %82, 0 br i1 %83, label %84, label %94 84: ; preds = %80 %85 = load i64, ptr @CEM_PST_DOWN, align 8, !tbaa !13 store i64 %85, ptr %77, align 8, !tbaa !20 %86 = load i64, ptr @EVENT_PCM, align 8, !tbaa !13 %87 = trunc i64 %86 to i32 %88 = add i32 %87, 1 %89 = load i32, ptr @PC_START, align 4, !tbaa !14 %90 = tail call i32 @queue_event(ptr noundef nonnull %0, i32 noundef %88, i32 noundef %89) #2 %91 = load ptr, ptr %0, align 8, !tbaa !16 %92 = getelementptr inbounds i8, ptr %91, i64 24 %93 = load i64, ptr %92, align 8, !tbaa !20 br label %94 94: ; preds = %84, %80, %75 %95 = phi i64 [ %93, %84 ], [ %76, %80 ], [ %78, %75 ] %96 = phi ptr [ %91, %84 ], [ %64, %80 ], [ %64, %75 ] %97 = getelementptr inbounds i8, ptr %96, i64 24 %98 = load i64, ptr @CEM_PST_UP, align 8, !tbaa !13 %99 = icmp eq i64 %95, %98 br i1 %99, label %100, label %114 100: ; preds = %94 %101 = getelementptr inbounds i8, ptr %96, i64 32 %102 = load i64, ptr %101, align 8, !tbaa !19 %103 = icmp eq i64 %102, 0 br i1 %103, label %114, label %104 104: ; preds = %100 %105 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !13 store i64 %105, ptr %97, align 8, !tbaa !20 %106 = load i64, ptr @EVENT_PCM, align 8, !tbaa !13 %107 = trunc i64 %106 to i32 %108 = add i32 %107, 1 %109 = load i32, ptr @PC_START, align 4, !tbaa !14 %110 = tail call i32 @queue_event(ptr noundef nonnull %0, i32 noundef %108, i32 noundef %109) #2 %111 = load ptr, ptr %0, align 8, !tbaa !16 %112 = getelementptr inbounds i8, ptr %111, i64 24 %113 = load i64, ptr %112, align 8, !tbaa !20 br label %114 114: ; preds = %104, %100, %94 %115 = phi i64 [ %113, %104 ], [ %95, %100 ], [ %95, %94 ] %116 = phi ptr [ %111, %104 ], [ %96, %100 ], [ %96, %94 ] %117 = getelementptr inbounds i8, ptr %116, i64 24 %118 = load i64, ptr @CEM_PST_DOWN, align 8, !tbaa !13 %119 = icmp eq i64 %115, %118 br i1 %119, label %120, label %126 120: ; preds = %114 %121 = getelementptr inbounds i8, ptr %116, i64 32 %122 = load i64, ptr %121, align 8, !tbaa !19 %123 = icmp eq i64 %122, 0 br i1 %123, label %126, label %124 124: ; preds = %120 %125 = load i64, ptr @CEM_PST_HOLD, align 8, !tbaa !13 store i64 %125, ptr %117, align 8, !tbaa !20 br label %126 126: ; preds = %114, %120, %124, %7, %2 ret void } declare i32 @queue_event(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, !12, i64 8} !7 = !{!"s_smc", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!18, !12, i64 16} !18 = !{!"TYPE_4__", !12, i64 0, !12, i64 8, !12, i64 16} !19 = !{!18, !12, i64 8} !20 = !{!18, !12, i64 0}
fastsocket_kernel_drivers_net_skfp_extr_cfm.c_cem_priv_state
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_port.c_serial8250_do_set_termios.c' source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_port.c_serial8250_do_set_termios.c" target datalayout = "e-m:e-p270:32:32-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.uart_port = type { i32, i32, i32, i32, i64, i32, i32 } %struct.uart_8250_port = type { i32, i8, i32, i32, i32, i32, i32, i64, i32 } %struct.ktermios = type { i32, i32 } @UART_CAP_MINI = dso_local local_unnamed_addr global i32 0, align 4 @CSTOPB = dso_local local_unnamed_addr global i32 0, align 4 @PARENB = dso_local local_unnamed_addr global i32 0, align 4 @PARODD = dso_local local_unnamed_addr global i32 0, align 4 @CMSPAR = dso_local local_unnamed_addr global i32 0, align 4 @CSIZE = dso_local local_unnamed_addr global i32 0, align 4 @CS5 = dso_local local_unnamed_addr global i32 0, align 4 @CS6 = dso_local local_unnamed_addr global i32 0, align 4 @CS7 = dso_local local_unnamed_addr global i32 0, align 4 @UART_CAP_FIFO = dso_local local_unnamed_addr global i32 0, align 4 @UART_FCR_TRIGGER_MASK = dso_local local_unnamed_addr global i32 0, align 4 @UART_FCR_TRIGGER_1 = dso_local local_unnamed_addr global i32 0, align 4 @UART_CAP_AFE = dso_local local_unnamed_addr global i32 0, align 4 @UART_MCR_AFE = dso_local local_unnamed_addr global i32 0, align 4 @CRTSCTS = dso_local local_unnamed_addr global i32 0, align 4 @UART_LSR_OE = dso_local local_unnamed_addr global i32 0, align 4 @UART_LSR_THRE = dso_local local_unnamed_addr global i32 0, align 4 @UART_LSR_DR = dso_local local_unnamed_addr global i32 0, align 4 @INPCK = dso_local local_unnamed_addr global i32 0, align 4 @UART_LSR_FE = dso_local local_unnamed_addr global i32 0, align 4 @UART_LSR_PE = dso_local local_unnamed_addr global i32 0, align 4 @IGNBRK = dso_local local_unnamed_addr global i32 0, align 4 @BRKINT = dso_local local_unnamed_addr global i32 0, align 4 @PARMRK = dso_local local_unnamed_addr global i32 0, align 4 @UART_LSR_BI = dso_local local_unnamed_addr global i32 0, align 4 @IGNPAR = dso_local local_unnamed_addr global i32 0, align 4 @CREAD = dso_local local_unnamed_addr global i32 0, align 4 @UART_IER_MSI = dso_local local_unnamed_addr global i32 0, align 4 @UART_BUG_NOMSR = dso_local local_unnamed_addr global i32 0, align 4 @UART_CAP_UUE = dso_local local_unnamed_addr global i32 0, align 4 @UART_IER_UUE = dso_local local_unnamed_addr global i32 0, align 4 @UART_CAP_RTOIE = dso_local local_unnamed_addr global i32 0, align 4 @UART_IER_RTOIE = dso_local local_unnamed_addr global i32 0, align 4 @UART_IER = dso_local local_unnamed_addr global i32 0, align 4 @UART_CAP_EFR = dso_local local_unnamed_addr global i32 0, align 4 @UART_EFR_CTS = dso_local local_unnamed_addr global i8 0, align 1 @UART_LCR = dso_local local_unnamed_addr global i32 0, align 4 @UART_LCR_CONF_MODE_B = dso_local local_unnamed_addr global i32 0, align 4 @UPF_EXAR_EFR = dso_local local_unnamed_addr global i32 0, align 4 @UART_XR_EFR = dso_local local_unnamed_addr global i32 0, align 4 @UART_EFR = dso_local local_unnamed_addr global i32 0, align 4 @PORT_16750 = dso_local local_unnamed_addr global i64 0, align 8 @UART_FCR = dso_local local_unnamed_addr global i32 0, align 4 @UART_FCR_ENABLE_FIFO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @serial8250_do_set_termios(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = tail call ptr @up_to_u8250p(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !5 %6 = load i32, ptr %5, align 8, !tbaa !9 %7 = load i32, ptr @UART_CAP_MINI, align 4, !tbaa !5 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 %10 = load i32, ptr %1, align 4, !tbaa !12 br i1 %9, label %33, label %11 11: ; preds = %3 %12 = load i32, ptr @CSTOPB, align 4, !tbaa !5 %13 = load i32, ptr @PARENB, align 4, !tbaa !5 %14 = or i32 %13, %12 %15 = load i32, ptr @PARODD, align 4, !tbaa !5 %16 = or i32 %14, %15 %17 = load i32, ptr @CMSPAR, align 4, !tbaa !5 %18 = or i32 %16, %17 %19 = xor i32 %18, -1 %20 = and i32 %10, %19 store i32 %20, ptr %1, align 4, !tbaa !12 %21 = load i32, ptr @CSIZE, align 4, !tbaa !5 %22 = and i32 %21, %20 %23 = load i32, ptr @CS5, align 4, !tbaa !5 %24 = icmp eq i32 %22, %23 %25 = load i32, ptr @CS6, align 4 %26 = icmp eq i32 %22, %25 %27 = select i1 %24, i1 true, i1 %26 br i1 %27, label %28, label %33 28: ; preds = %11 %29 = xor i32 %21, -1 %30 = and i32 %20, %29 %31 = load i32, ptr @CS7, align 4, !tbaa !5 %32 = or i32 %31, %30 store i32 %32, ptr %1, align 4, !tbaa !12 br label %33 33: ; preds = %11, %28, %3 %34 = phi i32 [ %20, %11 ], [ %32, %28 ], [ %10, %3 ] %35 = tail call zeroext i8 @serial8250_compute_lcr(ptr noundef nonnull %5, i32 noundef %34) #3 %36 = tail call i32 @serial8250_get_baud_rate(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2) #3 %37 = call i32 @serial8250_get_divisor(ptr noundef %0, i32 noundef %36, ptr noundef nonnull %4) #3 %38 = call i32 @serial8250_rpm_get(ptr noundef nonnull %5) #3 %39 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 5 %40 = call i32 @spin_lock_irqsave(ptr noundef nonnull %39, i64 noundef undef) #3 %41 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 1 store i8 %35, ptr %41, align 4, !tbaa !14 %42 = load i32, ptr %5, align 8, !tbaa !9 %43 = load i32, ptr @UART_CAP_FIFO, align 4, !tbaa !5 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %67, label %46 46: ; preds = %33 %47 = load i32, ptr %0, align 8, !tbaa !15 %48 = icmp sgt i32 %47, 1 br i1 %48, label %49, label %67 49: ; preds = %46 %50 = icmp ult i32 %36, 2400 br i1 %50, label %51, label %55 51: ; preds = %49 %52 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 8 %53 = load i32, ptr %52, align 8, !tbaa !17 %54 = icmp eq i32 %53, 0 br i1 %54, label %59, label %55 55: ; preds = %51, %49 %56 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 7 %57 = load i64, ptr %56, align 8, !tbaa !18 %58 = icmp eq i64 %57, 0 br i1 %58, label %67, label %59 59: ; preds = %55, %51 %60 = load i32, ptr @UART_FCR_TRIGGER_MASK, align 4, !tbaa !5 %61 = xor i32 %60, -1 %62 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 2 %63 = load i32, ptr %62, align 8, !tbaa !19 %64 = and i32 %63, %61 %65 = load i32, ptr @UART_FCR_TRIGGER_1, align 4, !tbaa !5 %66 = or i32 %65, %64 store i32 %66, ptr %62, align 8, !tbaa !19 br label %67 67: ; preds = %55, %59, %46, %33 %68 = load i32, ptr @UART_CAP_AFE, align 4, !tbaa !5 %69 = and i32 %68, %42 %70 = icmp eq i32 %69, 0 %71 = load i32, ptr %1, align 4, !tbaa !12 br i1 %70, label %83, label %72 72: ; preds = %67 %73 = load i32, ptr @UART_MCR_AFE, align 4, !tbaa !5 %74 = xor i32 %73, -1 %75 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 6 %76 = load i32, ptr %75, align 8, !tbaa !20 %77 = and i32 %76, %74 store i32 %77, ptr %75, align 8, !tbaa !20 %78 = load i32, ptr @CRTSCTS, align 4, !tbaa !5 %79 = and i32 %78, %71 %80 = icmp eq i32 %79, 0 br i1 %80, label %83, label %81 81: ; preds = %72 %82 = or i32 %76, %73 store i32 %82, ptr %75, align 8, !tbaa !20 br label %83 83: ; preds = %72, %81, %67 %84 = call i32 @uart_update_timeout(ptr noundef %0, i32 noundef %71, i32 noundef %36) #3 %85 = load i32, ptr @UART_LSR_OE, align 4, !tbaa !5 %86 = load i32, ptr @UART_LSR_THRE, align 4, !tbaa !5 %87 = or i32 %86, %85 %88 = load i32, ptr @UART_LSR_DR, align 4, !tbaa !5 %89 = or i32 %87, %88 %90 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 1 store i32 %89, ptr %90, align 4, !tbaa !21 %91 = getelementptr inbounds %struct.ktermios, ptr %1, i64 0, i32 1 %92 = load i32, ptr %91, align 4, !tbaa !22 %93 = load i32, ptr @INPCK, align 4, !tbaa !5 %94 = and i32 %93, %92 %95 = icmp eq i32 %94, 0 br i1 %95, label %101, label %96 96: ; preds = %83 %97 = load i32, ptr @UART_LSR_FE, align 4, !tbaa !5 %98 = load i32, ptr @UART_LSR_PE, align 4, !tbaa !5 %99 = or i32 %97, %98 %100 = or i32 %99, %89 store i32 %100, ptr %90, align 4, !tbaa !21 br label %101 101: ; preds = %96, %83 %102 = phi i32 [ %100, %96 ], [ %89, %83 ] %103 = load i32, ptr @IGNBRK, align 4, !tbaa !5 %104 = load i32, ptr @BRKINT, align 4, !tbaa !5 %105 = load i32, ptr @PARMRK, align 4, !tbaa !5 %106 = or i32 %104, %105 %107 = or i32 %106, %103 %108 = and i32 %107, %92 %109 = icmp eq i32 %108, 0 br i1 %109, label %113, label %110 110: ; preds = %101 %111 = load i32, ptr @UART_LSR_BI, align 4, !tbaa !5 %112 = or i32 %102, %111 store i32 %112, ptr %90, align 4, !tbaa !21 br label %113 113: ; preds = %110, %101 %114 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 2 store i32 0, ptr %114, align 8, !tbaa !23 %115 = load i32, ptr @IGNPAR, align 4, !tbaa !5 %116 = and i32 %115, %92 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %121 118: ; preds = %113 %119 = and i32 %103, %92 %120 = icmp eq i32 %119, 0 br i1 %120, label %135, label %127 121: ; preds = %113 %122 = load i32, ptr @UART_LSR_PE, align 4, !tbaa !5 %123 = load i32, ptr @UART_LSR_FE, align 4, !tbaa !5 %124 = or i32 %123, %122 store i32 %124, ptr %114, align 8, !tbaa !23 %125 = and i32 %103, %92 %126 = icmp eq i32 %125, 0 br i1 %126, label %135, label %129 127: ; preds = %118 %128 = load i32, ptr @UART_LSR_BI, align 4, !tbaa !5 br label %133 129: ; preds = %121 %130 = load i32, ptr @UART_LSR_BI, align 4, !tbaa !5 %131 = or i32 %130, %124 %132 = or i32 %131, %85 br label %133 133: ; preds = %129, %127 %134 = phi i32 [ %128, %127 ], [ %132, %129 ] store i32 %134, ptr %114, align 8, !tbaa !23 br label %135 135: ; preds = %133, %121, %118 %136 = phi i32 [ %124, %121 ], [ 0, %118 ], [ %134, %133 ] %137 = load i32, ptr %1, align 4, !tbaa !12 %138 = load i32, ptr @CREAD, align 4, !tbaa !5 %139 = and i32 %138, %137 %140 = icmp eq i32 %139, 0 br i1 %140, label %141, label %143 141: ; preds = %135 %142 = or i32 %136, %88 store i32 %142, ptr %114, align 8, !tbaa !23 br label %143 143: ; preds = %141, %135 %144 = load i32, ptr @UART_IER_MSI, align 4, !tbaa !5 %145 = xor i32 %144, -1 %146 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 3 %147 = load i32, ptr %146, align 4, !tbaa !24 %148 = and i32 %147, %145 store i32 %148, ptr %146, align 4, !tbaa !24 %149 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 4 %150 = load i32, ptr %149, align 8, !tbaa !25 %151 = load i32, ptr @UART_BUG_NOMSR, align 4, !tbaa !5 %152 = and i32 %151, %150 %153 = icmp eq i32 %152, 0 br i1 %153, label %154, label %162 154: ; preds = %143 %155 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 5 %156 = call i64 @UART_ENABLE_MS(ptr noundef nonnull %155, i32 noundef %137) #3 %157 = icmp eq i64 %156, 0 %158 = load i32, ptr %146, align 4, !tbaa !24 br i1 %157, label %162, label %159 159: ; preds = %154 %160 = load i32, ptr @UART_IER_MSI, align 4, !tbaa !5 %161 = or i32 %158, %160 store i32 %161, ptr %146, align 4, !tbaa !24 br label %162 162: ; preds = %159, %154, %143 %163 = phi i32 [ %161, %159 ], [ %158, %154 ], [ %148, %143 ] %164 = load i32, ptr %5, align 8, !tbaa !9 %165 = load i32, ptr @UART_CAP_UUE, align 4, !tbaa !5 %166 = and i32 %165, %164 %167 = icmp eq i32 %166, 0 br i1 %167, label %171, label %168 168: ; preds = %162 %169 = load i32, ptr @UART_IER_UUE, align 4, !tbaa !5 %170 = or i32 %163, %169 store i32 %170, ptr %146, align 4, !tbaa !24 br label %171 171: ; preds = %168, %162 %172 = phi i32 [ %170, %168 ], [ %163, %162 ] %173 = load i32, ptr @UART_CAP_RTOIE, align 4, !tbaa !5 %174 = and i32 %173, %164 %175 = icmp eq i32 %174, 0 br i1 %175, label %179, label %176 176: ; preds = %171 %177 = load i32, ptr @UART_IER_RTOIE, align 4, !tbaa !5 %178 = or i32 %172, %177 store i32 %178, ptr %146, align 4, !tbaa !24 br label %179 179: ; preds = %176, %171 %180 = phi i32 [ %178, %176 ], [ %172, %171 ] %181 = load i32, ptr @UART_IER, align 4, !tbaa !5 %182 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %181, i32 noundef %180) #3 %183 = load i32, ptr %5, align 8, !tbaa !9 %184 = load i32, ptr @UART_CAP_EFR, align 4, !tbaa !5 %185 = and i32 %184, %183 %186 = icmp eq i32 %185, 0 br i1 %186, label %207, label %187 187: ; preds = %179 %188 = load i32, ptr %1, align 4, !tbaa !12 %189 = load i32, ptr @CRTSCTS, align 4, !tbaa !5 %190 = and i32 %189, %188 %191 = icmp eq i32 %190, 0 %192 = load i8, ptr @UART_EFR_CTS, align 1 %193 = zext i8 %192 to i32 %194 = select i1 %191, i32 0, i32 %193 %195 = load i32, ptr @UART_LCR, align 4, !tbaa !5 %196 = load i32, ptr @UART_LCR_CONF_MODE_B, align 4, !tbaa !5 %197 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %195, i32 noundef %196) #3 %198 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 3 %199 = load i32, ptr %198, align 4, !tbaa !26 %200 = load i32, ptr @UPF_EXAR_EFR, align 4, !tbaa !5 %201 = and i32 %200, %199 %202 = icmp eq i32 %201, 0 %203 = load i32, ptr @UART_EFR, align 4 %204 = load i32, ptr @UART_XR_EFR, align 4 %205 = select i1 %202, i32 %203, i32 %204 %206 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %205, i32 noundef %194) #3 br label %207 207: ; preds = %187, %179 %208 = load i32, ptr %4, align 4, !tbaa !5 %209 = call i32 @serial8250_set_divisor(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %37, i32 noundef %208) #3 %210 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 4 %211 = load i64, ptr %210, align 8, !tbaa !27 %212 = load i64, ptr @PORT_16750, align 8, !tbaa !28 %213 = icmp eq i64 %211, %212 br i1 %213, label %214, label %219 214: ; preds = %207 %215 = load i32, ptr @UART_FCR, align 4, !tbaa !5 %216 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 2 %217 = load i32, ptr %216, align 8, !tbaa !19 %218 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %215, i32 noundef %217) #3 br label %219 219: ; preds = %214, %207 %220 = load i32, ptr @UART_LCR, align 4, !tbaa !5 %221 = load i8, ptr %41, align 4, !tbaa !14 %222 = zext i8 %221 to i32 %223 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %220, i32 noundef %222) #3 %224 = load i64, ptr %210, align 8, !tbaa !27 %225 = load i64, ptr @PORT_16750, align 8, !tbaa !28 %226 = icmp eq i64 %224, %225 br i1 %226, label %241, label %227 227: ; preds = %219 %228 = getelementptr inbounds %struct.uart_8250_port, ptr %5, i64 0, i32 2 %229 = load i32, ptr %228, align 8, !tbaa !19 %230 = load i32, ptr @UART_FCR_ENABLE_FIFO, align 4, !tbaa !5 %231 = and i32 %230, %229 %232 = icmp eq i32 %231, 0 br i1 %232, label %237, label %233 233: ; preds = %227 %234 = load i32, ptr @UART_FCR, align 4, !tbaa !5 %235 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %234, i32 noundef %230) #3 %236 = load i32, ptr %228, align 8, !tbaa !19 br label %237 237: ; preds = %233, %227 %238 = phi i32 [ %236, %233 ], [ %229, %227 ] %239 = load i32, ptr @UART_FCR, align 4, !tbaa !5 %240 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %239, i32 noundef %238) #3 br label %241 241: ; preds = %237, %219 %242 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 6 %243 = load i32, ptr %242, align 4, !tbaa !29 %244 = call i32 @serial8250_set_mctrl(ptr noundef nonnull %0, i32 noundef %243) #3 %245 = call i32 @spin_unlock_irqrestore(ptr noundef nonnull %39, i64 noundef undef) #3 %246 = call i32 @serial8250_rpm_put(ptr noundef nonnull %5) #3 %247 = call i64 @tty_termios_baud_rate(ptr noundef nonnull %1) #3 %248 = icmp eq i64 %247, 0 br i1 %248, label %251, label %249 249: ; preds = %241 %250 = call i32 @tty_termios_encode_baud_rate(ptr noundef nonnull %1, i32 noundef %36, i32 noundef %36) #3 br label %251 251: ; preds = %249, %241 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @up_to_u8250p(ptr noundef) local_unnamed_addr #2 declare zeroext i8 @serial8250_compute_lcr(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @serial8250_get_baud_rate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @serial8250_get_divisor(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @serial8250_rpm_get(ptr noundef) local_unnamed_addr #2 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @uart_update_timeout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @UART_ENABLE_MS(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @serial_port_out(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @serial8250_set_divisor(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @serial8250_set_mctrl(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @serial8250_rpm_put(ptr noundef) local_unnamed_addr #2 declare i64 @tty_termios_baud_rate(ptr noundef) local_unnamed_addr #2 declare i32 @tty_termios_encode_baud_rate(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"uart_8250_port", !6, i64 0, !7, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !11, i64 32, !6, i64 40} !11 = !{!"long", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"ktermios", !6, i64 0, !6, i64 4} !14 = !{!10, !7, i64 4} !15 = !{!16, !6, i64 0} !16 = !{!"uart_port", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !6, i64 24, !6, i64 28} !17 = !{!10, !6, i64 40} !18 = !{!10, !11, i64 32} !19 = !{!10, !6, i64 8} !20 = !{!10, !6, i64 24} !21 = !{!16, !6, i64 4} !22 = !{!13, !6, i64 4} !23 = !{!16, !6, i64 8} !24 = !{!10, !6, i64 12} !25 = !{!10, !6, i64 16} !26 = !{!16, !6, i64 12} !27 = !{!16, !11, i64 16} !28 = !{!11, !11, i64 0} !29 = !{!16, !6, i64 28}
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_port.c_serial8250_do_set_termios.c' source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_port.c_serial8250_do_set_termios.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UART_CAP_MINI = common local_unnamed_addr global i32 0, align 4 @CSTOPB = common local_unnamed_addr global i32 0, align 4 @PARENB = common local_unnamed_addr global i32 0, align 4 @PARODD = common local_unnamed_addr global i32 0, align 4 @CMSPAR = common local_unnamed_addr global i32 0, align 4 @CSIZE = common local_unnamed_addr global i32 0, align 4 @CS5 = common local_unnamed_addr global i32 0, align 4 @CS6 = common local_unnamed_addr global i32 0, align 4 @CS7 = common local_unnamed_addr global i32 0, align 4 @UART_CAP_FIFO = common local_unnamed_addr global i32 0, align 4 @UART_FCR_TRIGGER_MASK = common local_unnamed_addr global i32 0, align 4 @UART_FCR_TRIGGER_1 = common local_unnamed_addr global i32 0, align 4 @UART_CAP_AFE = common local_unnamed_addr global i32 0, align 4 @UART_MCR_AFE = common local_unnamed_addr global i32 0, align 4 @CRTSCTS = common local_unnamed_addr global i32 0, align 4 @UART_LSR_OE = common local_unnamed_addr global i32 0, align 4 @UART_LSR_THRE = common local_unnamed_addr global i32 0, align 4 @UART_LSR_DR = common local_unnamed_addr global i32 0, align 4 @INPCK = common local_unnamed_addr global i32 0, align 4 @UART_LSR_FE = common local_unnamed_addr global i32 0, align 4 @UART_LSR_PE = common local_unnamed_addr global i32 0, align 4 @IGNBRK = common local_unnamed_addr global i32 0, align 4 @BRKINT = common local_unnamed_addr global i32 0, align 4 @PARMRK = common local_unnamed_addr global i32 0, align 4 @UART_LSR_BI = common local_unnamed_addr global i32 0, align 4 @IGNPAR = common local_unnamed_addr global i32 0, align 4 @CREAD = common local_unnamed_addr global i32 0, align 4 @UART_IER_MSI = common local_unnamed_addr global i32 0, align 4 @UART_BUG_NOMSR = common local_unnamed_addr global i32 0, align 4 @UART_CAP_UUE = common local_unnamed_addr global i32 0, align 4 @UART_IER_UUE = common local_unnamed_addr global i32 0, align 4 @UART_CAP_RTOIE = common local_unnamed_addr global i32 0, align 4 @UART_IER_RTOIE = common local_unnamed_addr global i32 0, align 4 @UART_IER = common local_unnamed_addr global i32 0, align 4 @UART_CAP_EFR = common local_unnamed_addr global i32 0, align 4 @UART_EFR_CTS = common local_unnamed_addr global i8 0, align 1 @UART_LCR = common local_unnamed_addr global i32 0, align 4 @UART_LCR_CONF_MODE_B = common local_unnamed_addr global i32 0, align 4 @UPF_EXAR_EFR = common local_unnamed_addr global i32 0, align 4 @UART_XR_EFR = common local_unnamed_addr global i32 0, align 4 @UART_EFR = common local_unnamed_addr global i32 0, align 4 @PORT_16750 = common local_unnamed_addr global i64 0, align 8 @UART_FCR = common local_unnamed_addr global i32 0, align 4 @UART_FCR_ENABLE_FIFO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @serial8250_do_set_termios(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = tail call ptr @up_to_u8250p(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !6 %6 = load i32, ptr %5, align 8, !tbaa !10 %7 = load i32, ptr @UART_CAP_MINI, align 4, !tbaa !6 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 %10 = load i32, ptr %1, align 4, !tbaa !13 br i1 %9, label %33, label %11 11: ; preds = %3 %12 = load i32, ptr @CSTOPB, align 4, !tbaa !6 %13 = load i32, ptr @PARENB, align 4, !tbaa !6 %14 = or i32 %13, %12 %15 = load i32, ptr @PARODD, align 4, !tbaa !6 %16 = or i32 %14, %15 %17 = load i32, ptr @CMSPAR, align 4, !tbaa !6 %18 = or i32 %16, %17 %19 = xor i32 %18, -1 %20 = and i32 %10, %19 store i32 %20, ptr %1, align 4, !tbaa !13 %21 = load i32, ptr @CSIZE, align 4, !tbaa !6 %22 = and i32 %21, %20 %23 = load i32, ptr @CS5, align 4, !tbaa !6 %24 = icmp eq i32 %22, %23 %25 = load i32, ptr @CS6, align 4 %26 = icmp eq i32 %22, %25 %27 = select i1 %24, i1 true, i1 %26 br i1 %27, label %28, label %33 28: ; preds = %11 %29 = xor i32 %21, -1 %30 = and i32 %20, %29 %31 = load i32, ptr @CS7, align 4, !tbaa !6 %32 = or i32 %31, %30 store i32 %32, ptr %1, align 4, !tbaa !13 br label %33 33: ; preds = %11, %28, %3 %34 = phi i32 [ %20, %11 ], [ %32, %28 ], [ %10, %3 ] %35 = tail call zeroext i8 @serial8250_compute_lcr(ptr noundef nonnull %5, i32 noundef %34) #3 %36 = tail call i32 @serial8250_get_baud_rate(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2) #3 %37 = call i32 @serial8250_get_divisor(ptr noundef %0, i32 noundef %36, ptr noundef nonnull %4) #3 %38 = call i32 @serial8250_rpm_get(ptr noundef nonnull %5) #3 %39 = getelementptr inbounds i8, ptr %0, i64 24 %40 = call i32 @spin_lock_irqsave(ptr noundef nonnull %39, i64 noundef undef) #3 %41 = getelementptr inbounds i8, ptr %5, i64 4 store i8 %35, ptr %41, align 4, !tbaa !15 %42 = load i32, ptr %5, align 8, !tbaa !10 %43 = load i32, ptr @UART_CAP_FIFO, align 4, !tbaa !6 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %67, label %46 46: ; preds = %33 %47 = load i32, ptr %0, align 8, !tbaa !16 %48 = icmp sgt i32 %47, 1 br i1 %48, label %49, label %67 49: ; preds = %46 %50 = icmp ult i32 %36, 2400 br i1 %50, label %51, label %55 51: ; preds = %49 %52 = getelementptr inbounds i8, ptr %5, i64 40 %53 = load i32, ptr %52, align 8, !tbaa !18 %54 = icmp eq i32 %53, 0 br i1 %54, label %59, label %55 55: ; preds = %51, %49 %56 = getelementptr inbounds i8, ptr %5, i64 32 %57 = load i64, ptr %56, align 8, !tbaa !19 %58 = icmp eq i64 %57, 0 br i1 %58, label %67, label %59 59: ; preds = %55, %51 %60 = load i32, ptr @UART_FCR_TRIGGER_MASK, align 4, !tbaa !6 %61 = xor i32 %60, -1 %62 = getelementptr inbounds i8, ptr %5, i64 8 %63 = load i32, ptr %62, align 8, !tbaa !20 %64 = and i32 %63, %61 %65 = load i32, ptr @UART_FCR_TRIGGER_1, align 4, !tbaa !6 %66 = or i32 %65, %64 store i32 %66, ptr %62, align 8, !tbaa !20 br label %67 67: ; preds = %55, %59, %46, %33 %68 = load i32, ptr @UART_CAP_AFE, align 4, !tbaa !6 %69 = and i32 %68, %42 %70 = icmp eq i32 %69, 0 %71 = load i32, ptr %1, align 4, !tbaa !13 br i1 %70, label %83, label %72 72: ; preds = %67 %73 = load i32, ptr @UART_MCR_AFE, align 4, !tbaa !6 %74 = xor i32 %73, -1 %75 = getelementptr inbounds i8, ptr %5, i64 24 %76 = load i32, ptr %75, align 8, !tbaa !21 %77 = and i32 %76, %74 store i32 %77, ptr %75, align 8, !tbaa !21 %78 = load i32, ptr @CRTSCTS, align 4, !tbaa !6 %79 = and i32 %78, %71 %80 = icmp eq i32 %79, 0 br i1 %80, label %83, label %81 81: ; preds = %72 %82 = or i32 %76, %73 store i32 %82, ptr %75, align 8, !tbaa !21 br label %83 83: ; preds = %72, %81, %67 %84 = call i32 @uart_update_timeout(ptr noundef %0, i32 noundef %71, i32 noundef %36) #3 %85 = load i32, ptr @UART_LSR_OE, align 4, !tbaa !6 %86 = load i32, ptr @UART_LSR_THRE, align 4, !tbaa !6 %87 = or i32 %86, %85 %88 = load i32, ptr @UART_LSR_DR, align 4, !tbaa !6 %89 = or i32 %87, %88 %90 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %89, ptr %90, align 4, !tbaa !22 %91 = getelementptr inbounds i8, ptr %1, i64 4 %92 = load i32, ptr %91, align 4, !tbaa !23 %93 = load i32, ptr @INPCK, align 4, !tbaa !6 %94 = and i32 %93, %92 %95 = icmp eq i32 %94, 0 br i1 %95, label %101, label %96 96: ; preds = %83 %97 = load i32, ptr @UART_LSR_FE, align 4, !tbaa !6 %98 = load i32, ptr @UART_LSR_PE, align 4, !tbaa !6 %99 = or i32 %97, %98 %100 = or i32 %99, %89 store i32 %100, ptr %90, align 4, !tbaa !22 br label %101 101: ; preds = %96, %83 %102 = phi i32 [ %100, %96 ], [ %89, %83 ] %103 = load i32, ptr @IGNBRK, align 4, !tbaa !6 %104 = load i32, ptr @BRKINT, align 4, !tbaa !6 %105 = load i32, ptr @PARMRK, align 4, !tbaa !6 %106 = or i32 %104, %105 %107 = or i32 %106, %103 %108 = and i32 %107, %92 %109 = icmp eq i32 %108, 0 br i1 %109, label %113, label %110 110: ; preds = %101 %111 = load i32, ptr @UART_LSR_BI, align 4, !tbaa !6 %112 = or i32 %102, %111 store i32 %112, ptr %90, align 4, !tbaa !22 br label %113 113: ; preds = %110, %101 %114 = getelementptr inbounds i8, ptr %0, i64 8 store i32 0, ptr %114, align 8, !tbaa !24 %115 = load i32, ptr @IGNPAR, align 4, !tbaa !6 %116 = and i32 %115, %92 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %121 118: ; preds = %113 %119 = and i32 %103, %92 %120 = icmp eq i32 %119, 0 br i1 %120, label %135, label %127 121: ; preds = %113 %122 = load i32, ptr @UART_LSR_PE, align 4, !tbaa !6 %123 = load i32, ptr @UART_LSR_FE, align 4, !tbaa !6 %124 = or i32 %123, %122 store i32 %124, ptr %114, align 8, !tbaa !24 %125 = and i32 %103, %92 %126 = icmp eq i32 %125, 0 br i1 %126, label %135, label %129 127: ; preds = %118 %128 = load i32, ptr @UART_LSR_BI, align 4, !tbaa !6 br label %133 129: ; preds = %121 %130 = load i32, ptr @UART_LSR_BI, align 4, !tbaa !6 %131 = or i32 %130, %124 %132 = or i32 %131, %85 br label %133 133: ; preds = %129, %127 %134 = phi i32 [ %128, %127 ], [ %132, %129 ] store i32 %134, ptr %114, align 8, !tbaa !24 br label %135 135: ; preds = %133, %121, %118 %136 = phi i32 [ %124, %121 ], [ 0, %118 ], [ %134, %133 ] %137 = load i32, ptr %1, align 4, !tbaa !13 %138 = load i32, ptr @CREAD, align 4, !tbaa !6 %139 = and i32 %138, %137 %140 = icmp eq i32 %139, 0 br i1 %140, label %141, label %143 141: ; preds = %135 %142 = or i32 %136, %88 store i32 %142, ptr %114, align 8, !tbaa !24 br label %143 143: ; preds = %141, %135 %144 = load i32, ptr @UART_IER_MSI, align 4, !tbaa !6 %145 = xor i32 %144, -1 %146 = getelementptr inbounds i8, ptr %5, i64 12 %147 = load i32, ptr %146, align 4, !tbaa !25 %148 = and i32 %147, %145 store i32 %148, ptr %146, align 4, !tbaa !25 %149 = getelementptr inbounds i8, ptr %5, i64 16 %150 = load i32, ptr %149, align 8, !tbaa !26 %151 = load i32, ptr @UART_BUG_NOMSR, align 4, !tbaa !6 %152 = and i32 %151, %150 %153 = icmp eq i32 %152, 0 br i1 %153, label %154, label %162 154: ; preds = %143 %155 = getelementptr inbounds i8, ptr %5, i64 20 %156 = call i64 @UART_ENABLE_MS(ptr noundef nonnull %155, i32 noundef %137) #3 %157 = icmp eq i64 %156, 0 %158 = load i32, ptr %146, align 4, !tbaa !25 br i1 %157, label %162, label %159 159: ; preds = %154 %160 = load i32, ptr @UART_IER_MSI, align 4, !tbaa !6 %161 = or i32 %158, %160 store i32 %161, ptr %146, align 4, !tbaa !25 br label %162 162: ; preds = %159, %154, %143 %163 = phi i32 [ %161, %159 ], [ %158, %154 ], [ %148, %143 ] %164 = load i32, ptr %5, align 8, !tbaa !10 %165 = load i32, ptr @UART_CAP_UUE, align 4, !tbaa !6 %166 = and i32 %165, %164 %167 = icmp eq i32 %166, 0 br i1 %167, label %171, label %168 168: ; preds = %162 %169 = load i32, ptr @UART_IER_UUE, align 4, !tbaa !6 %170 = or i32 %163, %169 store i32 %170, ptr %146, align 4, !tbaa !25 br label %171 171: ; preds = %168, %162 %172 = phi i32 [ %170, %168 ], [ %163, %162 ] %173 = load i32, ptr @UART_CAP_RTOIE, align 4, !tbaa !6 %174 = and i32 %173, %164 %175 = icmp eq i32 %174, 0 br i1 %175, label %179, label %176 176: ; preds = %171 %177 = load i32, ptr @UART_IER_RTOIE, align 4, !tbaa !6 %178 = or i32 %172, %177 store i32 %178, ptr %146, align 4, !tbaa !25 br label %179 179: ; preds = %176, %171 %180 = phi i32 [ %178, %176 ], [ %172, %171 ] %181 = load i32, ptr @UART_IER, align 4, !tbaa !6 %182 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %181, i32 noundef %180) #3 %183 = load i32, ptr %5, align 8, !tbaa !10 %184 = load i32, ptr @UART_CAP_EFR, align 4, !tbaa !6 %185 = and i32 %184, %183 %186 = icmp eq i32 %185, 0 br i1 %186, label %207, label %187 187: ; preds = %179 %188 = load i32, ptr %1, align 4, !tbaa !13 %189 = load i32, ptr @CRTSCTS, align 4, !tbaa !6 %190 = and i32 %189, %188 %191 = icmp eq i32 %190, 0 %192 = load i8, ptr @UART_EFR_CTS, align 1 %193 = zext i8 %192 to i32 %194 = select i1 %191, i32 0, i32 %193 %195 = load i32, ptr @UART_LCR, align 4, !tbaa !6 %196 = load i32, ptr @UART_LCR_CONF_MODE_B, align 4, !tbaa !6 %197 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %195, i32 noundef %196) #3 %198 = getelementptr inbounds i8, ptr %0, i64 12 %199 = load i32, ptr %198, align 4, !tbaa !27 %200 = load i32, ptr @UPF_EXAR_EFR, align 4, !tbaa !6 %201 = and i32 %200, %199 %202 = icmp eq i32 %201, 0 %203 = load i32, ptr @UART_EFR, align 4 %204 = load i32, ptr @UART_XR_EFR, align 4 %205 = select i1 %202, i32 %203, i32 %204 %206 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %205, i32 noundef %194) #3 br label %207 207: ; preds = %187, %179 %208 = load i32, ptr %4, align 4, !tbaa !6 %209 = call i32 @serial8250_set_divisor(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %37, i32 noundef %208) #3 %210 = getelementptr inbounds i8, ptr %0, i64 16 %211 = load i64, ptr %210, align 8, !tbaa !28 %212 = load i64, ptr @PORT_16750, align 8, !tbaa !29 %213 = icmp eq i64 %211, %212 br i1 %213, label %214, label %219 214: ; preds = %207 %215 = load i32, ptr @UART_FCR, align 4, !tbaa !6 %216 = getelementptr inbounds i8, ptr %5, i64 8 %217 = load i32, ptr %216, align 8, !tbaa !20 %218 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %215, i32 noundef %217) #3 br label %219 219: ; preds = %214, %207 %220 = load i32, ptr @UART_LCR, align 4, !tbaa !6 %221 = load i8, ptr %41, align 4, !tbaa !15 %222 = zext i8 %221 to i32 %223 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %220, i32 noundef %222) #3 %224 = load i64, ptr %210, align 8, !tbaa !28 %225 = load i64, ptr @PORT_16750, align 8, !tbaa !29 %226 = icmp eq i64 %224, %225 br i1 %226, label %241, label %227 227: ; preds = %219 %228 = getelementptr inbounds i8, ptr %5, i64 8 %229 = load i32, ptr %228, align 8, !tbaa !20 %230 = load i32, ptr @UART_FCR_ENABLE_FIFO, align 4, !tbaa !6 %231 = and i32 %230, %229 %232 = icmp eq i32 %231, 0 br i1 %232, label %237, label %233 233: ; preds = %227 %234 = load i32, ptr @UART_FCR, align 4, !tbaa !6 %235 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %234, i32 noundef %230) #3 %236 = load i32, ptr %228, align 8, !tbaa !20 br label %237 237: ; preds = %233, %227 %238 = phi i32 [ %236, %233 ], [ %229, %227 ] %239 = load i32, ptr @UART_FCR, align 4, !tbaa !6 %240 = call i32 @serial_port_out(ptr noundef nonnull %0, i32 noundef %239, i32 noundef %238) #3 br label %241 241: ; preds = %237, %219 %242 = getelementptr inbounds i8, ptr %0, i64 28 %243 = load i32, ptr %242, align 4, !tbaa !30 %244 = call i32 @serial8250_set_mctrl(ptr noundef nonnull %0, i32 noundef %243) #3 %245 = call i32 @spin_unlock_irqrestore(ptr noundef nonnull %39, i64 noundef undef) #3 %246 = call i32 @serial8250_rpm_put(ptr noundef nonnull %5) #3 %247 = call i64 @tty_termios_baud_rate(ptr noundef nonnull %1) #3 %248 = icmp eq i64 %247, 0 br i1 %248, label %251, label %249 249: ; preds = %241 %250 = call i32 @tty_termios_encode_baud_rate(ptr noundef nonnull %1, i32 noundef %36, i32 noundef %36) #3 br label %251 251: ; preds = %249, %241 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @up_to_u8250p(ptr noundef) local_unnamed_addr #2 declare zeroext i8 @serial8250_compute_lcr(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @serial8250_get_baud_rate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @serial8250_get_divisor(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @serial8250_rpm_get(ptr noundef) local_unnamed_addr #2 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @uart_update_timeout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @UART_ENABLE_MS(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @serial_port_out(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @serial8250_set_divisor(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @serial8250_set_mctrl(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @serial8250_rpm_put(ptr noundef) local_unnamed_addr #2 declare i64 @tty_termios_baud_rate(ptr noundef) local_unnamed_addr #2 declare i32 @tty_termios_encode_baud_rate(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"uart_8250_port", !7, i64 0, !8, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !12, i64 32, !7, i64 40} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"ktermios", !7, i64 0, !7, i64 4} !15 = !{!11, !8, i64 4} !16 = !{!17, !7, i64 0} !17 = !{!"uart_port", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !7, i64 24, !7, i64 28} !18 = !{!11, !7, i64 40} !19 = !{!11, !12, i64 32} !20 = !{!11, !7, i64 8} !21 = !{!11, !7, i64 24} !22 = !{!17, !7, i64 4} !23 = !{!14, !7, i64 4} !24 = !{!17, !7, i64 8} !25 = !{!11, !7, i64 12} !26 = !{!11, !7, i64 16} !27 = !{!17, !7, i64 12} !28 = !{!17, !12, i64 16} !29 = !{!12, !12, i64 0} !30 = !{!17, !7, i64 28}
linux_drivers_tty_serial_8250_extr_8250_port.c_serial8250_do_set_termios
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/daemon/extr_remote.c_do_verbosity.c' source_filename = "AnghaBench/freebsd/contrib/unbound/daemon/extr_remote.c_do_verbosity.c" target datalayout = "e-m:e-p270:32:32-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"0\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"error in verbosity number syntax: %s\0A\00", align 1 @verbosity = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_verbosity], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_verbosity(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @atoi(ptr nocapture noundef %1) %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %2 %6 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @ssl_printf(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %1) #3 br label %12 10: ; preds = %5, %2 store i32 %3, ptr @verbosity, align 4, !tbaa !5 %11 = tail call i32 @send_ok(ptr noundef %0) #3 br label %12 12: ; preds = %10, %8 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ssl_printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @send_ok(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 nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/daemon/extr_remote.c_do_verbosity.c' source_filename = "AnghaBench/freebsd/contrib/unbound/daemon/extr_remote.c_do_verbosity.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"0\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"error in verbosity number syntax: %s\0A\00", align 1 @verbosity = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_verbosity], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_verbosity(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @atoi(ptr nocapture noundef %1) %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %2 %6 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @ssl_printf(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %1) #3 br label %12 10: ; preds = %5, %2 store i32 %3, ptr @verbosity, align 4, !tbaa !6 %11 = tail call i32 @send_ok(ptr noundef %0) #3 br label %12 12: ; preds = %10, %8 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ssl_printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @send_ok(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 nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_unbound_daemon_extr_remote.c_do_verbosity
; ModuleID = 'AnghaBench/poco/PDF/src/extr_pngtrans.c_png_do_strip_filler.c' source_filename = "AnghaBench/poco/PDF/src/extr_pngtrans.c_png_do_strip_filler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"in png_do_strip_filler\0A\00", align 1 @PNG_COLOR_TYPE_RGB = dso_local local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_RGB_ALPHA = dso_local local_unnamed_addr global i32 0, align 4 @PNG_FLAG_STRIP_ALPHA = dso_local local_unnamed_addr global i32 0, align 4 @PNG_FLAG_FILLER_AFTER = dso_local local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_GRAY = dso_local local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_GRAY_ALPHA = dso_local local_unnamed_addr global i32 0, align 4 @PNG_COLOR_MASK_ALPHA = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @png_do_strip_filler(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @png_debug(i32 noundef 1, ptr noundef nonnull @.str) #2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = load i32, ptr @PNG_COLOR_TYPE_RGB, align 4, !tbaa !11 %9 = icmp eq i32 %7, %8 br i1 %9, label %17, label %10 10: ; preds = %3 %11 = load i32, ptr @PNG_COLOR_TYPE_RGB_ALPHA, align 4, !tbaa !11 %12 = icmp eq i32 %7, %11 br i1 %12, label %13, label %272 13: ; preds = %10 %14 = load i32, ptr @PNG_FLAG_STRIP_ALPHA, align 4, !tbaa !11 %15 = and i32 %14, %2 %16 = icmp eq i32 %15, 0 br i1 %16, label %272, label %17 17: ; preds = %13, %3 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !12 %20 = icmp eq i32 %19, 4 br i1 %20, label %21, label %272 21: ; preds = %17 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %23 = load i32, ptr %22, align 4, !tbaa !13 %24 = icmp eq i32 %23, 8 %25 = load i32, ptr @PNG_FLAG_FILLER_AFTER, align 4, !tbaa !11 %26 = and i32 %25, %2 %27 = icmp eq i32 %26, 0 br i1 %24, label %28, label %93 28: ; preds = %21 br i1 %27, label %37, label %29 29: ; preds = %28 %30 = icmp sgt i32 %5, 1 br i1 %30, label %31, label %266 31: ; preds = %29 %32 = add nsw i32 %5, -1 %33 = and i32 %32, 1 %34 = icmp eq i32 %5, 2 br i1 %34, label %207, label %35 35: ; preds = %31 %36 = and i32 %32, -2 br label %44 37: ; preds = %28 %38 = icmp sgt i32 %5, 0 br i1 %38, label %39, label %266 39: ; preds = %37 %40 = and i32 %5, 1 %41 = icmp eq i32 %5, 1 br i1 %41, label %194, label %42 42: ; preds = %39 %43 = and i32 %5, 2147483646 br label %68 44: ; preds = %44, %35 %45 = phi ptr [ %1, %35 ], [ %57, %44 ] %46 = phi ptr [ %1, %35 ], [ %58, %44 ] %47 = phi i32 [ 0, %35 ], [ %66, %44 ] %48 = getelementptr inbounds i32, ptr %45, i64 4 %49 = getelementptr inbounds i32, ptr %46, i64 3 %50 = getelementptr inbounds i32, ptr %45, i64 5 %51 = load i32, ptr %48, align 4, !tbaa !11 %52 = getelementptr inbounds i32, ptr %46, i64 4 store i32 %51, ptr %49, align 4, !tbaa !11 %53 = getelementptr inbounds i32, ptr %45, i64 6 %54 = load i32, ptr %50, align 4, !tbaa !11 %55 = getelementptr inbounds i32, ptr %46, i64 5 store i32 %54, ptr %52, align 4, !tbaa !11 %56 = load i32, ptr %53, align 4, !tbaa !11 store i32 %56, ptr %55, align 4, !tbaa !11 %57 = getelementptr inbounds i32, ptr %45, i64 8 %58 = getelementptr inbounds i32, ptr %46, i64 6 %59 = getelementptr inbounds i32, ptr %45, i64 9 %60 = load i32, ptr %57, align 4, !tbaa !11 %61 = getelementptr inbounds i32, ptr %46, i64 7 store i32 %60, ptr %58, align 4, !tbaa !11 %62 = getelementptr inbounds i32, ptr %45, i64 10 %63 = load i32, ptr %59, align 4, !tbaa !11 %64 = getelementptr inbounds i32, ptr %46, i64 8 store i32 %63, ptr %61, align 4, !tbaa !11 %65 = load i32, ptr %62, align 4, !tbaa !11 store i32 %65, ptr %64, align 4, !tbaa !11 %66 = add i32 %47, 2 %67 = icmp eq i32 %66, %36 br i1 %67, label %207, label %44, !llvm.loop !14 68: ; preds = %68, %42 %69 = phi ptr [ %1, %42 ], [ %88, %68 ] %70 = phi ptr [ %1, %42 ], [ %90, %68 ] %71 = phi i32 [ 0, %42 ], [ %91, %68 ] %72 = getelementptr inbounds i32, ptr %69, i64 1 %73 = getelementptr inbounds i32, ptr %69, i64 2 %74 = load i32, ptr %72, align 4, !tbaa !11 %75 = getelementptr inbounds i32, ptr %70, i64 1 store i32 %74, ptr %70, align 4, !tbaa !11 %76 = getelementptr inbounds i32, ptr %69, i64 3 %77 = load i32, ptr %73, align 4, !tbaa !11 %78 = getelementptr inbounds i32, ptr %70, i64 2 store i32 %77, ptr %75, align 4, !tbaa !11 %79 = load i32, ptr %76, align 4, !tbaa !11 %80 = getelementptr inbounds i32, ptr %70, i64 3 store i32 %79, ptr %78, align 4, !tbaa !11 %81 = getelementptr inbounds i32, ptr %69, i64 5 %82 = getelementptr inbounds i32, ptr %69, i64 6 %83 = load i32, ptr %81, align 4, !tbaa !11 %84 = getelementptr inbounds i32, ptr %70, i64 4 store i32 %83, ptr %80, align 4, !tbaa !11 %85 = getelementptr inbounds i32, ptr %69, i64 7 %86 = load i32, ptr %82, align 4, !tbaa !11 %87 = getelementptr inbounds i32, ptr %70, i64 5 store i32 %86, ptr %84, align 4, !tbaa !11 %88 = getelementptr inbounds i32, ptr %69, i64 8 %89 = load i32, ptr %85, align 4, !tbaa !11 %90 = getelementptr inbounds i32, ptr %70, i64 6 store i32 %89, ptr %87, align 4, !tbaa !11 %91 = add i32 %71, 2 %92 = icmp eq i32 %91, %43 br i1 %92, label %194, label %68, !llvm.loop !16 93: ; preds = %21 br i1 %27, label %102, label %94 94: ; preds = %93 %95 = icmp sgt i32 %5, 1 br i1 %95, label %96, label %266 96: ; preds = %94 %97 = add nsw i32 %5, -1 %98 = and i32 %97, 1 %99 = icmp eq i32 %5, 2 br i1 %99, label %243, label %100 100: ; preds = %96 %101 = and i32 %97, -2 br label %109 102: ; preds = %93 %103 = icmp sgt i32 %5, 0 br i1 %103, label %104, label %266 104: ; preds = %102 %105 = and i32 %5, 1 %106 = icmp eq i32 %5, 1 br i1 %106, label %221, label %107 107: ; preds = %104 %108 = and i32 %5, 2147483646 br label %151 109: ; preds = %109, %100 %110 = phi ptr [ %1, %100 ], [ %131, %109 ] %111 = phi ptr [ %1, %100 ], [ %132, %109 ] %112 = phi i32 [ 0, %100 ], [ %149, %109 ] %113 = getelementptr inbounds i32, ptr %110, i64 8 %114 = getelementptr inbounds i32, ptr %111, i64 6 %115 = getelementptr inbounds i32, ptr %110, i64 9 %116 = load i32, ptr %113, align 4, !tbaa !11 %117 = getelementptr inbounds i32, ptr %111, i64 7 store i32 %116, ptr %114, align 4, !tbaa !11 %118 = getelementptr inbounds i32, ptr %110, i64 10 %119 = load i32, ptr %115, align 4, !tbaa !11 %120 = getelementptr inbounds i32, ptr %111, i64 8 store i32 %119, ptr %117, align 4, !tbaa !11 %121 = getelementptr inbounds i32, ptr %110, i64 11 %122 = load i32, ptr %118, align 4, !tbaa !11 %123 = getelementptr inbounds i32, ptr %111, i64 9 store i32 %122, ptr %120, align 4, !tbaa !11 %124 = getelementptr inbounds i32, ptr %110, i64 12 %125 = load i32, ptr %121, align 4, !tbaa !11 %126 = getelementptr inbounds i32, ptr %111, i64 10 store i32 %125, ptr %123, align 4, !tbaa !11 %127 = getelementptr inbounds i32, ptr %110, i64 13 %128 = load i32, ptr %124, align 4, !tbaa !11 %129 = getelementptr inbounds i32, ptr %111, i64 11 store i32 %128, ptr %126, align 4, !tbaa !11 %130 = load i32, ptr %127, align 4, !tbaa !11 store i32 %130, ptr %129, align 4, !tbaa !11 %131 = getelementptr inbounds i32, ptr %110, i64 16 %132 = getelementptr inbounds i32, ptr %111, i64 12 %133 = getelementptr inbounds i32, ptr %110, i64 17 %134 = load i32, ptr %131, align 4, !tbaa !11 %135 = getelementptr inbounds i32, ptr %111, i64 13 store i32 %134, ptr %132, align 4, !tbaa !11 %136 = getelementptr inbounds i32, ptr %110, i64 18 %137 = load i32, ptr %133, align 4, !tbaa !11 %138 = getelementptr inbounds i32, ptr %111, i64 14 store i32 %137, ptr %135, align 4, !tbaa !11 %139 = getelementptr inbounds i32, ptr %110, i64 19 %140 = load i32, ptr %136, align 4, !tbaa !11 %141 = getelementptr inbounds i32, ptr %111, i64 15 store i32 %140, ptr %138, align 4, !tbaa !11 %142 = getelementptr inbounds i32, ptr %110, i64 20 %143 = load i32, ptr %139, align 4, !tbaa !11 %144 = getelementptr inbounds i32, ptr %111, i64 16 store i32 %143, ptr %141, align 4, !tbaa !11 %145 = getelementptr inbounds i32, ptr %110, i64 21 %146 = load i32, ptr %142, align 4, !tbaa !11 %147 = getelementptr inbounds i32, ptr %111, i64 17 store i32 %146, ptr %144, align 4, !tbaa !11 %148 = load i32, ptr %145, align 4, !tbaa !11 store i32 %148, ptr %147, align 4, !tbaa !11 %149 = add i32 %112, 2 %150 = icmp eq i32 %149, %101 br i1 %150, label %243, label %109, !llvm.loop !17 151: ; preds = %151, %107 %152 = phi ptr [ %1, %107 ], [ %189, %151 ] %153 = phi ptr [ %1, %107 ], [ %191, %151 ] %154 = phi i32 [ 0, %107 ], [ %192, %151 ] %155 = getelementptr inbounds i32, ptr %152, i64 2 %156 = getelementptr inbounds i32, ptr %152, i64 3 %157 = load i32, ptr %155, align 4, !tbaa !11 %158 = getelementptr inbounds i32, ptr %153, i64 1 store i32 %157, ptr %153, align 4, !tbaa !11 %159 = getelementptr inbounds i32, ptr %152, i64 4 %160 = load i32, ptr %156, align 4, !tbaa !11 %161 = getelementptr inbounds i32, ptr %153, i64 2 store i32 %160, ptr %158, align 4, !tbaa !11 %162 = getelementptr inbounds i32, ptr %152, i64 5 %163 = load i32, ptr %159, align 4, !tbaa !11 %164 = getelementptr inbounds i32, ptr %153, i64 3 store i32 %163, ptr %161, align 4, !tbaa !11 %165 = getelementptr inbounds i32, ptr %152, i64 6 %166 = load i32, ptr %162, align 4, !tbaa !11 %167 = getelementptr inbounds i32, ptr %153, i64 4 store i32 %166, ptr %164, align 4, !tbaa !11 %168 = getelementptr inbounds i32, ptr %152, i64 7 %169 = load i32, ptr %165, align 4, !tbaa !11 %170 = getelementptr inbounds i32, ptr %153, i64 5 store i32 %169, ptr %167, align 4, !tbaa !11 %171 = load i32, ptr %168, align 4, !tbaa !11 %172 = getelementptr inbounds i32, ptr %153, i64 6 store i32 %171, ptr %170, align 4, !tbaa !11 %173 = getelementptr inbounds i32, ptr %152, i64 10 %174 = getelementptr inbounds i32, ptr %152, i64 11 %175 = load i32, ptr %173, align 4, !tbaa !11 %176 = getelementptr inbounds i32, ptr %153, i64 7 store i32 %175, ptr %172, align 4, !tbaa !11 %177 = getelementptr inbounds i32, ptr %152, i64 12 %178 = load i32, ptr %174, align 4, !tbaa !11 %179 = getelementptr inbounds i32, ptr %153, i64 8 store i32 %178, ptr %176, align 4, !tbaa !11 %180 = getelementptr inbounds i32, ptr %152, i64 13 %181 = load i32, ptr %177, align 4, !tbaa !11 %182 = getelementptr inbounds i32, ptr %153, i64 9 store i32 %181, ptr %179, align 4, !tbaa !11 %183 = getelementptr inbounds i32, ptr %152, i64 14 %184 = load i32, ptr %180, align 4, !tbaa !11 %185 = getelementptr inbounds i32, ptr %153, i64 10 store i32 %184, ptr %182, align 4, !tbaa !11 %186 = getelementptr inbounds i32, ptr %152, i64 15 %187 = load i32, ptr %183, align 4, !tbaa !11 %188 = getelementptr inbounds i32, ptr %153, i64 11 store i32 %187, ptr %185, align 4, !tbaa !11 %189 = getelementptr inbounds i32, ptr %152, i64 16 %190 = load i32, ptr %186, align 4, !tbaa !11 %191 = getelementptr inbounds i32, ptr %153, i64 12 store i32 %190, ptr %188, align 4, !tbaa !11 %192 = add i32 %154, 2 %193 = icmp eq i32 %192, %108 br i1 %193, label %221, label %151, !llvm.loop !18 194: ; preds = %68, %39 %195 = phi ptr [ %1, %39 ], [ %88, %68 ] %196 = phi ptr [ %1, %39 ], [ %90, %68 ] %197 = icmp eq i32 %40, 0 br i1 %197, label %266, label %198 198: ; preds = %194 %199 = getelementptr inbounds i32, ptr %195, i64 1 %200 = getelementptr inbounds i32, ptr %195, i64 2 %201 = load i32, ptr %199, align 4, !tbaa !11 %202 = getelementptr inbounds i32, ptr %196, i64 1 store i32 %201, ptr %196, align 4, !tbaa !11 %203 = getelementptr inbounds i32, ptr %195, i64 3 %204 = load i32, ptr %200, align 4, !tbaa !11 %205 = getelementptr inbounds i32, ptr %196, i64 2 store i32 %204, ptr %202, align 4, !tbaa !11 %206 = load i32, ptr %203, align 4, !tbaa !11 store i32 %206, ptr %205, align 4, !tbaa !11 br label %266 207: ; preds = %44, %31 %208 = phi ptr [ %1, %31 ], [ %57, %44 ] %209 = phi ptr [ %1, %31 ], [ %58, %44 ] %210 = icmp eq i32 %33, 0 br i1 %210, label %266, label %211 211: ; preds = %207 %212 = getelementptr inbounds i32, ptr %208, i64 4 %213 = getelementptr inbounds i32, ptr %209, i64 3 %214 = getelementptr inbounds i32, ptr %208, i64 5 %215 = load i32, ptr %212, align 4, !tbaa !11 %216 = getelementptr inbounds i32, ptr %209, i64 4 store i32 %215, ptr %213, align 4, !tbaa !11 %217 = getelementptr inbounds i32, ptr %208, i64 6 %218 = load i32, ptr %214, align 4, !tbaa !11 %219 = getelementptr inbounds i32, ptr %209, i64 5 store i32 %218, ptr %216, align 4, !tbaa !11 %220 = load i32, ptr %217, align 4, !tbaa !11 store i32 %220, ptr %219, align 4, !tbaa !11 br label %266 221: ; preds = %151, %104 %222 = phi ptr [ %1, %104 ], [ %189, %151 ] %223 = phi ptr [ %1, %104 ], [ %191, %151 ] %224 = icmp eq i32 %105, 0 br i1 %224, label %266, label %225 225: ; preds = %221 %226 = getelementptr inbounds i32, ptr %222, i64 2 %227 = getelementptr inbounds i32, ptr %222, i64 3 %228 = load i32, ptr %226, align 4, !tbaa !11 %229 = getelementptr inbounds i32, ptr %223, i64 1 store i32 %228, ptr %223, align 4, !tbaa !11 %230 = getelementptr inbounds i32, ptr %222, i64 4 %231 = load i32, ptr %227, align 4, !tbaa !11 %232 = getelementptr inbounds i32, ptr %223, i64 2 store i32 %231, ptr %229, align 4, !tbaa !11 %233 = getelementptr inbounds i32, ptr %222, i64 5 %234 = load i32, ptr %230, align 4, !tbaa !11 %235 = getelementptr inbounds i32, ptr %223, i64 3 store i32 %234, ptr %232, align 4, !tbaa !11 %236 = getelementptr inbounds i32, ptr %222, i64 6 %237 = load i32, ptr %233, align 4, !tbaa !11 %238 = getelementptr inbounds i32, ptr %223, i64 4 store i32 %237, ptr %235, align 4, !tbaa !11 %239 = getelementptr inbounds i32, ptr %222, i64 7 %240 = load i32, ptr %236, align 4, !tbaa !11 %241 = getelementptr inbounds i32, ptr %223, i64 5 store i32 %240, ptr %238, align 4, !tbaa !11 %242 = load i32, ptr %239, align 4, !tbaa !11 store i32 %242, ptr %241, align 4, !tbaa !11 br label %266 243: ; preds = %109, %96 %244 = phi ptr [ %1, %96 ], [ %131, %109 ] %245 = phi ptr [ %1, %96 ], [ %132, %109 ] %246 = icmp eq i32 %98, 0 br i1 %246, label %266, label %247 247: ; preds = %243 %248 = getelementptr inbounds i32, ptr %244, i64 8 %249 = getelementptr inbounds i32, ptr %245, i64 6 %250 = getelementptr inbounds i32, ptr %244, i64 9 %251 = load i32, ptr %248, align 4, !tbaa !11 %252 = getelementptr inbounds i32, ptr %245, i64 7 store i32 %251, ptr %249, align 4, !tbaa !11 %253 = getelementptr inbounds i32, ptr %244, i64 10 %254 = load i32, ptr %250, align 4, !tbaa !11 %255 = getelementptr inbounds i32, ptr %245, i64 8 store i32 %254, ptr %252, align 4, !tbaa !11 %256 = getelementptr inbounds i32, ptr %244, i64 11 %257 = load i32, ptr %253, align 4, !tbaa !11 %258 = getelementptr inbounds i32, ptr %245, i64 9 store i32 %257, ptr %255, align 4, !tbaa !11 %259 = getelementptr inbounds i32, ptr %244, i64 12 %260 = load i32, ptr %256, align 4, !tbaa !11 %261 = getelementptr inbounds i32, ptr %245, i64 10 store i32 %260, ptr %258, align 4, !tbaa !11 %262 = getelementptr inbounds i32, ptr %244, i64 13 %263 = load i32, ptr %259, align 4, !tbaa !11 %264 = getelementptr inbounds i32, ptr %245, i64 11 store i32 %263, ptr %261, align 4, !tbaa !11 %265 = load i32, ptr %262, align 4, !tbaa !11 store i32 %265, ptr %264, align 4, !tbaa !11 br label %266 266: ; preds = %247, %243, %225, %221, %211, %207, %198, %194, %102, %94, %37, %29 %267 = phi i32 [ 24, %29 ], [ 24, %37 ], [ 48, %94 ], [ 48, %102 ], [ 24, %194 ], [ 24, %198 ], [ 24, %207 ], [ 24, %211 ], [ 48, %221 ], [ 48, %225 ], [ 48, %243 ], [ 48, %247 ] %268 = phi i32 [ 3, %29 ], [ 3, %37 ], [ 6, %94 ], [ 6, %102 ], [ 3, %194 ], [ 3, %198 ], [ 3, %207 ], [ 3, %211 ], [ 6, %221 ], [ 6, %225 ], [ 6, %243 ], [ 6, %247 ] %269 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 store i32 %267, ptr %269, align 4, !tbaa !19 %270 = mul nsw i32 %5, %268 %271 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 store i32 %270, ptr %271, align 4, !tbaa !20 store i32 3, ptr %18, align 4, !tbaa !12 br label %517 272: ; preds = %17, %13, %10 %273 = load i32, ptr @PNG_COLOR_TYPE_GRAY, align 4, !tbaa !11 %274 = icmp eq i32 %7, %273 br i1 %274, label %282, label %275 275: ; preds = %272 %276 = load i32, ptr @PNG_COLOR_TYPE_GRAY_ALPHA, align 4, !tbaa !11 %277 = icmp eq i32 %7, %276 br i1 %277, label %278, label %517 278: ; preds = %275 %279 = load i32, ptr @PNG_FLAG_STRIP_ALPHA, align 4, !tbaa !11 %280 = and i32 %279, %2 %281 = icmp eq i32 %280, 0 br i1 %281, label %517, label %282 282: ; preds = %278, %272 %283 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %284 = load i32, ptr %283, align 4, !tbaa !12 %285 = icmp eq i32 %284, 2 br i1 %285, label %286, label %517 286: ; preds = %282 %287 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %288 = load i32, ptr %287, align 4, !tbaa !13 %289 = icmp eq i32 %288, 8 %290 = load i32, ptr @PNG_FLAG_FILLER_AFTER, align 4, !tbaa !11 %291 = and i32 %290, %2 %292 = icmp eq i32 %291, 0 br i1 %289, label %293, label %399 293: ; preds = %286 %294 = icmp sgt i32 %5, 0 br i1 %292, label %302, label %295 295: ; preds = %293 br i1 %294, label %296, label %397 296: ; preds = %295 %297 = add nsw i32 %5, -1 %298 = and i32 %5, 7 %299 = icmp ult i32 %297, 7 br i1 %299, label %384, label %300 300: ; preds = %296 %301 = and i32 %5, 2147483640 br label %309 302: ; preds = %293 br i1 %294, label %303, label %397 303: ; preds = %302 %304 = add nsw i32 %5, -1 %305 = and i32 %5, 7 %306 = icmp ult i32 %304, 7 br i1 %306, label %370, label %307 307: ; preds = %303 %308 = and i32 %5, 2147483640 br label %339 309: ; preds = %309, %300 %310 = phi ptr [ %1, %300 ], [ %336, %309 ] %311 = phi ptr [ %1, %300 ], [ %335, %309 ] %312 = phi i32 [ 0, %300 ], [ %337, %309 ] %313 = load i32, ptr %310, align 4, !tbaa !11 %314 = getelementptr inbounds i32, ptr %311, i64 1 store i32 %313, ptr %311, align 4, !tbaa !11 %315 = getelementptr inbounds i32, ptr %310, i64 2 %316 = load i32, ptr %315, align 4, !tbaa !11 %317 = getelementptr inbounds i32, ptr %311, i64 2 store i32 %316, ptr %314, align 4, !tbaa !11 %318 = getelementptr inbounds i32, ptr %310, i64 4 %319 = load i32, ptr %318, align 4, !tbaa !11 %320 = getelementptr inbounds i32, ptr %311, i64 3 store i32 %319, ptr %317, align 4, !tbaa !11 %321 = getelementptr inbounds i32, ptr %310, i64 6 %322 = load i32, ptr %321, align 4, !tbaa !11 %323 = getelementptr inbounds i32, ptr %311, i64 4 store i32 %322, ptr %320, align 4, !tbaa !11 %324 = getelementptr inbounds i32, ptr %310, i64 8 %325 = load i32, ptr %324, align 4, !tbaa !11 %326 = getelementptr inbounds i32, ptr %311, i64 5 store i32 %325, ptr %323, align 4, !tbaa !11 %327 = getelementptr inbounds i32, ptr %310, i64 10 %328 = load i32, ptr %327, align 4, !tbaa !11 %329 = getelementptr inbounds i32, ptr %311, i64 6 store i32 %328, ptr %326, align 4, !tbaa !11 %330 = getelementptr inbounds i32, ptr %310, i64 12 %331 = load i32, ptr %330, align 4, !tbaa !11 %332 = getelementptr inbounds i32, ptr %311, i64 7 store i32 %331, ptr %329, align 4, !tbaa !11 %333 = getelementptr inbounds i32, ptr %310, i64 14 %334 = load i32, ptr %333, align 4, !tbaa !11 %335 = getelementptr inbounds i32, ptr %311, i64 8 store i32 %334, ptr %332, align 4, !tbaa !11 %336 = getelementptr inbounds i32, ptr %310, i64 16 %337 = add i32 %312, 8 %338 = icmp eq i32 %337, %301 br i1 %338, label %384, label %309, !llvm.loop !21 339: ; preds = %339, %307 %340 = phi ptr [ %1, %307 ], [ %365, %339 ] %341 = phi ptr [ %1, %307 ], [ %367, %339 ] %342 = phi i32 [ 0, %307 ], [ %368, %339 ] %343 = getelementptr inbounds i32, ptr %340, i64 1 %344 = load i32, ptr %343, align 4, !tbaa !11 %345 = getelementptr inbounds i32, ptr %341, i64 1 store i32 %344, ptr %341, align 4, !tbaa !11 %346 = getelementptr inbounds i32, ptr %340, i64 3 %347 = load i32, ptr %346, align 4, !tbaa !11 %348 = getelementptr inbounds i32, ptr %341, i64 2 store i32 %347, ptr %345, align 4, !tbaa !11 %349 = getelementptr inbounds i32, ptr %340, i64 5 %350 = load i32, ptr %349, align 4, !tbaa !11 %351 = getelementptr inbounds i32, ptr %341, i64 3 store i32 %350, ptr %348, align 4, !tbaa !11 %352 = getelementptr inbounds i32, ptr %340, i64 7 %353 = load i32, ptr %352, align 4, !tbaa !11 %354 = getelementptr inbounds i32, ptr %341, i64 4 store i32 %353, ptr %351, align 4, !tbaa !11 %355 = getelementptr inbounds i32, ptr %340, i64 9 %356 = load i32, ptr %355, align 4, !tbaa !11 %357 = getelementptr inbounds i32, ptr %341, i64 5 store i32 %356, ptr %354, align 4, !tbaa !11 %358 = getelementptr inbounds i32, ptr %340, i64 11 %359 = load i32, ptr %358, align 4, !tbaa !11 %360 = getelementptr inbounds i32, ptr %341, i64 6 store i32 %359, ptr %357, align 4, !tbaa !11 %361 = getelementptr inbounds i32, ptr %340, i64 13 %362 = load i32, ptr %361, align 4, !tbaa !11 %363 = getelementptr inbounds i32, ptr %341, i64 7 store i32 %362, ptr %360, align 4, !tbaa !11 %364 = getelementptr inbounds i32, ptr %340, i64 15 %365 = getelementptr inbounds i32, ptr %340, i64 16 %366 = load i32, ptr %364, align 4, !tbaa !11 %367 = getelementptr inbounds i32, ptr %341, i64 8 store i32 %366, ptr %363, align 4, !tbaa !11 %368 = add i32 %342, 8 %369 = icmp eq i32 %368, %308 br i1 %369, label %370, label %339, !llvm.loop !22 370: ; preds = %339, %303 %371 = phi ptr [ %1, %303 ], [ %365, %339 ] %372 = phi ptr [ %1, %303 ], [ %367, %339 ] %373 = icmp eq i32 %305, 0 br i1 %373, label %397, label %374 374: ; preds = %370, %374 %375 = phi ptr [ %379, %374 ], [ %371, %370 ] %376 = phi ptr [ %381, %374 ], [ %372, %370 ] %377 = phi i32 [ %382, %374 ], [ 0, %370 ] %378 = getelementptr inbounds i32, ptr %375, i64 1 %379 = getelementptr inbounds i32, ptr %375, i64 2 %380 = load i32, ptr %378, align 4, !tbaa !11 %381 = getelementptr inbounds i32, ptr %376, i64 1 store i32 %380, ptr %376, align 4, !tbaa !11 %382 = add i32 %377, 1 %383 = icmp eq i32 %382, %305 br i1 %383, label %397, label %374, !llvm.loop !23 384: ; preds = %309, %296 %385 = phi ptr [ %1, %296 ], [ %336, %309 ] %386 = phi ptr [ %1, %296 ], [ %335, %309 ] %387 = icmp eq i32 %298, 0 br i1 %387, label %397, label %388 388: ; preds = %384, %388 %389 = phi ptr [ %394, %388 ], [ %385, %384 ] %390 = phi ptr [ %393, %388 ], [ %386, %384 ] %391 = phi i32 [ %395, %388 ], [ 0, %384 ] %392 = load i32, ptr %389, align 4, !tbaa !11 %393 = getelementptr inbounds i32, ptr %390, i64 1 store i32 %392, ptr %390, align 4, !tbaa !11 %394 = getelementptr inbounds i32, ptr %389, i64 2 %395 = add i32 %391, 1 %396 = icmp eq i32 %395, %298 br i1 %396, label %397, label %388, !llvm.loop !25 397: ; preds = %384, %388, %370, %374, %295, %302 %398 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 store i32 8, ptr %398, align 4, !tbaa !19 br label %514 399: ; preds = %286 br i1 %292, label %409, label %400 400: ; preds = %399 %401 = icmp sgt i32 %5, 1 br i1 %401, label %402, label %511 402: ; preds = %400 %403 = add nsw i32 %5, -1 %404 = add nsw i32 %5, -2 %405 = and i32 %403, 3 %406 = icmp ult i32 %404, 3 br i1 %406, label %495, label %407 407: ; preds = %402 %408 = and i32 %403, -4 br label %417 409: ; preds = %399 %410 = icmp sgt i32 %5, 0 br i1 %410, label %411, label %511 411: ; preds = %409 %412 = add nsw i32 %5, -1 %413 = and i32 %5, 3 %414 = icmp ult i32 %412, 3 br i1 %414, label %478, label %415 415: ; preds = %411 %416 = and i32 %5, 2147483644 br label %447 417: ; preds = %417, %407 %418 = phi ptr [ %1, %407 ], [ %439, %417 ] %419 = phi ptr [ %1, %407 ], [ %440, %417 ] %420 = phi i32 [ 0, %407 ], [ %445, %417 ] %421 = getelementptr inbounds i32, ptr %418, i64 4 %422 = getelementptr inbounds i32, ptr %419, i64 2 %423 = getelementptr inbounds i32, ptr %418, i64 5 %424 = load i32, ptr %421, align 4, !tbaa !11 %425 = getelementptr inbounds i32, ptr %419, i64 3 store i32 %424, ptr %422, align 4, !tbaa !11 %426 = load i32, ptr %423, align 4, !tbaa !11 store i32 %426, ptr %425, align 4, !tbaa !11 %427 = getelementptr inbounds i32, ptr %418, i64 8 %428 = getelementptr inbounds i32, ptr %419, i64 4 %429 = getelementptr inbounds i32, ptr %418, i64 9 %430 = load i32, ptr %427, align 4, !tbaa !11 %431 = getelementptr inbounds i32, ptr %419, i64 5 store i32 %430, ptr %428, align 4, !tbaa !11 %432 = load i32, ptr %429, align 4, !tbaa !11 store i32 %432, ptr %431, align 4, !tbaa !11 %433 = getelementptr inbounds i32, ptr %418, i64 12 %434 = getelementptr inbounds i32, ptr %419, i64 6 %435 = getelementptr inbounds i32, ptr %418, i64 13 %436 = load i32, ptr %433, align 4, !tbaa !11 %437 = getelementptr inbounds i32, ptr %419, i64 7 store i32 %436, ptr %434, align 4, !tbaa !11 %438 = load i32, ptr %435, align 4, !tbaa !11 store i32 %438, ptr %437, align 4, !tbaa !11 %439 = getelementptr inbounds i32, ptr %418, i64 16 %440 = getelementptr inbounds i32, ptr %419, i64 8 %441 = getelementptr inbounds i32, ptr %418, i64 17 %442 = load i32, ptr %439, align 4, !tbaa !11 %443 = getelementptr inbounds i32, ptr %419, i64 9 store i32 %442, ptr %440, align 4, !tbaa !11 %444 = load i32, ptr %441, align 4, !tbaa !11 store i32 %444, ptr %443, align 4, !tbaa !11 %445 = add i32 %420, 4 %446 = icmp eq i32 %445, %408 br i1 %446, label %495, label %417, !llvm.loop !26 447: ; preds = %447, %415 %448 = phi ptr [ %1, %415 ], [ %473, %447 ] %449 = phi ptr [ %1, %415 ], [ %475, %447 ] %450 = phi i32 [ 0, %415 ], [ %476, %447 ] %451 = getelementptr inbounds i32, ptr %448, i64 2 %452 = getelementptr inbounds i32, ptr %448, i64 3 %453 = load i32, ptr %451, align 4, !tbaa !11 %454 = getelementptr inbounds i32, ptr %449, i64 1 store i32 %453, ptr %449, align 4, !tbaa !11 %455 = load i32, ptr %452, align 4, !tbaa !11 %456 = getelementptr inbounds i32, ptr %449, i64 2 store i32 %455, ptr %454, align 4, !tbaa !11 %457 = getelementptr inbounds i32, ptr %448, i64 6 %458 = getelementptr inbounds i32, ptr %448, i64 7 %459 = load i32, ptr %457, align 4, !tbaa !11 %460 = getelementptr inbounds i32, ptr %449, i64 3 store i32 %459, ptr %456, align 4, !tbaa !11 %461 = load i32, ptr %458, align 4, !tbaa !11 %462 = getelementptr inbounds i32, ptr %449, i64 4 store i32 %461, ptr %460, align 4, !tbaa !11 %463 = getelementptr inbounds i32, ptr %448, i64 10 %464 = getelementptr inbounds i32, ptr %448, i64 11 %465 = load i32, ptr %463, align 4, !tbaa !11 %466 = getelementptr inbounds i32, ptr %449, i64 5 store i32 %465, ptr %462, align 4, !tbaa !11 %467 = load i32, ptr %464, align 4, !tbaa !11 %468 = getelementptr inbounds i32, ptr %449, i64 6 store i32 %467, ptr %466, align 4, !tbaa !11 %469 = getelementptr inbounds i32, ptr %448, i64 14 %470 = getelementptr inbounds i32, ptr %448, i64 15 %471 = load i32, ptr %469, align 4, !tbaa !11 %472 = getelementptr inbounds i32, ptr %449, i64 7 store i32 %471, ptr %468, align 4, !tbaa !11 %473 = getelementptr inbounds i32, ptr %448, i64 16 %474 = load i32, ptr %470, align 4, !tbaa !11 %475 = getelementptr inbounds i32, ptr %449, i64 8 store i32 %474, ptr %472, align 4, !tbaa !11 %476 = add i32 %450, 4 %477 = icmp eq i32 %476, %416 br i1 %477, label %478, label %447, !llvm.loop !27 478: ; preds = %447, %411 %479 = phi ptr [ %1, %411 ], [ %473, %447 ] %480 = phi ptr [ %1, %411 ], [ %475, %447 ] %481 = icmp eq i32 %413, 0 br i1 %481, label %511, label %482 482: ; preds = %478, %482 %483 = phi ptr [ %490, %482 ], [ %479, %478 ] %484 = phi ptr [ %492, %482 ], [ %480, %478 ] %485 = phi i32 [ %493, %482 ], [ 0, %478 ] %486 = getelementptr inbounds i32, ptr %483, i64 2 %487 = getelementptr inbounds i32, ptr %483, i64 3 %488 = load i32, ptr %486, align 4, !tbaa !11 %489 = getelementptr inbounds i32, ptr %484, i64 1 store i32 %488, ptr %484, align 4, !tbaa !11 %490 = getelementptr inbounds i32, ptr %483, i64 4 %491 = load i32, ptr %487, align 4, !tbaa !11 %492 = getelementptr inbounds i32, ptr %484, i64 2 store i32 %491, ptr %489, align 4, !tbaa !11 %493 = add i32 %485, 1 %494 = icmp eq i32 %493, %413 br i1 %494, label %511, label %482, !llvm.loop !28 495: ; preds = %417, %402 %496 = phi ptr [ %1, %402 ], [ %439, %417 ] %497 = phi ptr [ %1, %402 ], [ %440, %417 ] %498 = icmp eq i32 %405, 0 br i1 %498, label %511, label %499 499: ; preds = %495, %499 %500 = phi ptr [ %503, %499 ], [ %496, %495 ] %501 = phi ptr [ %504, %499 ], [ %497, %495 ] %502 = phi i32 [ %509, %499 ], [ 0, %495 ] %503 = getelementptr inbounds i32, ptr %500, i64 4 %504 = getelementptr inbounds i32, ptr %501, i64 2 %505 = getelementptr inbounds i32, ptr %500, i64 5 %506 = load i32, ptr %503, align 4, !tbaa !11 %507 = getelementptr inbounds i32, ptr %501, i64 3 store i32 %506, ptr %504, align 4, !tbaa !11 %508 = load i32, ptr %505, align 4, !tbaa !11 store i32 %508, ptr %507, align 4, !tbaa !11 %509 = add i32 %502, 1 %510 = icmp eq i32 %509, %405 br i1 %510, label %511, label %499, !llvm.loop !29 511: ; preds = %495, %499, %478, %482, %400, %409 %512 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 store i32 16, ptr %512, align 4, !tbaa !19 %513 = shl nsw i32 %5, 1 br label %514 514: ; preds = %511, %397 %515 = phi i32 [ %513, %511 ], [ %5, %397 ] %516 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 store i32 %515, ptr %516, align 4, !tbaa !20 store i32 1, ptr %283, align 4, !tbaa !12 br label %517 517: ; preds = %275, %278, %282, %514, %266 %518 = load i32, ptr @PNG_FLAG_STRIP_ALPHA, align 4, !tbaa !11 %519 = and i32 %518, %2 %520 = icmp eq i32 %519, 0 br i1 %520, label %526, label %521 521: ; preds = %517 %522 = load i32, ptr @PNG_COLOR_MASK_ALPHA, align 4, !tbaa !11 %523 = xor i32 %522, -1 %524 = load i32, ptr %6, align 4, !tbaa !10 %525 = and i32 %524, %523 store i32 %525, ptr %6, align 4, !tbaa !10 br label %526 526: ; preds = %521, %517 ret void } declare i32 @png_debug(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 20} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!6, !7, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15} !17 = distinct !{!17, !15} !18 = distinct !{!18, !15} !19 = !{!6, !7, i64 12} !20 = !{!6, !7, i64 16} !21 = distinct !{!21, !15} !22 = distinct !{!22, !15} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.unroll.disable"} !25 = distinct !{!25, !24} !26 = distinct !{!26, !15} !27 = distinct !{!27, !15} !28 = distinct !{!28, !24} !29 = distinct !{!29, !24}
; ModuleID = 'AnghaBench/poco/PDF/src/extr_pngtrans.c_png_do_strip_filler.c' source_filename = "AnghaBench/poco/PDF/src/extr_pngtrans.c_png_do_strip_filler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [24 x i8] c"in png_do_strip_filler\0A\00", align 1 @PNG_COLOR_TYPE_RGB = common local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_RGB_ALPHA = common local_unnamed_addr global i32 0, align 4 @PNG_FLAG_STRIP_ALPHA = common local_unnamed_addr global i32 0, align 4 @PNG_FLAG_FILLER_AFTER = common local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_GRAY = common local_unnamed_addr global i32 0, align 4 @PNG_COLOR_TYPE_GRAY_ALPHA = common local_unnamed_addr global i32 0, align 4 @PNG_COLOR_MASK_ALPHA = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @png_do_strip_filler(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @png_debug(i32 noundef 1, ptr noundef nonnull @.str) #2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 20 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = load i32, ptr @PNG_COLOR_TYPE_RGB, align 4, !tbaa !12 %9 = icmp eq i32 %7, %8 br i1 %9, label %17, label %10 10: ; preds = %3 %11 = load i32, ptr @PNG_COLOR_TYPE_RGB_ALPHA, align 4, !tbaa !12 %12 = icmp eq i32 %7, %11 br i1 %12, label %13, label %124 13: ; preds = %10 %14 = load i32, ptr @PNG_FLAG_STRIP_ALPHA, align 4, !tbaa !12 %15 = and i32 %14, %2 %16 = icmp eq i32 %15, 0 br i1 %16, label %124, label %17 17: ; preds = %13, %3 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !13 %20 = icmp eq i32 %19, 4 br i1 %20, label %21, label %124 21: ; preds = %17 %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = load i32, ptr %22, align 4, !tbaa !14 %24 = icmp eq i32 %23, 8 %25 = load i32, ptr @PNG_FLAG_FILLER_AFTER, align 4, !tbaa !12 %26 = and i32 %25, %2 %27 = icmp eq i32 %26, 0 br i1 %24, label %28, label %64 28: ; preds = %21 br i1 %27, label %31, label %29 29: ; preds = %28 %30 = icmp sgt i32 %5, 1 br i1 %30, label %33, label %118 31: ; preds = %28 %32 = icmp sgt i32 %5, 0 br i1 %32, label %48, label %118 33: ; preds = %29, %33 %34 = phi i32 [ %46, %33 ], [ 1, %29 ] %35 = phi ptr [ %37, %33 ], [ %1, %29 ] %36 = phi ptr [ %38, %33 ], [ %1, %29 ] %37 = getelementptr inbounds i8, ptr %35, i64 16 %38 = getelementptr inbounds i8, ptr %36, i64 12 %39 = getelementptr inbounds i8, ptr %35, i64 20 %40 = load i32, ptr %37, align 4, !tbaa !12 %41 = getelementptr inbounds i8, ptr %36, i64 16 store i32 %40, ptr %38, align 4, !tbaa !12 %42 = getelementptr inbounds i8, ptr %35, i64 24 %43 = load i32, ptr %39, align 4, !tbaa !12 %44 = getelementptr inbounds i8, ptr %36, i64 20 store i32 %43, ptr %41, align 4, !tbaa !12 %45 = load i32, ptr %42, align 4, !tbaa !12 store i32 %45, ptr %44, align 4, !tbaa !12 %46 = add nuw nsw i32 %34, 1 %47 = icmp eq i32 %46, %5 br i1 %47, label %118, label %33, !llvm.loop !15 48: ; preds = %31, %48 %49 = phi i32 [ %62, %48 ], [ 0, %31 ] %50 = phi ptr [ %59, %48 ], [ %1, %31 ] %51 = phi ptr [ %61, %48 ], [ %1, %31 ] %52 = getelementptr inbounds i8, ptr %50, i64 4 %53 = getelementptr inbounds i8, ptr %50, i64 8 %54 = load i32, ptr %52, align 4, !tbaa !12 %55 = getelementptr inbounds i8, ptr %51, i64 4 store i32 %54, ptr %51, align 4, !tbaa !12 %56 = getelementptr inbounds i8, ptr %50, i64 12 %57 = load i32, ptr %53, align 4, !tbaa !12 %58 = getelementptr inbounds i8, ptr %51, i64 8 store i32 %57, ptr %55, align 4, !tbaa !12 %59 = getelementptr inbounds i8, ptr %50, i64 16 %60 = load i32, ptr %56, align 4, !tbaa !12 %61 = getelementptr inbounds i8, ptr %51, i64 12 store i32 %60, ptr %58, align 4, !tbaa !12 %62 = add nuw nsw i32 %49, 1 %63 = icmp eq i32 %62, %5 br i1 %63, label %118, label %48, !llvm.loop !17 64: ; preds = %21 br i1 %27, label %67, label %65 65: ; preds = %64 %66 = icmp sgt i32 %5, 1 br i1 %66, label %69, label %118 67: ; preds = %64 %68 = icmp sgt i32 %5, 0 br i1 %68, label %93, label %118 69: ; preds = %65, %69 %70 = phi i32 [ %91, %69 ], [ 1, %65 ] %71 = phi ptr [ %73, %69 ], [ %1, %65 ] %72 = phi ptr [ %74, %69 ], [ %1, %65 ] %73 = getelementptr inbounds i8, ptr %71, i64 32 %74 = getelementptr inbounds i8, ptr %72, i64 24 %75 = getelementptr inbounds i8, ptr %71, i64 36 %76 = load i32, ptr %73, align 4, !tbaa !12 %77 = getelementptr inbounds i8, ptr %72, i64 28 store i32 %76, ptr %74, align 4, !tbaa !12 %78 = getelementptr inbounds i8, ptr %71, i64 40 %79 = load i32, ptr %75, align 4, !tbaa !12 %80 = getelementptr inbounds i8, ptr %72, i64 32 store i32 %79, ptr %77, align 4, !tbaa !12 %81 = getelementptr inbounds i8, ptr %71, i64 44 %82 = load i32, ptr %78, align 4, !tbaa !12 %83 = getelementptr inbounds i8, ptr %72, i64 36 store i32 %82, ptr %80, align 4, !tbaa !12 %84 = getelementptr inbounds i8, ptr %71, i64 48 %85 = load i32, ptr %81, align 4, !tbaa !12 %86 = getelementptr inbounds i8, ptr %72, i64 40 store i32 %85, ptr %83, align 4, !tbaa !12 %87 = getelementptr inbounds i8, ptr %71, i64 52 %88 = load i32, ptr %84, align 4, !tbaa !12 %89 = getelementptr inbounds i8, ptr %72, i64 44 store i32 %88, ptr %86, align 4, !tbaa !12 %90 = load i32, ptr %87, align 4, !tbaa !12 store i32 %90, ptr %89, align 4, !tbaa !12 %91 = add nuw nsw i32 %70, 1 %92 = icmp eq i32 %91, %5 br i1 %92, label %118, label %69, !llvm.loop !18 93: ; preds = %67, %93 %94 = phi i32 [ %116, %93 ], [ 0, %67 ] %95 = phi ptr [ %113, %93 ], [ %1, %67 ] %96 = phi ptr [ %115, %93 ], [ %1, %67 ] %97 = getelementptr inbounds i8, ptr %95, i64 8 %98 = getelementptr inbounds i8, ptr %95, i64 12 %99 = load i32, ptr %97, align 4, !tbaa !12 %100 = getelementptr inbounds i8, ptr %96, i64 4 store i32 %99, ptr %96, align 4, !tbaa !12 %101 = getelementptr inbounds i8, ptr %95, i64 16 %102 = load i32, ptr %98, align 4, !tbaa !12 %103 = getelementptr inbounds i8, ptr %96, i64 8 store i32 %102, ptr %100, align 4, !tbaa !12 %104 = getelementptr inbounds i8, ptr %95, i64 20 %105 = load i32, ptr %101, align 4, !tbaa !12 %106 = getelementptr inbounds i8, ptr %96, i64 12 store i32 %105, ptr %103, align 4, !tbaa !12 %107 = getelementptr inbounds i8, ptr %95, i64 24 %108 = load i32, ptr %104, align 4, !tbaa !12 %109 = getelementptr inbounds i8, ptr %96, i64 16 store i32 %108, ptr %106, align 4, !tbaa !12 %110 = getelementptr inbounds i8, ptr %95, i64 28 %111 = load i32, ptr %107, align 4, !tbaa !12 %112 = getelementptr inbounds i8, ptr %96, i64 20 store i32 %111, ptr %109, align 4, !tbaa !12 %113 = getelementptr inbounds i8, ptr %95, i64 32 %114 = load i32, ptr %110, align 4, !tbaa !12 %115 = getelementptr inbounds i8, ptr %96, i64 24 store i32 %114, ptr %112, align 4, !tbaa !12 %116 = add nuw nsw i32 %94, 1 %117 = icmp eq i32 %116, %5 br i1 %117, label %118, label %93, !llvm.loop !19 118: ; preds = %69, %93, %33, %48, %67, %65, %31, %29 %119 = phi i32 [ 24, %29 ], [ 24, %31 ], [ 48, %65 ], [ 48, %67 ], [ 24, %48 ], [ 24, %33 ], [ 48, %93 ], [ 48, %69 ] %120 = phi i32 [ 3, %29 ], [ 3, %31 ], [ 6, %65 ], [ 6, %67 ], [ 3, %48 ], [ 3, %33 ], [ 6, %93 ], [ 6, %69 ] %121 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %119, ptr %121, align 4, !tbaa !20 %122 = mul nsw i32 %5, %120 %123 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %122, ptr %123, align 4, !tbaa !21 store i32 3, ptr %18, align 4, !tbaa !13 br label %294 124: ; preds = %17, %13, %10 %125 = load i32, ptr @PNG_COLOR_TYPE_GRAY, align 4, !tbaa !12 %126 = icmp eq i32 %7, %125 br i1 %126, label %134, label %127 127: ; preds = %124 %128 = load i32, ptr @PNG_COLOR_TYPE_GRAY_ALPHA, align 4, !tbaa !12 %129 = icmp eq i32 %7, %128 br i1 %129, label %130, label %294 130: ; preds = %127 %131 = load i32, ptr @PNG_FLAG_STRIP_ALPHA, align 4, !tbaa !12 %132 = and i32 %131, %2 %133 = icmp eq i32 %132, 0 br i1 %133, label %294, label %134 134: ; preds = %130, %124 %135 = getelementptr inbounds i8, ptr %0, i64 4 %136 = load i32, ptr %135, align 4, !tbaa !13 %137 = icmp eq i32 %136, 2 br i1 %137, label %138, label %294 138: ; preds = %134 %139 = getelementptr inbounds i8, ptr %0, i64 8 %140 = load i32, ptr %139, align 4, !tbaa !14 %141 = icmp eq i32 %140, 8 %142 = load i32, ptr @PNG_FLAG_FILLER_AFTER, align 4, !tbaa !12 %143 = and i32 %142, %2 %144 = icmp eq i32 %143, 0 br i1 %141, label %145, label %258 145: ; preds = %138 %146 = icmp sgt i32 %5, 0 br i1 %144, label %190, label %147 147: ; preds = %145 br i1 %146, label %148, label %256 148: ; preds = %147 %149 = icmp ult i32 %5, 17 br i1 %149, label %150, label %154 150: ; preds = %165, %148 %151 = phi i32 [ 0, %148 ], [ %160, %165 ] %152 = phi ptr [ %1, %148 ], [ %162, %165 ] %153 = phi ptr [ %1, %148 ], [ %164, %165 ] br label %237 154: ; preds = %148 %155 = zext nneg i32 %5 to i64 %156 = and i64 %155, 15 %157 = icmp eq i64 %156, 0 %158 = select i1 %157, i64 16, i64 %156 %159 = sub nsw i64 %155, %158 %160 = trunc i64 %159 to i32 %161 = shl nsw i64 %159, 3 %162 = getelementptr i8, ptr %1, i64 %161 %163 = shl nsw i64 %159, 2 %164 = getelementptr i8, ptr %1, i64 %163 br label %165 165: ; preds = %165, %154 %166 = phi i64 [ 0, %154 ], [ %188, %165 ] %167 = shl i64 %166, 3 %168 = or disjoint i64 %167, 32 %169 = or disjoint i64 %167, 64 %170 = or disjoint i64 %167, 96 %171 = getelementptr i8, ptr %1, i64 %167 %172 = getelementptr i8, ptr %1, i64 %168 %173 = getelementptr i8, ptr %1, i64 %169 %174 = getelementptr i8, ptr %1, i64 %170 %175 = shl i64 %166, 2 %176 = getelementptr i8, ptr %1, i64 %175 %177 = load <8 x i32>, ptr %171, align 4, !tbaa !12 %178 = load <8 x i32>, ptr %172, align 4, !tbaa !12 %179 = load <8 x i32>, ptr %173, align 4, !tbaa !12 %180 = load <8 x i32>, ptr %174, align 4, !tbaa !12 %181 = shufflevector <8 x i32> %177, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %182 = shufflevector <8 x i32> %178, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %183 = shufflevector <8 x i32> %179, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %184 = shufflevector <8 x i32> %180, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %185 = getelementptr i8, ptr %176, i64 16 %186 = getelementptr i8, ptr %176, i64 32 %187 = getelementptr i8, ptr %176, i64 48 store <4 x i32> %181, ptr %176, align 4, !tbaa !12 store <4 x i32> %182, ptr %185, align 4, !tbaa !12 store <4 x i32> %183, ptr %186, align 4, !tbaa !12 store <4 x i32> %184, ptr %187, align 4, !tbaa !12 %188 = add nuw i64 %166, 16 %189 = icmp eq i64 %188, %159 br i1 %189, label %150, label %165, !llvm.loop !22 190: ; preds = %145 br i1 %146, label %191, label %256 191: ; preds = %190 %192 = icmp ult i32 %5, 17 br i1 %192, label %193, label %197 193: ; preds = %212, %191 %194 = phi i32 [ 0, %191 ], [ %203, %212 ] %195 = phi ptr [ %1, %191 ], [ %205, %212 ] %196 = phi ptr [ %1, %191 ], [ %207, %212 ] br label %246 197: ; preds = %191 %198 = zext nneg i32 %5 to i64 %199 = and i64 %198, 15 %200 = icmp eq i64 %199, 0 %201 = select i1 %200, i64 16, i64 %199 %202 = sub nsw i64 %198, %201 %203 = trunc i64 %202 to i32 %204 = shl nsw i64 %202, 3 %205 = getelementptr i8, ptr %1, i64 %204 %206 = shl nsw i64 %202, 2 %207 = getelementptr i8, ptr %1, i64 %206 %208 = getelementptr i8, ptr %1, i64 4 %209 = getelementptr i8, ptr %1, i64 4 %210 = getelementptr i8, ptr %1, i64 4 %211 = getelementptr i8, ptr %1, i64 4 br label %212 212: ; preds = %212, %197 %213 = phi i64 [ 0, %197 ], [ %235, %212 ] %214 = shl i64 %213, 3 %215 = or disjoint i64 %214, 32 %216 = or disjoint i64 %214, 64 %217 = or disjoint i64 %214, 96 %218 = shl i64 %213, 2 %219 = getelementptr i8, ptr %1, i64 %218 %220 = getelementptr i8, ptr %208, i64 %214 %221 = getelementptr i8, ptr %209, i64 %215 %222 = getelementptr i8, ptr %210, i64 %216 %223 = getelementptr i8, ptr %211, i64 %217 %224 = load <8 x i32>, ptr %220, align 4, !tbaa !12 %225 = load <8 x i32>, ptr %221, align 4, !tbaa !12 %226 = load <8 x i32>, ptr %222, align 4, !tbaa !12 %227 = load <8 x i32>, ptr %223, align 4, !tbaa !12 %228 = shufflevector <8 x i32> %224, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %229 = shufflevector <8 x i32> %225, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %230 = shufflevector <8 x i32> %226, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %231 = shufflevector <8 x i32> %227, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6> %232 = getelementptr i8, ptr %219, i64 16 %233 = getelementptr i8, ptr %219, i64 32 %234 = getelementptr i8, ptr %219, i64 48 store <4 x i32> %228, ptr %219, align 4, !tbaa !12 store <4 x i32> %229, ptr %232, align 4, !tbaa !12 store <4 x i32> %230, ptr %233, align 4, !tbaa !12 store <4 x i32> %231, ptr %234, align 4, !tbaa !12 %235 = add nuw i64 %213, 16 %236 = icmp eq i64 %235, %202 br i1 %236, label %193, label %212, !llvm.loop !25 237: ; preds = %150, %237 %238 = phi i32 [ %244, %237 ], [ %151, %150 ] %239 = phi ptr [ %243, %237 ], [ %152, %150 ] %240 = phi ptr [ %242, %237 ], [ %153, %150 ] %241 = load i32, ptr %239, align 4, !tbaa !12 %242 = getelementptr inbounds i8, ptr %240, i64 4 store i32 %241, ptr %240, align 4, !tbaa !12 %243 = getelementptr inbounds i8, ptr %239, i64 8 %244 = add nuw nsw i32 %238, 1 %245 = icmp eq i32 %244, %5 br i1 %245, label %256, label %237, !llvm.loop !26 246: ; preds = %193, %246 %247 = phi i32 [ %254, %246 ], [ %194, %193 ] %248 = phi ptr [ %251, %246 ], [ %195, %193 ] %249 = phi ptr [ %253, %246 ], [ %196, %193 ] %250 = getelementptr inbounds i8, ptr %248, i64 4 %251 = getelementptr inbounds i8, ptr %248, i64 8 %252 = load i32, ptr %250, align 4, !tbaa !12 %253 = getelementptr inbounds i8, ptr %249, i64 4 store i32 %252, ptr %249, align 4, !tbaa !12 %254 = add nuw nsw i32 %247, 1 %255 = icmp eq i32 %254, %5 br i1 %255, label %256, label %246, !llvm.loop !27 256: ; preds = %237, %246, %147, %190 %257 = getelementptr inbounds i8, ptr %0, i64 12 store i32 8, ptr %257, align 4, !tbaa !20 br label %291 258: ; preds = %138 br i1 %144, label %261, label %259 259: ; preds = %258 %260 = icmp sgt i32 %5, 1 br i1 %260, label %263, label %288 261: ; preds = %258 %262 = icmp sgt i32 %5, 0 br i1 %262, label %275, label %288 263: ; preds = %259, %263 %264 = phi i32 [ %273, %263 ], [ 1, %259 ] %265 = phi ptr [ %267, %263 ], [ %1, %259 ] %266 = phi ptr [ %268, %263 ], [ %1, %259 ] %267 = getelementptr inbounds i8, ptr %265, i64 16 %268 = getelementptr inbounds i8, ptr %266, i64 8 %269 = getelementptr inbounds i8, ptr %265, i64 20 %270 = load i32, ptr %267, align 4, !tbaa !12 %271 = getelementptr inbounds i8, ptr %266, i64 12 store i32 %270, ptr %268, align 4, !tbaa !12 %272 = load i32, ptr %269, align 4, !tbaa !12 store i32 %272, ptr %271, align 4, !tbaa !12 %273 = add nuw nsw i32 %264, 1 %274 = icmp eq i32 %273, %5 br i1 %274, label %288, label %263, !llvm.loop !28 275: ; preds = %261, %275 %276 = phi i32 [ %286, %275 ], [ 0, %261 ] %277 = phi ptr [ %283, %275 ], [ %1, %261 ] %278 = phi ptr [ %285, %275 ], [ %1, %261 ] %279 = getelementptr inbounds i8, ptr %277, i64 8 %280 = getelementptr inbounds i8, ptr %277, i64 12 %281 = load i32, ptr %279, align 4, !tbaa !12 %282 = getelementptr inbounds i8, ptr %278, i64 4 store i32 %281, ptr %278, align 4, !tbaa !12 %283 = getelementptr inbounds i8, ptr %277, i64 16 %284 = load i32, ptr %280, align 4, !tbaa !12 %285 = getelementptr inbounds i8, ptr %278, i64 8 store i32 %284, ptr %282, align 4, !tbaa !12 %286 = add nuw nsw i32 %276, 1 %287 = icmp eq i32 %286, %5 br i1 %287, label %288, label %275, !llvm.loop !29 288: ; preds = %263, %275, %259, %261 %289 = getelementptr inbounds i8, ptr %0, i64 12 store i32 16, ptr %289, align 4, !tbaa !20 %290 = shl nsw i32 %5, 1 br label %291 291: ; preds = %288, %256 %292 = phi i32 [ %290, %288 ], [ %5, %256 ] %293 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %292, ptr %293, align 4, !tbaa !21 store i32 1, ptr %135, align 4, !tbaa !13 br label %294 294: ; preds = %127, %130, %134, %291, %118 %295 = load i32, ptr @PNG_FLAG_STRIP_ALPHA, align 4, !tbaa !12 %296 = and i32 %295, %2 %297 = icmp eq i32 %296, 0 br i1 %297, label %303, label %298 298: ; preds = %294 %299 = load i32, ptr @PNG_COLOR_MASK_ALPHA, align 4, !tbaa !12 %300 = xor i32 %299, -1 %301 = load i32, ptr %6, align 4, !tbaa !11 %302 = and i32 %301, %300 store i32 %302, ptr %6, align 4, !tbaa !11 br label %303 303: ; preds = %298, %294 ret void } declare i32 @png_debug(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 20} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!7, !8, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16} !18 = distinct !{!18, !16} !19 = distinct !{!19, !16} !20 = !{!7, !8, i64 12} !21 = !{!7, !8, i64 16} !22 = distinct !{!22, !16, !23, !24} !23 = !{!"llvm.loop.isvectorized", i32 1} !24 = !{!"llvm.loop.unroll.runtime.disable"} !25 = distinct !{!25, !16, !23, !24} !26 = distinct !{!26, !16, !24, !23} !27 = distinct !{!27, !16, !24, !23} !28 = distinct !{!28, !16} !29 = distinct !{!29, !16}
poco_PDF_src_extr_pngtrans.c_png_do_strip_filler
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_clock.c_mmal_clock_destroy_scheduling.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_clock.c_mmal_clock_destroy_scheduling.c" target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_5__, i32 } %struct.TYPE_5__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @mmal_clock_destroy_scheduling], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mmal_clock_destroy_scheduling(ptr noundef %0) #0 { %2 = tail call i32 @mmal_clock_stop_thread(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3 %4 = tail call i32 @mmal_clock_request_flush(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = tail call i32 @mmal_list_destroy(i32 noundef %7) #2 %9 = load i32, ptr %5, align 4, !tbaa !11 %10 = tail call i32 @mmal_list_destroy(i32 noundef %9) #2 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %12 = tail call i32 @vcos_semaphore_delete(ptr noundef nonnull %11) #2 %13 = tail call i32 @mmal_clock_timer_destroy(ptr noundef %0) #2 ret void } declare i32 @mmal_clock_stop_thread(ptr noundef) local_unnamed_addr #1 declare i32 @mmal_clock_request_flush(ptr noundef) local_unnamed_addr #1 declare i32 @mmal_list_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @vcos_semaphore_delete(ptr noundef) local_unnamed_addr #1 declare i32 @mmal_clock_timer_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 12} !6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_5__", !7, i64 0, !7, i64 4} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_clock.c_mmal_clock_destroy_scheduling.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_clock.c_mmal_clock_destroy_scheduling.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 @mmal_clock_destroy_scheduling], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mmal_clock_destroy_scheduling(ptr noundef %0) #0 { %2 = tail call i32 @mmal_clock_stop_thread(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = tail call i32 @mmal_clock_request_flush(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = getelementptr inbounds i8, ptr %0, i64 12 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = tail call i32 @mmal_list_destroy(i32 noundef %7) #2 %9 = load i32, ptr %5, align 4, !tbaa !12 %10 = tail call i32 @mmal_list_destroy(i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %0, i64 4 %12 = tail call i32 @vcos_semaphore_delete(ptr noundef nonnull %11) #2 %13 = tail call i32 @mmal_clock_timer_destroy(ptr noundef %0) #2 ret void } declare i32 @mmal_clock_stop_thread(ptr noundef) local_unnamed_addr #1 declare i32 @mmal_clock_request_flush(ptr noundef) local_unnamed_addr #1 declare i32 @mmal_list_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @vcos_semaphore_delete(ptr noundef) local_unnamed_addr #1 declare i32 @mmal_clock_timer_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 12} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_5__", !8, i64 0, !8, i64 4} !12 = !{!7, !8, i64 8}
RetroArch_gfx_include_userland_interface_mmal_core_extr_mmal_clock.c_mmal_clock_destroy_scheduling
; ModuleID = 'AnghaBench/obs-studio/plugins/win-capture/extr_window-capture.c_wc_destroy.c' source_filename = "AnghaBench/obs-studio/plugins/win-capture/extr_window-capture.c_wc_destroy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.window_capture = type { ptr, ptr, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @wc_destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wc_destroy(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %17, label %3 3: ; preds = %1 %4 = tail call i32 (...) @obs_enter_graphics() #2 %5 = getelementptr inbounds %struct.window_capture, ptr %0, i64 0, i32 3 %6 = tail call i32 @dc_capture_free(ptr noundef nonnull %5) #2 %7 = tail call i32 (...) @obs_leave_graphics() #2 %8 = getelementptr inbounds %struct.window_capture, ptr %0, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = tail call i32 @bfree(ptr noundef %9) #2 %11 = getelementptr inbounds %struct.window_capture, ptr %0, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !11 %13 = tail call i32 @bfree(ptr noundef %12) #2 %14 = load ptr, ptr %0, align 8, !tbaa !12 %15 = tail call i32 @bfree(ptr noundef %14) #2 %16 = tail call i32 @bfree(ptr noundef nonnull %0) #2 br label %17 17: ; preds = %3, %1 ret void } declare i32 @obs_enter_graphics(...) local_unnamed_addr #1 declare i32 @dc_capture_free(ptr noundef) local_unnamed_addr #1 declare i32 @obs_leave_graphics(...) local_unnamed_addr #1 declare i32 @bfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"window_capture", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/obs-studio/plugins/win-capture/extr_window-capture.c_wc_destroy.c' source_filename = "AnghaBench/obs-studio/plugins/win-capture/extr_window-capture.c_wc_destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @wc_destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wc_destroy(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %17, label %3 3: ; preds = %1 %4 = tail call i32 @obs_enter_graphics() #2 %5 = getelementptr inbounds i8, ptr %0, i64 24 %6 = tail call i32 @dc_capture_free(ptr noundef nonnull %5) #2 %7 = tail call i32 @obs_leave_graphics() #2 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = tail call i32 @bfree(ptr noundef %9) #2 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = tail call i32 @bfree(ptr noundef %12) #2 %14 = load ptr, ptr %0, align 8, !tbaa !13 %15 = tail call i32 @bfree(ptr noundef %14) #2 %16 = tail call i32 @bfree(ptr noundef nonnull %0) #2 br label %17 17: ; preds = %3, %1 ret void } declare i32 @obs_enter_graphics(...) local_unnamed_addr #1 declare i32 @dc_capture_free(ptr noundef) local_unnamed_addr #1 declare i32 @obs_leave_graphics(...) local_unnamed_addr #1 declare i32 @bfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"window_capture", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 0}
obs-studio_plugins_win-capture_extr_window-capture.c_wc_destroy
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_dbg_fw_funcs.c_ecore_bus_enable_storm.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_dbg_fw_funcs.c_ecore_bus_enable_storm.c" target datalayout = "e-m:e-p270:32:32-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.storm_defs = type { i32, i32, i32, i32, i32 } %struct.dbg_bus_storm_data = type { i64, i32, i64, %union.dbg_bus_storm_eid_params, i64, i64 } %union.dbg_bus_storm_eid_params = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32, i32 } %struct.storm_mode_defs = type { i32, i64 } %struct.TYPE_5__ = type { i32, i32 } @s_storm_defs = dso_local local_unnamed_addr global ptr null, align 8 @s_storm_mode_defs = dso_local local_unnamed_addr global ptr null, align 8 @DBG_BUS_SEMI_FRAME_MODE_0SLOW_4FAST = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DEBUG_MODE = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DEBUG_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DBG_MODE23_SRC_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_MODE23_SRC_ENABLE_VAL = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DBG_MODE4_SRC_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_MODE4_SRC_ENABLE_VAL = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DBG_MODE6_SRC_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_MODE6_SRC_ENABLE_VAL = dso_local local_unnamed_addr global i32 0, align 4 @DBG_BUS_SEMI_FRAME_MODE_4SLOW_0FAST = dso_local local_unnamed_addr global i32 0, align 4 @SEM_SLOW_MODE1_DATA_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_FILTER_CID = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FILTER_CID_EN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_EVENT_ID_RANGE_STRT = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_EVENT_ID_RANGE_END = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FILTER_EID_RANGE_EN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_FILTER_EVENT_ID = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_EVENT_ID_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FILTER_EID_MASK_EN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_RECORD_FILTER_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ecore_bus_enable_storm], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ecore_bus_enable_storm(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr @s_storm_defs, align 8, !tbaa !5 %5 = zext i32 %2 to i64 %6 = getelementptr inbounds %struct.storm_defs, ptr %4, i64 %5 %7 = load ptr, ptr %0, align 8, !tbaa !9 %8 = getelementptr inbounds %struct.dbg_bus_storm_data, ptr %7, i64 %5 %9 = load ptr, ptr @s_storm_mode_defs, align 8, !tbaa !5 %10 = load i64, ptr %8, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.storm_mode_defs, ptr %9, i64 %10 %12 = load i32, ptr %6, align 4, !tbaa !16 %13 = getelementptr inbounds %struct.storm_mode_defs, ptr %9, i64 %10, i32 1 %14 = load i64, ptr %13, align 8, !tbaa !18 %15 = icmp eq i64 %14, 0 %16 = getelementptr inbounds %struct.storm_defs, ptr %4, i64 %5, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !20 br i1 %15, label %38, label %18 18: ; preds = %3 %19 = load i32, ptr @DBG_BUS_SEMI_FRAME_MODE_0SLOW_4FAST, align 4, !tbaa !21 %20 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %17, i32 noundef %19) #2 %21 = load i32, ptr @SEM_FAST_REG_DEBUG_MODE, align 4, !tbaa !21 %22 = add nsw i32 %21, %12 %23 = load i32, ptr %11, align 8, !tbaa !22 %24 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @SEM_FAST_REG_DEBUG_ACTIVE, align 4, !tbaa !21 %26 = add nsw i32 %25, %12 %27 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %26, i32 noundef 1) #2 %28 = load i32, ptr @SEM_FAST_REG_DBG_MODE23_SRC_DISABLE, align 4, !tbaa !21 %29 = add nsw i32 %28, %12 %30 = load i32, ptr @SEM_FAST_MODE23_SRC_ENABLE_VAL, align 4, !tbaa !21 %31 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %29, i32 noundef %30) #2 %32 = load i32, ptr @SEM_FAST_REG_DBG_MODE4_SRC_DISABLE, align 4, !tbaa !21 %33 = add nsw i32 %32, %12 %34 = load i32, ptr @SEM_FAST_MODE4_SRC_ENABLE_VAL, align 4, !tbaa !21 %35 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %33, i32 noundef %34) #2 %36 = load i32, ptr @SEM_FAST_REG_DBG_MODE6_SRC_DISABLE, align 4, !tbaa !21 %37 = add nsw i32 %36, %12 br label %50 38: ; preds = %3 %39 = load i32, ptr @DBG_BUS_SEMI_FRAME_MODE_4SLOW_0FAST, align 4, !tbaa !21 %40 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %17, i32 noundef %39) #2 %41 = getelementptr inbounds %struct.storm_defs, ptr %4, i64 %5, i32 2 %42 = load i32, ptr %41, align 4, !tbaa !23 %43 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %42, i32 noundef 1) #2 %44 = getelementptr inbounds %struct.storm_defs, ptr %4, i64 %5, i32 3 %45 = load i32, ptr %44, align 4, !tbaa !24 %46 = load i32, ptr %11, align 8, !tbaa !22 %47 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %45, i32 noundef %46) #2 %48 = getelementptr inbounds %struct.storm_defs, ptr %4, i64 %5, i32 4 %49 = load i32, ptr %48, align 4, !tbaa !25 br label %50 50: ; preds = %38, %18 %51 = phi ptr [ @SEM_SLOW_MODE1_DATA_ENABLE, %38 ], [ @SEM_FAST_MODE6_SRC_ENABLE_VAL, %18 ] %52 = phi i32 [ %49, %38 ], [ %37, %18 ] %53 = load i32, ptr %51, align 4, !tbaa !21 %54 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %52, i32 noundef %53) #2 %55 = getelementptr inbounds %struct.dbg_bus_storm_data, ptr %7, i64 %5, i32 5 %56 = load i64, ptr %55, align 8, !tbaa !26 %57 = icmp eq i64 %56, 0 br i1 %57, label %65, label %58 58: ; preds = %50 %59 = load i32, ptr @SEM_FAST_REG_FILTER_CID, align 4, !tbaa !21 %60 = add nsw i32 %59, %12 %61 = getelementptr inbounds %struct.dbg_bus_storm_data, ptr %7, i64 %5, i32 1 %62 = load i32, ptr %61, align 8, !tbaa !27 %63 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %60, i32 noundef %62) #2 %64 = load i32, ptr @SEM_FILTER_CID_EN_MASK, align 4, !tbaa !21 br label %65 65: ; preds = %58, %50 %66 = phi i32 [ %64, %58 ], [ 0, %50 ] %67 = getelementptr inbounds %struct.dbg_bus_storm_data, ptr %7, i64 %5, i32 4 %68 = load i64, ptr %67, align 8, !tbaa !28 %69 = icmp eq i64 %68, 0 br i1 %69, label %99, label %70 70: ; preds = %65 %71 = getelementptr inbounds %struct.dbg_bus_storm_data, ptr %7, i64 %5, i32 3 %72 = getelementptr inbounds %struct.dbg_bus_storm_data, ptr %7, i64 %5, i32 2 %73 = load i64, ptr %72, align 8, !tbaa !29 %74 = icmp eq i64 %73, 0 %75 = load i32, ptr %71, align 4, !tbaa !30 br i1 %74, label %85, label %76 76: ; preds = %70 %77 = load i32, ptr @SEM_FAST_REG_EVENT_ID_RANGE_STRT, align 4, !tbaa !21 %78 = add nsw i32 %77, %12 %79 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %78, i32 noundef %75) #2 %80 = load i32, ptr @SEM_FAST_REG_EVENT_ID_RANGE_END, align 4, !tbaa !21 %81 = add nsw i32 %80, %12 %82 = getelementptr inbounds %struct.TYPE_5__, ptr %71, i64 0, i32 1 %83 = load i32, ptr %82, align 4, !tbaa !30 %84 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %81, i32 noundef %83) #2 br label %95 85: ; preds = %70 %86 = load i32, ptr @SEM_FAST_REG_FILTER_EVENT_ID, align 4, !tbaa !21 %87 = add nsw i32 %86, %12 %88 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %87, i32 noundef %75) #2 %89 = load i32, ptr @SEM_FAST_REG_EVENT_ID_MASK, align 4, !tbaa !21 %90 = add nsw i32 %89, %12 %91 = getelementptr inbounds %struct.TYPE_6__, ptr %71, i64 0, i32 1 %92 = load i32, ptr %91, align 4, !tbaa !30 %93 = xor i32 %92, -1 %94 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %90, i32 noundef %93) #2 br label %95 95: ; preds = %85, %76 %96 = phi ptr [ @SEM_FILTER_EID_RANGE_EN_MASK, %76 ], [ @SEM_FILTER_EID_MASK_EN_MASK, %85 ] %97 = load i32, ptr %96, align 4, !tbaa !21 %98 = or i32 %97, %66 br label %99 99: ; preds = %95, %65 %100 = phi i32 [ %98, %95 ], [ %66, %65 ] %101 = icmp eq i32 %100, 0 br i1 %101, label %106, label %102 102: ; preds = %99 %103 = load i32, ptr @SEM_FAST_REG_RECORD_FILTER_ENABLE, align 4, !tbaa !21 %104 = add nsw i32 %103, %12 %105 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %104, i32 noundef %100) #2 br label %106 106: ; preds = %102, %99 ret void } declare i32 @ecore_wr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"dbg_tools_data", !11, i64 0} !11 = !{!"TYPE_4__", !6, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"dbg_bus_storm_data", !14, i64 0, !15, i64 8, !14, i64 16, !7, i64 24, !14, i64 32, !14, i64 40} !14 = !{!"long", !7, i64 0} !15 = !{!"int", !7, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"storm_defs", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16} !18 = !{!19, !14, i64 8} !19 = !{!"storm_mode_defs", !15, i64 0, !14, i64 8} !20 = !{!17, !15, i64 4} !21 = !{!15, !15, i64 0} !22 = !{!19, !15, i64 0} !23 = !{!17, !15, i64 8} !24 = !{!17, !15, i64 12} !25 = !{!17, !15, i64 16} !26 = !{!13, !14, i64 40} !27 = !{!13, !15, i64 8} !28 = !{!13, !14, i64 32} !29 = !{!13, !14, i64 16} !30 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_dbg_fw_funcs.c_ecore_bus_enable_storm.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_dbg_fw_funcs.c_ecore_bus_enable_storm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.storm_defs = type { i32, i32, i32, i32, i32 } %struct.dbg_bus_storm_data = type { i64, i32, i64, %union.dbg_bus_storm_eid_params, i64, i64 } %union.dbg_bus_storm_eid_params = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32, i32 } %struct.storm_mode_defs = type { i32, i64 } @s_storm_defs = common local_unnamed_addr global ptr null, align 8 @s_storm_mode_defs = common local_unnamed_addr global ptr null, align 8 @DBG_BUS_SEMI_FRAME_MODE_0SLOW_4FAST = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DEBUG_MODE = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DEBUG_ACTIVE = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DBG_MODE23_SRC_DISABLE = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_MODE23_SRC_ENABLE_VAL = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DBG_MODE4_SRC_DISABLE = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_MODE4_SRC_ENABLE_VAL = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_DBG_MODE6_SRC_DISABLE = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_MODE6_SRC_ENABLE_VAL = common local_unnamed_addr global i32 0, align 4 @DBG_BUS_SEMI_FRAME_MODE_4SLOW_0FAST = common local_unnamed_addr global i32 0, align 4 @SEM_SLOW_MODE1_DATA_ENABLE = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_FILTER_CID = common local_unnamed_addr global i32 0, align 4 @SEM_FILTER_CID_EN_MASK = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_EVENT_ID_RANGE_STRT = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_EVENT_ID_RANGE_END = common local_unnamed_addr global i32 0, align 4 @SEM_FILTER_EID_RANGE_EN_MASK = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_FILTER_EVENT_ID = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_EVENT_ID_MASK = common local_unnamed_addr global i32 0, align 4 @SEM_FILTER_EID_MASK_EN_MASK = common local_unnamed_addr global i32 0, align 4 @SEM_FAST_REG_RECORD_FILTER_ENABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ecore_bus_enable_storm], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ecore_bus_enable_storm(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr @s_storm_defs, align 8, !tbaa !6 %5 = zext i32 %2 to i64 %6 = getelementptr inbounds %struct.storm_defs, ptr %4, i64 %5 %7 = load ptr, ptr %0, align 8, !tbaa !10 %8 = getelementptr inbounds %struct.dbg_bus_storm_data, ptr %7, i64 %5 %9 = load ptr, ptr @s_storm_mode_defs, align 8, !tbaa !6 %10 = load i64, ptr %8, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.storm_mode_defs, ptr %9, i64 %10 %12 = load i32, ptr %6, align 4, !tbaa !17 %13 = getelementptr inbounds i8, ptr %11, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !19 %15 = icmp eq i64 %14, 0 %16 = getelementptr inbounds i8, ptr %6, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !21 br i1 %15, label %38, label %18 18: ; preds = %3 %19 = load i32, ptr @DBG_BUS_SEMI_FRAME_MODE_0SLOW_4FAST, align 4, !tbaa !22 %20 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %17, i32 noundef %19) #2 %21 = load i32, ptr @SEM_FAST_REG_DEBUG_MODE, align 4, !tbaa !22 %22 = add nsw i32 %21, %12 %23 = load i32, ptr %11, align 8, !tbaa !23 %24 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @SEM_FAST_REG_DEBUG_ACTIVE, align 4, !tbaa !22 %26 = add nsw i32 %25, %12 %27 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %26, i32 noundef 1) #2 %28 = load i32, ptr @SEM_FAST_REG_DBG_MODE23_SRC_DISABLE, align 4, !tbaa !22 %29 = add nsw i32 %28, %12 %30 = load i32, ptr @SEM_FAST_MODE23_SRC_ENABLE_VAL, align 4, !tbaa !22 %31 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %29, i32 noundef %30) #2 %32 = load i32, ptr @SEM_FAST_REG_DBG_MODE4_SRC_DISABLE, align 4, !tbaa !22 %33 = add nsw i32 %32, %12 %34 = load i32, ptr @SEM_FAST_MODE4_SRC_ENABLE_VAL, align 4, !tbaa !22 %35 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %33, i32 noundef %34) #2 %36 = load i32, ptr @SEM_FAST_REG_DBG_MODE6_SRC_DISABLE, align 4, !tbaa !22 %37 = add nsw i32 %36, %12 br label %50 38: ; preds = %3 %39 = load i32, ptr @DBG_BUS_SEMI_FRAME_MODE_4SLOW_0FAST, align 4, !tbaa !22 %40 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %17, i32 noundef %39) #2 %41 = getelementptr inbounds i8, ptr %6, i64 8 %42 = load i32, ptr %41, align 4, !tbaa !24 %43 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %42, i32 noundef 1) #2 %44 = getelementptr inbounds i8, ptr %6, i64 12 %45 = load i32, ptr %44, align 4, !tbaa !25 %46 = load i32, ptr %11, align 8, !tbaa !23 %47 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %45, i32 noundef %46) #2 %48 = getelementptr inbounds i8, ptr %6, i64 16 %49 = load i32, ptr %48, align 4, !tbaa !26 br label %50 50: ; preds = %38, %18 %51 = phi ptr [ @SEM_SLOW_MODE1_DATA_ENABLE, %38 ], [ @SEM_FAST_MODE6_SRC_ENABLE_VAL, %18 ] %52 = phi i32 [ %49, %38 ], [ %37, %18 ] %53 = load i32, ptr %51, align 4, !tbaa !22 %54 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %52, i32 noundef %53) #2 %55 = getelementptr inbounds i8, ptr %8, i64 40 %56 = load i64, ptr %55, align 8, !tbaa !27 %57 = icmp eq i64 %56, 0 br i1 %57, label %65, label %58 58: ; preds = %50 %59 = load i32, ptr @SEM_FAST_REG_FILTER_CID, align 4, !tbaa !22 %60 = add nsw i32 %59, %12 %61 = getelementptr inbounds i8, ptr %8, i64 8 %62 = load i32, ptr %61, align 8, !tbaa !28 %63 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %60, i32 noundef %62) #2 %64 = load i32, ptr @SEM_FILTER_CID_EN_MASK, align 4, !tbaa !22 br label %65 65: ; preds = %58, %50 %66 = phi i32 [ %64, %58 ], [ 0, %50 ] %67 = getelementptr inbounds i8, ptr %8, i64 32 %68 = load i64, ptr %67, align 8, !tbaa !29 %69 = icmp eq i64 %68, 0 br i1 %69, label %98, label %70 70: ; preds = %65 %71 = getelementptr inbounds i8, ptr %8, i64 24 %72 = getelementptr inbounds i8, ptr %8, i64 16 %73 = load i64, ptr %72, align 8, !tbaa !30 %74 = icmp eq i64 %73, 0 %75 = load i32, ptr %71, align 4, !tbaa !31 %76 = getelementptr inbounds i8, ptr %8, i64 28 br i1 %74, label %85, label %77 77: ; preds = %70 %78 = load i32, ptr @SEM_FAST_REG_EVENT_ID_RANGE_STRT, align 4, !tbaa !22 %79 = add nsw i32 %78, %12 %80 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %79, i32 noundef %75) #2 %81 = load i32, ptr @SEM_FAST_REG_EVENT_ID_RANGE_END, align 4, !tbaa !22 %82 = add nsw i32 %81, %12 %83 = load i32, ptr %76, align 4, !tbaa !31 %84 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %82, i32 noundef %83) #2 br label %94 85: ; preds = %70 %86 = load i32, ptr @SEM_FAST_REG_FILTER_EVENT_ID, align 4, !tbaa !22 %87 = add nsw i32 %86, %12 %88 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %87, i32 noundef %75) #2 %89 = load i32, ptr @SEM_FAST_REG_EVENT_ID_MASK, align 4, !tbaa !22 %90 = add nsw i32 %89, %12 %91 = load i32, ptr %76, align 4, !tbaa !31 %92 = xor i32 %91, -1 %93 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %90, i32 noundef %92) #2 br label %94 94: ; preds = %85, %77 %95 = phi ptr [ @SEM_FILTER_EID_RANGE_EN_MASK, %77 ], [ @SEM_FILTER_EID_MASK_EN_MASK, %85 ] %96 = load i32, ptr %95, align 4, !tbaa !22 %97 = or i32 %96, %66 br label %98 98: ; preds = %94, %65 %99 = phi i32 [ %97, %94 ], [ %66, %65 ] %100 = icmp eq i32 %99, 0 br i1 %100, label %105, label %101 101: ; preds = %98 %102 = load i32, ptr @SEM_FAST_REG_RECORD_FILTER_ENABLE, align 4, !tbaa !22 %103 = add nsw i32 %102, %12 %104 = tail call i32 @ecore_wr(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %103, i32 noundef %99) #2 br label %105 105: ; preds = %101, %98 ret void } declare i32 @ecore_wr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"dbg_tools_data", !12, i64 0} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"dbg_bus_storm_data", !15, i64 0, !16, i64 8, !15, i64 16, !8, i64 24, !15, i64 32, !15, i64 40} !15 = !{!"long", !8, i64 0} !16 = !{!"int", !8, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"storm_defs", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16} !19 = !{!20, !15, i64 8} !20 = !{!"storm_mode_defs", !16, i64 0, !15, i64 8} !21 = !{!18, !16, i64 4} !22 = !{!16, !16, i64 0} !23 = !{!20, !16, i64 0} !24 = !{!18, !16, i64 8} !25 = !{!18, !16, i64 12} !26 = !{!18, !16, i64 16} !27 = !{!14, !15, i64 40} !28 = !{!14, !16, i64 8} !29 = !{!14, !15, i64 32} !30 = !{!14, !15, i64 16} !31 = !{!8, !8, i64 0}
freebsd_sys_dev_qlnx_qlnxe_extr_ecore_dbg_fw_funcs.c_ecore_bus_enable_storm
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xkeymap.c_free_key_translation.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xkeymap.c_free_key_translation.c" target datalayout = "e-m:e-p270:32:32-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 @free_key_translation], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @free_key_translation(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1, %3 %4 = phi ptr [ %5, %3 ], [ %0, %1 ] %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @xfree(ptr noundef nonnull %4) #2 %7 = icmp eq ptr %5, null br i1 %7, label %8, label %3, !llvm.loop !10 8: ; preds = %3, %1 ret void } declare i32 @xfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xkeymap.c_free_key_translation.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xkeymap.c_free_key_translation.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_key_translation], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @free_key_translation(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1, %3 %4 = phi ptr [ %5, %3 ], [ %0, %1 ] %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @xfree(ptr noundef nonnull %4) #2 %7 = icmp eq ptr %5, null br i1 %7, label %8, label %3, !llvm.loop !11 8: ; preds = %3, %1 ret void } declare i32 @xfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
reactos_modules_rosapps_applications_net_tsclient_rdesktop_extr_xkeymap.c_free_key_translation
; ModuleID = 'AnghaBench/zstd/programs/extr_timefn.c_UTIL_clockSpanMicro.c' source_filename = "AnghaBench/zstd/programs/extr_timefn.c_UTIL_clockSpanMicro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @UTIL_clockSpanMicro(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 (...) @UTIL_getTime() #2 %3 = tail call i32 @UTIL_getSpanTimeMicro(i32 noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @UTIL_getTime(...) local_unnamed_addr #1 declare i32 @UTIL_getSpanTimeMicro(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/zstd/programs/extr_timefn.c_UTIL_clockSpanMicro.c' source_filename = "AnghaBench/zstd/programs/extr_timefn.c_UTIL_clockSpanMicro.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 @UTIL_clockSpanMicro(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @UTIL_getTime() #2 %3 = tail call i32 @UTIL_getSpanTimeMicro(i32 noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @UTIL_getTime(...) local_unnamed_addr #1 declare i32 @UTIL_getSpanTimeMicro(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)"}
zstd_programs_extr_timefn.c_UTIL_clockSpanMicro
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_der.c_der_get_tag_num.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_der.c_der_get_tag_num.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @tag_names = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @der_get_tag_num(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @tag_names, align 4, !tbaa !5 %3 = tail call i32 @SIZEOF_ARRAY(i32 noundef %2) #2 %4 = tail call i32 @get_type(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 ret i32 %4 } declare i32 @get_type(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SIZEOF_ARRAY(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_der.c_der_get_tag_num.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_der.c_der_get_tag_num.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @tag_names = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @der_get_tag_num(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @tag_names, align 4, !tbaa !6 %3 = tail call i32 @SIZEOF_ARRAY(i32 noundef %2) #2 %4 = tail call i32 @get_type(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 ret i32 %4 } declare i32 @get_type(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SIZEOF_ARRAY(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_crypto_heimdal_lib_asn1_extr_der.c_der_get_tag_num
; ModuleID = 'AnghaBench/freebsd/sys/mips/cavium/usb/extr_octusb.c_octusb_uninit.c' source_filename = "AnghaBench/freebsd/sys/mips/cavium/usb/extr_octusb.c_octusb_uninit.c" target datalayout = "e-m:e-p270:32:32-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.octusb_softc = type { i64, i32, ptr } %struct.TYPE_2__ = type { i64, i32 } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @octusb_uninit(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.octusb_softc, ptr %0, i64 0, i32 1 %3 = tail call i32 @USB_BUS_LOCK(ptr noundef nonnull %2) #2 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %23, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.octusb_softc, ptr %0, i64 0, i32 2 br label %8 8: ; preds = %6, %19 %9 = phi i64 [ %4, %6 ], [ %20, %19 ] %10 = phi i64 [ 0, %6 ], [ %21, %19 ] %11 = load ptr, ptr %7, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %8 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10, i32 1 %17 = tail call i32 @cvmx_usb_shutdown(ptr noundef nonnull %16) #2 %18 = load i64, ptr %0, align 8, !tbaa !5 br label %19 19: ; preds = %8, %15 %20 = phi i64 [ %9, %8 ], [ %18, %15 ] %21 = add i64 %10, 1 %22 = icmp eq i64 %21, %20 br i1 %22, label %23, label %8, !llvm.loop !15 23: ; preds = %19, %1 %24 = tail call i32 @USB_BUS_UNLOCK(ptr noundef nonnull %2) #2 ret i32 0 } declare i32 @USB_BUS_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @cvmx_usb_shutdown(ptr noundef) local_unnamed_addr #1 declare i32 @USB_BUS_UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"octusb_softc", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !11, i64 16} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_2__", !7, i64 0, !10, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/mips/cavium/usb/extr_octusb.c_octusb_uninit.c' source_filename = "AnghaBench/freebsd/sys/mips/cavium/usb/extr_octusb.c_octusb_uninit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, i32 } ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @octusb_uninit(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = tail call i32 @USB_BUS_LOCK(ptr noundef nonnull %2) #2 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %23, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 16 br label %8 8: ; preds = %6, %19 %9 = phi i64 [ %4, %6 ], [ %20, %19 ] %10 = phi i64 [ 0, %6 ], [ %21, %19 ] %11 = load ptr, ptr %7, align 8, !tbaa !13 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %8 %16 = getelementptr inbounds i8, ptr %12, i64 8 %17 = tail call i32 @cvmx_usb_shutdown(ptr noundef nonnull %16) #2 %18 = load i64, ptr %0, align 8, !tbaa !6 br label %19 19: ; preds = %8, %15 %20 = phi i64 [ %9, %8 ], [ %18, %15 ] %21 = add i64 %10, 1 %22 = icmp eq i64 %21, %20 br i1 %22, label %23, label %8, !llvm.loop !16 23: ; preds = %19, %1 %24 = tail call i32 @USB_BUS_UNLOCK(ptr noundef nonnull %2) #2 ret i32 0 } declare i32 @USB_BUS_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @cvmx_usb_shutdown(ptr noundef) local_unnamed_addr #1 declare i32 @USB_BUS_UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"octusb_softc", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !12, i64 16} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_2__", !8, i64 0, !11, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
freebsd_sys_mips_cavium_usb_extr_octusb.c_octusb_uninit
; ModuleID = 'AnghaBench/php-src/ext/date/lib/extr_tm2unixtime.c_do_adjust_special.c' source_filename = "AnghaBench/php-src/ext/date/lib/extr_tm2unixtime.c_do_adjust_special.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { %struct.TYPE_9__, i64 } %struct.TYPE_9__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @do_adjust_special], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_adjust_special(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %1 %6 = load i32, ptr %0, align 8, !tbaa !13 %7 = icmp eq i32 %6, 128 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = tail call i32 @do_adjust_special_weekday(ptr noundef nonnull %0) #2 br label %10 10: ; preds = %8, %5, %1 %11 = tail call i32 @timelib_do_normalize(ptr noundef nonnull %0) #2 %12 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 4) #2 ret void } declare i32 @do_adjust_special_weekday(ptr noundef) local_unnamed_addr #1 declare i32 @timelib_do_normalize(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, !12, i64 8} !6 = !{!"TYPE_8__", !7, i64 0} !7 = !{!"TYPE_7__", !8, i64 0, !12, i64 8} !8 = !{!"TYPE_9__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!6, !9, i64 0}
; ModuleID = 'AnghaBench/php-src/ext/date/lib/extr_tm2unixtime.c_do_adjust_special.c' source_filename = "AnghaBench/php-src/ext/date/lib/extr_tm2unixtime.c_do_adjust_special.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 @do_adjust_special], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_adjust_special(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %1 %6 = load i32, ptr %0, align 8, !tbaa !14 %7 = icmp eq i32 %6, 128 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = tail call i32 @do_adjust_special_weekday(ptr noundef nonnull %0) #2 br label %10 10: ; preds = %8, %5, %1 %11 = tail call i32 @timelib_do_normalize(ptr noundef nonnull %0) #2 %12 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 4) #2 ret void } declare i32 @do_adjust_special_weekday(ptr noundef) local_unnamed_addr #1 declare i32 @timelib_do_normalize(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, !13, i64 8} !7 = !{!"TYPE_8__", !8, i64 0} !8 = !{!"TYPE_7__", !9, i64 0, !13, i64 8} !9 = !{!"TYPE_9__", !10, i64 0} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"long", !11, i64 0} !14 = !{!7, !10, i64 0}
php-src_ext_date_lib_extr_tm2unixtime.c_do_adjust_special
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/aicasm/extr_aicasm.c_main.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/aicasm/extr_aicasm.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, i64, ptr } @patches = dso_local global i32 0, align 4 @search_path = dso_local global i32 0, align 4 @seq_program = dso_local global i32 0, align 4 @cs_tailq = dso_local global i32 0, align 4 @scope_stack = dso_local global i32 0, align 4 @SCOPE_ROOT = dso_local local_unnamed_addr global i64 0, align 8 @includes_search_curdir = dso_local local_unnamed_addr global i32 0, align 4 @appname = dso_local local_unnamed_addr global ptr null, align 8 @regfile = dso_local local_unnamed_addr global ptr null, align 8 @listfile = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c"d:i:l:n:o:p:r:I:\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"-d: Assembler not built with debugging information\00", align 1 @EX_SOFTWARE = dso_local local_unnamed_addr global i32 0, align 4 @optarg = external local_unnamed_addr global ptr, align 8 @stock_include_file = dso_local local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @EX_CANTCREAT = dso_local local_unnamed_addr global i32 0, align 4 @listfilename = dso_local local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [8 x i8] c"ostdinc\00", align 1 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [26 x i8] c"%s: Unknown option -%c%s\0A\00", align 1 @ofile = dso_local local_unnamed_addr global ptr null, align 8 @ofilename = dso_local local_unnamed_addr global ptr null, align 8 @regdiagfile = dso_local local_unnamed_addr global ptr null, align 8 @regdiagfilename = dso_local local_unnamed_addr global ptr null, align 8 @regfilename = dso_local local_unnamed_addr global ptr null, align 8 @.str.5 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.6 = private unnamed_addr constant [46 x i8] c"%s: Warning - '-I-' specified multiple times\0A\00", align 1 @links = dso_local local_unnamed_addr global i32 0, align 4 @EX_OSERR = dso_local local_unnamed_addr global i32 0, align 4 @optind = external local_unnamed_addr global i32, align 4 @.str.7 = private unnamed_addr constant [30 x i8] c"%s: No input file specifiled\0A\00", align 1 @.str.8 = private unnamed_addr constant [51 x i8] c"%s: The -p option requires the -r and -i options.\0A\00", align 1 @SOURCE_FILE = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [36 x i8] c"Unterminated conditional expression\00", align 1 @EX_DATAERR = dso_local local_unnamed_addr global i32 0, align 4 @mm_flex_debug = dso_local local_unnamed_addr global i32 0, align 4 @mmdebug = dso_local local_unnamed_addr global i32 0, align 4 @yy_flex_debug = dso_local local_unnamed_addr global i32 0, align 4 @yydebug = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @STAILQ_INIT(ptr noundef nonnull @patches) #5 %4 = tail call i32 @SLIST_INIT(ptr noundef nonnull @search_path) #5 %5 = tail call i32 @STAILQ_INIT(ptr noundef nonnull @seq_program) #5 %6 = tail call i32 @TAILQ_INIT(ptr noundef nonnull @cs_tailq) #5 %7 = tail call i32 @SLIST_INIT(ptr noundef nonnull @scope_stack) #5 %8 = tail call ptr (...) @scope_alloc() #5 %9 = load i64, ptr @SCOPE_ROOT, align 8, !tbaa !5 store i64 %9, ptr %8, align 8, !tbaa !9 store i32 1, ptr @includes_search_curdir, align 4, !tbaa !11 %10 = load ptr, ptr %1, align 8, !tbaa !13 store ptr %10, ptr @appname, align 8, !tbaa !13 store ptr null, ptr @regfile, align 8, !tbaa !13 store ptr null, ptr @listfile, align 8, !tbaa !13 br label %11 11: ; preds = %114, %2 %12 = tail call i32 @getopt(i32 noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @.str) #5 switch i32 %12, label %112 [ i32 -1, label %115 i32 100, label %13 i32 105, label %16 i32 108, label %18 i32 110, label %29 i32 111, label %38 i32 112, label %49 i32 114, label %60 i32 73, label %71 ] 13: ; preds = %11 %14 = load i32, ptr @EX_SOFTWARE, align 4, !tbaa !11 %15 = tail call i32 @stop(ptr noundef nonnull @.str.1, i32 noundef %14) #5 br label %114 16: ; preds = %11 %17 = load ptr, ptr @optarg, align 8, !tbaa !13 store ptr %17, ptr @stock_include_file, align 8, !tbaa !13 br label %114 18: ; preds = %11 %19 = load ptr, ptr @optarg, align 8, !tbaa !13 %20 = tail call ptr @fopen(ptr noundef %19, ptr noundef nonnull @.str.2) store ptr %20, ptr @listfile, align 8, !tbaa !13 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %27 22: ; preds = %18 %23 = load ptr, ptr @optarg, align 8, !tbaa !13 %24 = tail call i32 @perror(ptr noundef %23) #5 %25 = load i32, ptr @EX_CANTCREAT, align 4, !tbaa !11 %26 = tail call i32 @stop(ptr noundef null, i32 noundef %25) #5 br label %27 27: ; preds = %22, %18 %28 = load ptr, ptr @optarg, align 8, !tbaa !13 store ptr %28, ptr @listfilename, align 8, !tbaa !13 br label %114 29: ; preds = %11 %30 = load ptr, ptr @optarg, align 8, !tbaa !13 %31 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(8) @.str.3) %32 = icmp eq i32 %31, 0 br i1 %32, label %114, label %33 33: ; preds = %29 %34 = load i32, ptr @stderr, align 4, !tbaa !11 %35 = load ptr, ptr @appname, align 8, !tbaa !13 %36 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %34, ptr noundef nonnull @.str.4, ptr noundef %35, i32 noundef 110, ptr noundef %30) #5 %37 = tail call i32 (...) @usage() #5 br label %114 38: ; preds = %11 %39 = load ptr, ptr @optarg, align 8, !tbaa !13 %40 = tail call ptr @fopen(ptr noundef %39, ptr noundef nonnull @.str.2) store ptr %40, ptr @ofile, align 8, !tbaa !13 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %47 42: ; preds = %38 %43 = load ptr, ptr @optarg, align 8, !tbaa !13 %44 = tail call i32 @perror(ptr noundef %43) #5 %45 = load i32, ptr @EX_CANTCREAT, align 4, !tbaa !11 %46 = tail call i32 @stop(ptr noundef null, i32 noundef %45) #5 br label %47 47: ; preds = %42, %38 %48 = load ptr, ptr @optarg, align 8, !tbaa !13 store ptr %48, ptr @ofilename, align 8, !tbaa !13 br label %114 49: ; preds = %11 %50 = load ptr, ptr @optarg, align 8, !tbaa !13 %51 = tail call ptr @fopen(ptr noundef %50, ptr noundef nonnull @.str.2) store ptr %51, ptr @regdiagfile, align 8, !tbaa !13 %52 = icmp eq ptr %51, null br i1 %52, label %53, label %58 53: ; preds = %49 %54 = load ptr, ptr @optarg, align 8, !tbaa !13 %55 = tail call i32 @perror(ptr noundef %54) #5 %56 = load i32, ptr @EX_CANTCREAT, align 4, !tbaa !11 %57 = tail call i32 @stop(ptr noundef null, i32 noundef %56) #5 br label %58 58: ; preds = %53, %49 %59 = load ptr, ptr @optarg, align 8, !tbaa !13 store ptr %59, ptr @regdiagfilename, align 8, !tbaa !13 br label %114 60: ; preds = %11 %61 = load ptr, ptr @optarg, align 8, !tbaa !13 %62 = tail call ptr @fopen(ptr noundef %61, ptr noundef nonnull @.str.2) store ptr %62, ptr @regfile, align 8, !tbaa !13 %63 = icmp eq ptr %62, null br i1 %63, label %64, label %69 64: ; preds = %60 %65 = load ptr, ptr @optarg, align 8, !tbaa !13 %66 = tail call i32 @perror(ptr noundef %65) #5 %67 = load i32, ptr @EX_CANTCREAT, align 4, !tbaa !11 %68 = tail call i32 @stop(ptr noundef null, i32 noundef %67) #5 br label %69 69: ; preds = %64, %60 %70 = load ptr, ptr @optarg, align 8, !tbaa !13 store ptr %70, ptr @regfilename, align 8, !tbaa !13 br label %114 71: ; preds = %11 %72 = load ptr, ptr @optarg, align 8, !tbaa !13 %73 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %72, ptr noundef nonnull dereferenceable(2) @.str.5) %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %90 75: ; preds = %71 %76 = load i32, ptr @includes_search_curdir, align 4, !tbaa !11 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %82 78: ; preds = %75 %79 = load i32, ptr @stderr, align 4, !tbaa !11 %80 = load ptr, ptr @appname, align 8, !tbaa !13 %81 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %79, ptr noundef nonnull @.str.6, ptr noundef %80) #5 br label %82 82: ; preds = %78, %75 store i32 0, ptr @includes_search_curdir, align 4, !tbaa !11 %83 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @search_path) #5 %84 = icmp eq ptr %83, null br i1 %84, label %114, label %85 85: ; preds = %82, %85 %86 = phi ptr [ %88, %85 ], [ %83, %82 ] store i32 1, ptr %86, align 8, !tbaa !15 %87 = load i32, ptr @links, align 4, !tbaa !11 %88 = tail call ptr @SLIST_NEXT(ptr noundef nonnull %86, i32 noundef %87) #5 %89 = icmp eq ptr %88, null br i1 %89, label %114, label %85, !llvm.loop !17 90: ; preds = %71 %91 = tail call i32 @malloc(i32 noundef 24) #5 %92 = sext i32 %91 to i64 %93 = inttoptr i64 %92 to ptr %94 = icmp eq i32 %91, 0 br i1 %94, label %95, label %100 95: ; preds = %90 %96 = load ptr, ptr @optarg, align 8, !tbaa !13 %97 = tail call i32 @perror(ptr noundef %96) #5 %98 = load i32, ptr @EX_OSERR, align 4, !tbaa !11 %99 = tail call i32 @stop(ptr noundef null, i32 noundef %98) #5 br label %100 100: ; preds = %95, %90 %101 = load ptr, ptr @optarg, align 8, !tbaa !13 %102 = tail call ptr @strdup(ptr noundef %101) %103 = getelementptr inbounds %struct.TYPE_11__, ptr %93, i64 0, i32 2 store ptr %102, ptr %103, align 8, !tbaa !19 %104 = icmp eq ptr %102, null br i1 %104, label %105, label %109 105: ; preds = %100 %106 = tail call i32 @perror(ptr noundef %101) #5 %107 = load i32, ptr @EX_OSERR, align 4, !tbaa !11 %108 = tail call i32 @stop(ptr noundef null, i32 noundef %107) #5 br label %109 109: ; preds = %105, %100 store i32 0, ptr %93, align 8, !tbaa !15 %110 = load i32, ptr @links, align 4, !tbaa !11 %111 = tail call i32 @SLIST_INSERT_HEAD(ptr noundef nonnull @search_path, ptr noundef nonnull %93, i32 noundef %110) #5 br label %114 112: ; preds = %11 %113 = tail call i32 (...) @usage() #5 br label %114 114: ; preds = %85, %82, %109, %29, %33, %112, %69, %58, %47, %27, %16, %13 br label %11, !llvm.loop !20 115: ; preds = %11 %116 = load i32, ptr @optind, align 4, !tbaa !11 %117 = sub nsw i32 %0, %116 %118 = sext i32 %116 to i64 %119 = getelementptr inbounds ptr, ptr %1, i64 %118 %120 = icmp eq i32 %117, 1 br i1 %120, label %126, label %121 121: ; preds = %115 %122 = load i32, ptr @stderr, align 4, !tbaa !11 %123 = load ptr, ptr @appname, align 8, !tbaa !13 %124 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %122, ptr noundef nonnull @.str.7, ptr noundef %123) #5 %125 = tail call i32 (...) @usage() #5 br label %126 126: ; preds = %121, %115 %127 = load ptr, ptr @regdiagfile, align 8, !tbaa !13 %128 = icmp eq ptr %127, null br i1 %128, label %140, label %129 129: ; preds = %126 %130 = load ptr, ptr @regfile, align 8, !tbaa !13 %131 = icmp eq ptr %130, null %132 = load ptr, ptr @stock_include_file, align 8 %133 = icmp eq ptr %132, null %134 = select i1 %131, i1 true, i1 %133 br i1 %134, label %135, label %140 135: ; preds = %129 %136 = load i32, ptr @stderr, align 4, !tbaa !11 %137 = load ptr, ptr @appname, align 8, !tbaa !13 %138 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %136, ptr noundef nonnull @.str.8, ptr noundef %137) #5 %139 = tail call i32 (...) @usage() #5 br label %140 140: ; preds = %129, %135, %126 %141 = tail call i32 (...) @symtable_open() #5 %142 = load ptr, ptr %119, align 8, !tbaa !13 %143 = load i32, ptr @SOURCE_FILE, align 4, !tbaa !11 %144 = tail call i32 @include_file(ptr noundef %142, i32 noundef %143) #5 %145 = tail call i32 (...) @yyparse() #5 %146 = icmp eq i32 %145, 0 br i1 %146, label %147, label %180 147: ; preds = %140 %148 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @scope_stack) #5 %149 = icmp eq ptr %148, null br i1 %149, label %156, label %150 150: ; preds = %147 %151 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @scope_stack) #5 %152 = getelementptr inbounds %struct.TYPE_11__, ptr %151, i64 0, i32 1 %153 = load i64, ptr %152, align 8, !tbaa !21 %154 = load i64, ptr @SCOPE_ROOT, align 8, !tbaa !5 %155 = icmp eq i64 %153, %154 br i1 %155, label %159, label %156 156: ; preds = %150, %147 %157 = load i32, ptr @EX_DATAERR, align 4, !tbaa !11 %158 = tail call i32 @stop(ptr noundef nonnull @.str.9, i32 noundef %157) #5 br label %159 159: ; preds = %156, %150 %160 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @scope_stack) #5 %161 = tail call i32 @process_scope(ptr noundef %160) #5 %162 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @scope_stack) #5 %163 = tail call i32 @dump_scope(ptr noundef %162) #5 %164 = tail call i32 (...) @back_patch() #5 %165 = load ptr, ptr @ofile, align 8, !tbaa !13 %166 = icmp eq ptr %165, null br i1 %166, label %169, label %167 167: ; preds = %159 %168 = tail call i32 (...) @output_code() #5 br label %169 169: ; preds = %167, %159 %170 = load ptr, ptr @regfile, align 8, !tbaa !13 %171 = icmp eq ptr %170, null br i1 %171, label %175, label %172 172: ; preds = %169 %173 = load ptr, ptr @regdiagfile, align 8, !tbaa !13 %174 = tail call i32 @symtable_dump(ptr noundef nonnull %170, ptr noundef %173) #5 br label %175 175: ; preds = %172, %169 %176 = load ptr, ptr @listfile, align 8, !tbaa !13 %177 = icmp eq ptr %176, null br i1 %177, label %180, label %178 178: ; preds = %175 %179 = tail call i32 @output_listing(ptr noundef %142) #5 br label %180 180: ; preds = %175, %178, %140 %181 = tail call i32 @stop(ptr noundef null, i32 noundef 0) #5 ret i32 0 } declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @SLIST_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare ptr @scope_alloc(...) local_unnamed_addr #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @stop(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @perror(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @usage(...) local_unnamed_addr #1 declare ptr @SLIST_FIRST(ptr noundef) local_unnamed_addr #1 declare ptr @SLIST_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @malloc(i32 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 #4 declare i32 @SLIST_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @symtable_open(...) local_unnamed_addr #1 declare i32 @include_file(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @yyparse(...) local_unnamed_addr #1 declare i32 @process_scope(ptr noundef) local_unnamed_addr #1 declare i32 @dump_scope(ptr noundef) local_unnamed_addr #1 declare i32 @back_patch(...) local_unnamed_addr #1 declare i32 @output_code(...) local_unnamed_addr #1 declare i32 @symtable_dump(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @output_listing(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-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 = { 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 #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_10__", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_11__", !12, i64 0, !6, i64 8, !14, i64 16} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!16, !14, i64 16} !20 = distinct !{!20, !18} !21 = !{!16, !6, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/aicasm/extr_aicasm.c_main.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/aicasm/extr_aicasm.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @patches = common global i32 0, align 4 @search_path = common global i32 0, align 4 @seq_program = common global i32 0, align 4 @cs_tailq = common global i32 0, align 4 @scope_stack = common global i32 0, align 4 @SCOPE_ROOT = common local_unnamed_addr global i64 0, align 8 @includes_search_curdir = common local_unnamed_addr global i32 0, align 4 @appname = common local_unnamed_addr global ptr null, align 8 @regfile = common local_unnamed_addr global ptr null, align 8 @listfile = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c"d:i:l:n:o:p:r:I:\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"-d: Assembler not built with debugging information\00", align 1 @EX_SOFTWARE = common local_unnamed_addr global i32 0, align 4 @optarg = external local_unnamed_addr global ptr, align 8 @stock_include_file = common local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @EX_CANTCREAT = common local_unnamed_addr global i32 0, align 4 @listfilename = common local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [8 x i8] c"ostdinc\00", align 1 @stderr = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [26 x i8] c"%s: Unknown option -%c%s\0A\00", align 1 @ofile = common local_unnamed_addr global ptr null, align 8 @ofilename = common local_unnamed_addr global ptr null, align 8 @regdiagfile = common local_unnamed_addr global ptr null, align 8 @regdiagfilename = common local_unnamed_addr global ptr null, align 8 @regfilename = common local_unnamed_addr global ptr null, align 8 @.str.6 = private unnamed_addr constant [46 x i8] c"%s: Warning - '-I-' specified multiple times\0A\00", align 1 @links = common local_unnamed_addr global i32 0, align 4 @EX_OSERR = common local_unnamed_addr global i32 0, align 4 @optind = external local_unnamed_addr global i32, align 4 @.str.7 = private unnamed_addr constant [30 x i8] c"%s: No input file specifiled\0A\00", align 1 @.str.8 = private unnamed_addr constant [51 x i8] c"%s: The -p option requires the -r and -i options.\0A\00", align 1 @SOURCE_FILE = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [36 x i8] c"Unterminated conditional expression\00", align 1 @EX_DATAERR = common local_unnamed_addr global i32 0, align 4 @mm_flex_debug = common local_unnamed_addr global i32 0, align 4 @mmdebug = common local_unnamed_addr global i32 0, align 4 @yy_flex_debug = common local_unnamed_addr global i32 0, align 4 @yydebug = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @STAILQ_INIT(ptr noundef nonnull @patches) #5 %4 = tail call i32 @SLIST_INIT(ptr noundef nonnull @search_path) #5 %5 = tail call i32 @STAILQ_INIT(ptr noundef nonnull @seq_program) #5 %6 = tail call i32 @TAILQ_INIT(ptr noundef nonnull @cs_tailq) #5 %7 = tail call i32 @SLIST_INIT(ptr noundef nonnull @scope_stack) #5 %8 = tail call ptr @scope_alloc() #5 %9 = load i64, ptr @SCOPE_ROOT, align 8, !tbaa !6 store i64 %9, ptr %8, align 8, !tbaa !10 store i32 1, ptr @includes_search_curdir, align 4, !tbaa !12 %10 = load ptr, ptr %1, align 8, !tbaa !14 store ptr %10, ptr @appname, align 8, !tbaa !14 store ptr null, ptr @regfile, align 8, !tbaa !14 store ptr null, ptr @listfile, align 8, !tbaa !14 br label %11 11: ; preds = %123, %2 %12 = tail call i32 @getopt(i32 noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @.str) #5 switch i32 %12, label %121 [ i32 -1, label %124 i32 100, label %13 i32 105, label %16 i32 108, label %18 i32 110, label %29 i32 111, label %38 i32 112, label %49 i32 114, label %60 i32 73, label %71 ] 13: ; preds = %11 %14 = load i32, ptr @EX_SOFTWARE, align 4, !tbaa !12 %15 = tail call i32 @stop(ptr noundef nonnull @.str.1, i32 noundef %14) #5 br label %123 16: ; preds = %11 %17 = load ptr, ptr @optarg, align 8, !tbaa !14 store ptr %17, ptr @stock_include_file, align 8, !tbaa !14 br label %123 18: ; preds = %11 %19 = load ptr, ptr @optarg, align 8, !tbaa !14 %20 = tail call ptr @fopen(ptr noundef %19, ptr noundef nonnull @.str.2) store ptr %20, ptr @listfile, align 8, !tbaa !14 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %27 22: ; preds = %18 %23 = load ptr, ptr @optarg, align 8, !tbaa !14 %24 = tail call i32 @perror(ptr noundef %23) #5 %25 = load i32, ptr @EX_CANTCREAT, align 4, !tbaa !12 %26 = tail call i32 @stop(ptr noundef null, i32 noundef %25) #5 br label %27 27: ; preds = %22, %18 %28 = load ptr, ptr @optarg, align 8, !tbaa !14 store ptr %28, ptr @listfilename, align 8, !tbaa !14 br label %123 29: ; preds = %11 %30 = load ptr, ptr @optarg, align 8, !tbaa !14 %31 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(8) @.str.3) %32 = icmp eq i32 %31, 0 br i1 %32, label %123, label %33 33: ; preds = %29 %34 = load i32, ptr @stderr, align 4, !tbaa !12 %35 = load ptr, ptr @appname, align 8, !tbaa !14 %36 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %34, ptr noundef nonnull @.str.4, ptr noundef %35, i32 noundef 110, ptr noundef %30) #5 %37 = tail call i32 @usage() #5 br label %123 38: ; preds = %11 %39 = load ptr, ptr @optarg, align 8, !tbaa !14 %40 = tail call ptr @fopen(ptr noundef %39, ptr noundef nonnull @.str.2) store ptr %40, ptr @ofile, align 8, !tbaa !14 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %47 42: ; preds = %38 %43 = load ptr, ptr @optarg, align 8, !tbaa !14 %44 = tail call i32 @perror(ptr noundef %43) #5 %45 = load i32, ptr @EX_CANTCREAT, align 4, !tbaa !12 %46 = tail call i32 @stop(ptr noundef null, i32 noundef %45) #5 br label %47 47: ; preds = %42, %38 %48 = load ptr, ptr @optarg, align 8, !tbaa !14 store ptr %48, ptr @ofilename, align 8, !tbaa !14 br label %123 49: ; preds = %11 %50 = load ptr, ptr @optarg, align 8, !tbaa !14 %51 = tail call ptr @fopen(ptr noundef %50, ptr noundef nonnull @.str.2) store ptr %51, ptr @regdiagfile, align 8, !tbaa !14 %52 = icmp eq ptr %51, null br i1 %52, label %53, label %58 53: ; preds = %49 %54 = load ptr, ptr @optarg, align 8, !tbaa !14 %55 = tail call i32 @perror(ptr noundef %54) #5 %56 = load i32, ptr @EX_CANTCREAT, align 4, !tbaa !12 %57 = tail call i32 @stop(ptr noundef null, i32 noundef %56) #5 br label %58 58: ; preds = %53, %49 %59 = load ptr, ptr @optarg, align 8, !tbaa !14 store ptr %59, ptr @regdiagfilename, align 8, !tbaa !14 br label %123 60: ; preds = %11 %61 = load ptr, ptr @optarg, align 8, !tbaa !14 %62 = tail call ptr @fopen(ptr noundef %61, ptr noundef nonnull @.str.2) store ptr %62, ptr @regfile, align 8, !tbaa !14 %63 = icmp eq ptr %62, null br i1 %63, label %64, label %69 64: ; preds = %60 %65 = load ptr, ptr @optarg, align 8, !tbaa !14 %66 = tail call i32 @perror(ptr noundef %65) #5 %67 = load i32, ptr @EX_CANTCREAT, align 4, !tbaa !12 %68 = tail call i32 @stop(ptr noundef null, i32 noundef %67) #5 br label %69 69: ; preds = %64, %60 %70 = load ptr, ptr @optarg, align 8, !tbaa !14 store ptr %70, ptr @regfilename, align 8, !tbaa !14 br label %123 71: ; preds = %11 %72 = load ptr, ptr @optarg, align 8, !tbaa !14 %73 = load i8, ptr %72, align 1 %74 = zext i8 %73 to i32 %75 = add nsw i32 %74, -45 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %81 77: ; preds = %71 %78 = getelementptr inbounds i8, ptr %72, i64 1 %79 = load i8, ptr %78, align 1 %80 = zext i8 %79 to i32 br label %81 81: ; preds = %71, %77 %82 = phi i32 [ %75, %71 ], [ %80, %77 ] %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %99 84: ; preds = %81 %85 = load i32, ptr @includes_search_curdir, align 4, !tbaa !12 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %91 87: ; preds = %84 %88 = load i32, ptr @stderr, align 4, !tbaa !12 %89 = load ptr, ptr @appname, align 8, !tbaa !14 %90 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %88, ptr noundef nonnull @.str.6, ptr noundef %89) #5 br label %91 91: ; preds = %87, %84 store i32 0, ptr @includes_search_curdir, align 4, !tbaa !12 %92 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @search_path) #5 %93 = icmp eq ptr %92, null br i1 %93, label %123, label %94 94: ; preds = %91, %94 %95 = phi ptr [ %97, %94 ], [ %92, %91 ] store i32 1, ptr %95, align 8, !tbaa !16 %96 = load i32, ptr @links, align 4, !tbaa !12 %97 = tail call ptr @SLIST_NEXT(ptr noundef nonnull %95, i32 noundef %96) #5 %98 = icmp eq ptr %97, null br i1 %98, label %123, label %94, !llvm.loop !18 99: ; preds = %81 %100 = tail call i32 @malloc(i32 noundef 24) #5 %101 = sext i32 %100 to i64 %102 = inttoptr i64 %101 to ptr %103 = icmp eq i32 %100, 0 br i1 %103, label %104, label %109 104: ; preds = %99 %105 = load ptr, ptr @optarg, align 8, !tbaa !14 %106 = tail call i32 @perror(ptr noundef %105) #5 %107 = load i32, ptr @EX_OSERR, align 4, !tbaa !12 %108 = tail call i32 @stop(ptr noundef null, i32 noundef %107) #5 br label %109 109: ; preds = %104, %99 %110 = load ptr, ptr @optarg, align 8, !tbaa !14 %111 = tail call ptr @strdup(ptr noundef %110) %112 = getelementptr inbounds i8, ptr %102, i64 16 store ptr %111, ptr %112, align 8, !tbaa !20 %113 = icmp eq ptr %111, null br i1 %113, label %114, label %118 114: ; preds = %109 %115 = tail call i32 @perror(ptr noundef %110) #5 %116 = load i32, ptr @EX_OSERR, align 4, !tbaa !12 %117 = tail call i32 @stop(ptr noundef null, i32 noundef %116) #5 br label %118 118: ; preds = %114, %109 store i32 0, ptr %102, align 8, !tbaa !16 %119 = load i32, ptr @links, align 4, !tbaa !12 %120 = tail call i32 @SLIST_INSERT_HEAD(ptr noundef nonnull @search_path, ptr noundef nonnull %102, i32 noundef %119) #5 br label %123 121: ; preds = %11 %122 = tail call i32 @usage() #5 br label %123 123: ; preds = %94, %91, %118, %29, %33, %121, %69, %58, %47, %27, %16, %13 br label %11, !llvm.loop !21 124: ; preds = %11 %125 = load i32, ptr @optind, align 4, !tbaa !12 %126 = sub nsw i32 %0, %125 %127 = sext i32 %125 to i64 %128 = getelementptr inbounds ptr, ptr %1, i64 %127 %129 = icmp eq i32 %126, 1 br i1 %129, label %135, label %130 130: ; preds = %124 %131 = load i32, ptr @stderr, align 4, !tbaa !12 %132 = load ptr, ptr @appname, align 8, !tbaa !14 %133 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %131, ptr noundef nonnull @.str.7, ptr noundef %132) #5 %134 = tail call i32 @usage() #5 br label %135 135: ; preds = %130, %124 %136 = load ptr, ptr @regdiagfile, align 8, !tbaa !14 %137 = icmp eq ptr %136, null br i1 %137, label %149, label %138 138: ; preds = %135 %139 = load ptr, ptr @regfile, align 8, !tbaa !14 %140 = icmp eq ptr %139, null %141 = load ptr, ptr @stock_include_file, align 8 %142 = icmp eq ptr %141, null %143 = select i1 %140, i1 true, i1 %142 br i1 %143, label %144, label %149 144: ; preds = %138 %145 = load i32, ptr @stderr, align 4, !tbaa !12 %146 = load ptr, ptr @appname, align 8, !tbaa !14 %147 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %145, ptr noundef nonnull @.str.8, ptr noundef %146) #5 %148 = tail call i32 @usage() #5 br label %149 149: ; preds = %138, %144, %135 %150 = tail call i32 @symtable_open() #5 %151 = load ptr, ptr %128, align 8, !tbaa !14 %152 = load i32, ptr @SOURCE_FILE, align 4, !tbaa !12 %153 = tail call i32 @include_file(ptr noundef %151, i32 noundef %152) #5 %154 = tail call i32 @yyparse() #5 %155 = icmp eq i32 %154, 0 br i1 %155, label %156, label %189 156: ; preds = %149 %157 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @scope_stack) #5 %158 = icmp eq ptr %157, null br i1 %158, label %165, label %159 159: ; preds = %156 %160 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @scope_stack) #5 %161 = getelementptr inbounds i8, ptr %160, i64 8 %162 = load i64, ptr %161, align 8, !tbaa !22 %163 = load i64, ptr @SCOPE_ROOT, align 8, !tbaa !6 %164 = icmp eq i64 %162, %163 br i1 %164, label %168, label %165 165: ; preds = %159, %156 %166 = load i32, ptr @EX_DATAERR, align 4, !tbaa !12 %167 = tail call i32 @stop(ptr noundef nonnull @.str.9, i32 noundef %166) #5 br label %168 168: ; preds = %165, %159 %169 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @scope_stack) #5 %170 = tail call i32 @process_scope(ptr noundef %169) #5 %171 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @scope_stack) #5 %172 = tail call i32 @dump_scope(ptr noundef %171) #5 %173 = tail call i32 @back_patch() #5 %174 = load ptr, ptr @ofile, align 8, !tbaa !14 %175 = icmp eq ptr %174, null br i1 %175, label %178, label %176 176: ; preds = %168 %177 = tail call i32 @output_code() #5 br label %178 178: ; preds = %176, %168 %179 = load ptr, ptr @regfile, align 8, !tbaa !14 %180 = icmp eq ptr %179, null br i1 %180, label %184, label %181 181: ; preds = %178 %182 = load ptr, ptr @regdiagfile, align 8, !tbaa !14 %183 = tail call i32 @symtable_dump(ptr noundef nonnull %179, ptr noundef %182) #5 br label %184 184: ; preds = %181, %178 %185 = load ptr, ptr @listfile, align 8, !tbaa !14 %186 = icmp eq ptr %185, null br i1 %186, label %189, label %187 187: ; preds = %184 %188 = tail call i32 @output_listing(ptr noundef %151) #5 br label %189 189: ; preds = %184, %187, %149 %190 = tail call i32 @stop(ptr noundef null, i32 noundef 0) #5 ret i32 0 } declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @SLIST_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare ptr @scope_alloc(...) local_unnamed_addr #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @stop(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @perror(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @usage(...) local_unnamed_addr #1 declare ptr @SLIST_FIRST(ptr noundef) local_unnamed_addr #1 declare ptr @SLIST_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @malloc(i32 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 #4 declare i32 @SLIST_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @symtable_open(...) local_unnamed_addr #1 declare i32 @include_file(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @yyparse(...) local_unnamed_addr #1 declare i32 @process_scope(ptr noundef) local_unnamed_addr #1 declare i32 @dump_scope(ptr noundef) local_unnamed_addr #1 declare i32 @back_patch(...) local_unnamed_addr #1 declare i32 @output_code(...) local_unnamed_addr #1 declare i32 @symtable_dump(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @output_listing(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { 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 #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_10__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"TYPE_11__", !13, i64 0, !7, i64 8, !15, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!17, !15, i64 16} !21 = distinct !{!21, !19} !22 = !{!17, !7, i64 8}
fastsocket_kernel_drivers_scsi_aic7xxx_aicasm_extr_aicasm.c_main
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_sctp_indata.c_sctp_window_probe_recovery.c' source_filename = "AnghaBench/freebsd/sys/netinet/extr_sctp_indata.c_sctp_window_probe_recovery.c" target datalayout = "e-m:e-p270:32:32-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.sctp_tmit_chunk = type { i64, %struct.TYPE_9__, ptr, i32, ptr, i64 } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32 } @SCTP_DATAGRAM_ACKED = dso_local local_unnamed_addr global i64 0, align 8 @SCTP_FLIGHT_LOG_DWN_WP_FWD = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_DATAGRAM_RESEND = dso_local local_unnamed_addr global i64 0, align 8 @sctp_logging_level = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_FLIGHT_LOGGING_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @SCTP_FLIGHT_LOG_DOWN_WP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sctp_window_probe_recovery], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sctp_window_probe_recovery(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = getelementptr inbounds %struct.sctp_tmit_chunk, ptr %2, i64 0, i32 5 store i64 0, ptr %4, align 8, !tbaa !5 %5 = load i64, ptr %2, align 8, !tbaa !14 %6 = load i64, ptr @SCTP_DATAGRAM_ACKED, align 8, !tbaa !15 %7 = icmp slt i64 %5, %6 br i1 %7, label %8, label %12 8: ; preds = %3 %9 = getelementptr inbounds %struct.sctp_tmit_chunk, ptr %2, i64 0, i32 4 %10 = load ptr, ptr %9, align 8, !tbaa !16 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %28 12: ; preds = %8, %3 %13 = load i32, ptr @SCTP_FLIGHT_LOG_DWN_WP_FWD, align 4, !tbaa !17 %14 = getelementptr inbounds %struct.sctp_tmit_chunk, ptr %2, i64 0, i32 2 %15 = load ptr, ptr %14, align 8, !tbaa !18 %16 = icmp eq ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %12 %18 = load i32, ptr %15, align 4, !tbaa !19 br label %19 19: ; preds = %12, %17 %20 = phi i32 [ %18, %17 ], [ 0, %12 ] %21 = getelementptr inbounds %struct.sctp_tmit_chunk, ptr %2, i64 0, i32 3 %22 = load i32, ptr %21, align 8, !tbaa !21 %23 = ptrtoint ptr %15 to i64 %24 = trunc i64 %23 to i32 %25 = getelementptr inbounds %struct.sctp_tmit_chunk, ptr %2, i64 0, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !22 %27 = tail call i32 @sctp_misc_ints(i32 noundef %13, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %26) #2 br label %58 28: ; preds = %8 %29 = load ptr, ptr %0, align 8, !tbaa !23 %30 = icmp eq ptr %29, null br i1 %30, label %35, label %31 31: ; preds = %28 %32 = getelementptr inbounds %struct.sctp_tmit_chunk, ptr %2, i64 0, i32 2 %33 = load ptr, ptr %32, align 8, !tbaa !18 %34 = tail call i32 %29(ptr noundef %33, ptr noundef nonnull %2) #2 br label %35 35: ; preds = %31, %28 %36 = tail call i32 @sctp_flight_size_decrease(ptr noundef nonnull %2) #2 %37 = tail call i32 @sctp_total_flight_decrease(ptr noundef nonnull %0, ptr noundef nonnull %2) #2 %38 = load i64, ptr @SCTP_DATAGRAM_RESEND, align 8, !tbaa !15 store i64 %38, ptr %2, align 8, !tbaa !14 %39 = load i32, ptr %1, align 4, !tbaa !27 %40 = tail call i32 @sctp_ucount_incr(i32 noundef %39) #2 %41 = load i32, ptr @sctp_logging_level, align 4, !tbaa !17 %42 = tail call i32 @SCTP_BASE_SYSCTL(i32 noundef %41) #2 %43 = load i32, ptr @SCTP_FLIGHT_LOGGING_ENABLE, align 4, !tbaa !17 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %58, label %46 46: ; preds = %35 %47 = load i32, ptr @SCTP_FLIGHT_LOG_DOWN_WP, align 4, !tbaa !17 %48 = getelementptr inbounds %struct.sctp_tmit_chunk, ptr %2, i64 0, i32 2 %49 = load ptr, ptr %48, align 8, !tbaa !18 %50 = load i32, ptr %49, align 4, !tbaa !19 %51 = getelementptr inbounds %struct.sctp_tmit_chunk, ptr %2, i64 0, i32 3 %52 = load i32, ptr %51, align 8, !tbaa !21 %53 = ptrtoint ptr %49 to i64 %54 = trunc i64 %53 to i32 %55 = getelementptr inbounds %struct.sctp_tmit_chunk, ptr %2, i64 0, i32 1 %56 = load i32, ptr %55, align 8, !tbaa !22 %57 = tail call i32 @sctp_misc_ints(i32 noundef %47, i32 noundef %50, i32 noundef %52, i32 noundef %54, i32 noundef %56) #2 br label %58 58: ; preds = %19, %46, %35 ret void } declare i32 @sctp_misc_ints(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sctp_flight_size_decrease(ptr noundef) local_unnamed_addr #1 declare i32 @sctp_total_flight_decrease(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sctp_ucount_incr(i32 noundef) local_unnamed_addr #1 declare i32 @SCTP_BASE_SYSCTL(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 40} !6 = !{!"sctp_tmit_chunk", !7, i64 0, !10, i64 8, !13, i64 16, !12, i64 24, !13, i64 32, !7, i64 40} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_9__", !11, i64 0} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!6, !13, i64 32} !17 = !{!12, !12, i64 0} !18 = !{!6, !13, i64 16} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_10__", !12, i64 0} !21 = !{!6, !12, i64 24} !22 = !{!6, !12, i64 8} !23 = !{!24, !13, i64 0} !24 = !{!"sctp_tcb", !25, i64 0} !25 = !{!"TYPE_7__", !26, i64 0} !26 = !{!"TYPE_6__", !13, i64 0} !27 = !{!28, !12, i64 0} !28 = !{!"sctp_association", !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_sctp_indata.c_sctp_window_probe_recovery.c' source_filename = "AnghaBench/freebsd/sys/netinet/extr_sctp_indata.c_sctp_window_probe_recovery.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCTP_DATAGRAM_ACKED = common local_unnamed_addr global i64 0, align 8 @SCTP_FLIGHT_LOG_DWN_WP_FWD = common local_unnamed_addr global i32 0, align 4 @SCTP_DATAGRAM_RESEND = common local_unnamed_addr global i64 0, align 8 @sctp_logging_level = common local_unnamed_addr global i32 0, align 4 @SCTP_FLIGHT_LOGGING_ENABLE = common local_unnamed_addr global i32 0, align 4 @SCTP_FLIGHT_LOG_DOWN_WP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sctp_window_probe_recovery], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sctp_window_probe_recovery(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %2, i64 40 store i64 0, ptr %4, align 8, !tbaa !6 %5 = load i64, ptr %2, align 8, !tbaa !15 %6 = load i64, ptr @SCTP_DATAGRAM_ACKED, align 8, !tbaa !16 %7 = icmp slt i64 %5, %6 br i1 %7, label %8, label %12 8: ; preds = %3 %9 = getelementptr inbounds i8, ptr %2, i64 32 %10 = load ptr, ptr %9, align 8, !tbaa !17 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %28 12: ; preds = %8, %3 %13 = load i32, ptr @SCTP_FLIGHT_LOG_DWN_WP_FWD, align 4, !tbaa !18 %14 = getelementptr inbounds i8, ptr %2, i64 16 %15 = load ptr, ptr %14, align 8, !tbaa !19 %16 = icmp eq ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %12 %18 = load i32, ptr %15, align 4, !tbaa !20 br label %19 19: ; preds = %12, %17 %20 = phi i32 [ %18, %17 ], [ 0, %12 ] %21 = getelementptr inbounds i8, ptr %2, i64 24 %22 = load i32, ptr %21, align 8, !tbaa !22 %23 = ptrtoint ptr %15 to i64 %24 = trunc i64 %23 to i32 %25 = getelementptr inbounds i8, ptr %2, i64 8 %26 = load i32, ptr %25, align 8, !tbaa !23 %27 = tail call i32 @sctp_misc_ints(i32 noundef %13, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %26) #2 br label %58 28: ; preds = %8 %29 = load ptr, ptr %0, align 8, !tbaa !24 %30 = icmp eq ptr %29, null br i1 %30, label %35, label %31 31: ; preds = %28 %32 = getelementptr inbounds i8, ptr %2, i64 16 %33 = load ptr, ptr %32, align 8, !tbaa !19 %34 = tail call i32 %29(ptr noundef %33, ptr noundef nonnull %2) #2 br label %35 35: ; preds = %31, %28 %36 = tail call i32 @sctp_flight_size_decrease(ptr noundef nonnull %2) #2 %37 = tail call i32 @sctp_total_flight_decrease(ptr noundef nonnull %0, ptr noundef nonnull %2) #2 %38 = load i64, ptr @SCTP_DATAGRAM_RESEND, align 8, !tbaa !16 store i64 %38, ptr %2, align 8, !tbaa !15 %39 = load i32, ptr %1, align 4, !tbaa !28 %40 = tail call i32 @sctp_ucount_incr(i32 noundef %39) #2 %41 = load i32, ptr @sctp_logging_level, align 4, !tbaa !18 %42 = tail call i32 @SCTP_BASE_SYSCTL(i32 noundef %41) #2 %43 = load i32, ptr @SCTP_FLIGHT_LOGGING_ENABLE, align 4, !tbaa !18 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %58, label %46 46: ; preds = %35 %47 = load i32, ptr @SCTP_FLIGHT_LOG_DOWN_WP, align 4, !tbaa !18 %48 = getelementptr inbounds i8, ptr %2, i64 16 %49 = load ptr, ptr %48, align 8, !tbaa !19 %50 = load i32, ptr %49, align 4, !tbaa !20 %51 = getelementptr inbounds i8, ptr %2, i64 24 %52 = load i32, ptr %51, align 8, !tbaa !22 %53 = ptrtoint ptr %49 to i64 %54 = trunc i64 %53 to i32 %55 = getelementptr inbounds i8, ptr %2, i64 8 %56 = load i32, ptr %55, align 8, !tbaa !23 %57 = tail call i32 @sctp_misc_ints(i32 noundef %47, i32 noundef %50, i32 noundef %52, i32 noundef %54, i32 noundef %56) #2 br label %58 58: ; preds = %19, %46, %35 ret void } declare i32 @sctp_misc_ints(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sctp_flight_size_decrease(ptr noundef) local_unnamed_addr #1 declare i32 @sctp_total_flight_decrease(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sctp_ucount_incr(i32 noundef) local_unnamed_addr #1 declare i32 @SCTP_BASE_SYSCTL(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 40} !7 = !{!"sctp_tmit_chunk", !8, i64 0, !11, i64 8, !14, i64 16, !13, i64 24, !14, i64 32, !8, i64 40} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!7, !14, i64 32} !18 = !{!13, !13, i64 0} !19 = !{!7, !14, i64 16} !20 = !{!21, !13, i64 0} !21 = !{!"TYPE_10__", !13, i64 0} !22 = !{!7, !13, i64 24} !23 = !{!7, !13, i64 8} !24 = !{!25, !14, i64 0} !25 = !{!"sctp_tcb", !26, i64 0} !26 = !{!"TYPE_7__", !27, i64 0} !27 = !{!"TYPE_6__", !14, i64 0} !28 = !{!29, !13, i64 0} !29 = !{!"sctp_association", !13, i64 0}
freebsd_sys_netinet_extr_sctp_indata.c_sctp_window_probe_recovery
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_voucher.c_ipc_get_pthpriority_from_kmsg_voucher.c' source_filename = "AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_voucher.c_ipc_get_pthpriority_from_kmsg_voucher.c" target datalayout = "e-m:e-p270:32:32-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 } @KERN_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @KERN_FAILURE = dso_local local_unnamed_addr global i64 0, align 8 @MACH_VOUCHER_ATTR_KEY_PTHPRIORITY = dso_local local_unnamed_addr global i32 0, align 4 @KERN_INVALID_VALUE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @ipc_get_pthpriority_from_kmsg_voucher(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 store i32 8, ptr %3, align 4, !tbaa !5 %4 = tail call ptr @llvm.stacksave.p0() %5 = alloca [8 x i32], align 16 %6 = load ptr, ptr %0, align 8, !tbaa !9 %7 = tail call i32 @IP_VALID(ptr noundef %6) #4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load i64, ptr @KERN_FAILURE, align 8, !tbaa !12 br label %32 11: ; preds = %2 %12 = load ptr, ptr %0, align 8, !tbaa !9 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = load i32, ptr @MACH_VOUCHER_ATTR_KEY_PTHPRIORITY, align 4, !tbaa !5 %15 = call i64 @mach_voucher_extract_attr_recipe(i64 noundef %13, i32 noundef %14, ptr noundef nonnull %5, ptr noundef nonnull %3) #4 %16 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !12 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %32 18: ; preds = %11 %19 = load i32, ptr %3, align 4, !tbaa !5 %20 = icmp ult i32 %19, 8 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = load i64, ptr @KERN_INVALID_VALUE, align 8, !tbaa !12 br label %32 23: ; preds = %18 %24 = load i32, ptr %5, align 16, !tbaa !16 %25 = icmp eq i32 %24, 4 %26 = zext i1 %25 to i32 %27 = call i32 @assert(i32 noundef %26) #4 %28 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1 %29 = load i32, ptr %28, align 4, !tbaa !18 %30 = call i32 @memcpy(ptr noundef %1, i32 noundef %29, i32 noundef 4) #4 %31 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !12 br label %32 32: ; preds = %11, %23, %21, %9 %33 = phi i64 [ %22, %21 ], [ %31, %23 ], [ %10, %9 ], [ %15, %11 ] call void @llvm.stackrestore.p0(ptr %4) call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 ret i64 %33 } ; 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 @IP_VALID(ptr noundef) local_unnamed_addr #3 declare i64 @mach_voucher_extract_attr_recipe(i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @assert(i32 noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; 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, !11, i64 0} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_7__", !13, i64 0} !16 = !{!17, !6, i64 0} !17 = !{!"TYPE_5__", !6, i64 0, !6, i64 4} !18 = !{!17, !6, i64 4}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_voucher.c_ipc_get_pthpriority_from_kmsg_voucher.c' source_filename = "AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_voucher.c_ipc_get_pthpriority_from_kmsg_voucher.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KERN_SUCCESS = common local_unnamed_addr global i64 0, align 8 @KERN_FAILURE = common local_unnamed_addr global i64 0, align 8 @MACH_VOUCHER_ATTR_KEY_PTHPRIORITY = common local_unnamed_addr global i32 0, align 4 @KERN_INVALID_VALUE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @ipc_get_pthpriority_from_kmsg_voucher(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 store i32 8, ptr %3, align 4, !tbaa !6 %4 = tail call ptr @llvm.stacksave.p0() %5 = alloca [8 x i32], align 4 %6 = load ptr, ptr %0, align 8, !tbaa !10 %7 = tail call i32 @IP_VALID(ptr noundef %6) #4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load i64, ptr @KERN_FAILURE, align 8, !tbaa !13 br label %32 11: ; preds = %2 %12 = load ptr, ptr %0, align 8, !tbaa !10 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = load i32, ptr @MACH_VOUCHER_ATTR_KEY_PTHPRIORITY, align 4, !tbaa !6 %15 = call i64 @mach_voucher_extract_attr_recipe(i64 noundef %13, i32 noundef %14, ptr noundef nonnull %5, ptr noundef nonnull %3) #4 %16 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !13 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %32 18: ; preds = %11 %19 = load i32, ptr %3, align 4, !tbaa !6 %20 = icmp ult i32 %19, 8 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = load i64, ptr @KERN_INVALID_VALUE, align 8, !tbaa !13 br label %32 23: ; preds = %18 %24 = load i32, ptr %5, align 4, !tbaa !17 %25 = icmp eq i32 %24, 4 %26 = zext i1 %25 to i32 %27 = call i32 @assert(i32 noundef %26) #4 %28 = getelementptr inbounds i8, ptr %5, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !19 %30 = call i32 @memcpy(ptr noundef %1, i32 noundef %29, i32 noundef 4) #4 %31 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !13 br label %32 32: ; preds = %11, %23, %21, %9 %33 = phi i64 [ %22, %21 ], [ %31, %23 ], [ %10, %9 ], [ %15, %11 ] call void @llvm.stackrestore.p0(ptr %4) call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 ret i64 %33 } ; 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 @IP_VALID(ptr noundef) local_unnamed_addr #3 declare i64 @mach_voucher_extract_attr_recipe(i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @assert(i32 noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; 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, !12, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_7__", !14, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_5__", !7, i64 0, !7, i64 4} !19 = !{!18, !7, i64 4}
darwin-xnu_osfmk_ipc_extr_ipc_voucher.c_ipc_get_pthpriority_from_kmsg_voucher
; ModuleID = 'AnghaBench/openssl/crypto/des/extr_str2key.c_DES_string_to_key.c' source_filename = "AnghaBench/openssl/crypto/des/extr_str2key.c_DES_string_to_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @DES_string_to_key(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %4 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 8) #4 %5 = tail call i32 @strlen(ptr noundef %0) #4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %30 7: ; preds = %2 %8 = zext nneg i32 %5 to i64 br label %9 9: ; preds = %7, %22 %10 = phi i64 [ 0, %7 ], [ %28, %22 ] %11 = getelementptr inbounds i8, ptr %0, i64 %10 %12 = load i8, ptr %11, align 1, !tbaa !5 %13 = and i64 %10, 8 %14 = icmp eq i64 %13, 0 %15 = load ptr, ptr %1, align 8, !tbaa !8 %16 = and i64 %10, 7 br i1 %14, label %17, label %19 17: ; preds = %9 %18 = shl i8 %12, 1 br label %22 19: ; preds = %9 %20 = tail call i8 @llvm.bitreverse.i8(i8 %12) %21 = xor i64 %16, 7 br label %22 22: ; preds = %19, %17 %23 = phi i64 [ %21, %19 ], [ %16, %17 ] %24 = phi i8 [ %20, %19 ], [ %18, %17 ] %25 = getelementptr inbounds i8, ptr %15, i64 %23 %26 = load i8, ptr %25, align 1, !tbaa !5 %27 = xor i8 %26, %24 store i8 %27, ptr %25, align 1, !tbaa !5 %28 = add nuw nsw i64 %10, 1 %29 = icmp eq i64 %28, %8 br i1 %29, label %30, label %9, !llvm.loop !10 30: ; preds = %22, %2 %31 = tail call i32 @DES_set_odd_parity(ptr noundef %1) #4 %32 = call i32 @DES_set_key_unchecked(ptr noundef %1, ptr noundef nonnull %3) #4 %33 = call i32 @DES_cbc_cksum(ptr noundef %0, ptr noundef %1, i32 noundef %5, ptr noundef nonnull %3, ptr noundef %1) #4 %34 = call i32 @OPENSSL_cleanse(ptr noundef nonnull %3, i32 noundef 4) #4 %35 = call i32 @DES_set_odd_parity(ptr noundef %1) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @DES_set_odd_parity(ptr noundef) local_unnamed_addr #2 declare i32 @DES_set_key_unchecked(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DES_cbc_cksum(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i8 @llvm.bitreverse.i8(i8) #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 speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"any pointer", !6, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/openssl/crypto/des/extr_str2key.c_DES_string_to_key.c' source_filename = "AnghaBench/openssl/crypto/des/extr_str2key.c_DES_string_to_key.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 @DES_string_to_key(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %4 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 8) #4 %5 = tail call i32 @strlen(ptr noundef %0) #4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %27 7: ; preds = %2 %8 = zext nneg i32 %5 to i64 br label %9 9: ; preds = %7, %9 %10 = phi i64 [ 0, %7 ], [ %25, %9 ] %11 = getelementptr inbounds i8, ptr %0, i64 %10 %12 = load i8, ptr %11, align 1, !tbaa !6 %13 = and i64 %10, 8 %14 = icmp eq i64 %13, 0 %15 = load ptr, ptr %1, align 8, !tbaa !9 %16 = and i64 %10, 7 %17 = tail call i8 @llvm.bitreverse.i8(i8 %12) %18 = xor i64 %16, 7 %19 = shl i8 %12, 1 %20 = select i1 %14, i64 %16, i64 %18 %21 = select i1 %14, i8 %19, i8 %17 %22 = getelementptr inbounds i8, ptr %15, i64 %20 %23 = load i8, ptr %22, align 1, !tbaa !6 %24 = xor i8 %23, %21 store i8 %24, ptr %22, align 1, !tbaa !6 %25 = add nuw nsw i64 %10, 1 %26 = icmp eq i64 %25, %8 br i1 %26, label %27, label %9, !llvm.loop !11 27: ; preds = %9, %2 %28 = tail call i32 @DES_set_odd_parity(ptr noundef %1) #4 %29 = call i32 @DES_set_key_unchecked(ptr noundef %1, ptr noundef nonnull %3) #4 %30 = call i32 @DES_cbc_cksum(ptr noundef %0, ptr noundef %1, i32 noundef %5, ptr noundef nonnull %3, ptr noundef %1) #4 %31 = call i32 @OPENSSL_cleanse(ptr noundef nonnull %3, i32 noundef 4) #4 %32 = call i32 @DES_set_odd_parity(ptr noundef %1) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @DES_set_odd_parity(ptr noundef) local_unnamed_addr #2 declare i32 @DES_set_key_unchecked(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DES_cbc_cksum(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @OPENSSL_cleanse(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i8 @llvm.bitreverse.i8(i8) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
openssl_crypto_des_extr_str2key.c_DES_string_to_key
; ModuleID = 'AnghaBench/Quake-III-Arena/code/server/extr_sv_net_chan.c_SV_Netchan_Process.c' source_filename = "AnghaBench/Quake-III-Arena/code/server/extr_sv_net_chan.c_SV_Netchan_Process.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @qfalse = dso_local local_unnamed_addr global i32 0, align 4 @qtrue = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @SV_Netchan_Process(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @Netchan_Process(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @SV_Netchan_Decode(ptr noundef %0, ptr noundef %1) #2 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ @qtrue, %5 ], [ @qfalse, %2 ] %9 = load i32, ptr %8, align 4, !tbaa !5 ret i32 %9 } declare i32 @Netchan_Process(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SV_Netchan_Decode(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/server/extr_sv_net_chan.c_SV_Netchan_Process.c' source_filename = "AnghaBench/Quake-III-Arena/code/server/extr_sv_net_chan.c_SV_Netchan_Process.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @qfalse = common local_unnamed_addr global i32 0, align 4 @qtrue = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @SV_Netchan_Process(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @Netchan_Process(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @SV_Netchan_Decode(ptr noundef %0, ptr noundef %1) #2 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ @qtrue, %5 ], [ @qfalse, %2 ] %9 = load i32, ptr %8, align 4, !tbaa !6 ret i32 %9 } declare i32 @Netchan_Process(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SV_Netchan_Decode(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"}
Quake-III-Arena_code_server_extr_sv_net_chan.c_SV_Netchan_Process
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_opal-elog.c_elog_ack_show.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_opal-elog.c_elog_ack_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 [31 x i8] c"ack - acknowledge log message\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @elog_ack_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @elog_ack_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str) #2 ret i32 %4 } declare i32 @sprintf(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_opal-elog.c_elog_ack_show.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_opal-elog.c_elog_ack_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 [31 x i8] c"ack - acknowledge log message\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @elog_ack_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @elog_ack_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str) #2 ret i32 %4 } declare i32 @sprintf(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_arch_powerpc_platforms_powernv_extr_opal-elog.c_elog_ack_show
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_sli4.c_sli_fcp_iread64_wqe.c' source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_sli4.c_sli_fcp_iread64_wqe.c" target datalayout = "e-m:e-p270:32:32-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_24__ = type { i32, i64, ptr } %struct.TYPE_33__ = type { %struct.TYPE_29__, i32 } %struct.TYPE_29__ = type { i64, i64 } %struct.TYPE_21__ = type { i64, i64, i32, i32, i32, i32, %struct.TYPE_32__, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, i64, i64, %struct.TYPE_28__, ptr, ptr } %struct.TYPE_32__ = type { %struct.TYPE_31__, i64, ptr } %struct.TYPE_31__ = type { %struct.TYPE_30__ } %struct.TYPE_30__ = type { i32, i32 } %struct.TYPE_28__ = type { %struct.TYPE_27__, i64, ptr } %struct.TYPE_27__ = type { %struct.TYPE_26__, %struct.TYPE_25__ } %struct.TYPE_26__ = type { i32, i32 } %struct.TYPE_25__ = type { i32, i32 } %struct.TYPE_20__ = type { i32, i32, i64, i32 } %struct.TYPE_22__ = type { i32, i64, i64 } @.str = private unnamed_addr constant [30 x i8] c"bad parameter sgl=%p virt=%p\0A\00", align 1 @FALSE = dso_local local_unnamed_addr global ptr null, align 8 @TRUE = dso_local local_unnamed_addr global ptr null, align 8 @SLI4_BDE_TYPE_BDE_64 = dso_local local_unnamed_addr global ptr null, align 8 @SLI4_BDE_TYPE_BLP = dso_local local_unnamed_addr global ptr null, align 8 @SLI4_SGE_TYPE_SKIP = dso_local local_unnamed_addr global i32 0, align 4 @SLI4_ELS_REQUEST64_CLASS_3 = dso_local local_unnamed_addr global i32 0, align 4 @SLI4_WQE_FCP_IREAD64 = dso_local local_unnamed_addr global i32 0, align 4 @SLI4_ELS_REQUEST64_CONTEXT_RPI = dso_local local_unnamed_addr global i32 0, align 4 @SLI4_CMD_FCP_IREAD64_WQE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @sli_fcp_iread64_wqe(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr nocapture noundef readonly %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) local_unnamed_addr #0 { %15 = tail call i32 @ocs_memset(ptr noundef %1, i32 noundef 0, i64 noundef %2) #2 %16 = icmp eq ptr %3, null br i1 %16, label %21, label %17 17: ; preds = %14 %18 = getelementptr inbounds %struct.TYPE_24__, ptr %3, i64 0, i32 2 %19 = load ptr, ptr %18, align 8, !tbaa !5 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %17, %14 %22 = getelementptr inbounds %struct.TYPE_33__, ptr %0, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !12 %24 = tail call i32 @ocs_log_err(i32 noundef %23, ptr noundef nonnull @.str, ptr noundef %3, ptr noundef null) #2 br label %114 25: ; preds = %17 %26 = getelementptr inbounds %struct.TYPE_29__, ptr %0, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !15 %28 = icmp eq i64 %27, 0 %29 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 23 br i1 %28, label %41, label %30 30: ; preds = %25 %31 = load ptr, ptr @FALSE, align 8, !tbaa !16 store ptr %31, ptr %29, align 8, !tbaa !17 %32 = load ptr, ptr @TRUE, align 8, !tbaa !16 %33 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 24 store ptr %32, ptr %33, align 8, !tbaa !26 %34 = load ptr, ptr @SLI4_BDE_TYPE_BDE_64, align 8, !tbaa !16 %35 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 22, i32 2 store ptr %34, ptr %35, align 8, !tbaa !27 %36 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 0, i32 2 %37 = load i64, ptr %36, align 8, !tbaa !28 %38 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 22, i32 1 store i64 %37, ptr %38, align 8, !tbaa !30 %39 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 22, i32 0, i32 1 %40 = load <2 x i32>, ptr %19, align 8, !tbaa !31 store <2 x i32> %40, ptr %39, align 8, !tbaa !31 br label %59 41: ; preds = %25 %42 = load ptr, ptr @TRUE, align 8, !tbaa !16 store ptr %42, ptr %29, align 8, !tbaa !17 %43 = load ptr, ptr @SLI4_BDE_TYPE_BLP, align 8, !tbaa !16 %44 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 22 %45 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 22, i32 2 store ptr %43, ptr %45, align 8, !tbaa !27 %46 = getelementptr inbounds %struct.TYPE_24__, ptr %3, i64 0, i32 1 %47 = load i64, ptr %46, align 8, !tbaa !32 %48 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 22, i32 1 store i64 %47, ptr %48, align 8, !tbaa !30 %49 = load i32, ptr %3, align 8, !tbaa !33 %50 = tail call i32 @ocs_addr32_lo(i32 noundef %49) #2 %51 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 22, i32 0, i32 0, i32 1 store i32 %50, ptr %51, align 4, !tbaa !34 %52 = load i32, ptr %3, align 8, !tbaa !33 %53 = tail call i32 @ocs_addr32_hi(i32 noundef %52) #2 store i32 %53, ptr %44, align 8, !tbaa !35 %54 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 0, i32 2 %55 = load i64, ptr %54, align 8, !tbaa !28 %56 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 21 store i64 %55, ptr %56, align 8, !tbaa !36 %57 = load i32, ptr @SLI4_SGE_TYPE_SKIP, align 4, !tbaa !31 %58 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 1, i32 3 store i32 %57, ptr %58, align 8, !tbaa !37 br label %59 59: ; preds = %41, %30 %60 = phi i64 [ %55, %41 ], [ %37, %30 ] %61 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 1, i32 2 %62 = load i64, ptr %61, align 8, !tbaa !28 %63 = add nsw i64 %62, %60 %64 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 20 store i64 %63, ptr %64, align 8, !tbaa !38 store i64 %5, ptr %1, align 8, !tbaa !39 %65 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 19 store ptr %6, ptr %65, align 8, !tbaa !40 %66 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 1 store i64 %9, ptr %66, align 8, !tbaa !41 %67 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 18 store ptr %13, ptr %67, align 8, !tbaa !42 %68 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 2 store i32 2, ptr %68, align 8, !tbaa !43 %69 = load i32, ptr @SLI4_ELS_REQUEST64_CLASS_3, align 4, !tbaa !31 %70 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 17 store i32 %69, ptr %70, align 8, !tbaa !44 %71 = load i32, ptr @SLI4_WQE_FCP_IREAD64, align 4, !tbaa !31 %72 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 16 store i32 %71, ptr %72, align 4, !tbaa !45 %73 = load i32, ptr @SLI4_ELS_REQUEST64_CONTEXT_RPI, align 4, !tbaa !31 %74 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 15 store i32 %73, ptr %74, align 8, !tbaa !46 %75 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 14 store ptr %11, ptr %75, align 8, !tbaa !47 %76 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 13 store ptr %12, ptr %76, align 8, !tbaa !48 %77 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 12 store ptr %6, ptr %77, align 8, !tbaa !49 %78 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 11 store ptr %7, ptr %78, align 8, !tbaa !50 %79 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 3 store i32 3, ptr %79, align 4, !tbaa !51 %80 = getelementptr inbounds %struct.TYPE_22__, ptr %10, i64 0, i32 2 %81 = load i64, ptr %80, align 8, !tbaa !52 %82 = icmp eq i64 %81, 0 br i1 %82, label %89, label %83 83: ; preds = %59 %84 = load ptr, ptr @TRUE, align 8, !tbaa !16 %85 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 10 store ptr %84, ptr %85, align 8, !tbaa !54 %86 = load i32, ptr %10, align 8, !tbaa !55 %87 = and i32 %86, 16777215 %88 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 4 store i32 %87, ptr %88, align 8, !tbaa !56 br label %89 89: ; preds = %83, %59 %90 = getelementptr inbounds %struct.TYPE_22__, ptr %10, i64 0, i32 1 %91 = load i64, ptr %90, align 8, !tbaa !57 %92 = inttoptr i64 %91 to ptr %93 = load i64, ptr %92, align 8, !tbaa !58 %94 = icmp eq i64 %93, 0 br i1 %94, label %98, label %95 95: ; preds = %89 %96 = load ptr, ptr @TRUE, align 8, !tbaa !16 %97 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 9 store ptr %96, ptr %97, align 8, !tbaa !60 br label %98 98: ; preds = %95, %89 %99 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 5 store i32 1, ptr %99, align 4, !tbaa !61 %100 = load i32, ptr @SLI4_CMD_FCP_IREAD64_WQE, align 4, !tbaa !31 %101 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 8 store i32 %100, ptr %101, align 8, !tbaa !62 %102 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 7 store ptr %8, ptr %102, align 8, !tbaa !63 %103 = load i64, ptr %0, align 8, !tbaa !64 %104 = icmp eq i64 %103, 0 br i1 %104, label %114, label %105 105: ; preds = %98 %106 = load ptr, ptr @SLI4_BDE_TYPE_BDE_64, align 8, !tbaa !16 %107 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 6 %108 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 6, i32 2 store ptr %106, ptr %108, align 8, !tbaa !65 %109 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 %4 %110 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 %4, i32 2 %111 = load i64, ptr %110, align 8, !tbaa !28 %112 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 6, i32 1 store i64 %111, ptr %112, align 8, !tbaa !66 %113 = load <2 x i32>, ptr %109, align 8, !tbaa !31 store <2 x i32> %113, ptr %107, align 8, !tbaa !31 br label %114 114: ; preds = %98, %105, %21 %115 = phi i32 [ -1, %21 ], [ 0, %105 ], [ 0, %98 ] ret i32 %115 } declare i32 @ocs_memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ocs_log_err(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ocs_addr32_lo(i32 noundef) local_unnamed_addr #1 declare i32 @ocs_addr32_hi(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, !11, i64 16} !6 = !{!"TYPE_24__", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 16} !13 = !{!"TYPE_33__", !14, i64 0, !7, i64 16} !14 = !{!"TYPE_29__", !10, i64 0, !10, i64 8} !15 = !{!13, !10, i64 8} !16 = !{!11, !11, i64 0} !17 = !{!18, !11, i64 200} !18 = !{!"TYPE_21__", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !19, i64 32, !11, i64 56, !7, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !7, i64 120, !7, i64 124, !7, i64 128, !11, i64 136, !11, i64 144, !10, i64 152, !10, i64 160, !22, i64 168, !11, i64 200, !11, i64 208} !19 = !{!"TYPE_32__", !20, i64 0, !10, i64 8, !11, i64 16} !20 = !{!"TYPE_31__", !21, i64 0} !21 = !{!"TYPE_30__", !7, i64 0, !7, i64 4} !22 = !{!"TYPE_28__", !23, i64 0, !10, i64 16, !11, i64 24} !23 = !{!"TYPE_27__", !24, i64 0, !25, i64 8} !24 = !{!"TYPE_26__", !7, i64 0, !7, i64 4} !25 = !{!"TYPE_25__", !7, i64 0, !7, i64 4} !26 = !{!18, !11, i64 208} !27 = !{!18, !11, i64 192} !28 = !{!29, !10, i64 8} !29 = !{!"TYPE_20__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16} !30 = !{!18, !10, i64 184} !31 = !{!7, !7, i64 0} !32 = !{!6, !10, i64 8} !33 = !{!6, !7, i64 0} !34 = !{!18, !7, i64 172} !35 = !{!18, !7, i64 168} !36 = !{!18, !10, i64 160} !37 = !{!29, !7, i64 16} !38 = !{!18, !10, i64 152} !39 = !{!18, !10, i64 0} !40 = !{!18, !11, i64 144} !41 = !{!18, !10, i64 8} !42 = !{!18, !11, i64 136} !43 = !{!18, !7, i64 16} !44 = !{!18, !7, i64 128} !45 = !{!18, !7, i64 124} !46 = !{!18, !7, i64 120} !47 = !{!18, !11, i64 112} !48 = !{!18, !11, i64 104} !49 = !{!18, !11, i64 96} !50 = !{!18, !11, i64 88} !51 = !{!18, !7, i64 20} !52 = !{!53, !10, i64 16} !53 = !{!"TYPE_22__", !7, i64 0, !10, i64 8, !10, i64 16} !54 = !{!18, !11, i64 80} !55 = !{!53, !7, i64 0} !56 = !{!18, !7, i64 24} !57 = !{!53, !10, i64 8} !58 = !{!59, !10, i64 0} !59 = !{!"TYPE_23__", !10, i64 0} !60 = !{!18, !11, i64 72} !61 = !{!18, !7, i64 28} !62 = !{!18, !7, i64 64} !63 = !{!18, !11, i64 56} !64 = !{!13, !10, i64 0} !65 = !{!18, !11, i64 48} !66 = !{!18, !10, i64 40}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_sli4.c_sli_fcp_iread64_wqe.c' source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_sli4.c_sli_fcp_iread64_wqe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_20__ = type { i32, i32, i64, i32 } @.str = private unnamed_addr constant [30 x i8] c"bad parameter sgl=%p virt=%p\0A\00", align 1 @FALSE = common local_unnamed_addr global ptr null, align 8 @TRUE = common local_unnamed_addr global ptr null, align 8 @SLI4_BDE_TYPE_BDE_64 = common local_unnamed_addr global ptr null, align 8 @SLI4_BDE_TYPE_BLP = common local_unnamed_addr global ptr null, align 8 @SLI4_SGE_TYPE_SKIP = common local_unnamed_addr global i32 0, align 4 @SLI4_ELS_REQUEST64_CLASS_3 = common local_unnamed_addr global i32 0, align 4 @SLI4_WQE_FCP_IREAD64 = common local_unnamed_addr global i32 0, align 4 @SLI4_ELS_REQUEST64_CONTEXT_RPI = common local_unnamed_addr global i32 0, align 4 @SLI4_CMD_FCP_IREAD64_WQE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @sli_fcp_iread64_wqe(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr nocapture noundef readonly %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) local_unnamed_addr #0 { %15 = tail call i32 @ocs_memset(ptr noundef %1, i32 noundef 0, i64 noundef %2) #2 %16 = icmp eq ptr %3, null br i1 %16, label %21, label %17 17: ; preds = %14 %18 = getelementptr inbounds i8, ptr %3, i64 16 %19 = load ptr, ptr %18, align 8, !tbaa !6 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %17, %14 %22 = getelementptr inbounds i8, ptr %0, i64 16 %23 = load i32, ptr %22, align 8, !tbaa !13 %24 = tail call i32 @ocs_log_err(i32 noundef %23, ptr noundef nonnull @.str, ptr noundef %3, ptr noundef null) #2 br label %113 25: ; preds = %17 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !16 %28 = icmp eq i64 %27, 0 %29 = getelementptr inbounds i8, ptr %1, i64 200 br i1 %28, label %41, label %30 30: ; preds = %25 %31 = load ptr, ptr @FALSE, align 8, !tbaa !17 store ptr %31, ptr %29, align 8, !tbaa !18 %32 = load ptr, ptr @TRUE, align 8, !tbaa !17 %33 = getelementptr inbounds i8, ptr %1, i64 208 store ptr %32, ptr %33, align 8, !tbaa !27 %34 = load ptr, ptr @SLI4_BDE_TYPE_BDE_64, align 8, !tbaa !17 %35 = getelementptr inbounds i8, ptr %1, i64 192 store ptr %34, ptr %35, align 8, !tbaa !28 %36 = getelementptr inbounds i8, ptr %19, i64 8 %37 = load i64, ptr %36, align 8, !tbaa !29 %38 = getelementptr inbounds i8, ptr %1, i64 184 store i64 %37, ptr %38, align 8, !tbaa !31 %39 = getelementptr inbounds i8, ptr %1, i64 176 %40 = load <2 x i32>, ptr %19, align 8, !tbaa !32 store <2 x i32> %40, ptr %39, align 8, !tbaa !32 br label %59 41: ; preds = %25 %42 = load ptr, ptr @TRUE, align 8, !tbaa !17 store ptr %42, ptr %29, align 8, !tbaa !18 %43 = load ptr, ptr @SLI4_BDE_TYPE_BLP, align 8, !tbaa !17 %44 = getelementptr inbounds i8, ptr %1, i64 168 %45 = getelementptr inbounds i8, ptr %1, i64 192 store ptr %43, ptr %45, align 8, !tbaa !28 %46 = getelementptr inbounds i8, ptr %3, i64 8 %47 = load i64, ptr %46, align 8, !tbaa !33 %48 = getelementptr inbounds i8, ptr %1, i64 184 store i64 %47, ptr %48, align 8, !tbaa !31 %49 = load i32, ptr %3, align 8, !tbaa !34 %50 = tail call i32 @ocs_addr32_lo(i32 noundef %49) #2 %51 = getelementptr inbounds i8, ptr %1, i64 172 store i32 %50, ptr %51, align 4, !tbaa !35 %52 = load i32, ptr %3, align 8, !tbaa !34 %53 = tail call i32 @ocs_addr32_hi(i32 noundef %52) #2 store i32 %53, ptr %44, align 8, !tbaa !36 %54 = getelementptr inbounds i8, ptr %19, i64 8 %55 = load i64, ptr %54, align 8, !tbaa !29 %56 = getelementptr inbounds i8, ptr %1, i64 160 store i64 %55, ptr %56, align 8, !tbaa !37 %57 = load i32, ptr @SLI4_SGE_TYPE_SKIP, align 4, !tbaa !32 %58 = getelementptr inbounds i8, ptr %19, i64 40 store i32 %57, ptr %58, align 8, !tbaa !38 br label %59 59: ; preds = %41, %30 %60 = phi i64 [ %55, %41 ], [ %37, %30 ] %61 = getelementptr inbounds i8, ptr %19, i64 32 %62 = load i64, ptr %61, align 8, !tbaa !29 %63 = add nsw i64 %62, %60 %64 = getelementptr inbounds i8, ptr %1, i64 152 store i64 %63, ptr %64, align 8, !tbaa !39 store i64 %5, ptr %1, align 8, !tbaa !40 %65 = getelementptr inbounds i8, ptr %1, i64 144 store ptr %6, ptr %65, align 8, !tbaa !41 %66 = getelementptr inbounds i8, ptr %1, i64 8 store i64 %9, ptr %66, align 8, !tbaa !42 %67 = getelementptr inbounds i8, ptr %1, i64 136 store ptr %13, ptr %67, align 8, !tbaa !43 %68 = getelementptr inbounds i8, ptr %1, i64 16 %69 = load i32, ptr @SLI4_ELS_REQUEST64_CLASS_3, align 4, !tbaa !32 %70 = getelementptr inbounds i8, ptr %1, i64 128 store i32 %69, ptr %70, align 8, !tbaa !44 %71 = load i32, ptr @SLI4_WQE_FCP_IREAD64, align 4, !tbaa !32 %72 = getelementptr inbounds i8, ptr %1, i64 124 store i32 %71, ptr %72, align 4, !tbaa !45 %73 = load i32, ptr @SLI4_ELS_REQUEST64_CONTEXT_RPI, align 4, !tbaa !32 %74 = getelementptr inbounds i8, ptr %1, i64 120 store i32 %73, ptr %74, align 8, !tbaa !46 %75 = getelementptr inbounds i8, ptr %1, i64 112 store ptr %11, ptr %75, align 8, !tbaa !47 %76 = getelementptr inbounds i8, ptr %1, i64 104 store ptr %12, ptr %76, align 8, !tbaa !48 %77 = getelementptr inbounds i8, ptr %1, i64 96 store ptr %6, ptr %77, align 8, !tbaa !49 %78 = getelementptr inbounds i8, ptr %1, i64 88 store ptr %7, ptr %78, align 8, !tbaa !50 store <2 x i32> <i32 2, i32 3>, ptr %68, align 8, !tbaa !32 %79 = getelementptr inbounds i8, ptr %10, i64 16 %80 = load i64, ptr %79, align 8, !tbaa !51 %81 = icmp eq i64 %80, 0 br i1 %81, label %88, label %82 82: ; preds = %59 %83 = load ptr, ptr @TRUE, align 8, !tbaa !17 %84 = getelementptr inbounds i8, ptr %1, i64 80 store ptr %83, ptr %84, align 8, !tbaa !53 %85 = load i32, ptr %10, align 8, !tbaa !54 %86 = and i32 %85, 16777215 %87 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %86, ptr %87, align 8, !tbaa !55 br label %88 88: ; preds = %82, %59 %89 = getelementptr inbounds i8, ptr %10, i64 8 %90 = load i64, ptr %89, align 8, !tbaa !56 %91 = inttoptr i64 %90 to ptr %92 = load i64, ptr %91, align 8, !tbaa !57 %93 = icmp eq i64 %92, 0 br i1 %93, label %97, label %94 94: ; preds = %88 %95 = load ptr, ptr @TRUE, align 8, !tbaa !17 %96 = getelementptr inbounds i8, ptr %1, i64 72 store ptr %95, ptr %96, align 8, !tbaa !59 br label %97 97: ; preds = %94, %88 %98 = getelementptr inbounds i8, ptr %1, i64 28 store i32 1, ptr %98, align 4, !tbaa !60 %99 = load i32, ptr @SLI4_CMD_FCP_IREAD64_WQE, align 4, !tbaa !32 %100 = getelementptr inbounds i8, ptr %1, i64 64 store i32 %99, ptr %100, align 8, !tbaa !61 %101 = getelementptr inbounds i8, ptr %1, i64 56 store ptr %8, ptr %101, align 8, !tbaa !62 %102 = load i64, ptr %0, align 8, !tbaa !63 %103 = icmp eq i64 %102, 0 br i1 %103, label %113, label %104 104: ; preds = %97 %105 = load ptr, ptr @SLI4_BDE_TYPE_BDE_64, align 8, !tbaa !17 %106 = getelementptr inbounds i8, ptr %1, i64 32 %107 = getelementptr inbounds i8, ptr %1, i64 48 store ptr %105, ptr %107, align 8, !tbaa !64 %108 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 %4 %109 = getelementptr inbounds i8, ptr %108, i64 8 %110 = load i64, ptr %109, align 8, !tbaa !29 %111 = getelementptr inbounds i8, ptr %1, i64 40 store i64 %110, ptr %111, align 8, !tbaa !65 %112 = load <2 x i32>, ptr %108, align 8, !tbaa !32 store <2 x i32> %112, ptr %106, align 8, !tbaa !32 br label %113 113: ; preds = %97, %104, %21 %114 = phi i32 [ -1, %21 ], [ 0, %104 ], [ 0, %97 ] ret i32 %114 } declare i32 @ocs_memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ocs_log_err(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ocs_addr32_lo(i32 noundef) local_unnamed_addr #1 declare i32 @ocs_addr32_hi(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, !12, i64 16} !7 = !{!"TYPE_24__", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 16} !14 = !{!"TYPE_33__", !15, i64 0, !8, i64 16} !15 = !{!"TYPE_29__", !11, i64 0, !11, i64 8} !16 = !{!14, !11, i64 8} !17 = !{!12, !12, i64 0} !18 = !{!19, !12, i64 200} !19 = !{!"TYPE_21__", !11, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !20, i64 32, !12, i64 56, !8, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !8, i64 120, !8, i64 124, !8, i64 128, !12, i64 136, !12, i64 144, !11, i64 152, !11, i64 160, !23, i64 168, !12, i64 200, !12, i64 208} !20 = !{!"TYPE_32__", !21, i64 0, !11, i64 8, !12, i64 16} !21 = !{!"TYPE_31__", !22, i64 0} !22 = !{!"TYPE_30__", !8, i64 0, !8, i64 4} !23 = !{!"TYPE_28__", !24, i64 0, !11, i64 16, !12, i64 24} !24 = !{!"TYPE_27__", !25, i64 0, !26, i64 8} !25 = !{!"TYPE_26__", !8, i64 0, !8, i64 4} !26 = !{!"TYPE_25__", !8, i64 0, !8, i64 4} !27 = !{!19, !12, i64 208} !28 = !{!19, !12, i64 192} !29 = !{!30, !11, i64 8} !30 = !{!"TYPE_20__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16} !31 = !{!19, !11, i64 184} !32 = !{!8, !8, i64 0} !33 = !{!7, !11, i64 8} !34 = !{!7, !8, i64 0} !35 = !{!19, !8, i64 172} !36 = !{!19, !8, i64 168} !37 = !{!19, !11, i64 160} !38 = !{!30, !8, i64 16} !39 = !{!19, !11, i64 152} !40 = !{!19, !11, i64 0} !41 = !{!19, !12, i64 144} !42 = !{!19, !11, i64 8} !43 = !{!19, !12, i64 136} !44 = !{!19, !8, i64 128} !45 = !{!19, !8, i64 124} !46 = !{!19, !8, i64 120} !47 = !{!19, !12, i64 112} !48 = !{!19, !12, i64 104} !49 = !{!19, !12, i64 96} !50 = !{!19, !12, i64 88} !51 = !{!52, !11, i64 16} !52 = !{!"TYPE_22__", !8, i64 0, !11, i64 8, !11, i64 16} !53 = !{!19, !12, i64 80} !54 = !{!52, !8, i64 0} !55 = !{!19, !8, i64 24} !56 = !{!52, !11, i64 8} !57 = !{!58, !11, i64 0} !58 = !{!"TYPE_23__", !11, i64 0} !59 = !{!19, !12, i64 72} !60 = !{!19, !8, i64 28} !61 = !{!19, !8, i64 64} !62 = !{!19, !12, i64 56} !63 = !{!14, !11, i64 0} !64 = !{!19, !12, i64 48} !65 = !{!19, !11, i64 40}
freebsd_sys_dev_ocs_fc_extr_sli4.c_sli_fcp_iread64_wqe
; ModuleID = 'AnghaBench/linux/arch/unicore32/kernel/extr_puv3-nb0916.c_nb0916_lcdcaseoff_handler.c' source_filename = "AnghaBench/linux/arch/unicore32/kernel/extr_puv3-nb0916.c_nb0916_lcdcaseoff_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" @GPI_LCD_CASE_OFF = dso_local local_unnamed_addr global i32 0, align 4 @GPO_LCD_EN = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nb0916_lcdcaseoff_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nb0916_lcdcaseoff_handler(i32 %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @GPI_LCD_CASE_OFF, align 4, !tbaa !5 %4 = tail call i64 @gpio_get_value(i32 noundef %3) #2 %5 = icmp ne i64 %4, 0 %6 = load i32, ptr @GPO_LCD_EN, align 4, !tbaa !5 %7 = zext i1 %5 to i32 %8 = tail call i32 @gpio_set_value(i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 ret i32 %9 } declare i64 @gpio_get_value(i32 noundef) local_unnamed_addr #1 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"}
; ModuleID = 'AnghaBench/linux/arch/unicore32/kernel/extr_puv3-nb0916.c_nb0916_lcdcaseoff_handler.c' source_filename = "AnghaBench/linux/arch/unicore32/kernel/extr_puv3-nb0916.c_nb0916_lcdcaseoff_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GPI_LCD_CASE_OFF = common local_unnamed_addr global i32 0, align 4 @GPO_LCD_EN = common local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nb0916_lcdcaseoff_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nb0916_lcdcaseoff_handler(i32 %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @GPI_LCD_CASE_OFF, align 4, !tbaa !6 %4 = tail call i64 @gpio_get_value(i32 noundef %3) #2 %5 = icmp ne i64 %4, 0 %6 = load i32, ptr @GPO_LCD_EN, align 4, !tbaa !6 %7 = zext i1 %5 to i32 %8 = tail call i32 @gpio_set_value(i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 ret i32 %9 } declare i64 @gpio_get_value(i32 noundef) local_unnamed_addr #1 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"}
linux_arch_unicore32_kernel_extr_puv3-nb0916.c_nb0916_lcdcaseoff_handler
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_mutex.c_counterMutexNotheld.c' source_filename = "AnghaBench/sqlcipher/src/extr_test_mutex.c_counterMutexNotheld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } @g = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @counterMutexNotheld], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @counterMutexNotheld(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr @g, align 8, !tbaa !5 %3 = load i32, ptr %0, align 4, !tbaa !11 %4 = tail call i32 %2(i32 noundef %3) #1 ret i32 %4 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"TYPE_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_6__", !13, i64 0} !13 = !{!"int", !9, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_mutex.c_counterMutexNotheld.c' source_filename = "AnghaBench/sqlcipher/src/extr_test_mutex.c_counterMutexNotheld.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 { %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } @g = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @counterMutexNotheld], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @counterMutexNotheld(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr @g, align 8, !tbaa !6 %3 = load i32, ptr %0, align 4, !tbaa !12 %4 = tail call i32 %2(i32 noundef %3) #1 ret i32 %4 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_6__", !14, i64 0} !14 = !{!"int", !10, i64 0}
sqlcipher_src_extr_test_mutex.c_counterMutexNotheld
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_fair.c_cfs_rq_util_change.c' source_filename = "AnghaBench/linux/kernel/sched/extr_fair.c_cfs_rq_util_change.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SCHED_CPUFREQ_MIGRATION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cfs_rq_util_change], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @cfs_rq_util_change(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @rq_of(ptr noundef %0) #2 %4 = icmp eq ptr %3, %0 br i1 %4, label %9, label %5 5: ; preds = %2 %6 = load i32, ptr @SCHED_CPUFREQ_MIGRATION, align 4, !tbaa !5 %7 = and i32 %6, %1 %8 = icmp eq i32 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %5, %2 %10 = tail call i32 @cpufreq_update_util(ptr noundef %3, i32 noundef %1) #2 br label %11 11: ; preds = %9, %5 ret void } declare ptr @rq_of(ptr noundef) local_unnamed_addr #1 declare i32 @cpufreq_update_util(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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_fair.c_cfs_rq_util_change.c' source_filename = "AnghaBench/linux/kernel/sched/extr_fair.c_cfs_rq_util_change.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCHED_CPUFREQ_MIGRATION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cfs_rq_util_change], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @cfs_rq_util_change(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @rq_of(ptr noundef %0) #2 %4 = icmp eq ptr %3, %0 br i1 %4, label %9, label %5 5: ; preds = %2 %6 = load i32, ptr @SCHED_CPUFREQ_MIGRATION, align 4, !tbaa !6 %7 = and i32 %6, %1 %8 = icmp eq i32 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %5, %2 %10 = tail call i32 @cpufreq_update_util(ptr noundef %3, i32 noundef %1) #2 br label %11 11: ; preds = %9, %5 ret void } declare ptr @rq_of(ptr noundef) local_unnamed_addr #1 declare i32 @cpufreq_update_util(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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_kernel_sched_extr_fair.c_cfs_rq_util_change
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_fsldma.c_fsldma_request_irqs.c' source_filename = "AnghaBench/linux/drivers/dma/extr_fsldma.c_fsldma_request_irqs.c" target datalayout = "e-m:e-p270:32:32-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.fsldma_device = type { i64, ptr, i32 } @.str = private unnamed_addr constant [28 x i8] c"request per-controller IRQ\0A\00", align 1 @fsldma_ctrl_irq = dso_local local_unnamed_addr global i32 0, align 4 @IRQF_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"fsldma-controller\00", align 1 @FSL_DMA_MAX_CHANS_PER_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [44 x i8] c"interrupts property missing in device tree\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"request per-channel IRQ\0A\00", align 1 @fsldma_chan_irq = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [12 x i8] c"fsldma-chan\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"unable to request per-channel IRQ\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fsldma_request_irqs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fsldma_request_irqs(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %9 4: ; preds = %1 %5 = load i32, ptr @FSL_DMA_MAX_CHANS_PER_DEVICE, align 4, !tbaa !12 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %64 7: ; preds = %4 %8 = getelementptr inbounds %struct.fsldma_device, ptr %0, i64 0, i32 1 br label %17 9: ; preds = %1 %10 = getelementptr inbounds %struct.fsldma_device, ptr %0, i64 0, i32 2 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = tail call i32 @dev_dbg(i32 noundef %11, ptr noundef nonnull @.str) #2 %13 = load i64, ptr %0, align 8, !tbaa !5 %14 = load i32, ptr @fsldma_ctrl_irq, align 4, !tbaa !12 %15 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !12 %16 = tail call i32 @request_irq(i64 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2 br label %64 17: ; preds = %7, %42 %18 = phi i32 [ %5, %7 ], [ %43, %42 ] %19 = phi i64 [ 0, %7 ], [ %44, %42 ] %20 = load ptr, ptr %8, align 8, !tbaa !14 %21 = getelementptr inbounds ptr, ptr %20, i64 %19 %22 = load ptr, ptr %21, align 8, !tbaa !15 %23 = icmp eq ptr %22, null br i1 %23, label %42, label %24 24: ; preds = %17 %25 = load i64, ptr %22, align 8, !tbaa !16 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = tail call i32 @chan_err(ptr noundef nonnull %22, ptr noundef nonnull @.str.2) #2 %29 = load i32, ptr @ENODEV, align 4, !tbaa !12 %30 = sub nsw i32 0, %29 br label %47 31: ; preds = %24 %32 = tail call i32 @chan_dbg(ptr noundef nonnull %22, ptr noundef nonnull @.str.3) #2 %33 = load i64, ptr %22, align 8, !tbaa !16 %34 = load i32, ptr @fsldma_chan_irq, align 4, !tbaa !12 %35 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !12 %36 = tail call i32 @request_irq(i64 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef nonnull @.str.4, ptr noundef nonnull %22) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %31 %39 = load i32, ptr @FSL_DMA_MAX_CHANS_PER_DEVICE, align 4, !tbaa !12 br label %42 40: ; preds = %31 %41 = tail call i32 @chan_err(ptr noundef nonnull %22, ptr noundef nonnull @.str.5) #2 br label %47 42: ; preds = %38, %17 %43 = phi i32 [ %39, %38 ], [ %18, %17 ] %44 = add nuw nsw i64 %19, 1 %45 = sext i32 %43 to i64 %46 = icmp slt i64 %44, %45 br i1 %46, label %17, label %64, !llvm.loop !18 47: ; preds = %27, %40 %48 = phi i32 [ %36, %40 ], [ %30, %27 ] %49 = and i64 %19, 4294967295 br label %50 50: ; preds = %47, %61 %51 = phi i64 [ %49, %47 ], [ %62, %61 ] %52 = load ptr, ptr %8, align 8, !tbaa !14 %53 = getelementptr inbounds ptr, ptr %52, i64 %51 %54 = load ptr, ptr %53, align 8, !tbaa !15 %55 = icmp eq ptr %54, null br i1 %55, label %61, label %56 56: ; preds = %50 %57 = load i64, ptr %54, align 8, !tbaa !16 %58 = icmp eq i64 %57, 0 br i1 %58, label %61, label %59 59: ; preds = %56 %60 = tail call i32 @free_irq(i64 noundef %57, ptr noundef nonnull %54) #2 br label %61 61: ; preds = %56, %50, %59 %62 = add nsw i64 %51, -1 %63 = icmp sgt i64 %51, 0 br i1 %63, label %50, label %64, !llvm.loop !20 64: ; preds = %42, %61, %4, %9 %65 = phi i32 [ %16, %9 ], [ 0, %4 ], [ %48, %61 ], [ 0, %42 ] ret i32 %65 } declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @request_irq(i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @chan_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @chan_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free_irq(i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"fsldma_device", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!6, !11, i64 16} !14 = !{!6, !10, i64 8} !15 = !{!10, !10, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"fsldma_chan", !7, i64 0, !10, i64 8, !11, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19}
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_fsldma.c_fsldma_request_irqs.c' source_filename = "AnghaBench/linux/drivers/dma/extr_fsldma.c_fsldma_request_irqs.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 [28 x i8] c"request per-controller IRQ\0A\00", align 1 @fsldma_ctrl_irq = common local_unnamed_addr global i32 0, align 4 @IRQF_SHARED = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"fsldma-controller\00", align 1 @FSL_DMA_MAX_CHANS_PER_DEVICE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [44 x i8] c"interrupts property missing in device tree\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"request per-channel IRQ\0A\00", align 1 @fsldma_chan_irq = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [12 x i8] c"fsldma-chan\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"unable to request per-channel IRQ\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fsldma_request_irqs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fsldma_request_irqs(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %9 4: ; preds = %1 %5 = load i32, ptr @FSL_DMA_MAX_CHANS_PER_DEVICE, align 4, !tbaa !13 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %64 7: ; preds = %4 %8 = getelementptr inbounds i8, ptr %0, i64 8 br label %17 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !14 %12 = tail call i32 @dev_dbg(i32 noundef %11, ptr noundef nonnull @.str) #2 %13 = load i64, ptr %0, align 8, !tbaa !6 %14 = load i32, ptr @fsldma_ctrl_irq, align 4, !tbaa !13 %15 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !13 %16 = tail call i32 @request_irq(i64 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2 br label %64 17: ; preds = %7, %42 %18 = phi i32 [ %5, %7 ], [ %43, %42 ] %19 = phi i64 [ 0, %7 ], [ %44, %42 ] %20 = load ptr, ptr %8, align 8, !tbaa !15 %21 = getelementptr inbounds ptr, ptr %20, i64 %19 %22 = load ptr, ptr %21, align 8, !tbaa !16 %23 = icmp eq ptr %22, null br i1 %23, label %42, label %24 24: ; preds = %17 %25 = load i64, ptr %22, align 8, !tbaa !17 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = tail call i32 @chan_err(ptr noundef nonnull %22, ptr noundef nonnull @.str.2) #2 %29 = load i32, ptr @ENODEV, align 4, !tbaa !13 %30 = sub nsw i32 0, %29 br label %47 31: ; preds = %24 %32 = tail call i32 @chan_dbg(ptr noundef nonnull %22, ptr noundef nonnull @.str.3) #2 %33 = load i64, ptr %22, align 8, !tbaa !17 %34 = load i32, ptr @fsldma_chan_irq, align 4, !tbaa !13 %35 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !13 %36 = tail call i32 @request_irq(i64 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef nonnull @.str.4, ptr noundef nonnull %22) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %31 %39 = load i32, ptr @FSL_DMA_MAX_CHANS_PER_DEVICE, align 4, !tbaa !13 br label %42 40: ; preds = %31 %41 = tail call i32 @chan_err(ptr noundef nonnull %22, ptr noundef nonnull @.str.5) #2 br label %47 42: ; preds = %38, %17 %43 = phi i32 [ %39, %38 ], [ %18, %17 ] %44 = add nuw nsw i64 %19, 1 %45 = sext i32 %43 to i64 %46 = icmp slt i64 %44, %45 br i1 %46, label %17, label %64, !llvm.loop !19 47: ; preds = %27, %40 %48 = phi i32 [ %36, %40 ], [ %30, %27 ] %49 = and i64 %19, 4294967295 br label %50 50: ; preds = %47, %61 %51 = phi i64 [ %49, %47 ], [ %62, %61 ] %52 = load ptr, ptr %8, align 8, !tbaa !15 %53 = getelementptr inbounds ptr, ptr %52, i64 %51 %54 = load ptr, ptr %53, align 8, !tbaa !16 %55 = icmp eq ptr %54, null br i1 %55, label %61, label %56 56: ; preds = %50 %57 = load i64, ptr %54, align 8, !tbaa !17 %58 = icmp eq i64 %57, 0 br i1 %58, label %61, label %59 59: ; preds = %56 %60 = tail call i32 @free_irq(i64 noundef %57, ptr noundef nonnull %54) #2 br label %61 61: ; preds = %56, %50, %59 %62 = add nsw i64 %51, -1 %63 = icmp sgt i64 %51, 0 br i1 %63, label %50, label %64, !llvm.loop !21 64: ; preds = %42, %61, %4, %9 %65 = phi i32 [ %16, %9 ], [ 0, %4 ], [ %48, %61 ], [ 0, %42 ] ret i32 %65 } declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @request_irq(i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @chan_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @chan_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free_irq(i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"fsldma_device", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !12, i64 16} !15 = !{!7, !11, i64 8} !16 = !{!11, !11, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"fsldma_chan", !8, i64 0, !11, i64 8, !12, i64 16} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = distinct !{!21, !20}
linux_drivers_dma_extr_fsldma.c_fsldma_request_irqs
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_atari_scsi.c_atari_scsi_falcon_reg_read.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_atari_scsi.c_atari_scsi_falcon_reg_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i64, i64 } @dma_wd = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @atari_scsi_falcon_reg_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @atari_scsi_falcon_reg_read(i32 noundef %0) #0 { %2 = add i32 %0, 136 %3 = tail call i32 @local_irq_save(i64 noundef undef) #2 %4 = zext i32 %2 to i64 store i64 %4, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @dma_wd, i64 0, i32 1), align 8, !tbaa !5 %5 = load i64, ptr @dma_wd, align 8, !tbaa !10 %6 = tail call i32 @local_irq_restore(i64 noundef undef) #2 ret i64 %5 } declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1 declare i32 @local_irq_restore(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 8} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_atari_scsi.c_atari_scsi_falcon_reg_read.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_atari_scsi.c_atari_scsi_falcon_reg_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, i64 } @dma_wd = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @atari_scsi_falcon_reg_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @atari_scsi_falcon_reg_read(i32 noundef %0) #0 { %2 = add i32 %0, 136 %3 = tail call i32 @local_irq_save(i64 noundef undef) #2 %4 = zext i32 %2 to i64 store i64 %4, ptr getelementptr inbounds (i8, ptr @dma_wd, i64 8), align 8, !tbaa !6 %5 = load i64, ptr @dma_wd, align 8, !tbaa !11 %6 = tail call i32 @local_irq_restore(i64 noundef undef) #2 ret i64 %5 } declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1 declare i32 @local_irq_restore(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 8} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
linux_drivers_scsi_extr_atari_scsi.c_atari_scsi_falcon_reg_read
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_debug.c_qed_set_debug_engine.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_debug.c_qed_set_debug_engine.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @QED_MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"set debug engine to %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @qed_set_debug_engine(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @QED_MSG_DEBUG, align 4, !tbaa !5 %4 = tail call i32 @DP_VERBOSE(ptr noundef %0, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %1) #2 store i32 %1, ptr %0, align 4, !tbaa !9 ret void } declare i32 @DP_VERBOSE(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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 = !{!"qed_dev", !11, i64 0} !11 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_debug.c_qed_set_debug_engine.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_debug.c_qed_set_debug_engine.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @QED_MSG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"set debug engine to %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @qed_set_debug_engine(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @QED_MSG_DEBUG, align 4, !tbaa !6 %4 = tail call i32 @DP_VERBOSE(ptr noundef %0, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %1) #2 store i32 %1, ptr %0, align 4, !tbaa !10 ret void } declare i32 @DP_VERBOSE(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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 = !{!"qed_dev", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0}
linux_drivers_net_ethernet_qlogic_qed_extr_qed_debug.c_qed_set_debug_engine
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_eeprom.c_ath9k_hw_nvram_validate_checksum.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_eeprom.c_ath9k_hw_nvram_validate_checksum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Bad EEPROM checksum 0x%x\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ath9k_hw_nvram_validate_checksum(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ath9k_hw_common(ptr noundef %0) #3 %4 = icmp sgt i32 %1, 0 br i1 %4, label %5, label %40 5: ; preds = %2 %6 = zext nneg i32 %1 to i64 %7 = icmp ult i32 %1, 8 br i1 %7, label %26, label %8 8: ; preds = %5 %9 = and i64 %6, 2147483640 br label %10 10: ; preds = %10, %8 %11 = phi i64 [ 0, %8 ], [ %20, %10 ] %12 = phi <4 x i32> [ zeroinitializer, %8 ], [ %18, %10 ] %13 = phi <4 x i32> [ zeroinitializer, %8 ], [ %19, %10 ] %14 = getelementptr inbounds i32, ptr %0, i64 %11 %15 = getelementptr inbounds i32, ptr %14, i64 4 %16 = load <4 x i32>, ptr %14, align 4, !tbaa !5 %17 = load <4 x i32>, ptr %15, align 4, !tbaa !5 %18 = xor <4 x i32> %16, %12 %19 = xor <4 x i32> %17, %13 %20 = add nuw i64 %11, 8 %21 = icmp eq i64 %20, %9 br i1 %21, label %22, label %10, !llvm.loop !9 22: ; preds = %10 %23 = xor <4 x i32> %19, %18 %24 = tail call i32 @llvm.vector.reduce.xor.v4i32(<4 x i32> %23) %25 = icmp eq i64 %9, %6 br i1 %25, label %37, label %26 26: ; preds = %5, %22 %27 = phi i64 [ 0, %5 ], [ %9, %22 ] %28 = phi i32 [ 0, %5 ], [ %24, %22 ] br label %29 29: ; preds = %26, %29 %30 = phi i64 [ %35, %29 ], [ %27, %26 ] %31 = phi i32 [ %34, %29 ], [ %28, %26 ] %32 = getelementptr inbounds i32, ptr %0, i64 %30 %33 = load i32, ptr %32, align 4, !tbaa !5 %34 = xor i32 %33, %31 %35 = add nuw nsw i64 %30, 1 %36 = icmp eq i64 %35, %6 br i1 %36, label %37, label %29, !llvm.loop !13 37: ; preds = %29, %22 %38 = phi i32 [ %24, %22 ], [ %34, %29 ] %39 = icmp eq i32 %38, 65535 br i1 %39, label %43, label %40 40: ; preds = %2, %37 %41 = phi i32 [ %38, %37 ], [ 0, %2 ] %42 = tail call i32 @ath_err(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %41) #3 br label %43 43: ; preds = %37, %40 %44 = phi i32 [ 0, %40 ], [ 1, %37 ] ret i32 %44 } declare ptr @ath9k_hw_common(ptr noundef) local_unnamed_addr #1 declare i32 @ath_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.xor.v4i32(<4 x i32>) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10, !11, !12} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!"llvm.loop.isvectorized", i32 1} !12 = !{!"llvm.loop.unroll.runtime.disable"} !13 = distinct !{!13, !10, !12, !11}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_eeprom.c_ath9k_hw_nvram_validate_checksum.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_eeprom.c_ath9k_hw_nvram_validate_checksum.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [26 x i8] c"Bad EEPROM checksum 0x%x\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @ath9k_hw_nvram_validate_checksum(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ath9k_hw_common(ptr noundef %0) #3 %4 = icmp sgt i32 %1, 0 br i1 %4, label %5, label %50 5: ; preds = %2 %6 = zext nneg i32 %1 to i64 %7 = icmp ult i32 %1, 16 br i1 %7, label %36, label %8 8: ; preds = %5 %9 = and i64 %6, 2147483632 br label %10 10: ; preds = %10, %8 %11 = phi i64 [ 0, %8 ], [ %28, %10 ] %12 = phi <4 x i32> [ zeroinitializer, %8 ], [ %24, %10 ] %13 = phi <4 x i32> [ zeroinitializer, %8 ], [ %25, %10 ] %14 = phi <4 x i32> [ zeroinitializer, %8 ], [ %26, %10 ] %15 = phi <4 x i32> [ zeroinitializer, %8 ], [ %27, %10 ] %16 = getelementptr inbounds i32, ptr %0, i64 %11 %17 = getelementptr inbounds i8, ptr %16, i64 16 %18 = getelementptr inbounds i8, ptr %16, i64 32 %19 = getelementptr inbounds i8, ptr %16, i64 48 %20 = load <4 x i32>, ptr %16, align 4, !tbaa !6 %21 = load <4 x i32>, ptr %17, align 4, !tbaa !6 %22 = load <4 x i32>, ptr %18, align 4, !tbaa !6 %23 = load <4 x i32>, ptr %19, align 4, !tbaa !6 %24 = xor <4 x i32> %20, %12 %25 = xor <4 x i32> %21, %13 %26 = xor <4 x i32> %22, %14 %27 = xor <4 x i32> %23, %15 %28 = add nuw i64 %11, 16 %29 = icmp eq i64 %28, %9 br i1 %29, label %30, label %10, !llvm.loop !10 30: ; preds = %10 %31 = xor <4 x i32> %25, %24 %32 = xor <4 x i32> %26, %31 %33 = xor <4 x i32> %27, %32 %34 = tail call i32 @llvm.vector.reduce.xor.v4i32(<4 x i32> %33) %35 = icmp eq i64 %9, %6 br i1 %35, label %47, label %36 36: ; preds = %30, %5 %37 = phi i64 [ 0, %5 ], [ %9, %30 ] %38 = phi i32 [ 0, %5 ], [ %34, %30 ] br label %39 39: ; preds = %36, %39 %40 = phi i64 [ %45, %39 ], [ %37, %36 ] %41 = phi i32 [ %44, %39 ], [ %38, %36 ] %42 = getelementptr inbounds i32, ptr %0, i64 %40 %43 = load i32, ptr %42, align 4, !tbaa !6 %44 = xor i32 %43, %41 %45 = add nuw nsw i64 %40, 1 %46 = icmp eq i64 %45, %6 br i1 %46, label %47, label %39, !llvm.loop !14 47: ; preds = %39, %30 %48 = phi i32 [ %34, %30 ], [ %44, %39 ] %49 = icmp eq i32 %48, 65535 br i1 %49, label %53, label %50 50: ; preds = %2, %47 %51 = phi i32 [ %48, %47 ], [ 0, %2 ] %52 = tail call i32 @ath_err(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %51) #3 br label %53 53: ; preds = %47, %50 %54 = phi i32 [ 0, %50 ], [ 1, %47 ] ret i32 %54 } declare ptr @ath9k_hw_common(ptr noundef) local_unnamed_addr #1 declare i32 @ath_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.xor.v4i32(<4 x i32>) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11, !12, !13} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!"llvm.loop.isvectorized", i32 1} !13 = !{!"llvm.loop.unroll.runtime.disable"} !14 = distinct !{!14, !11, !13, !12}
linux_drivers_net_wireless_ath_ath9k_extr_eeprom.c_ath9k_hw_nvram_validate_checksum
; ModuleID = 'AnghaBench/linux/net/ipv6/netfilter/extr_ip6t_hbh.c_hbh_mt6_check.c' source_filename = "AnghaBench/linux/net/ipv6/netfilter/extr_ip6t_hbh.c_hbh_mt6_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ip6t_opts = type { i32, i32 } @IP6T_OPTS_INV_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"unknown flags %X\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @IP6T_OPTS_NSTRICT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Not strict - not implemented\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @hbh_mt6_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hbh_mt6_check(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 %4 = load i32, ptr @IP6T_OPTS_INV_MASK, align 4, !tbaa !13 %5 = xor i32 %4, -1 %6 = and i32 %3, %5 %7 = icmp eq i32 %6, 0 br i1 %7, label %12, label %8 8: ; preds = %1 %9 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str, i32 noundef %3) #2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !13 %11 = sub nsw i32 0, %10 br label %22 12: ; preds = %1 %13 = getelementptr inbounds %struct.ip6t_opts, ptr %2, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = load i32, ptr @IP6T_OPTS_NSTRICT, align 4, !tbaa !13 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %12 %19 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.1) #2 %20 = load i32, ptr @EINVAL, align 4, !tbaa !13 %21 = sub nsw i32 0, %20 br label %22 22: ; preds = %12, %18, %8 %23 = phi i32 [ %11, %8 ], [ %21, %18 ], [ 0, %12 ] ret i32 %23 } declare i32 @pr_debug(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 = !{!"xt_mtchk_param", !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 = !{!"ip6t_opts", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 4}
; ModuleID = 'AnghaBench/linux/net/ipv6/netfilter/extr_ip6t_hbh.c_hbh_mt6_check.c' source_filename = "AnghaBench/linux/net/ipv6/netfilter/extr_ip6t_hbh.c_hbh_mt6_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IP6T_OPTS_INV_MASK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"unknown flags %X\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @IP6T_OPTS_NSTRICT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Not strict - not implemented\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @hbh_mt6_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @hbh_mt6_check(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 %4 = load i32, ptr @IP6T_OPTS_INV_MASK, align 4, !tbaa !14 %5 = xor i32 %4, -1 %6 = and i32 %3, %5 %7 = icmp eq i32 %6, 0 br i1 %7, label %12, label %8 8: ; preds = %1 %9 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str, i32 noundef %3) #2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !14 %11 = sub nsw i32 0, %10 br label %22 12: ; preds = %1 %13 = getelementptr inbounds i8, ptr %2, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !15 %15 = load i32, ptr @IP6T_OPTS_NSTRICT, align 4, !tbaa !14 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %12 %19 = tail call i32 (ptr, ...) @pr_debug(ptr noundef nonnull @.str.1) #2 %20 = load i32, ptr @EINVAL, align 4, !tbaa !14 %21 = sub nsw i32 0, %20 br label %22 22: ; preds = %12, %18, %8 %23 = phi i32 [ %11, %8 ], [ %21, %18 ], [ 0, %12 ] ret i32 %23 } declare i32 @pr_debug(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 = !{!"xt_mtchk_param", !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 = !{!"ip6t_opts", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 4}
linux_net_ipv6_netfilter_extr_ip6t_hbh.c_hbh_mt6_check
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm93.c_pwm_auto_spinup_time_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm93.c_pwm_auto_spinup_time_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"%d\0A\00", align 1 @LM93_PWM_CTL3 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @pwm_auto_spinup_time_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pwm_auto_spinup_time_show(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call ptr @lm93_update_device(ptr noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = sext i32 %5 to i64 %9 = getelementptr inbounds ptr, ptr %7, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = load i64, ptr @LM93_PWM_CTL3, align 8, !tbaa !14 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !16 %14 = tail call i32 @LM93_SPINUP_TIME_FROM_REG(i32 noundef %13) #2 %15 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %14) #2 ret i32 %15 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @lm93_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LM93_SPINUP_TIME_FROM_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"lm93_data", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm93.c_pwm_auto_spinup_time_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm93.c_pwm_auto_spinup_time_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"%d\0A\00", align 1 @LM93_PWM_CTL3 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @pwm_auto_spinup_time_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pwm_auto_spinup_time_show(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call ptr @lm93_update_device(ptr noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = sext i32 %5 to i64 %9 = getelementptr inbounds ptr, ptr %7, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = load i64, ptr @LM93_PWM_CTL3, align 8, !tbaa !15 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !17 %14 = tail call i32 @LM93_SPINUP_TIME_FROM_REG(i32 noundef %13) #2 %15 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %14) #2 ret i32 %15 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @lm93_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LM93_SPINUP_TIME_FROM_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"lm93_data", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!8, !8, i64 0}
linux_drivers_hwmon_extr_lm93.c_pwm_auto_spinup_time_show
; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5DebugRowid.c' source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5DebugRowid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FTS5_AVERAGES_ROWID = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [12 x i8] c"{averages} \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"{structure}\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"{%ssegid=%d h=%d pgno=%d}\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"dlidx \00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fts5DebugRowid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fts5DebugRowid(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %8 = call i32 @fts5DecodeRowid(i64 noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %9 = load i32, ptr %4, align 4, !tbaa !5 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %3 %12 = load i64, ptr @FTS5_AVERAGES_ROWID, align 8, !tbaa !9 %13 = icmp eq i64 %12, %2 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (ptr, ptr, ptr, ...) @sqlite3Fts5BufferAppendPrintf(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #3 br label %25 16: ; preds = %11 %17 = call i32 (ptr, ptr, ptr, ...) @sqlite3Fts5BufferAppendPrintf(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1) #3 br label %25 18: ; preds = %3 %19 = load i32, ptr %7, align 4, !tbaa !5 %20 = icmp eq i32 %19, 0 %21 = select i1 %20, ptr @.str.4, ptr @.str.3 %22 = load i32, ptr %5, align 4, !tbaa !5 %23 = load i32, ptr %6, align 4, !tbaa !5 %24 = call i32 (ptr, ptr, ptr, ...) @sqlite3Fts5BufferAppendPrintf(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %21, i32 noundef %9, i32 noundef %22, i32 noundef %23) #3 br label %25 25: ; preds = %14, %16, %18 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 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 @fts5DecodeRowid(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts5BufferAppendPrintf(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/sqlcipher/ext/fts5/extr_fts5_index.c_fts5DebugRowid.c' source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5DebugRowid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FTS5_AVERAGES_ROWID = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [12 x i8] c"{averages} \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"{structure}\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"{%ssegid=%d h=%d pgno=%d}\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"dlidx \00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @llvm.used = appending global [1 x ptr] [ptr @fts5DebugRowid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fts5DebugRowid(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %8 = call i32 @fts5DecodeRowid(i64 noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %9 = load i32, ptr %4, align 4, !tbaa !6 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %3 %12 = load i64, ptr @FTS5_AVERAGES_ROWID, align 8, !tbaa !10 %13 = icmp eq i64 %12, %2 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (ptr, ptr, ptr, ...) @sqlite3Fts5BufferAppendPrintf(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #3 br label %25 16: ; preds = %11 %17 = call i32 (ptr, ptr, ptr, ...) @sqlite3Fts5BufferAppendPrintf(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1) #3 br label %25 18: ; preds = %3 %19 = load i32, ptr %7, align 4, !tbaa !6 %20 = icmp eq i32 %19, 0 %21 = select i1 %20, ptr @.str.4, ptr @.str.3 %22 = load i32, ptr %5, align 4, !tbaa !6 %23 = load i32, ptr %6, align 4, !tbaa !6 %24 = call i32 (ptr, ptr, ptr, ...) @sqlite3Fts5BufferAppendPrintf(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %21, i32 noundef %9, i32 noundef %22, i32 noundef %23) #3 br label %25 25: ; preds = %14, %16, %18 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 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 @fts5DecodeRowid(i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts5BufferAppendPrintf(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
sqlcipher_ext_fts5_extr_fts5_index.c_fts5DebugRowid
; ModuleID = 'AnghaBench/fastsocket/kernel/net/rxrpc/extr_ar-key.c_rxrpc_free_krb5_tagged.c' source_filename = "AnghaBench/fastsocket/kernel/net/rxrpc/extr_ar-key.c_rxrpc_free_krb5_tagged.c" target datalayout = "e-m:e-p270:32:32-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 @rxrpc_free_krb5_tagged], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rxrpc_free_krb5_tagged(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @kfree(i32 noundef %2) #2 ret void } declare i32 @kfree(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"krb5_tagged_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/rxrpc/extr_ar-key.c_rxrpc_free_krb5_tagged.c' source_filename = "AnghaBench/fastsocket/kernel/net/rxrpc/extr_ar-key.c_rxrpc_free_krb5_tagged.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @rxrpc_free_krb5_tagged], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rxrpc_free_krb5_tagged(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @kfree(i32 noundef %2) #2 ret void } declare i32 @kfree(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"krb5_tagged_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_rxrpc_extr_ar-key.c_rxrpc_free_krb5_tagged
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_OS.c_OSFileWrite.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_OS.c_OSFileWrite.c" target datalayout = "e-m:e-p270:32:32-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 = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @OSFileWrite(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @os, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !9 %6 = tail call i32 %5(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 ret i32 %6 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_OS.c_OSFileWrite.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_OS.c_OSFileWrite.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @os = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @OSFileWrite(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @os, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = tail call i32 %5(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 ret i32 %6 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !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}
SoftEtherVPN_src_Mayaqua_extr_OS.c_OSFileWrite
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_ipl.c_dump_type_show.c' source_filename = "AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_ipl.c_dump_type_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\0A\00", align 1 @dump_type = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dump_type_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dump_type_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr @dump_type, align 4, !tbaa !5 %5 = tail call ptr @dump_type_str(i32 noundef %4) #2 %6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef %5) #2 ret i32 %6 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dump_type_str(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_ipl.c_dump_type_show.c' source_filename = "AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_ipl.c_dump_type_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\0A\00", align 1 @dump_type = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dump_type_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dump_type_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr @dump_type, align 4, !tbaa !6 %5 = tail call ptr @dump_type_str(i32 noundef %4) #2 %6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef %5) #2 ret i32 %6 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dump_type_str(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_s390_kernel_extr_ipl.c_dump_type_show
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_main.c_gatt_le_data_ind.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_main.c_gatt_le_data_ind.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BT_TRANSPORT_LE = dso_local local_unnamed_addr global i32 0, align 4 @GATT_CH_OPEN = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [45 x i8] c"ATT - Ignored L2CAP data while in state: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @gatt_le_data_ind], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gatt_le_data_ind(i32 %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @BT_TRANSPORT_LE, align 4, !tbaa !5 %5 = tail call ptr @gatt_find_tcb_by_addr(i32 noundef %1, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %17, label %7 7: ; preds = %3 %8 = tail call i64 @gatt_get_ch_state(ptr noundef nonnull %5) #2 %9 = load i64, ptr @GATT_CH_OPEN, align 8, !tbaa !9 %10 = icmp slt i64 %8, %9 br i1 %10, label %13, label %11 11: ; preds = %7 %12 = tail call i32 @gatt_data_process(ptr noundef nonnull %5, ptr noundef %2) #2 br label %19 13: ; preds = %7 %14 = tail call i32 @osi_free(ptr noundef %2) #2 %15 = tail call i64 @gatt_get_ch_state(ptr noundef nonnull %5) #2 %16 = tail call i32 @GATT_TRACE_WARNING(ptr noundef nonnull @.str, i64 noundef %15) #2 br label %19 17: ; preds = %3 %18 = tail call i32 @osi_free(ptr noundef %2) #2 br label %19 19: ; preds = %17, %13, %11 ret void } declare ptr @gatt_find_tcb_by_addr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @gatt_get_ch_state(ptr noundef) local_unnamed_addr #1 declare i32 @gatt_data_process(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @osi_free(ptr noundef) local_unnamed_addr #1 declare i32 @GATT_TRACE_WARNING(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_main.c_gatt_le_data_ind.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_main.c_gatt_le_data_ind.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BT_TRANSPORT_LE = common local_unnamed_addr global i32 0, align 4 @GATT_CH_OPEN = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [45 x i8] c"ATT - Ignored L2CAP data while in state: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @gatt_le_data_ind], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gatt_le_data_ind(i32 %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @BT_TRANSPORT_LE, align 4, !tbaa !6 %5 = tail call ptr @gatt_find_tcb_by_addr(i32 noundef %1, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %17, label %7 7: ; preds = %3 %8 = tail call i64 @gatt_get_ch_state(ptr noundef nonnull %5) #2 %9 = load i64, ptr @GATT_CH_OPEN, align 8, !tbaa !10 %10 = icmp slt i64 %8, %9 br i1 %10, label %13, label %11 11: ; preds = %7 %12 = tail call i32 @gatt_data_process(ptr noundef nonnull %5, ptr noundef %2) #2 br label %19 13: ; preds = %7 %14 = tail call i32 @osi_free(ptr noundef %2) #2 %15 = tail call i64 @gatt_get_ch_state(ptr noundef nonnull %5) #2 %16 = tail call i32 @GATT_TRACE_WARNING(ptr noundef nonnull @.str, i64 noundef %15) #2 br label %19 17: ; preds = %3 %18 = tail call i32 @osi_free(ptr noundef %2) #2 br label %19 19: ; preds = %17, %13, %11 ret void } declare ptr @gatt_find_tcb_by_addr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @gatt_get_ch_state(ptr noundef) local_unnamed_addr #1 declare i32 @gatt_data_process(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @osi_free(ptr noundef) local_unnamed_addr #1 declare i32 @GATT_TRACE_WARNING(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
esp-idf_components_bt_host_bluedroid_stack_gatt_extr_gatt_main.c_gatt_le_data_ind
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_adjust_conf.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_adjust_conf.c" target datalayout = "e-m:e-p270:32:32-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_4__ } %struct.TYPE_5__ = type { ptr, ptr } %struct.TYPE_4__ = type { i32, i64, ptr } @fwlog_param = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [11 x i8] c"continuous\00", align 1 @WL12XX_FWLOG_CONTINUOUS = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"ondemand\00", align 1 @WL12XX_FWLOG_ON_DEMAND = dso_local local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [8 x i8] c"dbgpins\00", align 1 @WL12XX_FWLOG_OUTPUT_DBG_PINS = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [8 x i8] c"disable\00", align 1 @WL12XX_FWLOG_OUTPUT_NONE = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [27 x i8] c"Unknown fwlog parameter %s\00", align 1 @bug_on_recovery = dso_local local_unnamed_addr global i32 0, align 4 @no_recovery = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wlcore_adjust_conf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wlcore_adjust_conf(ptr nocapture noundef writeonly %0) #0 { %2 = load i64, ptr @fwlog_param, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %37, label %4 4: ; preds = %1 %5 = tail call i32 @strcmp(i64 noundef %2, ptr noundef nonnull @.str) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load ptr, ptr @WL12XX_FWLOG_CONTINUOUS, align 8, !tbaa !9 %9 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1, i32 2 store ptr %8, ptr %9, align 8, !tbaa !11 br label %37 10: ; preds = %4 %11 = load i64, ptr @fwlog_param, align 8, !tbaa !5 %12 = tail call i32 @strcmp(i64 noundef %11, ptr noundef nonnull @.str.1) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load ptr, ptr @WL12XX_FWLOG_ON_DEMAND, align 8, !tbaa !9 %16 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1, i32 2 store ptr %15, ptr %16, align 8, !tbaa !11 br label %37 17: ; preds = %10 %18 = load i64, ptr @fwlog_param, align 8, !tbaa !5 %19 = tail call i32 @strcmp(i64 noundef %18, ptr noundef nonnull @.str.2) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load ptr, ptr @WL12XX_FWLOG_CONTINUOUS, align 8, !tbaa !9 %23 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %24 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1, i32 2 store ptr %22, ptr %24, align 8, !tbaa !11 %25 = load i32, ptr @WL12XX_FWLOG_OUTPUT_DBG_PINS, align 4, !tbaa !17 store i32 %25, ptr %23, align 8, !tbaa !18 br label %37 26: ; preds = %17 %27 = load i64, ptr @fwlog_param, align 8, !tbaa !5 %28 = tail call i32 @strcmp(i64 noundef %27, ptr noundef nonnull @.str.3) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %32 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1, i32 1 store i64 0, ptr %32, align 8, !tbaa !19 %33 = load i32, ptr @WL12XX_FWLOG_OUTPUT_NONE, align 4, !tbaa !17 store i32 %33, ptr %31, align 8, !tbaa !18 br label %37 34: ; preds = %26 %35 = load i64, ptr @fwlog_param, align 8, !tbaa !5 %36 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.4, i64 noundef %35) #2 br label %37 37: ; preds = %7, %21, %34, %30, %14, %1 %38 = load i32, ptr @bug_on_recovery, align 4, !tbaa !17 %39 = icmp eq i32 %38, -1 br i1 %39, label %44, label %40 40: ; preds = %37 %41 = sext i32 %38 to i64 %42 = inttoptr i64 %41 to ptr %43 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 store ptr %42, ptr %43, align 8, !tbaa !20 br label %44 44: ; preds = %40, %37 %45 = load i32, ptr @no_recovery, align 4, !tbaa !17 %46 = icmp eq i32 %45, -1 br i1 %46, label %50, label %47 47: ; preds = %44 %48 = sext i32 %45 to i64 %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %0, align 8, !tbaa !21 br label %50 50: ; preds = %47, %44 ret void } declare i32 @strcmp(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wl1271_error(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 32} !12 = !{!"wl1271", !13, i64 0} !13 = !{!"TYPE_6__", !14, i64 0, !15, i64 16} !14 = !{!"TYPE_5__", !10, i64 0, !10, i64 8} !15 = !{!"TYPE_4__", !16, i64 0, !6, i64 8, !10, i64 16} !16 = !{!"int", !7, i64 0} !17 = !{!16, !16, i64 0} !18 = !{!12, !16, i64 16} !19 = !{!12, !6, i64 24} !20 = !{!12, !10, i64 8} !21 = !{!12, !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_adjust_conf.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_adjust_conf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @fwlog_param = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [11 x i8] c"continuous\00", align 1 @WL12XX_FWLOG_CONTINUOUS = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [9 x i8] c"ondemand\00", align 1 @WL12XX_FWLOG_ON_DEMAND = common local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [8 x i8] c"dbgpins\00", align 1 @WL12XX_FWLOG_OUTPUT_DBG_PINS = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [8 x i8] c"disable\00", align 1 @WL12XX_FWLOG_OUTPUT_NONE = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [27 x i8] c"Unknown fwlog parameter %s\00", align 1 @bug_on_recovery = common local_unnamed_addr global i32 0, align 4 @no_recovery = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wlcore_adjust_conf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wlcore_adjust_conf(ptr nocapture noundef writeonly %0) #0 { %2 = load i64, ptr @fwlog_param, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %37, label %4 4: ; preds = %1 %5 = tail call i32 @strcmp(i64 noundef %2, ptr noundef nonnull @.str) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load ptr, ptr @WL12XX_FWLOG_CONTINUOUS, align 8, !tbaa !10 %9 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %8, ptr %9, align 8, !tbaa !12 br label %37 10: ; preds = %4 %11 = load i64, ptr @fwlog_param, align 8, !tbaa !6 %12 = tail call i32 @strcmp(i64 noundef %11, ptr noundef nonnull @.str.1) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load ptr, ptr @WL12XX_FWLOG_ON_DEMAND, align 8, !tbaa !10 %16 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %15, ptr %16, align 8, !tbaa !12 br label %37 17: ; preds = %10 %18 = load i64, ptr @fwlog_param, align 8, !tbaa !6 %19 = tail call i32 @strcmp(i64 noundef %18, ptr noundef nonnull @.str.2) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load ptr, ptr @WL12XX_FWLOG_CONTINUOUS, align 8, !tbaa !10 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %22, ptr %24, align 8, !tbaa !12 %25 = load i32, ptr @WL12XX_FWLOG_OUTPUT_DBG_PINS, align 4, !tbaa !18 store i32 %25, ptr %23, align 8, !tbaa !19 br label %37 26: ; preds = %17 %27 = load i64, ptr @fwlog_param, align 8, !tbaa !6 %28 = tail call i32 @strcmp(i64 noundef %27, ptr noundef nonnull @.str.3) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = getelementptr inbounds i8, ptr %0, i64 16 %32 = getelementptr inbounds i8, ptr %0, i64 24 store i64 0, ptr %32, align 8, !tbaa !20 %33 = load i32, ptr @WL12XX_FWLOG_OUTPUT_NONE, align 4, !tbaa !18 store i32 %33, ptr %31, align 8, !tbaa !19 br label %37 34: ; preds = %26 %35 = load i64, ptr @fwlog_param, align 8, !tbaa !6 %36 = tail call i32 @wl1271_error(ptr noundef nonnull @.str.4, i64 noundef %35) #2 br label %37 37: ; preds = %7, %21, %34, %30, %14, %1 %38 = load i32, ptr @bug_on_recovery, align 4, !tbaa !18 %39 = icmp eq i32 %38, -1 br i1 %39, label %44, label %40 40: ; preds = %37 %41 = sext i32 %38 to i64 %42 = inttoptr i64 %41 to ptr %43 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %42, ptr %43, align 8, !tbaa !21 br label %44 44: ; preds = %40, %37 %45 = load i32, ptr @no_recovery, align 4, !tbaa !18 %46 = icmp eq i32 %45, -1 br i1 %46, label %50, label %47 47: ; preds = %44 %48 = sext i32 %45 to i64 %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %0, align 8, !tbaa !22 br label %50 50: ; preds = %47, %44 ret void } declare i32 @strcmp(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wl1271_error(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 32} !13 = !{!"wl1271", !14, i64 0} !14 = !{!"TYPE_6__", !15, i64 0, !16, i64 16} !15 = !{!"TYPE_5__", !11, i64 0, !11, i64 8} !16 = !{!"TYPE_4__", !17, i64 0, !7, i64 8, !11, i64 16} !17 = !{!"int", !8, i64 0} !18 = !{!17, !17, i64 0} !19 = !{!13, !17, i64 16} !20 = !{!13, !7, i64 24} !21 = !{!13, !11, i64 8} !22 = !{!13, !11, i64 0}
fastsocket_kernel_drivers_net_wireless_ti_wlcore_extr_main.c_wlcore_adjust_conf
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-device/extr_device-enumerator.c_device_enumerator_free.c' source_filename = "AnghaBench/systemd/src/libsystemd/sd-device/extr_device-enumerator.c_device_enumerator_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i64, i32, i32, i32, i32, i32, i32, i32, i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @device_enumerator_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @device_enumerator_free(ptr noundef %0) #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %16, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 9 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 0, %5 ], [ %13, %7 ] %9 = load ptr, ptr %6, align 8, !tbaa !12 %10 = getelementptr inbounds i32, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @sd_device_unref(i32 noundef %11) #2 %13 = add nuw i64 %8, 1 %14 = load i64, ptr %0, align 8, !tbaa !5 %15 = icmp ult i64 %13, %14 br i1 %15, label %7, label %16, !llvm.loop !14 16: ; preds = %7, %1 %17 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 9 %18 = load ptr, ptr %17, align 8, !tbaa !12 %19 = tail call i32 @free(ptr noundef %18) #2 %20 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8 %21 = load i32, ptr %20, align 4, !tbaa !16 %22 = tail call i32 @set_free_free(i32 noundef %21) #2 %23 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 7 %24 = load i32, ptr %23, align 8, !tbaa !17 %25 = tail call i32 @set_free_free(i32 noundef %24) #2 %26 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6 %27 = load i32, ptr %26, align 4, !tbaa !18 %28 = tail call i32 @hashmap_free_free_free(i32 noundef %27) #2 %29 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5 %30 = load i32, ptr %29, align 8, !tbaa !19 %31 = tail call i32 @hashmap_free_free_free(i32 noundef %30) #2 %32 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4 %33 = load i32, ptr %32, align 4, !tbaa !20 %34 = tail call i32 @hashmap_free_free_free(i32 noundef %33) #2 %35 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3 %36 = load i32, ptr %35, align 8, !tbaa !21 %37 = tail call i32 @set_free_free(i32 noundef %36) #2 %38 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %39 = load i32, ptr %38, align 4, !tbaa !22 %40 = tail call i32 @set_free_free(i32 noundef %39) #2 %41 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %42 = load i32, ptr %41, align 8, !tbaa !23 %43 = tail call i32 @set_free_free(i32 noundef %42) #2 %44 = tail call ptr @mfree(ptr noundef nonnull %0) #2 ret ptr %44 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @sd_device_unref(i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @set_free_free(i32 noundef) local_unnamed_addr #1 declare i32 @hashmap_free_free_free(i32 noundef) local_unnamed_addr #1 declare ptr @mfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !11, i64 40} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !11, i64 40} !13 = !{!10, !10, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!6, !10, i64 36} !17 = !{!6, !10, i64 32} !18 = !{!6, !10, i64 28} !19 = !{!6, !10, i64 24} !20 = !{!6, !10, i64 20} !21 = !{!6, !10, i64 16} !22 = !{!6, !10, i64 12} !23 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-device/extr_device-enumerator.c_device_enumerator_free.c' source_filename = "AnghaBench/systemd/src/libsystemd/sd-device/extr_device-enumerator.c_device_enumerator_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @device_enumerator_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @device_enumerator_free(ptr noundef %0) #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %16, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 40 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 0, %5 ], [ %13, %7 ] %9 = load ptr, ptr %6, align 8, !tbaa !13 %10 = getelementptr inbounds i32, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = tail call i32 @sd_device_unref(i32 noundef %11) #2 %13 = add nuw i64 %8, 1 %14 = load i64, ptr %0, align 8, !tbaa !6 %15 = icmp ult i64 %13, %14 br i1 %15, label %7, label %16, !llvm.loop !15 16: ; preds = %7, %1 %17 = getelementptr inbounds i8, ptr %0, i64 40 %18 = load ptr, ptr %17, align 8, !tbaa !13 %19 = tail call i32 @free(ptr noundef %18) #2 %20 = getelementptr inbounds i8, ptr %0, i64 36 %21 = load i32, ptr %20, align 4, !tbaa !17 %22 = tail call i32 @set_free_free(i32 noundef %21) #2 %23 = getelementptr inbounds i8, ptr %0, i64 32 %24 = load i32, ptr %23, align 8, !tbaa !18 %25 = tail call i32 @set_free_free(i32 noundef %24) #2 %26 = getelementptr inbounds i8, ptr %0, i64 28 %27 = load i32, ptr %26, align 4, !tbaa !19 %28 = tail call i32 @hashmap_free_free_free(i32 noundef %27) #2 %29 = getelementptr inbounds i8, ptr %0, i64 24 %30 = load i32, ptr %29, align 8, !tbaa !20 %31 = tail call i32 @hashmap_free_free_free(i32 noundef %30) #2 %32 = getelementptr inbounds i8, ptr %0, i64 20 %33 = load i32, ptr %32, align 4, !tbaa !21 %34 = tail call i32 @hashmap_free_free_free(i32 noundef %33) #2 %35 = getelementptr inbounds i8, ptr %0, i64 16 %36 = load i32, ptr %35, align 8, !tbaa !22 %37 = tail call i32 @set_free_free(i32 noundef %36) #2 %38 = getelementptr inbounds i8, ptr %0, i64 12 %39 = load i32, ptr %38, align 4, !tbaa !23 %40 = tail call i32 @set_free_free(i32 noundef %39) #2 %41 = getelementptr inbounds i8, ptr %0, i64 8 %42 = load i32, ptr %41, align 8, !tbaa !24 %43 = tail call i32 @set_free_free(i32 noundef %42) #2 %44 = tail call ptr @mfree(ptr noundef nonnull %0) #2 ret ptr %44 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @sd_device_unref(i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @set_free_free(i32 noundef) local_unnamed_addr #1 declare i32 @hashmap_free_free_free(i32 noundef) local_unnamed_addr #1 declare ptr @mfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !12, i64 40} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !12, i64 40} !14 = !{!11, !11, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!7, !11, i64 36} !18 = !{!7, !11, i64 32} !19 = !{!7, !11, i64 28} !20 = !{!7, !11, i64 24} !21 = !{!7, !11, i64 20} !22 = !{!7, !11, i64 16} !23 = !{!7, !11, i64 12} !24 = !{!7, !11, i64 8}
systemd_src_libsystemd_sd-device_extr_device-enumerator.c_device_enumerator_free
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_opncls.c_opncls_bseek.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_opncls.c_opncls_bseek.c" target datalayout = "e-m:e-p270:32:32-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 @opncls_bseek], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @opncls_bseek(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 switch i32 %2, label %10 [ i32 128, label %8 i32 130, label %5 i32 129, label %11 ] 5: ; preds = %3 %6 = load i32, ptr %4, align 4, !tbaa !10 %7 = add nsw i32 %6, %1 br label %8 8: ; preds = %3, %5 %9 = phi i32 [ %7, %5 ], [ %1, %3 ] store i32 %9, ptr %4, align 4, !tbaa !10 br label %10 10: ; preds = %8, %3 br label %11 11: ; preds = %3, %10 %12 = phi i32 [ 0, %10 ], [ -1, %3 ] ret i32 %12 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bfd", !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 = !{!"opncls", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_opncls.c_opncls_bseek.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_opncls.c_opncls_bseek.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 @opncls_bseek], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 -1, 1) i32 @opncls_bseek(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 switch i32 %2, label %10 [ i32 128, label %8 i32 130, label %5 i32 129, label %11 ] 5: ; preds = %3 %6 = load i32, ptr %4, align 4, !tbaa !11 %7 = add nsw i32 %6, %1 br label %8 8: ; preds = %3, %5 %9 = phi i32 [ %7, %5 ], [ %1, %3 ] store i32 %9, ptr %4, align 4, !tbaa !11 br label %10 10: ; preds = %8, %3 br label %11 11: ; preds = %3, %10 %12 = phi i32 [ 0, %10 ], [ -1, %3 ] ret i32 %12 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bfd", !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 = !{!"opncls", !13, i64 0} !13 = !{!"int", !9, i64 0}
freebsd_contrib_binutils_bfd_extr_opncls.c_opncls_bseek
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic.h_qlcnic_setup_intr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic.h_qlcnic_setup_intr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @qlcnic_setup_intr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @qlcnic_setup_intr(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = tail call i32 %4(ptr noundef nonnull %0) #1 ret i32 %5 } 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/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic.h_qlcnic_setup_intr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic.h_qlcnic_setup_intr.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_setup_intr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @qlcnic_setup_intr(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load ptr, ptr %3, align 8, !tbaa !13 %5 = tail call i32 %4(ptr noundef nonnull %0) #1 ret i32 %5 } 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}
linux_drivers_net_ethernet_qlogic_qlcnic_extr_qlcnic.h_qlcnic_setup_intr
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-mb86s7x.c_mb86s70_gpio_remove.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-mb86s7x.c_mb86s70_gpio_remove.c" target datalayout = "e-m:e-p270:32:32-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.mb86s70_gpio_chip = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @mb86s70_gpio_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mb86s70_gpio_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = tail call i64 @has_acpi_companion(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.mb86s70_gpio_chip, ptr %2, i64 0, i32 1 %7 = tail call i32 @acpi_gpiochip_free_interrupts(ptr noundef nonnull %6) #2 br label %8 8: ; preds = %5, %1 %9 = getelementptr inbounds %struct.mb86s70_gpio_chip, ptr %2, i64 0, i32 1 %10 = tail call i32 @gpiochip_remove(ptr noundef nonnull %9) #2 %11 = load i32, ptr %2, align 4, !tbaa !5 %12 = tail call i32 @clk_disable_unprepare(i32 noundef %11) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i64 @has_acpi_companion(ptr noundef) local_unnamed_addr #1 declare i32 @acpi_gpiochip_free_interrupts(ptr noundef) local_unnamed_addr #1 declare i32 @gpiochip_remove(ptr noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"mb86s70_gpio_chip", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-mb86s7x.c_mb86s70_gpio_remove.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-mb86s7x.c_mb86s70_gpio_remove.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 @mb86s70_gpio_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @mb86s70_gpio_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = tail call i64 @has_acpi_companion(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %2, i64 4 %7 = tail call i32 @acpi_gpiochip_free_interrupts(ptr noundef nonnull %6) #2 br label %8 8: ; preds = %5, %1 %9 = getelementptr inbounds i8, ptr %2, i64 4 %10 = tail call i32 @gpiochip_remove(ptr noundef nonnull %9) #2 %11 = load i32, ptr %2, align 4, !tbaa !6 %12 = tail call i32 @clk_disable_unprepare(i32 noundef %11) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i64 @has_acpi_companion(ptr noundef) local_unnamed_addr #1 declare i32 @acpi_gpiochip_free_interrupts(ptr noundef) local_unnamed_addr #1 declare i32 @gpiochip_remove(ptr noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"mb86s70_gpio_chip", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpio_extr_gpio-mb86s7x.c_mb86s70_gpio_remove
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm93.c_LM93_IN_FROM_REG.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm93.c_LM93_IN_FROM_REG.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @lm93_vin_val_max = dso_local local_unnamed_addr global ptr null, align 8 @lm93_vin_val_min = dso_local local_unnamed_addr global ptr null, align 8 @lm93_vin_reg_max = dso_local local_unnamed_addr global ptr null, align 8 @lm93_vin_reg_min = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @LM93_IN_FROM_REG], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @LM93_IN_FROM_REG(i32 noundef %0, i64 noundef %1) #0 { %3 = load ptr, ptr @lm93_vin_val_max, align 8, !tbaa !5 %4 = sext i32 %0 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = mul nsw i32 %6, 1000 %8 = sext i32 %7 to i64 %9 = load ptr, ptr @lm93_vin_val_min, align 8, !tbaa !5 %10 = getelementptr inbounds i32, ptr %9, i64 %4 %11 = load i32, ptr %10, align 4, !tbaa !9 %12 = mul nsw i32 %11, 1000 %13 = sext i32 %12 to i64 %14 = sub nsw i64 %8, %13 %15 = load ptr, ptr @lm93_vin_reg_max, align 8, !tbaa !5 %16 = getelementptr inbounds i64, ptr %15, i64 %4 %17 = load i64, ptr %16, align 8, !tbaa !11 %18 = load ptr, ptr @lm93_vin_reg_min, align 8, !tbaa !5 %19 = getelementptr inbounds i64, ptr %18, i64 %4 %20 = load i64, ptr %19, align 8, !tbaa !11 %21 = sub nsw i64 %17, %20 %22 = sdiv i64 %14, %21 %23 = sub i64 %1, %20 %24 = mul i64 %23, %22 %25 = add nsw i64 %13, 500 %26 = add i64 %25, %24 %27 = sdiv i64 %26, 1000 %28 = trunc i64 %27 to i32 ret i32 %28 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lm93.c_LM93_IN_FROM_REG.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_lm93.c_LM93_IN_FROM_REG.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @lm93_vin_val_max = common local_unnamed_addr global ptr null, align 8 @lm93_vin_val_min = common local_unnamed_addr global ptr null, align 8 @lm93_vin_reg_max = common local_unnamed_addr global ptr null, align 8 @lm93_vin_reg_min = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @LM93_IN_FROM_REG], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @LM93_IN_FROM_REG(i32 noundef %0, i64 noundef %1) #0 { %3 = load ptr, ptr @lm93_vin_val_max, align 8, !tbaa !6 %4 = sext i32 %0 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = mul nsw i32 %6, 1000 %8 = sext i32 %7 to i64 %9 = load ptr, ptr @lm93_vin_val_min, align 8, !tbaa !6 %10 = getelementptr inbounds i32, ptr %9, i64 %4 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = mul nsw i32 %11, 1000 %13 = sext i32 %12 to i64 %14 = sub nsw i64 %8, %13 %15 = load ptr, ptr @lm93_vin_reg_max, align 8, !tbaa !6 %16 = getelementptr inbounds i64, ptr %15, i64 %4 %17 = load i64, ptr %16, align 8, !tbaa !12 %18 = load ptr, ptr @lm93_vin_reg_min, align 8, !tbaa !6 %19 = getelementptr inbounds i64, ptr %18, i64 %4 %20 = load i64, ptr %19, align 8, !tbaa !12 %21 = sub nsw i64 %17, %20 %22 = sdiv i64 %14, %21 %23 = sub i64 %1, %20 %24 = mul i64 %23, %22 %25 = add nsw i64 %13, 500 %26 = add i64 %25, %24 %27 = sdiv i64 %26, 1000 %28 = trunc i64 %27 to i32 ret i32 %28 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0}
linux_drivers_hwmon_extr_lm93.c_LM93_IN_FROM_REG
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_uvd.c_radeon_uvd_note_usage.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_uvd.c_radeon_uvd_note_usage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.radeon_device = type { %struct.TYPE_6__, %struct.TYPE_4__ } %struct.TYPE_6__ = type { i64, i64, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32 } %struct.TYPE_4__ = type { i32 } @UVD_IDLE_TIMEOUT_MS = dso_local local_unnamed_addr global i32 0, align 4 @PM_METHOD_DPM = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @radeon_uvd_note_usage(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 1 %5 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %4) #3 %6 = icmp ne i32 %5, 0 %7 = load i32, ptr @UVD_IDLE_TIMEOUT_MS, align 4, !tbaa !5 %8 = tail call i32 @msecs_to_jiffies(i32 noundef %7) #3 %9 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %4, i32 noundef %8) #3 %10 = and i32 %9, 1 %11 = load i64, ptr %0, align 8, !tbaa !9 %12 = load i64, ptr @PM_METHOD_DPM, align 8, !tbaa !15 %13 = icmp eq i64 %11, %12 br i1 %13, label %14, label %32 14: ; preds = %1 %15 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = icmp eq i64 %16, 0 br i1 %17, label %32, label %18 18: ; preds = %14 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !5 %19 = call i32 @radeon_uvd_count_handles(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %2) #3 %20 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %21 = load i32, ptr %20, align 8, !tbaa !17 %22 = load i32, ptr %3, align 4, !tbaa !5 %23 = icmp eq i32 %21, %22 %24 = load i32, ptr %2, align 4, !tbaa !5 br i1 %23, label %25, label %29 25: ; preds = %18 %26 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2, i32 1 %27 = load i32, ptr %26, align 4, !tbaa !18 %28 = icmp eq i32 %27, %24 br i1 %28, label %31, label %29 29: ; preds = %25, %18 store i32 %22, ptr %20, align 8, !tbaa !17 %30 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2, i32 1 store i32 %24, ptr %30, align 4, !tbaa !18 br label %31 31: ; preds = %29, %25 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 br label %32 32: ; preds = %31, %14, %1 %33 = icmp eq i32 %10, 0 %34 = select i1 %6, i1 true, i1 %33 br i1 %34, label %47, label %35 35: ; preds = %32 %36 = load i64, ptr %0, align 8, !tbaa !9 %37 = load i64, ptr @PM_METHOD_DPM, align 8, !tbaa !15 %38 = icmp eq i64 %36, %37 br i1 %38, label %39, label %45 39: ; preds = %35 %40 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %41 = load i64, ptr %40, align 8, !tbaa !16 %42 = icmp eq i64 %41, 0 br i1 %42, label %45, label %43 43: ; preds = %39 %44 = call i32 @radeon_dpm_enable_uvd(ptr noundef nonnull %0, i32 noundef 1) #3 br label %47 45: ; preds = %39, %35 %46 = call i32 @radeon_set_uvd_clocks(ptr noundef nonnull %0, i32 noundef 53300, i32 noundef 40000) #3 br label %47 47: ; preds = %43, %45, %32 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 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #2 declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #2 declare i32 @radeon_uvd_count_handles(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @radeon_dpm_enable_uvd(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @radeon_set_uvd_clocks(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 0} !10 = !{!"radeon_device", !11, i64 0, !14, i64 24} !11 = !{!"TYPE_6__", !12, i64 0, !12, i64 8, !13, i64 16} !12 = !{!"long", !7, i64 0} !13 = !{!"TYPE_5__", !6, i64 0, !6, i64 4} !14 = !{!"TYPE_4__", !6, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!10, !12, i64 8} !17 = !{!10, !6, i64 16} !18 = !{!10, !6, i64 20}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_uvd.c_radeon_uvd_note_usage.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_uvd.c_radeon_uvd_note_usage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UVD_IDLE_TIMEOUT_MS = common local_unnamed_addr global i32 0, align 4 @PM_METHOD_DPM = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @radeon_uvd_note_usage(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %4) #3 %6 = icmp ne i32 %5, 0 %7 = load i32, ptr @UVD_IDLE_TIMEOUT_MS, align 4, !tbaa !6 %8 = tail call i32 @msecs_to_jiffies(i32 noundef %7) #3 %9 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %4, i32 noundef %8) #3 %10 = and i32 %9, 1 %11 = load i64, ptr %0, align 8, !tbaa !10 %12 = load i64, ptr @PM_METHOD_DPM, align 8, !tbaa !16 %13 = icmp eq i64 %11, %12 br i1 %13, label %14, label %32 14: ; preds = %1 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load i64, ptr %15, align 8, !tbaa !17 %17 = icmp eq i64 %16, 0 br i1 %17, label %32, label %18 18: ; preds = %14 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !6 %19 = call i32 @radeon_uvd_count_handles(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %2) #3 %20 = getelementptr inbounds i8, ptr %0, i64 16 %21 = load i32, ptr %20, align 8, !tbaa !18 %22 = load i32, ptr %3, align 4, !tbaa !6 %23 = icmp eq i32 %21, %22 %24 = load i32, ptr %2, align 4, !tbaa !6 br i1 %23, label %25, label %29 25: ; preds = %18 %26 = getelementptr inbounds i8, ptr %0, i64 20 %27 = load i32, ptr %26, align 4, !tbaa !19 %28 = icmp eq i32 %27, %24 br i1 %28, label %31, label %29 29: ; preds = %25, %18 store i32 %22, ptr %20, align 8, !tbaa !18 %30 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %24, ptr %30, align 4, !tbaa !19 br label %31 31: ; preds = %29, %25 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 br label %32 32: ; preds = %31, %14, %1 %33 = icmp eq i32 %10, 0 %34 = select i1 %6, i1 true, i1 %33 br i1 %34, label %47, label %35 35: ; preds = %32 %36 = load i64, ptr %0, align 8, !tbaa !10 %37 = load i64, ptr @PM_METHOD_DPM, align 8, !tbaa !16 %38 = icmp eq i64 %36, %37 br i1 %38, label %39, label %45 39: ; preds = %35 %40 = getelementptr inbounds i8, ptr %0, i64 8 %41 = load i64, ptr %40, align 8, !tbaa !17 %42 = icmp eq i64 %41, 0 br i1 %42, label %45, label %43 43: ; preds = %39 %44 = call i32 @radeon_dpm_enable_uvd(ptr noundef nonnull %0, i32 noundef 1) #3 br label %47 45: ; preds = %39, %35 %46 = call i32 @radeon_set_uvd_clocks(ptr noundef nonnull %0, i32 noundef 53300, i32 noundef 40000) #3 br label %47 47: ; preds = %43, %45, %32 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 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #2 declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #2 declare i32 @radeon_uvd_count_handles(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @radeon_dpm_enable_uvd(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @radeon_set_uvd_clocks(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"radeon_device", !12, i64 0, !15, i64 24} !12 = !{!"TYPE_6__", !13, i64 0, !13, i64 8, !14, i64 16} !13 = !{!"long", !8, i64 0} !14 = !{!"TYPE_5__", !7, i64 0, !7, i64 4} !15 = !{!"TYPE_4__", !7, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!11, !13, i64 8} !18 = !{!11, !7, i64 16} !19 = !{!11, !7, i64 20}
linux_drivers_gpu_drm_radeon_extr_radeon_uvd.c_radeon_uvd_note_usage
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-video.c_video_check_format.c' source_filename = "AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-video.c_video_check_format.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.v4l2_format = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.v4l2_pix_format_mplane } %struct.v4l2_pix_format_mplane = type { i64, i64, i64, i64, i64 } @EPIPE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @video_check_format], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @video_check_format(ptr noundef %0) #0 { %2 = alloca %struct.v4l2_format, align 8 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #3 %3 = load i64, ptr %0, align 8, !tbaa !5 store i64 %3, ptr %2, align 8, !tbaa !5 %4 = call i32 @video_get_subdev_format(ptr noundef nonnull %0, ptr noundef nonnull %2) #3 %5 = icmp slt i32 %4, 0 br i1 %5, label %37, label %6 6: ; preds = %1 %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = load i64, ptr %2, align 8, !tbaa !5 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %34 10: ; preds = %6 %11 = getelementptr inbounds %struct.v4l2_pix_format_mplane, ptr %0, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !10 %13 = getelementptr inbounds %struct.v4l2_pix_format_mplane, ptr %2, i64 0, i32 1 %14 = load i64, ptr %13, align 8, !tbaa !10 %15 = icmp eq i64 %12, %14 br i1 %15, label %16, label %34 16: ; preds = %10 %17 = getelementptr inbounds %struct.v4l2_pix_format_mplane, ptr %0, i64 0, i32 2 %18 = load i64, ptr %17, align 8, !tbaa !11 %19 = getelementptr inbounds %struct.v4l2_pix_format_mplane, ptr %2, i64 0, i32 2 %20 = load i64, ptr %19, align 8, !tbaa !11 %21 = icmp eq i64 %18, %20 br i1 %21, label %22, label %34 22: ; preds = %16 %23 = getelementptr inbounds %struct.v4l2_pix_format_mplane, ptr %0, i64 0, i32 3 %24 = load i64, ptr %23, align 8, !tbaa !12 %25 = getelementptr inbounds %struct.v4l2_pix_format_mplane, ptr %2, i64 0, i32 3 %26 = load i64, ptr %25, align 8, !tbaa !12 %27 = icmp eq i64 %24, %26 br i1 %27, label %28, label %34 28: ; preds = %22 %29 = getelementptr inbounds %struct.v4l2_pix_format_mplane, ptr %0, i64 0, i32 4 %30 = load i64, ptr %29, align 8, !tbaa !13 %31 = getelementptr inbounds %struct.v4l2_pix_format_mplane, ptr %2, i64 0, i32 4 %32 = load i64, ptr %31, align 8, !tbaa !14 %33 = icmp eq i64 %30, %32 br i1 %33, label %37, label %34 34: ; preds = %28, %22, %16, %10, %6 %35 = load i32, ptr @EPIPE, align 4, !tbaa !17 %36 = sub nsw i32 0, %35 br label %37 37: ; preds = %28, %1, %34 %38 = phi i32 [ %36, %34 ], [ %4, %1 ], [ 0, %28 ] call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #3 ret i32 %38 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @video_get_subdev_format(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"v4l2_pix_format_mplane", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 16} !12 = !{!6, !7, i64 24} !13 = !{!6, !7, i64 32} !14 = !{!15, !7, i64 32} !15 = !{!"v4l2_format", !16, i64 0} !16 = !{!"TYPE_6__", !6, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-video.c_video_check_format.c' source_filename = "AnghaBench/linux/drivers/media/platform/qcom/camss/extr_camss-video.c_video_check_format.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.v4l2_format = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.v4l2_pix_format_mplane } %struct.v4l2_pix_format_mplane = type { i64, i64, i64, i64, i64 } @EPIPE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @video_check_format], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @video_check_format(ptr noundef %0) #0 { %2 = alloca %struct.v4l2_format, align 8 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #3 %3 = load i64, ptr %0, align 8, !tbaa !6 store i64 %3, ptr %2, align 8, !tbaa !6 %4 = call i32 @video_get_subdev_format(ptr noundef nonnull %0, ptr noundef nonnull %2) #3 %5 = icmp slt i32 %4, 0 br i1 %5, label %37, label %6 6: ; preds = %1 %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = load i64, ptr %2, align 8, !tbaa !6 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %34 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !11 %13 = getelementptr inbounds i8, ptr %2, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !11 %15 = icmp eq i64 %12, %14 br i1 %15, label %16, label %34 16: ; preds = %10 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load i64, ptr %17, align 8, !tbaa !12 %19 = getelementptr inbounds i8, ptr %2, i64 16 %20 = load i64, ptr %19, align 8, !tbaa !12 %21 = icmp eq i64 %18, %20 br i1 %21, label %22, label %34 22: ; preds = %16 %23 = getelementptr inbounds i8, ptr %0, i64 24 %24 = load i64, ptr %23, align 8, !tbaa !13 %25 = getelementptr inbounds i8, ptr %2, i64 24 %26 = load i64, ptr %25, align 8, !tbaa !13 %27 = icmp eq i64 %24, %26 br i1 %27, label %28, label %34 28: ; preds = %22 %29 = getelementptr inbounds i8, ptr %0, i64 32 %30 = load i64, ptr %29, align 8, !tbaa !14 %31 = getelementptr inbounds i8, ptr %2, i64 32 %32 = load i64, ptr %31, align 8, !tbaa !15 %33 = icmp eq i64 %30, %32 br i1 %33, label %37, label %34 34: ; preds = %28, %22, %16, %10, %6 %35 = load i32, ptr @EPIPE, align 4, !tbaa !18 %36 = sub nsw i32 0, %35 br label %37 37: ; preds = %28, %1, %34 %38 = phi i32 [ %36, %34 ], [ %4, %1 ], [ 0, %28 ] call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #3 ret i32 %38 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @video_get_subdev_format(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"v4l2_pix_format_mplane", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 16} !13 = !{!7, !8, i64 24} !14 = !{!7, !8, i64 32} !15 = !{!16, !8, i64 32} !16 = !{!"v4l2_format", !17, i64 0} !17 = !{!"TYPE_6__", !7, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"int", !9, i64 0}
linux_drivers_media_platform_qcom_camss_extr_camss-video.c_video_check_format
; ModuleID = 'AnghaBench/micropython/ports/stm32/mboot/extr_main.c_get_hex_char.c' source_filename = "AnghaBench/micropython/ports/stm32/mboot/extr_main.c_get_hex_char.c" target datalayout = "e-m:e-p270:32:32-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 @get_hex_char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal signext i8 @get_hex_char(i32 noundef %0) #0 { %2 = and i32 %0, 15 %3 = icmp ult i32 %2, 10 %4 = trunc i32 %2 to i8 %5 = or disjoint i8 %4, 48 %6 = add nuw nsw i8 %4, 55 %7 = select i1 %3, i8 %5, i8 %6 ret i8 %7 } 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/micropython/ports/stm32/mboot/extr_main.c_get_hex_char.c' source_filename = "AnghaBench/micropython/ports/stm32/mboot/extr_main.c_get_hex_char.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 @get_hex_char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal signext range(i8 48, 71) i8 @get_hex_char(i32 noundef %0) #0 { %2 = and i32 %0, 15 %3 = icmp ult i32 %2, 10 %4 = trunc nuw nsw i32 %2 to i8 %5 = or disjoint i8 %4, 48 %6 = add nuw nsw i8 %4, 55 %7 = select i1 %3, i8 %5, i8 %6 ret i8 %7 } 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)"}
micropython_ports_stm32_mboot_extr_main.c_get_hex_char
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_fb_helper.c_drm_fb_helper_pan_display.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_fb_helper.c_drm_fb_helper_pan_display.c" target datalayout = "e-m:e-p270:32:32-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.fb_info = type { %struct.TYPE_4__, ptr } %struct.TYPE_4__ = type { i32, i32 } %struct.drm_fb_helper = type { i32, ptr, ptr } %struct.TYPE_3__ = type { %struct.drm_mode_set } %struct.drm_mode_set = type { i64, i32, i32, ptr } @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @drm_fb_helper_pan_display(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.fb_info, ptr %1, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.drm_fb_helper, ptr %4, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call i32 @drm_modeset_lock_all(ptr noundef %6) #2 %8 = tail call i32 @drm_fb_helper_is_bound(ptr noundef %4) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %2 %11 = load i32, ptr %4, align 8, !tbaa !14 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %39 13: ; preds = %10 %14 = getelementptr inbounds %struct.drm_fb_helper, ptr %4, i64 0, i32 1 br label %19 15: ; preds = %2 %16 = tail call i32 @drm_modeset_unlock_all(ptr noundef %6) #2 %17 = load i32, ptr @EBUSY, align 4, !tbaa !15 %18 = sub nsw i32 0, %17 br label %42 19: ; preds = %13, %33 %20 = phi i64 [ 0, %13 ], [ %35, %33 ] %21 = phi i32 [ 0, %13 ], [ %34, %33 ] %22 = load ptr, ptr %14, align 8, !tbaa !16 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 %20 %24 = getelementptr inbounds %struct.drm_mode_set, ptr %23, i64 0, i32 1 %25 = load <2 x i32>, ptr %0, align 4, !tbaa !15 store <2 x i32> %25, ptr %24, align 8, !tbaa !15 %26 = load i64, ptr %23, align 8, !tbaa !17 %27 = icmp eq i64 %26, 0 br i1 %27, label %33, label %28 28: ; preds = %19 %29 = tail call i32 @drm_mode_set_config_internal(ptr noundef nonnull %23) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = load <2 x i32>, ptr %0, align 4, !tbaa !15 store <2 x i32> %32, ptr %1, align 8, !tbaa !15 br label %33 33: ; preds = %19, %31, %28 %34 = phi i32 [ %29, %28 ], [ 0, %31 ], [ %21, %19 ] %35 = add nuw nsw i64 %20, 1 %36 = load i32, ptr %4, align 8, !tbaa !14 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %19, label %39, !llvm.loop !20 39: ; preds = %33, %10 %40 = phi i32 [ 0, %10 ], [ %34, %33 ] %41 = tail call i32 @drm_modeset_unlock_all(ptr noundef %6) #2 br label %42 42: ; preds = %39, %15 %43 = phi i32 [ %40, %39 ], [ %18, %15 ] ret i32 %43 } declare i32 @drm_modeset_lock_all(ptr noundef) local_unnamed_addr #1 declare i32 @drm_fb_helper_is_bound(ptr noundef) local_unnamed_addr #1 declare i32 @drm_modeset_unlock_all(ptr noundef) local_unnamed_addr #1 declare i32 @drm_mode_set_config_internal(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"fb_info", !7, i64 0, !11, i64 8} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 16} !13 = !{!"drm_fb_helper", !8, i64 0, !11, i64 8, !11, i64 16} !14 = !{!13, !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!13, !11, i64 8} !17 = !{!18, !19, i64 0} !18 = !{!"drm_mode_set", !19, i64 0, !8, i64 8, !8, i64 12, !11, i64 16} !19 = !{!"long", !9, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_fb_helper.c_drm_fb_helper_pan_display.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_fb_helper.c_drm_fb_helper_pan_display.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 { %struct.drm_mode_set } %struct.drm_mode_set = type { i64, i32, i32, ptr } @EBUSY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @drm_fb_helper_pan_display(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = tail call i32 @drm_modeset_lock_all(ptr noundef %6) #2 %8 = tail call i32 @drm_fb_helper_is_bound(ptr noundef %4) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %2 %11 = load i32, ptr %4, align 8, !tbaa !15 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %39 13: ; preds = %10 %14 = getelementptr inbounds i8, ptr %4, i64 8 br label %19 15: ; preds = %2 %16 = tail call i32 @drm_modeset_unlock_all(ptr noundef %6) #2 %17 = load i32, ptr @EBUSY, align 4, !tbaa !16 %18 = sub nsw i32 0, %17 br label %42 19: ; preds = %13, %33 %20 = phi i64 [ 0, %13 ], [ %35, %33 ] %21 = phi i32 [ 0, %13 ], [ %34, %33 ] %22 = load ptr, ptr %14, align 8, !tbaa !17 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 %20 %24 = getelementptr inbounds i8, ptr %23, i64 8 %25 = load <2 x i32>, ptr %0, align 4, !tbaa !16 store <2 x i32> %25, ptr %24, align 8, !tbaa !16 %26 = load i64, ptr %23, align 8, !tbaa !18 %27 = icmp eq i64 %26, 0 br i1 %27, label %33, label %28 28: ; preds = %19 %29 = tail call i32 @drm_mode_set_config_internal(ptr noundef nonnull %23) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = load <2 x i32>, ptr %0, align 4, !tbaa !16 store <2 x i32> %32, ptr %1, align 8, !tbaa !16 br label %33 33: ; preds = %19, %31, %28 %34 = phi i32 [ %29, %28 ], [ 0, %31 ], [ %21, %19 ] %35 = add nuw nsw i64 %20, 1 %36 = load i32, ptr %4, align 8, !tbaa !15 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %19, label %39, !llvm.loop !21 39: ; preds = %33, %10 %40 = phi i32 [ 0, %10 ], [ %34, %33 ] %41 = tail call i32 @drm_modeset_unlock_all(ptr noundef %6) #2 br label %42 42: ; preds = %39, %15 %43 = phi i32 [ %40, %39 ], [ %18, %15 ] ret i32 %43 } declare i32 @drm_modeset_lock_all(ptr noundef) local_unnamed_addr #1 declare i32 @drm_fb_helper_is_bound(ptr noundef) local_unnamed_addr #1 declare i32 @drm_modeset_unlock_all(ptr noundef) local_unnamed_addr #1 declare i32 @drm_mode_set_config_internal(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"fb_info", !8, i64 0, !12, i64 8} !8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !12, i64 16} !14 = !{!"drm_fb_helper", !9, i64 0, !12, i64 8, !12, i64 16} !15 = !{!14, !9, i64 0} !16 = !{!9, !9, i64 0} !17 = !{!14, !12, i64 8} !18 = !{!19, !20, i64 0} !19 = !{!"drm_mode_set", !20, i64 0, !9, i64 8, !9, i64 12, !12, i64 16} !20 = !{!"long", !10, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_gpu_drm_extr_drm_fb_helper.c_drm_fb_helper_pan_display
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_bmem.c_a_malloc.c' source_filename = "AnghaBench/obs-studio/libobs/util/extr_bmem.c_a_malloc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ALIGNMENT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @a_malloc], section "llvm.metadata" ; Function Attrs: mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable define internal noalias noundef ptr @a_malloc(i64 noundef %0) #0 { %2 = tail call ptr @malloc(i64 noundef %0) #2 ret ptr %2 } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_bmem.c_a_malloc.c' source_filename = "AnghaBench/obs-studio/libobs/util/extr_bmem.c_a_malloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ALIGNMENT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @a_malloc], section "llvm.metadata" ; Function Attrs: mustprogress nofree nounwind ssp willreturn memory(inaccessiblemem: readwrite) uwtable(sync) define internal noalias noundef ptr @a_malloc(i64 noundef %0) #0 { %2 = tail call ptr @malloc(i64 noundef %0) #2 ret ptr %2 } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree nounwind ssp willreturn memory(inaccessiblemem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
obs-studio_libobs_util_extr_bmem.c_a_malloc
; ModuleID = 'AnghaBench/jq/src/extr_jv_unicode.c_jvp_utf8_backtrack.c' source_filename = "AnghaBench/jq/src/extr_jv_unicode.c_jvp_utf8_backtrack.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @utf8_coding_length = dso_local local_unnamed_addr global ptr null, align 8 @UTF8_CONTINUATION_BYTE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @jvp_utf8_backtrack(ptr noundef readonly %0, ptr noundef readnone %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp ule ptr %1, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = icmp eq ptr %1, %0 br i1 %7, label %33, label %8 8: ; preds = %3 %9 = icmp ult ptr %0, %1 %10 = load i32, ptr @UTF8_CONTINUATION_BYTE, align 4 br i1 %9, label %33, label %11 11: ; preds = %8 %12 = load ptr, ptr @utf8_coding_length, align 8, !tbaa !5 br label %13 13: ; preds = %11, %21 %14 = phi i32 [ 1, %11 ], [ %23, %21 ] %15 = phi ptr [ %0, %11 ], [ %22, %21 ] %16 = load i8, ptr %15, align 1, !tbaa !9 %17 = zext i8 %16 to i64 %18 = getelementptr inbounds i32, ptr %12, i64 %17 %19 = load i32, ptr %18, align 4, !tbaa !10 %20 = icmp eq i32 %19, %10 br i1 %20, label %21, label %25 21: ; preds = %13 %22 = getelementptr inbounds i8, ptr %15, i64 -1 %23 = add nuw nsw i32 %14, 1 %24 = icmp ult ptr %22, %1 br i1 %24, label %33, label %13, !llvm.loop !12 25: ; preds = %13 %26 = icmp eq i32 %19, 0 br i1 %26, label %33, label %27 27: ; preds = %25 %28 = sub nsw i32 %19, %14 %29 = icmp slt i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = icmp eq ptr %2, null br i1 %31, label %33, label %32 32: ; preds = %30 store i32 %28, ptr %2, align 4, !tbaa !10 br label %33 33: ; preds = %21, %8, %27, %25, %32, %30, %3 %34 = phi ptr [ %1, %3 ], [ null, %27 ], [ null, %25 ], [ %15, %32 ], [ %15, %30 ], [ null, %8 ], [ null, %21 ] ret ptr %34 } declare i32 @assert(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 = !{!7, !7, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/jq/src/extr_jv_unicode.c_jvp_utf8_backtrack.c' source_filename = "AnghaBench/jq/src/extr_jv_unicode.c_jvp_utf8_backtrack.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @utf8_coding_length = common local_unnamed_addr global ptr null, align 8 @UTF8_CONTINUATION_BYTE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @jvp_utf8_backtrack(ptr noundef readonly %0, ptr noundef readnone %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp ule ptr %1, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = icmp eq ptr %1, %0 br i1 %7, label %33, label %8 8: ; preds = %3 %9 = icmp ult ptr %0, %1 %10 = load i32, ptr @UTF8_CONTINUATION_BYTE, align 4 br i1 %9, label %33, label %11 11: ; preds = %8 %12 = load ptr, ptr @utf8_coding_length, align 8, !tbaa !6 br label %13 13: ; preds = %11, %21 %14 = phi i32 [ 1, %11 ], [ %23, %21 ] %15 = phi ptr [ %0, %11 ], [ %22, %21 ] %16 = load i8, ptr %15, align 1, !tbaa !10 %17 = zext i8 %16 to i64 %18 = getelementptr inbounds i32, ptr %12, i64 %17 %19 = load i32, ptr %18, align 4, !tbaa !11 %20 = icmp eq i32 %19, %10 br i1 %20, label %21, label %25 21: ; preds = %13 %22 = getelementptr inbounds i8, ptr %15, i64 -1 %23 = add nuw nsw i32 %14, 1 %24 = icmp ult ptr %22, %1 br i1 %24, label %33, label %13, !llvm.loop !13 25: ; preds = %13 %26 = icmp eq i32 %19, 0 br i1 %26, label %33, label %27 27: ; preds = %25 %28 = sub nsw i32 %19, %14 %29 = icmp slt i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = icmp eq ptr %2, null br i1 %31, label %33, label %32 32: ; preds = %30 store i32 %28, ptr %2, align 4, !tbaa !11 br label %33 33: ; preds = %21, %8, %27, %25, %32, %30, %3 %34 = phi ptr [ %1, %3 ], [ null, %27 ], [ null, %25 ], [ %15, %32 ], [ %15, %30 ], [ null, %8 ], [ null, %21 ] ret ptr %34 } declare i32 @assert(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 = !{!8, !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
jq_src_extr_jv_unicode.c_jvp_utf8_backtrack
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_colours_pal.c_COLOURS_PAL_ReadConfig.c' source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_colours_pal.c_COLOURS_PAL_ReadConfig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32 } %struct.TYPE_4__ = type { i32, i32, i32 } @.str = private unnamed_addr constant [23 x i8] c"COLOURS_PAL_SATURATION\00", align 1 @COLOURS_PAL_setup = dso_local global %struct.TYPE_3__ zeroinitializer, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"COLOURS_PAL_CONTRAST\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"COLOURS_PAL_BRIGHTNESS\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"COLOURS_PAL_GAMMA\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"COLOURS_PAL_HUE\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"COLOURS_PAL_GTIA_DELAY\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"COLOURS_PAL_EXTERNAL_PALETTE\00", align 1 @COLOURS_PAL_external = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @.str.7 = private unnamed_addr constant [36 x i8] c"COLOURS_PAL_EXTERNAL_PALETTE_LOADED\00", align 1 @.str.8 = private unnamed_addr constant [36 x i8] c"COLOURS_PAL_ADJUST_EXTERNAL_PALETTE\00", align 1 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @COLOURS_PAL_ReadConfig(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_3__, ptr @COLOURS_PAL_setup, i64 0, i32 5)) #2 br label %55 7: ; preds = %2 %8 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_3__, ptr @COLOURS_PAL_setup, i64 0, i32 4)) #2 br label %55 12: ; preds = %7 %13 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_3__, ptr @COLOURS_PAL_setup, i64 0, i32 3)) #2 br label %55 17: ; preds = %12 %18 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.3) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_3__, ptr @COLOURS_PAL_setup, i64 0, i32 2)) #2 br label %55 22: ; preds = %17 %23 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.4) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (%struct.TYPE_3__, ptr @COLOURS_PAL_setup, i64 0, i32 1)) #2 br label %55 27: ; preds = %22 %28 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.5) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull @COLOURS_PAL_setup) #2 br label %55 32: ; preds = %27 %33 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.6) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %32 %36 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @COLOURS_PAL_external, i64 0, i32 2), align 4, !tbaa !5 %37 = tail call i32 @Util_strlcpy(i32 noundef %36, ptr noundef %1, i32 noundef 4) #2 %38 = load i32, ptr @TRUE, align 4, !tbaa !10 br label %55 39: ; preds = %32 %40 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.7) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %39 %43 = tail call i32 @Util_sscanbool(ptr noundef %1) #2 store i32 %43, ptr @COLOURS_PAL_external, align 4, !tbaa !11 %44 = icmp ne i32 %43, -1 %45 = zext i1 %44 to i32 br label %55 46: ; preds = %39 %47 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.8) #2 %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %46 %50 = tail call i32 @Util_sscanbool(ptr noundef %1) #2 store i32 %50, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @COLOURS_PAL_external, i64 0, i32 1), align 4, !tbaa !12 %51 = icmp ne i32 %50, -1 %52 = zext i1 %51 to i32 br label %55 53: ; preds = %46 %54 = load i32, ptr @FALSE, align 4, !tbaa !10 br label %55 55: ; preds = %35, %53, %49, %42, %30, %25, %20, %15, %10, %5 %56 = phi i32 [ %6, %5 ], [ %11, %10 ], [ %16, %15 ], [ %21, %20 ], [ %26, %25 ], [ %31, %30 ], [ %38, %35 ], [ %45, %42 ], [ %52, %49 ], [ %54, %53 ] ret i32 %56 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Util_sscandouble(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Util_strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Util_sscanbool(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_colours_pal.c_COLOURS_PAL_ReadConfig.c' source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_colours_pal.c_COLOURS_PAL_ReadConfig.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32 } %struct.TYPE_4__ = type { i32, i32, i32 } @.str = private unnamed_addr constant [23 x i8] c"COLOURS_PAL_SATURATION\00", align 1 @COLOURS_PAL_setup = common global %struct.TYPE_3__ zeroinitializer, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"COLOURS_PAL_CONTRAST\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"COLOURS_PAL_BRIGHTNESS\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"COLOURS_PAL_GAMMA\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"COLOURS_PAL_HUE\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"COLOURS_PAL_GTIA_DELAY\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"COLOURS_PAL_EXTERNAL_PALETTE\00", align 1 @COLOURS_PAL_external = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @.str.7 = private unnamed_addr constant [36 x i8] c"COLOURS_PAL_EXTERNAL_PALETTE_LOADED\00", align 1 @.str.8 = private unnamed_addr constant [36 x i8] c"COLOURS_PAL_ADJUST_EXTERNAL_PALETTE\00", align 1 @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @COLOURS_PAL_ReadConfig(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @COLOURS_PAL_setup, i64 20)) #2 br label %55 7: ; preds = %2 %8 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @COLOURS_PAL_setup, i64 16)) #2 br label %55 12: ; preds = %7 %13 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @COLOURS_PAL_setup, i64 12)) #2 br label %55 17: ; preds = %12 %18 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.3) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @COLOURS_PAL_setup, i64 8)) #2 br label %55 22: ; preds = %17 %23 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.4) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @COLOURS_PAL_setup, i64 4)) #2 br label %55 27: ; preds = %22 %28 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.5) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = tail call i32 @Util_sscandouble(ptr noundef %1, ptr noundef nonnull @COLOURS_PAL_setup) #2 br label %55 32: ; preds = %27 %33 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.6) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %32 %36 = load i32, ptr getelementptr inbounds (i8, ptr @COLOURS_PAL_external, i64 8), align 4, !tbaa !6 %37 = tail call i32 @Util_strlcpy(i32 noundef %36, ptr noundef %1, i32 noundef 4) #2 %38 = load i32, ptr @TRUE, align 4, !tbaa !11 br label %55 39: ; preds = %32 %40 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.7) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %39 %43 = tail call i32 @Util_sscanbool(ptr noundef %1) #2 store i32 %43, ptr @COLOURS_PAL_external, align 4, !tbaa !12 %44 = icmp ne i32 %43, -1 %45 = zext i1 %44 to i32 br label %55 46: ; preds = %39 %47 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str.8) #2 %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %46 %50 = tail call i32 @Util_sscanbool(ptr noundef %1) #2 store i32 %50, ptr getelementptr inbounds (i8, ptr @COLOURS_PAL_external, i64 4), align 4, !tbaa !13 %51 = icmp ne i32 %50, -1 %52 = zext i1 %51 to i32 br label %55 53: ; preds = %46 %54 = load i32, ptr @FALSE, align 4, !tbaa !11 br label %55 55: ; preds = %35, %53, %49, %42, %30, %25, %20, %15, %10, %5 %56 = phi i32 [ %6, %5 ], [ %11, %10 ], [ %16, %15 ], [ %21, %20 ], [ %26, %25 ], [ %31, %30 ], [ %38, %35 ], [ %45, %42 ], [ %52, %49 ], [ %54, %53 ] ret i32 %56 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Util_sscandouble(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Util_strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Util_sscanbool(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 4}
Provenance_Cores_Atari800_atari800-src_extr_colours_pal.c_COLOURS_PAL_ReadConfig
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_none.c_tls_connection_export_key.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_none.c_tls_connection_export_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @tls_connection_export_key(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readnone %3, i64 noundef %4, ptr nocapture noundef readnone %5, i64 noundef %6) local_unnamed_addr #0 { ret i32 -1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_none.c_tls_connection_export_key.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_none.c_tls_connection_export_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @tls_connection_export_key(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readnone %3, i64 noundef %4, ptr nocapture noundef readnone %5, i64 noundef %6) local_unnamed_addr #0 { ret i32 -1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_wpa_src_crypto_extr_tls_none.c_tls_connection_export_key
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_MtCoder.c_MtCoder_Construct.c' source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_MtCoder.c_MtCoder_Construct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { %struct.TYPE_7__, i32, ptr, i64 } %struct.TYPE_7__ = type { i32 } %struct.TYPE_8__ = type { i32 } @NUM_MT_CODER_THREADS_MAX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @MtCoder_Construct(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3 store i64 0, ptr %2, align 8, !tbaa !5 %3 = load i32, ptr @NUM_MT_CODER_THREADS_MAX, align 4, !tbaa !13 %4 = icmp eq i32 %3, 0 br i1 %4, label %17, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 0, %5 ], [ %13, %7 ] %9 = load ptr, ptr %6, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 %8 %11 = trunc i64 %8 to i32 store i32 %11, ptr %10, align 4, !tbaa !15 %12 = tail call i32 @CMtThread_Construct(ptr noundef nonnull %10, ptr noundef nonnull %0) #2 %13 = add nuw nsw i64 %8, 1 %14 = load i32, ptr @NUM_MT_CODER_THREADS_MAX, align 4, !tbaa !13 %15 = zext i32 %14 to i64 %16 = icmp ult i64 %13, %15 br i1 %16, label %7, label %17, !llvm.loop !17 17: ; preds = %7, %1 %18 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %19 = tail call i32 @CriticalSection_Init(ptr noundef nonnull %18) #2 %20 = tail call i32 @CriticalSection_Init(ptr noundef nonnull %0) #2 ret void } declare i32 @CMtThread_Construct(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CriticalSection_Init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 16} !6 = !{!"TYPE_9__", !7, i64 0, !8, i64 4, !11, i64 8, !12, i64 16} !7 = !{!"TYPE_7__", !8, i64 0} !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 = !{!6, !11, i64 8} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_8__", !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_MtCoder.c_MtCoder_Construct.c' source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_MtCoder.c_MtCoder_Construct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32 } @NUM_MT_CODER_THREADS_MAX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @MtCoder_Construct(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 store i64 0, ptr %2, align 8, !tbaa !6 %3 = load i32, ptr @NUM_MT_CODER_THREADS_MAX, align 4, !tbaa !14 %4 = icmp eq i32 %3, 0 br i1 %4, label %17, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 br label %7 7: ; preds = %5, %7 %8 = phi i64 [ 0, %5 ], [ %13, %7 ] %9 = load ptr, ptr %6, align 8, !tbaa !15 %10 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i64 %8 %11 = trunc nuw i64 %8 to i32 store i32 %11, ptr %10, align 4, !tbaa !16 %12 = tail call i32 @CMtThread_Construct(ptr noundef nonnull %10, ptr noundef nonnull %0) #2 %13 = add nuw nsw i64 %8, 1 %14 = load i32, ptr @NUM_MT_CODER_THREADS_MAX, align 4, !tbaa !14 %15 = zext i32 %14 to i64 %16 = icmp ult i64 %13, %15 br i1 %16, label %7, label %17, !llvm.loop !18 17: ; preds = %7, %1 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = tail call i32 @CriticalSection_Init(ptr noundef nonnull %18) #2 %20 = tail call i32 @CriticalSection_Init(ptr noundef nonnull %0) #2 ret void } declare i32 @CMtThread_Construct(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CriticalSection_Init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 16} !7 = !{!"TYPE_9__", !8, i64 0, !9, i64 4, !12, i64 8, !13, i64 16} !8 = !{!"TYPE_7__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!"long", !10, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!7, !12, i64 8} !16 = !{!17, !9, i64 0} !17 = !{!"TYPE_8__", !9, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
sumatrapdf_ext_lzma_C_extr_MtCoder.c_MtCoder_Construct
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_osdblk.c_osdblk_sysfs_cleanup.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_osdblk.c_osdblk_sysfs_cleanup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @class_osdblk = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @osdblk_sysfs_cleanup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @osdblk_sysfs_cleanup() #0 { %1 = load ptr, ptr @class_osdblk, align 8, !tbaa !5 %2 = icmp eq ptr %1, null br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 @class_destroy(ptr noundef nonnull %1) #2 br label %5 5: ; preds = %3, %0 store ptr null, ptr @class_osdblk, align 8, !tbaa !5 ret void } declare i32 @class_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_osdblk.c_osdblk_sysfs_cleanup.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_osdblk.c_osdblk_sysfs_cleanup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @class_osdblk = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @osdblk_sysfs_cleanup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @osdblk_sysfs_cleanup() #0 { %1 = load ptr, ptr @class_osdblk, align 8, !tbaa !6 %2 = icmp eq ptr %1, null br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 @class_destroy(ptr noundef nonnull %1) #2 br label %5 5: ; preds = %3, %0 store ptr null, ptr @class_osdblk, align 8, !tbaa !6 ret void } declare i32 @class_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_block_extr_osdblk.c_osdblk_sysfs_cleanup
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibverbs/examples/extr_srq_pingpong.c_find_qp.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libibverbs/examples/extr_srq_pingpong.c_find_qp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @find_qp], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @find_qp(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %19 5: ; preds = %3 %6 = load ptr, ptr %1, align 8, !tbaa !5 %7 = zext nneg i32 %2 to i64 br label %8 8: ; preds = %5, %14 %9 = phi i64 [ 0, %5 ], [ %15, %14 ] %10 = getelementptr inbounds ptr, ptr %6, i64 %9 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = icmp eq i32 %12, %0 br i1 %13, label %17, label %14 14: ; preds = %8 %15 = add nuw nsw i64 %9, 1 %16 = icmp eq i64 %15, %7 br i1 %16, label %19, label %8, !llvm.loop !14 17: ; preds = %8 %18 = trunc i64 %9 to i32 br label %19 19: ; preds = %14, %17, %3 %20 = phi i32 [ -1, %3 ], [ %18, %17 ], [ -1, %14 ] ret i32 %20 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"pingpong_context", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibverbs/examples/extr_srq_pingpong.c_find_qp.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libibverbs/examples/extr_srq_pingpong.c_find_qp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @find_qp], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @find_qp(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %19 5: ; preds = %3 %6 = load ptr, ptr %1, align 8, !tbaa !6 %7 = zext nneg i32 %2 to i64 br label %8 8: ; preds = %5, %14 %9 = phi i64 [ 0, %5 ], [ %15, %14 ] %10 = getelementptr inbounds ptr, ptr %6, i64 %9 %11 = load ptr, ptr %10, align 8, !tbaa !11 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = icmp eq i32 %12, %0 br i1 %13, label %17, label %14 14: ; preds = %8 %15 = add nuw nsw i64 %9, 1 %16 = icmp eq i64 %15, %7 br i1 %16, label %19, label %8, !llvm.loop !15 17: ; preds = %8 %18 = trunc nuw nsw i64 %9 to i32 br label %19 19: ; preds = %14, %17, %3 %20 = phi i32 [ -1, %3 ], [ %18, %17 ], [ -1, %14 ] ret i32 %20 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"pingpong_context", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ofed_libibverbs_examples_extr_srq_pingpong.c_find_qp
; ModuleID = 'AnghaBench/mongoose/extr_mongoose.c_cs_fprint_base64.c' source_filename = "AnghaBench/mongoose/extr_mongoose.c_cs_fprint_base64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BASE64_ENCODE_BODY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @cs_fprint_base64(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) 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/mongoose/extr_mongoose.c_cs_fprint_base64.c' source_filename = "AnghaBench/mongoose/extr_mongoose.c_cs_fprint_base64.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BASE64_ENCODE_BODY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @cs_fprint_base64(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) 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)"}
mongoose_extr_mongoose.c_cs_fprint_base64
; ModuleID = 'AnghaBench/lab/engine/code/ui/extr_ui_shared.c_ItemParse_mouseEnter.c' source_filename = "AnghaBench/lab/engine/code/ui/extr_ui_shared.c_ItemParse_mouseEnter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32 } @qfalse = dso_local local_unnamed_addr global i32 0, align 4 @qtrue = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ItemParse_mouseEnter(%struct.TYPE_3__* noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %0, i64 0, i32 0 %4 = tail call i32 @PC_Script_Parse(i32 noundef %1, i32* noundef %3) #2 %5 = icmp eq i32 %4, 0 %6 = load i32, i32* @qfalse, align 4 %7 = load i32, i32* @qtrue, align 4 %8 = select i1 %5, i32 %6, i32 %7 ret i32 %8 } declare i32 @PC_Script_Parse(i32 noundef, i32* noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
; ModuleID = 'AnghaBench/lab/engine/code/ui/extr_ui_shared.c_ItemParse_mouseEnter.c' source_filename = "AnghaBench/lab/engine/code/ui/extr_ui_shared.c_ItemParse_mouseEnter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @qfalse = common local_unnamed_addr global i32 0, align 4 @qtrue = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ItemParse_mouseEnter(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @PC_Script_Parse(i32 noundef %1, ptr noundef %0) #2 %4 = icmp eq i32 %3, 0 %5 = load i32, ptr @qfalse, align 4 %6 = load i32, ptr @qtrue, align 4 %7 = select i1 %4, i32 %5, i32 %6 ret i32 %7 } declare i32 @PC_Script_Parse(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)"}
lab_engine_code_ui_extr_ui_shared.c_ItemParse_mouseEnter
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/wiiuse/extr_dynamics.c_calc_joystick_state.c' source_filename = "AnghaBench/RetroArch/wii/libogc/wiiuse/extr_dynamics.c_calc_joystick_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" %struct.joystick_t = type { i32, i32, %struct.TYPE_6__, %struct.TYPE_5__, %struct.TYPE_4__ } %struct.TYPE_6__ = type { float, float } %struct.TYPE_5__ = type { float, float } %struct.TYPE_4__ = type { float, float } ; Function Attrs: nounwind uwtable define dso_local void @calc_joystick_state(ptr nocapture noundef %0, float noundef %1, float noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.joystick_t, ptr %0, i64 0, i32 3 %5 = load float, ptr %4, align 4, !tbaa !5 %6 = fcmp oeq float %5, %1 br i1 %6, label %22, label %7 7: ; preds = %3 %8 = fcmp ugt float %5, %1 br i1 %8, label %15, label %9 9: ; preds = %7 %10 = fsub float %1, %5 %11 = getelementptr inbounds %struct.joystick_t, ptr %0, i64 0, i32 4 %12 = load float, ptr %11, align 4, !tbaa !14 %13 = fsub float %12, %5 %14 = fdiv float %10, %13 br label %22 15: ; preds = %7 %16 = getelementptr inbounds %struct.joystick_t, ptr %0, i64 0, i32 2 %17 = load float, ptr %16, align 4, !tbaa !15 %18 = fsub float %1, %17 %19 = fsub float %5, %17 %20 = fdiv float %18, %19 %21 = fadd float %20, -1.000000e+00 br label %22 22: ; preds = %3, %9, %15 %23 = phi float [ %14, %9 ], [ %21, %15 ], [ 0.000000e+00, %3 ] %24 = getelementptr inbounds %struct.joystick_t, ptr %0, i64 0, i32 3, i32 1 %25 = load float, ptr %24, align 4, !tbaa !16 %26 = fcmp oeq float %25, %2 br i1 %26, label %42, label %27 27: ; preds = %22 %28 = fcmp ugt float %25, %2 br i1 %28, label %35, label %29 29: ; preds = %27 %30 = fsub float %2, %25 %31 = getelementptr inbounds %struct.joystick_t, ptr %0, i64 0, i32 4, i32 1 %32 = load float, ptr %31, align 4, !tbaa !17 %33 = fsub float %32, %25 %34 = fdiv float %30, %33 br label %42 35: ; preds = %27 %36 = getelementptr inbounds %struct.joystick_t, ptr %0, i64 0, i32 2, i32 1 %37 = load float, ptr %36, align 4, !tbaa !18 %38 = fsub float %2, %37 %39 = fsub float %25, %37 %40 = fdiv float %38, %39 %41 = fadd float %40, -1.000000e+00 br label %42 42: ; preds = %22, %29, %35 %43 = phi float [ %34, %29 ], [ %41, %35 ], [ 0.000000e+00, %22 ] %44 = tail call i32 @atan2f(float noundef %23, float noundef %43) #2 %45 = tail call i32 @RAD_TO_DEGREE(i32 noundef %44) #2 %46 = getelementptr inbounds %struct.joystick_t, ptr %0, i64 0, i32 1 store i32 %45, ptr %46, align 4, !tbaa !19 %47 = tail call i32 @hypotf(float noundef %23, float noundef %43) #2 store i32 %47, ptr %0, align 4, !tbaa !20 ret void } declare i32 @RAD_TO_DEGREE(i32 noundef) local_unnamed_addr #1 declare i32 @atan2f(float noundef, float noundef) local_unnamed_addr #1 declare i32 @hypotf(float noundef, float noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"joystick_t", !7, i64 0, !7, i64 4, !10, i64 8, !12, i64 16, !13, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !11, i64 0, !11, i64 4} !11 = !{!"float", !8, i64 0} !12 = !{!"TYPE_5__", !11, i64 0, !11, i64 4} !13 = !{!"TYPE_4__", !11, i64 0, !11, i64 4} !14 = !{!6, !11, i64 24} !15 = !{!6, !11, i64 8} !16 = !{!6, !11, i64 20} !17 = !{!6, !11, i64 28} !18 = !{!6, !11, i64 12} !19 = !{!6, !7, i64 4} !20 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/wiiuse/extr_dynamics.c_calc_joystick_state.c' source_filename = "AnghaBench/RetroArch/wii/libogc/wiiuse/extr_dynamics.c_calc_joystick_state.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 @calc_joystick_state(ptr nocapture noundef %0, float noundef %1, float noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load float, ptr %4, align 4, !tbaa !6 %6 = fcmp oeq float %5, %1 br i1 %6, label %22, label %7 7: ; preds = %3 %8 = fcmp ugt float %5, %1 br i1 %8, label %15, label %9 9: ; preds = %7 %10 = fsub float %1, %5 %11 = getelementptr inbounds i8, ptr %0, i64 24 %12 = load float, ptr %11, align 4, !tbaa !15 %13 = fsub float %12, %5 %14 = fdiv float %10, %13 br label %22 15: ; preds = %7 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load float, ptr %16, align 4, !tbaa !16 %18 = fsub float %1, %17 %19 = fsub float %5, %17 %20 = fdiv float %18, %19 %21 = fadd float %20, -1.000000e+00 br label %22 22: ; preds = %3, %9, %15 %23 = phi float [ %14, %9 ], [ %21, %15 ], [ 0.000000e+00, %3 ] %24 = getelementptr inbounds i8, ptr %0, i64 20 %25 = load float, ptr %24, align 4, !tbaa !17 %26 = fcmp oeq float %25, %2 br i1 %26, label %42, label %27 27: ; preds = %22 %28 = fcmp ugt float %25, %2 br i1 %28, label %35, label %29 29: ; preds = %27 %30 = fsub float %2, %25 %31 = getelementptr inbounds i8, ptr %0, i64 28 %32 = load float, ptr %31, align 4, !tbaa !18 %33 = fsub float %32, %25 %34 = fdiv float %30, %33 br label %42 35: ; preds = %27 %36 = getelementptr inbounds i8, ptr %0, i64 12 %37 = load float, ptr %36, align 4, !tbaa !19 %38 = fsub float %2, %37 %39 = fsub float %25, %37 %40 = fdiv float %38, %39 %41 = fadd float %40, -1.000000e+00 br label %42 42: ; preds = %22, %29, %35 %43 = phi float [ %34, %29 ], [ %41, %35 ], [ 0.000000e+00, %22 ] %44 = tail call i32 @atan2f(float noundef %23, float noundef %43) #2 %45 = tail call i32 @RAD_TO_DEGREE(i32 noundef %44) #2 %46 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %45, ptr %46, align 4, !tbaa !20 %47 = tail call i32 @hypotf(float noundef %23, float noundef %43) #2 store i32 %47, ptr %0, align 4, !tbaa !21 ret void } declare i32 @RAD_TO_DEGREE(i32 noundef) local_unnamed_addr #1 declare i32 @atan2f(float noundef, float noundef) local_unnamed_addr #1 declare i32 @hypotf(float noundef, float noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"joystick_t", !8, i64 0, !8, i64 4, !11, i64 8, !13, i64 16, !14, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !12, i64 0, !12, i64 4} !12 = !{!"float", !9, i64 0} !13 = !{!"TYPE_5__", !12, i64 0, !12, i64 4} !14 = !{!"TYPE_4__", !12, i64 0, !12, i64 4} !15 = !{!7, !12, i64 24} !16 = !{!7, !12, i64 8} !17 = !{!7, !12, i64 20} !18 = !{!7, !12, i64 28} !19 = !{!7, !12, i64 12} !20 = !{!7, !8, i64 4} !21 = !{!7, !8, i64 0}
RetroArch_wii_libogc_wiiuse_extr_dynamics.c_calc_joystick_state
; ModuleID = 'AnghaBench/linux/drivers/media/platform/omap3isp/extr_isppreview.c_omap3isp_preview_unregister_entities.c' source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_isppreview.c_omap3isp_preview_unregister_entities.c" target datalayout = "e-m:e-p270:32:32-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.isp_prev_device = type { i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @omap3isp_preview_unregister_entities(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.isp_prev_device, ptr %0, i64 0, i32 2 %3 = tail call i32 @v4l2_device_unregister_subdev(ptr noundef nonnull %2) #2 %4 = getelementptr inbounds %struct.isp_prev_device, ptr %0, i64 0, i32 1 %5 = tail call i32 @omap3isp_video_unregister(ptr noundef nonnull %4) #2 %6 = tail call i32 @omap3isp_video_unregister(ptr noundef %0) #2 ret void } declare i32 @v4l2_device_unregister_subdev(ptr noundef) local_unnamed_addr #1 declare i32 @omap3isp_video_unregister(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/platform/omap3isp/extr_isppreview.c_omap3isp_preview_unregister_entities.c' source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_isppreview.c_omap3isp_preview_unregister_entities.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 @omap3isp_preview_unregister_entities(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = tail call i32 @v4l2_device_unregister_subdev(ptr noundef nonnull %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = tail call i32 @omap3isp_video_unregister(ptr noundef nonnull %4) #2 %6 = tail call i32 @omap3isp_video_unregister(ptr noundef %0) #2 ret void } declare i32 @v4l2_device_unregister_subdev(ptr noundef) local_unnamed_addr #1 declare i32 @omap3isp_video_unregister(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_platform_omap3isp_extr_isppreview.c_omap3isp_preview_unregister_entities
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/mvebu/extr_pinctrl-armada-38x.c_armada_38x_pinctrl_probe.c' source_filename = "AnghaBench/linux/drivers/pinctrl/mvebu/extr_pinctrl-armada-38x.c_armada_38x_pinctrl_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mvebu_pinctrl_soc_info = type { i32, i32, i32, ptr, ptr, ptr, ptr } @armada_38x_pinctrl_info = dso_local global %struct.mvebu_pinctrl_soc_info zeroinitializer, align 8 @armada_38x_pinctrl_of_match = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @armada_38x_mpp_controls = dso_local local_unnamed_addr global ptr null, align 8 @armada_38x_mpp_gpio_ranges = dso_local local_unnamed_addr global ptr null, align 8 @armada_38x_mpp_modes = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @armada_38x_pinctrl_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @armada_38x_pinctrl_probe(ptr noundef %0) #0 { %2 = load i32, ptr @armada_38x_pinctrl_of_match, align 4, !tbaa !5 %3 = tail call ptr @of_match_device(i32 noundef %2, ptr noundef %0) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENODEV, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %20 8: ; preds = %1 %9 = load i64, ptr %3, align 8, !tbaa !9 %10 = trunc i64 %9 to i32 %11 = and i32 %10, 255 store i32 %11, ptr @armada_38x_pinctrl_info, align 8, !tbaa !12 %12 = load ptr, ptr @armada_38x_mpp_controls, align 8, !tbaa !15 store ptr %12, ptr getelementptr inbounds (%struct.mvebu_pinctrl_soc_info, ptr @armada_38x_pinctrl_info, i64 0, i32 6), align 8, !tbaa !16 %13 = tail call ptr @ARRAY_SIZE(ptr noundef %12) #2 store ptr %13, ptr getelementptr inbounds (%struct.mvebu_pinctrl_soc_info, ptr @armada_38x_pinctrl_info, i64 0, i32 5), align 8, !tbaa !17 %14 = load ptr, ptr @armada_38x_mpp_gpio_ranges, align 8, !tbaa !15 store ptr %14, ptr getelementptr inbounds (%struct.mvebu_pinctrl_soc_info, ptr @armada_38x_pinctrl_info, i64 0, i32 4), align 8, !tbaa !18 %15 = tail call ptr @ARRAY_SIZE(ptr noundef %14) #2 store ptr %15, ptr getelementptr inbounds (%struct.mvebu_pinctrl_soc_info, ptr @armada_38x_pinctrl_info, i64 0, i32 3), align 8, !tbaa !19 %16 = load i32, ptr @armada_38x_mpp_modes, align 4, !tbaa !5 store i32 %16, ptr getelementptr inbounds (%struct.mvebu_pinctrl_soc_info, ptr @armada_38x_pinctrl_info, i64 0, i32 2), align 8, !tbaa !20 %17 = load ptr, ptr @armada_38x_mpp_controls, align 8, !tbaa !15 %18 = load i32, ptr %17, align 4, !tbaa !21 store i32 %18, ptr getelementptr inbounds (%struct.mvebu_pinctrl_soc_info, ptr @armada_38x_pinctrl_info, i64 0, i32 1), align 4, !tbaa !23 store ptr @armada_38x_pinctrl_info, ptr %0, align 8, !tbaa !24 %19 = tail call i32 @mvebu_pinctrl_simple_mmio_probe(ptr noundef nonnull %0) #2 br label %20 20: ; preds = %8, %5 %21 = phi i32 [ %19, %8 ], [ %7, %5 ] ret i32 %21 } declare ptr @of_match_device(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @mvebu_pinctrl_simple_mmio_probe(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 = !{!"of_device_id", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"mvebu_pinctrl_soc_info", !6, i64 0, !6, i64 4, !6, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40} !14 = !{!"any pointer", !7, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 40} !17 = !{!13, !14, i64 32} !18 = !{!13, !14, i64 24} !19 = !{!13, !14, i64 16} !20 = !{!13, !6, i64 8} !21 = !{!22, !6, i64 0} !22 = !{!"TYPE_6__", !6, i64 0} !23 = !{!13, !6, i64 4} !24 = !{!25, !14, i64 0} !25 = !{!"platform_device", !26, i64 0} !26 = !{!"TYPE_5__", !14, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/mvebu/extr_pinctrl-armada-38x.c_armada_38x_pinctrl_probe.c' source_filename = "AnghaBench/linux/drivers/pinctrl/mvebu/extr_pinctrl-armada-38x.c_armada_38x_pinctrl_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mvebu_pinctrl_soc_info = type { i32, i32, i32, ptr, ptr, ptr, ptr } @armada_38x_pinctrl_info = common global %struct.mvebu_pinctrl_soc_info zeroinitializer, align 8 @armada_38x_pinctrl_of_match = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @armada_38x_mpp_controls = common local_unnamed_addr global ptr null, align 8 @armada_38x_mpp_gpio_ranges = common local_unnamed_addr global ptr null, align 8 @armada_38x_mpp_modes = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @armada_38x_pinctrl_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @armada_38x_pinctrl_probe(ptr noundef %0) #0 { %2 = load i32, ptr @armada_38x_pinctrl_of_match, align 4, !tbaa !6 %3 = tail call ptr @of_match_device(i32 noundef %2, ptr noundef %0) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENODEV, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %20 8: ; preds = %1 %9 = load i64, ptr %3, align 8, !tbaa !10 %10 = trunc i64 %9 to i32 %11 = and i32 %10, 255 store i32 %11, ptr @armada_38x_pinctrl_info, align 8, !tbaa !13 %12 = load ptr, ptr @armada_38x_mpp_controls, align 8, !tbaa !16 store ptr %12, ptr getelementptr inbounds (i8, ptr @armada_38x_pinctrl_info, i64 40), align 8, !tbaa !17 %13 = tail call ptr @ARRAY_SIZE(ptr noundef %12) #2 store ptr %13, ptr getelementptr inbounds (i8, ptr @armada_38x_pinctrl_info, i64 32), align 8, !tbaa !18 %14 = load ptr, ptr @armada_38x_mpp_gpio_ranges, align 8, !tbaa !16 store ptr %14, ptr getelementptr inbounds (i8, ptr @armada_38x_pinctrl_info, i64 24), align 8, !tbaa !19 %15 = tail call ptr @ARRAY_SIZE(ptr noundef %14) #2 store ptr %15, ptr getelementptr inbounds (i8, ptr @armada_38x_pinctrl_info, i64 16), align 8, !tbaa !20 %16 = load i32, ptr @armada_38x_mpp_modes, align 4, !tbaa !6 store i32 %16, ptr getelementptr inbounds (i8, ptr @armada_38x_pinctrl_info, i64 8), align 8, !tbaa !21 %17 = load ptr, ptr @armada_38x_mpp_controls, align 8, !tbaa !16 %18 = load i32, ptr %17, align 4, !tbaa !22 store i32 %18, ptr getelementptr inbounds (i8, ptr @armada_38x_pinctrl_info, i64 4), align 4, !tbaa !24 store ptr @armada_38x_pinctrl_info, ptr %0, align 8, !tbaa !25 %19 = tail call i32 @mvebu_pinctrl_simple_mmio_probe(ptr noundef nonnull %0) #2 br label %20 20: ; preds = %8, %5 %21 = phi i32 [ %19, %8 ], [ %7, %5 ] ret i32 %21 } declare ptr @of_match_device(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @mvebu_pinctrl_simple_mmio_probe(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 = !{!"of_device_id", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"mvebu_pinctrl_soc_info", !7, i64 0, !7, i64 4, !7, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40} !15 = !{!"any pointer", !8, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !15, i64 40} !18 = !{!14, !15, i64 32} !19 = !{!14, !15, i64 24} !20 = !{!14, !15, i64 16} !21 = !{!14, !7, i64 8} !22 = !{!23, !7, i64 0} !23 = !{!"TYPE_6__", !7, i64 0} !24 = !{!14, !7, i64 4} !25 = !{!26, !15, i64 0} !26 = !{!"platform_device", !27, i64 0} !27 = !{!"TYPE_5__", !15, i64 0}
linux_drivers_pinctrl_mvebu_extr_pinctrl-armada-38x.c_armada_38x_pinctrl_probe
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nvc0.c_nvc0_fifo_chan_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nvc0.c_nvc0_fifo_chan_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.nouveau_object = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @nvc0_fifo_chan_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nvc0_fifo_chan_init(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.nouveau_object, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = tail call ptr @nv_gpuobj(i32 noundef %3) #2 %5 = load i64, ptr %0, align 8 %6 = tail call i32 @nouveau_fifo_channel_init(ptr noundef nonnull %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %20 8: ; preds = %1 %9 = trunc i64 %5 to i32 %10 = inttoptr i64 %5 to ptr %11 = shl nsw i32 %9, 3 %12 = add nsw i32 %11, 12288 %13 = load i32, ptr %4, align 4, !tbaa !11 %14 = ashr i32 %13, 12 %15 = or i32 %14, -1073741824 %16 = tail call i32 @nv_wr32(ptr noundef %10, i32 noundef %12, i32 noundef %15) #2 %17 = add nsw i32 %11, 12292 %18 = tail call i32 @nv_wr32(ptr noundef %10, i32 noundef %17, i32 noundef 2031617) #2 %19 = tail call i32 @nvc0_fifo_playlist_update(ptr noundef %10) #2 br label %20 20: ; preds = %1, %8 ret i32 %6 } declare ptr @nv_gpuobj(i32 noundef) local_unnamed_addr #1 declare i32 @nouveau_fifo_channel_init(ptr noundef) local_unnamed_addr #1 declare i32 @nv_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvc0_fifo_playlist_update(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"nouveau_object", !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 = !{!12, !10, i64 0} !12 = !{!"nouveau_gpuobj", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nvc0.c_nvc0_fifo_chan_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nvc0.c_nvc0_fifo_chan_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @nvc0_fifo_chan_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nvc0_fifo_chan_init(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = tail call ptr @nv_gpuobj(i32 noundef %3) #2 %5 = load i64, ptr %0, align 8 %6 = tail call i32 @nouveau_fifo_channel_init(ptr noundef nonnull %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %20 8: ; preds = %1 %9 = trunc i64 %5 to i32 %10 = inttoptr i64 %5 to ptr %11 = shl nsw i32 %9, 3 %12 = add nsw i32 %11, 12288 %13 = load i32, ptr %4, align 4, !tbaa !12 %14 = ashr i32 %13, 12 %15 = or i32 %14, -1073741824 %16 = tail call i32 @nv_wr32(ptr noundef %10, i32 noundef %12, i32 noundef %15) #2 %17 = add nsw i32 %11, 12292 %18 = tail call i32 @nv_wr32(ptr noundef %10, i32 noundef %17, i32 noundef 2031617) #2 %19 = tail call i32 @nvc0_fifo_playlist_update(ptr noundef %10) #2 br label %20 20: ; preds = %1, %8 ret i32 %6 } declare ptr @nv_gpuobj(i32 noundef) local_unnamed_addr #1 declare i32 @nouveau_fifo_channel_init(ptr noundef) local_unnamed_addr #1 declare i32 @nv_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvc0_fifo_playlist_update(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"nouveau_object", !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 = !{!13, !11, i64 0} !13 = !{!"nouveau_gpuobj", !11, i64 0}
fastsocket_kernel_drivers_gpu_drm_nouveau_core_engine_fifo_extr_nvc0.c_nvc0_fifo_chan_init
; ModuleID = 'AnghaBench/linux/tools/lib/subcmd/extr_parse-options.c_parse_options_end.c' source_filename = "AnghaBench/linux/tools/lib/subcmd/extr_parse-options.c_parse_options_end.c" target datalayout = "e-m:e-p270:32:32-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.parse_opt_ctx_t = type { i32, i32, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_options_end], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @parse_options_end(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.parse_opt_ctx_t, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %0, align 8, !tbaa !11 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds ptr, ptr %3, i64 %5 %7 = getelementptr inbounds %struct.parse_opt_ctx_t, ptr %0, i64 0, i32 3 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.parse_opt_ctx_t, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = shl i32 %10, 3 %12 = tail call i32 @memmove(ptr noundef %6, i32 noundef %8, i32 noundef %11) #2 %13 = load ptr, ptr %2, align 8, !tbaa !5 %14 = load i32, ptr %0, align 8, !tbaa !11 %15 = load i32, ptr %9, align 4, !tbaa !13 %16 = add nsw i32 %15, %14 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %13, i64 %17 store ptr null, ptr %18, align 8, !tbaa !14 ret i32 %16 } declare i32 @memmove(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, !10, i64 8} !6 = !{!"parse_opt_ctx_t", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 16} !13 = !{!6, !7, i64 4} !14 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/tools/lib/subcmd/extr_parse-options.c_parse_options_end.c' source_filename = "AnghaBench/linux/tools/lib/subcmd/extr_parse-options.c_parse_options_end.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 @parse_options_end], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @parse_options_end(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %0, align 8, !tbaa !12 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds ptr, ptr %3, i64 %5 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = getelementptr inbounds i8, ptr %0, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = shl i32 %10, 3 %12 = tail call i32 @memmove(ptr noundef %6, i32 noundef %8, i32 noundef %11) #2 %13 = load ptr, ptr %2, align 8, !tbaa !6 %14 = load i32, ptr %0, align 8, !tbaa !12 %15 = load i32, ptr %9, align 4, !tbaa !14 %16 = add nsw i32 %15, %14 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %13, i64 %17 store ptr null, ptr %18, align 8, !tbaa !15 ret i32 %16 } declare i32 @memmove(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, !11, i64 8} !7 = !{!"parse_opt_ctx_t", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 16} !14 = !{!7, !8, i64 4} !15 = !{!11, !11, i64 0}
linux_tools_lib_subcmd_extr_parse-options.c_parse_options_end
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mxc91231/extr_system.c_mxc91231_arch_reset.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mxc91231/extr_system.c_mxc91231_arch_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" @MXC_CRMAP_AMCR = dso_local local_unnamed_addr global i32 0, align 4 @MXC_CRMAP_AMCR_SW_AP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @mxc91231_arch_reset(i8 noundef signext %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @MXC_CRMAP_AMCR, align 4, !tbaa !5 %4 = tail call i32 @__raw_readl(i32 noundef %3) #2 %5 = load i32, ptr @MXC_CRMAP_AMCR_SW_AP, align 4, !tbaa !5 %6 = xor i32 %5, -1 %7 = and i32 %4, %6 %8 = load i32, ptr @MXC_CRMAP_AMCR, align 4, !tbaa !5 %9 = tail call i32 @__raw_writel(i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @mdelay(i32 noundef 10) #2 %11 = tail call i32 @cpu_reset(i32 noundef 0) #2 ret void } declare i32 @__raw_readl(i32 noundef) local_unnamed_addr #1 declare i32 @__raw_writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_reset(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/arch/arm/mach-mxc91231/extr_system.c_mxc91231_arch_reset.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mxc91231/extr_system.c_mxc91231_arch_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MXC_CRMAP_AMCR = common local_unnamed_addr global i32 0, align 4 @MXC_CRMAP_AMCR_SW_AP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @mxc91231_arch_reset(i8 noundef signext %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @MXC_CRMAP_AMCR, align 4, !tbaa !6 %4 = tail call i32 @__raw_readl(i32 noundef %3) #2 %5 = load i32, ptr @MXC_CRMAP_AMCR_SW_AP, align 4, !tbaa !6 %6 = xor i32 %5, -1 %7 = and i32 %4, %6 %8 = load i32, ptr @MXC_CRMAP_AMCR, align 4, !tbaa !6 %9 = tail call i32 @__raw_writel(i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @mdelay(i32 noundef 10) #2 %11 = tail call i32 @cpu_reset(i32 noundef 0) #2 ret void } declare i32 @__raw_readl(i32 noundef) local_unnamed_addr #1 declare i32 @__raw_writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_reset(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_arch_arm_mach-mxc91231_extr_system.c_mxc91231_arch_reset
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rcc.c_RCC_APB1PeriphResetCmd.c' source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rcc.c_RCC_APB1PeriphResetCmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DISABLE = dso_local local_unnamed_addr global i64 0, align 8 @RCC = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @RCC_APB1PeriphResetCmd(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @IS_RCC_APB1_PERIPH(i32 noundef %0) #2 %4 = tail call i32 @assert_param(i32 noundef %3) #2 %5 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %1) #2 %6 = tail call i32 @assert_param(i32 noundef %5) #2 %7 = load i64, ptr @DISABLE, align 8, !tbaa !5 %8 = icmp eq i64 %7, %1 br i1 %8, label %13, label %9 9: ; preds = %2 %10 = load ptr, ptr @RCC, align 8, !tbaa !9 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = or i32 %11, %0 store i32 %12, ptr %10, align 4, !tbaa !11 br label %18 13: ; preds = %2 %14 = xor i32 %0, -1 %15 = load ptr, ptr @RCC, align 8, !tbaa !9 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = and i32 %16, %14 store i32 %17, ptr %15, align 4, !tbaa !11 br label %18 18: ; preds = %13, %9 ret void } declare i32 @assert_param(i32 noundef) local_unnamed_addr #1 declare i32 @IS_RCC_APB1_PERIPH(i32 noundef) local_unnamed_addr #1 declare i32 @IS_FUNCTIONAL_STATE(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rcc.c_RCC_APB1PeriphResetCmd.c' source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rcc.c_RCC_APB1PeriphResetCmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DISABLE = common local_unnamed_addr global i64 0, align 8 @RCC = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @RCC_APB1PeriphResetCmd(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @IS_RCC_APB1_PERIPH(i32 noundef %0) #2 %4 = tail call i32 @assert_param(i32 noundef %3) #2 %5 = tail call i32 @IS_FUNCTIONAL_STATE(i64 noundef %1) #2 %6 = tail call i32 @assert_param(i32 noundef %5) #2 %7 = load i64, ptr @DISABLE, align 8, !tbaa !6 %8 = icmp eq i64 %7, %1 br i1 %8, label %13, label %9 9: ; preds = %2 %10 = load ptr, ptr @RCC, align 8, !tbaa !10 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = or i32 %11, %0 store i32 %12, ptr %10, align 4, !tbaa !12 br label %18 13: ; preds = %2 %14 = xor i32 %0, -1 %15 = load ptr, ptr @RCC, align 8, !tbaa !10 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = and i32 %16, %14 store i32 %17, ptr %15, align 4, !tbaa !12 br label %18 18: ; preds = %13, %9 ret void } declare i32 @assert_param(i32 noundef) local_unnamed_addr #1 declare i32 @IS_RCC_APB1_PERIPH(i32 noundef) local_unnamed_addr #1 declare i32 @IS_FUNCTIONAL_STATE(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"int", !8, i64 0}
anypixel_firmware_display_ThirdParty_SPL_src_extr_stm32f0xx_rcc.c_RCC_APB1PeriphResetCmd
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_profiler.c_profiler_snapshot_entry_name.c' source_filename = "AnghaBench/obs-studio/libobs/util/extr_profiler.c_profiler_snapshot_entry_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @profiler_snapshot_entry_name(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !5 br label %5 5: ; preds = %1, %3 %6 = phi ptr [ %4, %3 ], [ null, %1 ] ret ptr %6 } 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_profiler.c_profiler_snapshot_entry_name.c' source_filename = "AnghaBench/obs-studio/libobs/util/extr_profiler.c_profiler_snapshot_entry_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define ptr @profiler_snapshot_entry_name(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !6 br label %5 5: ; preds = %1, %3 %6 = phi ptr [ %4, %3 ], [ null, %1 ] ret ptr %6 } 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 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
obs-studio_libobs_util_extr_profiler.c_profiler_snapshot_entry_name
; ModuleID = 'AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_is_dir_host.c' source_filename = "AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_is_dir_host.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IS_DIR_HOST = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @usbhs_pipe_is_dir_host(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @IS_DIR_HOST, align 4, !tbaa !5 %3 = tail call i32 @usbhsp_flags_has(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @usbhsp_flags_has(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_is_dir_host.c' source_filename = "AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_is_dir_host.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IS_DIR_HOST = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @usbhs_pipe_is_dir_host(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @IS_DIR_HOST, align 4, !tbaa !6 %3 = tail call i32 @usbhsp_flags_has(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @usbhsp_flags_has(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_usb_renesas_usbhs_extr_pipe.c_usbhs_pipe_is_dir_host
; ModuleID = 'AnghaBench/redis/deps/hiredis/extr_sds.h_sdsavail.c' source_filename = "AnghaBench/redis/deps/hiredis/extr_sds.h_sdsavail.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i64, i64 } @SDS_TYPE_MASK = dso_local local_unnamed_addr global i8 0, align 1 @sh = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @sdsavail], section "llvm.metadata" @switch.table.sdsavail = private unnamed_addr constant [5 x i32] [i32 8, i32 64, i32 64, i32 32, i32 16], align 4 ; Function Attrs: inlinehint nounwind uwtable define internal i64 @sdsavail(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 -1 %3 = load i8, ptr %2, align 1, !tbaa !5 %4 = load i8, ptr @SDS_TYPE_MASK, align 1, !tbaa !5 %5 = and i8 %4, %3 %6 = xor i8 %5, -128 %7 = icmp ult i8 %6, 5 br i1 %7, label %8, label %22 8: ; preds = %1 %9 = lshr i8 27, %6 %10 = and i8 %9, 1 %11 = icmp eq i8 %10, 0 br i1 %11, label %22, label %12 12: ; preds = %8 %13 = zext nneg i8 %6 to i64 %14 = getelementptr inbounds [5 x i32], ptr @switch.table.sdsavail, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = tail call i32 @SDS_HDR_VAR(i32 noundef %15, ptr noundef nonnull %0) #2 %17 = load ptr, ptr @sh, align 8, !tbaa !8 %18 = load i64, ptr %17, align 8, !tbaa !10 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 0, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !13 %21 = sub i64 %18, %20 br label %22 22: ; preds = %8, %1, %12 %23 = phi i64 [ 0, %1 ], [ %21, %12 ], [ 0, %8 ] ret i64 %23 } declare i32 @SDS_HDR_VAR(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"any pointer", !6, i64 0} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8} !12 = !{!"long", !6, i64 0} !13 = !{!11, !12, i64 8}
; ModuleID = 'AnghaBench/redis/deps/hiredis/extr_sds.h_sdsavail.c' source_filename = "AnghaBench/redis/deps/hiredis/extr_sds.h_sdsavail.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SDS_TYPE_MASK = common local_unnamed_addr global i8 0, align 1 @sh = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @sdsavail], section "llvm.metadata" @switch.table.sdsavail = private unnamed_addr constant [5 x i32] [i32 8, i32 64, i32 64, i32 32, i32 16], align 4 ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i64 @sdsavail(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 -1 %3 = load i8, ptr %2, align 1, !tbaa !6 %4 = load i8, ptr @SDS_TYPE_MASK, align 1, !tbaa !6 %5 = and i8 %4, %3 %6 = xor i8 %5, -128 %7 = icmp ult i8 %6, 5 br i1 %7, label %8, label %21 8: ; preds = %1 %9 = lshr i8 27, %6 %10 = trunc i8 %9 to i1 br i1 %10, label %11, label %21 11: ; preds = %8 %12 = zext nneg i8 %6 to i64 %13 = getelementptr inbounds [5 x i32], ptr @switch.table.sdsavail, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = tail call i32 @SDS_HDR_VAR(i32 noundef %14, ptr noundef nonnull %0) #2 %16 = load ptr, ptr @sh, align 8, !tbaa !9 %17 = load i64, ptr %16, align 8, !tbaa !11 %18 = getelementptr inbounds i8, ptr %16, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !14 %20 = sub i64 %17, %19 br label %21 21: ; preds = %8, %1, %11 %22 = phi i64 [ 0, %1 ], [ %20, %11 ], [ 0, %8 ] ret i64 %22 } declare i32 @SDS_HDR_VAR(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!12, !13, i64 8}
redis_deps_hiredis_extr_sds.h_sdsavail
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_bitmap_ipmac.c_bitmap_ipmac_head.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_bitmap_ipmac.c_bitmap_ipmac_head.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ip_set = type { i32, ptr } %struct.bitmap_ipmac = type { i32, i32, i32, i32 } @IPSET_ATTR_DATA = dso_local local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_IP = dso_local local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_IP_TO = dso_local local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_REFERENCES = dso_local local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_MEMSIZE = dso_local local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @EMSGSIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bitmap_ipmac_head], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bitmap_ipmac_head(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.ip_set, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @IPSET_ATTR_DATA, align 4, !tbaa !11 %6 = tail call ptr @ipset_nest_start(ptr noundef %1, i32 noundef %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %45, label %8 8: ; preds = %2 %9 = load i32, ptr @IPSET_ATTR_IP, align 4, !tbaa !11 %10 = load i32, ptr %4, align 4, !tbaa !12 %11 = tail call i32 @htonl(i32 noundef %10) %12 = tail call i32 @NLA_PUT_IPADDR4(ptr noundef %1, i32 noundef %9, i32 noundef %11) #3 %13 = load i32, ptr @IPSET_ATTR_IP_TO, align 4, !tbaa !11 %14 = getelementptr inbounds %struct.bitmap_ipmac, ptr %4, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = tail call i32 @htonl(i32 noundef %15) %17 = tail call i32 @NLA_PUT_IPADDR4(ptr noundef %1, i32 noundef %13, i32 noundef %16) #3 %18 = load i32, ptr @IPSET_ATTR_REFERENCES, align 4, !tbaa !11 %19 = load i32, ptr %0, align 8, !tbaa !15 %20 = add nsw i32 %19, -1 %21 = tail call i32 @htonl(i32 noundef %20) %22 = tail call i32 @NLA_PUT_NET32(ptr noundef %1, i32 noundef %18, i32 noundef %21) #3 %23 = load i32, ptr @IPSET_ATTR_MEMSIZE, align 4, !tbaa !11 %24 = load i32, ptr %14, align 4, !tbaa !14 %25 = load i32, ptr %4, align 4, !tbaa !12 %26 = add i32 %24, 1 %27 = sub i32 %26, %25 %28 = getelementptr inbounds %struct.bitmap_ipmac, ptr %4, i64 0, i32 2 %29 = load i32, ptr %28, align 4, !tbaa !16 %30 = mul nsw i32 %27, %29 %31 = add i32 %30, 16 %32 = tail call i32 @htonl(i32 noundef %31) %33 = tail call i32 @NLA_PUT_NET32(ptr noundef %1, i32 noundef %23, i32 noundef %32) #3 %34 = getelementptr inbounds %struct.bitmap_ipmac, ptr %4, i64 0, i32 3 %35 = load i32, ptr %34, align 4, !tbaa !17 %36 = tail call i64 @with_timeout(i32 noundef %35) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %43, label %38 38: ; preds = %8 %39 = load i32, ptr @IPSET_ATTR_TIMEOUT, align 4, !tbaa !11 %40 = load i32, ptr %34, align 4, !tbaa !17 %41 = tail call i32 @htonl(i32 noundef %40) %42 = tail call i32 @NLA_PUT_NET32(ptr noundef %1, i32 noundef %39, i32 noundef %41) #3 br label %43 43: ; preds = %38, %8 %44 = tail call i32 @ipset_nest_end(ptr noundef %1, ptr noundef nonnull %6) #3 br label %48 45: ; preds = %2 %46 = load i32, ptr @EMSGSIZE, align 4, !tbaa !11 %47 = sub nsw i32 0, %46 br label %48 48: ; preds = %45, %43 %49 = phi i32 [ 0, %43 ], [ %47, %45 ] ret i32 %49 } declare ptr @ipset_nest_start(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NLA_PUT_IPADDR4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @htonl(i32 noundef) local_unnamed_addr #2 declare i32 @NLA_PUT_NET32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @with_timeout(i32 noundef) local_unnamed_addr #1 declare i32 @ipset_nest_end(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 = { nofree nosync nounwind memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ip_set", !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 = !{!13, !7, i64 0} !13 = !{!"bitmap_ipmac", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !14 = !{!13, !7, i64 4} !15 = !{!6, !7, i64 0} !16 = !{!13, !7, i64 8} !17 = !{!13, !7, i64 12}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_bitmap_ipmac.c_bitmap_ipmac_head.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_bitmap_ipmac.c_bitmap_ipmac_head.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IPSET_ATTR_DATA = common local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_IP = common local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_IP_TO = common local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_REFERENCES = common local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_MEMSIZE = common local_unnamed_addr global i32 0, align 4 @IPSET_ATTR_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @EMSGSIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bitmap_ipmac_head], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @bitmap_ipmac_head(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 @IPSET_ATTR_DATA, align 4, !tbaa !12 %6 = tail call ptr @ipset_nest_start(ptr noundef %1, i32 noundef %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %45, label %8 8: ; preds = %2 %9 = load i32, ptr @IPSET_ATTR_IP, align 4, !tbaa !12 %10 = load i32, ptr %4, align 4, !tbaa !13 %11 = tail call i32 @htonl(i32 noundef %10) %12 = tail call i32 @NLA_PUT_IPADDR4(ptr noundef %1, i32 noundef %9, i32 noundef %11) #3 %13 = load i32, ptr @IPSET_ATTR_IP_TO, align 4, !tbaa !12 %14 = getelementptr inbounds i8, ptr %4, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = tail call i32 @htonl(i32 noundef %15) %17 = tail call i32 @NLA_PUT_IPADDR4(ptr noundef %1, i32 noundef %13, i32 noundef %16) #3 %18 = load i32, ptr @IPSET_ATTR_REFERENCES, align 4, !tbaa !12 %19 = load i32, ptr %0, align 8, !tbaa !16 %20 = add nsw i32 %19, -1 %21 = tail call i32 @htonl(i32 noundef %20) %22 = tail call i32 @NLA_PUT_NET32(ptr noundef %1, i32 noundef %18, i32 noundef %21) #3 %23 = load i32, ptr @IPSET_ATTR_MEMSIZE, align 4, !tbaa !12 %24 = load i32, ptr %14, align 4, !tbaa !15 %25 = load i32, ptr %4, align 4, !tbaa !13 %26 = add i32 %24, 1 %27 = sub i32 %26, %25 %28 = getelementptr inbounds i8, ptr %4, i64 8 %29 = load i32, ptr %28, align 4, !tbaa !17 %30 = mul nsw i32 %27, %29 %31 = add i32 %30, 16 %32 = tail call i32 @htonl(i32 noundef %31) %33 = tail call i32 @NLA_PUT_NET32(ptr noundef %1, i32 noundef %23, i32 noundef %32) #3 %34 = getelementptr inbounds i8, ptr %4, i64 12 %35 = load i32, ptr %34, align 4, !tbaa !18 %36 = tail call i64 @with_timeout(i32 noundef %35) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %43, label %38 38: ; preds = %8 %39 = load i32, ptr @IPSET_ATTR_TIMEOUT, align 4, !tbaa !12 %40 = load i32, ptr %34, align 4, !tbaa !18 %41 = tail call i32 @htonl(i32 noundef %40) %42 = tail call i32 @NLA_PUT_NET32(ptr noundef %1, i32 noundef %39, i32 noundef %41) #3 br label %43 43: ; preds = %38, %8 %44 = tail call i32 @ipset_nest_end(ptr noundef %1, ptr noundef nonnull %6) #3 br label %48 45: ; preds = %2 %46 = load i32, ptr @EMSGSIZE, align 4, !tbaa !12 %47 = sub nsw i32 0, %46 br label %48 48: ; preds = %45, %43 %49 = phi i32 [ 0, %43 ], [ %47, %45 ] ret i32 %49 } declare ptr @ipset_nest_start(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NLA_PUT_IPADDR4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @htonl(i32 noundef) local_unnamed_addr #2 declare i32 @NLA_PUT_NET32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @with_timeout(i32 noundef) local_unnamed_addr #1 declare i32 @ipset_nest_end(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 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ip_set", !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 = !{!14, !8, i64 0} !14 = !{!"bitmap_ipmac", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !15 = !{!14, !8, i64 4} !16 = !{!7, !8, i64 0} !17 = !{!14, !8, i64 8} !18 = !{!14, !8, i64 12}
fastsocket_kernel_net_netfilter_ipset_extr_ip_set_bitmap_ipmac.c_bitmap_ipmac_head
; ModuleID = 'AnghaBench/qmk_firmware/layouts/community/ergodox/romanzolotarev-norman-osx/extr_keymap.c_matrix_scan_user.c' source_filename = "AnghaBench/qmk_firmware/layouts/community/ergodox/romanzolotarev-norman-osx/extr_keymap.c_matrix_scan_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @matrix_scan_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/layouts/community/ergodox/romanzolotarev-norman-osx/extr_keymap.c_matrix_scan_user.c' source_filename = "AnghaBench/qmk_firmware/layouts/community/ergodox/romanzolotarev-norman-osx/extr_keymap.c_matrix_scan_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @matrix_scan_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_layouts_community_ergodox_romanzolotarev-norman-osx_extr_keymap.c_matrix_scan_user
; ModuleID = 'AnghaBench/curl/lib/extr_ftp.c_ftp_state_list.c' source_filename = "AnghaBench/curl/lib/extr_ftp.c_ftp_state_list.c" target datalayout = "e-m:e-p270:32:32-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.connectdata = type { %struct.TYPE_8__, ptr } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } %struct.Curl_easy = type { %struct.TYPE_6__, %struct.TYPE_5__ } %struct.TYPE_6__ = type { i64, ptr, i64 } %struct.TYPE_5__ = type { ptr } @CURLE_OK = dso_local local_unnamed_addr global i64 0, align 8 @FTPFILE_NOCWD = dso_local local_unnamed_addr global i64 0, align 8 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1 @STRING_CUSTOMREQUEST = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"NLST\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"LIST\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @CURLE_OUT_OF_MEMORY = dso_local local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @FTP_LIST = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ftp_state_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @ftp_state_list(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = getelementptr inbounds %struct.connectdata, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr %4, align 8, !tbaa !13 %6 = load i64, ptr @FTPFILE_NOCWD, align 8, !tbaa !18 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %34 8: ; preds = %1 %9 = getelementptr inbounds %struct.Curl_easy, ptr %4, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !19 %11 = load i64, ptr %10, align 8, !tbaa !20 %12 = icmp eq i64 %11, 0 br i1 %12, label %34, label %13 13: ; preds = %8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !22 %14 = load i32, ptr @TRUE, align 4, !tbaa !23 %15 = call i64 @Curl_urldecode(ptr noundef nonnull %4, i64 noundef %11, i32 noundef 0, ptr noundef nonnull %2, ptr noundef null, i32 noundef %14) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %33 17: ; preds = %13 %18 = load ptr, ptr %2, align 8, !tbaa !22 %19 = call ptr @strrchr(ptr noundef %18, i8 noundef signext 47) #3 %20 = icmp eq ptr %19, null %21 = load ptr, ptr %2, align 8, !tbaa !22 br i1 %20, label %29, label %22 22: ; preds = %17 %23 = ptrtoint ptr %19 to i64 %24 = ptrtoint ptr %21 to i64 %25 = sub i64 %23, %24 %26 = icmp eq ptr %19, %21 %27 = select i1 %26, i64 1, i64 %25 %28 = getelementptr inbounds i8, ptr %21, i64 %27 store i8 0, ptr %28, align 1, !tbaa !24 br label %31 29: ; preds = %17 %30 = call i32 @free(ptr noundef %21) #3 br label %31 31: ; preds = %22, %29 %32 = phi ptr [ null, %29 ], [ %21, %22 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %34 33: ; preds = %13 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %64 34: ; preds = %31, %8, %1 %35 = phi ptr [ null, %8 ], [ null, %1 ], [ %32, %31 ] %36 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 1 %37 = load ptr, ptr %36, align 8, !tbaa !25 %38 = load i64, ptr @STRING_CUSTOMREQUEST, align 8, !tbaa !18 %39 = getelementptr inbounds ptr, ptr %37, i64 %38 %40 = load ptr, ptr %39, align 8, !tbaa !22 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %47 42: ; preds = %34 %43 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 2 %44 = load i64, ptr %43, align 8, !tbaa !26 %45 = icmp eq i64 %44, 0 %46 = select i1 %45, ptr @.str.2, ptr @.str.1 br label %47 47: ; preds = %34, %42 %48 = phi ptr [ %46, %42 ], [ %40, %34 ] %49 = icmp eq ptr %35, null %50 = select i1 %49, ptr @.str.4, ptr @.str.3 %51 = select i1 %49, ptr @.str.4, ptr %35 %52 = call ptr @aprintf(ptr noundef nonnull @.str, ptr noundef nonnull %48, ptr noundef nonnull %50, ptr noundef nonnull %51) #3 %53 = call i32 @free(ptr noundef %35) #3 %54 = icmp eq ptr %52, null br i1 %54, label %55, label %57 55: ; preds = %47 %56 = load i64, ptr @CURLE_OUT_OF_MEMORY, align 8, !tbaa !18 br label %64 57: ; preds = %47 %58 = call i64 @Curl_pp_sendf(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, ptr noundef nonnull %52) #3 %59 = call i32 @free(ptr noundef nonnull %52) #3 %60 = icmp eq i64 %58, 0 br i1 %60, label %61, label %64 61: ; preds = %57 %62 = load i32, ptr @FTP_LIST, align 4, !tbaa !23 %63 = call i32 @state(ptr noundef nonnull %0, i32 noundef %62) #3 br label %64 64: ; preds = %33, %57, %61, %55 %65 = phi i64 [ 0, %61 ], [ %56, %55 ], [ %15, %33 ], [ %58, %57 ] ret i64 %65 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @Curl_urldecode(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare ptr @aprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @Curl_pp_sendf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @state(ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 8} !6 = !{!"connectdata", !7, i64 0, !12, i64 8} !7 = !{!"TYPE_8__", !8, i64 0} !8 = !{!"TYPE_7__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !16, i64 0} !14 = !{!"Curl_easy", !15, i64 0, !17, i64 24} !15 = !{!"TYPE_6__", !16, i64 0, !12, i64 8, !16, i64 16} !16 = !{!"long", !10, i64 0} !17 = !{!"TYPE_5__", !12, i64 0} !18 = !{!16, !16, i64 0} !19 = !{!14, !12, i64 24} !20 = !{!21, !16, i64 0} !21 = !{!"FTP", !16, i64 0} !22 = !{!12, !12, i64 0} !23 = !{!9, !9, i64 0} !24 = !{!10, !10, i64 0} !25 = !{!14, !12, i64 8} !26 = !{!14, !16, i64 16}
; ModuleID = 'AnghaBench/curl/lib/extr_ftp.c_ftp_state_list.c' source_filename = "AnghaBench/curl/lib/extr_ftp.c_ftp_state_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CURLE_OK = common local_unnamed_addr global i64 0, align 8 @FTPFILE_NOCWD = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1 @STRING_CUSTOMREQUEST = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"NLST\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"LIST\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @CURLE_OUT_OF_MEMORY = common local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @FTP_LIST = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ftp_state_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @ftp_state_list(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr %4, align 8, !tbaa !14 %6 = load i64, ptr @FTPFILE_NOCWD, align 8, !tbaa !19 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %34 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %4, i64 24 %10 = load ptr, ptr %9, align 8, !tbaa !20 %11 = load i64, ptr %10, align 8, !tbaa !21 %12 = icmp eq i64 %11, 0 br i1 %12, label %34, label %13 13: ; preds = %8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !23 %14 = load i32, ptr @TRUE, align 4, !tbaa !24 %15 = call i64 @Curl_urldecode(ptr noundef nonnull %4, i64 noundef %11, i32 noundef 0, ptr noundef nonnull %2, ptr noundef null, i32 noundef %14) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %33 17: ; preds = %13 %18 = load ptr, ptr %2, align 8, !tbaa !23 %19 = call ptr @strrchr(ptr noundef %18, i8 noundef signext 47) #3 %20 = icmp eq ptr %19, null %21 = load ptr, ptr %2, align 8, !tbaa !23 br i1 %20, label %29, label %22 22: ; preds = %17 %23 = ptrtoint ptr %19 to i64 %24 = ptrtoint ptr %21 to i64 %25 = sub i64 %23, %24 %26 = icmp eq ptr %19, %21 %27 = select i1 %26, i64 1, i64 %25 %28 = getelementptr inbounds i8, ptr %21, i64 %27 store i8 0, ptr %28, align 1, !tbaa !25 br label %31 29: ; preds = %17 %30 = call i32 @free(ptr noundef %21) #3 br label %31 31: ; preds = %22, %29 %32 = phi ptr [ null, %29 ], [ %21, %22 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %34 33: ; preds = %13 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %64 34: ; preds = %31, %8, %1 %35 = phi ptr [ null, %8 ], [ null, %1 ], [ %32, %31 ] %36 = getelementptr inbounds i8, ptr %4, i64 8 %37 = load ptr, ptr %36, align 8, !tbaa !26 %38 = load i64, ptr @STRING_CUSTOMREQUEST, align 8, !tbaa !19 %39 = getelementptr inbounds ptr, ptr %37, i64 %38 %40 = load ptr, ptr %39, align 8, !tbaa !23 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %47 42: ; preds = %34 %43 = getelementptr inbounds i8, ptr %4, i64 16 %44 = load i64, ptr %43, align 8, !tbaa !27 %45 = icmp eq i64 %44, 0 %46 = select i1 %45, ptr @.str.2, ptr @.str.1 br label %47 47: ; preds = %34, %42 %48 = phi ptr [ %46, %42 ], [ %40, %34 ] %49 = icmp eq ptr %35, null %50 = select i1 %49, ptr @.str.4, ptr @.str.3 %51 = select i1 %49, ptr @.str.4, ptr %35 %52 = call ptr @aprintf(ptr noundef nonnull @.str, ptr noundef nonnull %48, ptr noundef nonnull %50, ptr noundef nonnull %51) #3 %53 = call i32 @free(ptr noundef %35) #3 %54 = icmp eq ptr %52, null br i1 %54, label %55, label %57 55: ; preds = %47 %56 = load i64, ptr @CURLE_OUT_OF_MEMORY, align 8, !tbaa !19 br label %64 57: ; preds = %47 %58 = call i64 @Curl_pp_sendf(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, ptr noundef nonnull %52) #3 %59 = call i32 @free(ptr noundef nonnull %52) #3 %60 = icmp eq i64 %58, 0 br i1 %60, label %61, label %64 61: ; preds = %57 %62 = load i32, ptr @FTP_LIST, align 4, !tbaa !24 %63 = call i32 @state(ptr noundef nonnull %0, i32 noundef %62) #3 br label %64 64: ; preds = %33, %57, %61, %55 %65 = phi i64 [ 0, %61 ], [ %56, %55 ], [ %15, %33 ], [ %58, %57 ] ret i64 %65 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @Curl_urldecode(ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare ptr @aprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @Curl_pp_sendf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @state(ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 8} !7 = !{!"connectdata", !8, i64 0, !13, i64 8} !8 = !{!"TYPE_8__", !9, i64 0} !9 = !{!"TYPE_7__", !10, i64 0} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"any pointer", !11, i64 0} !14 = !{!15, !17, i64 0} !15 = !{!"Curl_easy", !16, i64 0, !18, i64 24} !16 = !{!"TYPE_6__", !17, i64 0, !13, i64 8, !17, i64 16} !17 = !{!"long", !11, i64 0} !18 = !{!"TYPE_5__", !13, i64 0} !19 = !{!17, !17, i64 0} !20 = !{!15, !13, i64 24} !21 = !{!22, !17, i64 0} !22 = !{!"FTP", !17, i64 0} !23 = !{!13, !13, i64 0} !24 = !{!10, !10, i64 0} !25 = !{!11, !11, i64 0} !26 = !{!15, !13, i64 8} !27 = !{!15, !17, i64 16}
curl_lib_extr_ftp.c_ftp_state_list
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v9_0.c_gfx_v9_0_gpu_early_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v9_0.c_gfx_v9_0_gpu_early_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.amdgpu_device = type { i32, i32, %struct.TYPE_5__ } %struct.TYPE_5__ = type { %struct.TYPE_6__, ptr } %struct.TYPE_6__ = type { i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i32, i32, i32, i32, i32 } @gfx_v9_0_gfx_funcs = dso_local global i32 0, align 4 @VEGA10_GB_ADDR_CONFIG_GOLDEN = dso_local local_unnamed_addr global i32 0, align 4 @VEGA12_GB_ADDR_CONFIG_GOLDEN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"fix gfx.config for vega12\0A\00", align 1 @GC = dso_local local_unnamed_addr global i32 0, align 4 @mmGB_ADDR_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @RAVEN2_GB_ADDR_CONFIG_GOLDEN = dso_local local_unnamed_addr global i32 0, align 4 @RAVEN_GB_ADDR_CONFIG_GOLDEN = dso_local local_unnamed_addr global i32 0, align 4 @GB_ADDR_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @NUM_PIPES = dso_local local_unnamed_addr global i32 0, align 4 @NUM_BANKS = dso_local local_unnamed_addr global i32 0, align 4 @MAX_COMPRESSED_FRAGS = dso_local local_unnamed_addr global i32 0, align 4 @NUM_RB_PER_SE = dso_local local_unnamed_addr global i32 0, align 4 @NUM_SHADER_ENGINES = dso_local local_unnamed_addr global i32 0, align 4 @PIPE_INTERLEAVE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gfx_v9_0_gpu_early_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gfx_v9_0_gpu_early_init(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2 %3 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 1 store ptr @gfx_v9_0_gfx_funcs, ptr %3, align 8, !tbaa !5 %4 = load i32, ptr %0, align 8, !tbaa !14 switch i32 %4, label %44 [ i32 130, label %5 i32 129, label %8 i32 128, label %12 i32 132, label %21 i32 133, label %30 i32 131, label %37 ] 5: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !15 %6 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 4 store i32 1216, ptr %6, align 8, !tbaa !16 %7 = load i32, ptr @VEGA10_GB_ADDR_CONFIG_GOLDEN, align 4, !tbaa !15 br label %46 8: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !15 %9 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 4 store i32 1216, ptr %9, align 8, !tbaa !16 %10 = load i32, ptr @VEGA12_GB_ADDR_CONFIG_GOLDEN, align 4, !tbaa !15 %11 = tail call i32 @DRM_INFO(ptr noundef nonnull @.str) #2 br label %46 12: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !15 %13 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 4 store i32 1216, ptr %13, align 8, !tbaa !16 %14 = load i32, ptr @GC, align 4, !tbaa !15 %15 = load i32, ptr @mmGB_ADDR_CONFIG, align 4, !tbaa !15 %16 = tail call i32 @RREG32_SOC15(i32 noundef %14, i32 noundef 0, i32 noundef %15) #2 %17 = and i32 %16, 202934272 %18 = or disjoint i32 %17, 570507330 %19 = tail call i32 @amdgpu_atomfirmware_get_gfx_info(ptr noundef nonnull %0) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %46, label %86 21: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !15 %22 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 4 store i32 1216, ptr %22, align 8, !tbaa !16 %23 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !17 %25 = icmp sgt i32 %24, 7 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load i32, ptr @RAVEN2_GB_ADDR_CONFIG_GOLDEN, align 4, !tbaa !15 br label %46 28: ; preds = %21 %29 = load i32, ptr @RAVEN_GB_ADDR_CONFIG_GOLDEN, align 4, !tbaa !15 br label %46 30: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !15 %31 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 4 store i32 1216, ptr %31, align 8, !tbaa !16 %32 = load i32, ptr @GC, align 4, !tbaa !15 %33 = load i32, ptr @mmGB_ADDR_CONFIG, align 4, !tbaa !15 %34 = tail call i32 @RREG32_SOC15(i32 noundef %32, i32 noundef 0, i32 noundef %33) #2 %35 = and i32 %34, 202934272 %36 = or disjoint i32 %35, 570507330 br label %46 37: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 128>, ptr %2, align 8, !tbaa !15 %38 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 4 store i32 1216, ptr %38, align 8, !tbaa !16 %39 = load i32, ptr @GC, align 4, !tbaa !15 %40 = load i32, ptr @mmGB_ADDR_CONFIG, align 4, !tbaa !15 %41 = tail call i32 @RREG32_SOC15(i32 noundef %39, i32 noundef 0, i32 noundef %40) #2 %42 = and i32 %41, 202934272 %43 = or disjoint i32 %42, 570490946 br label %46 44: ; preds = %1 %45 = tail call i32 (...) @BUG() #2 unreachable 46: ; preds = %26, %28, %12, %37, %30, %8, %5 %47 = phi i32 [ %43, %37 ], [ %36, %30 ], [ %27, %26 ], [ %29, %28 ], [ %18, %12 ], [ %10, %8 ], [ %7, %5 ] %48 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 5 store i32 %47, ptr %48, align 4, !tbaa !18 %49 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !15 %50 = load i32, ptr @NUM_PIPES, align 4, !tbaa !15 %51 = tail call i32 @REG_GET_FIELD(i32 noundef %47, i32 noundef %49, i32 noundef %50) #2 %52 = shl nuw i32 1, %51 %53 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 7 store i32 %52, ptr %53, align 4, !tbaa !19 %54 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 6 store i32 %52, ptr %54, align 8, !tbaa !20 %55 = load i32, ptr %48, align 4, !tbaa !18 %56 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !15 %57 = load i32, ptr @NUM_BANKS, align 4, !tbaa !15 %58 = tail call i32 @REG_GET_FIELD(i32 noundef %55, i32 noundef %56, i32 noundef %57) #2 %59 = shl nuw i32 1, %58 %60 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 7, i32 1 store i32 %59, ptr %60, align 4, !tbaa !21 %61 = load i32, ptr %48, align 4, !tbaa !18 %62 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !15 %63 = load i32, ptr @MAX_COMPRESSED_FRAGS, align 4, !tbaa !15 %64 = tail call i32 @REG_GET_FIELD(i32 noundef %61, i32 noundef %62, i32 noundef %63) #2 %65 = shl nuw i32 1, %64 %66 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 7, i32 2 store i32 %65, ptr %66, align 4, !tbaa !22 %67 = load i32, ptr %48, align 4, !tbaa !18 %68 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !15 %69 = load i32, ptr @NUM_RB_PER_SE, align 4, !tbaa !15 %70 = tail call i32 @REG_GET_FIELD(i32 noundef %67, i32 noundef %68, i32 noundef %69) #2 %71 = shl nuw i32 1, %70 %72 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 7, i32 3 store i32 %71, ptr %72, align 4, !tbaa !23 %73 = load i32, ptr %48, align 4, !tbaa !18 %74 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !15 %75 = load i32, ptr @NUM_SHADER_ENGINES, align 4, !tbaa !15 %76 = tail call i32 @REG_GET_FIELD(i32 noundef %73, i32 noundef %74, i32 noundef %75) #2 %77 = shl nuw i32 1, %76 %78 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 7, i32 4 store i32 %77, ptr %78, align 4, !tbaa !24 %79 = load i32, ptr %48, align 4, !tbaa !18 %80 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !15 %81 = load i32, ptr @PIPE_INTERLEAVE_SIZE, align 4, !tbaa !15 %82 = tail call i32 @REG_GET_FIELD(i32 noundef %79, i32 noundef %80, i32 noundef %81) #2 %83 = add nsw i32 %82, 8 %84 = shl nuw i32 1, %83 %85 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 2, i32 0, i32 7, i32 5 store i32 %84, ptr %85, align 4, !tbaa !25 br label %86 86: ; preds = %12, %46 %87 = phi i32 [ 0, %46 ], [ %19, %12 ] ret i32 %87 } declare i32 @DRM_INFO(ptr noundef) local_unnamed_addr #1 declare i32 @RREG32_SOC15(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @amdgpu_atomfirmware_get_gfx_info(ptr noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 declare i32 @REG_GET_FIELD(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !13, i64 64} !6 = !{!"amdgpu_device", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_5__", !11, i64 0, !13, i64 56} !11 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !12, i64 28} !12 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !13 = !{!"any pointer", !8, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!6, !7, i64 24} !17 = !{!6, !7, i64 4} !18 = !{!6, !7, i64 28} !19 = !{!6, !7, i64 36} !20 = !{!6, !7, i64 32} !21 = !{!6, !7, i64 40} !22 = !{!6, !7, i64 44} !23 = !{!6, !7, i64 48} !24 = !{!6, !7, i64 52} !25 = !{!6, !7, i64 56}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v9_0.c_gfx_v9_0_gpu_early_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v9_0.c_gfx_v9_0_gpu_early_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gfx_v9_0_gfx_funcs = common global i32 0, align 4 @VEGA10_GB_ADDR_CONFIG_GOLDEN = common local_unnamed_addr global i32 0, align 4 @VEGA12_GB_ADDR_CONFIG_GOLDEN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"fix gfx.config for vega12\0A\00", align 1 @GC = common local_unnamed_addr global i32 0, align 4 @mmGB_ADDR_CONFIG = common local_unnamed_addr global i32 0, align 4 @RAVEN2_GB_ADDR_CONFIG_GOLDEN = common local_unnamed_addr global i32 0, align 4 @RAVEN_GB_ADDR_CONFIG_GOLDEN = common local_unnamed_addr global i32 0, align 4 @GB_ADDR_CONFIG = common local_unnamed_addr global i32 0, align 4 @NUM_PIPES = common local_unnamed_addr global i32 0, align 4 @NUM_BANKS = common local_unnamed_addr global i32 0, align 4 @MAX_COMPRESSED_FRAGS = common local_unnamed_addr global i32 0, align 4 @NUM_RB_PER_SE = common local_unnamed_addr global i32 0, align 4 @NUM_SHADER_ENGINES = common local_unnamed_addr global i32 0, align 4 @PIPE_INTERLEAVE_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gfx_v9_0_gpu_early_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gfx_v9_0_gpu_early_init(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = getelementptr inbounds i8, ptr %0, i64 64 store ptr @gfx_v9_0_gfx_funcs, ptr %3, align 8, !tbaa !6 %4 = load i32, ptr %0, align 8, !tbaa !15 switch i32 %4, label %44 [ i32 130, label %5 i32 129, label %8 i32 128, label %12 i32 132, label %21 i32 133, label %30 i32 131, label %37 ] 5: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !16 %6 = getelementptr inbounds i8, ptr %0, i64 24 store i32 1216, ptr %6, align 8, !tbaa !17 %7 = load i32, ptr @VEGA10_GB_ADDR_CONFIG_GOLDEN, align 4, !tbaa !16 br label %46 8: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !16 %9 = getelementptr inbounds i8, ptr %0, i64 24 store i32 1216, ptr %9, align 8, !tbaa !17 %10 = load i32, ptr @VEGA12_GB_ADDR_CONFIG_GOLDEN, align 4, !tbaa !16 %11 = tail call i32 @DRM_INFO(ptr noundef nonnull @.str) #2 br label %46 12: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !16 %13 = getelementptr inbounds i8, ptr %0, i64 24 store i32 1216, ptr %13, align 8, !tbaa !17 %14 = load i32, ptr @GC, align 4, !tbaa !16 %15 = load i32, ptr @mmGB_ADDR_CONFIG, align 4, !tbaa !16 %16 = tail call i32 @RREG32_SOC15(i32 noundef %14, i32 noundef 0, i32 noundef %15) #2 %17 = and i32 %16, 202934272 %18 = or disjoint i32 %17, 570507330 %19 = tail call i32 @amdgpu_atomfirmware_get_gfx_info(ptr noundef nonnull %0) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %46, label %86 21: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !16 %22 = getelementptr inbounds i8, ptr %0, i64 24 store i32 1216, ptr %22, align 8, !tbaa !17 %23 = getelementptr inbounds i8, ptr %0, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !18 %25 = icmp sgt i32 %24, 7 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load i32, ptr @RAVEN2_GB_ADDR_CONFIG_GOLDEN, align 4, !tbaa !16 br label %46 28: ; preds = %21 %29 = load i32, ptr @RAVEN_GB_ADDR_CONFIG_GOLDEN, align 4, !tbaa !16 br label %46 30: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 48>, ptr %2, align 8, !tbaa !16 %31 = getelementptr inbounds i8, ptr %0, i64 24 store i32 1216, ptr %31, align 8, !tbaa !17 %32 = load i32, ptr @GC, align 4, !tbaa !16 %33 = load i32, ptr @mmGB_ADDR_CONFIG, align 4, !tbaa !16 %34 = tail call i32 @RREG32_SOC15(i32 noundef %32, i32 noundef 0, i32 noundef %33) #2 %35 = and i32 %34, 202934272 %36 = or disjoint i32 %35, 570507330 br label %46 37: ; preds = %1 store <4 x i32> <i32 8, i32 32, i32 256, i32 128>, ptr %2, align 8, !tbaa !16 %38 = getelementptr inbounds i8, ptr %0, i64 24 store i32 1216, ptr %38, align 8, !tbaa !17 %39 = load i32, ptr @GC, align 4, !tbaa !16 %40 = load i32, ptr @mmGB_ADDR_CONFIG, align 4, !tbaa !16 %41 = tail call i32 @RREG32_SOC15(i32 noundef %39, i32 noundef 0, i32 noundef %40) #2 %42 = and i32 %41, 202934272 %43 = or disjoint i32 %42, 570490946 br label %46 44: ; preds = %1 %45 = tail call i32 @BUG() #2 unreachable 46: ; preds = %26, %28, %12, %37, %30, %8, %5 %47 = phi i32 [ %43, %37 ], [ %36, %30 ], [ %27, %26 ], [ %29, %28 ], [ %18, %12 ], [ %10, %8 ], [ %7, %5 ] %48 = getelementptr inbounds i8, ptr %0, i64 28 store i32 %47, ptr %48, align 4, !tbaa !19 %49 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !16 %50 = load i32, ptr @NUM_PIPES, align 4, !tbaa !16 %51 = tail call i32 @REG_GET_FIELD(i32 noundef %47, i32 noundef %49, i32 noundef %50) #2 %52 = shl nuw i32 1, %51 %53 = getelementptr inbounds i8, ptr %0, i64 36 store i32 %52, ptr %53, align 4, !tbaa !20 %54 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %52, ptr %54, align 8, !tbaa !21 %55 = load i32, ptr %48, align 4, !tbaa !19 %56 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !16 %57 = load i32, ptr @NUM_BANKS, align 4, !tbaa !16 %58 = tail call i32 @REG_GET_FIELD(i32 noundef %55, i32 noundef %56, i32 noundef %57) #2 %59 = shl nuw i32 1, %58 %60 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %59, ptr %60, align 4, !tbaa !22 %61 = load i32, ptr %48, align 4, !tbaa !19 %62 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !16 %63 = load i32, ptr @MAX_COMPRESSED_FRAGS, align 4, !tbaa !16 %64 = tail call i32 @REG_GET_FIELD(i32 noundef %61, i32 noundef %62, i32 noundef %63) #2 %65 = shl nuw i32 1, %64 %66 = getelementptr inbounds i8, ptr %0, i64 44 store i32 %65, ptr %66, align 4, !tbaa !23 %67 = load i32, ptr %48, align 4, !tbaa !19 %68 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !16 %69 = load i32, ptr @NUM_RB_PER_SE, align 4, !tbaa !16 %70 = tail call i32 @REG_GET_FIELD(i32 noundef %67, i32 noundef %68, i32 noundef %69) #2 %71 = shl nuw i32 1, %70 %72 = getelementptr inbounds i8, ptr %0, i64 48 store i32 %71, ptr %72, align 4, !tbaa !24 %73 = load i32, ptr %48, align 4, !tbaa !19 %74 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !16 %75 = load i32, ptr @NUM_SHADER_ENGINES, align 4, !tbaa !16 %76 = tail call i32 @REG_GET_FIELD(i32 noundef %73, i32 noundef %74, i32 noundef %75) #2 %77 = shl nuw i32 1, %76 %78 = getelementptr inbounds i8, ptr %0, i64 52 store i32 %77, ptr %78, align 4, !tbaa !25 %79 = load i32, ptr %48, align 4, !tbaa !19 %80 = load i32, ptr @GB_ADDR_CONFIG, align 4, !tbaa !16 %81 = load i32, ptr @PIPE_INTERLEAVE_SIZE, align 4, !tbaa !16 %82 = tail call i32 @REG_GET_FIELD(i32 noundef %79, i32 noundef %80, i32 noundef %81) #2 %83 = add nsw i32 %82, 8 %84 = shl nuw i32 1, %83 %85 = getelementptr inbounds i8, ptr %0, i64 56 store i32 %84, ptr %85, align 4, !tbaa !26 br label %86 86: ; preds = %12, %46 %87 = phi i32 [ 0, %46 ], [ %19, %12 ] ret i32 %87 } declare i32 @DRM_INFO(ptr noundef) local_unnamed_addr #1 declare i32 @RREG32_SOC15(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @amdgpu_atomfirmware_get_gfx_info(ptr noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 declare i32 @REG_GET_FIELD(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !14, i64 64} !7 = !{!"amdgpu_device", !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 = !{!"TYPE_5__", !12, i64 0, !14, i64 56} !12 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !13, i64 28} !13 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !14 = !{!"any pointer", !9, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!7, !8, i64 24} !18 = !{!7, !8, i64 4} !19 = !{!7, !8, i64 28} !20 = !{!7, !8, i64 36} !21 = !{!7, !8, i64 32} !22 = !{!7, !8, i64 40} !23 = !{!7, !8, i64 44} !24 = !{!7, !8, i64 48} !25 = !{!7, !8, i64 52} !26 = !{!7, !8, i64 56}
linux_drivers_gpu_drm_amd_amdgpu_extr_gfx_v9_0.c_gfx_v9_0_gpu_early_init
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_walk_wild_section_specs2_wild1.c' source_filename = "AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_walk_wild_section_specs2_wild1.c" target datalayout = "e-m:e-p270:32:32-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 @walk_wild_section_specs2_wild1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @walk_wild_section_specs2_wild1(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = getelementptr inbounds ptr, ptr %6, i64 1 %9 = load ptr, ptr %8, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %10 = call ptr @find_section(ptr noundef %1, ptr noundef %7, ptr noundef nonnull %5) #3 %11 = load i32, ptr %5, align 4, !tbaa !11 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %4 %14 = call i32 @walk_wild_section_general(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #3 br label %35 15: ; preds = %4 %16 = load ptr, ptr %1, align 8, !tbaa !13 %17 = load ptr, ptr %16, align 8, !tbaa !10 %18 = icmp eq ptr %17, null br i1 %18, label %35, label %19 19: ; preds = %15, %32 %20 = phi ptr [ %33, %32 ], [ %17, %15 ] %21 = icmp eq ptr %20, %10 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @walk_wild_consider_section(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %10, ptr noundef %7, i32 noundef %2, ptr noundef %3) #3 br label %32 24: ; preds = %19 %25 = load ptr, ptr %1, align 8, !tbaa !13 %26 = call ptr @bfd_get_section_name(ptr noundef %25, ptr noundef nonnull %20) #3 %27 = load i32, ptr %9, align 4, !tbaa !15 %28 = call i32 @match_simple_wild(i32 noundef %27, ptr noundef %26) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %24 %31 = call i32 @walk_wild_consider_section(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %20, ptr noundef nonnull %9, i32 noundef %2, ptr noundef %3) #3 br label %32 32: ; preds = %24, %30, %22 %33 = load ptr, ptr %20, align 8, !tbaa !10 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %19, !llvm.loop !18 35: ; preds = %32, %15, %13 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @find_section(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @walk_wild_section_general(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @walk_wild_consider_section(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bfd_get_section_name(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @match_simple_wild(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_18__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_19__", !7, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"wildcard_list", !17, i64 0} !17 = !{!"TYPE_17__", !12, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_walk_wild_section_specs2_wild1.c' source_filename = "AnghaBench/freebsd/contrib/binutils/ld/extr_ldlang.c_walk_wild_section_specs2_wild1.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 @walk_wild_section_specs2_wild1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @walk_wild_section_specs2_wild1(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = getelementptr inbounds i8, ptr %6, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %10 = call ptr @find_section(ptr noundef %1, ptr noundef %7, ptr noundef nonnull %5) #3 %11 = load i32, ptr %5, align 4, !tbaa !12 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %4 %14 = call i32 @walk_wild_section_general(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #3 br label %35 15: ; preds = %4 %16 = load ptr, ptr %1, align 8, !tbaa !14 %17 = load ptr, ptr %16, align 8, !tbaa !11 %18 = icmp eq ptr %17, null br i1 %18, label %35, label %19 19: ; preds = %15, %32 %20 = phi ptr [ %33, %32 ], [ %17, %15 ] %21 = icmp eq ptr %20, %10 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @walk_wild_consider_section(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %20, ptr noundef %7, i32 noundef %2, ptr noundef %3) #3 br label %32 24: ; preds = %19 %25 = load ptr, ptr %1, align 8, !tbaa !14 %26 = call ptr @bfd_get_section_name(ptr noundef %25, ptr noundef nonnull %20) #3 %27 = load i32, ptr %9, align 4, !tbaa !16 %28 = call i32 @match_simple_wild(i32 noundef %27, ptr noundef %26) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %24 %31 = call i32 @walk_wild_consider_section(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %20, ptr noundef nonnull %9, i32 noundef %2, ptr noundef %3) #3 br label %32 32: ; preds = %24, %30, %22 %33 = load ptr, ptr %20, align 8, !tbaa !11 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %19, !llvm.loop !19 35: ; preds = %32, %15, %13 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @find_section(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @walk_wild_section_general(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @walk_wild_consider_section(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bfd_get_section_name(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @match_simple_wild(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_18__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_19__", !8, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"wildcard_list", !18, i64 0} !18 = !{!"TYPE_17__", !13, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_binutils_ld_extr_ldlang.c_walk_wild_section_specs2_wild1
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_name-lookup.c_add_function.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_name-lookup.c_add_function.c" target datalayout = "e-m:e-p270:32:32-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.arg_lookup = type { i64, i64 } @.str = private unnamed_addr constant [24 x i8] c"%q+D is not a function,\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c" conflict with %q+D\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c" in call to %qD\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_function], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @add_function(ptr nocapture noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %2 store i64 %1, ptr %0, align 8, !tbaa !5 br label %29 6: ; preds = %2 %7 = icmp eq i64 %3, %1 br i1 %7, label %29, label %8 8: ; preds = %6 %9 = tail call i64 @is_overloaded_fn(i64 noundef %3) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %8 %12 = tail call i64 @is_overloaded_fn(i64 noundef %1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i64, ptr %0, align 8, !tbaa !5 %16 = tail call i64 @build_overload(i64 noundef %1, i64 noundef %15) #2 store i64 %16, ptr %0, align 8, !tbaa !5 br label %29 17: ; preds = %11, %8 %18 = load i64, ptr %0, align 8, !tbaa !5 %19 = tail call i64 @OVL_CURRENT(i64 noundef %18) #2 %20 = tail call i64 @is_overloaded_fn(i64 noundef %19) #2 %21 = icmp eq i64 %20, 0 %22 = select i1 %21, i64 %19, i64 %1 %23 = select i1 %21, i64 %1, i64 %19 %24 = tail call i32 @error(ptr noundef nonnull @.str, i64 noundef %22) #2 %25 = tail call i32 @error(ptr noundef nonnull @.str.1, i64 noundef %23) #2 %26 = getelementptr inbounds %struct.arg_lookup, ptr %0, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !10 %28 = tail call i32 @error(ptr noundef nonnull @.str.2, i64 noundef %27) #2 br label %29 29: ; preds = %5, %6, %14, %17 %30 = phi i32 [ 1, %17 ], [ 0, %14 ], [ 0, %6 ], [ 0, %5 ] ret i32 %30 } declare i64 @is_overloaded_fn(i64 noundef) local_unnamed_addr #1 declare i64 @build_overload(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @OVL_CURRENT(i64 noundef) local_unnamed_addr #1 declare i32 @error(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"arg_lookup", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_name-lookup.c_add_function.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_name-lookup.c_add_function.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [24 x i8] c"%q+D is not a function,\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c" conflict with %q+D\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c" in call to %qD\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @add_function], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @add_function(ptr nocapture noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %2 store i64 %1, ptr %0, align 8, !tbaa !6 br label %29 6: ; preds = %2 %7 = icmp eq i64 %3, %1 br i1 %7, label %29, label %8 8: ; preds = %6 %9 = tail call i64 @is_overloaded_fn(i64 noundef %3) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %8 %12 = tail call i64 @is_overloaded_fn(i64 noundef %1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i64, ptr %0, align 8, !tbaa !6 %16 = tail call i64 @build_overload(i64 noundef %1, i64 noundef %15) #2 store i64 %16, ptr %0, align 8, !tbaa !6 br label %29 17: ; preds = %11, %8 %18 = load i64, ptr %0, align 8, !tbaa !6 %19 = tail call i64 @OVL_CURRENT(i64 noundef %18) #2 %20 = tail call i64 @is_overloaded_fn(i64 noundef %19) #2 %21 = icmp eq i64 %20, 0 %22 = select i1 %21, i64 %19, i64 %1 %23 = select i1 %21, i64 %1, i64 %19 %24 = tail call i32 @error(ptr noundef nonnull @.str, i64 noundef %22) #2 %25 = tail call i32 @error(ptr noundef nonnull @.str.1, i64 noundef %23) #2 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !11 %28 = tail call i32 @error(ptr noundef nonnull @.str.2, i64 noundef %27) #2 br label %29 29: ; preds = %5, %6, %14, %17 %30 = phi i32 [ 1, %17 ], [ 0, %14 ], [ 0, %6 ], [ 0, %5 ] ret i32 %30 } declare i64 @is_overloaded_fn(i64 noundef) local_unnamed_addr #1 declare i64 @build_overload(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @OVL_CURRENT(i64 noundef) local_unnamed_addr #1 declare i32 @error(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"arg_lookup", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8}
freebsd_contrib_gcc_cp_extr_name-lookup.c_add_function
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_bfdio.c_bfd_flush.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_bfdio.c_bfd_flush.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, ptr } @BFD_IN_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @bfd_flush(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @BFD_IN_MEMORY, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %13 6: ; preds = %1 %7 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %6 %11 = load ptr, ptr %8, align 8, !tbaa !13 %12 = tail call i32 %11(ptr noundef nonnull %0) #1 br label %13 13: ; preds = %6, %1, %10 %14 = phi i32 [ %12, %10 ], [ 0, %1 ], [ 0, %6 ] ret i32 %14 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_5__", !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_bfdio.c_bfd_flush.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_bfdio.c_bfd_flush.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BFD_IN_MEMORY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @bfd_flush(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @BFD_IN_MEMORY, align 4, !tbaa !12 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %13 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %6 %11 = load ptr, ptr %8, align 8, !tbaa !14 %12 = tail call i32 %11(ptr noundef nonnull %0) #1 br label %13 13: ; preds = %6, %1, %10 %14 = phi i32 [ %12, %10 ], [ 0, %1 ], [ 0, %6 ] ret i32 %14 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_5__", !11, i64 0}
freebsd_contrib_binutils_bfd_extr_bfdio.c_bfd_flush
; ModuleID = 'AnghaBench/linux/fs/extr_read_write.c_do_clone_file_range.c' source_filename = "AnghaBench/linux/fs/extr_read_write.c_do_clone_file_range.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REMAP_FILE_DEDUP = dso_local local_unnamed_addr global i32 0, align 4 @EXDEV = dso_local local_unnamed_addr global i64 0, align 8 @EOPNOTSUPP = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @do_clone_file_range(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = load i32, ptr @REMAP_FILE_DEDUP, align 4, !tbaa !5 %8 = and i32 %7, %5 %9 = tail call i32 @WARN_ON_ONCE(i32 noundef %8) #2 %10 = tail call ptr @file_inode(ptr noundef %0) #2 %11 = load i64, ptr %10, align 8, !tbaa !9 %12 = tail call ptr @file_inode(ptr noundef %2) #2 %13 = load i64, ptr %12, align 8, !tbaa !9 %14 = icmp eq i64 %11, %13 br i1 %14, label %18, label %15 15: ; preds = %6 %16 = load i64, ptr @EXDEV, align 8, !tbaa !12 %17 = sub nsw i64 0, %16 br label %42 18: ; preds = %6 %19 = tail call i64 @generic_file_rw_checks(ptr noundef %0, ptr noundef %2) #2 %20 = icmp slt i64 %19, 0 br i1 %20, label %42, label %21 21: ; preds = %18 %22 = load ptr, ptr %0, align 8, !tbaa !13 %23 = load ptr, ptr %22, align 8, !tbaa !16 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i64, ptr @EOPNOTSUPP, align 8, !tbaa !12 %27 = sub nsw i64 0, %26 br label %42 28: ; preds = %21 %29 = tail call i64 @remap_verify_area(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %4, i32 noundef 0) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %42 31: ; preds = %28 %32 = tail call i64 @remap_verify_area(ptr noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef 1) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %42 34: ; preds = %31 %35 = load ptr, ptr %0, align 8, !tbaa !13 %36 = load ptr, ptr %35, align 8, !tbaa !16 %37 = tail call i64 %36(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5) #2 %38 = icmp slt i64 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %34 %40 = tail call i32 @fsnotify_access(ptr noundef nonnull %0) #2 %41 = tail call i32 @fsnotify_modify(ptr noundef %2) #2 br label %42 42: ; preds = %34, %31, %28, %18, %39, %25, %15 %43 = phi i64 [ %17, %15 ], [ %37, %39 ], [ %27, %25 ], [ %19, %18 ], [ %29, %28 ], [ %32, %31 ], [ %37, %34 ] ret i64 %43 } declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare ptr @file_inode(ptr noundef) local_unnamed_addr #1 declare i64 @generic_file_rw_checks(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @remap_verify_area(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fsnotify_access(ptr noundef) local_unnamed_addr #1 declare i32 @fsnotify_modify(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_4__", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"file", !15, i64 0} !15 = !{!"any pointer", !7, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"TYPE_3__", !15, i64 0}
; ModuleID = 'AnghaBench/linux/fs/extr_read_write.c_do_clone_file_range.c' source_filename = "AnghaBench/linux/fs/extr_read_write.c_do_clone_file_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REMAP_FILE_DEDUP = common local_unnamed_addr global i32 0, align 4 @EXDEV = common local_unnamed_addr global i64 0, align 8 @EOPNOTSUPP = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @do_clone_file_range(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = load i32, ptr @REMAP_FILE_DEDUP, align 4, !tbaa !6 %8 = and i32 %7, %5 %9 = tail call i32 @WARN_ON_ONCE(i32 noundef %8) #2 %10 = tail call ptr @file_inode(ptr noundef %0) #2 %11 = load i64, ptr %10, align 8, !tbaa !10 %12 = tail call ptr @file_inode(ptr noundef %2) #2 %13 = load i64, ptr %12, align 8, !tbaa !10 %14 = icmp eq i64 %11, %13 br i1 %14, label %18, label %15 15: ; preds = %6 %16 = load i64, ptr @EXDEV, align 8, !tbaa !13 %17 = sub nsw i64 0, %16 br label %42 18: ; preds = %6 %19 = tail call i64 @generic_file_rw_checks(ptr noundef %0, ptr noundef %2) #2 %20 = icmp slt i64 %19, 0 br i1 %20, label %42, label %21 21: ; preds = %18 %22 = load ptr, ptr %0, align 8, !tbaa !14 %23 = load ptr, ptr %22, align 8, !tbaa !17 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i64, ptr @EOPNOTSUPP, align 8, !tbaa !13 %27 = sub nsw i64 0, %26 br label %42 28: ; preds = %21 %29 = tail call i64 @remap_verify_area(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %4, i32 noundef 0) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %42 31: ; preds = %28 %32 = tail call i64 @remap_verify_area(ptr noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef 1) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %42 34: ; preds = %31 %35 = load ptr, ptr %0, align 8, !tbaa !14 %36 = load ptr, ptr %35, align 8, !tbaa !17 %37 = tail call i64 %36(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i32 noundef %5) #2 %38 = icmp slt i64 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %34 %40 = tail call i32 @fsnotify_access(ptr noundef nonnull %0) #2 %41 = tail call i32 @fsnotify_modify(ptr noundef %2) #2 br label %42 42: ; preds = %34, %31, %28, %18, %39, %25, %15 %43 = phi i64 [ %17, %15 ], [ %37, %39 ], [ %27, %25 ], [ %19, %18 ], [ %29, %28 ], [ %32, %31 ], [ %37, %34 ] ret i64 %43 } declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare ptr @file_inode(ptr noundef) local_unnamed_addr #1 declare i64 @generic_file_rw_checks(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @remap_verify_area(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fsnotify_access(ptr noundef) local_unnamed_addr #1 declare i32 @fsnotify_modify(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_4__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"file", !16, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"TYPE_3__", !16, i64 0}
linux_fs_extr_read_write.c_do_clone_file_range
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_saa7115.c_saa711x_querystd.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_saa7115.c_saa711x_querystd.c" target datalayout = "e-m:e-p270:32:32-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_1F_STATUS_BYTE_2_VD_DEC = dso_local local_unnamed_addr global i32 0, align 4 @SAA7115 = dso_local local_unnamed_addr global i64 0, align 8 @R_1E_STATUS_BYTE_1_VD_DEC = dso_local local_unnamed_addr global i32 0, align 4 @debug = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Status byte 1 (0x1e)=0x%02x\0A\00", align 1 @V4L2_STD_NTSC = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL_N = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL_Nc = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL_M = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL_60 = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_STD_SECAM = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_STD_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Status byte 2 (0x1f)=0x%02x\0A\00", align 1 @V4L2_STD_525_60 = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_STD_625_50 = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"detected std mask = %08Lx\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @saa711x_querystd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @saa711x_querystd(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = tail call ptr @to_state(ptr noundef %0) #2 %4 = load i32, ptr @R_1F_STATUS_BYTE_2_VD_DEC, align 4, !tbaa !5 %5 = tail call i32 @saa711x_read(ptr noundef %0, i32 noundef %4) #2 %6 = load i64, ptr %3, align 8, !tbaa !9 %7 = load i64, ptr @SAA7115, align 8, !tbaa !12 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %39 9: ; preds = %2 %10 = load i32, ptr @R_1E_STATUS_BYTE_1_VD_DEC, align 4, !tbaa !5 %11 = tail call i32 @saa711x_read(ptr noundef %0, i32 noundef %10) #2 %12 = load i32, ptr @debug, align 4, !tbaa !5 %13 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %12, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %11) #2 %14 = and i32 %11, 3 switch i32 %14, label %35 [ i32 1, label %15 i32 2, label %19 i32 3, label %31 ] 15: ; preds = %9 %16 = load i32, ptr @V4L2_STD_NTSC, align 4, !tbaa !5 %17 = load i32, ptr %1, align 4, !tbaa !5 %18 = and i32 %17, %16 br label %37 19: ; preds = %9 %20 = load i32, ptr @V4L2_STD_PAL, align 4, !tbaa !5 %21 = load i32, ptr @V4L2_STD_PAL_N, align 4, !tbaa !5 %22 = or i32 %21, %20 %23 = load i32, ptr @V4L2_STD_PAL_Nc, align 4, !tbaa !5 %24 = or i32 %22, %23 %25 = load i32, ptr @V4L2_STD_PAL_M, align 4, !tbaa !5 %26 = or i32 %24, %25 %27 = load i32, ptr @V4L2_STD_PAL_60, align 4, !tbaa !5 %28 = or i32 %26, %27 %29 = load i32, ptr %1, align 4, !tbaa !5 %30 = and i32 %29, %28 br label %37 31: ; preds = %9 %32 = load i32, ptr @V4L2_STD_SECAM, align 4, !tbaa !5 %33 = load i32, ptr %1, align 4, !tbaa !5 %34 = and i32 %33, %32 br label %37 35: ; preds = %9 %36 = load i32, ptr @V4L2_STD_UNKNOWN, align 4, !tbaa !5 br label %37 37: ; preds = %35, %31, %19, %15 %38 = phi i32 [ %18, %15 ], [ %30, %19 ], [ %34, %31 ], [ %36, %35 ] store i32 %38, ptr %1, align 4, !tbaa !5 br label %39 39: ; preds = %37, %2 %40 = load i32, ptr @debug, align 4, !tbaa !5 %41 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %40, ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %5) #2 %42 = and i32 %5, 64 %43 = icmp eq i32 %42, 0 br i1 %43, label %46, label %44 44: ; preds = %39 %45 = load i32, ptr @V4L2_STD_UNKNOWN, align 4, !tbaa !5 br label %56 46: ; preds = %39 %47 = and i32 %5, 32 %48 = icmp eq i32 %47, 0 %49 = load i32, ptr %1, align 4, !tbaa !5 br i1 %48, label %53, label %50 50: ; preds = %46 %51 = load i32, ptr @V4L2_STD_525_60, align 4, !tbaa !5 %52 = and i32 %49, %51 br label %56 53: ; preds = %46 %54 = load i32, ptr @V4L2_STD_625_50, align 4, !tbaa !5 %55 = and i32 %49, %54 br label %56 56: ; preds = %50, %53, %44 %57 = phi i32 [ %52, %50 ], [ %55, %53 ], [ %45, %44 ] store i32 %57, ptr %1, align 4, !tbaa !5 %58 = load i32, ptr @debug, align 4, !tbaa !5 %59 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %58, ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %57) #2 ret i32 0 } declare ptr @to_state(ptr noundef) local_unnamed_addr #1 declare i32 @saa711x_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_dbg(i32 noundef, i32 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"saa711x_state", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_saa7115.c_saa711x_querystd.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_saa7115.c_saa711x_querystd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R_1F_STATUS_BYTE_2_VD_DEC = common local_unnamed_addr global i32 0, align 4 @SAA7115 = common local_unnamed_addr global i64 0, align 8 @R_1E_STATUS_BYTE_1_VD_DEC = common local_unnamed_addr global i32 0, align 4 @debug = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Status byte 1 (0x1e)=0x%02x\0A\00", align 1 @V4L2_STD_NTSC = common local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL = common local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL_N = common local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL_Nc = common local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL_M = common local_unnamed_addr global i32 0, align 4 @V4L2_STD_PAL_60 = common local_unnamed_addr global i32 0, align 4 @V4L2_STD_SECAM = common local_unnamed_addr global i32 0, align 4 @V4L2_STD_UNKNOWN = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Status byte 2 (0x1f)=0x%02x\0A\00", align 1 @V4L2_STD_525_60 = common local_unnamed_addr global i32 0, align 4 @V4L2_STD_625_50 = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"detected std mask = %08Lx\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @saa711x_querystd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @saa711x_querystd(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = tail call ptr @to_state(ptr noundef %0) #2 %4 = load i32, ptr @R_1F_STATUS_BYTE_2_VD_DEC, align 4, !tbaa !6 %5 = tail call i32 @saa711x_read(ptr noundef %0, i32 noundef %4) #2 %6 = load i64, ptr %3, align 8, !tbaa !10 %7 = load i64, ptr @SAA7115, align 8, !tbaa !13 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %40 9: ; preds = %2 %10 = load i32, ptr @R_1E_STATUS_BYTE_1_VD_DEC, align 4, !tbaa !6 %11 = tail call i32 @saa711x_read(ptr noundef %0, i32 noundef %10) #2 %12 = load i32, ptr @debug, align 4, !tbaa !6 %13 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %12, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %11) #2 %14 = and i32 %11, 3 switch i32 %14, label %35 [ i32 1, label %15 i32 2, label %19 i32 3, label %31 i32 0, label %36 ] 15: ; preds = %9 %16 = load i32, ptr @V4L2_STD_NTSC, align 4, !tbaa !6 %17 = load i32, ptr %1, align 4, !tbaa !6 %18 = and i32 %17, %16 br label %38 19: ; preds = %9 %20 = load i32, ptr @V4L2_STD_PAL, align 4, !tbaa !6 %21 = load i32, ptr @V4L2_STD_PAL_N, align 4, !tbaa !6 %22 = or i32 %21, %20 %23 = load i32, ptr @V4L2_STD_PAL_Nc, align 4, !tbaa !6 %24 = or i32 %22, %23 %25 = load i32, ptr @V4L2_STD_PAL_M, align 4, !tbaa !6 %26 = or i32 %24, %25 %27 = load i32, ptr @V4L2_STD_PAL_60, align 4, !tbaa !6 %28 = or i32 %26, %27 %29 = load i32, ptr %1, align 4, !tbaa !6 %30 = and i32 %29, %28 br label %38 31: ; preds = %9 %32 = load i32, ptr @V4L2_STD_SECAM, align 4, !tbaa !6 %33 = load i32, ptr %1, align 4, !tbaa !6 %34 = and i32 %33, %32 br label %38 35: ; preds = %9 unreachable 36: ; preds = %9 %37 = load i32, ptr @V4L2_STD_UNKNOWN, align 4, !tbaa !6 br label %38 38: ; preds = %36, %31, %19, %15 %39 = phi i32 [ %18, %15 ], [ %30, %19 ], [ %34, %31 ], [ %37, %36 ] store i32 %39, ptr %1, align 4, !tbaa !6 br label %40 40: ; preds = %38, %2 %41 = load i32, ptr @debug, align 4, !tbaa !6 %42 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %41, ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %5) #2 %43 = and i32 %5, 64 %44 = icmp eq i32 %43, 0 br i1 %44, label %47, label %45 45: ; preds = %40 %46 = load i32, ptr @V4L2_STD_UNKNOWN, align 4, !tbaa !6 br label %57 47: ; preds = %40 %48 = and i32 %5, 32 %49 = icmp eq i32 %48, 0 %50 = load i32, ptr %1, align 4, !tbaa !6 br i1 %49, label %54, label %51 51: ; preds = %47 %52 = load i32, ptr @V4L2_STD_525_60, align 4, !tbaa !6 %53 = and i32 %50, %52 br label %57 54: ; preds = %47 %55 = load i32, ptr @V4L2_STD_625_50, align 4, !tbaa !6 %56 = and i32 %50, %55 br label %57 57: ; preds = %51, %54, %45 %58 = phi i32 [ %53, %51 ], [ %56, %54 ], [ %46, %45 ] store i32 %58, ptr %1, align 4, !tbaa !6 %59 = load i32, ptr @debug, align 4, !tbaa !6 %60 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %59, ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %58) #2 ret i32 0 } declare ptr @to_state(ptr noundef) local_unnamed_addr #1 declare i32 @saa711x_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_dbg(i32 noundef, i32 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"saa711x_state", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0}
linux_drivers_media_i2c_extr_saa7115.c_saa711x_querystd
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeAgg.c_select_current_set.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeAgg.c_select_current_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, ptr, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @select_current_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @select_current_set(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %7, label %5 5: ; preds = %3 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 br label %12 7: ; preds = %3 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = sext i32 %1 to i64 %11 = getelementptr inbounds i32, ptr %9, i64 %10 br label %12 12: ; preds = %7, %5 %13 = phi ptr [ %11, %7 ], [ %6, %5 ] %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store i32 %14, ptr %15, align 8 store i32 %1, ptr %0, align 8, !tbaa !12 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, !10, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20} !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/postgres/src/backend/executor/extr_nodeAgg.c_select_current_set.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeAgg.c_select_current_set.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 @select_current_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @select_current_set(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %7, label %5 5: ; preds = %3 %6 = getelementptr inbounds i8, ptr %0, i64 20 br label %12 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = sext i32 %1 to i64 %11 = getelementptr inbounds i32, ptr %9, i64 %10 br label %12 12: ; preds = %7, %5 %13 = phi ptr [ %11, %7 ], [ %6, %5 ] %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %14, ptr %15, align 8 store i32 %1, ptr %0, align 8, !tbaa !13 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, !11, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20} !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}
postgres_src_backend_executor_extr_nodeAgg.c_select_current_set
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_wl3501_cs.c_wl3501_interrupt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_wl3501_cs.c_wl3501_interrupt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wl3501_interrupt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wl3501_interrupt(i32 %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = tail call i32 @spin_lock(ptr noundef %3) #2 %5 = tail call i32 @wl3501_ack_interrupt(ptr noundef %3) #2 %6 = tail call i32 @wl3501_block_interrupt(ptr noundef %3) #2 %7 = tail call i32 @wl3501_rx_interrupt(ptr noundef %1) #2 %8 = tail call i32 @wl3501_unblock_interrupt(ptr noundef %3) #2 %9 = tail call i32 @spin_unlock(ptr noundef %3) #2 %10 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 ret i32 %10 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @wl3501_ack_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @wl3501_block_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @wl3501_rx_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @wl3501_unblock_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_wl3501_cs.c_wl3501_interrupt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_wl3501_cs.c_wl3501_interrupt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wl3501_interrupt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wl3501_interrupt(i32 %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = tail call i32 @spin_lock(ptr noundef %3) #2 %5 = tail call i32 @wl3501_ack_interrupt(ptr noundef %3) #2 %6 = tail call i32 @wl3501_block_interrupt(ptr noundef %3) #2 %7 = tail call i32 @wl3501_rx_interrupt(ptr noundef %1) #2 %8 = tail call i32 @wl3501_unblock_interrupt(ptr noundef %3) #2 %9 = tail call i32 @spin_unlock(ptr noundef %3) #2 %10 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 ret i32 %10 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @wl3501_ack_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @wl3501_block_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @wl3501_rx_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @wl3501_unblock_interrupt(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_wireless_extr_wl3501_cs.c_wl3501_interrupt
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vp3dsp.c_vp3_idct_put_c.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vp3dsp.c_vp3_idct_put_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 @vp3_idct_put_c], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vp3_idct_put_c(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @idct(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef 1) #2 %5 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 256) #2 ret void } declare i32 @idct(ptr noundef, i32 noundef, ptr noundef, i32 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)"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vp3dsp.c_vp3_idct_put_c.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vp3dsp.c_vp3_idct_put_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 @vp3_idct_put_c], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vp3_idct_put_c(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @idct(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef 1) #2 %5 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 256) #2 ret void } declare i32 @idct(ptr noundef, i32 noundef, ptr noundef, i32 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)"}
FFmpeg_libavcodec_extr_vp3dsp.c_vp3_idct_put_c
; ModuleID = 'AnghaBench/zfs/module/os/linux/spl/extr_spl-kmem-cache.c_kv_free.c' source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-kmem-cache.c_kv_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @current = dso_local local_unnamed_addr global ptr null, align 8 @PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @KMC_KMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @kv_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @kv_free(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %5 = tail call i32 @IS_P2ALIGNED(ptr noundef %1, i32 noundef %4) #2 %6 = tail call i32 @ASSERT(i32 noundef %5) #2 %7 = load ptr, ptr @current, align 8, !tbaa !9 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = icmp eq ptr %8, null br i1 %9, label %15, label %10 10: ; preds = %3 %11 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !5 %12 = ashr i32 %2, %11 %13 = load i32, ptr %8, align 4, !tbaa !13 %14 = add nsw i32 %13, %12 store i32 %14, ptr %8, align 4, !tbaa !13 br label %15 15: ; preds = %10, %3 %16 = load i32, ptr %0, align 4, !tbaa !15 %17 = load i32, ptr @KMC_KMEM, align 4, !tbaa !5 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %26, label %20 20: ; preds = %15 %21 = tail call i32 @ISP2(i32 noundef %2) #2 %22 = tail call i32 @ASSERT(i32 noundef %21) #2 %23 = ptrtoint ptr %1 to i64 %24 = tail call i32 @get_order(i32 noundef %2) #2 %25 = tail call i32 @free_pages(i64 noundef %23, i32 noundef %24) #2 br label %28 26: ; preds = %15 %27 = tail call i32 @spl_kmem_free_impl(ptr noundef %1, i32 noundef %2) #2 br label %28 28: ; preds = %26, %20 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @IS_P2ALIGNED(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ISP2(i32 noundef) local_unnamed_addr #1 declare i32 @free_pages(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_order(i32 noundef) local_unnamed_addr #1 declare i32 @spl_kmem_free_impl(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_7__", !10, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_5__", !6, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_6__", !6, i64 0}
; ModuleID = 'AnghaBench/zfs/module/os/linux/spl/extr_spl-kmem-cache.c_kv_free.c' source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-kmem-cache.c_kv_free.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 i32 0, align 4 @current = common local_unnamed_addr global ptr null, align 8 @PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4 @KMC_KMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @kv_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @kv_free(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %5 = tail call i32 @IS_P2ALIGNED(ptr noundef %1, i32 noundef %4) #2 %6 = tail call i32 @ASSERT(i32 noundef %5) #2 %7 = load ptr, ptr @current, align 8, !tbaa !10 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = icmp eq ptr %8, null br i1 %9, label %15, label %10 10: ; preds = %3 %11 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !6 %12 = ashr i32 %2, %11 %13 = load i32, ptr %8, align 4, !tbaa !14 %14 = add nsw i32 %13, %12 store i32 %14, ptr %8, align 4, !tbaa !14 br label %15 15: ; preds = %10, %3 %16 = load i32, ptr %0, align 4, !tbaa !16 %17 = load i32, ptr @KMC_KMEM, align 4, !tbaa !6 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %26, label %20 20: ; preds = %15 %21 = tail call i32 @ISP2(i32 noundef %2) #2 %22 = tail call i32 @ASSERT(i32 noundef %21) #2 %23 = ptrtoint ptr %1 to i64 %24 = tail call i32 @get_order(i32 noundef %2) #2 %25 = tail call i32 @free_pages(i64 noundef %23, i32 noundef %24) #2 br label %28 26: ; preds = %15 %27 = tail call i32 @spl_kmem_free_impl(ptr noundef %1, i32 noundef %2) #2 br label %28 28: ; preds = %26, %20 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @IS_P2ALIGNED(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ISP2(i32 noundef) local_unnamed_addr #1 declare i32 @free_pages(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_order(i32 noundef) local_unnamed_addr #1 declare i32 @spl_kmem_free_impl(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_7__", !11, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_5__", !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_6__", !7, i64 0}
zfs_module_os_linux_spl_extr_spl-kmem-cache.c_kv_free
; ModuleID = 'AnghaBench/mjolnir/Mjolnir/lua/extr_lcode.c_luaK_stringK.c' source_filename = "AnghaBench/mjolnir/Mjolnir/lua/extr_lcode.c_luaK_stringK.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @luaK_stringK(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = call i32 @setsvalue(i32 noundef %5, ptr noundef nonnull %3, ptr noundef %1) #3 %7 = call i32 @addk(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @setsvalue(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @addk(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !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/mjolnir/Mjolnir/lua/extr_lcode.c_luaK_stringK.c' source_filename = "AnghaBench/mjolnir/Mjolnir/lua/extr_lcode.c_luaK_stringK.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 @luaK_stringK(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = call i32 @setsvalue(i32 noundef %5, ptr noundef nonnull %3, ptr noundef %1) #3 %7 = call i32 @addk(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @setsvalue(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @addk(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !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}
mjolnir_Mjolnir_lua_extr_lcode.c_luaK_stringK
; ModuleID = 'AnghaBench/linux/tools/usb/ffs-aio-example/multibuff/host_app/extr_test.c_test_init.c' source_filename = "AnghaBench/linux/tools/usb/ffs-aio-example/multibuff/host_app/extr_test.c_test_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.libusb_device_descriptor = type { i64, i64 } %struct.test_state = type { i32, ptr, ptr, ptr } @.str = private unnamed_addr constant [24 x i8] c"cannot init libusb: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"unable to get device descriptor: %s\0A\00", align 1 @VENDOR = dso_local local_unnamed_addr global i64 0, align 8 @PRODUCT = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [24 x i8] c"cannot open device: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"unable to detach kernel driver: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"cannot claim interface: %s\0A\00", align 1 @str.6 = private unnamed_addr constant [17 x i8] c"no devices found\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @test_init(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.libusb_device_descriptor, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6 %4 = getelementptr inbounds %struct.test_state, ptr %0, i64 0, i32 3 %5 = getelementptr inbounds %struct.test_state, ptr %0, i64 0, i32 1 %6 = getelementptr inbounds %struct.test_state, ptr %0, i64 0, i32 2 store i32 0, ptr %0, align 8, !tbaa !5 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false) %7 = tail call i32 @libusb_init(ptr noundef nonnull %5) #6 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %1 %10 = tail call ptr @libusb_error_name(i32 noundef %7) #6 %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %10) br label %88 12: ; preds = %1 %13 = load ptr, ptr %5, align 8, !tbaa !11 %14 = call i32 @libusb_get_device_list(ptr noundef %13, ptr noundef nonnull %2) #6 %15 = icmp slt i32 %14, 1 br i1 %15, label %19, label %16 16: ; preds = %12 %17 = getelementptr inbounds %struct.libusb_device_descriptor, ptr %3, i64 0, i32 1 %18 = zext nneg i32 %14 to i64 br label %21 19: ; preds = %12 %20 = call i32 @puts(ptr nonnull dereferenceable(1) @str.6) br label %85 21: ; preds = %16, %40 %22 = phi i64 [ 0, %16 ], [ %41, %40 ] %23 = load ptr, ptr %2, align 8, !tbaa !12 %24 = getelementptr inbounds ptr, ptr %23, i64 %22 %25 = load ptr, ptr %24, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6 %26 = call i32 @libusb_get_device_descriptor(ptr noundef %25, ptr noundef nonnull %3) #6 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %37 28: ; preds = %21 %29 = load i64, ptr %3, align 8, !tbaa !13 %30 = load i64, ptr @VENDOR, align 8, !tbaa !16 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %40 32: ; preds = %28 %33 = load i64, ptr %17, align 8, !tbaa !17 %34 = load i64, ptr @PRODUCT, align 8, !tbaa !16 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %40 36: ; preds = %32 store ptr %25, ptr %4, align 8, !tbaa !18 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6 br label %45 37: ; preds = %21 %38 = call ptr @libusb_error_name(i32 noundef %26) #6 %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %38) call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6 br label %82 40: ; preds = %32, %28 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6 %41 = add nuw nsw i64 %22, 1 %42 = icmp eq i64 %41, %18 br i1 %42, label %43, label %21, !llvm.loop !19 43: ; preds = %40 %44 = load ptr, ptr %4, align 8, !tbaa !18 br label %45 45: ; preds = %43, %36 %46 = phi ptr [ %44, %43 ], [ %25, %36 ] %47 = icmp eq ptr %46, null br i1 %47, label %48, label %50 48: ; preds = %45 %49 = call i32 @puts(ptr nonnull dereferenceable(1) @str.6) br label %82 50: ; preds = %45 %51 = call i32 @libusb_open(ptr noundef nonnull %46, ptr noundef nonnull %6) #6 %52 = icmp eq i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %50 %54 = call ptr @libusb_error_name(i32 noundef %51) #6 %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %54) br label %82 56: ; preds = %50 %57 = load ptr, ptr %6, align 8, !tbaa !21 %58 = call i32 @libusb_claim_interface(ptr noundef %57, i32 noundef 0) #6 %59 = icmp eq i32 %58, 0 br i1 %59, label %88, label %60 60: ; preds = %56 %61 = load ptr, ptr %6, align 8, !tbaa !21 %62 = call i32 @libusb_detach_kernel_driver(ptr noundef %61, i32 noundef 0) #6 %63 = icmp eq i32 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %60 %65 = call ptr @libusb_error_name(i32 noundef %62) #6 %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef %65) br label %79 67: ; preds = %60 store i32 1, ptr %0, align 8, !tbaa !5 %68 = load ptr, ptr %6, align 8, !tbaa !21 %69 = call i32 @libusb_claim_interface(ptr noundef %68, i32 noundef 0) #6 %70 = icmp eq i32 %69, 0 br i1 %70, label %88, label %71 71: ; preds = %67 %72 = call ptr @libusb_error_name(i32 noundef %69) #6 %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %72) %74 = load i32, ptr %0, align 8, !tbaa !5 %75 = icmp eq i32 %74, 1 br i1 %75, label %76, label %79 76: ; preds = %71 %77 = load ptr, ptr %6, align 8, !tbaa !21 %78 = call i32 @libusb_attach_kernel_driver(ptr noundef %77, i32 noundef 0) #6 br label %79 79: ; preds = %71, %76, %64 %80 = load ptr, ptr %6, align 8, !tbaa !21 %81 = call i32 @libusb_close(ptr noundef %80) #6 br label %82 82: ; preds = %37, %79, %53, %48 %83 = load ptr, ptr %2, align 8, !tbaa !12 %84 = call i32 @libusb_free_device_list(ptr noundef %83, i32 noundef 1) #6 br label %85 85: ; preds = %82, %19 %86 = load ptr, ptr %5, align 8, !tbaa !11 %87 = call i32 @libusb_exit(ptr noundef %86) #6 br label %88 88: ; preds = %56, %67, %85, %9 %89 = phi i32 [ 1, %9 ], [ 1, %85 ], [ 0, %67 ], [ 0, %56 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6 ret i32 %89 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @libusb_init(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3 declare ptr @libusb_error_name(i32 noundef) local_unnamed_addr #2 declare i32 @libusb_get_device_list(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @libusb_get_device_descriptor(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @libusb_open(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @libusb_claim_interface(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @libusb_detach_kernel_driver(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @libusb_attach_kernel_driver(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @libusb_close(ptr noundef) local_unnamed_addr #2 declare i32 @libusb_free_device_list(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @libusb_exit(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nofree nounwind } attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"test_state", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!10, !10, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"libusb_device_descriptor", !15, i64 0, !15, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !15, i64 8} !18 = !{!6, !10, i64 24} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/linux/tools/usb/ffs-aio-example/multibuff/host_app/extr_test.c_test_init.c' source_filename = "AnghaBench/linux/tools/usb/ffs-aio-example/multibuff/host_app/extr_test.c_test_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.libusb_device_descriptor = type { i64, i64 } @.str = private unnamed_addr constant [24 x i8] c"cannot init libusb: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"unable to get device descriptor: %s\0A\00", align 1 @VENDOR = common local_unnamed_addr global i64 0, align 8 @PRODUCT = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [24 x i8] c"cannot open device: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"unable to detach kernel driver: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"cannot claim interface: %s\0A\00", align 1 @str.6 = private unnamed_addr constant [17 x i8] c"no devices found\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @test_init(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.libusb_device_descriptor, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6 %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = getelementptr inbounds i8, ptr %0, i64 16 store i32 0, ptr %0, align 8, !tbaa !6 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false) %7 = tail call i32 @libusb_init(ptr noundef nonnull %5) #6 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %1 %10 = tail call ptr @libusb_error_name(i32 noundef %7) #6 %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %10) br label %88 12: ; preds = %1 %13 = load ptr, ptr %5, align 8, !tbaa !12 %14 = call i32 @libusb_get_device_list(ptr noundef %13, ptr noundef nonnull %2) #6 %15 = icmp slt i32 %14, 1 br i1 %15, label %19, label %16 16: ; preds = %12 %17 = getelementptr inbounds i8, ptr %3, i64 8 %18 = zext nneg i32 %14 to i64 br label %21 19: ; preds = %12 %20 = call i32 @puts(ptr nonnull dereferenceable(1) @str.6) br label %85 21: ; preds = %16, %40 %22 = phi i64 [ 0, %16 ], [ %41, %40 ] %23 = load ptr, ptr %2, align 8, !tbaa !13 %24 = getelementptr inbounds ptr, ptr %23, i64 %22 %25 = load ptr, ptr %24, align 8, !tbaa !13 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6 %26 = call i32 @libusb_get_device_descriptor(ptr noundef %25, ptr noundef nonnull %3) #6 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %37 28: ; preds = %21 %29 = load i64, ptr %3, align 8, !tbaa !14 %30 = load i64, ptr @VENDOR, align 8, !tbaa !17 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %40 32: ; preds = %28 %33 = load i64, ptr %17, align 8, !tbaa !18 %34 = load i64, ptr @PRODUCT, align 8, !tbaa !17 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %40 36: ; preds = %32 store ptr %25, ptr %4, align 8, !tbaa !19 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6 br label %45 37: ; preds = %21 %38 = call ptr @libusb_error_name(i32 noundef %26) #6 %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %38) call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6 br label %82 40: ; preds = %32, %28 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6 %41 = add nuw nsw i64 %22, 1 %42 = icmp eq i64 %41, %18 br i1 %42, label %43, label %21, !llvm.loop !20 43: ; preds = %40 %44 = load ptr, ptr %4, align 8, !tbaa !19 br label %45 45: ; preds = %43, %36 %46 = phi ptr [ %44, %43 ], [ %25, %36 ] %47 = icmp eq ptr %46, null br i1 %47, label %48, label %50 48: ; preds = %45 %49 = call i32 @puts(ptr nonnull dereferenceable(1) @str.6) br label %82 50: ; preds = %45 %51 = call i32 @libusb_open(ptr noundef nonnull %46, ptr noundef nonnull %6) #6 %52 = icmp eq i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %50 %54 = call ptr @libusb_error_name(i32 noundef %51) #6 %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %54) br label %82 56: ; preds = %50 %57 = load ptr, ptr %6, align 8, !tbaa !22 %58 = call i32 @libusb_claim_interface(ptr noundef %57, i32 noundef 0) #6 %59 = icmp eq i32 %58, 0 br i1 %59, label %88, label %60 60: ; preds = %56 %61 = load ptr, ptr %6, align 8, !tbaa !22 %62 = call i32 @libusb_detach_kernel_driver(ptr noundef %61, i32 noundef 0) #6 %63 = icmp eq i32 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %60 %65 = call ptr @libusb_error_name(i32 noundef %62) #6 %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef %65) br label %79 67: ; preds = %60 store i32 1, ptr %0, align 8, !tbaa !6 %68 = load ptr, ptr %6, align 8, !tbaa !22 %69 = call i32 @libusb_claim_interface(ptr noundef %68, i32 noundef 0) #6 %70 = icmp eq i32 %69, 0 br i1 %70, label %88, label %71 71: ; preds = %67 %72 = call ptr @libusb_error_name(i32 noundef %69) #6 %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %72) %74 = load i32, ptr %0, align 8, !tbaa !6 %75 = icmp eq i32 %74, 1 br i1 %75, label %76, label %79 76: ; preds = %71 %77 = load ptr, ptr %6, align 8, !tbaa !22 %78 = call i32 @libusb_attach_kernel_driver(ptr noundef %77, i32 noundef 0) #6 br label %79 79: ; preds = %71, %76, %64 %80 = load ptr, ptr %6, align 8, !tbaa !22 %81 = call i32 @libusb_close(ptr noundef %80) #6 br label %82 82: ; preds = %37, %79, %53, %48 %83 = load ptr, ptr %2, align 8, !tbaa !13 %84 = call i32 @libusb_free_device_list(ptr noundef %83, i32 noundef 1) #6 br label %85 85: ; preds = %82, %19 %86 = load ptr, ptr %5, align 8, !tbaa !12 %87 = call i32 @libusb_exit(ptr noundef %86) #6 br label %88 88: ; preds = %56, %67, %85, %9 %89 = phi i32 [ 1, %9 ], [ 1, %85 ], [ 0, %67 ], [ 0, %56 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6 ret i32 %89 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @libusb_init(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3 declare ptr @libusb_error_name(i32 noundef) local_unnamed_addr #2 declare i32 @libusb_get_device_list(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @libusb_get_device_descriptor(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @libusb_open(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @libusb_claim_interface(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @libusb_detach_kernel_driver(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @libusb_attach_kernel_driver(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @libusb_close(ptr noundef) local_unnamed_addr #2 declare i32 @libusb_free_device_list(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @libusb_exit(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nofree nounwind } attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"test_state", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"libusb_device_descriptor", !16, i64 0, !16, i64 8} !16 = !{!"long", !9, i64 0} !17 = !{!16, !16, i64 0} !18 = !{!15, !16, i64 8} !19 = !{!7, !11, i64 24} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!7, !11, i64 16}
linux_tools_usb_ffs-aio-example_multibuff_host_app_extr_test.c_test_init
; ModuleID = 'AnghaBench/linux/tools/power/acpi/os_specific/service_layers/extr_oslinuxtbl.c_osl_get_last_status.c' source_filename = "AnghaBench/linux/tools/power/acpi/os_specific/service_layers/extr_oslinuxtbl.c_osl_get_last_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @errno = dso_local local_unnamed_addr global i32 0, align 4 @AE_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @AE_NOT_FOUND = dso_local local_unnamed_addr global i32 0, align 4 @AE_NO_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @osl_get_last_status], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @osl_get_last_status(i32 noundef %0) #0 { %2 = load i32, ptr @errno, align 4, !tbaa !5 switch i32 %2, label %9 [ i32 131, label %3 i32 128, label %3 i32 130, label %5 i32 129, label %7 ] 3: ; preds = %1, %1 %4 = load i32, ptr @AE_ACCESS, align 4, !tbaa !5 br label %9 5: ; preds = %1 %6 = load i32, ptr @AE_NOT_FOUND, align 4, !tbaa !5 br label %9 7: ; preds = %1 %8 = load i32, ptr @AE_NO_MEMORY, align 4, !tbaa !5 br label %9 9: ; preds = %1, %7, %5, %3 %10 = phi i32 [ %8, %7 ], [ %6, %5 ], [ %4, %3 ], [ %0, %1 ] ret i32 %10 } 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/tools/power/acpi/os_specific/service_layers/extr_oslinuxtbl.c_osl_get_last_status.c' source_filename = "AnghaBench/linux/tools/power/acpi/os_specific/service_layers/extr_oslinuxtbl.c_osl_get_last_status.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 @AE_ACCESS = common local_unnamed_addr global i32 0, align 4 @AE_NOT_FOUND = common local_unnamed_addr global i32 0, align 4 @AE_NO_MEMORY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @osl_get_last_status], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @osl_get_last_status(i32 noundef %0) #0 { %2 = load i32, ptr @errno, align 4, !tbaa !6 switch i32 %2, label %9 [ i32 131, label %3 i32 128, label %3 i32 130, label %5 i32 129, label %7 ] 3: ; preds = %1, %1 %4 = load i32, ptr @AE_ACCESS, align 4, !tbaa !6 br label %9 5: ; preds = %1 %6 = load i32, ptr @AE_NOT_FOUND, align 4, !tbaa !6 br label %9 7: ; preds = %1 %8 = load i32, ptr @AE_NO_MEMORY, align 4, !tbaa !6 br label %9 9: ; preds = %1, %7, %5, %3 %10 = phi i32 [ %8, %7 ], [ %6, %5 ], [ %4, %3 ], [ %0, %1 ] ret i32 %10 } 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_tools_power_acpi_os_specific_service_layers_extr_oslinuxtbl.c_osl_get_last_status
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_ixj_init_tone.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_ixj_init_tone.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ixj_init_tone], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ixj_init_tone(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 %5 = select i1 %4, i32 32767, i32 %3 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = icmp eq i32 %7, 0 %9 = trunc i32 %7 to i16 %10 = select i1 %8, i16 32767, i16 %9 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = add i32 %12, -13 %14 = icmp ult i32 %13, 15 br i1 %14, label %15, label %38 15: ; preds = %2 %16 = trunc i32 %12 to i16 %17 = or disjoint i16 %16, 26624 %18 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %17, ptr noundef %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %39 20: ; preds = %15 %21 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 3 %22 = load i32, ptr %21, align 4, !tbaa !12 %23 = shl i32 %22, 4 %24 = add nsw i32 %23, 24576 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 4 %26 = load i32, ptr %25, align 4, !tbaa !13 %27 = add nsw i32 %24, %26 %28 = trunc i32 %27 to i16 %29 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %28, ptr noundef %0) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %39 31: ; preds = %20 %32 = trunc i32 %5 to i16 %33 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %32, ptr noundef %0) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %31 %36 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %10, ptr noundef %0) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %35, %2 br label %39 39: ; preds = %35, %31, %20, %15, %38 %40 = phi i32 [ %5, %38 ], [ -1, %15 ], [ -1, %20 ], [ -1, %31 ], [ -1, %35 ] ret i32 %40 } declare i64 @ixj_WriteDSPCommand(i16 noundef zeroext, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 12} !13 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_ixj_init_tone.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_ixj_init_tone.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 @ixj_init_tone], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ixj_init_tone(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 %5 = select i1 %4, i32 32767, i32 %3 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = icmp eq i32 %7, 0 %9 = trunc i32 %7 to i16 %10 = select i1 %8, i16 32767, i16 %9 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = add i32 %12, -13 %14 = icmp ult i32 %13, 15 br i1 %14, label %15, label %38 15: ; preds = %2 %16 = trunc nuw i32 %12 to i16 %17 = or disjoint i16 %16, 26624 %18 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %17, ptr noundef %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %39 20: ; preds = %15 %21 = getelementptr inbounds i8, ptr %1, i64 12 %22 = load i32, ptr %21, align 4, !tbaa !13 %23 = shl i32 %22, 4 %24 = add nsw i32 %23, 24576 %25 = getelementptr inbounds i8, ptr %1, i64 16 %26 = load i32, ptr %25, align 4, !tbaa !14 %27 = add nsw i32 %24, %26 %28 = trunc i32 %27 to i16 %29 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %28, ptr noundef %0) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %39 31: ; preds = %20 %32 = trunc i32 %5 to i16 %33 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %32, ptr noundef %0) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %31 %36 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %10, ptr noundef %0) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %35, %2 br label %39 39: ; preds = %35, %31, %20, %15, %38 %40 = phi i32 [ %5, %38 ], [ -1, %15 ], [ -1, %20 ], [ -1, %31 ], [ -1, %35 ] ret i32 %40 } declare i64 @ixj_WriteDSPCommand(i16 noundef zeroext, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 12} !14 = !{!7, !8, i64 16}
fastsocket_kernel_drivers_telephony_extr_ixj.c_ixj_init_tone
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000e_read_phy_reg_mdic.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000e_read_phy_reg_mdic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.e1000_hw = type { %struct.TYPE_2__, %struct.e1000_phy_info } %struct.TYPE_2__ = type { i64 } %struct.e1000_phy_info = type { i32 } @MAX_PHY_REG_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"PHY Address %d is out of range\0A\00", align 1 @E1000_ERR_PARAM = dso_local local_unnamed_addr global i32 0, align 4 @E1000_MDIC_REG_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @E1000_MDIC_PHY_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @E1000_MDIC_OP_READ = dso_local local_unnamed_addr global i32 0, align 4 @MDIC = dso_local local_unnamed_addr global i32 0, align 4 @E1000_GEN_POLL_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @E1000_MDIC_READY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"MDI Read did not complete\0A\00", align 1 @E1000_ERR_PHY = dso_local local_unnamed_addr global i32 0, align 4 @E1000_MDIC_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"MDI Error\0A\00", align 1 @E1000_MDIC_REG_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [51 x i8] c"MDI Read offset error - requested %d, returned %d\0A\00", align 1 @e1000_pch2lan = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @e1000e_read_phy_reg_mdic(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = load i32, ptr @MAX_PHY_REG_ADDRESS, align 4, !tbaa !5 %5 = icmp slt i32 %4, %1 br i1 %5, label %6, label %10 6: ; preds = %3 %7 = tail call i32 (ptr, ...) @e_dbg(ptr noundef nonnull @.str, i32 noundef %1) #2 %8 = load i32, ptr @E1000_ERR_PARAM, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %73 10: ; preds = %3 %11 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1 %12 = load i32, ptr @E1000_MDIC_REG_SHIFT, align 4, !tbaa !5 %13 = shl i32 %1, %12 %14 = load i32, ptr %11, align 4, !tbaa !9 %15 = load i32, ptr @E1000_MDIC_PHY_SHIFT, align 4, !tbaa !5 %16 = shl i32 %14, %15 %17 = or i32 %16, %13 %18 = load i32, ptr @E1000_MDIC_OP_READ, align 4, !tbaa !5 %19 = or i32 %17, %18 %20 = load i32, ptr @MDIC, align 4, !tbaa !5 %21 = tail call i32 @ew32(i32 noundef %20, i32 noundef %19) #2 %22 = load i32, ptr @E1000_GEN_POLL_TIMEOUT, align 4, !tbaa !5 %23 = icmp sgt i32 %22, 0 br i1 %23, label %31, label %24 24: ; preds = %10 %25 = load i32, ptr @E1000_MDIC_READY, align 4, !tbaa !5 br label %39 26: ; preds = %31 %27 = add nuw nsw i32 %32, 1 %28 = load i32, ptr @E1000_GEN_POLL_TIMEOUT, align 4, !tbaa !5 %29 = mul nsw i32 %28, 3 %30 = icmp slt i32 %27, %29 br i1 %30, label %31, label %39, !llvm.loop !11 31: ; preds = %10, %26 %32 = phi i32 [ %27, %26 ], [ 0, %10 ] %33 = tail call i32 @udelay(i32 noundef 50) #2 %34 = load i32, ptr @MDIC, align 4, !tbaa !5 %35 = tail call i32 @er32(i32 noundef %34) #2 %36 = load i32, ptr @E1000_MDIC_READY, align 4, !tbaa !5 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %26, label %39 39: ; preds = %26, %31, %24 %40 = phi i32 [ %25, %24 ], [ %36, %31 ], [ %36, %26 ] %41 = phi i32 [ %19, %24 ], [ %35, %31 ], [ %35, %26 ] %42 = and i32 %40, %41 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %39 %45 = tail call i32 (ptr, ...) @e_dbg(ptr noundef nonnull @.str.1) #2 %46 = load i32, ptr @E1000_ERR_PHY, align 4, !tbaa !5 %47 = sub nsw i32 0, %46 br label %73 48: ; preds = %39 %49 = load i32, ptr @E1000_MDIC_ERROR, align 4, !tbaa !5 %50 = and i32 %49, %41 %51 = icmp eq i32 %50, 0 br i1 %51, label %56, label %52 52: ; preds = %48 %53 = tail call i32 (ptr, ...) @e_dbg(ptr noundef nonnull @.str.2) #2 %54 = load i32, ptr @E1000_ERR_PHY, align 4, !tbaa !5 %55 = sub nsw i32 0, %54 br label %73 56: ; preds = %48 %57 = load i32, ptr @E1000_MDIC_REG_MASK, align 4, !tbaa !5 %58 = and i32 %57, %41 %59 = load i32, ptr @E1000_MDIC_REG_SHIFT, align 4, !tbaa !5 %60 = ashr i32 %58, %59 %61 = icmp eq i32 %60, %1 br i1 %61, label %66, label %62 62: ; preds = %56 %63 = tail call i32 (ptr, ...) @e_dbg(ptr noundef nonnull @.str.3, i32 noundef %1, i32 noundef %60) #2 %64 = load i32, ptr @E1000_ERR_PHY, align 4, !tbaa !5 %65 = sub nsw i32 0, %64 br label %73 66: ; preds = %56 %67 = sext i32 %41 to i64 store i64 %67, ptr %2, align 8, !tbaa !13 %68 = load i64, ptr %0, align 8, !tbaa !15 %69 = load i64, ptr @e1000_pch2lan, align 8, !tbaa !13 %70 = icmp eq i64 %68, %69 br i1 %70, label %71, label %73 71: ; preds = %66 %72 = tail call i32 @udelay(i32 noundef 100) #2 br label %73 73: ; preds = %66, %71, %62, %52, %44, %6 %74 = phi i32 [ %9, %6 ], [ %55, %52 ], [ %65, %62 ], [ %47, %44 ], [ 0, %71 ], [ 0, %66 ] ret i32 %74 } declare i32 @e_dbg(ptr noundef, ...) local_unnamed_addr #1 declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @er32(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 = !{!"e1000_phy_info", !6, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"e1000_hw", !17, i64 0, !10, i64 8} !17 = !{!"TYPE_2__", !14, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000e_read_phy_reg_mdic.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_phy.c_e1000e_read_phy_reg_mdic.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_PHY_REG_ADDRESS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"PHY Address %d is out of range\0A\00", align 1 @E1000_ERR_PARAM = common local_unnamed_addr global i32 0, align 4 @E1000_MDIC_REG_SHIFT = common local_unnamed_addr global i32 0, align 4 @E1000_MDIC_PHY_SHIFT = common local_unnamed_addr global i32 0, align 4 @E1000_MDIC_OP_READ = common local_unnamed_addr global i32 0, align 4 @MDIC = common local_unnamed_addr global i32 0, align 4 @E1000_GEN_POLL_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @E1000_MDIC_READY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"MDI Read did not complete\0A\00", align 1 @E1000_ERR_PHY = common local_unnamed_addr global i32 0, align 4 @E1000_MDIC_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"MDI Error\0A\00", align 1 @E1000_MDIC_REG_MASK = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [51 x i8] c"MDI Read offset error - requested %d, returned %d\0A\00", align 1 @e1000_pch2lan = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @e1000e_read_phy_reg_mdic(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = load i32, ptr @MAX_PHY_REG_ADDRESS, align 4, !tbaa !6 %5 = icmp slt i32 %4, %1 br i1 %5, label %6, label %10 6: ; preds = %3 %7 = tail call i32 (ptr, ...) @e_dbg(ptr noundef nonnull @.str, i32 noundef %1) #2 %8 = load i32, ptr @E1000_ERR_PARAM, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %73 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i32, ptr @E1000_MDIC_REG_SHIFT, align 4, !tbaa !6 %13 = shl i32 %1, %12 %14 = load i32, ptr %11, align 4, !tbaa !10 %15 = load i32, ptr @E1000_MDIC_PHY_SHIFT, align 4, !tbaa !6 %16 = shl i32 %14, %15 %17 = or i32 %16, %13 %18 = load i32, ptr @E1000_MDIC_OP_READ, align 4, !tbaa !6 %19 = or i32 %17, %18 %20 = load i32, ptr @MDIC, align 4, !tbaa !6 %21 = tail call i32 @ew32(i32 noundef %20, i32 noundef %19) #2 %22 = load i32, ptr @E1000_GEN_POLL_TIMEOUT, align 4, !tbaa !6 %23 = icmp sgt i32 %22, 0 br i1 %23, label %31, label %24 24: ; preds = %10 %25 = load i32, ptr @E1000_MDIC_READY, align 4, !tbaa !6 br label %39 26: ; preds = %31 %27 = add nuw nsw i32 %32, 1 %28 = load i32, ptr @E1000_GEN_POLL_TIMEOUT, align 4, !tbaa !6 %29 = mul nsw i32 %28, 3 %30 = icmp slt i32 %27, %29 br i1 %30, label %31, label %39, !llvm.loop !12 31: ; preds = %10, %26 %32 = phi i32 [ %27, %26 ], [ 0, %10 ] %33 = tail call i32 @udelay(i32 noundef 50) #2 %34 = load i32, ptr @MDIC, align 4, !tbaa !6 %35 = tail call i32 @er32(i32 noundef %34) #2 %36 = load i32, ptr @E1000_MDIC_READY, align 4, !tbaa !6 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %26, label %39 39: ; preds = %26, %31, %24 %40 = phi i32 [ %25, %24 ], [ %36, %31 ], [ %36, %26 ] %41 = phi i32 [ %19, %24 ], [ %35, %31 ], [ %35, %26 ] %42 = and i32 %40, %41 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %39 %45 = tail call i32 (ptr, ...) @e_dbg(ptr noundef nonnull @.str.1) #2 %46 = load i32, ptr @E1000_ERR_PHY, align 4, !tbaa !6 %47 = sub nsw i32 0, %46 br label %73 48: ; preds = %39 %49 = load i32, ptr @E1000_MDIC_ERROR, align 4, !tbaa !6 %50 = and i32 %49, %41 %51 = icmp eq i32 %50, 0 br i1 %51, label %56, label %52 52: ; preds = %48 %53 = tail call i32 (ptr, ...) @e_dbg(ptr noundef nonnull @.str.2) #2 %54 = load i32, ptr @E1000_ERR_PHY, align 4, !tbaa !6 %55 = sub nsw i32 0, %54 br label %73 56: ; preds = %48 %57 = load i32, ptr @E1000_MDIC_REG_MASK, align 4, !tbaa !6 %58 = and i32 %57, %41 %59 = load i32, ptr @E1000_MDIC_REG_SHIFT, align 4, !tbaa !6 %60 = ashr i32 %58, %59 %61 = icmp eq i32 %60, %1 br i1 %61, label %66, label %62 62: ; preds = %56 %63 = tail call i32 (ptr, ...) @e_dbg(ptr noundef nonnull @.str.3, i32 noundef %1, i32 noundef %60) #2 %64 = load i32, ptr @E1000_ERR_PHY, align 4, !tbaa !6 %65 = sub nsw i32 0, %64 br label %73 66: ; preds = %56 %67 = sext i32 %41 to i64 store i64 %67, ptr %2, align 8, !tbaa !14 %68 = load i64, ptr %0, align 8, !tbaa !16 %69 = load i64, ptr @e1000_pch2lan, align 8, !tbaa !14 %70 = icmp eq i64 %68, %69 br i1 %70, label %71, label %73 71: ; preds = %66 %72 = tail call i32 @udelay(i32 noundef 100) #2 br label %73 73: ; preds = %66, %71, %62, %52, %44, %6 %74 = phi i32 [ %9, %6 ], [ %55, %52 ], [ %65, %62 ], [ %47, %44 ], [ 0, %71 ], [ 0, %66 ] ret i32 %74 } declare i32 @e_dbg(ptr noundef, ...) local_unnamed_addr #1 declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @er32(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 = !{!"e1000_phy_info", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"e1000_hw", !18, i64 0, !11, i64 8} !18 = !{!"TYPE_2__", !15, i64 0}
linux_drivers_net_ethernet_intel_e1000e_extr_phy.c_e1000e_read_phy_reg_mdic
; ModuleID = 'AnghaBench/Atlas/lib/extr_lpeg.c_querycap.c' source_filename = "AnghaBench/Atlas/lib/extr_lpeg.c_querycap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @querycap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @querycap(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = tail call i32 @pushallcaptures(ptr noundef %0, i32 noundef 0) #2 %6 = icmp sgt i32 %5, 1 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load i32, ptr %0, align 8, !tbaa !13 %9 = add nsw i32 %5, -1 %10 = tail call i32 @lua_pop(i32 noundef %8, i32 noundef %9) #2 br label %11 11: ; preds = %7, %1 %12 = tail call i32 @updatecache(ptr noundef nonnull %0, i32 noundef %4) #2 %13 = load i32, ptr %0, align 8, !tbaa !13 %14 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = tail call i32 @subscache(i32 noundef %15) #2 %17 = tail call i32 @lua_gettable(i32 noundef %13, i32 noundef %16) #2 %18 = load i32, ptr %0, align 8, !tbaa !13 %19 = tail call i32 @lua_isnil(i32 noundef %18, i32 noundef -1) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %11 %22 = load i32, ptr %0, align 8, !tbaa !13 %23 = tail call i32 @lua_pop(i32 noundef %22, i32 noundef 1) #2 br label %24 24: ; preds = %11, %21 %25 = phi i32 [ 0, %21 ], [ 1, %11 ] ret i32 %25 } declare i32 @pushallcaptures(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pop(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @updatecache(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_gettable(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @subscache(i32 noundef) local_unnamed_addr #1 declare i32 @lua_isnil(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_6__", !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/Atlas/lib/extr_lpeg.c_querycap.c' source_filename = "AnghaBench/Atlas/lib/extr_lpeg.c_querycap.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 @querycap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @querycap(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = tail call i32 @pushallcaptures(ptr noundef %0, i32 noundef 0) #2 %6 = icmp sgt i32 %5, 1 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load i32, ptr %0, align 8, !tbaa !14 %9 = add nsw i32 %5, -1 %10 = tail call i32 @lua_pop(i32 noundef %8, i32 noundef %9) #2 br label %11 11: ; preds = %7, %1 %12 = tail call i32 @updatecache(ptr noundef nonnull %0, i32 noundef %4) #2 %13 = load i32, ptr %0, align 8, !tbaa !14 %14 = getelementptr inbounds i8, ptr %0, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = tail call i32 @subscache(i32 noundef %15) #2 %17 = tail call i32 @lua_gettable(i32 noundef %13, i32 noundef %16) #2 %18 = load i32, ptr %0, align 8, !tbaa !14 %19 = tail call i32 @lua_isnil(i32 noundef %18, i32 noundef -1) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %11 %22 = load i32, ptr %0, align 8, !tbaa !14 %23 = tail call i32 @lua_pop(i32 noundef %22, i32 noundef 1) #2 br label %24 24: ; preds = %11, %21 %25 = phi i32 [ 0, %21 ], [ 1, %11 ] ret i32 %25 } declare i32 @pushallcaptures(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pop(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @updatecache(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_gettable(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @subscache(i32 noundef) local_unnamed_addr #1 declare i32 @lua_isnil(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_6__", !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !8, i64 4}
Atlas_lib_extr_lpeg.c_querycap
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_session.c_perf_event_header__bswap.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_session.c_perf_event_header__bswap.c" target datalayout = "e-m:e-p270:32:32-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.perf_event_header = type { ptr, ptr, i32 } ; Function Attrs: nounwind uwtable define dso_local void @perf_event_header__bswap(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.perf_event_header, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @bswap_32(i32 noundef %3) #2 store i32 %4, ptr %2, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.perf_event_header, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = tail call ptr @bswap_16(ptr noundef %6) #2 store ptr %7, ptr %5, align 8, !tbaa !11 %8 = load ptr, ptr %0, align 8, !tbaa !12 %9 = tail call ptr @bswap_16(ptr noundef %8) #2 store ptr %9, ptr %0, align 8, !tbaa !12 ret void } declare i32 @bswap_32(i32 noundef) local_unnamed_addr #1 declare ptr @bswap_16(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"perf_event_header", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_session.c_perf_event_header__bswap.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_session.c_perf_event_header__bswap.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 @perf_event_header__bswap(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @bswap_32(i32 noundef %3) #2 store i32 %4, ptr %2, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call ptr @bswap_16(ptr noundef %6) #2 store ptr %7, ptr %5, align 8, !tbaa !12 %8 = load ptr, ptr %0, align 8, !tbaa !13 %9 = tail call ptr @bswap_16(ptr noundef %8) #2 store ptr %9, ptr %0, align 8, !tbaa !13 ret void } declare i32 @bswap_32(i32 noundef) local_unnamed_addr #1 declare ptr @bswap_16(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"perf_event_header", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 0}
fastsocket_kernel_tools_perf_util_extr_session.c_perf_event_header__bswap
; ModuleID = 'AnghaBench/linux/drivers/scsi/snic/extr_vnic_intr.h_svnic_intr_mask.c' source_filename = "AnghaBench/linux/drivers/scsi/snic/extr_vnic_intr.h_svnic_intr_mask.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @svnic_intr_mask], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @svnic_intr_mask(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @iowrite32(i32 noundef 1, ptr noundef %2) #2 ret void } declare i32 @iowrite32(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vnic_intr", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/snic/extr_vnic_intr.h_svnic_intr_mask.c' source_filename = "AnghaBench/linux/drivers/scsi/snic/extr_vnic_intr.h_svnic_intr_mask.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 @svnic_intr_mask], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @svnic_intr_mask(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @iowrite32(i32 noundef 1, ptr noundef %2) #2 ret void } declare i32 @iowrite32(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vnic_intr", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_scsi_snic_extr_vnic_intr.h_svnic_intr_mask
; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_free_aux_history_data.c' source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_free_aux_history_data.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @alloc_history_strings = dso_local local_unnamed_addr global i32 0, align 4 @alloc_history_strings_size = dso_local local_unnamed_addr global i16 0, align 2 @llvm.compiler.used = appending global [1 x ptr] [ptr @free_aux_history_data], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @free_aux_history_data(i64 noundef %0) #0 { %2 = and i64 %0, 72057594037927935 %3 = load i32, ptr @alloc_history_strings, align 4, !tbaa !5 %4 = add nsw i32 %3, -1 store i32 %4, ptr @alloc_history_strings, align 4, !tbaa !5 %5 = add nsw i64 %2, -2 %6 = inttoptr i64 %5 to ptr %7 = load i16, ptr %6, align 2, !tbaa !9 %8 = load i16, ptr @alloc_history_strings_size, align 2, !tbaa !9 %9 = sub i16 %8, %7 %10 = add i16 %9, -3 store i16 %10, ptr @alloc_history_strings_size, align 2, !tbaa !9 %11 = inttoptr i64 %2 to ptr %12 = getelementptr inbounds i8, ptr %11, i64 -2 %13 = tail call i32 @free(ptr noundef nonnull %12) #2 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"short", !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_free_aux_history_data.c' source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_free_aux_history_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @alloc_history_strings = common local_unnamed_addr global i32 0, align 4 @alloc_history_strings_size = common local_unnamed_addr global i16 0, align 2 @llvm.used = appending global [1 x ptr] [ptr @free_aux_history_data], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @free_aux_history_data(i64 noundef %0) #0 { %2 = and i64 %0, 72057594037927935 %3 = load i32, ptr @alloc_history_strings, align 4, !tbaa !6 %4 = add nsw i32 %3, -1 store i32 %4, ptr @alloc_history_strings, align 4, !tbaa !6 %5 = add nsw i64 %2, -2 %6 = inttoptr i64 %5 to ptr %7 = load i16, ptr %6, align 2, !tbaa !10 %8 = load i16, ptr @alloc_history_strings_size, align 2, !tbaa !10 %9 = sub i16 %8, %7 %10 = add i16 %9, -3 store i16 %10, ptr @alloc_history_strings_size, align 2, !tbaa !10 %11 = inttoptr i64 %2 to ptr %12 = getelementptr inbounds i8, ptr %11, i64 -2 %13 = tail call i32 @free(ptr noundef nonnull %12) #2 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"short", !8, i64 0}
kphp-kdb_text_extr_text-data.c_free_aux_history_data
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/graph/extr_ctxnv50.c_nv50_graph_construct_gene_unk1cxx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/graph/extr_ctxnv50.c_nv50_graph_construct_gene_unk1cxx.c" target datalayout = "e-m:e-p270:32:32-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 @nv50_graph_construct_gene_unk1cxx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nv50_graph_construct_gene_unk1cxx(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 0) #2 %4 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1065353216) #2 %5 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %6 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %7 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %8 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 3, i32 noundef 0) #2 %9 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 4) #2 %10 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 26) #2 %11 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %12 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %13 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1) #2 %14 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 16, i32 noundef 0) #2 %15 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %16 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %17 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 16776960) #2 %18 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %19 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %20 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %21 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 0) #2 %22 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %23 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 15) #2 %24 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 7, i32 noundef 0) #2 %25 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 262957185) #2 %26 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 17) #2 %27 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 7, i32 noundef 0) #2 %28 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 8, i32 noundef 0) #2 %29 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 4) #2 %30 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %31 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %32 = load i32, ptr %2, align 4, !tbaa !10 %33 = tail call i64 @IS_NVA3F(i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %1 %36 = load i32, ptr %2, align 4, !tbaa !10 %37 = icmp sgt i32 %36, 159 br i1 %37, label %38, label %41 38: ; preds = %35, %1 %39 = phi i32 [ 3, %1 ], [ 1, %35 ] %40 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %39) #2 br label %41 41: ; preds = %38, %35 %42 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %43 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %44 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 2) #2 %45 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 67108864) #2 %46 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %47 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %48 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %49 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 5) #2 %50 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 82) #2 %51 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %52 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %53 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %54 = load i32, ptr %2, align 4, !tbaa !10 %55 = icmp eq i32 %54, 80 br i1 %55, label %60, label %56 56: ; preds = %41 %57 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %58 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1) #2 %59 = load i32, ptr %2, align 4, !tbaa !10 br label %60 60: ; preds = %56, %41 %61 = phi i32 [ %59, %56 ], [ 80, %41 ] %62 = tail call i64 @IS_NVA3F(i32 noundef %61) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %60 %65 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 br label %66 66: ; preds = %64, %60 %67 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 16, i32 noundef 0) #2 %68 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 16, i32 noundef 1065353216) #2 %69 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 16) #2 %70 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 32, i32 noundef 0) #2 %71 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %72 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %73 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %74 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %75 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %76 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %77 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 135269394) #2 %78 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 5) #2 %79 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %80 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %81 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1) #2 %82 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %83 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 4, i32 noundef 65535) #2 %84 = load i32, ptr %2, align 4, !tbaa !10 %85 = icmp eq i32 %84, 80 br i1 %85, label %93, label %86 86: ; preds = %66 %87 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 3) #2 %88 = load i32, ptr %2, align 4, !tbaa !10 %89 = icmp slt i32 %88, 160 br i1 %89, label %93, label %90 90: ; preds = %86 %91 = tail call i64 @IS_NVA3F(i32 noundef %88) #2 %92 = icmp eq i64 %91, 0 br i1 %92, label %96, label %93 93: ; preds = %90, %86, %66 %94 = phi i32 [ 28, %66 ], [ 28, %86 ], [ 9, %90 ] %95 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef %94, i32 noundef 0) #2 br label %96 96: ; preds = %93, %90 %97 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %98 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %99 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %100 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 16776960) #2 %101 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 26) #2 %102 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %103 = load i32, ptr %2, align 4, !tbaa !10 %104 = icmp eq i32 %103, 80 br i1 %104, label %111, label %105 105: ; preds = %96 %106 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 3) #2 %107 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %108 = load i32, ptr %2, align 4, !tbaa !10 %109 = icmp slt i32 %108, 160 %110 = select i1 %109, i32 37, i32 59 br label %111 111: ; preds = %105, %96 %112 = phi i32 [ 37, %96 ], [ %110, %105 ] %113 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef %112, i32 noundef 0) #2 ret void } declare i32 @xf_emit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_NVA3F(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 = !{!"nouveau_grctx", !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 = !{!"nouveau_device", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/graph/extr_ctxnv50.c_nv50_graph_construct_gene_unk1cxx.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/graph/extr_ctxnv50.c_nv50_graph_construct_gene_unk1cxx.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 @nv50_graph_construct_gene_unk1cxx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nv50_graph_construct_gene_unk1cxx(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 0) #2 %4 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1065353216) #2 %5 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %6 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %7 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %8 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 3, i32 noundef 0) #2 %9 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 4) #2 %10 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 26) #2 %11 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %12 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %13 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1) #2 %14 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 16, i32 noundef 0) #2 %15 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %16 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %17 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 16776960) #2 %18 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %19 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %20 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %21 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 0) #2 %22 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %23 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 15) #2 %24 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 7, i32 noundef 0) #2 %25 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 262957185) #2 %26 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 17) #2 %27 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 7, i32 noundef 0) #2 %28 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 8, i32 noundef 0) #2 %29 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 4) #2 %30 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %31 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %32 = load i32, ptr %2, align 4, !tbaa !11 %33 = tail call i64 @IS_NVA3F(i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %1 %36 = load i32, ptr %2, align 4, !tbaa !11 %37 = icmp sgt i32 %36, 159 br i1 %37, label %38, label %41 38: ; preds = %35, %1 %39 = phi i32 [ 3, %1 ], [ 1, %35 ] %40 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %39) #2 br label %41 41: ; preds = %38, %35 %42 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %43 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %44 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 2) #2 %45 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 67108864) #2 %46 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %47 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %48 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %49 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 5) #2 %50 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 82) #2 %51 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %52 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %53 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %54 = load i32, ptr %2, align 4, !tbaa !11 %55 = icmp eq i32 %54, 80 br i1 %55, label %60, label %56 56: ; preds = %41 %57 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %58 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1) #2 %59 = load i32, ptr %2, align 4, !tbaa !11 br label %60 60: ; preds = %56, %41 %61 = phi i32 [ %59, %56 ], [ 80, %41 ] %62 = tail call i64 @IS_NVA3F(i32 noundef %61) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %60 %65 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 br label %66 66: ; preds = %64, %60 %67 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 16, i32 noundef 0) #2 %68 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 16, i32 noundef 1065353216) #2 %69 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 16) #2 %70 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 32, i32 noundef 0) #2 %71 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %72 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %73 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %74 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %75 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %76 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %77 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 135269394) #2 %78 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 5) #2 %79 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %80 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %81 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 1) #2 %82 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %83 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 4, i32 noundef 65535) #2 %84 = load i32, ptr %2, align 4, !tbaa !11 %85 = icmp eq i32 %84, 80 br i1 %85, label %93, label %86 86: ; preds = %66 %87 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 3) #2 %88 = load i32, ptr %2, align 4, !tbaa !11 %89 = icmp slt i32 %88, 160 br i1 %89, label %93, label %90 90: ; preds = %86 %91 = tail call i64 @IS_NVA3F(i32 noundef %88) #2 %92 = icmp eq i64 %91, 0 br i1 %92, label %96, label %93 93: ; preds = %90, %86, %66 %94 = phi i32 [ 28, %66 ], [ 28, %86 ], [ 9, %90 ] %95 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef %94, i32 noundef 0) #2 br label %96 96: ; preds = %93, %90 %97 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %98 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %99 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %100 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 16776960) #2 %101 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 26) #2 %102 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %103 = load i32, ptr %2, align 4, !tbaa !11 %104 = icmp eq i32 %103, 80 br i1 %104, label %111, label %105 105: ; preds = %96 %106 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 3) #2 %107 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 0) #2 %108 = load i32, ptr %2, align 4, !tbaa !11 %109 = icmp slt i32 %108, 160 %110 = select i1 %109, i32 37, i32 59 br label %111 111: ; preds = %105, %96 %112 = phi i32 [ 37, %96 ], [ %110, %105 ] %113 = tail call i32 @xf_emit(ptr noundef nonnull %0, i32 noundef %112, i32 noundef 0) #2 ret void } declare i32 @xf_emit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_NVA3F(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 = !{!"nouveau_grctx", !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 = !{!"nouveau_device", !13, i64 0} !13 = !{!"int", !9, i64 0}
fastsocket_kernel_drivers_gpu_drm_nouveau_core_engine_graph_extr_ctxnv50.c_nv50_graph_construct_gene_unk1cxx
; ModuleID = 'AnghaBench/freebsd/sys/dev/aac/extr_aac.c_aac_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/aac/extr_aac.c_aac_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.aac_softc = type { i32, i32, i32, i32, i32, ptr, i32, ptr, %struct.TYPE_7__, %struct.TYPE_5__, i32, i32, i32, i32, i32, i32 } %struct.TYPE_7__ = type { ptr, i32 } %struct.TYPE_5__ = type { i32 } @HBA_FLAGS_DBG_FUNCTION_ENTRY_B = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @aac_complete = dso_local local_unnamed_addr global i32 0, align 4 @AAC_STATE_SUSPEND = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"AAC AIF lock\00", align 1 @MTX_DEF = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"AAC I/O lock\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"AAC container lock\00", align 1 @OID_AUTO = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [15 x i8] c"firmware_build\00", align 1 @CTLFLAG_RD = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [22 x i8] c"firmware build number\00", align 1 @aac_startup = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [36 x i8] c"can't establish configuration hook\0A\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @aac_cdevsw = dso_local global i32 0, align 4 @UID_ROOT = dso_local local_unnamed_addr global i32 0, align 4 @GID_OPERATOR = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [6 x i8] c"aac%d\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"afa%d\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"hpn%d\00", align 1 @aac_command_thread = dso_local local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [9 x i8] c"aac%daif\00", align 1 @.str.11 = private unnamed_addr constant [28 x i8] c"Could not create AIF thread\00", align 1 @shutdown_final = dso_local local_unnamed_addr global i32 0, align 4 @aac_shutdown = dso_local local_unnamed_addr global i32 0, align 4 @SHUTDOWN_PRI_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [36 x i8] c"shutdown event registration failed\0A\00", align 1 @AAC_FLAGS_ENABLE_CAM = dso_local local_unnamed_addr global i32 0, align 4 @hz = dso_local local_unnamed_addr global i32 0, align 4 @aac_daemon = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @aac_attach(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @HBA_FLAGS_DBG_FUNCTION_ENTRY_B, align 8, !tbaa !5 %3 = tail call i32 @fwprintf(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str) #2 %4 = tail call i32 @aac_initq_free(ptr noundef %0) #2 %5 = tail call i32 @aac_initq_ready(ptr noundef %0) #2 %6 = tail call i32 @aac_initq_busy(ptr noundef %0) #2 %7 = tail call i32 @aac_initq_bio(ptr noundef %0) #2 %8 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 15 %9 = load i32, ptr @aac_complete, align 4, !tbaa !9 %10 = tail call i32 @TASK_INIT(ptr noundef nonnull %8, i32 noundef 0, i32 noundef %9, ptr noundef %0) #2 %11 = load i32, ptr @AAC_STATE_SUSPEND, align 4, !tbaa !9 %12 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 14 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = or i32 %13, %11 store i32 %14, ptr %12, align 4, !tbaa !11 %15 = tail call i32 @aac_check_firmware(ptr noundef %0) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %106 17: ; preds = %1 %18 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 13 %19 = load i32, ptr @MTX_DEF, align 4, !tbaa !9 %20 = tail call i32 @mtx_init(ptr noundef nonnull %18, ptr noundef nonnull @.str.1, ptr noundef null, i32 noundef %19) #2 %21 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 1 %22 = load i32, ptr @MTX_DEF, align 4, !tbaa !9 %23 = tail call i32 @mtx_init(ptr noundef nonnull %21, ptr noundef nonnull @.str.2, ptr noundef null, i32 noundef %22) #2 %24 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 12 %25 = load i32, ptr @MTX_DEF, align 4, !tbaa !9 %26 = tail call i32 @mtx_init(ptr noundef nonnull %24, ptr noundef nonnull @.str.3, ptr noundef null, i32 noundef %25) #2 %27 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 11 %28 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %27) #2 %29 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 10 %30 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %29) #2 %31 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 2 %32 = tail call i32 @callout_init_mtx(ptr noundef nonnull %31, ptr noundef nonnull %21, i32 noundef 0) #2 %33 = tail call i32 @aac_alloc(ptr noundef nonnull %0) #2 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %106 35: ; preds = %17 %36 = tail call i32 @aac_init(ptr noundef nonnull %0) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %106 38: ; preds = %35 %39 = tail call i32 @aac_setup_intr(ptr noundef nonnull %0) #2 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %106 41: ; preds = %38 %42 = tail call i32 @aac_describe_controller(ptr noundef nonnull %0) #2 %43 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 4 %44 = load i32, ptr %43, align 8, !tbaa !15 %45 = tail call i32 @device_get_sysctl_ctx(i32 noundef %44) #2 %46 = load i32, ptr %43, align 8, !tbaa !15 %47 = tail call i32 @device_get_sysctl_tree(i32 noundef %46) #2 %48 = tail call i32 @SYSCTL_CHILDREN(i32 noundef %47) #2 %49 = load i32, ptr @OID_AUTO, align 4, !tbaa !9 %50 = load i32, ptr @CTLFLAG_RD, align 4, !tbaa !9 %51 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 9 %52 = tail call i32 @SYSCTL_ADD_INT(i32 noundef %45, i32 noundef %48, i32 noundef %49, ptr noundef nonnull @.str.4, i32 noundef %50, ptr noundef nonnull %51, i32 noundef 0, ptr noundef nonnull @.str.5) #2 %53 = load i32, ptr @aac_startup, align 4, !tbaa !9 %54 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 8 %55 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 8, i32 1 store i32 %53, ptr %55, align 8, !tbaa !16 store ptr %0, ptr %54, align 8, !tbaa !17 %56 = tail call i64 @config_intrhook_establish(ptr noundef nonnull %54) #2 %57 = icmp eq i64 %56, 0 %58 = load i32, ptr %43, align 8, !tbaa !15 br i1 %57, label %62, label %59 59: ; preds = %41 %60 = tail call i32 @device_printf(i32 noundef %58, ptr noundef nonnull @.str.6) #2 %61 = load i32, ptr @ENXIO, align 4, !tbaa !9 br label %106 62: ; preds = %41 %63 = tail call i32 @device_get_unit(i32 noundef %58) #2 %64 = load i32, ptr @UID_ROOT, align 4, !tbaa !9 %65 = load i32, ptr @GID_OPERATOR, align 4, !tbaa !9 %66 = tail call ptr @make_dev(ptr noundef nonnull @aac_cdevsw, i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef 416, ptr noundef nonnull @.str.7, i32 noundef %63) #2 %67 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 7 store ptr %66, ptr %67, align 8, !tbaa !18 %68 = tail call i32 @make_dev_alias(ptr noundef %66, ptr noundef nonnull @.str.8, i32 noundef %63) #2 %69 = load ptr, ptr %67, align 8, !tbaa !18 %70 = tail call i32 @make_dev_alias(ptr noundef %69, ptr noundef nonnull @.str.9, i32 noundef %63) #2 %71 = load ptr, ptr %67, align 8, !tbaa !18 store ptr %0, ptr %71, align 8, !tbaa !19 %72 = load i64, ptr @aac_command_thread, align 8, !tbaa !21 %73 = inttoptr i64 %72 to ptr %74 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 6 %75 = tail call i64 @kproc_create(ptr noundef %73, ptr noundef nonnull %0, ptr noundef nonnull %74, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.10, i32 noundef %63) #2 %76 = icmp eq i64 %75, 0 br i1 %76, label %79, label %77 77: ; preds = %62 %78 = tail call i32 @panic(ptr noundef nonnull @.str.11) #2 br label %79 79: ; preds = %77, %62 %80 = load i32, ptr @shutdown_final, align 4, !tbaa !9 %81 = load i32, ptr @aac_shutdown, align 4, !tbaa !9 %82 = load i32, ptr %43, align 8, !tbaa !15 %83 = load i32, ptr @SHUTDOWN_PRI_DEFAULT, align 4, !tbaa !9 %84 = tail call ptr @EVENTHANDLER_REGISTER(i32 noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %83) #2 %85 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 5 store ptr %84, ptr %85, align 8, !tbaa !23 %86 = icmp eq ptr %84, null br i1 %86, label %87, label %90 87: ; preds = %79 %88 = load i32, ptr %43, align 8, !tbaa !15 %89 = tail call i32 @device_printf(i32 noundef %88, ptr noundef nonnull @.str.12) #2 br label %90 90: ; preds = %87, %79 %91 = load i32, ptr %0, align 8, !tbaa !24 %92 = load i32, ptr @AAC_FLAGS_ENABLE_CAM, align 4, !tbaa !9 %93 = and i32 %92, %91 %94 = icmp eq i32 %93, 0 br i1 %94, label %99, label %95 95: ; preds = %90 %96 = getelementptr inbounds %struct.aac_softc, ptr %0, i64 0, i32 3 %97 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %96) #2 %98 = tail call i32 @aac_get_bus_info(ptr noundef nonnull %0) #2 br label %99 99: ; preds = %95, %90 %100 = tail call i32 @mtx_lock(ptr noundef nonnull %21) #2 %101 = load i32, ptr @hz, align 4, !tbaa !9 %102 = mul nsw i32 %101, 60 %103 = load i32, ptr @aac_daemon, align 4, !tbaa !9 %104 = tail call i32 @callout_reset(ptr noundef nonnull %31, i32 noundef %102, i32 noundef %103, ptr noundef nonnull %0) #2 %105 = tail call i32 @mtx_unlock(ptr noundef nonnull %21) #2 br label %106 106: ; preds = %38, %35, %17, %1, %99, %59 %107 = phi i32 [ %61, %59 ], [ 0, %99 ], [ %15, %1 ], [ %33, %17 ], [ %36, %35 ], [ %39, %38 ] ret i32 %107 } declare i32 @fwprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @aac_initq_free(ptr noundef) local_unnamed_addr #1 declare i32 @aac_initq_ready(ptr noundef) local_unnamed_addr #1 declare i32 @aac_initq_busy(ptr noundef) local_unnamed_addr #1 declare i32 @aac_initq_bio(ptr noundef) local_unnamed_addr #1 declare i32 @TASK_INIT(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @aac_check_firmware(ptr noundef) local_unnamed_addr #1 declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @callout_init_mtx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aac_alloc(ptr noundef) local_unnamed_addr #1 declare i32 @aac_init(ptr noundef) local_unnamed_addr #1 declare i32 @aac_setup_intr(ptr noundef) local_unnamed_addr #1 declare i32 @aac_describe_controller(ptr noundef) local_unnamed_addr #1 declare i32 @SYSCTL_ADD_INT(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_get_sysctl_ctx(i32 noundef) local_unnamed_addr #1 declare i32 @SYSCTL_CHILDREN(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_sysctl_tree(i32 noundef) local_unnamed_addr #1 declare i64 @config_intrhook_establish(ptr noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare ptr @make_dev(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @make_dev_alias(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @kproc_create(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef) local_unnamed_addr #1 declare ptr @EVENTHANDLER_REGISTER(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aac_get_bus_info(ptr noundef) local_unnamed_addr #1 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @callout_reset(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 84} !12 = !{!"aac_softc", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !13, i64 48, !14, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88} !13 = !{!"TYPE_7__", !6, i64 0, !10, i64 8} !14 = !{!"TYPE_5__", !10, i64 0} !15 = !{!12, !10, i64 16} !16 = !{!12, !10, i64 56} !17 = !{!12, !6, i64 48} !18 = !{!12, !6, i64 40} !19 = !{!20, !6, i64 0} !20 = !{!"TYPE_6__", !6, i64 0} !21 = !{!22, !22, i64 0} !22 = !{!"long", !7, i64 0} !23 = !{!12, !6, i64 24} !24 = !{!12, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/aac/extr_aac.c_aac_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/aac/extr_aac.c_aac_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HBA_FLAGS_DBG_FUNCTION_ENTRY_B = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @aac_complete = common local_unnamed_addr global i32 0, align 4 @AAC_STATE_SUSPEND = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"AAC AIF lock\00", align 1 @MTX_DEF = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"AAC I/O lock\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"AAC container lock\00", align 1 @OID_AUTO = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [15 x i8] c"firmware_build\00", align 1 @CTLFLAG_RD = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [22 x i8] c"firmware build number\00", align 1 @aac_startup = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [36 x i8] c"can't establish configuration hook\0A\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @aac_cdevsw = common global i32 0, align 4 @UID_ROOT = common local_unnamed_addr global i32 0, align 4 @GID_OPERATOR = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [6 x i8] c"aac%d\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"afa%d\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"hpn%d\00", align 1 @aac_command_thread = common local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [9 x i8] c"aac%daif\00", align 1 @.str.11 = private unnamed_addr constant [28 x i8] c"Could not create AIF thread\00", align 1 @shutdown_final = common local_unnamed_addr global i32 0, align 4 @aac_shutdown = common local_unnamed_addr global i32 0, align 4 @SHUTDOWN_PRI_DEFAULT = common local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [36 x i8] c"shutdown event registration failed\0A\00", align 1 @AAC_FLAGS_ENABLE_CAM = common local_unnamed_addr global i32 0, align 4 @hz = common local_unnamed_addr global i32 0, align 4 @aac_daemon = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @aac_attach(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @HBA_FLAGS_DBG_FUNCTION_ENTRY_B, align 8, !tbaa !6 %3 = tail call i32 @fwprintf(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str) #2 %4 = tail call i32 @aac_initq_free(ptr noundef %0) #2 %5 = tail call i32 @aac_initq_ready(ptr noundef %0) #2 %6 = tail call i32 @aac_initq_busy(ptr noundef %0) #2 %7 = tail call i32 @aac_initq_bio(ptr noundef %0) #2 %8 = getelementptr inbounds i8, ptr %0, i64 88 %9 = load i32, ptr @aac_complete, align 4, !tbaa !10 %10 = tail call i32 @TASK_INIT(ptr noundef nonnull %8, i32 noundef 0, i32 noundef %9, ptr noundef %0) #2 %11 = load i32, ptr @AAC_STATE_SUSPEND, align 4, !tbaa !10 %12 = getelementptr inbounds i8, ptr %0, i64 84 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = or i32 %13, %11 store i32 %14, ptr %12, align 4, !tbaa !12 %15 = tail call i32 @aac_check_firmware(ptr noundef %0) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %106 17: ; preds = %1 %18 = getelementptr inbounds i8, ptr %0, i64 80 %19 = load i32, ptr @MTX_DEF, align 4, !tbaa !10 %20 = tail call i32 @mtx_init(ptr noundef nonnull %18, ptr noundef nonnull @.str.1, ptr noundef null, i32 noundef %19) #2 %21 = getelementptr inbounds i8, ptr %0, i64 4 %22 = load i32, ptr @MTX_DEF, align 4, !tbaa !10 %23 = tail call i32 @mtx_init(ptr noundef nonnull %21, ptr noundef nonnull @.str.2, ptr noundef null, i32 noundef %22) #2 %24 = getelementptr inbounds i8, ptr %0, i64 76 %25 = load i32, ptr @MTX_DEF, align 4, !tbaa !10 %26 = tail call i32 @mtx_init(ptr noundef nonnull %24, ptr noundef nonnull @.str.3, ptr noundef null, i32 noundef %25) #2 %27 = getelementptr inbounds i8, ptr %0, i64 72 %28 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %27) #2 %29 = getelementptr inbounds i8, ptr %0, i64 68 %30 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %29) #2 %31 = getelementptr inbounds i8, ptr %0, i64 8 %32 = tail call i32 @callout_init_mtx(ptr noundef nonnull %31, ptr noundef nonnull %21, i32 noundef 0) #2 %33 = tail call i32 @aac_alloc(ptr noundef nonnull %0) #2 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %106 35: ; preds = %17 %36 = tail call i32 @aac_init(ptr noundef nonnull %0) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %106 38: ; preds = %35 %39 = tail call i32 @aac_setup_intr(ptr noundef nonnull %0) #2 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %106 41: ; preds = %38 %42 = tail call i32 @aac_describe_controller(ptr noundef nonnull %0) #2 %43 = getelementptr inbounds i8, ptr %0, i64 16 %44 = load i32, ptr %43, align 8, !tbaa !16 %45 = tail call i32 @device_get_sysctl_ctx(i32 noundef %44) #2 %46 = load i32, ptr %43, align 8, !tbaa !16 %47 = tail call i32 @device_get_sysctl_tree(i32 noundef %46) #2 %48 = tail call i32 @SYSCTL_CHILDREN(i32 noundef %47) #2 %49 = load i32, ptr @OID_AUTO, align 4, !tbaa !10 %50 = load i32, ptr @CTLFLAG_RD, align 4, !tbaa !10 %51 = getelementptr inbounds i8, ptr %0, i64 64 %52 = tail call i32 @SYSCTL_ADD_INT(i32 noundef %45, i32 noundef %48, i32 noundef %49, ptr noundef nonnull @.str.4, i32 noundef %50, ptr noundef nonnull %51, i32 noundef 0, ptr noundef nonnull @.str.5) #2 %53 = load i32, ptr @aac_startup, align 4, !tbaa !10 %54 = getelementptr inbounds i8, ptr %0, i64 48 %55 = getelementptr inbounds i8, ptr %0, i64 56 store i32 %53, ptr %55, align 8, !tbaa !17 store ptr %0, ptr %54, align 8, !tbaa !18 %56 = tail call i64 @config_intrhook_establish(ptr noundef nonnull %54) #2 %57 = icmp eq i64 %56, 0 %58 = load i32, ptr %43, align 8, !tbaa !16 br i1 %57, label %62, label %59 59: ; preds = %41 %60 = tail call i32 @device_printf(i32 noundef %58, ptr noundef nonnull @.str.6) #2 %61 = load i32, ptr @ENXIO, align 4, !tbaa !10 br label %106 62: ; preds = %41 %63 = tail call i32 @device_get_unit(i32 noundef %58) #2 %64 = load i32, ptr @UID_ROOT, align 4, !tbaa !10 %65 = load i32, ptr @GID_OPERATOR, align 4, !tbaa !10 %66 = tail call ptr @make_dev(ptr noundef nonnull @aac_cdevsw, i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef 416, ptr noundef nonnull @.str.7, i32 noundef %63) #2 %67 = getelementptr inbounds i8, ptr %0, i64 40 store ptr %66, ptr %67, align 8, !tbaa !19 %68 = tail call i32 @make_dev_alias(ptr noundef %66, ptr noundef nonnull @.str.8, i32 noundef %63) #2 %69 = load ptr, ptr %67, align 8, !tbaa !19 %70 = tail call i32 @make_dev_alias(ptr noundef %69, ptr noundef nonnull @.str.9, i32 noundef %63) #2 %71 = load ptr, ptr %67, align 8, !tbaa !19 store ptr %0, ptr %71, align 8, !tbaa !20 %72 = load i64, ptr @aac_command_thread, align 8, !tbaa !22 %73 = inttoptr i64 %72 to ptr %74 = getelementptr inbounds i8, ptr %0, i64 32 %75 = tail call i64 @kproc_create(ptr noundef %73, ptr noundef nonnull %0, ptr noundef nonnull %74, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.10, i32 noundef %63) #2 %76 = icmp eq i64 %75, 0 br i1 %76, label %79, label %77 77: ; preds = %62 %78 = tail call i32 @panic(ptr noundef nonnull @.str.11) #2 br label %79 79: ; preds = %77, %62 %80 = load i32, ptr @shutdown_final, align 4, !tbaa !10 %81 = load i32, ptr @aac_shutdown, align 4, !tbaa !10 %82 = load i32, ptr %43, align 8, !tbaa !16 %83 = load i32, ptr @SHUTDOWN_PRI_DEFAULT, align 4, !tbaa !10 %84 = tail call ptr @EVENTHANDLER_REGISTER(i32 noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %83) #2 %85 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %84, ptr %85, align 8, !tbaa !24 %86 = icmp eq ptr %84, null br i1 %86, label %87, label %90 87: ; preds = %79 %88 = load i32, ptr %43, align 8, !tbaa !16 %89 = tail call i32 @device_printf(i32 noundef %88, ptr noundef nonnull @.str.12) #2 br label %90 90: ; preds = %87, %79 %91 = load i32, ptr %0, align 8, !tbaa !25 %92 = load i32, ptr @AAC_FLAGS_ENABLE_CAM, align 4, !tbaa !10 %93 = and i32 %92, %91 %94 = icmp eq i32 %93, 0 br i1 %94, label %99, label %95 95: ; preds = %90 %96 = getelementptr inbounds i8, ptr %0, i64 12 %97 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %96) #2 %98 = tail call i32 @aac_get_bus_info(ptr noundef nonnull %0) #2 br label %99 99: ; preds = %95, %90 %100 = tail call i32 @mtx_lock(ptr noundef nonnull %21) #2 %101 = load i32, ptr @hz, align 4, !tbaa !10 %102 = mul nsw i32 %101, 60 %103 = load i32, ptr @aac_daemon, align 4, !tbaa !10 %104 = tail call i32 @callout_reset(ptr noundef nonnull %31, i32 noundef %102, i32 noundef %103, ptr noundef nonnull %0) #2 %105 = tail call i32 @mtx_unlock(ptr noundef nonnull %21) #2 br label %106 106: ; preds = %38, %35, %17, %1, %99, %59 %107 = phi i32 [ %61, %59 ], [ 0, %99 ], [ %15, %1 ], [ %33, %17 ], [ %36, %35 ], [ %39, %38 ] ret i32 %107 } declare i32 @fwprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @aac_initq_free(ptr noundef) local_unnamed_addr #1 declare i32 @aac_initq_ready(ptr noundef) local_unnamed_addr #1 declare i32 @aac_initq_busy(ptr noundef) local_unnamed_addr #1 declare i32 @aac_initq_bio(ptr noundef) local_unnamed_addr #1 declare i32 @TASK_INIT(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @aac_check_firmware(ptr noundef) local_unnamed_addr #1 declare i32 @mtx_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @callout_init_mtx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aac_alloc(ptr noundef) local_unnamed_addr #1 declare i32 @aac_init(ptr noundef) local_unnamed_addr #1 declare i32 @aac_setup_intr(ptr noundef) local_unnamed_addr #1 declare i32 @aac_describe_controller(ptr noundef) local_unnamed_addr #1 declare i32 @SYSCTL_ADD_INT(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_get_sysctl_ctx(i32 noundef) local_unnamed_addr #1 declare i32 @SYSCTL_CHILDREN(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_sysctl_tree(i32 noundef) local_unnamed_addr #1 declare i64 @config_intrhook_establish(ptr noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare ptr @make_dev(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @make_dev_alias(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @kproc_create(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef) local_unnamed_addr #1 declare ptr @EVENTHANDLER_REGISTER(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aac_get_bus_info(ptr noundef) local_unnamed_addr #1 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @callout_reset(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_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 = !{!"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 84} !13 = !{!"aac_softc", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !7, i64 24, !11, i64 32, !7, i64 40, !14, i64 48, !15, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88} !14 = !{!"TYPE_7__", !7, i64 0, !11, i64 8} !15 = !{!"TYPE_5__", !11, i64 0} !16 = !{!13, !11, i64 16} !17 = !{!13, !11, i64 56} !18 = !{!13, !7, i64 48} !19 = !{!13, !7, i64 40} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_6__", !7, i64 0} !22 = !{!23, !23, i64 0} !23 = !{!"long", !8, i64 0} !24 = !{!13, !7, i64 24} !25 = !{!13, !11, i64 0}
freebsd_sys_dev_aac_extr_aac.c_aac_attach
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/libntp/extr_ntp_calendar.c_priv_timesplit.c' source_filename = "AnghaBench/freebsd/contrib/ntp/libntp/extr_ntp_calendar.c_priv_timesplit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SECSPERMIN = dso_local local_unnamed_addr global i32 0, align 4 @MINSPERHR = dso_local local_unnamed_addr global i32 0, align 4 @HRSPERDAY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @priv_timesplit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @priv_timesplit(ptr nocapture noundef writeonly %0, i64 noundef %1) #0 { %3 = tail call i32 @int32_sflag(i64 noundef %1) #2 %4 = tail call i32 @int32_to_uint32_2cpl(i64 noundef %1) #2 %5 = xor i32 %4, %3 %6 = load i32, ptr @SECSPERMIN, align 4, !tbaa !5 %7 = sdiv i32 %5, %6 %8 = load i32, ptr @MINSPERHR, align 4, !tbaa !5 %9 = sdiv i32 %7, %8 %10 = load i32, ptr @HRSPERDAY, align 4, !tbaa !5 %11 = sdiv i32 %9, %10 %12 = xor i32 %7, %3 %13 = xor i32 %9, %3 %14 = xor i32 %11, %3 %15 = mul nsw i32 %14, %10 %16 = sub nsw i32 %13, %15 %17 = sext i32 %16 to i64 store i64 %17, ptr %0, align 8, !tbaa !9 %18 = mul nsw i32 %13, %8 %19 = sub nsw i32 %12, %18 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i64, ptr %0, i64 1 store i64 %20, ptr %21, align 8, !tbaa !9 %22 = mul nsw i32 %12, %6 %23 = sub nsw i32 %4, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i64, ptr %0, i64 2 store i64 %24, ptr %25, align 8, !tbaa !9 %26 = tail call i64 @uint32_2cpl_to_int32(i32 noundef %14) #2 ret i64 %26 } declare i32 @int32_sflag(i64 noundef) local_unnamed_addr #1 declare i32 @int32_to_uint32_2cpl(i64 noundef) local_unnamed_addr #1 declare i64 @uint32_2cpl_to_int32(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/libntp/extr_ntp_calendar.c_priv_timesplit.c' source_filename = "AnghaBench/freebsd/contrib/ntp/libntp/extr_ntp_calendar.c_priv_timesplit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SECSPERMIN = common local_unnamed_addr global i32 0, align 4 @MINSPERHR = common local_unnamed_addr global i32 0, align 4 @HRSPERDAY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @priv_timesplit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @priv_timesplit(ptr nocapture noundef writeonly %0, i64 noundef %1) #0 { %3 = tail call i32 @int32_sflag(i64 noundef %1) #2 %4 = tail call i32 @int32_to_uint32_2cpl(i64 noundef %1) #2 %5 = xor i32 %4, %3 %6 = load i32, ptr @SECSPERMIN, align 4, !tbaa !6 %7 = sdiv i32 %5, %6 %8 = load i32, ptr @MINSPERHR, align 4, !tbaa !6 %9 = sdiv i32 %7, %8 %10 = load i32, ptr @HRSPERDAY, align 4, !tbaa !6 %11 = sdiv i32 %9, %10 %12 = xor i32 %7, %3 %13 = xor i32 %9, %3 %14 = xor i32 %11, %3 %15 = mul nsw i32 %14, %10 %16 = sub nsw i32 %13, %15 %17 = sext i32 %16 to i64 store i64 %17, ptr %0, align 8, !tbaa !10 %18 = mul nsw i32 %13, %8 %19 = sub nsw i32 %12, %18 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %20, ptr %21, align 8, !tbaa !10 %22 = mul nsw i32 %12, %6 %23 = sub nsw i32 %4, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %0, i64 16 store i64 %24, ptr %25, align 8, !tbaa !10 %26 = tail call i64 @uint32_2cpl_to_int32(i32 noundef %14) #2 ret i64 %26 } declare i32 @int32_sflag(i64 noundef) local_unnamed_addr #1 declare i32 @int32_to_uint32_2cpl(i64 noundef) local_unnamed_addr #1 declare i64 @uint32_2cpl_to_int32(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}
freebsd_contrib_ntp_libntp_extr_ntp_calendar.c_priv_timesplit
; ModuleID = 'AnghaBench/freebsd/contrib/one-true-awk/extr_tran.c_envinit.c' source_filename = "AnghaBench/freebsd/contrib/one-true-awk/extr_tran.c_envinit.c" target datalayout = "e-m:e-p270:32:32-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 [8 x i8] c"ENVIRON\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @ARR = dso_local local_unnamed_addr global i32 0, align 4 @symtab = dso_local local_unnamed_addr global i64 0, align 8 @NSYMTAB = dso_local local_unnamed_addr global i32 0, align 4 @ENVtab = dso_local local_unnamed_addr global i64 0, align 8 @STR = dso_local local_unnamed_addr global i32 0, align 4 @NUM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @envinit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @ARR, align 4, !tbaa !5 %3 = load i64, ptr @symtab, align 8, !tbaa !9 %4 = tail call ptr @setsymtab(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, double noundef 0.000000e+00, i32 noundef %2, i64 noundef %3) #3 %5 = load i32, ptr @NSYMTAB, align 4, !tbaa !5 %6 = tail call i64 @makesymtab(i32 noundef %5) #3 store i64 %6, ptr @ENVtab, align 8, !tbaa !9 %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %4, align 8, !tbaa !11 %8 = load ptr, ptr %0, align 8, !tbaa !14 %9 = icmp eq ptr %8, null br i1 %9, label %39, label %10 10: ; preds = %1, %35 %11 = phi ptr [ %37, %35 ], [ %8, %1 ] %12 = phi ptr [ %36, %35 ], [ %0, %1 ] %13 = tail call ptr @strchr(ptr noundef nonnull %11, i8 noundef signext 61) #3 %14 = icmp eq ptr %13, null br i1 %14, label %35, label %15 15: ; preds = %10 %16 = load ptr, ptr %12, align 8, !tbaa !14 %17 = icmp eq ptr %13, %16 br i1 %17, label %35, label %18 18: ; preds = %15 %19 = getelementptr inbounds i8, ptr %13, i64 1 store i8 0, ptr %13, align 1, !tbaa !15 %20 = tail call i64 @is_number(ptr noundef nonnull %19) #3 %21 = icmp eq i64 %20, 0 %22 = load ptr, ptr %12, align 8, !tbaa !14 br i1 %21, label %30, label %23 23: ; preds = %18 %24 = tail call double @atof(ptr noundef nonnull %19) %25 = load i32, ptr @STR, align 4, !tbaa !5 %26 = load i32, ptr @NUM, align 4, !tbaa !5 %27 = or i32 %26, %25 %28 = load i64, ptr @ENVtab, align 8, !tbaa !9 %29 = tail call ptr @setsymtab(ptr noundef %22, ptr noundef nonnull %19, double noundef %24, i32 noundef %27, i64 noundef %28) #3 br label %34 30: ; preds = %18 %31 = load i32, ptr @STR, align 4, !tbaa !5 %32 = load i64, ptr @ENVtab, align 8, !tbaa !9 %33 = tail call ptr @setsymtab(ptr noundef %22, ptr noundef nonnull %19, double noundef 0.000000e+00, i32 noundef %31, i64 noundef %32) #3 br label %34 34: ; preds = %30, %23 store i8 61, ptr %13, align 1, !tbaa !15 br label %35 35: ; preds = %15, %10, %34 %36 = getelementptr inbounds ptr, ptr %12, i64 1 %37 = load ptr, ptr %36, align 8, !tbaa !14 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %10, !llvm.loop !16 39: ; preds = %35, %1 ret void } declare ptr @setsymtab(ptr noundef, ptr noundef, double noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @makesymtab(i32 noundef) local_unnamed_addr #1 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i64 @is_number(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare double @atof(ptr nocapture 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 = { "no-trapping-math"="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(read) "no-trapping-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 = !{!"long", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!7, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/one-true-awk/extr_tran.c_envinit.c' source_filename = "AnghaBench/freebsd/contrib/one-true-awk/extr_tran.c_envinit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [8 x i8] c"ENVIRON\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @ARR = common local_unnamed_addr global i32 0, align 4 @symtab = common local_unnamed_addr global i64 0, align 8 @NSYMTAB = common local_unnamed_addr global i32 0, align 4 @ENVtab = common local_unnamed_addr global i64 0, align 8 @STR = common local_unnamed_addr global i32 0, align 4 @NUM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @envinit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @ARR, align 4, !tbaa !6 %3 = load i64, ptr @symtab, align 8, !tbaa !10 %4 = tail call ptr @setsymtab(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, double noundef 0.000000e+00, i32 noundef %2, i64 noundef %3) #3 %5 = load i32, ptr @NSYMTAB, align 4, !tbaa !6 %6 = tail call i64 @makesymtab(i32 noundef %5) #3 store i64 %6, ptr @ENVtab, align 8, !tbaa !10 %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %4, align 8, !tbaa !12 %8 = load ptr, ptr %0, align 8, !tbaa !15 %9 = icmp eq ptr %8, null br i1 %9, label %39, label %10 10: ; preds = %1, %35 %11 = phi ptr [ %37, %35 ], [ %8, %1 ] %12 = phi ptr [ %36, %35 ], [ %0, %1 ] %13 = tail call ptr @strchr(ptr noundef nonnull %11, i8 noundef signext 61) #3 %14 = icmp eq ptr %13, null br i1 %14, label %35, label %15 15: ; preds = %10 %16 = load ptr, ptr %12, align 8, !tbaa !15 %17 = icmp eq ptr %13, %16 br i1 %17, label %35, label %18 18: ; preds = %15 %19 = getelementptr inbounds i8, ptr %13, i64 1 store i8 0, ptr %13, align 1, !tbaa !16 %20 = tail call i64 @is_number(ptr noundef nonnull %19) #3 %21 = icmp eq i64 %20, 0 %22 = load ptr, ptr %12, align 8, !tbaa !15 br i1 %21, label %30, label %23 23: ; preds = %18 %24 = tail call double @atof(ptr noundef nonnull %19) %25 = load i32, ptr @STR, align 4, !tbaa !6 %26 = load i32, ptr @NUM, align 4, !tbaa !6 %27 = or i32 %26, %25 %28 = load i64, ptr @ENVtab, align 8, !tbaa !10 %29 = tail call ptr @setsymtab(ptr noundef %22, ptr noundef nonnull %19, double noundef %24, i32 noundef %27, i64 noundef %28) #3 br label %34 30: ; preds = %18 %31 = load i32, ptr @STR, align 4, !tbaa !6 %32 = load i64, ptr @ENVtab, align 8, !tbaa !10 %33 = tail call ptr @setsymtab(ptr noundef %22, ptr noundef nonnull %19, double noundef 0.000000e+00, i32 noundef %31, i64 noundef %32) #3 br label %34 34: ; preds = %30, %23 store i8 61, ptr %13, align 1, !tbaa !16 br label %35 35: ; preds = %15, %10, %34 %36 = getelementptr inbounds i8, ptr %12, i64 8 %37 = load ptr, ptr %36, align 8, !tbaa !15 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %10, !llvm.loop !17 39: ; preds = %35, %1 ret void } declare ptr @setsymtab(ptr noundef, ptr noundef, double noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @makesymtab(i32 noundef) local_unnamed_addr #1 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i64 @is_number(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare double @atof(ptr nocapture 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = !{!"long", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!8, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_one-true-awk_extr_tran.c_envinit
; ModuleID = 'AnghaBench/darwin-xnu/bsd/miscfs/devfs/extr_devfs_tree.c_devfs_release_event_log.c' source_filename = "AnghaBench/darwin-xnu/bsd/miscfs/devfs/extr_devfs_tree.c_devfs_release_event_log.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c"Free of devfs notify info that has not been intialized.\0A\00", align 1 @M_TEMP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @devfs_release_event_log], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @devfs_release_event_log(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @panic(ptr noundef nonnull @.str) #2 br label %7 7: ; preds = %5, %2 %8 = icmp eq i32 %1, 0 br i1 %8, label %13, label %9 9: ; preds = %7 %10 = load ptr, ptr %0, align 8, !tbaa !5 %11 = load i32, ptr @M_TEMP, align 4, !tbaa !10 %12 = tail call i32 @FREE(ptr noundef %10, i32 noundef %11) #2 br label %13 13: ; preds = %9, %7 store ptr null, ptr %0, align 8, !tbaa !5 ret void } declare i32 @panic(ptr noundef) local_unnamed_addr #1 declare i32 @FREE(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !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}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/miscfs/devfs/extr_devfs_tree.c_devfs_release_event_log.c' source_filename = "AnghaBench/darwin-xnu/bsd/miscfs/devfs/extr_devfs_tree.c_devfs_release_event_log.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 [57 x i8] c"Free of devfs notify info that has not been intialized.\0A\00", align 1 @M_TEMP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @devfs_release_event_log], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @devfs_release_event_log(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @panic(ptr noundef nonnull @.str) #2 br label %7 7: ; preds = %5, %2 %8 = icmp eq i32 %1, 0 br i1 %8, label %13, label %9 9: ; preds = %7 %10 = load ptr, ptr %0, align 8, !tbaa !6 %11 = load i32, ptr @M_TEMP, align 4, !tbaa !11 %12 = tail call i32 @FREE(ptr noundef %10, i32 noundef %11) #2 br label %13 13: ; preds = %9, %7 store ptr null, ptr %0, align 8, !tbaa !6 ret void } declare i32 @panic(ptr noundef) local_unnamed_addr #1 declare i32 @FREE(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !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}
darwin-xnu_bsd_miscfs_devfs_extr_devfs_tree.c_devfs_release_event_log
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_tenxpress.c_tenxpress_phy_poll.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_tenxpress.c_tenxpress_phy_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.efx_link_state = type { i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @tenxpress_phy_poll], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tenxpress_phy_poll(ptr noundef %0) #0 { %2 = alloca %struct.efx_link_state, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %0, i64 16, i1 false), !tbaa.struct !5 %3 = tail call i32 @sfx7101_link_ok(ptr noundef %0) #4 %4 = getelementptr inbounds %struct.efx_link_state, ptr %0, i64 0, i32 2 store i32 %3, ptr %4, align 4, !tbaa !10 store i32 10000, ptr %0, align 4, !tbaa !13 %5 = getelementptr inbounds %struct.efx_link_state, ptr %0, i64 0, i32 1 store i32 1, ptr %5, align 4, !tbaa !14 %6 = tail call i32 @efx_mdio_get_pause(ptr noundef nonnull %0) #4 %7 = getelementptr inbounds %struct.efx_link_state, ptr %0, i64 0, i32 3 store i32 %6, ptr %7, align 4, !tbaa !15 %8 = load i32, ptr %4, align 4, !tbaa !10 %9 = tail call i32 @sfx7101_check_bad_lp(ptr noundef nonnull %0, i32 noundef %8) #4 %10 = call i32 @efx_link_state_equal(ptr noundef nonnull %0, ptr noundef nonnull %2) #4 %11 = icmp eq i32 %10, 0 %12 = zext i1 %11 to i32 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @sfx7101_link_ok(ptr noundef) local_unnamed_addr #3 declare i32 @efx_mdio_get_pause(ptr noundef) local_unnamed_addr #3 declare i32 @sfx7101_check_bad_lp(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @efx_link_state_equal(ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6, i64 12, i64 4, !6} !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 = !{!"efx_nic", !12, i64 0} !12 = !{!"efx_link_state", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !13 = !{!11, !7, i64 0} !14 = !{!11, !7, i64 4} !15 = !{!11, !7, i64 12}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_tenxpress.c_tenxpress_phy_poll.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_tenxpress.c_tenxpress_phy_poll.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.efx_link_state = type { i32, i32, i32, i32 } @llvm.used = appending global [1 x ptr] [ptr @tenxpress_phy_poll], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @tenxpress_phy_poll(ptr noundef %0) #0 { %2 = alloca %struct.efx_link_state, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %0, i64 16, i1 false), !tbaa.struct !6 %3 = tail call i32 @sfx7101_link_ok(ptr noundef %0) #4 %4 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %3, ptr %4, align 4, !tbaa !11 store <2 x i32> <i32 10000, i32 1>, ptr %0, align 4, !tbaa !7 %5 = tail call i32 @efx_mdio_get_pause(ptr noundef nonnull %0) #4 %6 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %5, ptr %6, align 4, !tbaa !14 %7 = load i32, ptr %4, align 4, !tbaa !11 %8 = tail call i32 @sfx7101_check_bad_lp(ptr noundef nonnull %0, i32 noundef %7) #4 %9 = call i32 @efx_link_state_equal(ptr noundef nonnull %0, ptr noundef nonnull %2) #4 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; 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 @sfx7101_link_ok(ptr noundef) local_unnamed_addr #3 declare i32 @efx_mdio_get_pause(ptr noundef) local_unnamed_addr #3 declare i32 @sfx7101_check_bad_lp(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @efx_link_state_equal(ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{i64 0, i64 4, !7, i64 4, i64 4, !7, i64 8, i64 4, !7, i64 12, i64 4, !7} !7 = !{!8, !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"efx_nic", !13, i64 0} !13 = !{!"efx_link_state", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !14 = !{!12, !8, i64 12}
fastsocket_kernel_drivers_net_sfc_extr_tenxpress.c_tenxpress_phy_poll
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_ai_main.c_BotEntityInfo.c' source_filename = "AnghaBench/lab/engine/code/game/extr_ai_main.c_BotEntityInfo.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" ; Function Attrs: nounwind uwtable define dso_local void @BotEntityInfo(i32 noundef %0, i32* noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @trap_AAS_EntityInfo(i32 noundef %0, i32* noundef %1) #2 ret void } declare i32 @trap_AAS_EntityInfo(i32 noundef, i32* noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_ai_main.c_BotEntityInfo.c' source_filename = "AnghaBench/lab/engine/code/game/extr_ai_main.c_BotEntityInfo.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 @BotEntityInfo(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @trap_AAS_EntityInfo(i32 noundef %0, ptr noundef %1) #2 ret void } declare i32 @trap_AAS_EntityInfo(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)"}
lab_engine_code_game_extr_ai_main.c_BotEntityInfo
; ModuleID = 'AnghaBench/RetroArch/menu/drivers/ozone/extr_ozone_display.c_ozone_draw_cursor_slice.c' source_filename = "AnghaBench/RetroArch/menu/drivers/ozone/extr_ozone_display.c_ozone_draw_cursor_slice.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { ptr, %struct.TYPE_11__, ptr } %struct.TYPE_11__ = type { i32, i32 } %struct.TYPE_12__ = type { i32, i32 } @OZONE_THEME_TEXTURE_CURSOR_NO_BORDER = dso_local local_unnamed_addr global i64 0, align 8 @OZONE_TEXTURE_CURSOR_BORDER = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ozone_draw_cursor_slice], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ozone_draw_cursor_slice(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5, float noundef %6) #0 { %8 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %9 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = tail call i32 @menu_display_set_alpha(i32 noundef %10, float noundef %6) #2 %12 = load i32, ptr %8, align 8, !tbaa !12 %13 = tail call i32 @menu_display_set_alpha(i32 noundef %12, float noundef %6) #2 %14 = tail call i32 @menu_display_blend_begin(ptr noundef %1) #2 %15 = add nsw i32 %2, -14 %16 = trunc i64 %5 to i32 %17 = add i32 %16, 8 %18 = add i32 %3, 27 %19 = add i32 %4, 20 %20 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !13 %22 = load i32, ptr %1, align 4, !tbaa !15 %23 = load i32, ptr %9, align 4, !tbaa !5 %24 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2 %25 = load ptr, ptr %24, align 8, !tbaa !16 %26 = load ptr, ptr %25, align 8, !tbaa !17 %27 = load i64, ptr @OZONE_THEME_TEXTURE_CURSOR_NO_BORDER, align 8, !tbaa !19 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !21 %30 = tail call i32 @menu_display_draw_texture_slice(ptr noundef nonnull %1, i32 noundef %15, i32 noundef %17, i32 noundef 80, i32 noundef 80, i32 noundef %18, i32 noundef %19, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 20, double noundef 1.000000e+00, i32 noundef %29) #2 %31 = load i32, ptr %20, align 4, !tbaa !13 %32 = load i32, ptr %1, align 4, !tbaa !15 %33 = load i32, ptr %8, align 8, !tbaa !12 %34 = load ptr, ptr %0, align 8, !tbaa !22 %35 = load i64, ptr @OZONE_TEXTURE_CURSOR_BORDER, align 8, !tbaa !19 %36 = getelementptr inbounds i32, ptr %34, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !21 %38 = tail call i32 @menu_display_draw_texture_slice(ptr noundef nonnull %1, i32 noundef %15, i32 noundef %17, i32 noundef 80, i32 noundef 80, i32 noundef %18, i32 noundef %19, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef 20, double noundef 1.000000e+00, i32 noundef %37) #2 %39 = tail call i32 @menu_display_blend_end(ptr noundef nonnull %1) #2 ret void } declare i32 @menu_display_set_alpha(i32 noundef, float noundef) local_unnamed_addr #1 declare i32 @menu_display_blend_begin(ptr noundef) local_unnamed_addr #1 declare i32 @menu_display_draw_texture_slice(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, i32 noundef) local_unnamed_addr #1 declare i32 @menu_display_blend_end(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 12} !6 = !{!"TYPE_13__", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_11__", !11, i64 0, !11, i64 4} !11 = !{!"int", !8, i64 0} !12 = !{!6, !11, i64 8} !13 = !{!14, !11, i64 4} !14 = !{!"TYPE_12__", !11, i64 0, !11, i64 4} !15 = !{!14, !11, i64 0} !16 = !{!6, !7, i64 16} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_10__", !7, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"long", !8, i64 0} !21 = !{!11, !11, i64 0} !22 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/menu/drivers/ozone/extr_ozone_display.c_ozone_draw_cursor_slice.c' source_filename = "AnghaBench/RetroArch/menu/drivers/ozone/extr_ozone_display.c_ozone_draw_cursor_slice.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OZONE_THEME_TEXTURE_CURSOR_NO_BORDER = common local_unnamed_addr global i64 0, align 8 @OZONE_TEXTURE_CURSOR_BORDER = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ozone_draw_cursor_slice], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ozone_draw_cursor_slice(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5, float noundef %6) #0 { %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = getelementptr inbounds i8, ptr %0, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = tail call i32 @menu_display_set_alpha(i32 noundef %10, float noundef %6) #2 %12 = load i32, ptr %8, align 8, !tbaa !13 %13 = tail call i32 @menu_display_set_alpha(i32 noundef %12, float noundef %6) #2 %14 = tail call i32 @menu_display_blend_begin(ptr noundef %1) #2 %15 = add nsw i32 %2, -14 %16 = trunc i64 %5 to i32 %17 = add i32 %16, 8 %18 = add i32 %3, 27 %19 = add i32 %4, 20 %20 = getelementptr inbounds i8, ptr %1, i64 4 %21 = load i32, ptr %20, align 4, !tbaa !14 %22 = load i32, ptr %1, align 4, !tbaa !16 %23 = load i32, ptr %9, align 4, !tbaa !6 %24 = getelementptr inbounds i8, ptr %0, i64 16 %25 = load ptr, ptr %24, align 8, !tbaa !17 %26 = load ptr, ptr %25, align 8, !tbaa !18 %27 = load i64, ptr @OZONE_THEME_TEXTURE_CURSOR_NO_BORDER, align 8, !tbaa !20 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !22 %30 = tail call i32 @menu_display_draw_texture_slice(ptr noundef nonnull %1, i32 noundef %15, i32 noundef %17, i32 noundef 80, i32 noundef 80, i32 noundef %18, i32 noundef %19, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 20, double noundef 1.000000e+00, i32 noundef %29) #2 %31 = load i32, ptr %20, align 4, !tbaa !14 %32 = load i32, ptr %1, align 4, !tbaa !16 %33 = load i32, ptr %8, align 8, !tbaa !13 %34 = load ptr, ptr %0, align 8, !tbaa !23 %35 = load i64, ptr @OZONE_TEXTURE_CURSOR_BORDER, align 8, !tbaa !20 %36 = getelementptr inbounds i32, ptr %34, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !22 %38 = tail call i32 @menu_display_draw_texture_slice(ptr noundef nonnull %1, i32 noundef %15, i32 noundef %17, i32 noundef 80, i32 noundef 80, i32 noundef %18, i32 noundef %19, i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef 20, double noundef 1.000000e+00, i32 noundef %37) #2 %39 = tail call i32 @menu_display_blend_end(ptr noundef nonnull %1) #2 ret void } declare i32 @menu_display_set_alpha(i32 noundef, float noundef) local_unnamed_addr #1 declare i32 @menu_display_blend_begin(ptr noundef) local_unnamed_addr #1 declare i32 @menu_display_draw_texture_slice(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, i32 noundef) local_unnamed_addr #1 declare i32 @menu_display_blend_end(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 12} !7 = !{!"TYPE_13__", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_11__", !12, i64 0, !12, i64 4} !12 = !{!"int", !9, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!15, !12, i64 4} !15 = !{!"TYPE_12__", !12, i64 0, !12, i64 4} !16 = !{!15, !12, i64 0} !17 = !{!7, !8, i64 16} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_10__", !8, i64 0} !20 = !{!21, !21, i64 0} !21 = !{!"long", !9, i64 0} !22 = !{!12, !12, i64 0} !23 = !{!7, !8, i64 0}
RetroArch_menu_drivers_ozone_extr_ozone_display.c_ozone_draw_cursor_slice
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_pushstr.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_pushstr.c" target datalayout = "e-m:e-p270:32:32-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 @pushstr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pushstr(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @luaS_new(ptr noundef nonnull %0, ptr noundef %1) #2 %5 = tail call i32 @setsvalue(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4) #2 %6 = tail call i32 @incr_top(ptr noundef nonnull %0) #2 ret void } declare i32 @setsvalue(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaS_new(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @incr_top(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_pushstr.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_pushstr.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 @pushstr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pushstr(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @luaS_new(ptr noundef nonnull %0, ptr noundef %1) #2 %5 = tail call i32 @setsvalue(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4) #2 %6 = tail call i32 @incr_top(ptr noundef nonnull %0) #2 ret void } declare i32 @setsvalue(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaS_new(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @incr_top(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
xLua_build_luajit-2.1.0b2_src_host_extr_minilua.c_pushstr
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_init_scbdata.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_init_scbdata.c" target datalayout = "e-m:e-p270:32:32-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.ahd_softc = type { i32, %struct.scb_data } %struct.scb_data = type { i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32 } @AHD_NUM_TARGETS = dso_local local_unnamed_addr global i32 0, align 4 @AHD_NUM_LUNS_NONPKT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"%s: No SCB space found\0A\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @BUS_SPACE_MAXADDR_32BIT = dso_local local_unnamed_addr global i64 0, align 8 @BUS_SPACE_MAXADDR = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @BUS_SPACE_MAXSIZE_32BIT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [56 x i8] c"%s: ahd_init_scbdata - Unable to allocate initial scbs\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @AHD_SHOW_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @ahd_debug = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ahd_init_scbdata], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ahd_init_scbdata(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1 %3 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 11 %4 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %3) #3 %5 = load i32, ptr @AHD_NUM_TARGETS, align 4, !tbaa !5 %6 = load i32, ptr @AHD_NUM_LUNS_NONPKT, align 4, !tbaa !5 %7 = mul nsw i32 %6, %5 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %22 9: ; preds = %1 %10 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 10 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %16, %11 ] %13 = load ptr, ptr %10, align 8, !tbaa !9 %14 = getelementptr inbounds i32, ptr %13, i64 %12 %15 = tail call i32 @LIST_INIT(ptr noundef %14) #3 %16 = add nuw nsw i64 %12, 1 %17 = load i32, ptr @AHD_NUM_TARGETS, align 4, !tbaa !5 %18 = load i32, ptr @AHD_NUM_LUNS_NONPKT, align 4, !tbaa !5 %19 = mul nsw i32 %18, %17 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %16, %20 br i1 %21, label %11, label %22, !llvm.loop !13 22: ; preds = %11, %1 %23 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 9 %24 = tail call i32 @LIST_INIT(ptr noundef nonnull %23) #3 %25 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 8 %26 = tail call i32 @SLIST_INIT(ptr noundef nonnull %25) #3 %27 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 7 %28 = tail call i32 @SLIST_INIT(ptr noundef nonnull %27) #3 %29 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 6 %30 = tail call i32 @SLIST_INIT(ptr noundef nonnull %29) #3 %31 = tail call i64 @ahd_probe_scbs(ptr noundef %0) #3 store i64 %31, ptr %2, align 8, !tbaa !15 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %22 %34 = tail call ptr @ahd_name(ptr noundef nonnull %0) #3 %35 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %34) %36 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %85 37: ; preds = %22 %38 = tail call i32 @ahd_initialize_hscbs(ptr noundef nonnull %0) #3 %39 = load i32, ptr %0, align 8, !tbaa !16 %40 = load i64, ptr @BUS_SPACE_MAXADDR_32BIT, align 8, !tbaa !18 %41 = add nsw i64 %40, 1 %42 = load i32, ptr @BUS_SPACE_MAXADDR, align 4, !tbaa !5 %43 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %44 = load i32, ptr @BUS_SPACE_MAXSIZE_32BIT, align 4, !tbaa !5 %45 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 5 %46 = tail call i64 @ahd_dma_tag_create(ptr noundef nonnull %0, i32 noundef %39, i32 noundef 1, i64 noundef %41, i64 noundef %40, i32 noundef %42, ptr noundef null, ptr noundef null, i32 noundef %43, i32 noundef 1, i32 noundef %44, i32 noundef 0, ptr noundef nonnull %45) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %83 48: ; preds = %37 %49 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 2 %50 = load i32, ptr %49, align 8, !tbaa !19 %51 = add nsw i32 %50, 1 store i32 %51, ptr %49, align 8, !tbaa !19 %52 = load i32, ptr %0, align 8, !tbaa !16 %53 = load i64, ptr @BUS_SPACE_MAXADDR_32BIT, align 8, !tbaa !18 %54 = add nsw i64 %53, 1 %55 = load i32, ptr @BUS_SPACE_MAXADDR, align 4, !tbaa !5 %56 = tail call i32 @ahd_sglist_allocsize(ptr noundef nonnull %0) #3 %57 = load i32, ptr @BUS_SPACE_MAXSIZE_32BIT, align 4, !tbaa !5 %58 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 4 %59 = tail call i64 @ahd_dma_tag_create(ptr noundef nonnull %0, i32 noundef %52, i32 noundef 8, i64 noundef %54, i64 noundef %53, i32 noundef %55, ptr noundef null, ptr noundef null, i32 noundef %56, i32 noundef 1, i32 noundef %57, i32 noundef 0, ptr noundef nonnull %58) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %83 61: ; preds = %48 %62 = load i32, ptr %49, align 8, !tbaa !19 %63 = add nsw i32 %62, 1 store i32 %63, ptr %49, align 8, !tbaa !19 %64 = load i32, ptr %0, align 8, !tbaa !16 %65 = load i64, ptr @BUS_SPACE_MAXADDR_32BIT, align 8, !tbaa !18 %66 = add nsw i64 %65, 1 %67 = load i32, ptr @BUS_SPACE_MAXADDR, align 4, !tbaa !5 %68 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %69 = load i32, ptr @BUS_SPACE_MAXSIZE_32BIT, align 4, !tbaa !5 %70 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 3 %71 = tail call i64 @ahd_dma_tag_create(ptr noundef nonnull %0, i32 noundef %64, i32 noundef 1, i64 noundef %66, i64 noundef %65, i32 noundef %67, ptr noundef null, ptr noundef null, i32 noundef %68, i32 noundef 1, i32 noundef %69, i32 noundef 0, ptr noundef nonnull %70) #3 %72 = icmp eq i64 %71, 0 br i1 %72, label %73, label %83 73: ; preds = %61 %74 = load i32, ptr %49, align 8, !tbaa !19 %75 = add nsw i32 %74, 1 store i32 %75, ptr %49, align 8, !tbaa !19 %76 = tail call i32 @ahd_alloc_scbs(ptr noundef nonnull %0) #3 %77 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1, i32 1 %78 = load i64, ptr %77, align 8, !tbaa !20 %79 = icmp eq i64 %78, 0 br i1 %79, label %80, label %85 80: ; preds = %73 %81 = tail call ptr @ahd_name(ptr noundef nonnull %0) #3 %82 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %81) br label %83 83: ; preds = %61, %48, %37, %80 %84 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %85 85: ; preds = %73, %83, %33 %86 = phi i32 [ %36, %33 ], [ %84, %83 ], [ 0, %73 ] ret i32 %86 } declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @LIST_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @SLIST_INIT(ptr noundef) local_unnamed_addr #1 declare i64 @ahd_probe_scbs(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #2 declare ptr @ahd_name(ptr noundef) local_unnamed_addr #1 declare i32 @ahd_initialize_hscbs(ptr noundef) local_unnamed_addr #1 declare i64 @ahd_dma_tag_create(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ahd_sglist_allocsize(ptr noundef) local_unnamed_addr #1 declare i32 @ahd_alloc_scbs(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 48} !10 = !{!"scb_data", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !12, i64 48, !6, i64 56} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!10, !11, i64 0} !16 = !{!17, !6, i64 0} !17 = !{!"ahd_softc", !6, i64 0, !10, i64 8} !18 = !{!11, !11, i64 0} !19 = !{!10, !6, i64 16} !20 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_init_scbdata.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_init_scbdata.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AHD_NUM_TARGETS = common local_unnamed_addr global i32 0, align 4 @AHD_NUM_LUNS_NONPKT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"%s: No SCB space found\0A\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @BUS_SPACE_MAXADDR_32BIT = common local_unnamed_addr global i64 0, align 8 @BUS_SPACE_MAXADDR = common local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @BUS_SPACE_MAXSIZE_32BIT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [56 x i8] c"%s: ahd_init_scbdata - Unable to allocate initial scbs\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @AHD_SHOW_MEMORY = common local_unnamed_addr global i32 0, align 4 @ahd_debug = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ahd_init_scbdata], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ahd_init_scbdata(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = getelementptr inbounds i8, ptr %0, i64 64 %4 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %3) #3 %5 = load i32, ptr @AHD_NUM_TARGETS, align 4, !tbaa !6 %6 = load i32, ptr @AHD_NUM_LUNS_NONPKT, align 4, !tbaa !6 %7 = mul nsw i32 %6, %5 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %22 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 56 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %16, %11 ] %13 = load ptr, ptr %10, align 8, !tbaa !10 %14 = getelementptr inbounds i32, ptr %13, i64 %12 %15 = tail call i32 @LIST_INIT(ptr noundef %14) #3 %16 = add nuw nsw i64 %12, 1 %17 = load i32, ptr @AHD_NUM_TARGETS, align 4, !tbaa !6 %18 = load i32, ptr @AHD_NUM_LUNS_NONPKT, align 4, !tbaa !6 %19 = mul nsw i32 %18, %17 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %16, %20 br i1 %21, label %11, label %22, !llvm.loop !14 22: ; preds = %11, %1 %23 = getelementptr inbounds i8, ptr %0, i64 52 %24 = tail call i32 @LIST_INIT(ptr noundef nonnull %23) #3 %25 = getelementptr inbounds i8, ptr %0, i64 48 %26 = tail call i32 @SLIST_INIT(ptr noundef nonnull %25) #3 %27 = getelementptr inbounds i8, ptr %0, i64 44 %28 = tail call i32 @SLIST_INIT(ptr noundef nonnull %27) #3 %29 = getelementptr inbounds i8, ptr %0, i64 40 %30 = tail call i32 @SLIST_INIT(ptr noundef nonnull %29) #3 %31 = tail call i64 @ahd_probe_scbs(ptr noundef %0) #3 store i64 %31, ptr %2, align 8, !tbaa !16 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %22 %34 = tail call ptr @ahd_name(ptr noundef nonnull %0) #3 %35 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %34) %36 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %85 37: ; preds = %22 %38 = tail call i32 @ahd_initialize_hscbs(ptr noundef nonnull %0) #3 %39 = load i32, ptr %0, align 8, !tbaa !17 %40 = load i64, ptr @BUS_SPACE_MAXADDR_32BIT, align 8, !tbaa !19 %41 = add nsw i64 %40, 1 %42 = load i32, ptr @BUS_SPACE_MAXADDR, align 4, !tbaa !6 %43 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %44 = load i32, ptr @BUS_SPACE_MAXSIZE_32BIT, align 4, !tbaa !6 %45 = getelementptr inbounds i8, ptr %0, i64 36 %46 = tail call i64 @ahd_dma_tag_create(ptr noundef nonnull %0, i32 noundef %39, i32 noundef 1, i64 noundef %41, i64 noundef %40, i32 noundef %42, ptr noundef null, ptr noundef null, i32 noundef %43, i32 noundef 1, i32 noundef %44, i32 noundef 0, ptr noundef nonnull %45) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %83 48: ; preds = %37 %49 = getelementptr inbounds i8, ptr %0, i64 24 %50 = load i32, ptr %49, align 8, !tbaa !20 %51 = add nsw i32 %50, 1 store i32 %51, ptr %49, align 8, !tbaa !20 %52 = load i32, ptr %0, align 8, !tbaa !17 %53 = load i64, ptr @BUS_SPACE_MAXADDR_32BIT, align 8, !tbaa !19 %54 = add nsw i64 %53, 1 %55 = load i32, ptr @BUS_SPACE_MAXADDR, align 4, !tbaa !6 %56 = tail call i32 @ahd_sglist_allocsize(ptr noundef nonnull %0) #3 %57 = load i32, ptr @BUS_SPACE_MAXSIZE_32BIT, align 4, !tbaa !6 %58 = getelementptr inbounds i8, ptr %0, i64 32 %59 = tail call i64 @ahd_dma_tag_create(ptr noundef nonnull %0, i32 noundef %52, i32 noundef 8, i64 noundef %54, i64 noundef %53, i32 noundef %55, ptr noundef null, ptr noundef null, i32 noundef %56, i32 noundef 1, i32 noundef %57, i32 noundef 0, ptr noundef nonnull %58) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %83 61: ; preds = %48 %62 = load i32, ptr %49, align 8, !tbaa !20 %63 = add nsw i32 %62, 1 store i32 %63, ptr %49, align 8, !tbaa !20 %64 = load i32, ptr %0, align 8, !tbaa !17 %65 = load i64, ptr @BUS_SPACE_MAXADDR_32BIT, align 8, !tbaa !19 %66 = add nsw i64 %65, 1 %67 = load i32, ptr @BUS_SPACE_MAXADDR, align 4, !tbaa !6 %68 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %69 = load i32, ptr @BUS_SPACE_MAXSIZE_32BIT, align 4, !tbaa !6 %70 = getelementptr inbounds i8, ptr %0, i64 28 %71 = tail call i64 @ahd_dma_tag_create(ptr noundef nonnull %0, i32 noundef %64, i32 noundef 1, i64 noundef %66, i64 noundef %65, i32 noundef %67, ptr noundef null, ptr noundef null, i32 noundef %68, i32 noundef 1, i32 noundef %69, i32 noundef 0, ptr noundef nonnull %70) #3 %72 = icmp eq i64 %71, 0 br i1 %72, label %73, label %83 73: ; preds = %61 %74 = load i32, ptr %49, align 8, !tbaa !20 %75 = add nsw i32 %74, 1 store i32 %75, ptr %49, align 8, !tbaa !20 %76 = tail call i32 @ahd_alloc_scbs(ptr noundef nonnull %0) #3 %77 = getelementptr inbounds i8, ptr %0, i64 16 %78 = load i64, ptr %77, align 8, !tbaa !21 %79 = icmp eq i64 %78, 0 br i1 %79, label %80, label %85 80: ; preds = %73 %81 = tail call ptr @ahd_name(ptr noundef nonnull %0) #3 %82 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %81) br label %83 83: ; preds = %61, %48, %37, %80 %84 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %85 85: ; preds = %73, %83, %33 %86 = phi i32 [ %36, %33 ], [ %84, %83 ], [ 0, %73 ] ret i32 %86 } declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @LIST_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @SLIST_INIT(ptr noundef) local_unnamed_addr #1 declare i64 @ahd_probe_scbs(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #2 declare ptr @ahd_name(ptr noundef) local_unnamed_addr #1 declare i32 @ahd_initialize_hscbs(ptr noundef) local_unnamed_addr #1 declare i64 @ahd_dma_tag_create(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ahd_sglist_allocsize(ptr noundef) local_unnamed_addr #1 declare i32 @ahd_alloc_scbs(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 48} !11 = !{!"scb_data", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !13, i64 48, !7, i64 56} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!11, !12, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"ahd_softc", !7, i64 0, !11, i64 8} !19 = !{!12, !12, i64 0} !20 = !{!11, !7, i64 16} !21 = !{!11, !12, i64 8}
fastsocket_kernel_drivers_scsi_aic7xxx_extr_aic79xx_core.c_ahd_init_scbdata
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkdlinkfw-lib.c_jboot_checksum.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkdlinkfw-lib.c_jboot_checksum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local i32 @jboot_checksum(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 1 br i1 %4, label %5, label %22 5: ; preds = %3, %18 %6 = phi ptr [ %11, %18 ], [ %1, %3 ] %7 = phi i32 [ %19, %18 ], [ %0, %3 ] %8 = phi i32 [ %20, %18 ], [ %2, %3 ] %9 = load i32, ptr %6, align 4, !tbaa !5 %10 = add nsw i32 %9, %7 %11 = getelementptr inbounds i32, ptr %6, i64 1 %12 = icmp ult i32 %10, 65536 br i1 %12, label %18, label %13 13: ; preds = %5, %13 %14 = phi i32 [ %16, %13 ], [ %10, %5 ] %15 = ashr i32 %14, 16 %16 = add nsw i32 %15, %14 %17 = icmp ult i32 %16, 65536 br i1 %17, label %18, label %13, !llvm.loop !9 18: ; preds = %13, %5 %19 = phi i32 [ %10, %5 ], [ %16, %13 ] %20 = add nsw i32 %8, -2 %21 = icmp sgt i32 %8, 3 br i1 %21, label %5, label %22, !llvm.loop !11 22: ; preds = %18, %3 %23 = phi i32 [ %2, %3 ], [ %20, %18 ] %24 = phi i32 [ %0, %3 ], [ %19, %18 ] %25 = phi ptr [ %1, %3 ], [ %11, %18 ] %26 = icmp eq i32 %23, 1 br i1 %26, label %27, label %32 27: ; preds = %22 %28 = load i64, ptr %25, align 8, !tbaa !12 %29 = trunc i64 %28 to i32 %30 = add i32 %24, -255 %31 = add i32 %30, %29 br label %32 32: ; preds = %27, %22 %33 = phi i32 [ %31, %27 ], [ %24, %22 ] %34 = icmp ult i32 %33, 65536 br i1 %34, label %40, label %35 35: ; preds = %32, %35 %36 = phi i32 [ %38, %35 ], [ %33, %32 ] %37 = ashr i32 %36, 16 %38 = add nsw i32 %37, %36 %39 = icmp ult i32 %38, 65536 br i1 %39, label %40, label %35, !llvm.loop !14 40: ; preds = %35, %32 %41 = phi i32 [ %33, %32 ], [ %38, %35 ] ret i32 %41 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = distinct !{!14, !10}
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkdlinkfw-lib.c_jboot_checksum.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkdlinkfw-lib.c_jboot_checksum.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define i32 @jboot_checksum(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 1 br i1 %4, label %5, label %22 5: ; preds = %3, %18 %6 = phi ptr [ %11, %18 ], [ %1, %3 ] %7 = phi i32 [ %19, %18 ], [ %0, %3 ] %8 = phi i32 [ %20, %18 ], [ %2, %3 ] %9 = load i32, ptr %6, align 4, !tbaa !6 %10 = add nsw i32 %9, %7 %11 = getelementptr inbounds i8, ptr %6, i64 4 %12 = icmp ult i32 %10, 65536 br i1 %12, label %18, label %13 13: ; preds = %5, %13 %14 = phi i32 [ %16, %13 ], [ %10, %5 ] %15 = ashr i32 %14, 16 %16 = add nsw i32 %15, %14 %17 = icmp ult i32 %16, 65536 br i1 %17, label %18, label %13, !llvm.loop !10 18: ; preds = %13, %5 %19 = phi i32 [ %10, %5 ], [ %16, %13 ] %20 = add nsw i32 %8, -2 %21 = icmp sgt i32 %8, 3 br i1 %21, label %5, label %22, !llvm.loop !12 22: ; preds = %18, %3 %23 = phi i32 [ %2, %3 ], [ %20, %18 ] %24 = phi i32 [ %0, %3 ], [ %19, %18 ] %25 = phi ptr [ %1, %3 ], [ %11, %18 ] %26 = icmp eq i32 %23, 1 br i1 %26, label %27, label %32 27: ; preds = %22 %28 = load i64, ptr %25, align 8, !tbaa !13 %29 = trunc i64 %28 to i32 %30 = add i32 %24, -255 %31 = add i32 %30, %29 br label %32 32: ; preds = %27, %22 %33 = phi i32 [ %31, %27 ], [ %24, %22 ] %34 = icmp ult i32 %33, 65536 br i1 %34, label %40, label %35 35: ; preds = %32, %35 %36 = phi i32 [ %38, %35 ], [ %33, %32 ] %37 = ashr i32 %36, 16 %38 = add nsw i32 %37, %36 %39 = icmp ult i32 %38, 65536 br i1 %39, label %40, label %35, !llvm.loop !15 40: ; preds = %35, %32 %41 = phi i32 [ %33, %32 ], [ %38, %35 ] ret i32 %41 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = distinct !{!15, !11}
openwrt_tools_firmware-utils_src_extr_mkdlinkfw-lib.c_jboot_checksum
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_initio.c_initio_sync_done.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_initio.c_initio_sync_done.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.initio_host = type { ptr, i64, ptr } %struct.TYPE_2__ = type { i32, i32, i32 } @TCF_SYNC_DONE = dso_local local_unnamed_addr global i32 0, align 4 @initio_rate_tbl = dso_local local_unnamed_addr global ptr null, align 8 @TSC_ALT_PERIOD = dso_local local_unnamed_addr global i32 0, align 4 @TUL_SConfig = dso_local local_unnamed_addr global i64 0, align 8 @TUL_SPeriod = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @initio_sync_done], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @initio_sync_done(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @TCF_SYNC_DONE, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.initio_host, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !9 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = or i32 %6, %2 store i32 %7, ptr %5, align 4, !tbaa !13 %8 = load ptr, ptr %0, align 8, !tbaa !15 %9 = getelementptr inbounds i32, ptr %8, i64 3 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !16 br label %59 15: ; preds = %1 %16 = load i32, ptr %4, align 4, !tbaa !17 %17 = or i32 %16, %10 store i32 %17, ptr %4, align 4, !tbaa !17 %18 = load ptr, ptr @initio_rate_tbl, align 8, !tbaa !18 %19 = getelementptr inbounds i32, ptr %8, i64 2 %20 = load i32, ptr %19, align 4, !tbaa !5 %21 = load i32, ptr %18, align 4, !tbaa !5 %22 = icmp slt i32 %21, %20 br i1 %22, label %23, label %52 23: ; preds = %15 %24 = getelementptr inbounds i32, ptr %18, i64 1 %25 = load i32, ptr %24, align 4, !tbaa !5 %26 = icmp slt i32 %25, %20 br i1 %26, label %27, label %52 27: ; preds = %23 %28 = getelementptr inbounds i32, ptr %18, i64 2 %29 = load i32, ptr %28, align 4, !tbaa !5 %30 = icmp slt i32 %29, %20 br i1 %30, label %31, label %52 31: ; preds = %27 %32 = getelementptr inbounds i32, ptr %18, i64 3 %33 = load i32, ptr %32, align 4, !tbaa !5 %34 = icmp slt i32 %33, %20 br i1 %34, label %35, label %52 35: ; preds = %31 %36 = getelementptr inbounds i32, ptr %18, i64 4 %37 = load i32, ptr %36, align 4, !tbaa !5 %38 = icmp slt i32 %37, %20 br i1 %38, label %39, label %52 39: ; preds = %35 %40 = getelementptr inbounds i32, ptr %18, i64 5 %41 = load i32, ptr %40, align 4, !tbaa !5 %42 = icmp slt i32 %41, %20 br i1 %42, label %43, label %52 43: ; preds = %39 %44 = getelementptr inbounds i32, ptr %18, i64 6 %45 = load i32, ptr %44, align 4, !tbaa !5 %46 = icmp slt i32 %45, %20 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = getelementptr inbounds i32, ptr %18, i64 7 %49 = load i32, ptr %48, align 4, !tbaa !5 %50 = icmp slt i32 %49, %20 %51 = select i1 %50, i32 128, i32 112 br label %52 52: ; preds = %47, %43, %39, %35, %31, %27, %23, %15 %53 = phi i32 [ 0, %15 ], [ 16, %23 ], [ 32, %27 ], [ 48, %31 ], [ 64, %35 ], [ 80, %39 ], [ 96, %43 ], [ %51, %47 ] %54 = or i32 %53, %17 store i32 %54, ptr %4, align 4, !tbaa !17 %55 = load i32, ptr @TSC_ALT_PERIOD, align 4, !tbaa !5 %56 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 %57 = load i32, ptr %56, align 4, !tbaa !16 %58 = or i32 %57, %55 store i32 %58, ptr %56, align 4, !tbaa !16 br label %59 59: ; preds = %12, %52 %60 = phi i32 [ %14, %12 ], [ %58, %52 ] %61 = getelementptr inbounds %struct.initio_host, ptr %0, i64 0, i32 1 %62 = load i64, ptr %61, align 8, !tbaa !19 %63 = load i64, ptr @TUL_SConfig, align 8, !tbaa !20 %64 = add nsw i64 %63, %62 %65 = tail call i32 @outb(i32 noundef %60, i64 noundef %64) #2 %66 = load ptr, ptr %3, align 8, !tbaa !9 %67 = load i32, ptr %66, align 4, !tbaa !17 %68 = load i64, ptr %61, align 8, !tbaa !19 %69 = load i64, ptr @TUL_SPeriod, align 8, !tbaa !20 %70 = add nsw i64 %69, %68 %71 = tail call i32 @outb(i32 noundef %67, i64 noundef %70) #2 ret i32 -1 } declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 16} !10 = !{!"initio_host", !11, i64 0, !12, i64 8, !11, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !6, i64 8} !14 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8} !15 = !{!10, !11, i64 0} !16 = !{!14, !6, i64 4} !17 = !{!14, !6, i64 0} !18 = !{!11, !11, i64 0} !19 = !{!10, !12, i64 8} !20 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_initio.c_initio_sync_done.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_initio.c_initio_sync_done.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCF_SYNC_DONE = common local_unnamed_addr global i32 0, align 4 @initio_rate_tbl = common local_unnamed_addr global ptr null, align 8 @TSC_ALT_PERIOD = common local_unnamed_addr global i32 0, align 4 @TUL_SConfig = common local_unnamed_addr global i64 0, align 8 @TUL_SPeriod = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @initio_sync_done], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @initio_sync_done(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @TCF_SYNC_DONE, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !14 %7 = or i32 %6, %2 store i32 %7, ptr %5, align 4, !tbaa !14 %8 = load ptr, ptr %0, align 8, !tbaa !16 %9 = getelementptr inbounds i8, ptr %8, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = getelementptr inbounds i8, ptr %4, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !17 br label %59 15: ; preds = %1 %16 = load i32, ptr %4, align 4, !tbaa !18 %17 = or i32 %16, %10 store i32 %17, ptr %4, align 4, !tbaa !18 %18 = load ptr, ptr @initio_rate_tbl, align 8, !tbaa !19 %19 = getelementptr inbounds i8, ptr %8, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !6 %21 = load i32, ptr %18, align 4, !tbaa !6 %22 = icmp slt i32 %21, %20 br i1 %22, label %23, label %52 23: ; preds = %15 %24 = getelementptr inbounds i8, ptr %18, i64 4 %25 = load i32, ptr %24, align 4, !tbaa !6 %26 = icmp slt i32 %25, %20 br i1 %26, label %27, label %52 27: ; preds = %23 %28 = getelementptr inbounds i8, ptr %18, i64 8 %29 = load i32, ptr %28, align 4, !tbaa !6 %30 = icmp slt i32 %29, %20 br i1 %30, label %31, label %52 31: ; preds = %27 %32 = getelementptr inbounds i8, ptr %18, i64 12 %33 = load i32, ptr %32, align 4, !tbaa !6 %34 = icmp slt i32 %33, %20 br i1 %34, label %35, label %52 35: ; preds = %31 %36 = getelementptr inbounds i8, ptr %18, i64 16 %37 = load i32, ptr %36, align 4, !tbaa !6 %38 = icmp slt i32 %37, %20 br i1 %38, label %39, label %52 39: ; preds = %35 %40 = getelementptr inbounds i8, ptr %18, i64 20 %41 = load i32, ptr %40, align 4, !tbaa !6 %42 = icmp slt i32 %41, %20 br i1 %42, label %43, label %52 43: ; preds = %39 %44 = getelementptr inbounds i8, ptr %18, i64 24 %45 = load i32, ptr %44, align 4, !tbaa !6 %46 = icmp slt i32 %45, %20 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = getelementptr inbounds i8, ptr %18, i64 28 %49 = load i32, ptr %48, align 4, !tbaa !6 %50 = icmp slt i32 %49, %20 %51 = select i1 %50, i32 128, i32 112 br label %52 52: ; preds = %47, %43, %39, %35, %31, %27, %23, %15 %53 = phi i32 [ 0, %15 ], [ 16, %23 ], [ 32, %27 ], [ 48, %31 ], [ 64, %35 ], [ 80, %39 ], [ 96, %43 ], [ %51, %47 ] %54 = or i32 %53, %17 store i32 %54, ptr %4, align 4, !tbaa !18 %55 = load i32, ptr @TSC_ALT_PERIOD, align 4, !tbaa !6 %56 = getelementptr inbounds i8, ptr %4, i64 4 %57 = load i32, ptr %56, align 4, !tbaa !17 %58 = or i32 %57, %55 store i32 %58, ptr %56, align 4, !tbaa !17 br label %59 59: ; preds = %12, %52 %60 = phi i32 [ %14, %12 ], [ %58, %52 ] %61 = getelementptr inbounds i8, ptr %0, i64 8 %62 = load i64, ptr %61, align 8, !tbaa !20 %63 = load i64, ptr @TUL_SConfig, align 8, !tbaa !21 %64 = add nsw i64 %63, %62 %65 = tail call i32 @outb(i32 noundef %60, i64 noundef %64) #2 %66 = load ptr, ptr %3, align 8, !tbaa !10 %67 = load i32, ptr %66, align 4, !tbaa !18 %68 = load i64, ptr %61, align 8, !tbaa !20 %69 = load i64, ptr @TUL_SPeriod, align 8, !tbaa !21 %70 = add nsw i64 %69, %68 %71 = tail call i32 @outb(i32 noundef %67, i64 noundef %70) #2 ret i32 -1 } declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"initio_host", !12, i64 0, !13, i64 8, !12, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 8} !15 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8} !16 = !{!11, !12, i64 0} !17 = !{!15, !7, i64 4} !18 = !{!15, !7, i64 0} !19 = !{!12, !12, i64 0} !20 = !{!11, !13, i64 8} !21 = !{!13, !13, i64 0}
linux_drivers_scsi_extr_initio.c_initio_sync_done
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/extr_m0110.c_raw2scan.c' source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/extr_m0110.c_raw2scan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @M0110_NULL = dso_local local_unnamed_addr global i32 0, align 4 @M0110_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @raw2scan], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @raw2scan(i32 noundef %0) #0 { %2 = load i32, ptr @M0110_NULL, align 4, !tbaa !5 %3 = icmp eq i32 %2, %0 %4 = load i32, ptr @M0110_ERROR, align 4 %5 = icmp eq i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 %7 = and i32 %0, 128 %8 = lshr i32 %0, 1 %9 = and i32 %8, 63 %10 = or disjoint i32 %9, %7 %11 = select i1 %6, i32 %0, i32 %10 ret i32 %11 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/extr_m0110.c_raw2scan.c' source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/extr_m0110.c_raw2scan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M0110_NULL = common local_unnamed_addr global i32 0, align 4 @M0110_ERROR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @raw2scan], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @raw2scan(i32 noundef %0) #0 { %2 = load i32, ptr @M0110_NULL, align 4, !tbaa !6 %3 = icmp eq i32 %2, %0 %4 = load i32, ptr @M0110_ERROR, align 4 %5 = icmp eq i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 %7 = and i32 %0, 128 %8 = lshr i32 %0, 1 %9 = and i32 %8, 63 %10 = or disjoint i32 %9, %7 %11 = select i1 %6, i32 %0, i32 %10 ret i32 %11 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
qmk_firmware_tmk_core_protocol_extr_m0110.c_raw2scan
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/libsas/extr_sas_init.c_transport_sas_phy_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/libsas/extr_sas_init.c_transport_sas_phy_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" %struct.sas_phy = type { i64, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32 } %struct.sas_ha_struct = type { %struct.TYPE_6__, ptr } %struct.TYPE_6__ = type { ptr } @PHY_FUNC_HARD_RESET = dso_local local_unnamed_addr global i32 0, align 4 @PHY_FUNC_LINK_RESET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @transport_sas_phy_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @transport_sas_phy_reset(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp ne i32 %1, 0 %4 = load i32, ptr @PHY_FUNC_HARD_RESET, align 4 %5 = load i32, ptr @PHY_FUNC_LINK_RESET, align 4 %6 = select i1 %3, i32 %4, i32 %5 %7 = tail call i64 @scsi_is_sas_phy_local(ptr noundef %0) #2 %8 = icmp eq i64 %7, 0 %9 = getelementptr inbounds %struct.sas_phy, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !5 br i1 %8, label %29, label %11 11: ; preds = %2 %12 = tail call ptr @dev_to_shost(i32 noundef %10) #2 %13 = tail call ptr @SHOST_TO_SAS_HA(ptr noundef %12) #2 %14 = getelementptr inbounds %struct.sas_ha_struct, ptr %13, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = load i64, ptr %0, align 8, !tbaa !16 %17 = getelementptr inbounds ptr, ptr %15, i64 %16 %18 = load ptr, ptr %17, align 8, !tbaa !17 %19 = load ptr, ptr %13, align 8, !tbaa !18 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = tail call ptr @to_sas_internal(i32 noundef %20) #2 br i1 %3, label %25, label %22 22: ; preds = %11 %23 = tail call i64 @sas_try_ata_reset(ptr noundef %18) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %42, label %25 25: ; preds = %22, %11 %26 = load ptr, ptr %21, align 8, !tbaa !21 %27 = load ptr, ptr %26, align 8, !tbaa !23 %28 = tail call i32 %27(ptr noundef %18, i32 noundef %6, ptr noundef null) #2 br label %42 29: ; preds = %2 %30 = tail call ptr @dev_to_rphy(i32 noundef %10) #2 %31 = tail call ptr @sas_find_dev_by_rphy(ptr noundef %30) #2 %32 = load i64, ptr %0, align 8, !tbaa !16 %33 = tail call ptr @sas_ex_to_ata(ptr noundef %31, i64 noundef %32) #2 %34 = icmp eq ptr %33, null %35 = or i1 %3, %34 br i1 %35, label %39, label %36 36: ; preds = %29 %37 = tail call i32 @sas_ata_schedule_reset(ptr noundef nonnull %33) #2 %38 = tail call i32 @sas_ata_wait_eh(ptr noundef nonnull %33) #2 br label %42 39: ; preds = %29 %40 = load i64, ptr %0, align 8, !tbaa !16 %41 = tail call i32 @sas_smp_phy_control(ptr noundef %31, i64 noundef %40, i32 noundef %6, ptr noundef null) #2 br label %42 42: ; preds = %36, %39, %25, %22 %43 = phi i32 [ %28, %25 ], [ 0, %22 ], [ %41, %39 ], [ 0, %36 ] ret i32 %43 } declare i64 @scsi_is_sas_phy_local(ptr noundef) local_unnamed_addr #1 declare ptr @dev_to_shost(i32 noundef) local_unnamed_addr #1 declare ptr @SHOST_TO_SAS_HA(ptr noundef) local_unnamed_addr #1 declare ptr @to_sas_internal(i32 noundef) local_unnamed_addr #1 declare i64 @sas_try_ata_reset(ptr noundef) local_unnamed_addr #1 declare ptr @dev_to_rphy(i32 noundef) local_unnamed_addr #1 declare ptr @sas_find_dev_by_rphy(ptr noundef) local_unnamed_addr #1 declare ptr @sas_ex_to_ata(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @sas_ata_schedule_reset(ptr noundef) local_unnamed_addr #1 declare i32 @sas_ata_wait_eh(ptr noundef) local_unnamed_addr #1 declare i32 @sas_smp_phy_control(ptr noundef, i64 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, !11, i64 8} !6 = !{!"sas_phy", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_8__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !15, i64 8} !13 = !{!"sas_ha_struct", !14, i64 0, !15, i64 8} !14 = !{!"TYPE_6__", !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!6, !7, i64 0} !17 = !{!15, !15, i64 0} !18 = !{!13, !15, i64 0} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_5__", !11, i64 0} !21 = !{!22, !15, i64 0} !22 = !{!"sas_internal", !15, i64 0} !23 = !{!24, !15, i64 0} !24 = !{!"TYPE_7__", !15, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/libsas/extr_sas_init.c_transport_sas_phy_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/libsas/extr_sas_init.c_transport_sas_phy_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PHY_FUNC_HARD_RESET = common local_unnamed_addr global i32 0, align 4 @PHY_FUNC_LINK_RESET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @transport_sas_phy_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @transport_sas_phy_reset(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp ne i32 %1, 0 %4 = load i32, ptr @PHY_FUNC_HARD_RESET, align 4 %5 = load i32, ptr @PHY_FUNC_LINK_RESET, align 4 %6 = select i1 %3, i32 %4, i32 %5 %7 = tail call i64 @scsi_is_sas_phy_local(ptr noundef %0) #2 %8 = icmp eq i64 %7, 0 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !6 br i1 %8, label %29, label %11 11: ; preds = %2 %12 = tail call ptr @dev_to_shost(i32 noundef %10) #2 %13 = tail call ptr @SHOST_TO_SAS_HA(ptr noundef %12) #2 %14 = getelementptr inbounds i8, ptr %13, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = load i64, ptr %0, align 8, !tbaa !17 %17 = getelementptr inbounds ptr, ptr %15, i64 %16 %18 = load ptr, ptr %17, align 8, !tbaa !18 %19 = load ptr, ptr %13, align 8, !tbaa !19 %20 = load i32, ptr %19, align 4, !tbaa !20 %21 = tail call ptr @to_sas_internal(i32 noundef %20) #2 br i1 %3, label %25, label %22 22: ; preds = %11 %23 = tail call i64 @sas_try_ata_reset(ptr noundef %18) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %42, label %25 25: ; preds = %22, %11 %26 = load ptr, ptr %21, align 8, !tbaa !22 %27 = load ptr, ptr %26, align 8, !tbaa !24 %28 = tail call i32 %27(ptr noundef %18, i32 noundef %6, ptr noundef null) #2 br label %42 29: ; preds = %2 %30 = tail call ptr @dev_to_rphy(i32 noundef %10) #2 %31 = tail call ptr @sas_find_dev_by_rphy(ptr noundef %30) #2 %32 = load i64, ptr %0, align 8, !tbaa !17 %33 = tail call ptr @sas_ex_to_ata(ptr noundef %31, i64 noundef %32) #2 %34 = icmp eq ptr %33, null %35 = or i1 %3, %34 br i1 %35, label %39, label %36 36: ; preds = %29 %37 = tail call i32 @sas_ata_schedule_reset(ptr noundef nonnull %33) #2 %38 = tail call i32 @sas_ata_wait_eh(ptr noundef nonnull %33) #2 br label %42 39: ; preds = %29 %40 = load i64, ptr %0, align 8, !tbaa !17 %41 = tail call i32 @sas_smp_phy_control(ptr noundef %31, i64 noundef %40, i32 noundef %6, ptr noundef null) #2 br label %42 42: ; preds = %36, %39, %25, %22 %43 = phi i32 [ %28, %25 ], [ 0, %22 ], [ %41, %39 ], [ 0, %36 ] ret i32 %43 } declare i64 @scsi_is_sas_phy_local(ptr noundef) local_unnamed_addr #1 declare ptr @dev_to_shost(i32 noundef) local_unnamed_addr #1 declare ptr @SHOST_TO_SAS_HA(ptr noundef) local_unnamed_addr #1 declare ptr @to_sas_internal(i32 noundef) local_unnamed_addr #1 declare i64 @sas_try_ata_reset(ptr noundef) local_unnamed_addr #1 declare ptr @dev_to_rphy(i32 noundef) local_unnamed_addr #1 declare ptr @sas_find_dev_by_rphy(ptr noundef) local_unnamed_addr #1 declare ptr @sas_ex_to_ata(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @sas_ata_schedule_reset(ptr noundef) local_unnamed_addr #1 declare i32 @sas_ata_wait_eh(ptr noundef) local_unnamed_addr #1 declare i32 @sas_smp_phy_control(ptr noundef, i64 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, !12, i64 8} !7 = !{!"sas_phy", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !16, i64 8} !14 = !{!"sas_ha_struct", !15, i64 0, !16, i64 8} !15 = !{!"TYPE_6__", !16, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!7, !8, i64 0} !18 = !{!16, !16, i64 0} !19 = !{!14, !16, i64 0} !20 = !{!21, !12, i64 0} !21 = !{!"TYPE_5__", !12, i64 0} !22 = !{!23, !16, i64 0} !23 = !{!"sas_internal", !16, i64 0} !24 = !{!25, !16, i64 0} !25 = !{!"TYPE_7__", !16, i64 0}
fastsocket_kernel_drivers_scsi_libsas_extr_sas_init.c_transport_sas_phy_reset