IR_x86
stringlengths
592
249k
IR_arm
stringlengths
558
250k
filename
stringlengths
17
191
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_tdata.c_tdata_label_newmax_cb.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_tdata.c_tdata_label_newmax_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @tdata_label_newmax_cb], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal noundef i32 @tdata_label_newmax_cb(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr %1, align 4, !tbaa !10 %5 = icmp sgt i32 %3, %4 br i1 %5, label %6, label %7 6: ; preds = %2 store i32 %4, ptr %0, align 4, !tbaa !5 br label %7 7: ; preds = %2, %6 %8 = phi i32 [ 1, %6 ], [ 0, %2 ] ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_tdata.c_tdata_label_newmax_cb.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_tdata.c_tdata_label_newmax_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @tdata_label_newmax_cb], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal range(i32 0, 2) i32 @tdata_label_newmax_cb(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr %1, align 4, !tbaa !11 %5 = icmp sgt i32 %3, %4 br i1 %5, label %6, label %7 6: ; preds = %2 store i32 %4, ptr %0, align 4, !tbaa !6 br label %7 7: ; preds = %2, %6 %8 = phi i32 [ 1, %6 ], [ 0, %2 ] ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_cddl_contrib_opensolaris_tools_ctf_cvt_extr_tdata.c_tdata_label_newmax_cb
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_event.c_knote_reset_priority.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_event.c_knote_reset_priority.c" target datalayout = "e-m:e-p270:32:32-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.knote = type { i32, i32, i64, i64, i64 } @KN_QUEUED = dso_local local_unnamed_addr global i32 0, align 4 @KQ_WORKQ = dso_local local_unnamed_addr global i32 0, align 4 @THREAD_QOS_UNSPECIFIED = dso_local local_unnamed_addr global i64 0, align 8 @KQWQ_QOS_MANAGER = dso_local local_unnamed_addr global i64 0, align 8 @_PTHREAD_PRIORITY_EVENT_MANAGER_FLAG = dso_local local_unnamed_addr global i32 0, align 4 @KQ_WORKLOOP = dso_local local_unnamed_addr global i32 0, align 4 @KN_MERGE_QOS = dso_local local_unnamed_addr global i32 0, align 4 @KN_SUPPRESSED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @knote_reset_priority], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @knote_reset_priority(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @knote_get_kq(ptr noundef %0) #2 %4 = tail call i64 @_pthread_priority_thread_qos(i32 noundef %1) #2 %5 = load i32, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr @KN_QUEUED, align 4, !tbaa !11 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i32 @assert(i32 noundef %9) #2 %11 = load i32, ptr %3, align 4, !tbaa !12 %12 = load i32, ptr @KQ_WORKQ, align 4, !tbaa !11 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %23, label %15 15: ; preds = %2 %16 = load i64, ptr @THREAD_QOS_UNSPECIFIED, align 8, !tbaa !14 %17 = icmp eq i64 %4, %16 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i64, ptr @KQWQ_QOS_MANAGER, align 8, !tbaa !14 %20 = load i32, ptr @_PTHREAD_PRIORITY_EVENT_MANAGER_FLAG, align 4, !tbaa !11 br label %37 21: ; preds = %15 %22 = tail call i32 @_pthread_priority_normalize(i32 noundef %1) #2 br label %37 23: ; preds = %2 %24 = load i32, ptr @KQ_WORKLOOP, align 4, !tbaa !11 %25 = and i32 %24, %11 %26 = icmp eq i32 %25, 0 br i1 %26, label %34, label %27 27: ; preds = %23 %28 = load i32, ptr @_PTHREAD_PRIORITY_EVENT_MANAGER_FLAG, align 4, !tbaa !11 %29 = and i32 %28, %1 %30 = icmp eq i32 %29, 0 %31 = zext i1 %30 to i32 %32 = tail call i32 @assert(i32 noundef %31) #2 %33 = tail call i32 @_pthread_priority_normalize(i32 noundef %1) #2 br label %37 34: ; preds = %23 %35 = tail call i32 (...) @_pthread_unspecified_priority() #2 %36 = load i64, ptr @THREAD_QOS_UNSPECIFIED, align 8, !tbaa !14 br label %37 37: ; preds = %27, %34, %18, %21 %38 = phi i32 [ %20, %18 ], [ %22, %21 ], [ %33, %27 ], [ %35, %34 ] %39 = phi i64 [ %19, %18 ], [ %4, %21 ], [ %4, %27 ], [ %36, %34 ] %40 = getelementptr inbounds %struct.knote, ptr %0, i64 0, i32 1 store i32 %38, ptr %40, align 4, !tbaa !15 %41 = getelementptr inbounds %struct.knote, ptr %0, i64 0, i32 4 store i64 %39, ptr %41, align 8, !tbaa !16 %42 = load i32, ptr %0, align 8, !tbaa !5 %43 = load i32, ptr @KN_MERGE_QOS, align 4, !tbaa !11 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %37 %47 = getelementptr inbounds %struct.knote, ptr %0, i64 0, i32 2 %48 = load i64, ptr %47, align 8, !tbaa !17 %49 = icmp sgt i64 %39, %48 br i1 %49, label %50, label %52 50: ; preds = %46, %37 %51 = getelementptr inbounds %struct.knote, ptr %0, i64 0, i32 2 store i64 %39, ptr %51, align 8, !tbaa !17 br label %52 52: ; preds = %50, %46 %53 = load i32, ptr @KN_SUPPRESSED, align 4, !tbaa !11 %54 = and i32 %53, %42 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %52 %57 = getelementptr inbounds %struct.knote, ptr %0, i64 0, i32 3 store i64 %39, ptr %57, align 8, !tbaa !18 br label %71 58: ; preds = %52 %59 = load i32, ptr %3, align 4, !tbaa !12 %60 = load i32, ptr @KQ_WORKQ, align 4, !tbaa !11 %61 = and i32 %60, %59 %62 = icmp eq i32 %61, 0 br i1 %62, label %65, label %63 63: ; preds = %58 %64 = tail call i32 @kqworkq_update_override(ptr noundef nonnull %3, ptr noundef nonnull %0, i64 noundef %39) #2 br label %71 65: ; preds = %58 %66 = load i32, ptr @KQ_WORKLOOP, align 4, !tbaa !11 %67 = and i32 %66, %59 %68 = icmp eq i32 %67, 0 br i1 %68, label %71, label %69 69: ; preds = %65 %70 = tail call i32 @kqworkloop_update_override(ptr noundef nonnull %3, i64 noundef %39) #2 br label %71 71: ; preds = %63, %69, %65, %56 ret void } declare ptr @knote_get_kq(ptr noundef) local_unnamed_addr #1 declare i64 @_pthread_priority_thread_qos(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @_pthread_priority_normalize(i32 noundef) local_unnamed_addr #1 declare i32 @_pthread_unspecified_priority(...) local_unnamed_addr #1 declare i32 @kqworkq_update_override(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @kqworkloop_update_override(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 = !{!"knote", !7, i64 0, !7, i64 4, !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 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"kqueue", !7, i64 0} !14 = !{!10, !10, i64 0} !15 = !{!6, !7, i64 4} !16 = !{!6, !10, i64 24} !17 = !{!6, !10, i64 8} !18 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_event.c_knote_reset_priority.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_event.c_knote_reset_priority.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KN_QUEUED = common local_unnamed_addr global i32 0, align 4 @KQ_WORKQ = common local_unnamed_addr global i32 0, align 4 @THREAD_QOS_UNSPECIFIED = common local_unnamed_addr global i64 0, align 8 @KQWQ_QOS_MANAGER = common local_unnamed_addr global i64 0, align 8 @_PTHREAD_PRIORITY_EVENT_MANAGER_FLAG = common local_unnamed_addr global i32 0, align 4 @KQ_WORKLOOP = common local_unnamed_addr global i32 0, align 4 @KN_MERGE_QOS = common local_unnamed_addr global i32 0, align 4 @KN_SUPPRESSED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @knote_reset_priority], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @knote_reset_priority(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @knote_get_kq(ptr noundef %0) #2 %4 = tail call i64 @_pthread_priority_thread_qos(i32 noundef %1) #2 %5 = load i32, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr @KN_QUEUED, align 4, !tbaa !12 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i32 @assert(i32 noundef %9) #2 %11 = load i32, ptr %3, align 4, !tbaa !13 %12 = load i32, ptr @KQ_WORKQ, align 4, !tbaa !12 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %23, label %15 15: ; preds = %2 %16 = load i64, ptr @THREAD_QOS_UNSPECIFIED, align 8, !tbaa !15 %17 = icmp eq i64 %4, %16 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i64, ptr @KQWQ_QOS_MANAGER, align 8, !tbaa !15 %20 = load i32, ptr @_PTHREAD_PRIORITY_EVENT_MANAGER_FLAG, align 4, !tbaa !12 br label %37 21: ; preds = %15 %22 = tail call i32 @_pthread_priority_normalize(i32 noundef %1) #2 br label %37 23: ; preds = %2 %24 = load i32, ptr @KQ_WORKLOOP, align 4, !tbaa !12 %25 = and i32 %24, %11 %26 = icmp eq i32 %25, 0 br i1 %26, label %34, label %27 27: ; preds = %23 %28 = load i32, ptr @_PTHREAD_PRIORITY_EVENT_MANAGER_FLAG, align 4, !tbaa !12 %29 = and i32 %28, %1 %30 = icmp eq i32 %29, 0 %31 = zext i1 %30 to i32 %32 = tail call i32 @assert(i32 noundef %31) #2 %33 = tail call i32 @_pthread_priority_normalize(i32 noundef %1) #2 br label %37 34: ; preds = %23 %35 = tail call i32 @_pthread_unspecified_priority() #2 %36 = load i64, ptr @THREAD_QOS_UNSPECIFIED, align 8, !tbaa !15 br label %37 37: ; preds = %27, %34, %18, %21 %38 = phi i32 [ %20, %18 ], [ %22, %21 ], [ %33, %27 ], [ %35, %34 ] %39 = phi i64 [ %19, %18 ], [ %4, %21 ], [ %4, %27 ], [ %36, %34 ] %40 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %38, ptr %40, align 4, !tbaa !16 %41 = getelementptr inbounds i8, ptr %0, i64 24 store i64 %39, ptr %41, align 8, !tbaa !17 %42 = load i32, ptr %0, align 8, !tbaa !6 %43 = load i32, ptr @KN_MERGE_QOS, align 4, !tbaa !12 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %37 %47 = getelementptr inbounds i8, ptr %0, i64 8 %48 = load i64, ptr %47, align 8, !tbaa !18 %49 = icmp sgt i64 %39, %48 br i1 %49, label %50, label %52 50: ; preds = %46, %37 %51 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %39, ptr %51, align 8, !tbaa !18 br label %52 52: ; preds = %50, %46 %53 = load i32, ptr @KN_SUPPRESSED, align 4, !tbaa !12 %54 = and i32 %53, %42 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %52 %57 = getelementptr inbounds i8, ptr %0, i64 16 store i64 %39, ptr %57, align 8, !tbaa !19 br label %71 58: ; preds = %52 %59 = load i32, ptr %3, align 4, !tbaa !13 %60 = load i32, ptr @KQ_WORKQ, align 4, !tbaa !12 %61 = and i32 %60, %59 %62 = icmp eq i32 %61, 0 br i1 %62, label %65, label %63 63: ; preds = %58 %64 = tail call i32 @kqworkq_update_override(ptr noundef nonnull %3, ptr noundef nonnull %0, i64 noundef %39) #2 br label %71 65: ; preds = %58 %66 = load i32, ptr @KQ_WORKLOOP, align 4, !tbaa !12 %67 = and i32 %66, %59 %68 = icmp eq i32 %67, 0 br i1 %68, label %71, label %69 69: ; preds = %65 %70 = tail call i32 @kqworkloop_update_override(ptr noundef nonnull %3, i64 noundef %39) #2 br label %71 71: ; preds = %63, %69, %65, %56 ret void } declare ptr @knote_get_kq(ptr noundef) local_unnamed_addr #1 declare i64 @_pthread_priority_thread_qos(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @_pthread_priority_normalize(i32 noundef) local_unnamed_addr #1 declare i32 @_pthread_unspecified_priority(...) local_unnamed_addr #1 declare i32 @kqworkq_update_override(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @kqworkloop_update_override(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 = !{!"knote", !8, i64 0, !8, i64 4, !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 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"kqueue", !8, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!7, !8, i64 4} !17 = !{!7, !11, i64 24} !18 = !{!7, !11, i64 8} !19 = !{!7, !11, i64 16}
darwin-xnu_bsd_kern_extr_kern_event.c_knote_reset_priority
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/redscarf_iiplus/verc/extr_matrix.c_matrix_key_count.c' source_filename = "AnghaBench/qmk_firmware/keyboards/redscarf_iiplus/verc/extr_matrix.c_matrix_key_count.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MATRIX_ROWS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @matrix_key_count() local_unnamed_addr #0 { %1 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !5 %2 = icmp sgt i64 %1, 0 br i1 %2, label %5, label %3 3: ; preds = %5, %0 %4 = phi i64 [ 0, %0 ], [ %9, %5 ] ret i64 %4 5: ; preds = %0, %5 %6 = phi i64 [ %10, %5 ], [ 0, %0 ] %7 = phi i64 [ %9, %5 ], [ 0, %0 ] %8 = tail call i64 @matrix_bitpop(i64 noundef %6) #2 %9 = add nsw i64 %8, %7 %10 = add nuw nsw i64 %6, 1 %11 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !5 %12 = icmp slt i64 %10, %11 br i1 %12, label %5, label %3, !llvm.loop !9 } declare i64 @matrix_bitpop(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/redscarf_iiplus/verc/extr_matrix.c_matrix_key_count.c' source_filename = "AnghaBench/qmk_firmware/keyboards/redscarf_iiplus/verc/extr_matrix.c_matrix_key_count.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MATRIX_ROWS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @matrix_key_count() local_unnamed_addr #0 { %1 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !6 %2 = icmp sgt i64 %1, 0 br i1 %2, label %5, label %3 3: ; preds = %5, %0 %4 = phi i64 [ 0, %0 ], [ %9, %5 ] ret i64 %4 5: ; preds = %0, %5 %6 = phi i64 [ %10, %5 ], [ 0, %0 ] %7 = phi i64 [ %9, %5 ], [ 0, %0 ] %8 = tail call i64 @matrix_bitpop(i64 noundef %6) #2 %9 = add nsw i64 %8, %7 %10 = add nuw nsw i64 %6, 1 %11 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !6 %12 = icmp slt i64 %10, %11 br i1 %12, label %5, label %3, !llvm.loop !10 } declare i64 @matrix_bitpop(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
qmk_firmware_keyboards_redscarf_iiplus_verc_extr_matrix.c_matrix_key_count
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/zd1211rw/extr_zd_rf.c_zd_rf_init_hw.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/zd1211rw/extr_zd_rf.c_zd_rf_init_hw.c" target datalayout = "e-m:e-p270:32:32-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.zd_rf = type { i32, ptr } @.str = private unnamed_addr constant [28 x i8] c"RF %s %#x is not supported\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @zd_rf_init_hw(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @zd_rf_to_chip(ptr noundef %0) #2 %4 = tail call i32 @mutex_is_locked(ptr noundef %3) #2 %5 = tail call i32 @ZD_ASSERT(i32 noundef %4) #2 switch i32 %1, label %14 [ i32 129, label %6 i32 132, label %8 i32 133, label %8 i32 131, label %10 i32 130, label %12 i32 128, label %12 ] 6: ; preds = %2 %7 = tail call i32 @zd_rf_init_rf2959(ptr noundef %0) #2 br label %20 8: ; preds = %2, %2 %9 = tail call i32 @zd_rf_init_al2230(ptr noundef %0) #2 br label %20 10: ; preds = %2 %11 = tail call i32 @zd_rf_init_al7230b(ptr noundef %0) #2 br label %20 12: ; preds = %2, %2 %13 = tail call i32 @zd_rf_init_uw2453(ptr noundef %0) #2 br label %20 14: ; preds = %2 %15 = tail call i32 @zd_chip_dev(ptr noundef %3) #2 %16 = tail call i32 @zd_rf_name(i32 noundef %1) #2 %17 = tail call i32 @dev_err(i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %1) #2 store i32 0, ptr %0, align 8, !tbaa !5 %18 = load i32, ptr @ENODEV, align 4, !tbaa !11 %19 = sub nsw i32 0, %18 br label %33 20: ; preds = %12, %10, %8, %6 %21 = phi i32 [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ] %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %33 23: ; preds = %20 store i32 %1, ptr %0, align 8, !tbaa !5 %24 = tail call i32 @zd_chip_lock_phy_regs(ptr noundef %3) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %33 26: ; preds = %23 %27 = getelementptr inbounds %struct.zd_rf, ptr %0, i64 0, i32 1 %28 = load ptr, ptr %27, align 8, !tbaa !12 %29 = tail call i32 %28(ptr noundef nonnull %0) #2 %30 = tail call i32 @zd_chip_unlock_phy_regs(ptr noundef %3) #2 %31 = icmp eq i32 %29, 0 %32 = select i1 %31, i32 %30, i32 %29 br label %33 33: ; preds = %23, %20, %26, %14 %34 = phi i32 [ %19, %14 ], [ %32, %26 ], [ %21, %20 ], [ %24, %23 ] ret i32 %34 } declare ptr @zd_rf_to_chip(ptr noundef) local_unnamed_addr #1 declare i32 @ZD_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_is_locked(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_init_rf2959(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_init_al2230(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_init_al7230b(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_init_uw2453(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zd_chip_dev(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_name(i32 noundef) local_unnamed_addr #1 declare i32 @zd_chip_lock_phy_regs(ptr noundef) local_unnamed_addr #1 declare i32 @zd_chip_unlock_phy_regs(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 = !{!"zd_rf", !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}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/zd1211rw/extr_zd_rf.c_zd_rf_init_hw.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/zd1211rw/extr_zd_rf.c_zd_rf_init_hw.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"RF %s %#x is not supported\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @zd_rf_init_hw(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @zd_rf_to_chip(ptr noundef %0) #2 %4 = tail call i32 @mutex_is_locked(ptr noundef %3) #2 %5 = tail call i32 @ZD_ASSERT(i32 noundef %4) #2 switch i32 %1, label %14 [ i32 129, label %6 i32 132, label %8 i32 133, label %8 i32 131, label %10 i32 130, label %12 i32 128, label %12 ] 6: ; preds = %2 %7 = tail call i32 @zd_rf_init_rf2959(ptr noundef %0) #2 br label %20 8: ; preds = %2, %2 %9 = tail call i32 @zd_rf_init_al2230(ptr noundef %0) #2 br label %20 10: ; preds = %2 %11 = tail call i32 @zd_rf_init_al7230b(ptr noundef %0) #2 br label %20 12: ; preds = %2, %2 %13 = tail call i32 @zd_rf_init_uw2453(ptr noundef %0) #2 br label %20 14: ; preds = %2 %15 = tail call i32 @zd_chip_dev(ptr noundef %3) #2 %16 = tail call i32 @zd_rf_name(i32 noundef %1) #2 %17 = tail call i32 @dev_err(i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %1) #2 store i32 0, ptr %0, align 8, !tbaa !6 %18 = load i32, ptr @ENODEV, align 4, !tbaa !12 %19 = sub nsw i32 0, %18 br label %33 20: ; preds = %12, %10, %8, %6 %21 = phi i32 [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ] %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %33 23: ; preds = %20 store i32 %1, ptr %0, align 8, !tbaa !6 %24 = tail call i32 @zd_chip_lock_phy_regs(ptr noundef %3) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %33 26: ; preds = %23 %27 = getelementptr inbounds i8, ptr %0, i64 8 %28 = load ptr, ptr %27, align 8, !tbaa !13 %29 = tail call i32 %28(ptr noundef nonnull %0) #2 %30 = tail call i32 @zd_chip_unlock_phy_regs(ptr noundef %3) #2 %31 = icmp eq i32 %29, 0 %32 = select i1 %31, i32 %30, i32 %29 br label %33 33: ; preds = %23, %20, %26, %14 %34 = phi i32 [ %19, %14 ], [ %32, %26 ], [ %21, %20 ], [ %24, %23 ] ret i32 %34 } declare ptr @zd_rf_to_chip(ptr noundef) local_unnamed_addr #1 declare i32 @ZD_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_is_locked(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_init_rf2959(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_init_al2230(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_init_al7230b(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_init_uw2453(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zd_chip_dev(ptr noundef) local_unnamed_addr #1 declare i32 @zd_rf_name(i32 noundef) local_unnamed_addr #1 declare i32 @zd_chip_lock_phy_regs(ptr noundef) local_unnamed_addr #1 declare i32 @zd_chip_unlock_phy_regs(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 = !{!"zd_rf", !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}
fastsocket_kernel_drivers_net_wireless_zd1211rw_extr_zd_rf.c_zd_rf_init_hw
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/ttusb-budget/extr_dvb-ttusb-budget.c_ttusb_novas_grundig_29504_491_tuner_set_params.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/ttusb-budget/extr_dvb-ttusb-budget.c_ttusb_novas_grundig_29504_491_tuner_set_params.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.i2c_msg = type { i32, ptr, i32, i32 } %struct.dvb_frontend = type { %struct.TYPE_4__, ptr } %struct.TYPE_4__ = type { ptr } @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ttusb_novas_grundig_29504_491_tuner_set_params], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ttusb_novas_grundig_29504_491_tuner_set_params(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca [4 x i32], align 16 %4 = alloca %struct.i2c_msg, align 8 %5 = getelementptr inbounds %struct.dvb_frontend, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load i64, ptr %6, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 store i32 97, ptr %4, align 8, !tbaa !14 %8 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 0, i32 1 store ptr %3, ptr %8, align 8, !tbaa !17 %9 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 0, i32 2 store i32 16, ptr %9, align 8, !tbaa !18 %10 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 0, i32 3 store i32 0, ptr %10, align 4, !tbaa !19 %11 = load i32, ptr %1, align 4, !tbaa !20 %12 = sdiv i32 %11, 125 %13 = lshr i32 %12, 8 %14 = and i32 %13, 127 store i32 %14, ptr %3, align 16, !tbaa !22 %15 = and i32 %12, 255 %16 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 1 store i32 %15, ptr %16, align 4, !tbaa !22 %17 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 2 store i32 142, ptr %17, align 8, !tbaa !22 %18 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 3 store i32 0, ptr %18, align 4, !tbaa !22 %19 = load ptr, ptr %0, align 8, !tbaa !23 %20 = icmp eq ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %2 %22 = call i32 %19(ptr noundef nonnull %0, i32 noundef 1) #3 br label %23 23: ; preds = %21, %2 %24 = inttoptr i64 %7 to ptr %25 = call i32 @i2c_transfer(ptr noundef %24, ptr noundef nonnull %4, i32 noundef 1) #3 %26 = icmp eq i32 %25, 1 %27 = load i32, ptr @EIO, align 4 %28 = sub nsw i32 0, %27 %29 = select i1 %26, i32 0, i32 %28 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret i32 %29 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i2c_transfer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 8} !6 = !{!"dvb_frontend", !7, i64 0, !8, i64 8} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"i2c_msg", !16, i64 0, !8, i64 8, !16, i64 16, !16, i64 20} !16 = !{!"int", !9, i64 0} !17 = !{!15, !8, i64 8} !18 = !{!15, !16, i64 16} !19 = !{!15, !16, i64 20} !20 = !{!21, !16, i64 0} !21 = !{!"dvb_frontend_parameters", !16, i64 0} !22 = !{!16, !16, i64 0} !23 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/ttusb-budget/extr_dvb-ttusb-budget.c_ttusb_novas_grundig_29504_491_tuner_set_params.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/ttusb-budget/extr_dvb-ttusb-budget.c_ttusb_novas_grundig_29504_491_tuner_set_params.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.i2c_msg = type { i32, ptr, i32, i32 } @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ttusb_novas_grundig_29504_491_tuner_set_params], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @ttusb_novas_grundig_29504_491_tuner_set_params(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca [4 x i32], align 4 %4 = alloca %struct.i2c_msg, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load i64, ptr %6, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 store i32 97, ptr %4, align 8, !tbaa !15 %8 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %3, ptr %8, align 8, !tbaa !18 %9 = getelementptr inbounds i8, ptr %4, i64 16 store <2 x i32> <i32 16, i32 0>, ptr %9, align 8, !tbaa !19 %10 = load i32, ptr %1, align 4, !tbaa !20 %11 = sdiv i32 %10, 125 %12 = lshr i32 %11, 8 %13 = and i32 %12, 127 store i32 %13, ptr %3, align 4, !tbaa !19 %14 = and i32 %11, 255 %15 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %14, ptr %15, align 4, !tbaa !19 %16 = getelementptr inbounds i8, ptr %3, i64 8 store <2 x i32> <i32 142, i32 0>, ptr %16, align 4, !tbaa !19 %17 = load ptr, ptr %0, align 8, !tbaa !22 %18 = icmp eq ptr %17, null br i1 %18, label %21, label %19 19: ; preds = %2 %20 = call i32 %17(ptr noundef nonnull %0, i32 noundef 1) #3 br label %21 21: ; preds = %19, %2 %22 = inttoptr i64 %7 to ptr %23 = call i32 @i2c_transfer(ptr noundef %22, ptr noundef nonnull %4, i32 noundef 1) #3 %24 = icmp eq i32 %23, 1 %25 = load i32, ptr @EIO, align 4 %26 = sub nsw i32 0, %25 %27 = select i1 %24, i32 0, i32 %26 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i2c_transfer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 8} !7 = !{!"dvb_frontend", !8, i64 0, !9, i64 8} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"long", !10, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"i2c_msg", !17, i64 0, !9, i64 8, !17, i64 16, !17, i64 20} !17 = !{!"int", !10, i64 0} !18 = !{!16, !9, i64 8} !19 = !{!17, !17, i64 0} !20 = !{!21, !17, i64 0} !21 = !{!"dvb_frontend_parameters", !17, i64 0} !22 = !{!7, !9, i64 0}
fastsocket_kernel_drivers_media_dvb_ttusb-budget_extr_dvb-ttusb-budget.c_ttusb_novas_grundig_29504_491_tuner_set_params
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_gas_serv.c_hs20_add_nai_home_realm_matches.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_gas_serv.c_hs20_add_nai_home_realm_matches.c" target datalayout = "e-m:e-p270:32:32-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.anon = type { i32, i32 } %struct.TYPE_2__ = type { i32, ptr } %struct.hostapd_nai_realm_data = type { i32, ptr } @MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Too short NAI Home Realm Query\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Truncated NAI Home Realm Query\00", align 1 @MAX_NAI_REALMS = dso_local local_unnamed_addr global i32 0, align 4 @ANQP_NAI_REALM = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"realm_idx %d, realm_data_idx %d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @hs20_add_nai_home_realm_matches], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @hs20_add_nai_home_realm_matches(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca [10 x %struct.anon], align 16 call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #3 %6 = getelementptr inbounds i32, ptr %2, i64 %3 %7 = ptrtoint ptr %6 to i64 %8 = icmp slt i64 %3, 1 br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5 %11 = tail call i32 @wpa_hexdump(i32 noundef %10, ptr noundef nonnull @.str, ptr noundef %2, i64 noundef %3) #3 br label %166 12: ; preds = %4 %13 = load i32, ptr %2, align 4, !tbaa !5 %14 = icmp eq i32 %13, 0 br i1 %14, label %140, label %15 15: ; preds = %12 %16 = getelementptr inbounds i32, ptr %2, i64 1 br label %17 17: ; preds = %15, %133 %18 = phi i32 [ %136, %133 ], [ 0, %15 ] %19 = phi ptr [ %135, %133 ], [ %16, %15 ] %20 = phi i32 [ %134, %133 ], [ 0, %15 ] %21 = ptrtoint ptr %19 to i64 %22 = sub i64 %7, %21 %23 = icmp slt i64 %22, 8 br i1 %23, label %24, label %27 24: ; preds = %17 %25 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5 %26 = tail call i32 @wpa_hexdump(i32 noundef %25, ptr noundef nonnull @.str.1, ptr noundef nonnull %2, i64 noundef %3) #3 br label %166 27: ; preds = %17 %28 = getelementptr inbounds i32, ptr %19, i64 1 %29 = load i32, ptr %19, align 4, !tbaa !5 %30 = getelementptr inbounds i8, ptr %19, i64 8 %31 = load i32, ptr %28, align 4, !tbaa !5 %32 = zext i32 %31 to i64 %33 = ptrtoint ptr %30 to i64 %34 = sub i64 %7, %33 %35 = ashr exact i64 %34, 2 %36 = icmp slt i64 %35, %32 br i1 %36, label %46, label %37 37: ; preds = %27 %38 = load ptr, ptr %0, align 8, !tbaa !9 %39 = load i32, ptr %38, align 8, !tbaa !12 %40 = icmp eq i32 %39, 0 br i1 %40, label %133, label %41 41: ; preds = %37 %42 = shl nuw nsw i64 %32, 2 %43 = add nuw nsw i64 %42, 8 %44 = getelementptr inbounds i8, ptr %19, i64 %43 %45 = icmp ne i32 %31, 0 br label %49 46: ; preds = %27 %47 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5 %48 = tail call i32 @wpa_hexdump(i32 noundef %47, ptr noundef nonnull @.str.1, ptr noundef nonnull %2, i64 noundef %3) #3 br label %166 49: ; preds = %41, %124 %50 = phi i32 [ %39, %41 ], [ %125, %124 ] %51 = phi ptr [ %38, %41 ], [ %126, %124 ] %52 = phi i64 [ 0, %41 ], [ %128, %124 ] %53 = phi i32 [ %20, %41 ], [ %127, %124 ] %54 = getelementptr inbounds %struct.TYPE_2__, ptr %51, i64 0, i32 1 %55 = load ptr, ptr %54, align 8, !tbaa !14 %56 = getelementptr inbounds %struct.hostapd_nai_realm_data, ptr %55, i64 %52 %57 = load i32, ptr %56, align 8, !tbaa !15 %58 = icmp eq i32 %29, %57 %59 = and i1 %58, %45 br i1 %59, label %60, label %124 60: ; preds = %49 %61 = getelementptr inbounds %struct.hostapd_nai_realm_data, ptr %55, i64 %52, i32 1 %62 = trunc i64 %52 to i32 br label %63 63: ; preds = %60, %115 %64 = phi ptr [ %30, %60 ], [ %117, %115 ] %65 = phi i32 [ %53, %60 ], [ %116, %115 ] br label %66 66: ; preds = %63, %70 %67 = phi ptr [ %64, %63 ], [ %71, %70 ] %68 = load i32, ptr %67, align 4, !tbaa !5 %69 = icmp eq i32 %68, 59 br i1 %69, label %73, label %70 70: ; preds = %66 %71 = getelementptr inbounds i32, ptr %67, i64 1 %72 = icmp ult ptr %71, %44 br i1 %72, label %66, label %73, !llvm.loop !17 73: ; preds = %66, %70 %74 = phi ptr [ %67, %66 ], [ %71, %70 ] %75 = load i32, ptr @MAX_NAI_REALMS, align 4, !tbaa !5 %76 = icmp eq i32 %75, 0 br i1 %76, label %115, label %77 77: ; preds = %73 %78 = ptrtoint ptr %74 to i64 %79 = ptrtoint ptr %64 to i64 %80 = sub i64 %78, %79 %81 = ashr exact i64 %80, 2 %82 = trunc i64 %81 to i32 br label %83 83: ; preds = %77, %109 %84 = phi i64 [ 0, %77 ], [ %111, %109 ] %85 = phi i32 [ %65, %77 ], [ %110, %109 ] %86 = load ptr, ptr %61, align 8, !tbaa !19 %87 = getelementptr inbounds i32, ptr %86, i64 %84 %88 = load i32, ptr %87, align 4, !tbaa !5 %89 = icmp ne i32 %88, 0 %90 = icmp ult i32 %85, 10 %91 = select i1 %89, i1 %90, i1 false br i1 %91, label %92, label %115 92: ; preds = %83 %93 = tail call i64 @os_strlen(i32 noundef %88) #3 %94 = shl i64 %93, 32 %95 = ashr exact i64 %94, 32 %96 = icmp eq i64 %95, %81 br i1 %96, label %97, label %109 97: ; preds = %92 %98 = load ptr, ptr %61, align 8, !tbaa !19 %99 = getelementptr inbounds i32, ptr %98, i64 %84 %100 = load i32, ptr %99, align 4, !tbaa !5 %101 = tail call i64 @os_strncmp(ptr noundef nonnull %64, i32 noundef %100, i32 noundef %82) #3 %102 = icmp eq i64 %101, 0 br i1 %102, label %103, label %109 103: ; preds = %97 %104 = zext nneg i32 %85 to i64 %105 = getelementptr inbounds [10 x %struct.anon], ptr %5, i64 0, i64 %104 store i32 %62, ptr %105, align 8, !tbaa !20 %106 = getelementptr inbounds [10 x %struct.anon], ptr %5, i64 0, i64 %104, i32 1 %107 = trunc i64 %84 to i32 store i32 %107, ptr %106, align 4, !tbaa !22 %108 = add nuw nsw i32 %85, 1 br label %109 109: ; preds = %92, %97, %103 %110 = phi i32 [ %85, %92 ], [ %85, %97 ], [ %108, %103 ] %111 = add nuw nsw i64 %84, 1 %112 = load i32, ptr @MAX_NAI_REALMS, align 4, !tbaa !5 %113 = zext i32 %112 to i64 %114 = icmp ult i64 %111, %113 br i1 %114, label %83, label %115, !llvm.loop !23 115: ; preds = %109, %83, %73 %116 = phi i32 [ %65, %73 ], [ %85, %83 ], [ %110, %109 ] %117 = getelementptr inbounds i32, ptr %74, i64 1 %118 = icmp ult ptr %117, %44 %119 = icmp ult i32 %116, 10 %120 = select i1 %118, i1 %119, i1 false br i1 %120, label %63, label %121, !llvm.loop !24 121: ; preds = %115 %122 = load ptr, ptr %0, align 8, !tbaa !9 %123 = load i32, ptr %122, align 8, !tbaa !12 br label %124 124: ; preds = %121, %49 %125 = phi i32 [ %50, %49 ], [ %123, %121 ] %126 = phi ptr [ %51, %49 ], [ %122, %121 ] %127 = phi i32 [ %53, %49 ], [ %116, %121 ] %128 = add nuw nsw i64 %52, 1 %129 = zext i32 %125 to i64 %130 = icmp ult i64 %128, %129 %131 = icmp ult i32 %127, 10 %132 = select i1 %130, i1 %131, i1 false br i1 %132, label %49, label %133, !llvm.loop !25 133: ; preds = %124, %37 %134 = phi i32 [ %20, %37 ], [ %127, %124 ] %135 = getelementptr inbounds i32, ptr %30, i64 %32 %136 = add nuw i32 %18, 1 %137 = icmp ult i32 %136, %13 %138 = icmp ult i32 %134, 10 %139 = select i1 %137, i1 %138, i1 false br i1 %139, label %17, label %140, !llvm.loop !26 140: ; preds = %133, %12 %141 = phi i32 [ 0, %12 ], [ %134, %133 ] %142 = load i32, ptr @ANQP_NAI_REALM, align 4, !tbaa !5 %143 = tail call ptr @gas_anqp_add_element(ptr noundef %1, i32 noundef %142) #3 %144 = tail call i32 @wpabuf_put_le16(ptr noundef %1, i32 noundef %141) #3 %145 = icmp eq i32 %141, 0 br i1 %145, label %164, label %146 146: ; preds = %140 %147 = zext i32 %141 to i64 br label %148 148: ; preds = %146, %148 %149 = phi i64 [ 0, %146 ], [ %162, %148 ] %150 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5 %151 = getelementptr inbounds [10 x %struct.anon], ptr %5, i64 0, i64 %149 %152 = load i32, ptr %151, align 8, !tbaa !20 %153 = getelementptr inbounds [10 x %struct.anon], ptr %5, i64 0, i64 %149, i32 1 %154 = load i32, ptr %153, align 4, !tbaa !22 %155 = tail call i32 @wpa_printf(i32 noundef %150, ptr noundef nonnull @.str.2, i32 noundef %152, i32 noundef %154) #3 %156 = load ptr, ptr %0, align 8, !tbaa !9 %157 = getelementptr inbounds %struct.TYPE_2__, ptr %156, i64 0, i32 1 %158 = load ptr, ptr %157, align 8, !tbaa !14 %159 = zext i32 %152 to i64 %160 = getelementptr inbounds %struct.hostapd_nai_realm_data, ptr %158, i64 %159 %161 = tail call i32 @anqp_add_nai_realm_data(ptr noundef %1, ptr noundef %160, i32 noundef %154) #3 %162 = add nuw nsw i64 %149, 1 %163 = icmp eq i64 %162, %147 br i1 %163, label %164, label %148, !llvm.loop !27 164: ; preds = %148, %140 %165 = tail call i32 @gas_anqp_set_element_len(ptr noundef %1, ptr noundef %143) #3 br label %166 166: ; preds = %164, %46, %24, %9 %167 = phi i32 [ -1, %9 ], [ -1, %24 ], [ -1, %46 ], [ 0, %164 ] call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #3 ret i32 %167 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @os_strlen(i32 noundef) local_unnamed_addr #2 declare i64 @os_strncmp(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 ptr @gas_anqp_add_element(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wpabuf_put_le16(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @anqp_add_nai_realm_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gas_anqp_set_element_len(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"hostapd_data", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"TYPE_2__", !6, i64 0, !11, i64 8} !14 = !{!13, !11, i64 8} !15 = !{!16, !6, i64 0} !16 = !{!"hostapd_nai_realm_data", !6, i64 0, !11, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!16, !11, i64 8} !20 = !{!21, !6, i64 0} !21 = !{!"", !6, i64 0, !6, i64 4} !22 = !{!21, !6, i64 4} !23 = distinct !{!23, !18} !24 = distinct !{!24, !18} !25 = distinct !{!25, !18} !26 = distinct !{!26, !18} !27 = distinct !{!27, !18}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_gas_serv.c_hs20_add_nai_home_realm_matches.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_gas_serv.c_hs20_add_nai_home_realm_matches.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.anon = type { i32, i32 } %struct.hostapd_nai_realm_data = type { i32, ptr } @MSG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Too short NAI Home Realm Query\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Truncated NAI Home Realm Query\00", align 1 @MAX_NAI_REALMS = common local_unnamed_addr global i32 0, align 4 @ANQP_NAI_REALM = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"realm_idx %d, realm_data_idx %d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @hs20_add_nai_home_realm_matches], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @hs20_add_nai_home_realm_matches(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca [10 x %struct.anon], align 4 call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #3 %6 = getelementptr inbounds i32, ptr %2, i64 %3 %7 = ptrtoint ptr %6 to i64 %8 = icmp slt i64 %3, 1 br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6 %11 = tail call i32 @wpa_hexdump(i32 noundef %10, ptr noundef nonnull @.str, ptr noundef %2, i64 noundef %3) #3 br label %166 12: ; preds = %4 %13 = load i32, ptr %2, align 4, !tbaa !6 %14 = icmp eq i32 %13, 0 br i1 %14, label %140, label %15 15: ; preds = %12 %16 = getelementptr inbounds i8, ptr %2, i64 4 br label %17 17: ; preds = %15, %133 %18 = phi i32 [ %136, %133 ], [ 0, %15 ] %19 = phi ptr [ %135, %133 ], [ %16, %15 ] %20 = phi i32 [ %134, %133 ], [ 0, %15 ] %21 = ptrtoint ptr %19 to i64 %22 = sub i64 %7, %21 %23 = icmp slt i64 %22, 5 br i1 %23, label %24, label %27 24: ; preds = %17 %25 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6 %26 = tail call i32 @wpa_hexdump(i32 noundef %25, ptr noundef nonnull @.str.1, ptr noundef nonnull %2, i64 noundef %3) #3 br label %166 27: ; preds = %17 %28 = getelementptr inbounds i8, ptr %19, i64 4 %29 = load i32, ptr %19, align 4, !tbaa !6 %30 = getelementptr inbounds i8, ptr %19, i64 8 %31 = load i32, ptr %28, align 4, !tbaa !6 %32 = zext i32 %31 to i64 %33 = ptrtoint ptr %30 to i64 %34 = sub i64 %7, %33 %35 = ashr exact i64 %34, 2 %36 = icmp slt i64 %35, %32 br i1 %36, label %46, label %37 37: ; preds = %27 %38 = load ptr, ptr %0, align 8, !tbaa !10 %39 = load i32, ptr %38, align 8, !tbaa !13 %40 = icmp eq i32 %39, 0 br i1 %40, label %133, label %41 41: ; preds = %37 %42 = shl nuw nsw i64 %32, 2 %43 = add nuw nsw i64 %42, 8 %44 = getelementptr inbounds i8, ptr %19, i64 %43 %45 = icmp ne i32 %31, 0 br label %49 46: ; preds = %27 %47 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6 %48 = tail call i32 @wpa_hexdump(i32 noundef %47, ptr noundef nonnull @.str.1, ptr noundef nonnull %2, i64 noundef %3) #3 br label %166 49: ; preds = %41, %124 %50 = phi i32 [ %39, %41 ], [ %125, %124 ] %51 = phi ptr [ %38, %41 ], [ %126, %124 ] %52 = phi i64 [ 0, %41 ], [ %128, %124 ] %53 = phi i32 [ %20, %41 ], [ %127, %124 ] %54 = getelementptr inbounds i8, ptr %51, i64 8 %55 = load ptr, ptr %54, align 8, !tbaa !15 %56 = getelementptr inbounds %struct.hostapd_nai_realm_data, ptr %55, i64 %52 %57 = load i32, ptr %56, align 8, !tbaa !16 %58 = icmp eq i32 %29, %57 %59 = and i1 %58, %45 br i1 %59, label %60, label %124 60: ; preds = %49 %61 = getelementptr inbounds i8, ptr %56, i64 8 %62 = trunc nuw i64 %52 to i32 br label %63 63: ; preds = %60, %115 %64 = phi ptr [ %30, %60 ], [ %117, %115 ] %65 = phi i32 [ %53, %60 ], [ %116, %115 ] br label %66 66: ; preds = %63, %70 %67 = phi ptr [ %64, %63 ], [ %71, %70 ] %68 = load i32, ptr %67, align 4, !tbaa !6 %69 = icmp eq i32 %68, 59 br i1 %69, label %73, label %70 70: ; preds = %66 %71 = getelementptr inbounds i8, ptr %67, i64 4 %72 = icmp ult ptr %71, %44 br i1 %72, label %66, label %73, !llvm.loop !18 73: ; preds = %66, %70 %74 = phi ptr [ %67, %66 ], [ %71, %70 ] %75 = load i32, ptr @MAX_NAI_REALMS, align 4, !tbaa !6 %76 = icmp eq i32 %75, 0 br i1 %76, label %115, label %77 77: ; preds = %73 %78 = ptrtoint ptr %74 to i64 %79 = ptrtoint ptr %64 to i64 %80 = sub i64 %78, %79 %81 = ashr exact i64 %80, 2 %82 = trunc nsw i64 %81 to i32 br label %83 83: ; preds = %77, %109 %84 = phi i64 [ 0, %77 ], [ %111, %109 ] %85 = phi i32 [ %65, %77 ], [ %110, %109 ] %86 = load ptr, ptr %61, align 8, !tbaa !20 %87 = getelementptr inbounds i32, ptr %86, i64 %84 %88 = load i32, ptr %87, align 4, !tbaa !6 %89 = icmp ne i32 %88, 0 %90 = icmp ult i32 %85, 10 %91 = select i1 %89, i1 %90, i1 false br i1 %91, label %92, label %115 92: ; preds = %83 %93 = tail call i64 @os_strlen(i32 noundef %88) #3 %94 = shl i64 %93, 32 %95 = ashr exact i64 %94, 32 %96 = icmp eq i64 %95, %81 br i1 %96, label %97, label %109 97: ; preds = %92 %98 = load ptr, ptr %61, align 8, !tbaa !20 %99 = getelementptr inbounds i32, ptr %98, i64 %84 %100 = load i32, ptr %99, align 4, !tbaa !6 %101 = tail call i64 @os_strncmp(ptr noundef nonnull %64, i32 noundef %100, i32 noundef %82) #3 %102 = icmp eq i64 %101, 0 br i1 %102, label %103, label %109 103: ; preds = %97 %104 = zext nneg i32 %85 to i64 %105 = getelementptr inbounds [10 x %struct.anon], ptr %5, i64 0, i64 %104 store i32 %62, ptr %105, align 4, !tbaa !21 %106 = getelementptr inbounds i8, ptr %105, i64 4 %107 = trunc nuw i64 %84 to i32 store i32 %107, ptr %106, align 4, !tbaa !23 %108 = add nuw nsw i32 %85, 1 br label %109 109: ; preds = %92, %97, %103 %110 = phi i32 [ %85, %92 ], [ %85, %97 ], [ %108, %103 ] %111 = add nuw nsw i64 %84, 1 %112 = load i32, ptr @MAX_NAI_REALMS, align 4, !tbaa !6 %113 = zext i32 %112 to i64 %114 = icmp ult i64 %111, %113 br i1 %114, label %83, label %115, !llvm.loop !24 115: ; preds = %109, %83, %73 %116 = phi i32 [ %65, %73 ], [ %85, %83 ], [ %110, %109 ] %117 = getelementptr inbounds i8, ptr %74, i64 4 %118 = icmp ult ptr %117, %44 %119 = icmp ult i32 %116, 10 %120 = select i1 %118, i1 %119, i1 false br i1 %120, label %63, label %121, !llvm.loop !25 121: ; preds = %115 %122 = load ptr, ptr %0, align 8, !tbaa !10 %123 = load i32, ptr %122, align 8, !tbaa !13 br label %124 124: ; preds = %121, %49 %125 = phi i32 [ %50, %49 ], [ %123, %121 ] %126 = phi ptr [ %51, %49 ], [ %122, %121 ] %127 = phi i32 [ %53, %49 ], [ %116, %121 ] %128 = add nuw nsw i64 %52, 1 %129 = zext i32 %125 to i64 %130 = icmp ult i64 %128, %129 %131 = icmp ult i32 %127, 10 %132 = select i1 %130, i1 %131, i1 false br i1 %132, label %49, label %133, !llvm.loop !26 133: ; preds = %124, %37 %134 = phi i32 [ %20, %37 ], [ %127, %124 ] %135 = getelementptr inbounds i32, ptr %30, i64 %32 %136 = add nuw i32 %18, 1 %137 = icmp ult i32 %136, %13 %138 = icmp ult i32 %134, 10 %139 = select i1 %137, i1 %138, i1 false br i1 %139, label %17, label %140, !llvm.loop !27 140: ; preds = %133, %12 %141 = phi i32 [ 0, %12 ], [ %134, %133 ] %142 = load i32, ptr @ANQP_NAI_REALM, align 4, !tbaa !6 %143 = tail call ptr @gas_anqp_add_element(ptr noundef %1, i32 noundef %142) #3 %144 = tail call i32 @wpabuf_put_le16(ptr noundef %1, i32 noundef %141) #3 %145 = icmp eq i32 %141, 0 br i1 %145, label %164, label %146 146: ; preds = %140 %147 = zext i32 %141 to i64 br label %148 148: ; preds = %146, %148 %149 = phi i64 [ 0, %146 ], [ %162, %148 ] %150 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6 %151 = getelementptr inbounds [10 x %struct.anon], ptr %5, i64 0, i64 %149 %152 = load i32, ptr %151, align 4, !tbaa !21 %153 = getelementptr inbounds i8, ptr %151, i64 4 %154 = load i32, ptr %153, align 4, !tbaa !23 %155 = tail call i32 @wpa_printf(i32 noundef %150, ptr noundef nonnull @.str.2, i32 noundef %152, i32 noundef %154) #3 %156 = load ptr, ptr %0, align 8, !tbaa !10 %157 = getelementptr inbounds i8, ptr %156, i64 8 %158 = load ptr, ptr %157, align 8, !tbaa !15 %159 = zext i32 %152 to i64 %160 = getelementptr inbounds %struct.hostapd_nai_realm_data, ptr %158, i64 %159 %161 = tail call i32 @anqp_add_nai_realm_data(ptr noundef %1, ptr noundef %160, i32 noundef %154) #3 %162 = add nuw nsw i64 %149, 1 %163 = icmp eq i64 %162, %147 br i1 %163, label %164, label %148, !llvm.loop !28 164: ; preds = %148, %140 %165 = tail call i32 @gas_anqp_set_element_len(ptr noundef %1, ptr noundef %143) #3 br label %166 166: ; preds = %164, %46, %24, %9 %167 = phi i32 [ -1, %9 ], [ -1, %24 ], [ -1, %46 ], [ 0, %164 ] call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #3 ret i32 %167 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @os_strlen(i32 noundef) local_unnamed_addr #2 declare i64 @os_strncmp(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 ptr @gas_anqp_add_element(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wpabuf_put_le16(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @anqp_add_nai_realm_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gas_anqp_set_element_len(ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"hostapd_data", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_2__", !7, i64 0, !12, i64 8} !15 = !{!14, !12, i64 8} !16 = !{!17, !7, i64 0} !17 = !{!"hostapd_nai_realm_data", !7, i64 0, !12, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!17, !12, i64 8} !21 = !{!22, !7, i64 0} !22 = !{!"", !7, i64 0, !7, i64 4} !23 = !{!22, !7, i64 4} !24 = distinct !{!24, !19} !25 = distinct !{!25, !19} !26 = distinct !{!26, !19} !27 = distinct !{!27, !19} !28 = distinct !{!28, !19}
freebsd_contrib_wpa_src_ap_extr_gas_serv.c_hs20_add_nai_home_realm_matches
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/ibmvscsi/extr_ibmvscsi.c_show_host_srp_version.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/ibmvscsi/extr_ibmvscsi.c_show_host_srp_version.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @show_host_srp_version], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @show_host_srp_version(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @class_to_shost(ptr noundef %0) #2 %5 = tail call ptr @shost_priv(ptr noundef %4) #2 %6 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %7 = load ptr, ptr %5, align 8, !tbaa !9 %8 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %7) #2 ret i32 %8 } declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #1 declare ptr @shost_priv(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"ibmvscsi_host_data", !11, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/ibmvscsi/extr_ibmvscsi.c_show_host_srp_version.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/ibmvscsi/extr_ibmvscsi.c_show_host_srp_version.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 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @show_host_srp_version], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @show_host_srp_version(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @class_to_shost(ptr noundef %0) #2 %5 = tail call ptr @shost_priv(ptr noundef %4) #2 %6 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %7 = load ptr, ptr %5, align 8, !tbaa !10 %8 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %7) #2 ret i32 %8 } declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #1 declare ptr @shost_priv(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"ibmvscsi_host_data", !12, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_drivers_scsi_ibmvscsi_extr_ibmvscsi.c_show_host_srp_version
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_eeepc-laptop.c_eeepc_input_exit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_eeepc-laptop.c_eeepc_input_exit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ehotk = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @eeepc_input_exit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @eeepc_input_exit() #0 { %1 = load ptr, ptr @ehotk, align 8, !tbaa !5 %2 = load i64, ptr %1, align 8, !tbaa !9 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @input_unregister_device(i64 noundef %2) #2 br label %6 6: ; preds = %4, %0 ret void } declare i32 @input_unregister_device(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_eeepc-laptop.c_eeepc_input_exit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_eeepc-laptop.c_eeepc_input_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ehotk = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @eeepc_input_exit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @eeepc_input_exit() #0 { %1 = load ptr, ptr @ehotk, align 8, !tbaa !6 %2 = load i64, ptr %1, align 8, !tbaa !10 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @input_unregister_device(i64 noundef %2) #2 br label %6 6: ; preds = %4, %0 ret void } declare i32 @input_unregister_device(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"long", !8, i64 0}
fastsocket_kernel_drivers_platform_x86_extr_eeepc-laptop.c_eeepc_input_exit
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_addq_32_pd.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_addq_32_pd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REG_IR = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_N = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_V = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_C = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_X = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @m68k_op_addq_32_pd() local_unnamed_addr #0 { %1 = load i32, ptr @REG_IR, align 4, !tbaa !5 %2 = lshr i32 %1, 9 %3 = add nuw nsw i32 %2, 7 %4 = and i32 %3, 7 %5 = add nuw nsw i32 %4, 1 %6 = tail call i32 (...) @EA_AY_PD_32() #2 %7 = tail call i32 @m68ki_read_32(i32 noundef %6) #2 %8 = add nsw i32 %5, %7 %9 = tail call i32 @NFLAG_32(i32 noundef %8) #2 store i32 %9, ptr @FLAG_N, align 4, !tbaa !5 %10 = tail call i32 @VFLAG_ADD_32(i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 store i32 %10, ptr @FLAG_V, align 4, !tbaa !5 %11 = tail call i32 @CFLAG_ADD_32(i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 store i32 %11, ptr @FLAG_C, align 4, !tbaa !5 store i32 %11, ptr @FLAG_X, align 4, !tbaa !5 %12 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %8) #2 store i32 %12, ptr @FLAG_Z, align 4, !tbaa !5 %13 = tail call i32 @m68ki_write_32(i32 noundef %6, i32 noundef %12) #2 ret void } declare i32 @EA_AY_PD_32(...) local_unnamed_addr #1 declare i32 @m68ki_read_32(i32 noundef) local_unnamed_addr #1 declare i32 @NFLAG_32(i32 noundef) local_unnamed_addr #1 declare i32 @VFLAG_ADD_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CFLAG_ADD_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MASK_OUT_ABOVE_32(i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_write_32(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/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_addq_32_pd.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_addq_32_pd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_IR = common local_unnamed_addr global i32 0, align 4 @FLAG_N = common local_unnamed_addr global i32 0, align 4 @FLAG_V = common local_unnamed_addr global i32 0, align 4 @FLAG_C = common local_unnamed_addr global i32 0, align 4 @FLAG_X = common local_unnamed_addr global i32 0, align 4 @FLAG_Z = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @m68k_op_addq_32_pd() local_unnamed_addr #0 { %1 = load i32, ptr @REG_IR, align 4, !tbaa !6 %2 = lshr i32 %1, 9 %3 = add nuw nsw i32 %2, 7 %4 = and i32 %3, 7 %5 = add nuw nsw i32 %4, 1 %6 = tail call i32 @EA_AY_PD_32() #2 %7 = tail call i32 @m68ki_read_32(i32 noundef %6) #2 %8 = add nsw i32 %5, %7 %9 = tail call i32 @NFLAG_32(i32 noundef %8) #2 store i32 %9, ptr @FLAG_N, align 4, !tbaa !6 %10 = tail call i32 @VFLAG_ADD_32(i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 store i32 %10, ptr @FLAG_V, align 4, !tbaa !6 %11 = tail call i32 @CFLAG_ADD_32(i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 store i32 %11, ptr @FLAG_C, align 4, !tbaa !6 store i32 %11, ptr @FLAG_X, align 4, !tbaa !6 %12 = tail call i32 @MASK_OUT_ABOVE_32(i32 noundef %8) #2 store i32 %12, ptr @FLAG_Z, align 4, !tbaa !6 %13 = tail call i32 @m68ki_write_32(i32 noundef %6, i32 noundef %12) #2 ret void } declare i32 @EA_AY_PD_32(...) local_unnamed_addr #1 declare i32 @m68ki_read_32(i32 noundef) local_unnamed_addr #1 declare i32 @NFLAG_32(i32 noundef) local_unnamed_addr #1 declare i32 @VFLAG_ADD_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CFLAG_ADD_32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MASK_OUT_ABOVE_32(i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_write_32(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"}
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopac.c_m68k_op_addq_32_pd
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/test/extr_test_speed.c_test_speed_rsa_i31.c' source_filename = "AnghaBench/freebsd/contrib/bearssl/test/extr_test_speed.c_test_speed_rsa_i31.c" target datalayout = "e-m:e-p270:32:32-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"RSA i31\00", align 1 @br_rsa_i31_public = dso_local global i32 0, align 4 @br_rsa_i31_private = dso_local global i32 0, align 4 @br_rsa_i31_keygen = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_speed_rsa_i31], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_speed_rsa_i31() #0 { %1 = tail call i32 @test_speed_rsa_inner(ptr noundef nonnull @.str, ptr noundef nonnull @br_rsa_i31_public, ptr noundef nonnull @br_rsa_i31_private, ptr noundef nonnull @br_rsa_i31_keygen) #2 ret void } declare i32 @test_speed_rsa_inner(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/test/extr_test_speed.c_test_speed_rsa_i31.c' source_filename = "AnghaBench/freebsd/contrib/bearssl/test/extr_test_speed.c_test_speed_rsa_i31.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"RSA i31\00", align 1 @br_rsa_i31_public = common global i32 0, align 4 @br_rsa_i31_private = common global i32 0, align 4 @br_rsa_i31_keygen = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @test_speed_rsa_i31], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_speed_rsa_i31() #0 { %1 = tail call i32 @test_speed_rsa_inner(ptr noundef nonnull @.str, ptr noundef nonnull @br_rsa_i31_public, ptr noundef nonnull @br_rsa_i31_private, ptr noundef nonnull @br_rsa_i31_keygen) #2 ret void } declare i32 @test_speed_rsa_inner(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_bearssl_test_extr_test_speed.c_test_speed_rsa_i31
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nvidia.c_nvidiafb_remove.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nvidia.c_nvidiafb_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.fb_info = type { %struct.TYPE_3__, %struct.TYPE_4__, i32, ptr } %struct.TYPE_3__ = type { i32 } %struct.TYPE_4__ = type { i32 } %struct.nvidia_par = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @nvidiafb_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nvidiafb_remove(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.fb_info, ptr %2, i64 0, i32 3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 (...) @NVTRACE_ENTER() #2 %6 = tail call i32 @unregister_framebuffer(ptr noundef %2) #2 %7 = tail call i32 @nvidia_bl_exit(ptr noundef %4) #2 %8 = getelementptr inbounds %struct.nvidia_par, ptr %4, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = tail call i32 @arch_phys_wc_del(i32 noundef %9) #2 %11 = getelementptr inbounds %struct.fb_info, ptr %2, i64 0, i32 2 %12 = load i32, ptr %11, align 8, !tbaa !15 %13 = tail call i32 @iounmap(i32 noundef %12) #2 %14 = getelementptr inbounds %struct.fb_info, ptr %2, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = tail call i32 @fb_destroy_modedb(i32 noundef %15) #2 %17 = tail call i32 @nvidia_delete_i2c_busses(ptr noundef %4) #2 %18 = load i32, ptr %4, align 4, !tbaa !17 %19 = tail call i32 @iounmap(i32 noundef %18) #2 %20 = tail call i32 @pci_release_regions(ptr noundef %0) #2 %21 = load i32, ptr %2, align 8, !tbaa !18 %22 = tail call i32 @kfree(i32 noundef %21) #2 %23 = tail call i32 @framebuffer_release(ptr noundef nonnull %2) #2 %24 = tail call i32 (...) @NVTRACE_LEAVE() #2 ret void } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @NVTRACE_ENTER(...) local_unnamed_addr #1 declare i32 @unregister_framebuffer(ptr noundef) local_unnamed_addr #1 declare i32 @nvidia_bl_exit(ptr noundef) local_unnamed_addr #1 declare i32 @arch_phys_wc_del(i32 noundef) local_unnamed_addr #1 declare i32 @iounmap(i32 noundef) local_unnamed_addr #1 declare i32 @fb_destroy_modedb(i32 noundef) local_unnamed_addr #1 declare i32 @nvidia_delete_i2c_busses(ptr noundef) local_unnamed_addr #1 declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(i32 noundef) local_unnamed_addr #1 declare i32 @framebuffer_release(ptr noundef) local_unnamed_addr #1 declare i32 @NVTRACE_LEAVE(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"fb_info", !7, i64 0, !11, i64 4, !8, i64 8, !12, i64 16} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !8, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 4} !14 = !{!"nvidia_par", !8, i64 0, !8, i64 4} !15 = !{!6, !8, i64 8} !16 = !{!6, !8, i64 4} !17 = !{!14, !8, i64 0} !18 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nvidia.c_nvidiafb_remove.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/nvidia/extr_nvidia.c_nvidiafb_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 @nvidiafb_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nvidiafb_remove(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @NVTRACE_ENTER() #2 %6 = tail call i32 @unregister_framebuffer(ptr noundef %2) #2 %7 = tail call i32 @nvidia_bl_exit(ptr noundef %4) #2 %8 = getelementptr inbounds i8, ptr %4, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = tail call i32 @arch_phys_wc_del(i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %2, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !16 %13 = tail call i32 @iounmap(i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %2, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !17 %16 = tail call i32 @fb_destroy_modedb(i32 noundef %15) #2 %17 = tail call i32 @nvidia_delete_i2c_busses(ptr noundef %4) #2 %18 = load i32, ptr %4, align 4, !tbaa !18 %19 = tail call i32 @iounmap(i32 noundef %18) #2 %20 = tail call i32 @pci_release_regions(ptr noundef %0) #2 %21 = load i32, ptr %2, align 8, !tbaa !19 %22 = tail call i32 @kfree(i32 noundef %21) #2 %23 = tail call i32 @framebuffer_release(ptr noundef nonnull %2) #2 %24 = tail call i32 @NVTRACE_LEAVE() #2 ret void } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @NVTRACE_ENTER(...) local_unnamed_addr #1 declare i32 @unregister_framebuffer(ptr noundef) local_unnamed_addr #1 declare i32 @nvidia_bl_exit(ptr noundef) local_unnamed_addr #1 declare i32 @arch_phys_wc_del(i32 noundef) local_unnamed_addr #1 declare i32 @iounmap(i32 noundef) local_unnamed_addr #1 declare i32 @fb_destroy_modedb(i32 noundef) local_unnamed_addr #1 declare i32 @nvidia_delete_i2c_busses(ptr noundef) local_unnamed_addr #1 declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(i32 noundef) local_unnamed_addr #1 declare i32 @framebuffer_release(ptr noundef) local_unnamed_addr #1 declare i32 @NVTRACE_LEAVE(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"fb_info", !8, i64 0, !12, i64 4, !9, i64 8, !13, i64 16} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_4__", !9, i64 0} !13 = !{!"any pointer", !10, i64 0} !14 = !{!15, !9, i64 4} !15 = !{!"nvidia_par", !9, i64 0, !9, i64 4} !16 = !{!7, !9, i64 8} !17 = !{!7, !9, i64 4} !18 = !{!15, !9, i64 0} !19 = !{!7, !9, i64 0}
linux_drivers_video_fbdev_nvidia_extr_nvidia.c_nvidiafb_remove
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_mt352.c_mt352_set_parameters.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_mt352.c_mt352_set_parameters.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dvb_frontend = type { %struct.TYPE_8__, ptr } %struct.TYPE_8__ = type { %struct.TYPE_7__, ptr } %struct.TYPE_7__ = type { ptr, ptr } %struct.dvb_ofdm_parameters = type { i32, i32, i32, i32, i32, i32, i32 } @mt352_set_parameters.tuner_go = internal global [2 x i8] c"]\01", align 1 @mt352_set_parameters.fsm_go = internal global [2 x i8] c"^\01", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @TPS_GIVEN_1 = dso_local local_unnamed_addr global i8 0, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mt352_set_parameters], section "llvm.metadata" @switch.table.mt352_set_parameters = private unnamed_addr constant [6 x i32] [i32 0, i32 512, i32 384, i32 256, i32 128, i32 0], align 4 ; Function Attrs: nounwind uwtable define internal i32 @mt352_set_parameters(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca [13 x i8], align 1 %4 = getelementptr inbounds %struct.dvb_frontend, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %3) #3 %6 = load i32, ptr %1, align 4, !tbaa !12 %7 = add i32 %6, -146 %8 = icmp ult i32 %7, 6 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !15 %11 = sub nsw i32 0, %10 br label %120 12: ; preds = %2 %13 = zext nneg i32 %7 to i64 %14 = getelementptr inbounds [6 x i32], ptr @switch.table.mt352_set_parameters, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = getelementptr inbounds %struct.dvb_ofdm_parameters, ptr %1, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !16 switch i32 %17, label %31 [ i32 150, label %18 i32 149, label %20 i32 148, label %22 i32 147, label %24 i32 151, label %34 i32 146, label %34 i32 145, label %26 ] 18: ; preds = %12 %19 = or disjoint i32 %15, 16 br label %34 20: ; preds = %12 %21 = or disjoint i32 %15, 32 br label %34 22: ; preds = %12 %23 = or disjoint i32 %15, 48 br label %34 24: ; preds = %12 %25 = or disjoint i32 %15, 64 br label %34 26: ; preds = %12 %27 = getelementptr inbounds %struct.dvb_ofdm_parameters, ptr %1, i64 0, i32 2 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = add i32 %28, -135 %30 = icmp ult i32 %29, 2 br i1 %30, label %34, label %31 31: ; preds = %26, %12 %32 = load i32, ptr @EINVAL, align 4, !tbaa !15 %33 = sub nsw i32 0, %32 br label %120 34: ; preds = %26, %12, %12, %24, %22, %20, %18 %35 = phi i32 [ %15, %12 ], [ %15, %12 ], [ %25, %24 ], [ %23, %22 ], [ %21, %20 ], [ %19, %18 ], [ %15, %26 ] %36 = getelementptr inbounds %struct.dvb_ofdm_parameters, ptr %1, i64 0, i32 3 %37 = load i32, ptr %36, align 4, !tbaa !18 switch i32 %37, label %42 [ i32 131, label %45 i32 132, label %38 i32 134, label %38 i32 133, label %40 ] 38: ; preds = %34, %34 %39 = or i32 %35, 8192 br label %45 40: ; preds = %34 %41 = or i32 %35, 16384 br label %45 42: ; preds = %34 %43 = load i32, ptr @EINVAL, align 4, !tbaa !15 %44 = sub nsw i32 0, %43 br label %120 45: ; preds = %40, %38, %34 %46 = phi i32 [ %41, %40 ], [ %39, %38 ], [ %35, %34 ] %47 = getelementptr inbounds %struct.dvb_ofdm_parameters, ptr %1, i64 0, i32 4 %48 = load i32, ptr %47, align 4, !tbaa !19 switch i32 %48, label %51 [ i32 130, label %54 i32 128, label %54 i32 129, label %49 ] 49: ; preds = %45 %50 = or i32 %46, 1 br label %54 51: ; preds = %45 %52 = load i32, ptr @EINVAL, align 4, !tbaa !15 %53 = sub nsw i32 0, %52 br label %120 54: ; preds = %45, %45, %49 %55 = phi i32 [ %50, %49 ], [ %46, %45 ], [ %46, %45 ] %56 = getelementptr inbounds %struct.dvb_ofdm_parameters, ptr %1, i64 0, i32 5 %57 = load i32, ptr %56, align 4, !tbaa !20 switch i32 %57, label %64 [ i32 143, label %67 i32 140, label %67 i32 144, label %58 i32 141, label %60 i32 142, label %62 ] 58: ; preds = %54 %59 = or i32 %55, 4 br label %67 60: ; preds = %54 %61 = or i32 %55, 8 br label %67 62: ; preds = %54 %63 = or i32 %55, 12 br label %67 64: ; preds = %54 %65 = load i32, ptr @EINVAL, align 4, !tbaa !15 %66 = sub nsw i32 0, %65 br label %120 67: ; preds = %54, %54, %62, %60, %58 %68 = phi i32 [ %63, %62 ], [ %61, %60 ], [ %59, %58 ], [ %55, %54 ], [ %55, %54 ] %69 = getelementptr inbounds %struct.dvb_ofdm_parameters, ptr %1, i64 0, i32 2 %70 = load i32, ptr %69, align 4, !tbaa !17 switch i32 %70, label %77 [ i32 136, label %80 i32 135, label %80 i32 139, label %71 i32 138, label %73 i32 137, label %75 ] 71: ; preds = %67 %72 = or i32 %68, 1024 br label %80 73: ; preds = %67 %74 = or i32 %68, 2048 br label %80 75: ; preds = %67 %76 = or i32 %68, 3072 br label %80 77: ; preds = %67 %78 = load i32, ptr @EINVAL, align 4, !tbaa !15 %79 = sub nsw i32 0, %78 br label %120 80: ; preds = %67, %67, %75, %73, %71 %81 = phi i32 [ %76, %75 ], [ %74, %73 ], [ %72, %71 ], [ %68, %67 ], [ %68, %67 ] %82 = load i8, ptr @TPS_GIVEN_1, align 1, !tbaa !21 store i8 %82, ptr %3, align 1, !tbaa !21 %83 = tail call zeroext i8 @msb(i32 noundef %81) #3 %84 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 1 store i8 %83, ptr %84, align 1, !tbaa !21 %85 = tail call zeroext i8 @lsb(i32 noundef %81) #3 %86 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 2 store i8 %85, ptr %86, align 1, !tbaa !21 %87 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 3 store i8 80, ptr %87, align 1, !tbaa !21 %88 = getelementptr inbounds %struct.dvb_ofdm_parameters, ptr %1, i64 0, i32 6 %89 = load i32, ptr %88, align 4, !tbaa !22 %90 = getelementptr inbounds i8, ptr %3, i64 4 %91 = call i32 @mt352_calc_nominal_rate(ptr noundef %5, i32 noundef %89, ptr noundef nonnull %90) #3 %92 = getelementptr inbounds i8, ptr %3, i64 6 %93 = call i32 @mt352_calc_input_freq(ptr noundef %5, ptr noundef nonnull %92) #3 %94 = load i64, ptr %5, align 8, !tbaa !23 %95 = icmp eq i64 %94, 0 br i1 %95, label %110, label %96 96: ; preds = %80 %97 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %98 = load ptr, ptr %97, align 8, !tbaa !27 %99 = icmp eq ptr %98, null br i1 %99, label %107, label %100 100: ; preds = %96 %101 = call i32 %98(ptr noundef nonnull %0, ptr noundef nonnull %1) #3 %102 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %103 = load ptr, ptr %102, align 8, !tbaa !28 %104 = icmp eq ptr %103, null br i1 %104, label %107, label %105 105: ; preds = %100 %106 = call i32 %103(ptr noundef nonnull %0, i32 noundef 0) #3 br label %107 107: ; preds = %100, %105, %96 %108 = call i32 @_mt352_write(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef 8) #3 %109 = call i32 @_mt352_write(ptr noundef nonnull %0, ptr noundef nonnull @mt352_set_parameters.fsm_go, i32 noundef 2) #3 br label %120 110: ; preds = %80 %111 = load ptr, ptr %0, align 8, !tbaa !29 %112 = icmp eq ptr %111, null br i1 %112, label %120, label %113 113: ; preds = %110 %114 = getelementptr inbounds i8, ptr %3, i64 8 %115 = call i32 %111(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %114, i32 noundef 5) #3 %116 = load i8, ptr %114, align 1, !tbaa !21 %117 = shl i8 %116, 1 store i8 %117, ptr %114, align 1, !tbaa !21 %118 = call i32 @_mt352_write(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef 13) #3 %119 = call i32 @_mt352_write(ptr noundef nonnull %0, ptr noundef nonnull @mt352_set_parameters.tuner_go, i32 noundef 2) #3 br label %120 120: ; preds = %107, %113, %110, %77, %64, %51, %42, %31, %9 %121 = phi i32 [ %11, %9 ], [ %33, %31 ], [ %44, %42 ], [ %53, %51 ], [ %66, %64 ], [ %79, %77 ], [ 0, %110 ], [ 0, %113 ], [ 0, %107 ] call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %3) #3 ret i32 %121 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare zeroext i8 @msb(i32 noundef) local_unnamed_addr #2 declare zeroext i8 @lsb(i32 noundef) local_unnamed_addr #2 declare i32 @mt352_calc_nominal_rate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mt352_calc_input_freq(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @_mt352_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !9, i64 24} !6 = !{!"dvb_frontend", !7, i64 0, !9, i64 24} !7 = !{!"TYPE_8__", !8, i64 0, !9, i64 16} !8 = !{!"TYPE_7__", !9, i64 0, !9, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 0} !13 = !{!"dvb_ofdm_parameters", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24} !14 = !{!"int", !10, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 4} !17 = !{!13, !14, i64 8} !18 = !{!13, !14, i64 12} !19 = !{!13, !14, i64 16} !20 = !{!13, !14, i64 20} !21 = !{!10, !10, i64 0} !22 = !{!13, !14, i64 24} !23 = !{!24, !26, i64 0} !24 = !{!"mt352_state", !25, i64 0} !25 = !{!"TYPE_6__", !26, i64 0} !26 = !{!"long", !10, i64 0} !27 = !{!6, !9, i64 8} !28 = !{!6, !9, i64 16} !29 = !{!6, !9, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_mt352.c_mt352_set_parameters.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_mt352.c_mt352_set_parameters.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mt352_set_parameters.tuner_go = internal global [2 x i8] c"]\01", align 1 @mt352_set_parameters.fsm_go = internal global [2 x i8] c"^\01", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @TPS_GIVEN_1 = common local_unnamed_addr global i8 0, align 1 @llvm.used = appending global [1 x ptr] [ptr @mt352_set_parameters], section "llvm.metadata" @switch.table.mt352_set_parameters = private unnamed_addr constant [6 x i32] [i32 0, i32 512, i32 384, i32 256, i32 128, i32 0], align 4 ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @mt352_set_parameters(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca [13 x i8], align 1 %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %3) #3 %6 = load i32, ptr %1, align 4, !tbaa !13 %7 = add i32 %6, -146 %8 = icmp ult i32 %7, 6 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !16 %11 = sub nsw i32 0, %10 br label %120 12: ; preds = %2 %13 = zext nneg i32 %7 to i64 %14 = getelementptr inbounds [6 x i32], ptr @switch.table.mt352_set_parameters, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = getelementptr inbounds i8, ptr %1, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !17 switch i32 %17, label %31 [ i32 150, label %18 i32 149, label %20 i32 148, label %22 i32 147, label %24 i32 151, label %34 i32 146, label %34 i32 145, label %26 ] 18: ; preds = %12 %19 = or disjoint i32 %15, 16 br label %34 20: ; preds = %12 %21 = or disjoint i32 %15, 32 br label %34 22: ; preds = %12 %23 = or disjoint i32 %15, 48 br label %34 24: ; preds = %12 %25 = or disjoint i32 %15, 64 br label %34 26: ; preds = %12 %27 = getelementptr inbounds i8, ptr %1, i64 8 %28 = load i32, ptr %27, align 4, !tbaa !18 %29 = add i32 %28, -135 %30 = icmp ult i32 %29, 2 br i1 %30, label %34, label %31 31: ; preds = %26, %12 %32 = load i32, ptr @EINVAL, align 4, !tbaa !16 %33 = sub nsw i32 0, %32 br label %120 34: ; preds = %26, %12, %12, %24, %22, %20, %18 %35 = phi i32 [ %15, %12 ], [ %15, %12 ], [ %25, %24 ], [ %23, %22 ], [ %21, %20 ], [ %19, %18 ], [ %15, %26 ] %36 = getelementptr inbounds i8, ptr %1, i64 12 %37 = load i32, ptr %36, align 4, !tbaa !19 switch i32 %37, label %42 [ i32 131, label %45 i32 132, label %38 i32 134, label %38 i32 133, label %40 ] 38: ; preds = %34, %34 %39 = or i32 %35, 8192 br label %45 40: ; preds = %34 %41 = or i32 %35, 16384 br label %45 42: ; preds = %34 %43 = load i32, ptr @EINVAL, align 4, !tbaa !16 %44 = sub nsw i32 0, %43 br label %120 45: ; preds = %40, %38, %34 %46 = phi i32 [ %41, %40 ], [ %39, %38 ], [ %35, %34 ] %47 = getelementptr inbounds i8, ptr %1, i64 16 %48 = load i32, ptr %47, align 4, !tbaa !20 switch i32 %48, label %51 [ i32 130, label %54 i32 128, label %54 i32 129, label %49 ] 49: ; preds = %45 %50 = or i32 %46, 1 br label %54 51: ; preds = %45 %52 = load i32, ptr @EINVAL, align 4, !tbaa !16 %53 = sub nsw i32 0, %52 br label %120 54: ; preds = %45, %45, %49 %55 = phi i32 [ %50, %49 ], [ %46, %45 ], [ %46, %45 ] %56 = getelementptr inbounds i8, ptr %1, i64 20 %57 = load i32, ptr %56, align 4, !tbaa !21 switch i32 %57, label %64 [ i32 143, label %67 i32 140, label %67 i32 144, label %58 i32 141, label %60 i32 142, label %62 ] 58: ; preds = %54 %59 = or i32 %55, 4 br label %67 60: ; preds = %54 %61 = or i32 %55, 8 br label %67 62: ; preds = %54 %63 = or i32 %55, 12 br label %67 64: ; preds = %54 %65 = load i32, ptr @EINVAL, align 4, !tbaa !16 %66 = sub nsw i32 0, %65 br label %120 67: ; preds = %54, %54, %62, %60, %58 %68 = phi i32 [ %63, %62 ], [ %61, %60 ], [ %59, %58 ], [ %55, %54 ], [ %55, %54 ] %69 = getelementptr inbounds i8, ptr %1, i64 8 %70 = load i32, ptr %69, align 4, !tbaa !18 switch i32 %70, label %77 [ i32 136, label %80 i32 135, label %80 i32 139, label %71 i32 138, label %73 i32 137, label %75 ] 71: ; preds = %67 %72 = or i32 %68, 1024 br label %80 73: ; preds = %67 %74 = or i32 %68, 2048 br label %80 75: ; preds = %67 %76 = or i32 %68, 3072 br label %80 77: ; preds = %67 %78 = load i32, ptr @EINVAL, align 4, !tbaa !16 %79 = sub nsw i32 0, %78 br label %120 80: ; preds = %67, %67, %75, %73, %71 %81 = phi i32 [ %76, %75 ], [ %74, %73 ], [ %72, %71 ], [ %68, %67 ], [ %68, %67 ] %82 = load i8, ptr @TPS_GIVEN_1, align 1, !tbaa !22 store i8 %82, ptr %3, align 1, !tbaa !22 %83 = tail call zeroext i8 @msb(i32 noundef %81) #3 %84 = getelementptr inbounds i8, ptr %3, i64 1 store i8 %83, ptr %84, align 1, !tbaa !22 %85 = tail call zeroext i8 @lsb(i32 noundef %81) #3 %86 = getelementptr inbounds i8, ptr %3, i64 2 store i8 %85, ptr %86, align 1, !tbaa !22 %87 = getelementptr inbounds i8, ptr %3, i64 3 store i8 80, ptr %87, align 1, !tbaa !22 %88 = getelementptr inbounds i8, ptr %1, i64 24 %89 = load i32, ptr %88, align 4, !tbaa !23 %90 = getelementptr inbounds i8, ptr %3, i64 4 %91 = call i32 @mt352_calc_nominal_rate(ptr noundef %5, i32 noundef %89, ptr noundef nonnull %90) #3 %92 = getelementptr inbounds i8, ptr %3, i64 6 %93 = call i32 @mt352_calc_input_freq(ptr noundef %5, ptr noundef nonnull %92) #3 %94 = load i64, ptr %5, align 8, !tbaa !24 %95 = icmp eq i64 %94, 0 br i1 %95, label %110, label %96 96: ; preds = %80 %97 = getelementptr inbounds i8, ptr %0, i64 8 %98 = load ptr, ptr %97, align 8, !tbaa !28 %99 = icmp eq ptr %98, null br i1 %99, label %107, label %100 100: ; preds = %96 %101 = call i32 %98(ptr noundef nonnull %0, ptr noundef nonnull %1) #3 %102 = getelementptr inbounds i8, ptr %0, i64 16 %103 = load ptr, ptr %102, align 8, !tbaa !29 %104 = icmp eq ptr %103, null br i1 %104, label %107, label %105 105: ; preds = %100 %106 = call i32 %103(ptr noundef nonnull %0, i32 noundef 0) #3 br label %107 107: ; preds = %100, %105, %96 %108 = call i32 @_mt352_write(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef 8) #3 %109 = call i32 @_mt352_write(ptr noundef nonnull %0, ptr noundef nonnull @mt352_set_parameters.fsm_go, i32 noundef 2) #3 br label %120 110: ; preds = %80 %111 = load ptr, ptr %0, align 8, !tbaa !30 %112 = icmp eq ptr %111, null br i1 %112, label %120, label %113 113: ; preds = %110 %114 = getelementptr inbounds i8, ptr %3, i64 8 %115 = call i32 %111(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %114, i32 noundef 5) #3 %116 = load i8, ptr %114, align 1, !tbaa !22 %117 = shl i8 %116, 1 store i8 %117, ptr %114, align 1, !tbaa !22 %118 = call i32 @_mt352_write(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef 13) #3 %119 = call i32 @_mt352_write(ptr noundef nonnull %0, ptr noundef nonnull @mt352_set_parameters.tuner_go, i32 noundef 2) #3 br label %120 120: ; preds = %107, %113, %110, %77, %64, %51, %42, %31, %9 %121 = phi i32 [ %11, %9 ], [ %33, %31 ], [ %44, %42 ], [ %53, %51 ], [ %66, %64 ], [ %79, %77 ], [ 0, %110 ], [ 0, %113 ], [ 0, %107 ] call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %3) #3 ret i32 %121 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare zeroext i8 @msb(i32 noundef) local_unnamed_addr #2 declare zeroext i8 @lsb(i32 noundef) local_unnamed_addr #2 declare i32 @mt352_calc_nominal_rate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mt352_calc_input_freq(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @_mt352_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !10, i64 24} !7 = !{!"dvb_frontend", !8, i64 0, !10, i64 24} !8 = !{!"TYPE_8__", !9, i64 0, !10, i64 16} !9 = !{!"TYPE_7__", !10, i64 0, !10, i64 8} !10 = !{!"any pointer", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!14, !15, i64 0} !14 = !{!"dvb_ofdm_parameters", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24} !15 = !{!"int", !11, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !15, i64 4} !18 = !{!14, !15, i64 8} !19 = !{!14, !15, i64 12} !20 = !{!14, !15, i64 16} !21 = !{!14, !15, i64 20} !22 = !{!11, !11, i64 0} !23 = !{!14, !15, i64 24} !24 = !{!25, !27, i64 0} !25 = !{!"mt352_state", !26, i64 0} !26 = !{!"TYPE_6__", !27, i64 0} !27 = !{!"long", !11, i64 0} !28 = !{!7, !10, i64 8} !29 = !{!7, !10, i64 16} !30 = !{!7, !10, i64 0}
fastsocket_kernel_drivers_media_dvb_frontends_extr_mt352.c_mt352_set_parameters
; ModuleID = 'AnghaBench/freebsd/sys/arm/xilinx/extr_zy7_gpio.c_zy7_gpio_pin_getcaps.c' source_filename = "AnghaBench/freebsd/sys/arm/xilinx/extr_zy7_gpio.c_zy7_gpio_pin_getcaps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @GPIO_PIN_INPUT = dso_local local_unnamed_addr global i32 0, align 4 @GPIO_PIN_OUTPUT = dso_local local_unnamed_addr global i32 0, align 4 @GPIO_PIN_TRISTATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @zy7_gpio_pin_getcaps], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @zy7_gpio_pin_getcaps(i32 %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call i32 @VALID_PIN(i32 noundef %1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %14 8: ; preds = %3 %9 = load i32, ptr @GPIO_PIN_INPUT, align 4, !tbaa !5 %10 = load i32, ptr @GPIO_PIN_OUTPUT, align 4, !tbaa !5 %11 = or i32 %10, %9 %12 = load i32, ptr @GPIO_PIN_TRISTATE, align 4, !tbaa !5 %13 = or i32 %11, %12 store i32 %13, ptr %2, align 4, !tbaa !5 br label %14 14: ; preds = %8, %6 %15 = phi i32 [ 0, %8 ], [ %7, %6 ] ret i32 %15 } declare i32 @VALID_PIN(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/arm/xilinx/extr_zy7_gpio.c_zy7_gpio_pin_getcaps.c' source_filename = "AnghaBench/freebsd/sys/arm/xilinx/extr_zy7_gpio.c_zy7_gpio_pin_getcaps.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @GPIO_PIN_INPUT = common local_unnamed_addr global i32 0, align 4 @GPIO_PIN_OUTPUT = common local_unnamed_addr global i32 0, align 4 @GPIO_PIN_TRISTATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @zy7_gpio_pin_getcaps], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @zy7_gpio_pin_getcaps(i32 %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call i32 @VALID_PIN(i32 noundef %1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %14 8: ; preds = %3 %9 = load i32, ptr @GPIO_PIN_INPUT, align 4, !tbaa !6 %10 = load i32, ptr @GPIO_PIN_OUTPUT, align 4, !tbaa !6 %11 = or i32 %10, %9 %12 = load i32, ptr @GPIO_PIN_TRISTATE, align 4, !tbaa !6 %13 = or i32 %11, %12 store i32 %13, ptr %2, align 4, !tbaa !6 br label %14 14: ; preds = %8, %6 %15 = phi i32 [ 0, %8 ], [ %7, %6 ] ret i32 %15 } declare i32 @VALID_PIN(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_arm_xilinx_extr_zy7_gpio.c_zy7_gpio_pin_getcaps
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_glsl.c_GLSL_SetUniformInt.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_glsl.c_GLSL_SetUniformInt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_6__ = type { i64 } %struct.TYPE_7__ = type { i32 (i32, i8*, i32, i32)* } %struct.TYPE_5__ = type { i32*, i32, i32, i64*, i64 } @uniformsInfo = dso_local local_unnamed_addr global %struct.TYPE_6__* null, align 8 @GLSL_INT = dso_local local_unnamed_addr global i64 0, align 8 @ri = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @PRINT_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [61 x i8] c"GLSL_SetUniformInt: wrong type for uniform %i in program %s\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @GLSL_SetUniformInt(%struct.TYPE_5__* nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %0, i64 0, i32 0 %5 = load i32*, i32** %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %0, i64 0, i32 4 %7 = load i64, i64* %6, align 8, !tbaa !12 %8 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %0, i64 0, i32 3 %9 = load i64*, i64** %8, align 8, !tbaa !13 %10 = sext i32 %1 to i64 %11 = getelementptr inbounds i64, i64* %9, i64 %10 %12 = load i64, i64* %11, align 8, !tbaa !14 %13 = add nsw i64 %12, %7 %14 = inttoptr i64 %13 to i32* %15 = getelementptr inbounds i32, i32* %5, i64 %10 %16 = load i32, i32* %15, align 4, !tbaa !15 %17 = icmp eq i32 %16, -1 br i1 %17, label %38, label %18 18: ; preds = %3 %19 = load %struct.TYPE_6__*, %struct.TYPE_6__** @uniformsInfo, align 8, !tbaa !16 %20 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %19, i64 %10, i32 0 %21 = load i64, i64* %20, align 8, !tbaa !17 %22 = load i64, i64* @GLSL_INT, align 8, !tbaa !14 %23 = icmp eq i64 %21, %22 br i1 %23, label %30, label %24 24: ; preds = %18 %25 = load i32 (i32, i8*, i32, i32)*, i32 (i32, i8*, i32, i32)** getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @ri, i64 0, i32 0), align 8, !tbaa !19 %26 = load i32, i32* @PRINT_WARNING, align 4, !tbaa !15 %27 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %0, i64 0, i32 2 %28 = load i32, i32* %27, align 4, !tbaa !21 %29 = tail call i32 %25(i32 noundef %26, i8* noundef getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0), i32 noundef %1, i32 noundef %28) #2 br label %38 30: ; preds = %18 %31 = load i32, i32* %14, align 4, !tbaa !15 %32 = icmp eq i32 %31, %2 br i1 %32, label %38, label %33 33: ; preds = %30 store i32 %2, i32* %14, align 4, !tbaa !15 %34 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %0, i64 0, i32 1 %35 = load i32, i32* %34, align 8, !tbaa !22 %36 = load i32, i32* %15, align 4, !tbaa !15 %37 = tail call i32 @qglProgramUniform1iEXT(i32 noundef %35, i32 noundef %36, i32 noundef %2) #2 br label %38 38: ; preds = %30, %3, %33, %24 ret void } declare i32 @qglProgramUniform1iEXT(i32 noundef, 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"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !11, 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 = !{!"long", !8, i64 0} !12 = !{!6, !11, i64 24} !13 = !{!6, !7, i64 16} !14 = !{!11, !11, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!18, !11, i64 0} !18 = !{!"TYPE_6__", !11, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_7__", !7, i64 0} !21 = !{!6, !10, i64 12} !22 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_glsl.c_GLSL_SetUniformInt.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_glsl.c_GLSL_SetUniformInt.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 { ptr } %struct.TYPE_6__ = type { i64 } @uniformsInfo = common local_unnamed_addr global ptr null, align 8 @GLSL_INT = common local_unnamed_addr global i64 0, align 8 @ri = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @PRINT_WARNING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [61 x i8] c"GLSL_SetUniformInt: wrong type for uniform %i in program %s\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @GLSL_SetUniformInt(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 24 %6 = load i64, ptr %5, align 8, !tbaa !13 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = sext i32 %1 to i64 %10 = getelementptr inbounds i64, ptr %8, i64 %9 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = add nsw i64 %11, %6 %13 = inttoptr i64 %12 to ptr %14 = getelementptr inbounds i32, ptr %4, i64 %9 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = icmp eq i32 %15, -1 br i1 %16, label %37, label %17 17: ; preds = %3 %18 = load ptr, ptr @uniformsInfo, align 8, !tbaa !17 %19 = getelementptr inbounds %struct.TYPE_6__, ptr %18, i64 %9 %20 = load i64, ptr %19, align 8, !tbaa !18 %21 = load i64, ptr @GLSL_INT, align 8, !tbaa !15 %22 = icmp eq i64 %20, %21 br i1 %22, label %29, label %23 23: ; preds = %17 %24 = load ptr, ptr @ri, align 8, !tbaa !20 %25 = load i32, ptr @PRINT_WARNING, align 4, !tbaa !16 %26 = getelementptr inbounds i8, ptr %0, i64 12 %27 = load i32, ptr %26, align 4, !tbaa !22 %28 = tail call i32 %24(i32 noundef %25, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %27) #2 br label %37 29: ; preds = %17 %30 = load i32, ptr %13, align 4, !tbaa !16 %31 = icmp eq i32 %30, %2 br i1 %31, label %37, label %32 32: ; preds = %29 store i32 %2, ptr %13, align 4, !tbaa !16 %33 = getelementptr inbounds i8, ptr %0, i64 8 %34 = load i32, ptr %33, align 8, !tbaa !23 %35 = load i32, ptr %14, align 4, !tbaa !16 %36 = tail call i32 @qglProgramUniform1iEXT(i32 noundef %34, i32 noundef %35, i32 noundef %2) #2 br label %37 37: ; preds = %29, %3, %32, %23 ret void } declare i32 @qglProgramUniform1iEXT(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !12, 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 = !{!"long", !9, i64 0} !13 = !{!7, !12, i64 24} !14 = !{!7, !8, i64 16} !15 = !{!12, !12, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"TYPE_6__", !12, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_7__", !8, i64 0} !22 = !{!7, !11, i64 12} !23 = !{!7, !11, i64 8}
lab_engine_code_renderergl2_extr_tr_glsl.c_GLSL_SetUniformInt
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_offload_enqueue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_offload_enqueue.c" target datalayout = "e-m:e-p270:32:32-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 @offload_enqueue], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @offload_enqueue(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @skb_queue_empty(ptr noundef %0) #2 %4 = tail call i32 @__skb_queue_tail(ptr noundef %0, ptr noundef %1) #2 %5 = icmp eq i32 %3, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = tail call ptr @rspq_to_qset(ptr noundef %0) #2 %8 = tail call i32 @napi_schedule(ptr noundef %7) #2 br label %9 9: ; preds = %6, %2 ret void } declare i32 @skb_queue_empty(ptr noundef) local_unnamed_addr #1 declare i32 @__skb_queue_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @rspq_to_qset(ptr noundef) local_unnamed_addr #1 declare i32 @napi_schedule(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_offload_enqueue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_offload_enqueue.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 @offload_enqueue], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @offload_enqueue(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @skb_queue_empty(ptr noundef %0) #2 %4 = tail call i32 @__skb_queue_tail(ptr noundef %0, ptr noundef %1) #2 %5 = icmp eq i32 %3, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = tail call ptr @rspq_to_qset(ptr noundef %0) #2 %8 = tail call i32 @napi_schedule(ptr noundef %7) #2 br label %9 9: ; preds = %6, %2 ret void } declare i32 @skb_queue_empty(ptr noundef) local_unnamed_addr #1 declare i32 @__skb_queue_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @rspq_to_qset(ptr noundef) local_unnamed_addr #1 declare i32 @napi_schedule(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)"}
fastsocket_kernel_drivers_net_cxgb3_extr_sge.c_offload_enqueue
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sunrpc/extr_xprtsock.c_xs_next_srcport.c' source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/extr_xprtsock.c_xs_next_srcport.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sock_xprt = type { i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @xprt_min_resvport = dso_local local_unnamed_addr global i16 0, align 2 @xprt_max_resvport = dso_local local_unnamed_addr global i16 0, align 2 @llvm.compiler.used = appending global [1 x ptr] [ptr @xs_next_srcport], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal zeroext i16 @xs_next_srcport(ptr nocapture noundef %0, i16 noundef zeroext %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %6, label %5 5: ; preds = %2 store i64 0, ptr %0, align 8, !tbaa !5 br label %6 6: ; preds = %5, %2 %7 = getelementptr inbounds %struct.sock_xprt, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = icmp eq i32 %8, 0 br i1 %9, label %18, label %10 10: ; preds = %6 %11 = load i16, ptr @xprt_min_resvport, align 2, !tbaa !13 %12 = icmp uge i16 %11, %1 %13 = load i16, ptr @xprt_max_resvport, align 2 %14 = icmp ult i16 %13, %1 %15 = select i1 %12, i1 true, i1 %14 %16 = add i16 %1, -1 %17 = select i1 %15, i16 %13, i16 %16 br label %18 18: ; preds = %10, %6 %19 = phi i16 [ 0, %6 ], [ %17, %10 ] ret i16 %19 } 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, !7, i64 0} !6 = !{!"sock_xprt", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !11, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"short", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sunrpc/extr_xprtsock.c_xs_next_srcport.c' source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/extr_xprtsock.c_xs_next_srcport.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @xprt_min_resvport = common local_unnamed_addr global i16 0, align 2 @xprt_max_resvport = common local_unnamed_addr global i16 0, align 2 @llvm.used = appending global [1 x ptr] [ptr @xs_next_srcport], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal zeroext i16 @xs_next_srcport(ptr nocapture noundef %0, i16 noundef zeroext %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %6, label %5 5: ; preds = %2 store i64 0, ptr %0, align 8, !tbaa !6 br label %6 6: ; preds = %5, %2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = icmp eq i32 %8, 0 br i1 %9, label %18, label %10 10: ; preds = %6 %11 = load i16, ptr @xprt_min_resvport, align 2, !tbaa !14 %12 = icmp uge i16 %11, %1 %13 = load i16, ptr @xprt_max_resvport, align 2 %14 = icmp ult i16 %13, %1 %15 = select i1 %12, i1 true, i1 %14 %16 = add i16 %1, -1 %17 = select i1 %15, i16 %13, i16 %16 br label %18 18: ; preds = %10, %6 %19 = phi i16 [ 0, %6 ], [ %17, %10 ] ret i16 %19 } 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, !8, i64 0} !7 = !{!"sock_xprt", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"short", !9, i64 0}
fastsocket_kernel_net_sunrpc_extr_xprtsock.c_xs_next_srcport
; ModuleID = 'AnghaBench/freebsd/sys/fs/fuse/extr_fuse_internal.c_fuse_internal_access.c' source_filename = "AnghaBench/freebsd/sys/fs/fuse/extr_fuse_internal.c_fuse_internal_access.c" target datalayout = "e-m:e-p270:32:32-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.fuse_dispatcher = type { ptr } %struct.vattr = type { i32, i32, i32 } %struct.fuse_data = type { i32, i32 } @F_OK = dso_local local_unnamed_addr global i32 0, align 4 @VMODIFY_PERMS = dso_local local_unnamed_addr global i32 0, align 4 @EROFS = dso_local local_unnamed_addr global i32 0, align 4 @FSESS_DAEMON_CAN_SPY = dso_local local_unnamed_addr global i32 0, align 4 @EPERM = dso_local local_unnamed_addr global i32 0, align 4 @FSESS_DEFAULT_PERMISSIONS = dso_local local_unnamed_addr global i32 0, align 4 @FUSE_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @VWRITE = dso_local local_unnamed_addr global i32 0, align 4 @VAPPEND = dso_local local_unnamed_addr global i32 0, align 4 @VADMIN = dso_local local_unnamed_addr global i32 0, align 4 @W_OK = dso_local local_unnamed_addr global i32 0, align 4 @VREAD = dso_local local_unnamed_addr global i32 0, align 4 @R_OK = dso_local local_unnamed_addr global i32 0, align 4 @VEXEC = dso_local local_unnamed_addr global i32 0, align 4 @X_OK = dso_local local_unnamed_addr global i32 0, align 4 @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @fuse_internal_access(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.fuse_dispatcher, align 8 %6 = alloca %struct.vattr, align 4 %7 = load i32, ptr @F_OK, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %8 = tail call ptr @vnode_mount(ptr noundef %0) #3 %9 = tail call i32 @vnode_vtype(ptr noundef %0) #3 %10 = tail call ptr @fuse_get_mpdata(ptr noundef %8) #3 %11 = load i32, ptr %10, align 4, !tbaa !9 %12 = icmp eq i32 %1, 0 br i1 %12, label %88, label %13 13: ; preds = %4 %14 = load i32, ptr @VMODIFY_PERMS, align 4, !tbaa !5 %15 = and i32 %14, %1 %16 = icmp eq i32 %15, 0 br i1 %16, label %26, label %17 17: ; preds = %13 %18 = tail call i64 @vfs_isrdonly(ptr noundef %8) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %26, label %20 20: ; preds = %17 %21 = load i32, ptr %0, align 4, !tbaa !11 %22 = add i32 %21, -128 %23 = icmp ult i32 %22, 3 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = load i32, ptr @EROFS, align 4, !tbaa !5 br label %88 26: ; preds = %20, %17, %13 %27 = load i32, ptr @FSESS_DAEMON_CAN_SPY, align 4, !tbaa !5 %28 = and i32 %27, %11 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %26 %31 = getelementptr inbounds %struct.fuse_data, ptr %10, i64 0, i32 1 %32 = load i32, ptr %31, align 4, !tbaa !13 %33 = tail call i64 @fuse_match_cred(i32 noundef %32, ptr noundef %3) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %30 %36 = load i32, ptr @EPERM, align 4, !tbaa !5 br label %88 37: ; preds = %30, %26 %38 = load i32, ptr @FSESS_DEFAULT_PERMISSIONS, align 4, !tbaa !5 %39 = and i32 %38, %11 %40 = icmp eq i32 %39, 0 br i1 %40, label %50, label %41 41: ; preds = %37 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #3 %42 = call i32 @fuse_internal_getattr(ptr noundef %0, ptr noundef nonnull %6, ptr noundef %3, ptr noundef %2) #3 %43 = load i32, ptr %0, align 4, !tbaa !11 %44 = getelementptr inbounds %struct.vattr, ptr %6, i64 0, i32 2 %45 = load i32, ptr %44, align 4, !tbaa !14 %46 = getelementptr inbounds %struct.vattr, ptr %6, i64 0, i32 1 %47 = load i32, ptr %46, align 4, !tbaa !16 %48 = load i32, ptr %6, align 4, !tbaa !17 %49 = call i32 @vaccess(i32 noundef %43, i32 noundef %45, i32 noundef %47, i32 noundef %48, i32 noundef %1, ptr noundef %3, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3 br label %88 50: ; preds = %37 %51 = load i32, ptr @FUSE_ACCESS, align 4, !tbaa !5 %52 = tail call i32 @fsess_isimpl(ptr noundef %8, i32 noundef %51) #3 %53 = icmp eq i32 %52, 0 br i1 %53, label %88, label %54 54: ; preds = %50 %55 = load i32, ptr @VWRITE, align 4, !tbaa !5 %56 = load i32, ptr @VAPPEND, align 4, !tbaa !5 %57 = or i32 %56, %55 %58 = load i32, ptr @VADMIN, align 4, !tbaa !5 %59 = or i32 %57, %58 %60 = and i32 %59, %1 %61 = icmp eq i32 %60, 0 %62 = load i32, ptr @W_OK, align 4 %63 = select i1 %61, i32 0, i32 %62 %64 = or i32 %63, %7 %65 = load i32, ptr @VREAD, align 4, !tbaa !5 %66 = and i32 %65, %1 %67 = icmp eq i32 %66, 0 %68 = load i32, ptr @R_OK, align 4 %69 = select i1 %67, i32 0, i32 %68 %70 = or i32 %64, %69 %71 = load i32, ptr @VEXEC, align 4, !tbaa !5 %72 = and i32 %71, %1 %73 = icmp eq i32 %72, 0 %74 = load i32, ptr @X_OK, align 4 %75 = select i1 %73, i32 0, i32 %74 %76 = or i32 %70, %75 %77 = call i32 @fdisp_init(ptr noundef nonnull %5, i32 noundef 4) #3 %78 = load i32, ptr @FUSE_ACCESS, align 4, !tbaa !5 %79 = call i32 @fdisp_make_vp(ptr noundef nonnull %5, i32 noundef %78, ptr noundef %0, ptr noundef %2, ptr noundef %3) #3 %80 = load ptr, ptr %5, align 8, !tbaa !18 store i32 %76, ptr %80, align 4, !tbaa !21 %81 = call i32 @fdisp_wait_answ(ptr noundef nonnull %5) #3 %82 = call i32 @fdisp_destroy(ptr noundef nonnull %5) #3 %83 = load i32, ptr @ENOSYS, align 4, !tbaa !5 %84 = icmp eq i32 %81, %83 br i1 %84, label %85, label %88 85: ; preds = %54 %86 = load i32, ptr @FUSE_ACCESS, align 4, !tbaa !5 %87 = call i32 @fsess_set_notimpl(ptr noundef %8, i32 noundef %86) #3 br label %88 88: ; preds = %54, %85, %50, %4, %41, %35, %24 %89 = phi i32 [ %49, %41 ], [ %36, %35 ], [ %25, %24 ], [ 0, %4 ], [ 0, %50 ], [ 0, %85 ], [ %81, %54 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 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 ptr @vnode_mount(ptr noundef) local_unnamed_addr #2 declare i32 @vnode_vtype(ptr noundef) local_unnamed_addr #2 declare ptr @fuse_get_mpdata(ptr noundef) local_unnamed_addr #2 declare i64 @vfs_isrdonly(ptr noundef) local_unnamed_addr #2 declare i64 @fuse_match_cred(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fuse_internal_getattr(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @vaccess(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 @fsess_isimpl(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fdisp_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fdisp_make_vp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fdisp_wait_answ(ptr noundef) local_unnamed_addr #2 declare i32 @fdisp_destroy(ptr noundef) local_unnamed_addr #2 declare i32 @fsess_set_notimpl(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, !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 = !{!"fuse_data", !6, i64 0, !6, i64 4} !11 = !{!12, !6, i64 0} !12 = !{!"vnode", !6, i64 0} !13 = !{!10, !6, i64 4} !14 = !{!15, !6, i64 8} !15 = !{!"vattr", !6, i64 0, !6, i64 4, !6, i64 8} !16 = !{!15, !6, i64 4} !17 = !{!15, !6, i64 0} !18 = !{!19, !20, i64 0} !19 = !{!"fuse_dispatcher", !20, i64 0} !20 = !{!"any pointer", !7, i64 0} !21 = !{!22, !6, i64 0} !22 = !{!"fuse_access_in", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/fs/fuse/extr_fuse_internal.c_fuse_internal_access.c' source_filename = "AnghaBench/freebsd/sys/fs/fuse/extr_fuse_internal.c_fuse_internal_access.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.fuse_dispatcher = type { ptr } %struct.vattr = type { i32, i32, i32 } @F_OK = common local_unnamed_addr global i32 0, align 4 @VMODIFY_PERMS = common local_unnamed_addr global i32 0, align 4 @EROFS = common local_unnamed_addr global i32 0, align 4 @FSESS_DAEMON_CAN_SPY = common local_unnamed_addr global i32 0, align 4 @EPERM = common local_unnamed_addr global i32 0, align 4 @FSESS_DEFAULT_PERMISSIONS = common local_unnamed_addr global i32 0, align 4 @FUSE_ACCESS = common local_unnamed_addr global i32 0, align 4 @VWRITE = common local_unnamed_addr global i32 0, align 4 @VAPPEND = common local_unnamed_addr global i32 0, align 4 @VADMIN = common local_unnamed_addr global i32 0, align 4 @W_OK = common local_unnamed_addr global i32 0, align 4 @VREAD = common local_unnamed_addr global i32 0, align 4 @R_OK = common local_unnamed_addr global i32 0, align 4 @VEXEC = common local_unnamed_addr global i32 0, align 4 @X_OK = common local_unnamed_addr global i32 0, align 4 @ENOSYS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @fuse_internal_access(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.fuse_dispatcher, align 8 %6 = alloca %struct.vattr, align 4 %7 = load i32, ptr @F_OK, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %8 = tail call ptr @vnode_mount(ptr noundef %0) #3 %9 = tail call i32 @vnode_vtype(ptr noundef %0) #3 %10 = tail call ptr @fuse_get_mpdata(ptr noundef %8) #3 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = icmp eq i32 %1, 0 br i1 %12, label %88, label %13 13: ; preds = %4 %14 = load i32, ptr @VMODIFY_PERMS, align 4, !tbaa !6 %15 = and i32 %14, %1 %16 = icmp eq i32 %15, 0 br i1 %16, label %26, label %17 17: ; preds = %13 %18 = tail call i64 @vfs_isrdonly(ptr noundef %8) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %26, label %20 20: ; preds = %17 %21 = load i32, ptr %0, align 4, !tbaa !12 %22 = add i32 %21, -128 %23 = icmp ult i32 %22, 3 br i1 %23, label %24, label %26 24: ; preds = %20 %25 = load i32, ptr @EROFS, align 4, !tbaa !6 br label %88 26: ; preds = %20, %17, %13 %27 = load i32, ptr @FSESS_DAEMON_CAN_SPY, align 4, !tbaa !6 %28 = and i32 %27, %11 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %26 %31 = getelementptr inbounds i8, ptr %10, i64 4 %32 = load i32, ptr %31, align 4, !tbaa !14 %33 = tail call i64 @fuse_match_cred(i32 noundef %32, ptr noundef %3) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %30 %36 = load i32, ptr @EPERM, align 4, !tbaa !6 br label %88 37: ; preds = %30, %26 %38 = load i32, ptr @FSESS_DEFAULT_PERMISSIONS, align 4, !tbaa !6 %39 = and i32 %38, %11 %40 = icmp eq i32 %39, 0 br i1 %40, label %50, label %41 41: ; preds = %37 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #3 %42 = call i32 @fuse_internal_getattr(ptr noundef %0, ptr noundef nonnull %6, ptr noundef %3, ptr noundef %2) #3 %43 = load i32, ptr %0, align 4, !tbaa !12 %44 = getelementptr inbounds i8, ptr %6, i64 8 %45 = load i32, ptr %44, align 4, !tbaa !15 %46 = getelementptr inbounds i8, ptr %6, i64 4 %47 = load i32, ptr %46, align 4, !tbaa !17 %48 = load i32, ptr %6, align 4, !tbaa !18 %49 = call i32 @vaccess(i32 noundef %43, i32 noundef %45, i32 noundef %47, i32 noundef %48, i32 noundef %1, ptr noundef %3, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3 br label %88 50: ; preds = %37 %51 = load i32, ptr @FUSE_ACCESS, align 4, !tbaa !6 %52 = tail call i32 @fsess_isimpl(ptr noundef %8, i32 noundef %51) #3 %53 = icmp eq i32 %52, 0 br i1 %53, label %88, label %54 54: ; preds = %50 %55 = load i32, ptr @VWRITE, align 4, !tbaa !6 %56 = load i32, ptr @VAPPEND, align 4, !tbaa !6 %57 = or i32 %56, %55 %58 = load i32, ptr @VADMIN, align 4, !tbaa !6 %59 = or i32 %57, %58 %60 = and i32 %59, %1 %61 = icmp eq i32 %60, 0 %62 = load i32, ptr @W_OK, align 4 %63 = select i1 %61, i32 0, i32 %62 %64 = or i32 %63, %7 %65 = load i32, ptr @VREAD, align 4, !tbaa !6 %66 = and i32 %65, %1 %67 = icmp eq i32 %66, 0 %68 = load i32, ptr @R_OK, align 4 %69 = select i1 %67, i32 0, i32 %68 %70 = or i32 %64, %69 %71 = load i32, ptr @VEXEC, align 4, !tbaa !6 %72 = and i32 %71, %1 %73 = icmp eq i32 %72, 0 %74 = load i32, ptr @X_OK, align 4 %75 = select i1 %73, i32 0, i32 %74 %76 = or i32 %70, %75 %77 = call i32 @fdisp_init(ptr noundef nonnull %5, i32 noundef 4) #3 %78 = load i32, ptr @FUSE_ACCESS, align 4, !tbaa !6 %79 = call i32 @fdisp_make_vp(ptr noundef nonnull %5, i32 noundef %78, ptr noundef %0, ptr noundef %2, ptr noundef %3) #3 %80 = load ptr, ptr %5, align 8, !tbaa !19 store i32 %76, ptr %80, align 4, !tbaa !22 %81 = call i32 @fdisp_wait_answ(ptr noundef nonnull %5) #3 %82 = call i32 @fdisp_destroy(ptr noundef nonnull %5) #3 %83 = load i32, ptr @ENOSYS, align 4, !tbaa !6 %84 = icmp eq i32 %81, %83 br i1 %84, label %85, label %88 85: ; preds = %54 %86 = load i32, ptr @FUSE_ACCESS, align 4, !tbaa !6 %87 = call i32 @fsess_set_notimpl(ptr noundef %8, i32 noundef %86) #3 br label %88 88: ; preds = %54, %85, %50, %4, %41, %35, %24 %89 = phi i32 [ %49, %41 ], [ %36, %35 ], [ %25, %24 ], [ 0, %4 ], [ 0, %50 ], [ 0, %85 ], [ %81, %54 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 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 ptr @vnode_mount(ptr noundef) local_unnamed_addr #2 declare i32 @vnode_vtype(ptr noundef) local_unnamed_addr #2 declare ptr @fuse_get_mpdata(ptr noundef) local_unnamed_addr #2 declare i64 @vfs_isrdonly(ptr noundef) local_unnamed_addr #2 declare i64 @fuse_match_cred(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fuse_internal_getattr(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @vaccess(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 @fsess_isimpl(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fdisp_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fdisp_make_vp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fdisp_wait_answ(ptr noundef) local_unnamed_addr #2 declare i32 @fdisp_destroy(ptr noundef) local_unnamed_addr #2 declare i32 @fsess_set_notimpl(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, !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 = !{!"fuse_data", !7, i64 0, !7, i64 4} !12 = !{!13, !7, i64 0} !13 = !{!"vnode", !7, i64 0} !14 = !{!11, !7, i64 4} !15 = !{!16, !7, i64 8} !16 = !{!"vattr", !7, i64 0, !7, i64 4, !7, i64 8} !17 = !{!16, !7, i64 4} !18 = !{!16, !7, i64 0} !19 = !{!20, !21, i64 0} !20 = !{!"fuse_dispatcher", !21, i64 0} !21 = !{!"any pointer", !8, i64 0} !22 = !{!23, !7, i64 0} !23 = !{!"fuse_access_in", !7, i64 0}
freebsd_sys_fs_fuse_extr_fuse_internal.c_fuse_internal_access
; ModuleID = 'AnghaBench/freebsd/usr.sbin/acpi/acpidump/extr_acpi.c_acpi_print_cpu.c' source_filename = "AnghaBench/freebsd/usr.sbin/acpi/acpidump/extr_acpi.c_acpi_print_cpu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\09ACPI CPU=\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @str = private unnamed_addr constant [4 x i8] c"ALL\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @acpi_print_cpu], section "llvm.metadata" ; Function Attrs: nofree nounwind uwtable define internal void @acpi_print_cpu(i32 noundef %0) #0 { %2 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str) %3 = icmp eq i32 %0, 255 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) br label %8 6: ; preds = %1 %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %0) br label %8 8: ; preds = %6, %4 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2 attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #2 = { nofree nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/acpi/acpidump/extr_acpi.c_acpi_print_cpu.c' source_filename = "AnghaBench/freebsd/usr.sbin/acpi/acpidump/extr_acpi.c_acpi_print_cpu.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 [11 x i8] c"\09ACPI CPU=\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @str = private unnamed_addr constant [4 x i8] c"ALL\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @acpi_print_cpu], section "llvm.metadata" ; Function Attrs: nofree nounwind ssp uwtable(sync) define internal void @acpi_print_cpu(i32 noundef %0) #0 { %2 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str) %3 = icmp eq i32 %0, 255 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) br label %8 6: ; preds = %1 %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %0) br label %8 8: ; preds = %6, %4 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2 attributes #0 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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 #2 = { nofree nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_usr.sbin_acpi_acpidump_extr_acpi.c_acpi_print_cpu
; ModuleID = 'AnghaBench/linux/drivers/uio/extr_uio_hv_generic.c_hv_uio_cleanup.c' source_filename = "AnghaBench/linux/drivers/uio/extr_uio_hv_generic.c_hv_uio_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" %struct.hv_uio_private_data = type { i32, i64, i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @hv_uio_cleanup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hv_uio_cleanup(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.hv_uio_private_data, ptr %1, i64 0, i32 3 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %12, label %6 6: ; preds = %2 %7 = load i32, ptr %0, align 4, !tbaa !11 %8 = tail call i32 @vmbus_teardown_gpadl(i32 noundef %7, i64 noundef %4) #2 store i64 0, ptr %3, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.hv_uio_private_data, ptr %1, i64 0, i32 2 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = tail call i32 @vfree(i32 noundef %10) #2 br label %12 12: ; preds = %6, %2 %13 = getelementptr inbounds %struct.hv_uio_private_data, ptr %1, i64 0, i32 1 %14 = load i64, ptr %13, align 8, !tbaa !14 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %12 %17 = load i32, ptr %0, align 4, !tbaa !11 %18 = tail call i32 @vmbus_teardown_gpadl(i32 noundef %17, i64 noundef %14) #2 store i64 0, ptr %13, align 8, !tbaa !14 %19 = load i32, ptr %1, align 8, !tbaa !15 %20 = tail call i32 @vfree(i32 noundef %19) #2 br label %21 21: ; preds = %16, %12 ret void } declare i32 @vmbus_teardown_gpadl(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @vfree(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 24} !6 = !{!"hv_uio_private_data", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"hv_device", !7, i64 0} !13 = !{!6, !7, i64 16} !14 = !{!6, !10, i64 8} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/uio/extr_uio_hv_generic.c_hv_uio_cleanup.c' source_filename = "AnghaBench/linux/drivers/uio/extr_uio_hv_generic.c_hv_uio_cleanup.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 @hv_uio_cleanup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hv_uio_cleanup(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 24 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %12, label %6 6: ; preds = %2 %7 = load i32, ptr %0, align 4, !tbaa !12 %8 = tail call i32 @vmbus_teardown_gpadl(i32 noundef %7, i64 noundef %4) #2 store i64 0, ptr %3, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %1, i64 16 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = tail call i32 @vfree(i32 noundef %10) #2 br label %12 12: ; preds = %6, %2 %13 = getelementptr inbounds i8, ptr %1, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !15 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %12 %17 = load i32, ptr %0, align 4, !tbaa !12 %18 = tail call i32 @vmbus_teardown_gpadl(i32 noundef %17, i64 noundef %14) #2 store i64 0, ptr %13, align 8, !tbaa !15 %19 = load i32, ptr %1, align 8, !tbaa !16 %20 = tail call i32 @vfree(i32 noundef %19) #2 br label %21 21: ; preds = %16, %12 ret void } declare i32 @vmbus_teardown_gpadl(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @vfree(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 24} !7 = !{!"hv_uio_private_data", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"hv_device", !8, i64 0} !14 = !{!7, !8, i64 16} !15 = !{!7, !11, i64 8} !16 = !{!7, !8, i64 0}
linux_drivers_uio_extr_uio_hv_generic.c_hv_uio_cleanup
; ModuleID = 'AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_color_setup.c' source_filename = "AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_color_setup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @color_setup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @color_setup(ptr noundef %0) #0 { %2 = tail call i32 @set_theme(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %1 %5 = tail call i64 (...) @has_colors() #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = tail call i32 (...) @start_color() #2 %9 = tail call i32 (...) @init_dialog_colors() #2 br label %12 10: ; preds = %4, %1 %11 = tail call i32 (...) @set_mono_theme() #2 br label %12 12: ; preds = %10, %7 ret void } declare i32 @set_theme(ptr noundef) local_unnamed_addr #1 declare i64 @has_colors(...) local_unnamed_addr #1 declare i32 @start_color(...) local_unnamed_addr #1 declare i32 @init_dialog_colors(...) local_unnamed_addr #1 declare i32 @set_mono_theme(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/scripts/kconfig/lxdialog/extr_util.c_color_setup.c' source_filename = "AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_color_setup.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 @color_setup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @color_setup(ptr noundef %0) #0 { %2 = tail call i32 @set_theme(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %1 %5 = tail call i64 @has_colors() #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = tail call i32 @start_color() #2 %9 = tail call i32 @init_dialog_colors() #2 br label %12 10: ; preds = %4, %1 %11 = tail call i32 @set_mono_theme() #2 br label %12 12: ; preds = %10, %7 ret void } declare i32 @set_theme(ptr noundef) local_unnamed_addr #1 declare i64 @has_colors(...) local_unnamed_addr #1 declare i32 @start_color(...) local_unnamed_addr #1 declare i32 @init_dialog_colors(...) local_unnamed_addr #1 declare i32 @set_mono_theme(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_scripts_kconfig_lxdialog_extr_util.c_color_setup
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/base/extr_bus.c_bus_unregister_notifier.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/base/extr_bus.c_bus_unregister_notifier.c" target datalayout = "e-m:e-p270:32:32-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 @bus_unregister_notifier(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @blocking_notifier_chain_unregister(ptr noundef %3, ptr noundef %1) #2 ret i32 %4 } declare i32 @blocking_notifier_chain_unregister(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bus_type", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/base/extr_bus.c_bus_unregister_notifier.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/base/extr_bus.c_bus_unregister_notifier.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 @bus_unregister_notifier(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @blocking_notifier_chain_unregister(ptr noundef %3, ptr noundef %1) #2 ret i32 %4 } declare i32 @blocking_notifier_chain_unregister(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bus_type", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_base_extr_bus.c_bus_unregister_notifier
; ModuleID = 'AnghaBench/fastsocket/kernel/net/802/extr_garp.c_garp_pdu_parse_msg.c' source_filename = "AnghaBench/fastsocket/kernel/net/802/extr_garp.c_garp_pdu_parse_msg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sk_buff = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @garp_pdu_parse_msg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @garp_pdu_parse_msg(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @pskb_may_pull(ptr noundef %1, i32 noundef 8) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %23, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = inttoptr i64 %7 to ptr %9 = load i64, ptr %8, align 8, !tbaa !10 %10 = icmp eq i64 %9, 0 br i1 %10, label %23, label %11 11: ; preds = %5 %12 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef 8) #2 br label %13 13: ; preds = %20, %11 %14 = load i64, ptr %1, align 8, !tbaa !12 %15 = icmp sgt i64 %14, 0 br i1 %15, label %16, label %23 16: ; preds = %13 %17 = load i64, ptr %8, align 8, !tbaa !10 %18 = tail call i64 @garp_pdu_parse_attr(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %17) #2 %19 = icmp slt i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = tail call i64 @garp_pdu_parse_end_mark(ptr noundef nonnull %1) #2 %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %13, !llvm.loop !13 23: ; preds = %13, %20, %16, %5, %2 %24 = phi i32 [ -1, %2 ], [ -1, %5 ], [ 0, %13 ], [ 0, %20 ], [ -1, %16 ] ret i32 %24 } declare i32 @pskb_may_pull(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @garp_pdu_parse_attr(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @garp_pdu_parse_end_mark(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 = !{!"sk_buff", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"garp_msg_hdr", !7, i64 0} !12 = !{!6, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/802/extr_garp.c_garp_pdu_parse_msg.c' source_filename = "AnghaBench/fastsocket/kernel/net/802/extr_garp.c_garp_pdu_parse_msg.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 @garp_pdu_parse_msg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @garp_pdu_parse_msg(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @pskb_may_pull(ptr noundef %1, i32 noundef 8) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %23, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = inttoptr i64 %7 to ptr %9 = load i64, ptr %8, align 8, !tbaa !11 %10 = icmp eq i64 %9, 0 br i1 %10, label %23, label %11 11: ; preds = %5 %12 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef 8) #2 br label %13 13: ; preds = %20, %11 %14 = load i64, ptr %1, align 8, !tbaa !13 %15 = icmp sgt i64 %14, 0 br i1 %15, label %16, label %23 16: ; preds = %13 %17 = load i64, ptr %8, align 8, !tbaa !11 %18 = tail call i64 @garp_pdu_parse_attr(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %17) #2 %19 = icmp slt i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = tail call i64 @garp_pdu_parse_end_mark(ptr noundef nonnull %1) #2 %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %13, !llvm.loop !14 23: ; preds = %13, %20, %16, %5, %2 %24 = phi i32 [ -1, %2 ], [ -1, %5 ], [ 0, %13 ], [ 0, %20 ], [ -1, %16 ] ret i32 %24 } declare i32 @pskb_may_pull(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @garp_pdu_parse_attr(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @garp_pdu_parse_end_mark(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 = !{!"sk_buff", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"garp_msg_hdr", !8, i64 0} !13 = !{!7, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_net_802_extr_garp.c_garp_pdu_parse_msg
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_desc.c_ath5k_hw_proc_2word_tx_status.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_desc.c_ath5k_hw_proc_2word_tx_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ath5k_hw_tx_status = type { i32, i32 } %struct.ath5k_tx_status = type { i32, i32, i64, ptr, ptr, ptr, ptr, ptr } @AR5K_DESC_TX_STATUS1_DONE = dso_local local_unnamed_addr global i32 0, align 4 @EINPROGRESS = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS1_SEQ_NUM = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TXERR_XRETRY = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TXERR_FIFO = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_FILTERED = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TXERR_FILT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ath5k_hw_proc_2word_tx_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ath5k_hw_proc_2word_tx_status(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = load i32, ptr @AR5K_DESC_TX_STATUS1_DONE, align 4, !tbaa !10 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 %9 = tail call i64 @unlikely(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load i32, ptr @EINPROGRESS, align 4, !tbaa !10 %13 = sub nsw i32 0, %12 br label %64 14: ; preds = %3 %15 = getelementptr inbounds %struct.ath5k_hw_tx_status, ptr %1, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = load i32, ptr @AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP, align 4, !tbaa !10 %18 = tail call ptr @AR5K_REG_MS(i32 noundef %16, i32 noundef %17) #2 %19 = getelementptr inbounds %struct.ath5k_tx_status, ptr %2, i64 0, i32 7 store ptr %18, ptr %19, align 8, !tbaa !12 %20 = load i32, ptr %15, align 4, !tbaa !11 %21 = load i32, ptr @AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT, align 4, !tbaa !10 %22 = tail call ptr @AR5K_REG_MS(i32 noundef %20, i32 noundef %21) #2 %23 = getelementptr inbounds %struct.ath5k_tx_status, ptr %2, i64 0, i32 6 store ptr %22, ptr %23, align 8, !tbaa !16 %24 = load i32, ptr %15, align 4, !tbaa !11 %25 = load i32, ptr @AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT, align 4, !tbaa !10 %26 = tail call ptr @AR5K_REG_MS(i32 noundef %24, i32 noundef %25) #2 %27 = getelementptr inbounds %struct.ath5k_tx_status, ptr %2, i64 0, i32 5 store ptr %26, ptr %27, align 8, !tbaa !17 %28 = load i32, ptr %1, align 4, !tbaa !5 %29 = load i32, ptr @AR5K_DESC_TX_STATUS1_SEQ_NUM, align 4, !tbaa !10 %30 = tail call ptr @AR5K_REG_MS(i32 noundef %28, i32 noundef %29) #2 %31 = getelementptr inbounds %struct.ath5k_tx_status, ptr %2, i64 0, i32 4 store ptr %30, ptr %31, align 8, !tbaa !18 %32 = load i32, ptr %1, align 4, !tbaa !5 %33 = load i32, ptr @AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH, align 4, !tbaa !10 %34 = tail call ptr @AR5K_REG_MS(i32 noundef %32, i32 noundef %33) #2 %35 = getelementptr inbounds %struct.ath5k_tx_status, ptr %2, i64 0, i32 3 store ptr %34, ptr %35, align 8, !tbaa !19 store i32 1, ptr %2, align 8, !tbaa !20 %36 = getelementptr inbounds %struct.ath5k_tx_status, ptr %2, i64 0, i32 1 store i32 0, ptr %36, align 4, !tbaa !21 %37 = getelementptr inbounds %struct.ath5k_tx_status, ptr %2, i64 0, i32 2 store i64 0, ptr %37, align 8, !tbaa !22 %38 = load i32, ptr %15, align 4, !tbaa !11 %39 = load i32, ptr @AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK, align 4, !tbaa !10 %40 = and i32 %39, %38 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %64 42: ; preds = %14 %43 = load i32, ptr @AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES, align 4, !tbaa !10 %44 = and i32 %43, %38 %45 = icmp eq i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %42 %47 = load i32, ptr @AR5K_TXERR_XRETRY, align 4, !tbaa !10 store i32 %47, ptr %36, align 4, !tbaa !21 br label %48 48: ; preds = %46, %42 %49 = phi i32 [ %47, %46 ], [ 0, %42 ] %50 = load i32, ptr @AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN, align 4, !tbaa !10 %51 = and i32 %50, %38 %52 = icmp eq i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %48 %54 = load i32, ptr @AR5K_TXERR_FIFO, align 4, !tbaa !10 %55 = or i32 %49, %54 store i32 %55, ptr %36, align 4, !tbaa !21 br label %56 56: ; preds = %53, %48 %57 = phi i32 [ %55, %53 ], [ %49, %48 ] %58 = load i32, ptr @AR5K_DESC_TX_STATUS0_FILTERED, align 4, !tbaa !10 %59 = and i32 %58, %38 %60 = icmp eq i32 %59, 0 br i1 %60, label %64, label %61 61: ; preds = %56 %62 = load i32, ptr @AR5K_TXERR_FILT, align 4, !tbaa !10 %63 = or i32 %57, %62 store i32 %63, ptr %36, align 4, !tbaa !21 br label %64 64: ; preds = %14, %61, %56, %11 %65 = phi i32 [ %13, %11 ], [ 0, %56 ], [ 0, %61 ], [ 0, %14 ] ret i32 %65 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare ptr @AR5K_REG_MS(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ath5k_hw_tx_status", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!13, !15, i64 48} !13 = !{!"ath5k_tx_status", !7, i64 0, !7, i64 4, !14, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48} !14 = !{!"long", !8, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!13, !15, i64 40} !17 = !{!13, !15, i64 32} !18 = !{!13, !15, i64 24} !19 = !{!13, !15, i64 16} !20 = !{!13, !7, i64 0} !21 = !{!13, !7, i64 4} !22 = !{!13, !14, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_desc.c_ath5k_hw_proc_2word_tx_status.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_desc.c_ath5k_hw_proc_2word_tx_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AR5K_DESC_TX_STATUS1_DONE = common local_unnamed_addr global i32 0, align 4 @EINPROGRESS = common local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP = common local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT = common local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT = common local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS1_SEQ_NUM = common local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH = common local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK = common local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES = common local_unnamed_addr global i32 0, align 4 @AR5K_TXERR_XRETRY = common local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN = common local_unnamed_addr global i32 0, align 4 @AR5K_TXERR_FIFO = common local_unnamed_addr global i32 0, align 4 @AR5K_DESC_TX_STATUS0_FILTERED = common local_unnamed_addr global i32 0, align 4 @AR5K_TXERR_FILT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ath5k_hw_proc_2word_tx_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @ath5k_hw_proc_2word_tx_status(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = load i32, ptr @AR5K_DESC_TX_STATUS1_DONE, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 %9 = tail call i64 @unlikely(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load i32, ptr @EINPROGRESS, align 4, !tbaa !11 %13 = sub nsw i32 0, %12 br label %64 14: ; preds = %3 %15 = getelementptr inbounds i8, ptr %1, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = load i32, ptr @AR5K_DESC_TX_STATUS0_SEND_TIMESTAMP, align 4, !tbaa !11 %18 = tail call ptr @AR5K_REG_MS(i32 noundef %16, i32 noundef %17) #2 %19 = getelementptr inbounds i8, ptr %2, i64 48 store ptr %18, ptr %19, align 8, !tbaa !13 %20 = load i32, ptr %15, align 4, !tbaa !12 %21 = load i32, ptr @AR5K_DESC_TX_STATUS0_SHORT_RETRY_COUNT, align 4, !tbaa !11 %22 = tail call ptr @AR5K_REG_MS(i32 noundef %20, i32 noundef %21) #2 %23 = getelementptr inbounds i8, ptr %2, i64 40 store ptr %22, ptr %23, align 8, !tbaa !17 %24 = load i32, ptr %15, align 4, !tbaa !12 %25 = load i32, ptr @AR5K_DESC_TX_STATUS0_LONG_RETRY_COUNT, align 4, !tbaa !11 %26 = tail call ptr @AR5K_REG_MS(i32 noundef %24, i32 noundef %25) #2 %27 = getelementptr inbounds i8, ptr %2, i64 32 store ptr %26, ptr %27, align 8, !tbaa !18 %28 = load i32, ptr %1, align 4, !tbaa !6 %29 = load i32, ptr @AR5K_DESC_TX_STATUS1_SEQ_NUM, align 4, !tbaa !11 %30 = tail call ptr @AR5K_REG_MS(i32 noundef %28, i32 noundef %29) #2 %31 = getelementptr inbounds i8, ptr %2, i64 24 store ptr %30, ptr %31, align 8, !tbaa !19 %32 = load i32, ptr %1, align 4, !tbaa !6 %33 = load i32, ptr @AR5K_DESC_TX_STATUS1_ACK_SIG_STRENGTH, align 4, !tbaa !11 %34 = tail call ptr @AR5K_REG_MS(i32 noundef %32, i32 noundef %33) #2 %35 = getelementptr inbounds i8, ptr %2, i64 16 store ptr %34, ptr %35, align 8, !tbaa !20 %36 = getelementptr inbounds i8, ptr %2, i64 4 store <2 x i32> <i32 1, i32 0>, ptr %2, align 8, !tbaa !11 %37 = getelementptr inbounds i8, ptr %2, i64 8 store i64 0, ptr %37, align 8, !tbaa !21 %38 = load i32, ptr %15, align 4, !tbaa !12 %39 = load i32, ptr @AR5K_DESC_TX_STATUS0_FRAME_XMIT_OK, align 4, !tbaa !11 %40 = and i32 %39, %38 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %64 42: ; preds = %14 %43 = load i32, ptr @AR5K_DESC_TX_STATUS0_EXCESSIVE_RETRIES, align 4, !tbaa !11 %44 = and i32 %43, %38 %45 = icmp eq i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %42 %47 = load i32, ptr @AR5K_TXERR_XRETRY, align 4, !tbaa !11 store i32 %47, ptr %36, align 4, !tbaa !22 br label %48 48: ; preds = %46, %42 %49 = phi i32 [ %47, %46 ], [ 0, %42 ] %50 = load i32, ptr @AR5K_DESC_TX_STATUS0_FIFO_UNDERRUN, align 4, !tbaa !11 %51 = and i32 %50, %38 %52 = icmp eq i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %48 %54 = load i32, ptr @AR5K_TXERR_FIFO, align 4, !tbaa !11 %55 = or i32 %49, %54 store i32 %55, ptr %36, align 4, !tbaa !22 br label %56 56: ; preds = %53, %48 %57 = phi i32 [ %55, %53 ], [ %49, %48 ] %58 = load i32, ptr @AR5K_DESC_TX_STATUS0_FILTERED, align 4, !tbaa !11 %59 = and i32 %58, %38 %60 = icmp eq i32 %59, 0 br i1 %60, label %64, label %61 61: ; preds = %56 %62 = load i32, ptr @AR5K_TXERR_FILT, align 4, !tbaa !11 %63 = or i32 %57, %62 store i32 %63, ptr %36, align 4, !tbaa !22 br label %64 64: ; preds = %14, %61, %56, %11 %65 = phi i32 [ %13, %11 ], [ 0, %56 ], [ 0, %61 ], [ 0, %14 ] ret i32 %65 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare ptr @AR5K_REG_MS(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ath5k_hw_tx_status", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!14, !16, i64 48} !14 = !{!"ath5k_tx_status", !8, i64 0, !8, i64 4, !15, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48} !15 = !{!"long", !9, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!14, !16, i64 40} !18 = !{!14, !16, i64 32} !19 = !{!14, !16, i64 24} !20 = !{!14, !16, i64 16} !21 = !{!14, !15, i64 8} !22 = !{!14, !8, i64 4}
linux_drivers_net_wireless_ath_ath5k_extr_desc.c_ath5k_hw_proc_2word_tx_status
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_scan.c_dsl_scan_async_block_should_pause.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_scan.c_dsl_scan_async_block_should_pause.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i32, i64, ptr } @zfs_recover = dso_local local_unnamed_addr global i64 0, align 8 @B_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @zfs_async_block_max_blocks = dso_local local_unnamed_addr global i64 0, align 8 @B_TRUE = dso_local local_unnamed_addr global i32 0, align 4 @NANOSEC = dso_local local_unnamed_addr global i32 0, align 4 @zfs_txg_timeout = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dsl_scan_async_block_should_pause], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dsl_scan_async_block_should_pause(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr @zfs_recover, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = load i32, ptr @B_FALSE, align 4, !tbaa !9 br label %38 6: ; preds = %1 %7 = load i64, ptr %0, align 8, !tbaa !11 %8 = load i64, ptr @zfs_async_block_max_blocks, align 8, !tbaa !5 %9 = icmp slt i64 %7, %8 br i1 %9, label %12, label %10 10: ; preds = %6 %11 = load i32, ptr @B_TRUE, align 4, !tbaa !9 br label %38 12: ; preds = %6 %13 = tail call i32 (...) @gethrtime() #2 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = sub nsw i32 %13, %15 %17 = load i32, ptr @NANOSEC, align 4, !tbaa !9 %18 = sdiv i32 %16, %17 %19 = load i32, ptr @zfs_txg_timeout, align 4, !tbaa !9 %20 = icmp sgt i32 %18, %19 br i1 %20, label %38, label %21 21: ; preds = %12 %22 = tail call i64 @NSEC2MSEC(i32 noundef %16) #2 %23 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %24 = load i64, ptr %23, align 8, !tbaa !15 %25 = icmp sgt i64 %22, %24 br i1 %25, label %26, label %31 26: ; preds = %21 %27 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %28 = load ptr, ptr %27, align 8, !tbaa !16 %29 = tail call i64 @txg_sync_waiting(ptr noundef %28) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %26, %21 %32 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %33 = load ptr, ptr %32, align 8, !tbaa !16 %34 = load i32, ptr %33, align 4, !tbaa !17 %35 = tail call i64 @spa_shutting_down(i32 noundef %34) #2 %36 = icmp ne i64 %35, 0 %37 = zext i1 %36 to i32 br label %38 38: ; preds = %12, %26, %31, %10, %4 %39 = phi i32 [ %5, %4 ], [ %11, %10 ], [ 1, %26 ], [ 1, %12 ], [ %37, %31 ] ret i32 %39 } declare i32 @gethrtime(...) local_unnamed_addr #1 declare i64 @NSEC2MSEC(i32 noundef) local_unnamed_addr #1 declare i64 @txg_sync_waiting(ptr noundef) local_unnamed_addr #1 declare i64 @spa_shutting_down(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !6, i64 0, !10, i64 8, !6, i64 16, !13, i64 24} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !10, i64 8} !15 = !{!12, !6, i64 16} !16 = !{!12, !13, i64 24} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_5__", !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_scan.c_dsl_scan_async_block_should_pause.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_scan.c_dsl_scan_async_block_should_pause.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @zfs_recover = common local_unnamed_addr global i64 0, align 8 @B_FALSE = common local_unnamed_addr global i32 0, align 4 @zfs_async_block_max_blocks = common local_unnamed_addr global i64 0, align 8 @B_TRUE = common local_unnamed_addr global i32 0, align 4 @NANOSEC = common local_unnamed_addr global i32 0, align 4 @zfs_txg_timeout = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dsl_scan_async_block_should_pause], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dsl_scan_async_block_should_pause(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr @zfs_recover, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = load i32, ptr @B_FALSE, align 4, !tbaa !10 br label %38 6: ; preds = %1 %7 = load i64, ptr %0, align 8, !tbaa !12 %8 = load i64, ptr @zfs_async_block_max_blocks, align 8, !tbaa !6 %9 = icmp slt i64 %7, %8 br i1 %9, label %12, label %10 10: ; preds = %6 %11 = load i32, ptr @B_TRUE, align 4, !tbaa !10 br label %38 12: ; preds = %6 %13 = tail call i32 @gethrtime() #2 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !15 %16 = sub nsw i32 %13, %15 %17 = load i32, ptr @NANOSEC, align 4, !tbaa !10 %18 = sdiv i32 %16, %17 %19 = load i32, ptr @zfs_txg_timeout, align 4, !tbaa !10 %20 = icmp sgt i32 %18, %19 br i1 %20, label %38, label %21 21: ; preds = %12 %22 = tail call i64 @NSEC2MSEC(i32 noundef %16) #2 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = load i64, ptr %23, align 8, !tbaa !16 %25 = icmp sgt i64 %22, %24 br i1 %25, label %26, label %31 26: ; preds = %21 %27 = getelementptr inbounds i8, ptr %0, i64 24 %28 = load ptr, ptr %27, align 8, !tbaa !17 %29 = tail call i64 @txg_sync_waiting(ptr noundef %28) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %26, %21 %32 = getelementptr inbounds i8, ptr %0, i64 24 %33 = load ptr, ptr %32, align 8, !tbaa !17 %34 = load i32, ptr %33, align 4, !tbaa !18 %35 = tail call i64 @spa_shutting_down(i32 noundef %34) #2 %36 = icmp ne i64 %35, 0 %37 = zext i1 %36 to i32 br label %38 38: ; preds = %12, %26, %31, %10, %4 %39 = phi i32 [ %5, %4 ], [ %11, %10 ], [ 1, %26 ], [ 1, %12 ], [ %37, %31 ] ret i32 %39 } declare i32 @gethrtime(...) local_unnamed_addr #1 declare i64 @NSEC2MSEC(i32 noundef) local_unnamed_addr #1 declare i64 @txg_sync_waiting(ptr noundef) local_unnamed_addr #1 declare i64 @spa_shutting_down(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0, !11, i64 8, !7, i64 16, !14, i64 24} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !11, i64 8} !16 = !{!13, !7, i64 16} !17 = !{!13, !14, i64 24} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_5__", !11, i64 0}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_dsl_scan.c_dsl_scan_async_block_should_pause
; ModuleID = 'AnghaBench/linux/fs/fat/extr_inode.c_fat_writepage.c' source_filename = "AnghaBench/linux/fs/fat/extr_inode.c_fat_writepage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @fat_get_block = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fat_writepage], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fat_writepage(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @fat_get_block, align 4, !tbaa !5 %4 = tail call i32 @block_write_full_page(ptr noundef %0, i32 noundef %3, ptr noundef %1) #2 ret i32 %4 } declare i32 @block_write_full_page(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/fat/extr_inode.c_fat_writepage.c' source_filename = "AnghaBench/linux/fs/fat/extr_inode.c_fat_writepage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @fat_get_block = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fat_writepage], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fat_writepage(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @fat_get_block, align 4, !tbaa !6 %4 = tail call i32 @block_write_full_page(ptr noundef %0, i32 noundef %3, ptr noundef %1) #2 ret i32 %4 } declare i32 @block_write_full_page(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_fs_fat_extr_inode.c_fat_writepage
; ModuleID = 'AnghaBench/freebsd/sys/cam/ctl/extr_ctl_backend_block.c_ctl_be_block_config_write.c' source_filename = "AnghaBench/freebsd/sys/cam/ctl/extr_ctl_backend_block.c_ctl_be_block_config_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ctl_lun_req = type { i32 } %struct.ctl_be_lun = type { i32, i64 } %struct.ctl_be_block_lun = type { ptr, i32, i32, i32, i32 } @.str = private unnamed_addr constant [9 x i8] c"entered\0A\00", align 1 @links = dso_local local_unnamed_addr global i32 0, align 4 @SSS_PC_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SSS_START = dso_local local_unnamed_addr global i32 0, align 4 @SSS_LOEJ = dso_local local_unnamed_addr global i32 0, align 4 @CTL_LUN_FLAG_EJECTED = dso_local local_unnamed_addr global i32 0, align 4 @CTL_LUN_FLAG_NO_MEDIA = dso_local local_unnamed_addr global i32 0, align 4 @CTL_RETVAL_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ctl_be_block_config_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ctl_be_block_config_write(ptr noundef %0) #0 { %2 = alloca %struct.ctl_lun_req, align 4 %3 = tail call i32 @DPRINTF(ptr noundef nonnull @.str) #3 %4 = tail call ptr @CTL_BACKEND_LUN(ptr noundef %0) #3 %5 = getelementptr inbounds %struct.ctl_be_lun, ptr %4, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = inttoptr i64 %6 to ptr %8 = load ptr, ptr %0, align 8, !tbaa !11 %9 = load i32, ptr %8, align 4, !tbaa !12 switch i32 %9, label %83 [ i32 132, label %10 i32 131, label %10 i32 129, label %10 i32 128, label %10 i32 130, label %10 i32 133, label %21 i32 134, label %80 ] 10: ; preds = %1, %1, %1, %1, %1 %11 = getelementptr inbounds %struct.ctl_be_block_lun, ptr %7, i64 0, i32 3 %12 = tail call i32 @mtx_lock(ptr noundef nonnull %11) #3 %13 = getelementptr inbounds %struct.ctl_be_block_lun, ptr %7, i64 0, i32 4 %14 = load i32, ptr @links, align 4, !tbaa !12 %15 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull %13, ptr noundef nonnull %0, i32 noundef %14) #3 %16 = tail call i32 @mtx_unlock(ptr noundef nonnull %11) #3 %17 = getelementptr inbounds %struct.ctl_be_block_lun, ptr %7, i64 0, i32 2 %18 = load i32, ptr %17, align 4, !tbaa !13 %19 = getelementptr inbounds %struct.ctl_be_block_lun, ptr %7, i64 0, i32 1 %20 = tail call i32 @taskqueue_enqueue(i32 noundef %18, ptr noundef nonnull %19) #3 br label %87 21: ; preds = %1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %22 = load i32, ptr @SSS_PC_MASK, align 4, !tbaa !12 %23 = and i32 %22, 133 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %21 %26 = tail call i32 @ctl_set_success(ptr noundef nonnull %0) #3 %27 = tail call i32 @ctl_config_write_done(ptr noundef nonnull %0) #3 br label %78 28: ; preds = %21 %29 = load i32, ptr @SSS_START, align 4, !tbaa !12 %30 = and i32 %29, 133 %31 = icmp eq i32 %30, 0 br i1 %31, label %57, label %32 32: ; preds = %28 %33 = load i32, ptr @SSS_LOEJ, align 4, !tbaa !12 %34 = and i32 %33, 133 %35 = icmp eq i32 %34, 0 br i1 %35, label %54, label %36 36: ; preds = %32 %37 = load ptr, ptr %7, align 8, !tbaa !16 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %54 39: ; preds = %36 %40 = call i32 @ctl_be_block_open(ptr noundef nonnull %7, ptr noundef nonnull %2) #3 %41 = load i32, ptr @CTL_LUN_FLAG_EJECTED, align 4, !tbaa !12 %42 = xor i32 %41, -1 %43 = load i32, ptr %4, align 8, !tbaa !17 %44 = and i32 %43, %42 store i32 %44, ptr %4, align 8, !tbaa !17 %45 = icmp eq i32 %40, 0 %46 = load i32, ptr @CTL_LUN_FLAG_NO_MEDIA, align 4, !tbaa !12 br i1 %45, label %47, label %51 47: ; preds = %39 %48 = xor i32 %46, -1 %49 = and i32 %44, %48 store i32 %49, ptr %4, align 8, !tbaa !17 %50 = call i32 @ctl_lun_has_media(ptr noundef nonnull %4) #3 br label %54 51: ; preds = %39 %52 = or i32 %46, %44 store i32 %52, ptr %4, align 8, !tbaa !17 %53 = call i32 @ctl_lun_no_media(ptr noundef nonnull %4) #3 br label %54 54: ; preds = %47, %51, %36, %32 %55 = phi i32 [ 0, %47 ], [ %40, %51 ], [ 0, %36 ], [ 0, %32 ] %56 = call i32 @ctl_start_lun(ptr noundef nonnull %4) #3 br label %74 57: ; preds = %28 %58 = tail call i32 @ctl_stop_lun(ptr noundef nonnull %4) #3 %59 = load i32, ptr %8, align 4, !tbaa !18 %60 = load i32, ptr @SSS_LOEJ, align 4, !tbaa !12 %61 = and i32 %60, %59 %62 = icmp eq i32 %61, 0 br i1 %62, label %74, label %63 63: ; preds = %57 %64 = load i32, ptr @CTL_LUN_FLAG_NO_MEDIA, align 4, !tbaa !12 %65 = load i32, ptr %4, align 8, !tbaa !17 %66 = or i32 %65, %64 store i32 %66, ptr %4, align 8, !tbaa !17 %67 = load i32, ptr @CTL_LUN_FLAG_EJECTED, align 4, !tbaa !12 %68 = or i32 %67, %66 store i32 %68, ptr %4, align 8, !tbaa !17 %69 = tail call i32 @ctl_lun_ejected(ptr noundef nonnull %4) #3 %70 = load ptr, ptr %7, align 8, !tbaa !16 %71 = icmp eq ptr %70, null br i1 %71, label %74, label %72 72: ; preds = %63 %73 = tail call i32 @ctl_be_block_close(ptr noundef nonnull %7) #3 br label %74 74: ; preds = %57, %72, %63, %54 %75 = phi i32 [ %55, %54 ], [ 0, %72 ], [ 0, %63 ], [ 0, %57 ] %76 = call i32 @ctl_set_success(ptr noundef nonnull %0) #3 %77 = call i32 @ctl_config_write_done(ptr noundef nonnull %0) #3 br label %78 78: ; preds = %74, %25 %79 = phi i32 [ 0, %25 ], [ %75, %74 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 br label %87 80: ; preds = %1 %81 = tail call i32 @ctl_set_success(ptr noundef nonnull %0) #3 %82 = tail call i32 @ctl_config_write_done(ptr noundef nonnull %0) #3 br label %87 83: ; preds = %1 %84 = tail call i32 @ctl_set_invalid_opcode(ptr noundef nonnull %0) #3 %85 = tail call i32 @ctl_config_write_done(ptr noundef nonnull %0) #3 %86 = load i32, ptr @CTL_RETVAL_COMPLETE, align 4, !tbaa !12 br label %87 87: ; preds = %83, %80, %78, %10 %88 = phi i32 [ %86, %83 ], [ 0, %80 ], [ %79, %78 ], [ 0, %10 ] ret i32 %88 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @DPRINTF(ptr noundef) local_unnamed_addr #2 declare ptr @CTL_BACKEND_LUN(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2 declare i32 @STAILQ_INSERT_TAIL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @taskqueue_enqueue(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ctl_set_success(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_config_write_done(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_be_block_open(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ctl_lun_has_media(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_lun_no_media(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_start_lun(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_stop_lun(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_lun_ejected(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_be_block_close(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 @ctl_set_invalid_opcode(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ctl_be_lun", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!8, !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !7, i64 12} !14 = !{!"ctl_be_block_lun", !15, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !15 = !{!"any pointer", !8, i64 0} !16 = !{!14, !15, i64 0} !17 = !{!6, !7, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"scsi_start_stop_unit", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cam/ctl/extr_ctl_backend_block.c_ctl_be_block_config_write.c' source_filename = "AnghaBench/freebsd/sys/cam/ctl/extr_ctl_backend_block.c_ctl_be_block_config_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ctl_lun_req = type { i32 } @.str = private unnamed_addr constant [9 x i8] c"entered\0A\00", align 1 @links = common local_unnamed_addr global i32 0, align 4 @SSS_PC_MASK = common local_unnamed_addr global i32 0, align 4 @SSS_START = common local_unnamed_addr global i32 0, align 4 @SSS_LOEJ = common local_unnamed_addr global i32 0, align 4 @CTL_LUN_FLAG_EJECTED = common local_unnamed_addr global i32 0, align 4 @CTL_LUN_FLAG_NO_MEDIA = common local_unnamed_addr global i32 0, align 4 @CTL_RETVAL_COMPLETE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ctl_be_block_config_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ctl_be_block_config_write(ptr noundef %0) #0 { %2 = alloca %struct.ctl_lun_req, align 4 %3 = tail call i32 @DPRINTF(ptr noundef nonnull @.str) #3 %4 = tail call ptr @CTL_BACKEND_LUN(ptr noundef %0) #3 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = inttoptr i64 %6 to ptr %8 = load ptr, ptr %0, align 8, !tbaa !12 %9 = load i32, ptr %8, align 4, !tbaa !13 switch i32 %9, label %83 [ i32 132, label %10 i32 131, label %10 i32 129, label %10 i32 128, label %10 i32 130, label %10 i32 133, label %21 i32 134, label %80 ] 10: ; preds = %1, %1, %1, %1, %1 %11 = getelementptr inbounds i8, ptr %7, i64 16 %12 = tail call i32 @mtx_lock(ptr noundef nonnull %11) #3 %13 = getelementptr inbounds i8, ptr %7, i64 20 %14 = load i32, ptr @links, align 4, !tbaa !13 %15 = tail call i32 @STAILQ_INSERT_TAIL(ptr noundef nonnull %13, ptr noundef nonnull %0, i32 noundef %14) #3 %16 = tail call i32 @mtx_unlock(ptr noundef nonnull %11) #3 %17 = getelementptr inbounds i8, ptr %7, i64 12 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = getelementptr inbounds i8, ptr %7, i64 8 %20 = tail call i32 @taskqueue_enqueue(i32 noundef %18, ptr noundef nonnull %19) #3 br label %87 21: ; preds = %1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %22 = load i32, ptr @SSS_PC_MASK, align 4, !tbaa !13 %23 = and i32 %22, 133 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %21 %26 = tail call i32 @ctl_set_success(ptr noundef nonnull %0) #3 %27 = tail call i32 @ctl_config_write_done(ptr noundef nonnull %0) #3 br label %78 28: ; preds = %21 %29 = load i32, ptr @SSS_START, align 4, !tbaa !13 %30 = and i32 %29, 133 %31 = icmp eq i32 %30, 0 br i1 %31, label %57, label %32 32: ; preds = %28 %33 = load i32, ptr @SSS_LOEJ, align 4, !tbaa !13 %34 = and i32 %33, 133 %35 = icmp eq i32 %34, 0 br i1 %35, label %54, label %36 36: ; preds = %32 %37 = load ptr, ptr %7, align 8, !tbaa !17 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %54 39: ; preds = %36 %40 = call i32 @ctl_be_block_open(ptr noundef nonnull %7, ptr noundef nonnull %2) #3 %41 = load i32, ptr @CTL_LUN_FLAG_EJECTED, align 4, !tbaa !13 %42 = xor i32 %41, -1 %43 = load i32, ptr %4, align 8, !tbaa !18 %44 = and i32 %43, %42 store i32 %44, ptr %4, align 8, !tbaa !18 %45 = icmp eq i32 %40, 0 %46 = load i32, ptr @CTL_LUN_FLAG_NO_MEDIA, align 4, !tbaa !13 br i1 %45, label %47, label %51 47: ; preds = %39 %48 = xor i32 %46, -1 %49 = and i32 %44, %48 store i32 %49, ptr %4, align 8, !tbaa !18 %50 = call i32 @ctl_lun_has_media(ptr noundef nonnull %4) #3 br label %54 51: ; preds = %39 %52 = or i32 %46, %44 store i32 %52, ptr %4, align 8, !tbaa !18 %53 = call i32 @ctl_lun_no_media(ptr noundef nonnull %4) #3 br label %54 54: ; preds = %47, %51, %36, %32 %55 = phi i32 [ 0, %47 ], [ %40, %51 ], [ 0, %36 ], [ 0, %32 ] %56 = call i32 @ctl_start_lun(ptr noundef nonnull %4) #3 br label %74 57: ; preds = %28 %58 = tail call i32 @ctl_stop_lun(ptr noundef nonnull %4) #3 %59 = load i32, ptr %8, align 4, !tbaa !19 %60 = load i32, ptr @SSS_LOEJ, align 4, !tbaa !13 %61 = and i32 %60, %59 %62 = icmp eq i32 %61, 0 br i1 %62, label %74, label %63 63: ; preds = %57 %64 = load i32, ptr @CTL_LUN_FLAG_NO_MEDIA, align 4, !tbaa !13 %65 = load i32, ptr %4, align 8, !tbaa !18 %66 = or i32 %65, %64 store i32 %66, ptr %4, align 8, !tbaa !18 %67 = load i32, ptr @CTL_LUN_FLAG_EJECTED, align 4, !tbaa !13 %68 = or i32 %67, %66 store i32 %68, ptr %4, align 8, !tbaa !18 %69 = tail call i32 @ctl_lun_ejected(ptr noundef nonnull %4) #3 %70 = load ptr, ptr %7, align 8, !tbaa !17 %71 = icmp eq ptr %70, null br i1 %71, label %74, label %72 72: ; preds = %63 %73 = tail call i32 @ctl_be_block_close(ptr noundef nonnull %7) #3 br label %74 74: ; preds = %57, %72, %63, %54 %75 = phi i32 [ %55, %54 ], [ 0, %72 ], [ 0, %63 ], [ 0, %57 ] %76 = call i32 @ctl_set_success(ptr noundef nonnull %0) #3 %77 = call i32 @ctl_config_write_done(ptr noundef nonnull %0) #3 br label %78 78: ; preds = %74, %25 %79 = phi i32 [ 0, %25 ], [ %75, %74 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 br label %87 80: ; preds = %1 %81 = tail call i32 @ctl_set_success(ptr noundef nonnull %0) #3 %82 = tail call i32 @ctl_config_write_done(ptr noundef nonnull %0) #3 br label %87 83: ; preds = %1 %84 = tail call i32 @ctl_set_invalid_opcode(ptr noundef nonnull %0) #3 %85 = tail call i32 @ctl_config_write_done(ptr noundef nonnull %0) #3 %86 = load i32, ptr @CTL_RETVAL_COMPLETE, align 4, !tbaa !13 br label %87 87: ; preds = %83, %80, %78, %10 %88 = phi i32 [ %86, %83 ], [ 0, %80 ], [ %79, %78 ], [ 0, %10 ] ret i32 %88 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @DPRINTF(ptr noundef) local_unnamed_addr #2 declare ptr @CTL_BACKEND_LUN(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2 declare i32 @STAILQ_INSERT_TAIL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @taskqueue_enqueue(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ctl_set_success(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_config_write_done(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_be_block_open(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ctl_lun_has_media(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_lun_no_media(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_start_lun(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_stop_lun(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_lun_ejected(ptr noundef) local_unnamed_addr #2 declare i32 @ctl_be_block_close(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 @ctl_set_invalid_opcode(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ctl_be_lun", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!9, !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 12} !15 = !{!"ctl_be_block_lun", !16, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !16 = !{!"any pointer", !9, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!7, !8, i64 0} !19 = !{!20, !8, i64 0} !20 = !{!"scsi_start_stop_unit", !8, i64 0}
freebsd_sys_cam_ctl_extr_ctl_backend_block.c_ctl_be_block_config_write
; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/balloon/extr_virtio_balloon.c_vtballoon_stop.c' source_filename = "AnghaBench/freebsd/sys/dev/virtio/balloon/extr_virtio_balloon.c_vtballoon_stop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vtballoon_softc = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @vtballoon_stop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vtballoon_stop(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.vtballoon_softc, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @virtqueue_disable_intr(i32 noundef %3) #2 %5 = getelementptr inbounds %struct.vtballoon_softc, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @virtqueue_disable_intr(i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !11 %9 = tail call i32 @virtio_stop(i32 noundef %8) #2 ret void } declare i32 @virtqueue_disable_intr(i32 noundef) local_unnamed_addr #1 declare i32 @virtio_stop(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"vtballoon_softc", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/balloon/extr_virtio_balloon.c_vtballoon_stop.c' source_filename = "AnghaBench/freebsd/sys/dev/virtio/balloon/extr_virtio_balloon.c_vtballoon_stop.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 @vtballoon_stop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vtballoon_stop(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @virtqueue_disable_intr(i32 noundef %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @virtqueue_disable_intr(i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !12 %9 = tail call i32 @virtio_stop(i32 noundef %8) #2 ret void } declare i32 @virtqueue_disable_intr(i32 noundef) local_unnamed_addr #1 declare i32 @virtio_stop(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"vtballoon_softc", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!7, !8, i64 0}
freebsd_sys_dev_virtio_balloon_extr_virtio_balloon.c_vtballoon_stop
; ModuleID = 'AnghaBench/linux/fs/nls/extr_mac-inuit.c_uni2char.c' source_filename = "AnghaBench/linux/fs/nls/extr_mac-inuit.c_uni2char.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENAMETOOLONG = dso_local local_unnamed_addr global i32 0, align 4 @page_uni2charset = dso_local local_unnamed_addr global ptr null, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uni2char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @uni2char(i32 noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = icmp slt i32 %2, 1 br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %26 8: ; preds = %3 %9 = lshr i32 %0, 8 %10 = load ptr, ptr @page_uni2charset, align 8, !tbaa !9 %11 = and i32 %9, 255 %12 = zext nneg i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !9 %15 = icmp eq ptr %14, null br i1 %15, label %23, label %16 16: ; preds = %8 %17 = and i32 %0, 255 %18 = zext nneg i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %14, i64 %18 %20 = load i8, ptr %19, align 1, !tbaa !11 %21 = icmp eq i8 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %16 store i8 %20, ptr %1, align 1, !tbaa !11 br label %26 23: ; preds = %16, %8 %24 = load i32, ptr @EINVAL, align 4, !tbaa !5 %25 = sub nsw i32 0, %24 br label %26 26: ; preds = %22, %23, %5 %27 = phi i32 [ %7, %5 ], [ 1, %22 ], [ %25, %23 ] ret i32 %27 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/nls/extr_mac-inuit.c_uni2char.c' source_filename = "AnghaBench/linux/fs/nls/extr_mac-inuit.c_uni2char.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENAMETOOLONG = common local_unnamed_addr global i32 0, align 4 @page_uni2charset = common local_unnamed_addr global ptr null, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uni2char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @uni2char(i32 noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = icmp slt i32 %2, 1 br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %26 8: ; preds = %3 %9 = lshr i32 %0, 8 %10 = load ptr, ptr @page_uni2charset, align 8, !tbaa !10 %11 = and i32 %9, 255 %12 = zext nneg i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !10 %15 = icmp eq ptr %14, null br i1 %15, label %23, label %16 16: ; preds = %8 %17 = and i32 %0, 255 %18 = zext nneg i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %14, i64 %18 %20 = load i8, ptr %19, align 1, !tbaa !12 %21 = icmp eq i8 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %16 store i8 %20, ptr %1, align 1, !tbaa !12 br label %26 23: ; preds = %16, %8 %24 = load i32, ptr @EINVAL, align 4, !tbaa !6 %25 = sub nsw i32 0, %24 br label %26 26: ; preds = %22, %23, %5 %27 = phi i32 [ %7, %5 ], [ 1, %22 ], [ %25, %23 ] ret i32 %27 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!8, !8, i64 0}
linux_fs_nls_extr_mac-inuit.c_uni2char
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_gl1.c_gl1_gfx_read_viewport.c' source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_gl1.c_gl1_gfx_read_viewport.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { ptr, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @gl1_gfx_read_viewport], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @gl1_gfx_read_viewport(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %28, label %5 5: ; preds = %3 %6 = tail call i32 @gl1_context_bind_hw_render(ptr noundef nonnull %0, i32 noundef 0) #2 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = mul i32 %10, %8 %12 = shl i32 %11, 2 %13 = tail call ptr @malloc(i32 noundef %12) #2 store ptr %13, ptr %0, align 8, !tbaa !13 %14 = icmp eq ptr %13, null br i1 %14, label %25, label %15 15: ; preds = %5 %16 = icmp eq i32 %2, 0 br i1 %16, label %17, label %20 17: ; preds = %15 %18 = tail call i32 (...) @video_driver_cached_frame() #2 %19 = load ptr, ptr %0, align 8, !tbaa !13 br label %20 20: ; preds = %17, %15 %21 = phi ptr [ %19, %17 ], [ %13, %15 ] %22 = tail call i32 @video_frame_convert_rgba_to_bgr(ptr noundef %21, ptr noundef %1, i32 noundef %11) #2 %23 = load ptr, ptr %0, align 8, !tbaa !13 %24 = tail call i32 @free(ptr noundef %23) #2 store ptr null, ptr %0, align 8, !tbaa !13 br label %25 25: ; preds = %5, %20 %26 = phi i32 [ 1, %20 ], [ 0, %5 ] %27 = tail call i32 @gl1_context_bind_hw_render(ptr noundef nonnull %0, i32 noundef 1) #2 br label %28 28: ; preds = %25, %3 %29 = phi i32 [ 0, %3 ], [ %26, %25 ] ret i32 %29 } declare i32 @gl1_context_bind_hw_render(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @video_driver_cached_frame(...) local_unnamed_addr #1 declare i32 @video_frame_convert_rgba_to_bgr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"TYPE_5__", !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_4__", !11, i64 0, !11, i64 4} !11 = !{!"int", !8, i64 0} !12 = !{!6, !11, i64 12} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_gl1.c_gl1_gfx_read_viewport.c' source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_gl1.c_gl1_gfx_read_viewport.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 @gl1_gfx_read_viewport], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @gl1_gfx_read_viewport(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %28, label %5 5: ; preds = %3 %6 = tail call i32 @gl1_context_bind_hw_render(ptr noundef nonnull %0, i32 noundef 0) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %0, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = mul i32 %10, %8 %12 = shl i32 %11, 2 %13 = tail call ptr @malloc(i32 noundef %12) #2 store ptr %13, ptr %0, align 8, !tbaa !14 %14 = icmp eq ptr %13, null br i1 %14, label %25, label %15 15: ; preds = %5 %16 = icmp eq i32 %2, 0 br i1 %16, label %17, label %20 17: ; preds = %15 %18 = tail call i32 @video_driver_cached_frame() #2 %19 = load ptr, ptr %0, align 8, !tbaa !14 br label %20 20: ; preds = %17, %15 %21 = phi ptr [ %19, %17 ], [ %13, %15 ] %22 = tail call i32 @video_frame_convert_rgba_to_bgr(ptr noundef %21, ptr noundef %1, i32 noundef %11) #2 %23 = load ptr, ptr %0, align 8, !tbaa !14 %24 = tail call i32 @free(ptr noundef %23) #2 store ptr null, ptr %0, align 8, !tbaa !14 br label %25 25: ; preds = %5, %20 %26 = phi i32 [ 1, %20 ], [ 0, %5 ] %27 = tail call i32 @gl1_context_bind_hw_render(ptr noundef nonnull %0, i32 noundef 1) #2 br label %28 28: ; preds = %25, %3 %29 = phi i32 [ 0, %3 ], [ %26, %25 ] ret i32 %29 } declare i32 @gl1_context_bind_hw_render(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @video_driver_cached_frame(...) local_unnamed_addr #1 declare i32 @video_frame_convert_rgba_to_bgr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"TYPE_5__", !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_4__", !12, i64 0, !12, i64 4} !12 = !{!"int", !9, i64 0} !13 = !{!7, !12, i64 12} !14 = !{!7, !8, i64 0}
RetroArch_gfx_drivers_extr_gl1.c_gl1_gfx_read_viewport
; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_count_2segments.c' source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_count_2segments.c" target datalayout = "e-m:e-p270:32:32-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 @ZSTD_count_2segments], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @ZSTD_count_2segments(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = ptrtoint ptr %3 to i64 %7 = ptrtoint ptr %1 to i64 %8 = sub i64 %6, %7 %9 = getelementptr inbounds i8, ptr %0, i64 %8 %10 = tail call ptr @MIN(ptr noundef %9, ptr noundef %2) #2 %11 = tail call i64 @ZSTD_count(ptr noundef %0, ptr noundef %1, ptr noundef %10) #2 %12 = getelementptr inbounds i32, ptr %1, i64 %11 %13 = icmp eq ptr %12, %3 br i1 %13, label %14, label %18 14: ; preds = %5 %15 = getelementptr inbounds i32, ptr %0, i64 %11 %16 = tail call i64 @ZSTD_count(ptr noundef %15, ptr noundef %4, ptr noundef %2) #2 %17 = add i64 %16, %11 br label %18 18: ; preds = %5, %14 %19 = phi i64 [ %17, %14 ], [ %11, %5 ] ret i64 %19 } declare ptr @MIN(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @ZSTD_count(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_count_2segments.c' source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_count_2segments.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 @ZSTD_count_2segments], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @ZSTD_count_2segments(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = ptrtoint ptr %3 to i64 %7 = ptrtoint ptr %1 to i64 %8 = sub i64 %6, %7 %9 = getelementptr inbounds i8, ptr %0, i64 %8 %10 = tail call ptr @MIN(ptr noundef %9, ptr noundef %2) #2 %11 = tail call i64 @ZSTD_count(ptr noundef %0, ptr noundef %1, ptr noundef %10) #2 %12 = getelementptr inbounds i32, ptr %1, i64 %11 %13 = icmp eq ptr %12, %3 br i1 %13, label %14, label %18 14: ; preds = %5 %15 = getelementptr inbounds i32, ptr %0, i64 %11 %16 = tail call i64 @ZSTD_count(ptr noundef %15, ptr noundef %4, ptr noundef %2) #2 %17 = add i64 %16, %11 br label %18 18: ; preds = %5, %14 %19 = phi i64 [ %17, %14 ], [ %11, %5 ] ret i64 %19 } declare ptr @MIN(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @ZSTD_count(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
zstd_contrib_linux-kernel_lib_zstd_extr_compress.c_ZSTD_count_2segments
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_wa-xfer.c___wa_populate_dto_urb.c' source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_wa-xfer.c___wa_populate_dto_urb.c" target datalayout = "e-m:e-p270:32:32-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.wa_xfer = type { ptr, i64 } %struct.TYPE_3__ = type { i32, ptr, i64 } %struct.TYPE_4__ = type { i64, ptr, i64, ptr, i64, i32, i64 } @URB_NO_TRANSFER_DMA_MAP = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__wa_populate_dto_urb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__wa_populate_dto_urb(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds %struct.wa_xfer, ptr %0, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = icmp eq i64 %6, 0 br i1 %7, label %20, label %8 8: ; preds = %4 %9 = load ptr, ptr %0, align 8, !tbaa !11 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 0, i32 2 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = add i64 %11, %2 %13 = load ptr, ptr %1, align 8, !tbaa !15 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 0, i32 6 store i64 %12, ptr %14, align 8, !tbaa !17 %15 = load i32, ptr @URB_NO_TRANSFER_DMA_MAP, align 4, !tbaa !19 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 0, i32 5 %17 = load i32, ptr %16, align 8, !tbaa !20 %18 = or i32 %17, %15 store i32 %18, ptr %16, align 8, !tbaa !20 %19 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false) br label %47 20: ; preds = %4 %21 = load i32, ptr @URB_NO_TRANSFER_DMA_MAP, align 4, !tbaa !19 %22 = xor i32 %21, -1 %23 = load ptr, ptr %1, align 8, !tbaa !15 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 0, i32 5 %25 = load i32, ptr %24, align 8, !tbaa !20 %26 = and i32 %25, %22 store i32 %26, ptr %24, align 8, !tbaa !20 %27 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 0, i32 4 store i64 0, ptr %27, align 8, !tbaa !21 %28 = load ptr, ptr %0, align 8, !tbaa !11 %29 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i64 0, i32 1 %30 = load ptr, ptr %29, align 8, !tbaa !22 %31 = icmp eq ptr %30, null br i1 %31, label %36, label %32 32: ; preds = %20 %33 = getelementptr inbounds i32, ptr %30, i64 %2 %34 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 0, i32 3 store ptr %33, ptr %34, align 8, !tbaa !23 %35 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %35, i8 0, i64 16, i1 false) br label %47 36: ; preds = %20 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 0, i32 3 store ptr null, ptr %37, align 8, !tbaa !23 %38 = load i32, ptr %28, align 8, !tbaa !24 %39 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 0, i32 2 %40 = tail call ptr @wa_xfer_create_subset_sg(i32 noundef %38, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %39) #3 %41 = load ptr, ptr %1, align 8, !tbaa !15 %42 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i64 0, i32 1 store ptr %40, ptr %42, align 8, !tbaa !25 %43 = icmp eq ptr %40, null br i1 %43, label %44, label %47 44: ; preds = %36 %45 = load i32, ptr @ENOMEM, align 4, !tbaa !19 %46 = sub nsw i32 0, %45 br label %47 47: ; preds = %32, %44, %36, %8 %48 = phi ptr [ %13, %8 ], [ %23, %32 ], [ %41, %36 ], [ %41, %44 ] %49 = phi i32 [ 0, %8 ], [ 0, %32 ], [ 0, %36 ], [ %46, %44 ] store i64 %3, ptr %48, align 8, !tbaa !26 ret i32 %49 } declare ptr @wa_xfer_create_subset_sg(i32 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"wa_xfer", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 16} !13 = !{!"TYPE_3__", !14, i64 0, !7, i64 8, !10, i64 16} !14 = !{!"int", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"wa_seg", !7, i64 0} !17 = !{!18, !10, i64 48} !18 = !{!"TYPE_4__", !10, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !14, i64 40, !10, i64 48} !19 = !{!14, !14, i64 0} !20 = !{!18, !14, i64 40} !21 = !{!18, !10, i64 32} !22 = !{!13, !7, i64 8} !23 = !{!18, !7, i64 24} !24 = !{!13, !14, i64 0} !25 = !{!18, !7, i64 8} !26 = !{!18, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_wa-xfer.c___wa_populate_dto_urb.c' source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_wa-xfer.c___wa_populate_dto_urb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @URB_NO_TRANSFER_DMA_MAP = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__wa_populate_dto_urb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @__wa_populate_dto_urb(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = icmp eq i64 %6, 0 br i1 %7, label %20, label %8 8: ; preds = %4 %9 = load ptr, ptr %0, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %9, i64 16 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = add i64 %11, %2 %13 = load ptr, ptr %1, align 8, !tbaa !16 %14 = getelementptr inbounds i8, ptr %13, i64 48 store i64 %12, ptr %14, align 8, !tbaa !18 %15 = load i32, ptr @URB_NO_TRANSFER_DMA_MAP, align 4, !tbaa !20 %16 = getelementptr inbounds i8, ptr %13, i64 40 %17 = load i32, ptr %16, align 8, !tbaa !21 %18 = or i32 %17, %15 store i32 %18, ptr %16, align 8, !tbaa !21 %19 = getelementptr inbounds i8, ptr %13, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false) br label %47 20: ; preds = %4 %21 = load i32, ptr @URB_NO_TRANSFER_DMA_MAP, align 4, !tbaa !20 %22 = xor i32 %21, -1 %23 = load ptr, ptr %1, align 8, !tbaa !16 %24 = getelementptr inbounds i8, ptr %23, i64 40 %25 = load i32, ptr %24, align 8, !tbaa !21 %26 = and i32 %25, %22 store i32 %26, ptr %24, align 8, !tbaa !21 %27 = getelementptr inbounds i8, ptr %23, i64 32 store i64 0, ptr %27, align 8, !tbaa !22 %28 = load ptr, ptr %0, align 8, !tbaa !12 %29 = getelementptr inbounds i8, ptr %28, i64 8 %30 = load ptr, ptr %29, align 8, !tbaa !23 %31 = icmp eq ptr %30, null br i1 %31, label %36, label %32 32: ; preds = %20 %33 = getelementptr inbounds i32, ptr %30, i64 %2 %34 = getelementptr inbounds i8, ptr %23, i64 24 store ptr %33, ptr %34, align 8, !tbaa !24 %35 = getelementptr inbounds i8, ptr %23, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %35, i8 0, i64 16, i1 false) br label %47 36: ; preds = %20 %37 = getelementptr inbounds i8, ptr %23, i64 24 store ptr null, ptr %37, align 8, !tbaa !24 %38 = load i32, ptr %28, align 8, !tbaa !25 %39 = getelementptr inbounds i8, ptr %23, i64 16 %40 = tail call ptr @wa_xfer_create_subset_sg(i32 noundef %38, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %39) #3 %41 = load ptr, ptr %1, align 8, !tbaa !16 %42 = getelementptr inbounds i8, ptr %41, i64 8 store ptr %40, ptr %42, align 8, !tbaa !26 %43 = icmp eq ptr %40, null br i1 %43, label %44, label %47 44: ; preds = %36 %45 = load i32, ptr @ENOMEM, align 4, !tbaa !20 %46 = sub nsw i32 0, %45 br label %47 47: ; preds = %32, %44, %36, %8 %48 = phi ptr [ %13, %8 ], [ %23, %32 ], [ %41, %36 ], [ %41, %44 ] %49 = phi i32 [ 0, %8 ], [ 0, %32 ], [ 0, %36 ], [ %46, %44 ] store i64 %3, ptr %48, align 8, !tbaa !27 ret i32 %49 } declare ptr @wa_xfer_create_subset_sg(i32 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"wa_xfer", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 16} !14 = !{!"TYPE_3__", !15, i64 0, !8, i64 8, !11, i64 16} !15 = !{!"int", !9, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"wa_seg", !8, i64 0} !18 = !{!19, !11, i64 48} !19 = !{!"TYPE_4__", !11, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !15, i64 40, !11, i64 48} !20 = !{!15, !15, i64 0} !21 = !{!19, !15, i64 40} !22 = !{!19, !11, i64 32} !23 = !{!14, !8, i64 8} !24 = !{!19, !8, i64 24} !25 = !{!14, !15, i64 0} !26 = !{!19, !8, i64 8} !27 = !{!19, !11, i64 0}
linux_drivers_staging_wusbcore_extr_wa-xfer.c___wa_populate_dto_urb
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmdomain.c___dlm_unhash_lockres.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmdomain.c___dlm_unhash_lockres.c" target datalayout = "e-m:e-p270:32:32-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 @__dlm_unhash_lockres(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @hlist_unhashed(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = tail call i32 @hlist_del_init(ptr noundef %0) #2 %6 = tail call i32 @dlm_lockres_put(ptr noundef %0) #2 br label %7 7: ; preds = %4, %1 ret void } declare i32 @hlist_unhashed(ptr noundef) local_unnamed_addr #1 declare i32 @hlist_del_init(ptr noundef) local_unnamed_addr #1 declare i32 @dlm_lockres_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmdomain.c___dlm_unhash_lockres.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmdomain.c___dlm_unhash_lockres.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 @__dlm_unhash_lockres(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @hlist_unhashed(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = tail call i32 @hlist_del_init(ptr noundef %0) #2 %6 = tail call i32 @dlm_lockres_put(ptr noundef %0) #2 br label %7 7: ; preds = %4, %1 ret void } declare i32 @hlist_unhashed(ptr noundef) local_unnamed_addr #1 declare i32 @hlist_del_init(ptr noundef) local_unnamed_addr #1 declare i32 @dlm_lockres_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_fs_ocfs2_dlm_extr_dlmdomain.c___dlm_unhash_lockres
; ModuleID = 'AnghaBench/hashcat/deps/LZMA-SDK/C/extr_LzmaDec.c_LzmaDec_Allocate.c' source_filename = "AnghaBench/hashcat/deps/LZMA-SDK/C/extr_LzmaDec.c_LzmaDec_Allocate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32 } %struct.TYPE_10__ = type { i32, %struct.TYPE_9__, ptr } @SZ_ERROR_MEM = dso_local local_unnamed_addr global i32 0, align 4 @SZ_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @LzmaDec_Allocate(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.TYPE_9__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 %6 = call i32 @LzmaProps_Decode(ptr noundef nonnull %5, ptr noundef %1, i32 noundef %2) #4 %7 = call i32 @RINOK(i32 noundef %6) #4 %8 = call i32 @LzmaDec_AllocateProbs2(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %3) #4 %9 = call i32 @RINOK(i32 noundef %8) #4 %10 = load i32, ptr %5, align 4, !tbaa !5 %11 = icmp sgt i32 %10, 1073741823 %12 = icmp sgt i32 %10, 4194303 %13 = select i1 %12, i32 1048575, i32 4095 %14 = select i1 %11, i32 4194303, i32 %13 %15 = add nsw i32 %14, %10 %16 = xor i32 %14, -1 %17 = and i32 %15, %16 %18 = call i32 @llvm.smax.i32(i32 %17, i32 %10) %19 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %20 = load ptr, ptr %19, align 8, !tbaa !9 %21 = icmp eq ptr %20, null br i1 %21, label %25, label %22 22: ; preds = %4 %23 = load i32, ptr %0, align 8, !tbaa !13 %24 = icmp eq i32 %18, %23 br i1 %24, label %34, label %25 25: ; preds = %22, %4 %26 = call i32 @LzmaDec_FreeDict(ptr noundef nonnull %0, i32 noundef %3) #4 %27 = call i64 @ISzAlloc_Alloc(i32 noundef %3, i32 noundef %18) #4 %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %19, align 8, !tbaa !9 %29 = icmp eq i64 %27, 0 br i1 %29, label %32, label %30 30: ; preds = %25 %31 = load i32, ptr %5, align 4, !tbaa !5 br label %34 32: ; preds = %25 %33 = call i32 @LzmaDec_FreeProbs(ptr noundef nonnull %0, i32 noundef %3) #4 br label %37 34: ; preds = %30, %22 %35 = phi i32 [ %31, %30 ], [ %10, %22 ] store i32 %18, ptr %0, align 8, !tbaa !13 %36 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1 store i32 %35, ptr %36, align 4, !tbaa !5 br label %37 37: ; preds = %34, %32 %38 = phi ptr [ @SZ_OK, %34 ], [ @SZ_ERROR_MEM, %32 ] %39 = load i32, ptr %38, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 ret i32 %39 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RINOK(i32 noundef) local_unnamed_addr #2 declare i32 @LzmaProps_Decode(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LzmaDec_AllocateProbs2(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @LzmaDec_FreeDict(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ISzAlloc_Alloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LzmaDec_FreeProbs(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 8} !10 = !{!"TYPE_10__", !6, i64 0, !11, i64 4, !12, i64 8} !11 = !{!"TYPE_9__", !6, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/hashcat/deps/LZMA-SDK/C/extr_LzmaDec.c_LzmaDec_Allocate.c' source_filename = "AnghaBench/hashcat/deps/LZMA-SDK/C/extr_LzmaDec.c_LzmaDec_Allocate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_9__ = type { i32 } @SZ_ERROR_MEM = common local_unnamed_addr global i32 0, align 4 @SZ_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @LzmaDec_Allocate(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.TYPE_9__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 %6 = call i32 @LzmaProps_Decode(ptr noundef nonnull %5, ptr noundef %1, i32 noundef %2) #4 %7 = call i32 @RINOK(i32 noundef %6) #4 %8 = call i32 @LzmaDec_AllocateProbs2(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %3) #4 %9 = call i32 @RINOK(i32 noundef %8) #4 %10 = load i32, ptr %5, align 4, !tbaa !6 %11 = icmp sgt i32 %10, 1073741823 %12 = icmp sgt i32 %10, 4194303 %13 = select i1 %12, i32 1048575, i32 4095 %14 = select i1 %11, i32 4194303, i32 %13 %15 = add nsw i32 %14, %10 %16 = xor i32 %14, -1 %17 = and i32 %15, %16 %18 = call i32 @llvm.smax.i32(i32 %17, i32 %10) %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !10 %21 = icmp eq ptr %20, null br i1 %21, label %25, label %22 22: ; preds = %4 %23 = load i32, ptr %0, align 8, !tbaa !14 %24 = icmp eq i32 %18, %23 br i1 %24, label %34, label %25 25: ; preds = %22, %4 %26 = call i32 @LzmaDec_FreeDict(ptr noundef nonnull %0, i32 noundef %3) #4 %27 = call i64 @ISzAlloc_Alloc(i32 noundef %3, i32 noundef %18) #4 %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %19, align 8, !tbaa !10 %29 = icmp eq i64 %27, 0 br i1 %29, label %32, label %30 30: ; preds = %25 %31 = load i32, ptr %5, align 4, !tbaa !6 br label %34 32: ; preds = %25 %33 = call i32 @LzmaDec_FreeProbs(ptr noundef nonnull %0, i32 noundef %3) #4 br label %37 34: ; preds = %30, %22 %35 = phi i32 [ %31, %30 ], [ %10, %22 ] store i32 %18, ptr %0, align 8, !tbaa !14 %36 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %35, ptr %36, align 4, !tbaa !6 br label %37 37: ; preds = %34, %32 %38 = phi ptr [ @SZ_OK, %34 ], [ @SZ_ERROR_MEM, %32 ] %39 = load i32, ptr %38, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 ret i32 %39 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RINOK(i32 noundef) local_unnamed_addr #2 declare i32 @LzmaProps_Decode(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LzmaDec_AllocateProbs2(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @LzmaDec_FreeDict(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ISzAlloc_Alloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LzmaDec_FreeProbs(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"TYPE_10__", !7, i64 0, !12, i64 4, !13, i64 8} !12 = !{!"TYPE_9__", !7, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 0}
hashcat_deps_LZMA-SDK_C_extr_LzmaDec.c_LzmaDec_Allocate
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_irq_kms.c_radeon_irq_kms_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_irq_kms.c_radeon_irq_kms_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.radeon_device = type { i32, i32, %struct.TYPE_6__, ptr, i32, i32, i32, i32, i32 } %struct.TYPE_6__ = type { i32, i32 } %struct.TYPE_7__ = type { i32, ptr } @.str = private unnamed_addr constant [20 x i8] c"radeon: using MSI.\0A\00", align 1 @radeon_hotplug_work_func = dso_local local_unnamed_addr global i32 0, align 4 @radeon_dp_work_func = dso_local local_unnamed_addr global i32 0, align 4 @r600_audio_update_hdmi = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"radeon: irq initialized.\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @radeon_irq_kms_init(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 2 %3 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 2, i32 1 %4 = tail call i32 @spin_lock_init(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 3 %6 = load ptr, ptr %5, align 8, !tbaa !5 store i32 1, ptr %6, align 8, !tbaa !12 %7 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 8 %8 = load i32, ptr %7, align 8, !tbaa !14 %9 = tail call i32 @drm_vblank_init(ptr noundef nonnull %6, i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %43 11: ; preds = %1 store i32 0, ptr %0, align 8, !tbaa !15 %12 = tail call i64 @radeon_msi_ok(ptr noundef nonnull %0) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %23, label %14 14: ; preds = %11 %15 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 7 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = tail call i32 @pci_enable_msi(i32 noundef %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %14 store i32 1, ptr %0, align 8, !tbaa !15 %20 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 6 %21 = load i32, ptr %20, align 8, !tbaa !17 %22 = tail call i32 @dev_info(i32 noundef %21, ptr noundef nonnull @.str) #2 br label %23 23: ; preds = %14, %19, %11 %24 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 1 %25 = load i32, ptr @radeon_hotplug_work_func, align 4, !tbaa !18 %26 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %24, i32 noundef %25) #2 %27 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 5 %28 = load i32, ptr @radeon_dp_work_func, align 4, !tbaa !18 %29 = tail call i32 @INIT_WORK(ptr noundef nonnull %27, i32 noundef %28) #2 %30 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 4 %31 = load i32, ptr @r600_audio_update_hdmi, align 4, !tbaa !18 %32 = tail call i32 @INIT_WORK(ptr noundef nonnull %30, i32 noundef %31) #2 store i32 1, ptr %2, align 8, !tbaa !19 %33 = load ptr, ptr %5, align 8, !tbaa !5 %34 = getelementptr inbounds %struct.TYPE_7__, ptr %33, i64 0, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !20 %36 = load i32, ptr %35, align 4, !tbaa !21 %37 = tail call i32 @drm_irq_install(ptr noundef %33, i32 noundef %36) #2 %38 = icmp eq i32 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %23 store i32 0, ptr %2, align 8, !tbaa !19 %40 = tail call i32 @flush_delayed_work(ptr noundef nonnull %24) #2 br label %43 41: ; preds = %23 %42 = tail call i32 @DRM_INFO(ptr noundef nonnull @.str.1) #2 br label %43 43: ; preds = %1, %41, %39 %44 = phi i32 [ %37, %39 ], [ 0, %41 ], [ %9, %1 ] ret i32 %44 } declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @drm_vblank_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @radeon_msi_ok(ptr noundef) local_unnamed_addr #1 declare i32 @pci_enable_msi(i32 noundef) local_unnamed_addr #1 declare i32 @dev_info(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @drm_irq_install(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @flush_delayed_work(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_INFO(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 16} !6 = !{!"radeon_device", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !7, i64 0, !7, i64 4} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_7__", !7, i64 0, !11, i64 8} !14 = !{!6, !7, i64 40} !15 = !{!6, !7, i64 0} !16 = !{!6, !7, i64 36} !17 = !{!6, !7, i64 32} !18 = !{!7, !7, i64 0} !19 = !{!6, !7, i64 8} !20 = !{!13, !11, i64 8} !21 = !{!22, !7, i64 0} !22 = !{!"TYPE_5__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_irq_kms.c_radeon_irq_kms_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_irq_kms.c_radeon_irq_kms_init.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 [20 x i8] c"radeon: using MSI.\0A\00", align 1 @radeon_hotplug_work_func = common local_unnamed_addr global i32 0, align 4 @radeon_dp_work_func = common local_unnamed_addr global i32 0, align 4 @r600_audio_update_hdmi = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"radeon: irq initialized.\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @radeon_irq_kms_init(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = getelementptr inbounds i8, ptr %0, i64 12 %4 = tail call i32 @spin_lock_init(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 store i32 1, ptr %6, align 8, !tbaa !13 %7 = getelementptr inbounds i8, ptr %0, i64 40 %8 = load i32, ptr %7, align 8, !tbaa !15 %9 = tail call i32 @drm_vblank_init(ptr noundef nonnull %6, i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %43 11: ; preds = %1 store i32 0, ptr %0, align 8, !tbaa !16 %12 = tail call i64 @radeon_msi_ok(ptr noundef nonnull %0) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %23, label %14 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %0, i64 36 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = tail call i32 @pci_enable_msi(i32 noundef %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %14 store i32 1, ptr %0, align 8, !tbaa !16 %20 = getelementptr inbounds i8, ptr %0, i64 32 %21 = load i32, ptr %20, align 8, !tbaa !18 %22 = tail call i32 @dev_info(i32 noundef %21, ptr noundef nonnull @.str) #2 br label %23 23: ; preds = %14, %19, %11 %24 = getelementptr inbounds i8, ptr %0, i64 4 %25 = load i32, ptr @radeon_hotplug_work_func, align 4, !tbaa !19 %26 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %24, i32 noundef %25) #2 %27 = getelementptr inbounds i8, ptr %0, i64 28 %28 = load i32, ptr @radeon_dp_work_func, align 4, !tbaa !19 %29 = tail call i32 @INIT_WORK(ptr noundef nonnull %27, i32 noundef %28) #2 %30 = getelementptr inbounds i8, ptr %0, i64 24 %31 = load i32, ptr @r600_audio_update_hdmi, align 4, !tbaa !19 %32 = tail call i32 @INIT_WORK(ptr noundef nonnull %30, i32 noundef %31) #2 store i32 1, ptr %2, align 8, !tbaa !20 %33 = load ptr, ptr %5, align 8, !tbaa !6 %34 = getelementptr inbounds i8, ptr %33, i64 8 %35 = load ptr, ptr %34, align 8, !tbaa !21 %36 = load i32, ptr %35, align 4, !tbaa !22 %37 = tail call i32 @drm_irq_install(ptr noundef %33, i32 noundef %36) #2 %38 = icmp eq i32 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %23 store i32 0, ptr %2, align 8, !tbaa !20 %40 = tail call i32 @flush_delayed_work(ptr noundef nonnull %24) #2 br label %43 41: ; preds = %23 %42 = tail call i32 @DRM_INFO(ptr noundef nonnull @.str.1) #2 br label %43 43: ; preds = %1, %41, %39 %44 = phi i32 [ %37, %39 ], [ 0, %41 ], [ %9, %1 ] ret i32 %44 } declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @drm_vblank_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @radeon_msi_ok(ptr noundef) local_unnamed_addr #1 declare i32 @pci_enable_msi(i32 noundef) local_unnamed_addr #1 declare i32 @dev_info(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @drm_irq_install(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @flush_delayed_work(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_INFO(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 16} !7 = !{!"radeon_device", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !8, i64 0, !8, i64 4} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_7__", !8, i64 0, !12, i64 8} !15 = !{!7, !8, i64 40} !16 = !{!7, !8, i64 0} !17 = !{!7, !8, i64 36} !18 = !{!7, !8, i64 32} !19 = !{!8, !8, i64 0} !20 = !{!7, !8, i64 8} !21 = !{!14, !12, i64 8} !22 = !{!23, !8, i64 0} !23 = !{!"TYPE_5__", !8, i64 0}
linux_drivers_gpu_drm_radeon_extr_radeon_irq_kms.c_radeon_irq_kms_init
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_b_addr.c_BIO_ADDR_path_string.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_b_addr.c_BIO_ADDR_path_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AF_UNIX = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noalias noundef ptr @BIO_ADDR_path_string(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret ptr null } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_b_addr.c_BIO_ADDR_path_string.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_b_addr.c_BIO_ADDR_path_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AF_UNIX = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noalias noundef ptr @BIO_ADDR_path_string(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret ptr null } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_crypto_openssl_crypto_bio_extr_b_addr.c_BIO_ADDR_path_string
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce80/extr_dce80_resource.c_dce80_aux_engine_create.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce80/extr_dce80_resource.c_dce80_aux_engine_create.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @SW_AUX_TIMEOUT_PERIOD_MULTIPLIER = dso_local local_unnamed_addr global i32 0, align 4 @AUX_TIMEOUT_PERIOD = dso_local local_unnamed_addr global i32 0, align 4 @aux_engine_regs = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @dce80_aux_engine_create(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %4 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %13, label %6 6: ; preds = %2 %7 = load i32, ptr @SW_AUX_TIMEOUT_PERIOD_MULTIPLIER, align 4, !tbaa !5 %8 = load i32, ptr @AUX_TIMEOUT_PERIOD, align 4, !tbaa !5 %9 = mul nsw i32 %8, %7 %10 = load ptr, ptr @aux_engine_regs, align 8, !tbaa !9 %11 = getelementptr inbounds i32, ptr %10, i64 %1 %12 = tail call i32 @dce110_aux_engine_construct(ptr noundef nonnull %4, ptr noundef %0, i64 noundef %1, i32 noundef %9, ptr noundef %11) #2 br label %13 13: ; preds = %2, %6 ret ptr %4 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dce110_aux_engine_construct(ptr noundef, 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce80/extr_dce80_resource.c_dce80_aux_engine_create.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce80/extr_dce80_resource.c_dce80_aux_engine_create.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @SW_AUX_TIMEOUT_PERIOD_MULTIPLIER = common local_unnamed_addr global i32 0, align 4 @AUX_TIMEOUT_PERIOD = common local_unnamed_addr global i32 0, align 4 @aux_engine_regs = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @dce80_aux_engine_create(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %4 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %13, label %6 6: ; preds = %2 %7 = load i32, ptr @SW_AUX_TIMEOUT_PERIOD_MULTIPLIER, align 4, !tbaa !6 %8 = load i32, ptr @AUX_TIMEOUT_PERIOD, align 4, !tbaa !6 %9 = mul nsw i32 %8, %7 %10 = load ptr, ptr @aux_engine_regs, align 8, !tbaa !10 %11 = getelementptr inbounds i32, ptr %10, i64 %1 %12 = tail call i32 @dce110_aux_engine_construct(ptr noundef nonnull %4, ptr noundef %0, i64 noundef %1, i32 noundef %9, ptr noundef %11) #2 br label %13 13: ; preds = %2, %6 ret ptr %4 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dce110_aux_engine_construct(ptr noundef, 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, !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}
linux_drivers_gpu_drm_amd_display_dc_dce80_extr_dce80_resource.c_dce80_aux_engine_create
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_chip.h_mv88e6xxx_has_pvt.c' source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_chip.h_mv88e6xxx_has_pvt.c" target datalayout = "e-m:e-p270:32:32-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 @mv88e6xxx_has_pvt], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @mv88e6xxx_has_pvt(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"mv88e6xxx_chip", !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_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_chip.h_mv88e6xxx_has_pvt.c' source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_chip.h_mv88e6xxx_has_pvt.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 @mv88e6xxx_has_pvt], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @mv88e6xxx_has_pvt(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"mv88e6xxx_chip", !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_2__", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_drivers_net_dsa_mv88e6xxx_extr_chip.h_mv88e6xxx_has_pvt
; ModuleID = 'AnghaBench/8cc/extr_parse.c_assign_string.c' source_filename = "AnghaBench/8cc/extr_parse.c_assign_string.c" target datalayout = "e-m:e-p270:32:32-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 } @type_char = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @assign_string], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @assign_string(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %11 7: ; preds = %4 %8 = tail call i32 @strlen(ptr noundef %2) #2 %9 = add nsw i32 %8, 1 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 store i32 %9, ptr %10, align 4, !tbaa !10 store i32 %9, ptr %1, align 4, !tbaa !5 br label %11 11: ; preds = %7, %4 %12 = phi i32 [ %9, %7 ], [ %5, %4 ] %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %35 14: ; preds = %11 %15 = load i8, ptr %2, align 1, !tbaa !11 %16 = icmp eq i8 %15, 0 br i1 %16, label %35, label %21 17: ; preds = %21 %18 = getelementptr inbounds i8, ptr %23, i64 1 %19 = load i8, ptr %18, align 1, !tbaa !11 %20 = icmp eq i8 %19, 0 br i1 %20, label %35, label %21, !llvm.loop !12 21: ; preds = %14, %17 %22 = phi i8 [ %19, %17 ], [ %15, %14 ] %23 = phi ptr [ %18, %17 ], [ %2, %14 ] %24 = phi i32 [ %32, %17 ], [ 0, %14 ] %25 = sext i8 %22 to i32 %26 = load i32, ptr @type_char, align 4, !tbaa !14 %27 = tail call i32 @ast_inttype(i32 noundef %26, i32 noundef %25) #2 %28 = load i32, ptr @type_char, align 4, !tbaa !14 %29 = add nsw i32 %24, %3 %30 = tail call i32 @ast_init(i32 noundef %27, i32 noundef %28, i32 noundef %29) #2 %31 = tail call i32 @vec_push(ptr noundef %0, i32 noundef %30) #2 %32 = add nuw nsw i32 %24, 1 %33 = load i32, ptr %1, align 4, !tbaa !5 %34 = icmp slt i32 %32, %33 br i1 %34, label %17, label %35, !llvm.loop !12 35: ; preds = %21, %17, %14, %11 %36 = phi i32 [ %12, %11 ], [ %12, %14 ], [ %33, %17 ], [ %33, %21 ] %37 = phi i32 [ 0, %11 ], [ 0, %14 ], [ %32, %17 ], [ %32, %21 ] %38 = icmp slt i32 %37, %36 br i1 %38, label %39, label %50 39: ; preds = %35, %39 %40 = phi i32 [ %47, %39 ], [ %37, %35 ] %41 = load i32, ptr @type_char, align 4, !tbaa !14 %42 = tail call i32 @ast_inttype(i32 noundef %41, i32 noundef 0) #2 %43 = load i32, ptr @type_char, align 4, !tbaa !14 %44 = add nsw i32 %40, %3 %45 = tail call i32 @ast_init(i32 noundef %42, i32 noundef %43, i32 noundef %44) #2 %46 = tail call i32 @vec_push(ptr noundef %0, i32 noundef %45) #2 %47 = add nuw nsw i32 %40, 1 %48 = load i32, ptr %1, align 4, !tbaa !5 %49 = icmp slt i32 %47, %48 br i1 %49, label %39, label %50, !llvm.loop !15 50: ; preds = %39, %35 ret void } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @vec_push(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ast_init(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ast_inttype(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!8, !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!7, !7, i64 0} !15 = distinct !{!15, !13}
; ModuleID = 'AnghaBench/8cc/extr_parse.c_assign_string.c' source_filename = "AnghaBench/8cc/extr_parse.c_assign_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @type_char = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @assign_string], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @assign_string(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %11 7: ; preds = %4 %8 = tail call i32 @strlen(ptr noundef %2) #2 %9 = add nsw i32 %8, 1 %10 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %9, ptr %10, align 4, !tbaa !11 store i32 %9, ptr %1, align 4, !tbaa !6 br label %11 11: ; preds = %7, %4 %12 = phi i32 [ %9, %7 ], [ %5, %4 ] %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %35 14: ; preds = %11 %15 = load i8, ptr %2, align 1, !tbaa !12 %16 = icmp eq i8 %15, 0 br i1 %16, label %35, label %21 17: ; preds = %21 %18 = getelementptr inbounds i8, ptr %23, i64 1 %19 = load i8, ptr %18, align 1, !tbaa !12 %20 = icmp eq i8 %19, 0 br i1 %20, label %35, label %21, !llvm.loop !13 21: ; preds = %14, %17 %22 = phi i8 [ %19, %17 ], [ %15, %14 ] %23 = phi ptr [ %18, %17 ], [ %2, %14 ] %24 = phi i32 [ %32, %17 ], [ 0, %14 ] %25 = sext i8 %22 to i32 %26 = load i32, ptr @type_char, align 4, !tbaa !15 %27 = tail call i32 @ast_inttype(i32 noundef %26, i32 noundef %25) #2 %28 = load i32, ptr @type_char, align 4, !tbaa !15 %29 = add nsw i32 %24, %3 %30 = tail call i32 @ast_init(i32 noundef %27, i32 noundef %28, i32 noundef %29) #2 %31 = tail call i32 @vec_push(ptr noundef %0, i32 noundef %30) #2 %32 = add nuw nsw i32 %24, 1 %33 = load i32, ptr %1, align 4, !tbaa !6 %34 = icmp slt i32 %32, %33 br i1 %34, label %17, label %35, !llvm.loop !13 35: ; preds = %21, %17, %14, %11 %36 = phi i32 [ %12, %11 ], [ %12, %14 ], [ %33, %17 ], [ %33, %21 ] %37 = phi i32 [ 0, %11 ], [ 0, %14 ], [ %32, %17 ], [ %32, %21 ] %38 = icmp slt i32 %37, %36 br i1 %38, label %39, label %50 39: ; preds = %35, %39 %40 = phi i32 [ %47, %39 ], [ %37, %35 ] %41 = load i32, ptr @type_char, align 4, !tbaa !15 %42 = tail call i32 @ast_inttype(i32 noundef %41, i32 noundef 0) #2 %43 = load i32, ptr @type_char, align 4, !tbaa !15 %44 = add nsw i32 %40, %3 %45 = tail call i32 @ast_init(i32 noundef %42, i32 noundef %43, i32 noundef %44) #2 %46 = tail call i32 @vec_push(ptr noundef %0, i32 noundef %45) #2 %47 = add nuw nsw i32 %40, 1 %48 = load i32, ptr %1, align 4, !tbaa !6 %49 = icmp slt i32 %47, %48 br i1 %49, label %39, label %50, !llvm.loop !16 50: ; preds = %39, %35 ret void } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @vec_push(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ast_init(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ast_inttype(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!9, !9, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!8, !8, i64 0} !16 = distinct !{!16, !14}
8cc_extr_parse.c_assign_string
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_evlist.c___perf_evlist__add_default_attrs.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_evlist.c___perf_evlist__add_default_attrs.c" target datalayout = "e-m:e-p270:32:32-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_attr = type { i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @__perf_evlist__add_default_attrs(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i64 %2, 0 br i1 %4, label %11, label %5 5: ; preds = %3, %5 %6 = phi i64 [ %9, %5 ], [ 0, %3 ] %7 = getelementptr inbounds %struct.perf_event_attr, ptr %1, i64 %6 %8 = tail call i32 @event_attr_init(ptr noundef %7) #2 %9 = add nuw i64 %6, 1 %10 = icmp eq i64 %9, %2 br i1 %10, label %11, label %5, !llvm.loop !5 11: ; preds = %5, %3 %12 = tail call i32 @perf_evlist__add_attrs(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 ret i32 %12 } declare i32 @event_attr_init(ptr noundef) local_unnamed_addr #1 declare i32 @perf_evlist__add_attrs(ptr noundef, 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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_evlist.c___perf_evlist__add_default_attrs.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_evlist.c___perf_evlist__add_default_attrs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.perf_event_attr = type { i32 } ; Function Attrs: nounwind ssp uwtable(sync) define i32 @__perf_evlist__add_default_attrs(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i64 %2, 0 br i1 %4, label %11, label %5 5: ; preds = %3, %5 %6 = phi i64 [ %9, %5 ], [ 0, %3 ] %7 = getelementptr inbounds %struct.perf_event_attr, ptr %1, i64 %6 %8 = tail call i32 @event_attr_init(ptr noundef %7) #2 %9 = add nuw i64 %6, 1 %10 = icmp eq i64 %9, %2 br i1 %10, label %11, label %5, !llvm.loop !6 11: ; preds = %5, %3 %12 = tail call i32 @perf_evlist__add_attrs(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 ret i32 %12 } declare i32 @event_attr_init(ptr noundef) local_unnamed_addr #1 declare i32 @perf_evlist__add_attrs(ptr noundef, 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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_tools_perf_util_extr_evlist.c___perf_evlist__add_default_attrs
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_mdfld_dsi_dpi.c_mdfld_wait_for_DPI_CTRL_FIFO.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_mdfld_dsi_dpi.c_mdfld_wait_for_DPI_CTRL_FIFO.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DPI_FIFO_EMPTY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"MIPI: DPI FIFO was never cleared\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mdfld_wait_for_DPI_CTRL_FIFO], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mdfld_wait_for_DPI_CTRL_FIFO(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i32 @MIPI_GEN_FIFO_STAT_REG(i32 noundef %1) #2 %4 = tail call i32 @udelay(i32 noundef 500) #2 br label %5 5: ; preds = %2, %11 %6 = phi i32 [ 0, %2 ], [ %13, %11 ] %7 = tail call i32 @REG_READ(i32 noundef %3) #2 %8 = load i32, ptr @DPI_FIFO_EMPTY, align 4, !tbaa !5 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, %8 br i1 %10, label %17, label %11 11: ; preds = %5 %12 = tail call i32 @udelay(i32 noundef 100) #2 %13 = add nuw nsw i32 %6, 1 %14 = icmp eq i32 %13, 20000 br i1 %14, label %15, label %5, !llvm.loop !9 15: ; preds = %11 %16 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 br label %17 17: ; preds = %5, %15 ret void } declare i32 @MIPI_GEN_FIFO_STAT_REG(i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @REG_READ(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_mdfld_dsi_dpi.c_mdfld_wait_for_DPI_CTRL_FIFO.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_mdfld_dsi_dpi.c_mdfld_wait_for_DPI_CTRL_FIFO.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DPI_FIFO_EMPTY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"MIPI: DPI FIFO was never cleared\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mdfld_wait_for_DPI_CTRL_FIFO], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mdfld_wait_for_DPI_CTRL_FIFO(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i32 @MIPI_GEN_FIFO_STAT_REG(i32 noundef %1) #2 %4 = tail call i32 @udelay(i32 noundef 500) #2 br label %5 5: ; preds = %2, %11 %6 = phi i32 [ 0, %2 ], [ %13, %11 ] %7 = tail call i32 @REG_READ(i32 noundef %3) #2 %8 = load i32, ptr @DPI_FIFO_EMPTY, align 4, !tbaa !6 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, %8 br i1 %10, label %17, label %11 11: ; preds = %5 %12 = tail call i32 @udelay(i32 noundef 100) #2 %13 = add nuw nsw i32 %6, 1 %14 = icmp eq i32 %13, 20000 br i1 %14, label %15, label %5, !llvm.loop !10 15: ; preds = %11 %16 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 br label %17 17: ; preds = %5, %15 ret void } declare i32 @MIPI_GEN_FIFO_STAT_REG(i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @REG_READ(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_gma500_extr_mdfld_dsi_dpi.c_mdfld_wait_for_DPI_CTRL_FIFO
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/mi/extr_mi-out.c_mi_text.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/mi/extr_mi-out.c_mi_text.c" target datalayout = "e-m:e-p270:32:32-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 @mi_text(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/mi/extr_mi-out.c_mi_text.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/mi/extr_mi-out.c_mi_text.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 @mi_text(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_gdb_gdb_mi_extr_mi-out.c_mi_text
; ModuleID = 'AnghaBench/linux/crypto/extr_shash.c_crypto_shash_show.c' source_filename = "AnghaBench/linux/crypto/extr_shash.c_crypto_shash_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 [22 x i8] c"type : shash\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"blocksize : %u\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"digestsize : %u\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @crypto_shash_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @crypto_shash_show(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @__crypto_shash_alg(ptr noundef %1) #2 %4 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str) #2 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %5) #2 %7 = load i32, ptr %3, align 4, !tbaa !10 %8 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %7) #2 ret void } declare ptr @__crypto_shash_alg(ptr noundef) local_unnamed_addr #1 declare i32 @seq_printf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"crypto_alg", !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 = !{!"shash_alg", !7, i64 0}
; ModuleID = 'AnghaBench/linux/crypto/extr_shash.c_crypto_shash_show.c' source_filename = "AnghaBench/linux/crypto/extr_shash.c_crypto_shash_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 [22 x i8] c"type : shash\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"blocksize : %u\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"digestsize : %u\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @crypto_shash_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @crypto_shash_show(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @__crypto_shash_alg(ptr noundef %1) #2 %4 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str) #2 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %5) #2 %7 = load i32, ptr %3, align 4, !tbaa !11 %8 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %7) #2 ret void } declare ptr @__crypto_shash_alg(ptr noundef) local_unnamed_addr #1 declare i32 @seq_printf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"crypto_alg", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"shash_alg", !8, i64 0}
linux_crypto_extr_shash.c_crypto_shash_show
; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_teamorders.c_UI_TeamOrdersMenu_ListEvent.c' source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_teamorders.c_UI_TeamOrdersMenu_ListEvent.c" target datalayout = "e-m:e-p270:32:32-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, i64, ptr } %struct.TYPE_5__ = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @QM_ACTIVATED = dso_local local_unnamed_addr global i32 0, align 4 @ID_LIST_BOTS = dso_local local_unnamed_addr global i32 0, align 4 @teamOrdersMenuInfo = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @GT_CTF = dso_local local_unnamed_addr global i64 0, align 8 @ID_LIST_CTF_ORDERS = dso_local local_unnamed_addr global i32 0, align 4 @ID_LIST_TEAM_ORDERS = dso_local local_unnamed_addr global i32 0, align 4 @ctfMessages = dso_local local_unnamed_addr global ptr null, align 8 @teamMessages = dso_local local_unnamed_addr global ptr null, align 8 @EXEC_APPEND = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"say_team \22%s\22\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @UI_TeamOrdersMenu_ListEvent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @UI_TeamOrdersMenu_ListEvent(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = alloca [256 x i8], align 16 call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #3 %4 = load i32, ptr @QM_ACTIVATED, align 4, !tbaa !5 %5 = icmp eq i32 %4, %1 br i1 %5, label %6, label %41 6: ; preds = %2 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = load i32, ptr %0, align 4, !tbaa !12 %10 = load i32, ptr @ID_LIST_BOTS, align 4, !tbaa !5 %11 = icmp eq i32 %8, %10 br i1 %11, label %12, label %22 12: ; preds = %6 store i32 %9, ptr @teamOrdersMenuInfo, align 8, !tbaa !13 %13 = load i64, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @teamOrdersMenuInfo, i64 0, i32 1), align 8, !tbaa !17 %14 = load i64, ptr @GT_CTF, align 8, !tbaa !18 %15 = icmp eq i64 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr @ID_LIST_CTF_ORDERS, align 4, !tbaa !5 %18 = tail call i32 @UI_TeamOrdersMenu_SetList(i32 noundef %17) #3 br label %41 19: ; preds = %12 %20 = load i32, ptr @ID_LIST_TEAM_ORDERS, align 4, !tbaa !5 %21 = tail call i32 @UI_TeamOrdersMenu_SetList(i32 noundef %20) #3 br label %41 22: ; preds = %6 %23 = load i32, ptr @ID_LIST_CTF_ORDERS, align 4, !tbaa !5 %24 = icmp eq i32 %8, %23 %25 = sext i32 %9 to i64 %26 = load ptr, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @teamOrdersMenuInfo, i64 0, i32 2), align 8, !tbaa !19 %27 = load i32, ptr @teamOrdersMenuInfo, align 8, !tbaa !13 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4, !tbaa !5 %31 = load ptr, ptr @ctfMessages, align 8 %32 = load ptr, ptr @teamMessages, align 8 %33 = select i1 %24, ptr %31, ptr %32 %34 = getelementptr inbounds i32, ptr %33, i64 %25 %35 = load i32, ptr %34, align 4, !tbaa !5 %36 = call i32 @Com_sprintf(ptr noundef nonnull %3, i32 noundef 256, i32 noundef %35, i32 noundef %30) #3 %37 = load i32, ptr @EXEC_APPEND, align 4, !tbaa !5 %38 = call i32 @va(ptr noundef nonnull @.str, ptr noundef nonnull %3) #3 %39 = call i32 @trap_Cmd_ExecuteText(i32 noundef %37, i32 noundef %38) #3 %40 = call i32 (...) @UI_PopMenu() #3 br label %41 41: ; preds = %16, %19, %2, %22 call void @llvm.lifetime.end.p0(i64 256, 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 @UI_TeamOrdersMenu_SetList(i32 noundef) local_unnamed_addr #2 declare i32 @Com_sprintf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @trap_Cmd_ExecuteText(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @va(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @UI_PopMenu(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"TYPE_5__", !6, i64 0, !11, i64 4} !11 = !{!"TYPE_4__", !6, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_6__", !6, i64 0, !15, i64 8, !16, i64 16} !15 = !{!"long", !7, i64 0} !16 = !{!"any pointer", !7, i64 0} !17 = !{!14, !15, i64 8} !18 = !{!15, !15, i64 0} !19 = !{!14, !16, i64 16}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_teamorders.c_UI_TeamOrdersMenu_ListEvent.c' source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_teamorders.c_UI_TeamOrdersMenu_ListEvent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i32, i64, ptr } @QM_ACTIVATED = common local_unnamed_addr global i32 0, align 4 @ID_LIST_BOTS = common local_unnamed_addr global i32 0, align 4 @teamOrdersMenuInfo = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @GT_CTF = common local_unnamed_addr global i64 0, align 8 @ID_LIST_CTF_ORDERS = common local_unnamed_addr global i32 0, align 4 @ID_LIST_TEAM_ORDERS = common local_unnamed_addr global i32 0, align 4 @ctfMessages = common local_unnamed_addr global ptr null, align 8 @teamMessages = common local_unnamed_addr global ptr null, align 8 @EXEC_APPEND = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"say_team \22%s\22\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @UI_TeamOrdersMenu_ListEvent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @UI_TeamOrdersMenu_ListEvent(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = alloca [256 x i8], align 1 call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #3 %4 = load i32, ptr @QM_ACTIVATED, align 4, !tbaa !6 %5 = icmp eq i32 %4, %1 br i1 %5, label %6, label %41 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = load i32, ptr %0, align 4, !tbaa !13 %10 = load i32, ptr @ID_LIST_BOTS, align 4, !tbaa !6 %11 = icmp eq i32 %8, %10 br i1 %11, label %12, label %22 12: ; preds = %6 store i32 %9, ptr @teamOrdersMenuInfo, align 8, !tbaa !14 %13 = load i64, ptr getelementptr inbounds (i8, ptr @teamOrdersMenuInfo, i64 8), align 8, !tbaa !18 %14 = load i64, ptr @GT_CTF, align 8, !tbaa !19 %15 = icmp eq i64 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr @ID_LIST_CTF_ORDERS, align 4, !tbaa !6 %18 = tail call i32 @UI_TeamOrdersMenu_SetList(i32 noundef %17) #3 br label %41 19: ; preds = %12 %20 = load i32, ptr @ID_LIST_TEAM_ORDERS, align 4, !tbaa !6 %21 = tail call i32 @UI_TeamOrdersMenu_SetList(i32 noundef %20) #3 br label %41 22: ; preds = %6 %23 = load i32, ptr @ID_LIST_CTF_ORDERS, align 4, !tbaa !6 %24 = icmp eq i32 %8, %23 %25 = sext i32 %9 to i64 %26 = load ptr, ptr getelementptr inbounds (i8, ptr @teamOrdersMenuInfo, i64 16), align 8, !tbaa !20 %27 = load i32, ptr @teamOrdersMenuInfo, align 8, !tbaa !14 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4, !tbaa !6 %31 = load ptr, ptr @ctfMessages, align 8 %32 = load ptr, ptr @teamMessages, align 8 %33 = select i1 %24, ptr %31, ptr %32 %34 = getelementptr inbounds i32, ptr %33, i64 %25 %35 = load i32, ptr %34, align 4, !tbaa !6 %36 = call i32 @Com_sprintf(ptr noundef nonnull %3, i32 noundef 256, i32 noundef %35, i32 noundef %30) #3 %37 = load i32, ptr @EXEC_APPEND, align 4, !tbaa !6 %38 = call i32 @va(ptr noundef nonnull @.str, ptr noundef nonnull %3) #3 %39 = call i32 @trap_Cmd_ExecuteText(i32 noundef %37, i32 noundef %38) #3 %40 = call i32 @UI_PopMenu() #3 br label %41 41: ; preds = %16, %19, %2, %22 call void @llvm.lifetime.end.p0(i64 256, 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 @UI_TeamOrdersMenu_SetList(i32 noundef) local_unnamed_addr #2 declare i32 @Com_sprintf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @trap_Cmd_ExecuteText(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @va(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @UI_PopMenu(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"TYPE_5__", !7, i64 0, !12, i64 4} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_6__", !7, i64 0, !16, i64 8, !17, i64 16} !16 = !{!"long", !8, i64 0} !17 = !{!"any pointer", !8, i64 0} !18 = !{!15, !16, i64 8} !19 = !{!16, !16, i64 0} !20 = !{!15, !17, i64 16}
Quake-III-Arena_code_q3_ui_extr_ui_teamorders.c_UI_TeamOrdersMenu_ListEvent
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_der_length.c__heim_len_int.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_der_length.c__heim_len_int.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable define dso_local i64 @_heim_len_int(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp sgt i32 %0, -1 br i1 %2, label %3, label %13 3: ; preds = %1, %3 %4 = phi i32 [ %7, %3 ], [ %0, %1 ] %5 = phi i64 [ %6, %3 ], [ 0, %1 ] %6 = add nuw nsw i64 %5, 1 %7 = lshr i32 %4, 8 %8 = icmp ult i32 %4, 256 br i1 %8, label %9, label %3, !llvm.loop !5 9: ; preds = %3 %10 = icmp ugt i32 %4, 127 %11 = add nuw i64 %5, 2 %12 = select i1 %10, i64 %11, i64 %6 br label %26 13: ; preds = %1 %14 = xor i32 %0, -1 br label %15 15: ; preds = %15, %13 %16 = phi i32 [ %14, %13 ], [ %19, %15 ] %17 = phi i64 [ 0, %13 ], [ %18, %15 ] %18 = add nuw nsw i64 %17, 1 %19 = lshr i32 %16, 8 %20 = icmp ult i32 %16, 256 br i1 %20, label %21, label %15, !llvm.loop !7 21: ; preds = %15 %22 = xor i32 %16, 128 %23 = icmp ult i32 %22, 128 %24 = add nuw i64 %17, 2 %25 = select i1 %23, i64 %24, i64 %18 br label %26 26: ; preds = %21, %9 %27 = phi i64 [ %12, %9 ], [ %25, %21 ] ret i64 %27 } attributes #0 = { nofree norecurse nosync nounwind memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = distinct !{!7, !6}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_der_length.c__heim_len_int.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_der_length.c__heim_len_int.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(none) uwtable(sync) define i64 @_heim_len_int(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp sgt i32 %0, -1 br i1 %2, label %3, label %13 3: ; preds = %1, %3 %4 = phi i32 [ %7, %3 ], [ %0, %1 ] %5 = phi i64 [ %6, %3 ], [ 0, %1 ] %6 = add nuw nsw i64 %5, 1 %7 = lshr i32 %4, 8 %8 = icmp ult i32 %4, 256 br i1 %8, label %9, label %3, !llvm.loop !6 9: ; preds = %3 %10 = icmp ugt i32 %4, 127 %11 = add nuw i64 %5, 2 %12 = select i1 %10, i64 %11, i64 %6 br label %26 13: ; preds = %1 %14 = xor i32 %0, -1 br label %15 15: ; preds = %15, %13 %16 = phi i32 [ %14, %13 ], [ %19, %15 ] %17 = phi i64 [ 0, %13 ], [ %18, %15 ] %18 = add nuw nsw i64 %17, 1 %19 = lshr i32 %16, 8 %20 = icmp ult i32 %16, 256 br i1 %20, label %21, label %15, !llvm.loop !8 21: ; preds = %15 %22 = xor i32 %16, 128 %23 = icmp ult i32 %22, 128 %24 = add nuw i64 %17, 2 %25 = select i1 %23, i64 %24, i64 %18 br label %26 26: ; preds = %21, %9 %27 = phi i64 [ %12, %9 ], [ %25, %21 ] ret i64 %27 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
freebsd_crypto_heimdal_lib_asn1_extr_der_length.c__heim_len_int
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_avf_showwaves.c_push_frame.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_avf_showwaves.c_push_frame.c" target datalayout = "e-m:e-p270:32:32-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, ptr } %struct.TYPE_8__ = type { ptr, ptr } %struct.TYPE_6__ = type { ptr, i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @push_frame], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @push_frame(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = load ptr, ptr %3, align 8, !tbaa !14 %8 = load i32, ptr %6, align 8, !tbaa !15 %9 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !16 %11 = tail call i32 @ff_filter_frame(ptr noundef %0, ptr noundef %10) #3 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 1 %13 = icmp sgt i32 %8, 0 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, i8 0, i64 16, i1 false) br i1 %13, label %14, label %18 14: ; preds = %1 %15 = load ptr, ptr %7, align 8, !tbaa !19 %16 = zext nneg i32 %8 to i64 %17 = shl nuw nsw i64 %16, 3 tail call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 %17, i1 false), !tbaa !20 br label %18 18: ; preds = %14, %1 ret i32 %11 } declare i32 @ff_filter_frame(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"TYPE_8__", !10, i64 0, !10, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!12, !10, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!17, !10, i64 16} !17 = !{!"TYPE_6__", !10, i64 0, !18, i64 8, !10, i64 16} !18 = !{!"long", !8, i64 0} !19 = !{!17, !10, i64 0} !20 = !{!18, !18, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_avf_showwaves.c_push_frame.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_avf_showwaves.c_push_frame.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 @push_frame], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @push_frame(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = load ptr, ptr %3, align 8, !tbaa !15 %8 = load i32, ptr %6, align 8, !tbaa !16 %9 = getelementptr inbounds i8, ptr %7, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !17 %11 = tail call i32 @ff_filter_frame(ptr noundef %0, ptr noundef %10) #3 %12 = getelementptr inbounds i8, ptr %7, i64 8 %13 = icmp sgt i32 %8, 0 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, i8 0, i64 16, i1 false) br i1 %13, label %14, label %18 14: ; preds = %1 %15 = load ptr, ptr %7, align 8, !tbaa !20 %16 = zext nneg i32 %8 to i64 %17 = shl nuw nsw i64 %16, 3 tail call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 %17, i1 false), !tbaa !21 br label %18 18: ; preds = %14, %1 ret i32 %11 } declare i32 @ff_filter_frame(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_8__", !11, i64 0, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!13, !11, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!18, !11, i64 16} !18 = !{!"TYPE_6__", !11, i64 0, !19, i64 8, !11, i64 16} !19 = !{!"long", !9, i64 0} !20 = !{!18, !11, i64 0} !21 = !{!19, !19, i64 0}
FFmpeg_libavfilter_extr_avf_showwaves.c_push_frame
; ModuleID = 'AnghaBench/curl/lib/extr_file.c_file_connect.c' source_filename = "AnghaBench/curl/lib/extr_file.c_file_connect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.Curl_easy = type { %struct.TYPE_8__, %struct.TYPE_6__, %struct.TYPE_5__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_5__ = type { ptr } %struct.FILEPROTO = type { ptr, ptr, i32 } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @CURLE_URL_MALFORMAT = dso_local local_unnamed_addr global i64 0, align 8 @O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Couldn't open file %s\00", align 1 @CURLE_FILE_COULDNT_READ_FILE = dso_local local_unnamed_addr global i64 0, align 8 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @CURLE_OK = dso_local local_unnamed_addr global i64 0, align 8 @O_BINARY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @file_connect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @file_connect(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %6 = getelementptr inbounds %struct.Curl_easy, ptr %5, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %8 = load i32, ptr %5, align 8, !tbaa !17 %9 = load i32, ptr @FALSE, align 4, !tbaa !18 %10 = call i64 @Curl_urldecode(ptr noundef nonnull %5, i32 noundef %8, i32 noundef 0, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %42 12: ; preds = %2 %13 = load ptr, ptr %3, align 8, !tbaa !19 %14 = load i64, ptr %4, align 8, !tbaa !20 %15 = call i64 @memchr(ptr noundef %13, i32 noundef 0, i64 noundef %14) #3 %16 = icmp eq i64 %15, 0 %17 = load ptr, ptr %3, align 8, !tbaa !19 br i1 %16, label %21, label %18 18: ; preds = %12 %19 = call i32 @Curl_safefree(ptr noundef %17) #3 %20 = load i64, ptr @CURLE_URL_MALFORMAT, align 8, !tbaa !20 br label %42 21: ; preds = %12 %22 = load i32, ptr @O_RDONLY, align 4, !tbaa !18 %23 = call i32 @open_readonly(ptr noundef %17, i32 noundef %22) #3 %24 = load ptr, ptr %3, align 8, !tbaa !19 store ptr %24, ptr %7, align 8, !tbaa !22 %25 = getelementptr inbounds %struct.FILEPROTO, ptr %7, i64 0, i32 1 store ptr %24, ptr %25, align 8, !tbaa !24 %26 = getelementptr inbounds %struct.FILEPROTO, ptr %7, i64 0, i32 2 store i32 %23, ptr %26, align 8, !tbaa !25 %27 = getelementptr inbounds %struct.Curl_easy, ptr %5, i64 0, i32 1 %28 = load i32, ptr %27, align 4, !tbaa !26 %29 = icmp eq i32 %28, 0 %30 = icmp eq i32 %23, -1 %31 = select i1 %29, i1 %30, i1 false br i1 %31, label %32, label %39 32: ; preds = %21 %33 = load i32, ptr %5, align 8, !tbaa !17 %34 = call i32 @failf(ptr noundef nonnull %5, ptr noundef nonnull @.str, i32 noundef %33) #3 %35 = load i64, ptr @CURLE_FILE_COULDNT_READ_FILE, align 8, !tbaa !20 %36 = load i32, ptr @FALSE, align 4, !tbaa !18 %37 = call i32 @file_done(ptr noundef nonnull %0, i64 noundef %35, i32 noundef %36) #3 %38 = load i64, ptr @CURLE_FILE_COULDNT_READ_FILE, align 8, !tbaa !20 br label %42 39: ; preds = %21 %40 = load i32, ptr @TRUE, align 4, !tbaa !18 store i32 %40, ptr %1, align 4, !tbaa !18 %41 = load i64, ptr @CURLE_OK, align 8, !tbaa !20 br label %42 42: ; preds = %2, %39, %32, %18 %43 = phi i64 [ %20, %18 ], [ %38, %32 ], [ %41, %39 ], [ %10, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i64 %43 } ; 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, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @memchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @Curl_safefree(ptr noundef) local_unnamed_addr #2 declare i32 @open_readonly(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @failf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @file_done(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"connectdata", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"Curl_easy", !12, i64 0, !15, i64 4, !16, i64 8} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"TYPE_7__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!"TYPE_6__", !14, i64 0} !16 = !{!"TYPE_5__", !7, i64 0} !17 = !{!11, !14, i64 0} !18 = !{!14, !14, i64 0} !19 = !{!7, !7, i64 0} !20 = !{!21, !21, i64 0} !21 = !{!"long", !8, i64 0} !22 = !{!23, !7, i64 0} !23 = !{!"FILEPROTO", !7, i64 0, !7, i64 8, !14, i64 16} !24 = !{!23, !7, i64 8} !25 = !{!23, !14, i64 16} !26 = !{!11, !14, i64 4}
; ModuleID = 'AnghaBench/curl/lib/extr_file.c_file_connect.c' source_filename = "AnghaBench/curl/lib/extr_file.c_file_connect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @CURLE_URL_MALFORMAT = common local_unnamed_addr global i64 0, align 8 @O_RDONLY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Couldn't open file %s\00", align 1 @CURLE_FILE_COULDNT_READ_FILE = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global i32 0, align 4 @CURLE_OK = common local_unnamed_addr global i64 0, align 8 @O_BINARY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @file_connect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @file_connect(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %8 = load i32, ptr %5, align 8, !tbaa !18 %9 = load i32, ptr @FALSE, align 4, !tbaa !19 %10 = call i64 @Curl_urldecode(ptr noundef nonnull %5, i32 noundef %8, i32 noundef 0, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %42 12: ; preds = %2 %13 = load ptr, ptr %3, align 8, !tbaa !20 %14 = load i64, ptr %4, align 8, !tbaa !21 %15 = call i64 @memchr(ptr noundef %13, i32 noundef 0, i64 noundef %14) #3 %16 = icmp eq i64 %15, 0 %17 = load ptr, ptr %3, align 8, !tbaa !20 br i1 %16, label %21, label %18 18: ; preds = %12 %19 = call i32 @Curl_safefree(ptr noundef %17) #3 %20 = load i64, ptr @CURLE_URL_MALFORMAT, align 8, !tbaa !21 br label %42 21: ; preds = %12 %22 = load i32, ptr @O_RDONLY, align 4, !tbaa !19 %23 = call i32 @open_readonly(ptr noundef %17, i32 noundef %22) #3 %24 = load ptr, ptr %3, align 8, !tbaa !20 store ptr %24, ptr %7, align 8, !tbaa !23 %25 = getelementptr inbounds i8, ptr %7, i64 8 store ptr %24, ptr %25, align 8, !tbaa !25 %26 = getelementptr inbounds i8, ptr %7, i64 16 store i32 %23, ptr %26, align 8, !tbaa !26 %27 = getelementptr inbounds i8, ptr %5, i64 4 %28 = load i32, ptr %27, align 4, !tbaa !27 %29 = icmp eq i32 %28, 0 %30 = icmp eq i32 %23, -1 %31 = select i1 %29, i1 %30, i1 false br i1 %31, label %32, label %39 32: ; preds = %21 %33 = load i32, ptr %5, align 8, !tbaa !18 %34 = call i32 @failf(ptr noundef nonnull %5, ptr noundef nonnull @.str, i32 noundef %33) #3 %35 = load i64, ptr @CURLE_FILE_COULDNT_READ_FILE, align 8, !tbaa !21 %36 = load i32, ptr @FALSE, align 4, !tbaa !19 %37 = call i32 @file_done(ptr noundef nonnull %0, i64 noundef %35, i32 noundef %36) #3 %38 = load i64, ptr @CURLE_FILE_COULDNT_READ_FILE, align 8, !tbaa !21 br label %42 39: ; preds = %21 %40 = load i32, ptr @TRUE, align 4, !tbaa !19 store i32 %40, ptr %1, align 4, !tbaa !19 %41 = load i64, ptr @CURLE_OK, align 8, !tbaa !21 br label %42 42: ; preds = %2, %39, %32, %18 %43 = phi i64 [ %20, %18 ], [ %38, %32 ], [ %41, %39 ], [ %10, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i64 %43 } ; 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, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @memchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @Curl_safefree(ptr noundef) local_unnamed_addr #2 declare i32 @open_readonly(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @failf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @file_done(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"connectdata", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"Curl_easy", !13, i64 0, !16, i64 4, !17, i64 8} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"TYPE_7__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!"TYPE_6__", !15, i64 0} !17 = !{!"TYPE_5__", !8, i64 0} !18 = !{!12, !15, i64 0} !19 = !{!15, !15, i64 0} !20 = !{!8, !8, i64 0} !21 = !{!22, !22, i64 0} !22 = !{!"long", !9, i64 0} !23 = !{!24, !8, i64 0} !24 = !{!"FILEPROTO", !8, i64 0, !8, i64 8, !15, i64 16} !25 = !{!24, !8, i64 8} !26 = !{!24, !15, i64 16} !27 = !{!12, !15, i64 4}
curl_lib_extr_file.c_file_connect
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/sync/extr_..kselftest.h_ksft_set_plan.c' source_filename = "AnghaBench/linux/tools/testing/selftests/sync/extr_..kselftest.h_ksft_set_plan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ksft_plan = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"1..%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ksft_set_plan], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @ksft_set_plan(i32 noundef %0) #0 { store i32 %0, ptr @ksft_plan, align 4, !tbaa !5 %2 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %0) #2 ret void } declare i32 @printf(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/tools/testing/selftests/sync/extr_..kselftest.h_ksft_set_plan.c' source_filename = "AnghaBench/linux/tools/testing/selftests/sync/extr_..kselftest.h_ksft_set_plan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ksft_plan = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"1..%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ksft_set_plan], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @ksft_set_plan(i32 noundef %0) #0 { store i32 %0, ptr @ksft_plan, align 4, !tbaa !6 %2 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %0) #2 ret void } declare i32 @printf(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_tools_testing_selftests_sync_extr_..kselftest.h_ksft_set_plan
; ModuleID = 'AnghaBench/freebsd/sys/geom/vinum/extr_geom_vinum_share.c_gv_drivestatei.c' source_filename = "AnghaBench/freebsd/sys/geom/vinum/extr_geom_vinum_share.c_gv_drivestatei.c" target datalayout = "e-m:e-p270:32:32-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 [3 x i8] c"up\00", align 1 @GV_DRIVE_UP = dso_local local_unnamed_addr global i32 0, align 4 @GV_DRIVE_DOWN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @gv_drivestatei(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(3) @.str) %3 = icmp eq i32 %2, 0 %4 = load i32, ptr @GV_DRIVE_UP, align 4 %5 = load i32, ptr @GV_DRIVE_DOWN, align 4 %6 = select i1 %3, i32 %4, i32 %5 ret i32 %6 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree 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" } attributes #1 = { 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" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/geom/vinum/extr_geom_vinum_share.c_gv_drivestatei.c' source_filename = "AnghaBench/freebsd/sys/geom/vinum/extr_geom_vinum_share.c_gv_drivestatei.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GV_DRIVE_UP = common local_unnamed_addr global i32 0, align 4 @GV_DRIVE_DOWN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @gv_drivestatei(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i8, ptr %0, align 1 %3 = icmp eq i8 %2, 117 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 1 %6 = load i8, ptr %5, align 1 %7 = icmp eq i8 %6, 112 br i1 %7, label %10, label %8 8: ; preds = %1, %4 %9 = load i32, ptr @GV_DRIVE_DOWN, align 4 br label %18 10: ; preds = %4 %11 = getelementptr inbounds i8, ptr %0, i64 2 %12 = load i8, ptr %11, align 1 %13 = freeze i8 %12 %14 = icmp eq i8 %13, 0 %15 = load i32, ptr @GV_DRIVE_UP, align 4 %16 = load i32, ptr @GV_DRIVE_DOWN, align 4 %17 = select i1 %14, i32 %15, i32 %16 br label %18 18: ; preds = %10, %8 %19 = phi i32 [ %9, %8 ], [ %17, %10 ] ret i32 %19 } 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)"}
freebsd_sys_geom_vinum_extr_geom_vinum_share.c_gv_drivestatei
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_fsl-edma-common.c_fsl_edma_disable_request.c' source_filename = "AnghaBench/linux/drivers/dma/extr_fsl-edma-common.c_fsl_edma_disable_request.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { ptr, %struct.edma_regs } %struct.edma_regs = type { i32, i32 } %struct.fsl_edma_chan = type { ptr, %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } @v1 = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @fsl_edma_disable_request(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1 %4 = getelementptr inbounds %struct.fsl_edma_chan, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 8, !tbaa !13 %6 = load ptr, ptr %2, align 8, !tbaa !14 %7 = load i64, ptr %6, align 8, !tbaa !17 %8 = load i64, ptr @v1, align 8, !tbaa !20 %9 = icmp eq i64 %7, %8 %10 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !21 br i1 %9, label %12, label %18 12: ; preds = %1 %13 = tail call i32 @edma_writeb(ptr noundef nonnull %2, i32 noundef %5, i32 noundef %11) #2 %14 = load ptr, ptr %0, align 8, !tbaa !5 %15 = tail call i32 @EDMA_CEEI_CEEI(i32 noundef %5) #2 %16 = load i32, ptr %3, align 4, !tbaa !22 %17 = tail call i32 @edma_writeb(ptr noundef %14, i32 noundef %15, i32 noundef %16) #2 br label %23 18: ; preds = %1 %19 = tail call i32 @iowrite8(i32 noundef %5, i32 noundef %11) #2 %20 = tail call i32 @EDMA_CEEI_CEEI(i32 noundef %5) #2 %21 = load i32, ptr %3, align 4, !tbaa !22 %22 = tail call i32 @iowrite8(i32 noundef %20, i32 noundef %21) #2 br label %23 23: ; preds = %18, %12 ret void } declare i32 @edma_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EDMA_CEEI_CEEI(i32 noundef) local_unnamed_addr #1 declare i32 @iowrite8(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"fsl_edma_chan", !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_6__", !11, i64 0} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!6, !12, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_8__", !7, i64 0, !16, i64 8} !16 = !{!"edma_regs", !12, i64 0, !12, i64 4} !17 = !{!18, !19, i64 0} !18 = !{!"TYPE_7__", !19, i64 0} !19 = !{!"long", !8, i64 0} !20 = !{!19, !19, i64 0} !21 = !{!16, !12, i64 4} !22 = !{!16, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_fsl-edma-common.c_fsl_edma_disable_request.c' source_filename = "AnghaBench/linux/drivers/dma/extr_fsl-edma-common.c_fsl_edma_disable_request.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @v1 = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @fsl_edma_disable_request(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !14 %6 = load ptr, ptr %2, align 8, !tbaa !15 %7 = load i64, ptr %6, align 8, !tbaa !18 %8 = load i64, ptr @v1, align 8, !tbaa !21 %9 = icmp eq i64 %7, %8 %10 = getelementptr inbounds i8, ptr %2, i64 12 %11 = load i32, ptr %10, align 4, !tbaa !22 br i1 %9, label %12, label %18 12: ; preds = %1 %13 = tail call i32 @edma_writeb(ptr noundef nonnull %2, i32 noundef %5, i32 noundef %11) #2 %14 = load ptr, ptr %0, align 8, !tbaa !6 %15 = tail call i32 @EDMA_CEEI_CEEI(i32 noundef %5) #2 %16 = load i32, ptr %3, align 4, !tbaa !23 %17 = tail call i32 @edma_writeb(ptr noundef %14, i32 noundef %15, i32 noundef %16) #2 br label %23 18: ; preds = %1 %19 = tail call i32 @iowrite8(i32 noundef %5, i32 noundef %11) #2 %20 = tail call i32 @EDMA_CEEI_CEEI(i32 noundef %5) #2 %21 = load i32, ptr %3, align 4, !tbaa !23 %22 = tail call i32 @iowrite8(i32 noundef %20, i32 noundef %21) #2 br label %23 23: ; preds = %18, %12 ret void } declare i32 @edma_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EDMA_CEEI_CEEI(i32 noundef) local_unnamed_addr #1 declare i32 @iowrite8(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"fsl_edma_chan", !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_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!7, !13, i64 8} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_8__", !8, i64 0, !17, i64 8} !17 = !{!"edma_regs", !13, i64 0, !13, i64 4} !18 = !{!19, !20, i64 0} !19 = !{!"TYPE_7__", !20, i64 0} !20 = !{!"long", !9, i64 0} !21 = !{!20, !20, i64 0} !22 = !{!17, !13, i64 4} !23 = !{!17, !13, i64 0}
linux_drivers_dma_extr_fsl-edma-common.c_fsl_edma_disable_request
; ModuleID = 'AnghaBench/curl/lib/extr_rtsp.c_rtsp_done.c' source_filename = "AnghaBench/curl/lib/extr_rtsp.c_rtsp_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.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 } %struct.TYPE_5__ = type { ptr } %struct.RTSP = type { i64, i64 } @RTSPREQ_RECEIVE = 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 [60 x i8] c"The CSeq of this request %ld did not match the response %ld\00", align 1 @CURLE_RTSP_CSEQ_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"Got an RTP Receive with a CSeq of %ld\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtsp_done], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rtsp_done(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.connectdata, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.Curl_easy, ptr %5, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = load i64, ptr %5, align 8, !tbaa !18 %9 = load i64, ptr @RTSPREQ_RECEIVE, align 8, !tbaa !19 %10 = icmp eq i64 %8, %9 %11 = load i32, ptr @TRUE, align 4 %12 = select i1 %10, i32 %11, i32 %2 %13 = tail call i32 @Curl_http_done(ptr noundef %0, i32 noundef %1, i32 noundef %12) #2 %14 = icmp eq ptr %7, null br i1 %14, label %33, label %15 15: ; preds = %3 %16 = load i64, ptr %7, align 8, !tbaa !20 %17 = getelementptr inbounds %struct.RTSP, ptr %7, i64 0, i32 1 %18 = load i64, ptr %17, align 8, !tbaa !22 %19 = load i64, ptr %5, align 8, !tbaa !18 %20 = load i64, ptr @RTSPREQ_RECEIVE, align 8, !tbaa !19 %21 = icmp eq i64 %19, %20 %22 = icmp eq i64 %16, %18 %23 = select i1 %21, i1 true, i1 %22 br i1 %23, label %24, label %30 24: ; preds = %15 br i1 %21, label %25, label %33 25: ; preds = %24 %26 = load i32, ptr %0, align 8, !tbaa !23 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = tail call i32 @infof(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, i64 noundef %18) #2 br label %33 30: ; preds = %15 %31 = tail call i32 @failf(ptr noundef nonnull %5, ptr noundef nonnull @.str, i64 noundef %16, i64 noundef %18) #2 %32 = load i32, ptr @CURLE_RTSP_CSEQ_ERROR, align 4, !tbaa !24 br label %33 33: ; preds = %24, %25, %28, %3, %30 %34 = phi i32 [ %32, %30 ], [ %13, %3 ], [ %13, %28 ], [ %13, %25 ], [ %13, %24 ] ret i32 %34 } declare i32 @Curl_http_done(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @failf(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @infof(ptr noundef, 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, !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, !12, i64 8} !14 = !{!"Curl_easy", !15, i64 0, !17, i64 8} !15 = !{!"TYPE_6__", !16, i64 0} !16 = !{!"long", !10, i64 0} !17 = !{!"TYPE_5__", !12, i64 0} !18 = !{!14, !16, i64 0} !19 = !{!16, !16, i64 0} !20 = !{!21, !16, i64 0} !21 = !{!"RTSP", !16, i64 0, !16, i64 8} !22 = !{!21, !16, i64 8} !23 = !{!6, !9, i64 0} !24 = !{!9, !9, i64 0}
; ModuleID = 'AnghaBench/curl/lib/extr_rtsp.c_rtsp_done.c' source_filename = "AnghaBench/curl/lib/extr_rtsp.c_rtsp_done.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTSPREQ_RECEIVE = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [60 x i8] c"The CSeq of this request %ld did not match the response %ld\00", align 1 @CURLE_RTSP_CSEQ_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"Got an RTP Receive with a CSeq of %ld\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rtsp_done], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rtsp_done(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = load i64, ptr %5, align 8, !tbaa !19 %9 = load i64, ptr @RTSPREQ_RECEIVE, align 8, !tbaa !20 %10 = icmp eq i64 %8, %9 %11 = load i32, ptr @TRUE, align 4 %12 = select i1 %10, i32 %11, i32 %2 %13 = tail call i32 @Curl_http_done(ptr noundef %0, i32 noundef %1, i32 noundef %12) #2 %14 = icmp eq ptr %7, null br i1 %14, label %33, label %15 15: ; preds = %3 %16 = load i64, ptr %7, align 8, !tbaa !21 %17 = getelementptr inbounds i8, ptr %7, i64 8 %18 = load i64, ptr %17, align 8, !tbaa !23 %19 = load i64, ptr %5, align 8, !tbaa !19 %20 = load i64, ptr @RTSPREQ_RECEIVE, align 8, !tbaa !20 %21 = icmp eq i64 %19, %20 %22 = icmp eq i64 %16, %18 %23 = select i1 %21, i1 true, i1 %22 br i1 %23, label %24, label %30 24: ; preds = %15 br i1 %21, label %25, label %33 25: ; preds = %24 %26 = load i32, ptr %0, align 8, !tbaa !24 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = tail call i32 @infof(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, i64 noundef %18) #2 br label %33 30: ; preds = %15 %31 = tail call i32 @failf(ptr noundef nonnull %5, ptr noundef nonnull @.str, i64 noundef %16, i64 noundef %18) #2 %32 = load i32, ptr @CURLE_RTSP_CSEQ_ERROR, align 4, !tbaa !25 br label %33 33: ; preds = %24, %25, %28, %3, %30 %34 = phi i32 [ %32, %30 ], [ %13, %3 ], [ %13, %28 ], [ %13, %25 ], [ %13, %24 ] ret i32 %34 } declare i32 @Curl_http_done(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @failf(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @infof(ptr noundef, 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, !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, !13, i64 8} !15 = !{!"Curl_easy", !16, i64 0, !18, i64 8} !16 = !{!"TYPE_6__", !17, i64 0} !17 = !{!"long", !11, i64 0} !18 = !{!"TYPE_5__", !13, i64 0} !19 = !{!15, !17, i64 0} !20 = !{!17, !17, i64 0} !21 = !{!22, !17, i64 0} !22 = !{!"RTSP", !17, i64 0, !17, i64 8} !23 = !{!22, !17, i64 8} !24 = !{!7, !10, i64 0} !25 = !{!10, !10, i64 0}
curl_lib_extr_rtsp.c_rtsp_done
; ModuleID = 'AnghaBench/freebsd/sys/kgssapi/krb5/extr_kcrypto_des.c_des1_encrypt.c' source_filename = "AnghaBench/freebsd/sys/kgssapi/krb5/extr_kcrypto_des.c_des1_encrypt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CRYPTO_F_IMBUF = dso_local local_unnamed_addr global i32 0, align 4 @CRD_F_ENCRYPT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @des1_encrypt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @des1_encrypt(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, i64 %5) #0 { %7 = load i32, ptr @CRYPTO_F_IMBUF, align 4, !tbaa !5 %8 = load i32, ptr @CRD_F_ENCRYPT, align 4, !tbaa !5 %9 = tail call i32 @des1_encrypt_1(ptr noundef %0, i32 noundef %7, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %8) #2 ret void } declare i32 @des1_encrypt_1(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/kgssapi/krb5/extr_kcrypto_des.c_des1_encrypt.c' source_filename = "AnghaBench/freebsd/sys/kgssapi/krb5/extr_kcrypto_des.c_des1_encrypt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CRYPTO_F_IMBUF = common local_unnamed_addr global i32 0, align 4 @CRD_F_ENCRYPT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @des1_encrypt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @des1_encrypt(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, i64 %5) #0 { %7 = load i32, ptr @CRYPTO_F_IMBUF, align 4, !tbaa !6 %8 = load i32, ptr @CRD_F_ENCRYPT, align 4, !tbaa !6 %9 = tail call i32 @des1_encrypt_1(ptr noundef %0, i32 noundef %7, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %8) #2 ret void } declare i32 @des1_encrypt_1(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 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"}
freebsd_sys_kgssapi_krb5_extr_kcrypto_des.c_des1_encrypt
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/netfilter/extr_iptable_security.c_ipt_local_in_hook.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/netfilter/extr_iptable_security.c_ipt_local_in_hook.c" target datalayout = "e-m:e-p270:32:32-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 @ipt_local_in_hook], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ipt_local_in_hook(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture readnone %4) #0 { %6 = tail call ptr @dev_net(ptr noundef %2) #2 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = tail call i32 @ipt_do_table(ptr noundef %1, i32 noundef %0, ptr noundef %2, ptr noundef %3, i32 noundef %7) #2 ret i32 %8 } declare i32 @ipt_do_table(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @dev_net(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/netfilter/extr_iptable_security.c_ipt_local_in_hook.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/netfilter/extr_iptable_security.c_ipt_local_in_hook.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 @ipt_local_in_hook], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ipt_local_in_hook(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture readnone %4) #0 { %6 = tail call ptr @dev_net(ptr noundef %2) #2 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = tail call i32 @ipt_do_table(ptr noundef %1, i32 noundef %0, ptr noundef %2, ptr noundef %3, i32 noundef %7) #2 ret i32 %8 } declare i32 @ipt_do_table(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @dev_net(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_ipv4_netfilter_extr_iptable_security.c_ipt_local_in_hook
; ModuleID = 'AnghaBench/linux/fs/pstore/extr_inode.c_pstore_file_open.c' source_filename = "AnghaBench/linux/fs/pstore/extr_inode.c_pstore_file_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.seq_operations = type { i32 } @PSTORE_TYPE_FTRACE = dso_local local_unnamed_addr global i64 0, align 8 @pstore_ftrace_seq_ops = dso_local global %struct.seq_operations zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pstore_file_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pstore_file_open(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load i64, ptr %4, align 8, !tbaa !12 %6 = load i64, ptr @PSTORE_TYPE_FTRACE, align 8, !tbaa !15 %7 = icmp eq i64 %5, %6 %8 = select i1 %7, ptr @pstore_ftrace_seq_ops, ptr null %9 = tail call i32 @seq_open(ptr noundef %1, ptr noundef %8) #2 %10 = icmp slt i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %2 %12 = load ptr, ptr %1, align 8, !tbaa !16 store ptr %3, ptr %12, align 8, !tbaa !18 br label %13 13: ; preds = %2, %11 %14 = phi i32 [ 0, %11 ], [ %9, %2 ] ret i32 %14 } declare i32 @seq_open(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"inode", !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 = !{!"pstore_private", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"file", !7, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"seq_file", !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/pstore/extr_inode.c_pstore_file_open.c' source_filename = "AnghaBench/linux/fs/pstore/extr_inode.c_pstore_file_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.seq_operations = type { i32 } @PSTORE_TYPE_FTRACE = common local_unnamed_addr global i64 0, align 8 @pstore_ftrace_seq_ops = common global %struct.seq_operations zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @pstore_file_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @pstore_file_open(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load i64, ptr %4, align 8, !tbaa !13 %6 = load i64, ptr @PSTORE_TYPE_FTRACE, align 8, !tbaa !16 %7 = icmp eq i64 %5, %6 %8 = select i1 %7, ptr @pstore_ftrace_seq_ops, ptr null %9 = tail call i32 @seq_open(ptr noundef %1, ptr noundef %8) #2 %10 = icmp slt i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %2 %12 = load ptr, ptr %1, align 8, !tbaa !17 store ptr %3, ptr %12, align 8, !tbaa !19 br label %13 13: ; preds = %2, %11 %14 = phi i32 [ 0, %11 ], [ %9, %2 ] ret i32 %14 } declare i32 @seq_open(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"inode", !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 = !{!"pstore_private", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"file", !8, i64 0} !19 = !{!20, !8, i64 0} !20 = !{!"seq_file", !8, i64 0}
linux_fs_pstore_extr_inode.c_pstore_file_open
; ModuleID = 'AnghaBench/freebsd/sys/gdb/extr_gdb_packet.c_gdb_search_mem.c' source_filename = "AnghaBench/freebsd/sys/gdb/extr_gdb_packet.c_gdb_search_mem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @gdb_search_mem(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = call ptr @kdb_jmpbuf(ptr noundef undef) #3 %7 = call i32 @setjmp(ptr noundef undef) #4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = call ptr @memmem(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #3 store ptr %10, ptr %4, align 8, !tbaa !5 br label %11 11: ; preds = %9, %5 %12 = call ptr @kdb_jmpbuf(ptr noundef %6) #3 %13 = zext i1 %8 to i32 ret i32 %13 } declare ptr @kdb_jmpbuf(ptr noundef) local_unnamed_addr #1 ; Function Attrs: returns_twice declare i32 @setjmp(ptr noundef) local_unnamed_addr #2 declare ptr @memmem(ptr noundef, i64 noundef, 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 = { returns_twice "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { nounwind returns_twice } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/gdb/extr_gdb_packet.c_gdb_search_mem.c' source_filename = "AnghaBench/freebsd/sys/gdb/extr_gdb_packet.c_gdb_search_mem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @gdb_search_mem(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = call ptr @kdb_jmpbuf(ptr noundef undef) #3 %7 = call i32 @setjmp(ptr noundef undef) #4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = call ptr @memmem(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #3 store ptr %10, ptr %4, align 8, !tbaa !6 br label %11 11: ; preds = %9, %5 %12 = call ptr @kdb_jmpbuf(ptr noundef %6) #3 %13 = zext i1 %8 to i32 ret i32 %13 } declare ptr @kdb_jmpbuf(ptr noundef) local_unnamed_addr #1 ; Function Attrs: returns_twice declare i32 @setjmp(ptr noundef) local_unnamed_addr #2 declare ptr @memmem(ptr noundef, i64 noundef, 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 = { returns_twice "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { nounwind returns_twice } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_gdb_extr_gdb_packet.c_gdb_search_mem
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_xt_time.c_localtime_1.c' source_filename = "AnghaBench/linux/net/netfilter/extr_xt_time.c_localtime_1.c" target datalayout = "e-m:e-p270:32:32-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.xtm = type { i32, i32, i32 } @SECONDS_PER_DAY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @localtime_1], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal i32 @localtime_1(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 { %3 = load i32, ptr @SECONDS_PER_DAY, align 4, !tbaa !5 %4 = urem i32 %1, %3 %5 = urem i32 %4, 60 store i32 %5, ptr %0, align 4, !tbaa !9 %6 = udiv i32 %4, 60 %7 = urem i32 %6, 60 %8 = getelementptr inbounds %struct.xtm, ptr %0, i64 0, i32 1 store i32 %7, ptr %8, align 4, !tbaa !11 %9 = udiv i32 %4, 3600 %10 = getelementptr inbounds %struct.xtm, ptr %0, i64 0, i32 2 store i32 %9, ptr %10, align 4, !tbaa !12 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"xtm", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 4} !12 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_xt_time.c_localtime_1.c' source_filename = "AnghaBench/linux/net/netfilter/extr_xt_time.c_localtime_1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SECONDS_PER_DAY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @localtime_1], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal i32 @localtime_1(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 { %3 = load i32, ptr @SECONDS_PER_DAY, align 4, !tbaa !6 %4 = urem i32 %1, %3 %5 = freeze i32 %4 %6 = udiv i32 %5, 60 %7 = mul i32 %6, 60 %8 = sub i32 %5, %7 store i32 %8, ptr %0, align 4, !tbaa !10 %9 = urem i32 %6, 60 %10 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %9, ptr %10, align 4, !tbaa !12 %11 = udiv i32 %4, 3600 %12 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %11, ptr %12, align 4, !tbaa !13 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"xtm", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 4} !13 = !{!11, !7, i64 8}
linux_net_netfilter_extr_xt_time.c_localtime_1
; ModuleID = 'AnghaBench/skynet/lualib-src/sproto/extr_sproto.c_count_array.c' source_filename = "AnghaBench/skynet/lualib-src/sproto/extr_sproto.c_count_array.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SIZEOF_LENGTH = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @count_array], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @count_array(ptr noundef %0) #0 { %2 = tail call i64 @todword(ptr noundef %0) #2 %3 = icmp sgt i64 %2, 0 br i1 %3, label %4, label %23 4: ; preds = %1 %5 = load i64, ptr @SIZEOF_LENGTH, align 8, !tbaa !5 %6 = getelementptr inbounds i32, ptr %0, i64 %5 br label %7 7: ; preds = %4, %18 %8 = phi i64 [ %15, %18 ], [ %5, %4 ] %9 = phi i32 [ %19, %18 ], [ 0, %4 ] %10 = phi i64 [ %21, %18 ], [ %2, %4 ] %11 = phi ptr [ %20, %18 ], [ %6, %4 ] %12 = icmp slt i64 %10, %8 br i1 %12, label %23, label %13 13: ; preds = %7 %14 = tail call i64 @todword(ptr noundef %11) #2 %15 = load i64, ptr @SIZEOF_LENGTH, align 8, !tbaa !5 %16 = add nsw i64 %15, %14 %17 = icmp sgt i64 %16, %10 br i1 %17, label %23, label %18 18: ; preds = %13 %19 = add nuw nsw i32 %9, 1 %20 = getelementptr inbounds i32, ptr %11, i64 %16 %21 = sub nsw i64 %10, %16 %22 = icmp sgt i64 %21, 0 br i1 %22, label %7, label %23, !llvm.loop !9 23: ; preds = %18, %7, %13, %1 %24 = phi i32 [ 0, %1 ], [ -1, %13 ], [ -1, %7 ], [ %19, %18 ] ret i32 %24 } declare i64 @todword(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/skynet/lualib-src/sproto/extr_sproto.c_count_array.c' source_filename = "AnghaBench/skynet/lualib-src/sproto/extr_sproto.c_count_array.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SIZEOF_LENGTH = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @count_array], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @count_array(ptr noundef %0) #0 { %2 = tail call i64 @todword(ptr noundef %0) #2 %3 = icmp sgt i64 %2, 0 br i1 %3, label %4, label %23 4: ; preds = %1 %5 = load i64, ptr @SIZEOF_LENGTH, align 8, !tbaa !6 %6 = getelementptr inbounds i32, ptr %0, i64 %5 br label %7 7: ; preds = %4, %18 %8 = phi i64 [ %15, %18 ], [ %5, %4 ] %9 = phi i32 [ %19, %18 ], [ 0, %4 ] %10 = phi i64 [ %21, %18 ], [ %2, %4 ] %11 = phi ptr [ %20, %18 ], [ %6, %4 ] %12 = icmp slt i64 %10, %8 br i1 %12, label %23, label %13 13: ; preds = %7 %14 = tail call i64 @todword(ptr noundef %11) #2 %15 = load i64, ptr @SIZEOF_LENGTH, align 8, !tbaa !6 %16 = add nsw i64 %15, %14 %17 = icmp sgt i64 %16, %10 br i1 %17, label %23, label %18 18: ; preds = %13 %19 = add nuw nsw i32 %9, 1 %20 = getelementptr inbounds i32, ptr %11, i64 %16 %21 = sub nsw i64 %10, %16 %22 = icmp sgt i64 %21, 0 br i1 %22, label %7, label %23, !llvm.loop !10 23: ; preds = %18, %7, %13, %1 %24 = phi i32 [ 0, %1 ], [ -1, %13 ], [ -1, %7 ], [ %19, %18 ] ret i32 %24 } declare i64 @todword(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
skynet_lualib-src_sproto_extr_sproto.c_count_array
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_qp.c_get_map_page.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_qp.c_get_map_page.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_map_page], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @get_map_page(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %4 = tail call i64 @get_zeroed_page(i32 noundef %3) #2 %5 = tail call i32 @spin_lock(ptr noundef %0) #2 %6 = load ptr, ptr %1, align 8, !tbaa !9 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @free_page(i64 noundef %4) #2 br label %12 10: ; preds = %2 %11 = inttoptr i64 %4 to ptr store ptr %11, ptr %1, align 8, !tbaa !9 br label %12 12: ; preds = %10, %8 %13 = tail call i32 @spin_unlock(ptr noundef %0) #2 ret void } declare i64 @get_zeroed_page(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @free_page(i64 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"} !9 = !{!10, !11, i64 0} !10 = !{!"rvt_qpn_map", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_qp.c_get_map_page.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_qp.c_get_map_page.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_map_page], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @get_map_page(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %4 = tail call i64 @get_zeroed_page(i32 noundef %3) #2 %5 = tail call i32 @spin_lock(ptr noundef %0) #2 %6 = load ptr, ptr %1, align 8, !tbaa !10 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @free_page(i64 noundef %4) #2 br label %12 10: ; preds = %2 %11 = inttoptr i64 %4 to ptr store ptr %11, ptr %1, align 8, !tbaa !10 br label %12 12: ; preds = %10, %8 %13 = tail call i32 @spin_unlock(ptr noundef %0) #2 ret void } declare i64 @get_zeroed_page(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @free_page(i64 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"} !10 = !{!11, !12, i64 0} !11 = !{!"rvt_qpn_map", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
linux_drivers_infiniband_hw_qib_extr_qib_qp.c_get_map_page
; ModuleID = 'AnghaBench/kphp-kdb/statsx/extr_statsx-data.c_tree_insert.c' source_filename = "AnghaBench/kphp-kdb/statsx/extr_statsx-data.c_tree_insert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, i32, ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local ptr @tree_insert(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null br i1 %4, label %5, label %7 5: ; preds = %3 %6 = tail call ptr @new_tree_node(i32 noundef %1, i32 noundef %2) #2 br label %18 7: ; preds = %3 %8 = load i32, ptr %0, align 8, !tbaa !5 %9 = icmp ne i32 %8, %1 %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #2 %12 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = icmp slt i32 %13, %2 br i1 %14, label %28, label %15 15: ; preds = %7 %16 = load i32, ptr %0, align 8, !tbaa !5 %17 = icmp sgt i32 %16, %1 br i1 %17, label %20, label %24 18: ; preds = %28, %5, %24, %20 %19 = phi ptr [ %0, %20 ], [ %0, %24 ], [ %29, %28 ], [ %6, %5 ] ret ptr %19 20: ; preds = %15 %21 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3 %22 = load ptr, ptr %21, align 8, !tbaa !12 %23 = tail call ptr @tree_insert(ptr noundef %22, i32 noundef %1, i32 noundef %2) store ptr %23, ptr %21, align 8, !tbaa !12 br label %18 24: ; preds = %15 %25 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %26 = load ptr, ptr %25, align 8, !tbaa !13 %27 = tail call ptr @tree_insert(ptr noundef %26, i32 noundef %1, i32 noundef %2) store ptr %27, ptr %25, align 8, !tbaa !13 br label %18 28: ; preds = %7 %29 = tail call ptr @new_tree_node(i32 noundef %1, i32 noundef %2) #2 %30 = getelementptr inbounds %struct.TYPE_8__, ptr %29, i64 0, i32 3 %31 = getelementptr inbounds %struct.TYPE_8__, ptr %29, i64 0, i32 2 %32 = tail call i32 @tree_split(ptr noundef nonnull %30, ptr noundef nonnull %31, ptr noundef nonnull %0, i32 noundef %1) #2 br label %18 } declare ptr @new_tree_node(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @tree_split(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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_8__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !10, i64 16} !13 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/kphp-kdb/statsx/extr_statsx-data.c_tree_insert.c' source_filename = "AnghaBench/kphp-kdb/statsx/extr_statsx-data.c_tree_insert.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @tree_insert(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null br i1 %4, label %5, label %7 5: ; preds = %3 %6 = tail call ptr @new_tree_node(i32 noundef %1, i32 noundef %2) #2 br label %18 7: ; preds = %3 %8 = load i32, ptr %0, align 8, !tbaa !6 %9 = icmp ne i32 %8, %1 %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %0, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = icmp slt i32 %13, %2 br i1 %14, label %28, label %15 15: ; preds = %7 %16 = load i32, ptr %0, align 8, !tbaa !6 %17 = icmp sgt i32 %16, %1 br i1 %17, label %20, label %24 18: ; preds = %28, %5, %24, %20 %19 = phi ptr [ %0, %20 ], [ %0, %24 ], [ %29, %28 ], [ %6, %5 ] ret ptr %19 20: ; preds = %15 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load ptr, ptr %21, align 8, !tbaa !13 %23 = tail call ptr @tree_insert(ptr noundef %22, i32 noundef %1, i32 noundef %2) store ptr %23, ptr %21, align 8, !tbaa !13 br label %18 24: ; preds = %15 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load ptr, ptr %25, align 8, !tbaa !14 %27 = tail call ptr @tree_insert(ptr noundef %26, i32 noundef %1, i32 noundef %2) store ptr %27, ptr %25, align 8, !tbaa !14 br label %18 28: ; preds = %7 %29 = tail call ptr @new_tree_node(i32 noundef %1, i32 noundef %2) #2 %30 = getelementptr inbounds i8, ptr %29, i64 16 %31 = getelementptr inbounds i8, ptr %29, i64 8 %32 = tail call i32 @tree_split(ptr noundef nonnull %30, ptr noundef nonnull %31, ptr noundef nonnull %0, i32 noundef %1) #2 br label %18 } declare ptr @new_tree_node(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @tree_split(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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_8__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !11, i64 16} !14 = !{!7, !11, i64 8}
kphp-kdb_statsx_extr_statsx-data.c_tree_insert
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/vfp/extr_vfpdouble.c_vfp_double_fcmp.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/vfp/extr_vfpdouble.c_vfp_double_fcmp.c" target datalayout = "e-m:e-p270:32:32-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 @vfp_double_fcmp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vfp_double_fcmp(i32 noundef %0, i32 %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @vfp_compare(i32 noundef %0, i32 noundef 0, i32 noundef %2, i32 noundef %3) #2 ret i32 %5 } declare i32 @vfp_compare(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/vfp/extr_vfpdouble.c_vfp_double_fcmp.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/vfp/extr_vfpdouble.c_vfp_double_fcmp.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 @vfp_double_fcmp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vfp_double_fcmp(i32 noundef %0, i32 %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @vfp_compare(i32 noundef %0, i32 noundef 0, i32 noundef %2, i32 noundef %3) #2 ret i32 %5 } declare i32 @vfp_compare(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_arm_vfp_extr_vfpdouble.c_vfp_double_fcmp
; ModuleID = 'AnghaBench/reactos/dll/win32/urlmon/extr_download.c_DownloadBSC_Create.c' source_filename = "AnghaBench/reactos/dll/win32/urlmon/extr_download.c_DownloadBSC_Create.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, ptr, i32, %struct.TYPE_8__, %struct.TYPE_7__ } %struct.TYPE_8__ = type { ptr } %struct.TYPE_7__ = type { ptr } @E_OUTOFMEMORY = dso_local local_unnamed_addr global i32 0, align 4 @BindStatusCallbackVtbl = dso_local global i32 0, align 4 @ServiceProviderVtbl = dso_local global i32 0, align 4 @S_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @DownloadBSC_Create], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @DownloadBSC_Create(ptr noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @heap_alloc_zero(i32 noundef 40) #2 %5 = icmp eq ptr %4, null br i1 %5, label %22, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 4 store ptr @BindStatusCallbackVtbl, ptr %7, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 3 store ptr @ServiceProviderVtbl, ptr %8, align 8, !tbaa !13 store i32 1, ptr %4, align 8, !tbaa !14 %9 = icmp eq i64 %1, 0 br i1 %9, label %16, label %10 10: ; preds = %6 %11 = tail call i32 @heap_strdupW(i64 noundef %1) #2 %12 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 2 store i32 %11, ptr %12, align 8, !tbaa !15 %13 = icmp eq i32 %11, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = tail call i32 @heap_free(ptr noundef nonnull %4) #2 br label %22 16: ; preds = %10, %6 %17 = icmp eq ptr %0, null br i1 %17, label %20, label %18 18: ; preds = %16 %19 = tail call i32 @IBindStatusCallback_AddRef(ptr noundef nonnull %0) #2 br label %20 20: ; preds = %18, %16 %21 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1 store ptr %0, ptr %21, align 8, !tbaa !16 store ptr %4, ptr %2, align 8, !tbaa !17 br label %22 22: ; preds = %3, %20, %14 %23 = phi ptr [ @S_OK, %20 ], [ @E_OUTOFMEMORY, %14 ], [ @E_OUTOFMEMORY, %3 ] %24 = load i32, ptr %23, align 4, !tbaa !18 ret i32 %24 } declare ptr @heap_alloc_zero(i32 noundef) local_unnamed_addr #1 declare i32 @heap_strdupW(i64 noundef) local_unnamed_addr #1 declare i32 @heap_free(ptr noundef) local_unnamed_addr #1 declare i32 @IBindStatusCallback_AddRef(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 32} !6 = !{!"TYPE_9__", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !12, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_8__", !10, i64 0} !12 = !{!"TYPE_7__", !10, i64 0} !13 = !{!6, !10, i64 24} !14 = !{!6, !7, i64 0} !15 = !{!6, !7, i64 16} !16 = !{!6, !10, i64 8} !17 = !{!10, !10, i64 0} !18 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/urlmon/extr_download.c_DownloadBSC_Create.c' source_filename = "AnghaBench/reactos/dll/win32/urlmon/extr_download.c_DownloadBSC_Create.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E_OUTOFMEMORY = common local_unnamed_addr global i32 0, align 4 @BindStatusCallbackVtbl = common global i32 0, align 4 @ServiceProviderVtbl = common global i32 0, align 4 @S_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @DownloadBSC_Create], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @DownloadBSC_Create(ptr noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @heap_alloc_zero(i32 noundef 40) #2 %5 = icmp eq ptr %4, null br i1 %5, label %22, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %4, i64 32 store ptr @BindStatusCallbackVtbl, ptr %7, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %4, i64 24 store ptr @ServiceProviderVtbl, ptr %8, align 8, !tbaa !14 store i32 1, ptr %4, align 8, !tbaa !15 %9 = icmp eq i64 %1, 0 br i1 %9, label %16, label %10 10: ; preds = %6 %11 = tail call i32 @heap_strdupW(i64 noundef %1) #2 %12 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %11, ptr %12, align 8, !tbaa !16 %13 = icmp eq i32 %11, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = tail call i32 @heap_free(ptr noundef nonnull %4) #2 br label %22 16: ; preds = %10, %6 %17 = icmp eq ptr %0, null br i1 %17, label %20, label %18 18: ; preds = %16 %19 = tail call i32 @IBindStatusCallback_AddRef(ptr noundef nonnull %0) #2 br label %20 20: ; preds = %18, %16 %21 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %0, ptr %21, align 8, !tbaa !17 store ptr %4, ptr %2, align 8, !tbaa !18 br label %22 22: ; preds = %3, %20, %14 %23 = phi ptr [ @S_OK, %20 ], [ @E_OUTOFMEMORY, %14 ], [ @E_OUTOFMEMORY, %3 ] %24 = load i32, ptr %23, align 4, !tbaa !19 ret i32 %24 } declare ptr @heap_alloc_zero(i32 noundef) local_unnamed_addr #1 declare i32 @heap_strdupW(i64 noundef) local_unnamed_addr #1 declare i32 @heap_free(ptr noundef) local_unnamed_addr #1 declare i32 @IBindStatusCallback_AddRef(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 32} !7 = !{!"TYPE_9__", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !13, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_8__", !11, i64 0} !13 = !{!"TYPE_7__", !11, i64 0} !14 = !{!7, !11, i64 24} !15 = !{!7, !8, i64 0} !16 = !{!7, !8, i64 16} !17 = !{!7, !11, i64 8} !18 = !{!11, !11, i64 0} !19 = !{!8, !8, i64 0}
reactos_dll_win32_urlmon_extr_download.c_DownloadBSC_Create
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_audio.c_dce_aud_az_configure.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_audio.c_dce_aud_az_configure.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %union.audio_sample_rates = type { i32 } %struct.audio_info = type { i32, i32, ptr, ptr, i32, i32, ptr, %struct.TYPE_5__ } %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } %struct.audio_mode = type { i32, i32, i32, i32, %union.audio_sample_rates } @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @CLOCK_GATING_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER = dso_local local_unnamed_addr global i32 0, align 4 @SPEAKER_ALLOCATION = dso_local local_unnamed_addr global i32 0, align 4 @LFE_PLAYBACK_LEVEL = dso_local local_unnamed_addr global i32 0, align 4 @HDMI_CONNECTION = dso_local local_unnamed_addr global i32 0, align 4 @DP_CONNECTION = dso_local local_unnamed_addr global i32 0, align 4 @EXTRA_CONNECTION_INFO = dso_local local_unnamed_addr global i32 0, align 4 @AUDIO_FORMAT_CODE_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @AUDIO_FORMAT_CODE_FIRST = dso_local local_unnamed_addr global i32 0, align 4 @AUDIO_FORMAT_CODE_1BITAUDIO = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0 = dso_local local_unnamed_addr global i32 0, align 4 @SUPPORTED_FREQUENCIES_STEREO = dso_local local_unnamed_addr global i32 0, align 4 @MAX_CHANNELS = dso_local local_unnamed_addr global i32 0, align 4 @SUPPORTED_FREQUENCIES = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTOR_BYTE_2 = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_FUNCTION_PARAMETER_STREAM_FORMATS = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO0 = dso_local local_unnamed_addr global i32 0, align 4 @MANUFACTURER_ID = dso_local local_unnamed_addr global i32 0, align 4 @PRODUCT_ID = dso_local local_unnamed_addr global i32 0, align 4 @MAX_HW_AUDIO_INFO_DISPLAY_NAME_SIZE_IN_CHARS = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO1 = dso_local local_unnamed_addr global i32 0, align 4 @SINK_DESCRIPTION_LEN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [62 x i8] c"\0A\09AUDIO:az_configure: index: %u data, 0x%x, displayName %s: \0A\00", align 1 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO2 = dso_local local_unnamed_addr global i32 0, align 4 @PORT_ID0 = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO3 = dso_local local_unnamed_addr global i32 0, align 4 @PORT_ID1 = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION0 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION1 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION2 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION3 = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION4 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION5 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION6 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION7 = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION8 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION9 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION10 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION11 = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION12 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION13 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION14 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION15 = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO8 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION16 = dso_local local_unnamed_addr global i32 0, align 4 @DESCRIPTION17 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @dce_aud_az_configure(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 %6 = alloca %union.audio_sample_rates, align 4 %7 = alloca %union.audio_sample_rates, align 4 %8 = tail call ptr @DCE_AUD(ptr noundef %0) #3 %9 = getelementptr inbounds %struct.audio_info, ptr %3, i64 0, i32 7 %10 = load i32, ptr %9, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %11 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !13 %12 = tail call i32 @AZ_REG_READ(i32 noundef %11) #3 %13 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !13 %14 = load i32, ptr @CLOCK_GATING_DISABLE, align 4, !tbaa !13 %15 = tail call i32 @set_reg_field_value(i32 noundef %12, i32 noundef 1, i32 noundef %13, i32 noundef %14) #3 %16 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !13 %17 = tail call i32 @AZ_REG_WRITE(i32 noundef %16, i32 noundef %12) #3 %18 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %19 = tail call i32 @AZ_REG_READ(i32 noundef %18) #3 %20 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %21 = load i32, ptr @SPEAKER_ALLOCATION, align 4, !tbaa !13 %22 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef %10, i32 noundef %20, i32 noundef %21) #3 %23 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %24 = load i32, ptr @LFE_PLAYBACK_LEVEL, align 4, !tbaa !13 %25 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 0, i32 noundef %23, i32 noundef %24) #3 %26 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %27 = load i32, ptr @HDMI_CONNECTION, align 4, !tbaa !13 %28 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 0, i32 noundef %26, i32 noundef %27) #3 %29 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %30 = load i32, ptr @DP_CONNECTION, align 4, !tbaa !13 %31 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 0, i32 noundef %29, i32 noundef %30) #3 %32 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %33 = load i32, ptr @EXTRA_CONNECTION_INFO, align 4, !tbaa !13 %34 = tail call i32 @get_reg_field_value(i32 noundef %19, i32 noundef %32, i32 noundef %33) #3 %35 = and i32 %34, -2 %36 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %37 = load i32, ptr @EXTRA_CONNECTION_INFO, align 4, !tbaa !13 %38 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef %35, i32 noundef %36, i32 noundef %37) #3 switch i32 %1, label %47 [ i32 128, label %39 i32 129, label %43 i32 131, label %43 i32 130, label %43 ] 39: ; preds = %4 %40 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %41 = load i32, ptr @HDMI_CONNECTION, align 4, !tbaa !13 %42 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 1, i32 noundef %40, i32 noundef %41) #3 br label %49 43: ; preds = %4, %4, %4 %44 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %45 = load i32, ptr @DP_CONNECTION, align 4, !tbaa !13 %46 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 1, i32 noundef %44, i32 noundef %45) #3 br label %49 47: ; preds = %4 %48 = tail call i32 (...) @BREAK_TO_DEBUGGER() #3 br label %49 49: ; preds = %47, %43, %39 %50 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !13 %51 = tail call i32 @AZ_REG_WRITE(i32 noundef %50, i32 noundef %19) #3 %52 = load i32, ptr @AUDIO_FORMAT_CODE_COUNT, align 4, !tbaa !13 %53 = icmp sgt i32 %52, 0 br i1 %53, label %54, label %129 54: ; preds = %49 %55 = getelementptr inbounds %struct.audio_info, ptr %3, i64 0, i32 6 %56 = load i32, ptr @AUDIO_FORMAT_CODE_FIRST, align 4, !tbaa !13 %57 = load i32, ptr @AUDIO_FORMAT_CODE_1BITAUDIO, align 4, !tbaa !13 br label %58 58: ; preds = %54, %117 %59 = phi i32 [ %52, %54 ], [ %118, %117 ] %60 = phi i32 [ %57, %54 ], [ %119, %117 ] %61 = phi i32 [ %56, %54 ], [ %120, %117 ] %62 = phi i32 [ 0, %54 ], [ %121, %117 ] %63 = phi i32 [ 0, %54 ], [ %122, %117 ] %64 = add nsw i32 %61, %63 %65 = icmp eq i32 %64, %60 %66 = icmp eq i32 %64, 136 %67 = or i1 %65, %66 br i1 %67, label %117, label %68 68: ; preds = %58 %69 = call i64 @is_audio_format_supported(ptr noundef %3, i32 noundef %64, ptr noundef nonnull %5) #3 %70 = icmp eq i64 %69, 0 br i1 %70, label %109, label %71 71: ; preds = %68 %72 = load ptr, ptr %55, align 8, !tbaa !14 %73 = load i32, ptr %5, align 4, !tbaa !13 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds %struct.audio_mode, ptr %72, i64 %74 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %76 = getelementptr inbounds %struct.audio_mode, ptr %72, i64 %74, i32 4 %77 = load i32, ptr %76, align 4 store i32 %77, ptr %7, align 4 %78 = load i32, ptr %75, align 4, !tbaa !15 switch i32 %64, label %93 [ i32 134, label %79 i32 138, label %89 i32 137, label %90 i32 135, label %90 i32 133, label %90 i32 132, label %90 ] 79: ; preds = %71 %80 = getelementptr inbounds %struct.audio_mode, ptr %72, i64 %74, i32 1 %81 = load i32, ptr %80, align 4, !tbaa !17 %82 = call i32 @check_audio_bandwidth(ptr noundef %2, i32 noundef %81, i32 noundef %1, ptr noundef nonnull %7) #3 %83 = getelementptr inbounds %struct.audio_mode, ptr %72, i64 %74, i32 2 %84 = load i32, ptr %83, align 4, !tbaa !18 %85 = load i32, ptr %7, align 4, !tbaa !19 %86 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !13 %87 = load i32, ptr @SUPPORTED_FREQUENCIES_STEREO, align 4, !tbaa !13 %88 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %85, i32 noundef %86, i32 noundef %87) #3 br label %93 89: ; preds = %71 br label %93 90: ; preds = %71, %71, %71, %71 %91 = getelementptr inbounds %struct.audio_mode, ptr %72, i64 %74, i32 3 %92 = load i32, ptr %91, align 4, !tbaa !20 br label %93 93: ; preds = %71, %90, %89, %79 %94 = phi i32 [ %62, %71 ], [ %62, %90 ], [ 1, %89 ], [ %62, %79 ] %95 = phi i32 [ %78, %71 ], [ %92, %90 ], [ %78, %89 ], [ %84, %79 ] %96 = getelementptr inbounds %struct.audio_mode, ptr %72, i64 %74, i32 1 %97 = load i32, ptr %96, align 4, !tbaa !17 %98 = add nsw i32 %97, -1 %99 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !13 %100 = load i32, ptr @MAX_CHANNELS, align 4, !tbaa !13 %101 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %98, i32 noundef %99, i32 noundef %100) #3 %102 = load i32, ptr %7, align 4, !tbaa !19 %103 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !13 %104 = load i32, ptr @SUPPORTED_FREQUENCIES, align 4, !tbaa !13 %105 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %102, i32 noundef %103, i32 noundef %104) #3 %106 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !13 %107 = load i32, ptr @DESCRIPTOR_BYTE_2, align 4, !tbaa !13 %108 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %95, i32 noundef %106, i32 noundef %107) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %109 109: ; preds = %93, %68 %110 = phi i32 [ %94, %93 ], [ %62, %68 ] %111 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !13 %112 = add nsw i32 %111, %63 %113 = call i32 @AZ_REG_WRITE(i32 noundef %112, i32 noundef 0) #3 %114 = load i32, ptr @AUDIO_FORMAT_CODE_FIRST, align 4, !tbaa !13 %115 = load i32, ptr @AUDIO_FORMAT_CODE_1BITAUDIO, align 4, !tbaa !13 %116 = load i32, ptr @AUDIO_FORMAT_CODE_COUNT, align 4, !tbaa !13 br label %117 117: ; preds = %58, %109 %118 = phi i32 [ %59, %58 ], [ %116, %109 ] %119 = phi i32 [ %60, %58 ], [ %115, %109 ] %120 = phi i32 [ %61, %58 ], [ %114, %109 ] %121 = phi i32 [ %62, %58 ], [ %110, %109 ] %122 = add nuw nsw i32 %63, 1 %123 = icmp slt i32 %122, %118 br i1 %123, label %58, label %124, !llvm.loop !21 124: ; preds = %117 %125 = icmp eq i32 %121, 0 br i1 %125, label %129, label %126 126: ; preds = %124 %127 = load i32, ptr @AZALIA_F0_CODEC_FUNCTION_PARAMETER_STREAM_FORMATS, align 4, !tbaa !13 %128 = call i32 @REG_WRITE(i32 noundef %127, i32 noundef 5) #3 br label %129 129: ; preds = %49, %126, %124 store i32 1, ptr %6, align 4, !tbaa !19 %130 = call i32 @check_audio_bandwidth(ptr noundef %2, i32 noundef 8, i32 noundef %1, ptr noundef nonnull %6) #3 %131 = load i32, ptr %6, align 4, !tbaa !19 %132 = call i32 @set_high_bit_rate_capable(ptr noundef %0, i32 noundef %131) #3 %133 = getelementptr inbounds %struct.audio_info, ptr %3, i64 0, i32 5 %134 = load i32, ptr %133, align 4, !tbaa !23 %135 = call i32 @set_video_latency(ptr noundef %0, i32 noundef %134) #3 %136 = getelementptr inbounds %struct.audio_info, ptr %3, i64 0, i32 4 %137 = load i32, ptr %136, align 8, !tbaa !24 %138 = call i32 @set_audio_latency(ptr noundef %0, i32 noundef %137) #3 %139 = load i32, ptr %3, align 8, !tbaa !25 %140 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO0, align 4, !tbaa !13 %141 = load i32, ptr @MANUFACTURER_ID, align 4, !tbaa !13 %142 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %139, i32 noundef %140, i32 noundef %141) #3 %143 = getelementptr inbounds %struct.audio_info, ptr %3, i64 0, i32 1 %144 = load i32, ptr %143, align 4, !tbaa !26 %145 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO0, align 4, !tbaa !13 %146 = load i32, ptr @PRODUCT_ID, align 4, !tbaa !13 %147 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %144, i32 noundef %145, i32 noundef %146) #3 %148 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO0, align 4, !tbaa !13 %149 = call i32 @AZ_REG_WRITE(i32 noundef %148, i32 noundef 0) #3 %150 = getelementptr inbounds %struct.audio_info, ptr %3, i64 0, i32 2 %151 = load ptr, ptr %150, align 8, !tbaa !27 %152 = load i32, ptr @MAX_HW_AUDIO_INFO_DISPLAY_NAME_SIZE_IN_CHARS, align 4 %153 = sext i32 %152 to i64 br label %154 154: ; preds = %154, %129 %155 = phi i64 [ %156, %154 ], [ 0, %129 ] %156 = add nuw nsw i64 %155, 1 %157 = getelementptr inbounds i8, ptr %151, i64 %155 %158 = load i8, ptr %157, align 1, !tbaa !19 %159 = icmp ne i8 %158, 0 %160 = icmp slt i64 %156, %153 %161 = select i1 %159, i1 %160, i1 false br i1 %161, label %154, label %162, !llvm.loop !28 162: ; preds = %154 %163 = trunc i64 %156 to i32 %164 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO1, align 4, !tbaa !13 %165 = load i32, ptr @SINK_DESCRIPTION_LEN, align 4, !tbaa !13 %166 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %163, i32 noundef %164, i32 noundef %165) #3 %167 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO1, align 4, !tbaa !13 %168 = call i32 @AZ_REG_WRITE(i32 noundef %167, i32 noundef 0) #3 %169 = load i32, ptr %0, align 4, !tbaa !29 %170 = load ptr, ptr %150, align 8, !tbaa !27 %171 = call i32 @DC_LOG_HW_AUDIO(ptr noundef nonnull @.str, i32 noundef %169, i32 noundef 0, ptr noundef %170) #3 %172 = getelementptr inbounds %struct.audio_info, ptr %3, i64 0, i32 3 %173 = load ptr, ptr %172, align 8, !tbaa !31 %174 = load i32, ptr %173, align 4, !tbaa !13 %175 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO2, align 4, !tbaa !13 %176 = load i32, ptr @PORT_ID0, align 4, !tbaa !13 %177 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %174, i32 noundef %175, i32 noundef %176) #3 %178 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO2, align 4, !tbaa !13 %179 = call i32 @AZ_REG_WRITE(i32 noundef %178, i32 noundef 0) #3 %180 = load ptr, ptr %172, align 8, !tbaa !31 %181 = getelementptr inbounds i32, ptr %180, i64 1 %182 = load i32, ptr %181, align 4, !tbaa !13 %183 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO3, align 4, !tbaa !13 %184 = load i32, ptr @PORT_ID1, align 4, !tbaa !13 %185 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %182, i32 noundef %183, i32 noundef %184) #3 %186 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO3, align 4, !tbaa !13 %187 = call i32 @AZ_REG_WRITE(i32 noundef %186, i32 noundef 0) #3 %188 = load ptr, ptr %150, align 8, !tbaa !27 %189 = load i8, ptr %188, align 1, !tbaa !19 %190 = sext i8 %189 to i32 %191 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !13 %192 = load i32, ptr @DESCRIPTION0, align 4, !tbaa !13 %193 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %190, i32 noundef %191, i32 noundef %192) #3 %194 = load ptr, ptr %150, align 8, !tbaa !27 %195 = getelementptr inbounds i8, ptr %194, i64 1 %196 = load i8, ptr %195, align 1, !tbaa !19 %197 = sext i8 %196 to i32 %198 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !13 %199 = load i32, ptr @DESCRIPTION1, align 4, !tbaa !13 %200 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %197, i32 noundef %198, i32 noundef %199) #3 %201 = load ptr, ptr %150, align 8, !tbaa !27 %202 = getelementptr inbounds i8, ptr %201, i64 2 %203 = load i8, ptr %202, align 1, !tbaa !19 %204 = sext i8 %203 to i32 %205 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !13 %206 = load i32, ptr @DESCRIPTION2, align 4, !tbaa !13 %207 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %204, i32 noundef %205, i32 noundef %206) #3 %208 = load ptr, ptr %150, align 8, !tbaa !27 %209 = getelementptr inbounds i8, ptr %208, i64 3 %210 = load i8, ptr %209, align 1, !tbaa !19 %211 = sext i8 %210 to i32 %212 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !13 %213 = load i32, ptr @DESCRIPTION3, align 4, !tbaa !13 %214 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %211, i32 noundef %212, i32 noundef %213) #3 %215 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !13 %216 = call i32 @AZ_REG_WRITE(i32 noundef %215, i32 noundef 0) #3 %217 = load ptr, ptr %150, align 8, !tbaa !27 %218 = getelementptr inbounds i8, ptr %217, i64 4 %219 = load i8, ptr %218, align 1, !tbaa !19 %220 = sext i8 %219 to i32 %221 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !13 %222 = load i32, ptr @DESCRIPTION4, align 4, !tbaa !13 %223 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %220, i32 noundef %221, i32 noundef %222) #3 %224 = load ptr, ptr %150, align 8, !tbaa !27 %225 = getelementptr inbounds i8, ptr %224, i64 5 %226 = load i8, ptr %225, align 1, !tbaa !19 %227 = sext i8 %226 to i32 %228 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !13 %229 = load i32, ptr @DESCRIPTION5, align 4, !tbaa !13 %230 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %227, i32 noundef %228, i32 noundef %229) #3 %231 = load ptr, ptr %150, align 8, !tbaa !27 %232 = getelementptr inbounds i8, ptr %231, i64 6 %233 = load i8, ptr %232, align 1, !tbaa !19 %234 = sext i8 %233 to i32 %235 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !13 %236 = load i32, ptr @DESCRIPTION6, align 4, !tbaa !13 %237 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %234, i32 noundef %235, i32 noundef %236) #3 %238 = load ptr, ptr %150, align 8, !tbaa !27 %239 = getelementptr inbounds i8, ptr %238, i64 7 %240 = load i8, ptr %239, align 1, !tbaa !19 %241 = sext i8 %240 to i32 %242 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !13 %243 = load i32, ptr @DESCRIPTION7, align 4, !tbaa !13 %244 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %241, i32 noundef %242, i32 noundef %243) #3 %245 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !13 %246 = call i32 @AZ_REG_WRITE(i32 noundef %245, i32 noundef 0) #3 %247 = load ptr, ptr %150, align 8, !tbaa !27 %248 = getelementptr inbounds i8, ptr %247, i64 8 %249 = load i8, ptr %248, align 1, !tbaa !19 %250 = sext i8 %249 to i32 %251 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !13 %252 = load i32, ptr @DESCRIPTION8, align 4, !tbaa !13 %253 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %250, i32 noundef %251, i32 noundef %252) #3 %254 = load ptr, ptr %150, align 8, !tbaa !27 %255 = getelementptr inbounds i8, ptr %254, i64 9 %256 = load i8, ptr %255, align 1, !tbaa !19 %257 = sext i8 %256 to i32 %258 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !13 %259 = load i32, ptr @DESCRIPTION9, align 4, !tbaa !13 %260 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %257, i32 noundef %258, i32 noundef %259) #3 %261 = load ptr, ptr %150, align 8, !tbaa !27 %262 = getelementptr inbounds i8, ptr %261, i64 10 %263 = load i8, ptr %262, align 1, !tbaa !19 %264 = sext i8 %263 to i32 %265 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !13 %266 = load i32, ptr @DESCRIPTION10, align 4, !tbaa !13 %267 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %264, i32 noundef %265, i32 noundef %266) #3 %268 = load ptr, ptr %150, align 8, !tbaa !27 %269 = getelementptr inbounds i8, ptr %268, i64 11 %270 = load i8, ptr %269, align 1, !tbaa !19 %271 = sext i8 %270 to i32 %272 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !13 %273 = load i32, ptr @DESCRIPTION11, align 4, !tbaa !13 %274 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %271, i32 noundef %272, i32 noundef %273) #3 %275 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !13 %276 = call i32 @AZ_REG_WRITE(i32 noundef %275, i32 noundef 0) #3 %277 = load ptr, ptr %150, align 8, !tbaa !27 %278 = getelementptr inbounds i8, ptr %277, i64 12 %279 = load i8, ptr %278, align 1, !tbaa !19 %280 = sext i8 %279 to i32 %281 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !13 %282 = load i32, ptr @DESCRIPTION12, align 4, !tbaa !13 %283 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %280, i32 noundef %281, i32 noundef %282) #3 %284 = load ptr, ptr %150, align 8, !tbaa !27 %285 = getelementptr inbounds i8, ptr %284, i64 13 %286 = load i8, ptr %285, align 1, !tbaa !19 %287 = sext i8 %286 to i32 %288 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !13 %289 = load i32, ptr @DESCRIPTION13, align 4, !tbaa !13 %290 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %287, i32 noundef %288, i32 noundef %289) #3 %291 = load ptr, ptr %150, align 8, !tbaa !27 %292 = getelementptr inbounds i8, ptr %291, i64 14 %293 = load i8, ptr %292, align 1, !tbaa !19 %294 = sext i8 %293 to i32 %295 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !13 %296 = load i32, ptr @DESCRIPTION14, align 4, !tbaa !13 %297 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %294, i32 noundef %295, i32 noundef %296) #3 %298 = load ptr, ptr %150, align 8, !tbaa !27 %299 = getelementptr inbounds i8, ptr %298, i64 15 %300 = load i8, ptr %299, align 1, !tbaa !19 %301 = sext i8 %300 to i32 %302 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !13 %303 = load i32, ptr @DESCRIPTION15, align 4, !tbaa !13 %304 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %301, i32 noundef %302, i32 noundef %303) #3 %305 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !13 %306 = call i32 @AZ_REG_WRITE(i32 noundef %305, i32 noundef 0) #3 %307 = load ptr, ptr %150, align 8, !tbaa !27 %308 = getelementptr inbounds i8, ptr %307, i64 16 %309 = load i8, ptr %308, align 1, !tbaa !19 %310 = sext i8 %309 to i32 %311 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO8, align 4, !tbaa !13 %312 = load i32, ptr @DESCRIPTION16, align 4, !tbaa !13 %313 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %310, i32 noundef %311, i32 noundef %312) #3 %314 = load ptr, ptr %150, align 8, !tbaa !27 %315 = getelementptr inbounds i8, ptr %314, i64 17 %316 = load i8, ptr %315, align 1, !tbaa !19 %317 = sext i8 %316 to i32 %318 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO8, align 4, !tbaa !13 %319 = load i32, ptr @DESCRIPTION17, align 4, !tbaa !13 %320 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %317, i32 noundef %318, i32 noundef %319) #3 %321 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO8, align 4, !tbaa !13 %322 = call i32 @AZ_REG_WRITE(i32 noundef %321, i32 noundef 0) #3 %323 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !13 %324 = call i32 @AZ_REG_READ(i32 noundef %323) #3 %325 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !13 %326 = load i32, ptr @CLOCK_GATING_DISABLE, align 4, !tbaa !13 %327 = call i32 @set_reg_field_value(i32 noundef %324, i32 noundef 0, i32 noundef %325, i32 noundef %326) #3 %328 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !13 %329 = call i32 @AZ_REG_WRITE(i32 noundef %328, i32 noundef %324) #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 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 @DCE_AUD(ptr noundef) local_unnamed_addr #2 declare i32 @AZ_REG_READ(i32 noundef) local_unnamed_addr #2 declare i32 @set_reg_field_value(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AZ_REG_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_reg_field_value(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BREAK_TO_DEBUGGER(...) local_unnamed_addr #2 declare i64 @is_audio_format_supported(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @check_audio_bandwidth(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @REG_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_high_bit_rate_capable(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_video_latency(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_audio_latency(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @DC_LOG_HW_AUDIO(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"audio_info", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !10, i64 32, !11, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 32} !15 = !{!16, !7, i64 0} !16 = !{!"audio_mode", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !8, i64 16} !17 = !{!16, !7, i64 4} !18 = !{!16, !7, i64 8} !19 = !{!8, !8, i64 0} !20 = !{!16, !7, i64 12} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!6, !7, i64 28} !24 = !{!6, !7, i64 24} !25 = !{!6, !7, i64 0} !26 = !{!6, !7, i64 4} !27 = !{!6, !10, i64 8} !28 = distinct !{!28, !22} !29 = !{!30, !7, i64 0} !30 = !{!"audio", !7, i64 0} !31 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_audio.c_dce_aud_az_configure.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_audio.c_dce_aud_az_configure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.audio_sample_rates = type { i32 } %struct.audio_mode = type { i32, i32, i32, i32, %union.audio_sample_rates } @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL = common local_unnamed_addr global i32 0, align 4 @CLOCK_GATING_DISABLE = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER = common local_unnamed_addr global i32 0, align 4 @SPEAKER_ALLOCATION = common local_unnamed_addr global i32 0, align 4 @LFE_PLAYBACK_LEVEL = common local_unnamed_addr global i32 0, align 4 @HDMI_CONNECTION = common local_unnamed_addr global i32 0, align 4 @DP_CONNECTION = common local_unnamed_addr global i32 0, align 4 @EXTRA_CONNECTION_INFO = common local_unnamed_addr global i32 0, align 4 @AUDIO_FORMAT_CODE_COUNT = common local_unnamed_addr global i32 0, align 4 @AUDIO_FORMAT_CODE_FIRST = common local_unnamed_addr global i32 0, align 4 @AUDIO_FORMAT_CODE_1BITAUDIO = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0 = common local_unnamed_addr global i32 0, align 4 @SUPPORTED_FREQUENCIES_STEREO = common local_unnamed_addr global i32 0, align 4 @MAX_CHANNELS = common local_unnamed_addr global i32 0, align 4 @SUPPORTED_FREQUENCIES = common local_unnamed_addr global i32 0, align 4 @DESCRIPTOR_BYTE_2 = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_FUNCTION_PARAMETER_STREAM_FORMATS = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO0 = common local_unnamed_addr global i32 0, align 4 @MANUFACTURER_ID = common local_unnamed_addr global i32 0, align 4 @PRODUCT_ID = common local_unnamed_addr global i32 0, align 4 @MAX_HW_AUDIO_INFO_DISPLAY_NAME_SIZE_IN_CHARS = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO1 = common local_unnamed_addr global i32 0, align 4 @SINK_DESCRIPTION_LEN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [62 x i8] c"\0A\09AUDIO:az_configure: index: %u data, 0x%x, displayName %s: \0A\00", align 1 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO2 = common local_unnamed_addr global i32 0, align 4 @PORT_ID0 = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO3 = common local_unnamed_addr global i32 0, align 4 @PORT_ID1 = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION0 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION1 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION2 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION3 = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION4 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION5 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION6 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION7 = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION8 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION9 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION10 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION11 = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION12 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION13 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION14 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION15 = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO8 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION16 = common local_unnamed_addr global i32 0, align 4 @DESCRIPTION17 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @dce_aud_az_configure(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 %6 = alloca %union.audio_sample_rates, align 4 %7 = alloca %union.audio_sample_rates, align 4 %8 = tail call ptr @DCE_AUD(ptr noundef %0) #3 %9 = getelementptr inbounds i8, ptr %3, i64 40 %10 = load i32, ptr %9, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %11 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !14 %12 = tail call i32 @AZ_REG_READ(i32 noundef %11) #3 %13 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !14 %14 = load i32, ptr @CLOCK_GATING_DISABLE, align 4, !tbaa !14 %15 = tail call i32 @set_reg_field_value(i32 noundef %12, i32 noundef 1, i32 noundef %13, i32 noundef %14) #3 %16 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !14 %17 = tail call i32 @AZ_REG_WRITE(i32 noundef %16, i32 noundef %12) #3 %18 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %19 = tail call i32 @AZ_REG_READ(i32 noundef %18) #3 %20 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %21 = load i32, ptr @SPEAKER_ALLOCATION, align 4, !tbaa !14 %22 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef %10, i32 noundef %20, i32 noundef %21) #3 %23 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %24 = load i32, ptr @LFE_PLAYBACK_LEVEL, align 4, !tbaa !14 %25 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 0, i32 noundef %23, i32 noundef %24) #3 %26 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %27 = load i32, ptr @HDMI_CONNECTION, align 4, !tbaa !14 %28 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 0, i32 noundef %26, i32 noundef %27) #3 %29 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %30 = load i32, ptr @DP_CONNECTION, align 4, !tbaa !14 %31 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 0, i32 noundef %29, i32 noundef %30) #3 %32 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %33 = load i32, ptr @EXTRA_CONNECTION_INFO, align 4, !tbaa !14 %34 = tail call i32 @get_reg_field_value(i32 noundef %19, i32 noundef %32, i32 noundef %33) #3 %35 = and i32 %34, -2 %36 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %37 = load i32, ptr @EXTRA_CONNECTION_INFO, align 4, !tbaa !14 %38 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef %35, i32 noundef %36, i32 noundef %37) #3 switch i32 %1, label %47 [ i32 128, label %39 i32 129, label %43 i32 131, label %43 i32 130, label %43 ] 39: ; preds = %4 %40 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %41 = load i32, ptr @HDMI_CONNECTION, align 4, !tbaa !14 %42 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 1, i32 noundef %40, i32 noundef %41) #3 br label %49 43: ; preds = %4, %4, %4 %44 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %45 = load i32, ptr @DP_CONNECTION, align 4, !tbaa !14 %46 = tail call i32 @set_reg_field_value(i32 noundef %19, i32 noundef 1, i32 noundef %44, i32 noundef %45) #3 br label %49 47: ; preds = %4 %48 = tail call i32 @BREAK_TO_DEBUGGER() #3 br label %49 49: ; preds = %47, %43, %39 %50 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, align 4, !tbaa !14 %51 = tail call i32 @AZ_REG_WRITE(i32 noundef %50, i32 noundef %19) #3 %52 = load i32, ptr @AUDIO_FORMAT_CODE_COUNT, align 4, !tbaa !14 %53 = icmp sgt i32 %52, 0 br i1 %53, label %54, label %129 54: ; preds = %49 %55 = getelementptr inbounds i8, ptr %3, i64 32 %56 = load i32, ptr @AUDIO_FORMAT_CODE_FIRST, align 4, !tbaa !14 %57 = load i32, ptr @AUDIO_FORMAT_CODE_1BITAUDIO, align 4, !tbaa !14 br label %58 58: ; preds = %54, %117 %59 = phi i32 [ %52, %54 ], [ %118, %117 ] %60 = phi i32 [ %57, %54 ], [ %119, %117 ] %61 = phi i32 [ %56, %54 ], [ %120, %117 ] %62 = phi i32 [ 0, %54 ], [ %121, %117 ] %63 = phi i32 [ 0, %54 ], [ %122, %117 ] %64 = add nsw i32 %61, %63 %65 = icmp eq i32 %64, %60 %66 = icmp eq i32 %64, 136 %67 = or i1 %65, %66 br i1 %67, label %117, label %68 68: ; preds = %58 %69 = call i64 @is_audio_format_supported(ptr noundef %3, i32 noundef %64, ptr noundef nonnull %5) #3 %70 = icmp eq i64 %69, 0 br i1 %70, label %109, label %71 71: ; preds = %68 %72 = load ptr, ptr %55, align 8, !tbaa !15 %73 = load i32, ptr %5, align 4, !tbaa !14 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds %struct.audio_mode, ptr %72, i64 %74 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %76 = getelementptr inbounds i8, ptr %75, i64 16 %77 = load i32, ptr %76, align 4, !tbaa !16 store i32 %77, ptr %7, align 4, !tbaa !16 %78 = load i32, ptr %75, align 4, !tbaa !17 switch i32 %64, label %93 [ i32 134, label %79 i32 138, label %89 i32 137, label %90 i32 135, label %90 i32 133, label %90 i32 132, label %90 ] 79: ; preds = %71 %80 = getelementptr inbounds i8, ptr %75, i64 4 %81 = load i32, ptr %80, align 4, !tbaa !19 %82 = call i32 @check_audio_bandwidth(ptr noundef %2, i32 noundef %81, i32 noundef %1, ptr noundef nonnull %7) #3 %83 = getelementptr inbounds i8, ptr %75, i64 8 %84 = load i32, ptr %83, align 4, !tbaa !20 %85 = load i32, ptr %7, align 4, !tbaa !16 %86 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !14 %87 = load i32, ptr @SUPPORTED_FREQUENCIES_STEREO, align 4, !tbaa !14 %88 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %85, i32 noundef %86, i32 noundef %87) #3 br label %93 89: ; preds = %71 br label %93 90: ; preds = %71, %71, %71, %71 %91 = getelementptr inbounds i8, ptr %75, i64 12 %92 = load i32, ptr %91, align 4, !tbaa !21 br label %93 93: ; preds = %71, %90, %89, %79 %94 = phi i32 [ %62, %71 ], [ %62, %90 ], [ 1, %89 ], [ %62, %79 ] %95 = phi i32 [ %78, %71 ], [ %92, %90 ], [ %78, %89 ], [ %84, %79 ] %96 = getelementptr inbounds i8, ptr %75, i64 4 %97 = load i32, ptr %96, align 4, !tbaa !19 %98 = add nsw i32 %97, -1 %99 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !14 %100 = load i32, ptr @MAX_CHANNELS, align 4, !tbaa !14 %101 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %98, i32 noundef %99, i32 noundef %100) #3 %102 = load i32, ptr %7, align 4, !tbaa !16 %103 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !14 %104 = load i32, ptr @SUPPORTED_FREQUENCIES, align 4, !tbaa !14 %105 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %102, i32 noundef %103, i32 noundef %104) #3 %106 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !14 %107 = load i32, ptr @DESCRIPTOR_BYTE_2, align 4, !tbaa !14 %108 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %95, i32 noundef %106, i32 noundef %107) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %109 109: ; preds = %93, %68 %110 = phi i32 [ %94, %93 ], [ %62, %68 ] %111 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, align 4, !tbaa !14 %112 = add nsw i32 %111, %63 %113 = call i32 @AZ_REG_WRITE(i32 noundef %112, i32 noundef 0) #3 %114 = load i32, ptr @AUDIO_FORMAT_CODE_FIRST, align 4, !tbaa !14 %115 = load i32, ptr @AUDIO_FORMAT_CODE_1BITAUDIO, align 4, !tbaa !14 %116 = load i32, ptr @AUDIO_FORMAT_CODE_COUNT, align 4, !tbaa !14 br label %117 117: ; preds = %58, %109 %118 = phi i32 [ %59, %58 ], [ %116, %109 ] %119 = phi i32 [ %60, %58 ], [ %115, %109 ] %120 = phi i32 [ %61, %58 ], [ %114, %109 ] %121 = phi i32 [ %62, %58 ], [ %110, %109 ] %122 = add nuw nsw i32 %63, 1 %123 = icmp slt i32 %122, %118 br i1 %123, label %58, label %124, !llvm.loop !22 124: ; preds = %117 %125 = icmp eq i32 %121, 0 br i1 %125, label %129, label %126 126: ; preds = %124 %127 = load i32, ptr @AZALIA_F0_CODEC_FUNCTION_PARAMETER_STREAM_FORMATS, align 4, !tbaa !14 %128 = call i32 @REG_WRITE(i32 noundef %127, i32 noundef 5) #3 br label %129 129: ; preds = %49, %126, %124 store i32 1, ptr %6, align 4, !tbaa !16 %130 = call i32 @check_audio_bandwidth(ptr noundef %2, i32 noundef 8, i32 noundef %1, ptr noundef nonnull %6) #3 %131 = load i32, ptr %6, align 4, !tbaa !16 %132 = call i32 @set_high_bit_rate_capable(ptr noundef %0, i32 noundef %131) #3 %133 = getelementptr inbounds i8, ptr %3, i64 28 %134 = load i32, ptr %133, align 4, !tbaa !24 %135 = call i32 @set_video_latency(ptr noundef %0, i32 noundef %134) #3 %136 = getelementptr inbounds i8, ptr %3, i64 24 %137 = load i32, ptr %136, align 8, !tbaa !25 %138 = call i32 @set_audio_latency(ptr noundef %0, i32 noundef %137) #3 %139 = load i32, ptr %3, align 8, !tbaa !26 %140 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO0, align 4, !tbaa !14 %141 = load i32, ptr @MANUFACTURER_ID, align 4, !tbaa !14 %142 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %139, i32 noundef %140, i32 noundef %141) #3 %143 = getelementptr inbounds i8, ptr %3, i64 4 %144 = load i32, ptr %143, align 4, !tbaa !27 %145 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO0, align 4, !tbaa !14 %146 = load i32, ptr @PRODUCT_ID, align 4, !tbaa !14 %147 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %144, i32 noundef %145, i32 noundef %146) #3 %148 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO0, align 4, !tbaa !14 %149 = call i32 @AZ_REG_WRITE(i32 noundef %148, i32 noundef 0) #3 %150 = getelementptr inbounds i8, ptr %3, i64 8 %151 = load ptr, ptr %150, align 8, !tbaa !28 %152 = load i32, ptr @MAX_HW_AUDIO_INFO_DISPLAY_NAME_SIZE_IN_CHARS, align 4 %153 = sext i32 %152 to i64 br label %154 154: ; preds = %154, %129 %155 = phi i64 [ %156, %154 ], [ 0, %129 ] %156 = add nuw nsw i64 %155, 1 %157 = getelementptr inbounds i8, ptr %151, i64 %155 %158 = load i8, ptr %157, align 1, !tbaa !16 %159 = icmp ne i8 %158, 0 %160 = icmp slt i64 %156, %153 %161 = select i1 %159, i1 %160, i1 false br i1 %161, label %154, label %162, !llvm.loop !29 162: ; preds = %154 %163 = trunc nuw nsw i64 %156 to i32 %164 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO1, align 4, !tbaa !14 %165 = load i32, ptr @SINK_DESCRIPTION_LEN, align 4, !tbaa !14 %166 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %163, i32 noundef %164, i32 noundef %165) #3 %167 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO1, align 4, !tbaa !14 %168 = call i32 @AZ_REG_WRITE(i32 noundef %167, i32 noundef 0) #3 %169 = load i32, ptr %0, align 4, !tbaa !30 %170 = load ptr, ptr %150, align 8, !tbaa !28 %171 = call i32 @DC_LOG_HW_AUDIO(ptr noundef nonnull @.str, i32 noundef %169, i32 noundef 0, ptr noundef %170) #3 %172 = getelementptr inbounds i8, ptr %3, i64 16 %173 = load ptr, ptr %172, align 8, !tbaa !32 %174 = load i32, ptr %173, align 4, !tbaa !14 %175 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO2, align 4, !tbaa !14 %176 = load i32, ptr @PORT_ID0, align 4, !tbaa !14 %177 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %174, i32 noundef %175, i32 noundef %176) #3 %178 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO2, align 4, !tbaa !14 %179 = call i32 @AZ_REG_WRITE(i32 noundef %178, i32 noundef 0) #3 %180 = load ptr, ptr %172, align 8, !tbaa !32 %181 = getelementptr inbounds i8, ptr %180, i64 4 %182 = load i32, ptr %181, align 4, !tbaa !14 %183 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO3, align 4, !tbaa !14 %184 = load i32, ptr @PORT_ID1, align 4, !tbaa !14 %185 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %182, i32 noundef %183, i32 noundef %184) #3 %186 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO3, align 4, !tbaa !14 %187 = call i32 @AZ_REG_WRITE(i32 noundef %186, i32 noundef 0) #3 %188 = load ptr, ptr %150, align 8, !tbaa !28 %189 = load i8, ptr %188, align 1, !tbaa !16 %190 = sext i8 %189 to i32 %191 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !14 %192 = load i32, ptr @DESCRIPTION0, align 4, !tbaa !14 %193 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %190, i32 noundef %191, i32 noundef %192) #3 %194 = load ptr, ptr %150, align 8, !tbaa !28 %195 = getelementptr inbounds i8, ptr %194, i64 1 %196 = load i8, ptr %195, align 1, !tbaa !16 %197 = sext i8 %196 to i32 %198 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !14 %199 = load i32, ptr @DESCRIPTION1, align 4, !tbaa !14 %200 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %197, i32 noundef %198, i32 noundef %199) #3 %201 = load ptr, ptr %150, align 8, !tbaa !28 %202 = getelementptr inbounds i8, ptr %201, i64 2 %203 = load i8, ptr %202, align 1, !tbaa !16 %204 = sext i8 %203 to i32 %205 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !14 %206 = load i32, ptr @DESCRIPTION2, align 4, !tbaa !14 %207 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %204, i32 noundef %205, i32 noundef %206) #3 %208 = load ptr, ptr %150, align 8, !tbaa !28 %209 = getelementptr inbounds i8, ptr %208, i64 3 %210 = load i8, ptr %209, align 1, !tbaa !16 %211 = sext i8 %210 to i32 %212 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !14 %213 = load i32, ptr @DESCRIPTION3, align 4, !tbaa !14 %214 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %211, i32 noundef %212, i32 noundef %213) #3 %215 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO4, align 4, !tbaa !14 %216 = call i32 @AZ_REG_WRITE(i32 noundef %215, i32 noundef 0) #3 %217 = load ptr, ptr %150, align 8, !tbaa !28 %218 = getelementptr inbounds i8, ptr %217, i64 4 %219 = load i8, ptr %218, align 1, !tbaa !16 %220 = sext i8 %219 to i32 %221 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !14 %222 = load i32, ptr @DESCRIPTION4, align 4, !tbaa !14 %223 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %220, i32 noundef %221, i32 noundef %222) #3 %224 = load ptr, ptr %150, align 8, !tbaa !28 %225 = getelementptr inbounds i8, ptr %224, i64 5 %226 = load i8, ptr %225, align 1, !tbaa !16 %227 = sext i8 %226 to i32 %228 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !14 %229 = load i32, ptr @DESCRIPTION5, align 4, !tbaa !14 %230 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %227, i32 noundef %228, i32 noundef %229) #3 %231 = load ptr, ptr %150, align 8, !tbaa !28 %232 = getelementptr inbounds i8, ptr %231, i64 6 %233 = load i8, ptr %232, align 1, !tbaa !16 %234 = sext i8 %233 to i32 %235 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !14 %236 = load i32, ptr @DESCRIPTION6, align 4, !tbaa !14 %237 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %234, i32 noundef %235, i32 noundef %236) #3 %238 = load ptr, ptr %150, align 8, !tbaa !28 %239 = getelementptr inbounds i8, ptr %238, i64 7 %240 = load i8, ptr %239, align 1, !tbaa !16 %241 = sext i8 %240 to i32 %242 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !14 %243 = load i32, ptr @DESCRIPTION7, align 4, !tbaa !14 %244 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %241, i32 noundef %242, i32 noundef %243) #3 %245 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO5, align 4, !tbaa !14 %246 = call i32 @AZ_REG_WRITE(i32 noundef %245, i32 noundef 0) #3 %247 = load ptr, ptr %150, align 8, !tbaa !28 %248 = getelementptr inbounds i8, ptr %247, i64 8 %249 = load i8, ptr %248, align 1, !tbaa !16 %250 = sext i8 %249 to i32 %251 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !14 %252 = load i32, ptr @DESCRIPTION8, align 4, !tbaa !14 %253 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %250, i32 noundef %251, i32 noundef %252) #3 %254 = load ptr, ptr %150, align 8, !tbaa !28 %255 = getelementptr inbounds i8, ptr %254, i64 9 %256 = load i8, ptr %255, align 1, !tbaa !16 %257 = sext i8 %256 to i32 %258 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !14 %259 = load i32, ptr @DESCRIPTION9, align 4, !tbaa !14 %260 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %257, i32 noundef %258, i32 noundef %259) #3 %261 = load ptr, ptr %150, align 8, !tbaa !28 %262 = getelementptr inbounds i8, ptr %261, i64 10 %263 = load i8, ptr %262, align 1, !tbaa !16 %264 = sext i8 %263 to i32 %265 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !14 %266 = load i32, ptr @DESCRIPTION10, align 4, !tbaa !14 %267 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %264, i32 noundef %265, i32 noundef %266) #3 %268 = load ptr, ptr %150, align 8, !tbaa !28 %269 = getelementptr inbounds i8, ptr %268, i64 11 %270 = load i8, ptr %269, align 1, !tbaa !16 %271 = sext i8 %270 to i32 %272 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !14 %273 = load i32, ptr @DESCRIPTION11, align 4, !tbaa !14 %274 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %271, i32 noundef %272, i32 noundef %273) #3 %275 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO6, align 4, !tbaa !14 %276 = call i32 @AZ_REG_WRITE(i32 noundef %275, i32 noundef 0) #3 %277 = load ptr, ptr %150, align 8, !tbaa !28 %278 = getelementptr inbounds i8, ptr %277, i64 12 %279 = load i8, ptr %278, align 1, !tbaa !16 %280 = sext i8 %279 to i32 %281 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !14 %282 = load i32, ptr @DESCRIPTION12, align 4, !tbaa !14 %283 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %280, i32 noundef %281, i32 noundef %282) #3 %284 = load ptr, ptr %150, align 8, !tbaa !28 %285 = getelementptr inbounds i8, ptr %284, i64 13 %286 = load i8, ptr %285, align 1, !tbaa !16 %287 = sext i8 %286 to i32 %288 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !14 %289 = load i32, ptr @DESCRIPTION13, align 4, !tbaa !14 %290 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %287, i32 noundef %288, i32 noundef %289) #3 %291 = load ptr, ptr %150, align 8, !tbaa !28 %292 = getelementptr inbounds i8, ptr %291, i64 14 %293 = load i8, ptr %292, align 1, !tbaa !16 %294 = sext i8 %293 to i32 %295 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !14 %296 = load i32, ptr @DESCRIPTION14, align 4, !tbaa !14 %297 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %294, i32 noundef %295, i32 noundef %296) #3 %298 = load ptr, ptr %150, align 8, !tbaa !28 %299 = getelementptr inbounds i8, ptr %298, i64 15 %300 = load i8, ptr %299, align 1, !tbaa !16 %301 = sext i8 %300 to i32 %302 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !14 %303 = load i32, ptr @DESCRIPTION15, align 4, !tbaa !14 %304 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %301, i32 noundef %302, i32 noundef %303) #3 %305 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO7, align 4, !tbaa !14 %306 = call i32 @AZ_REG_WRITE(i32 noundef %305, i32 noundef 0) #3 %307 = load ptr, ptr %150, align 8, !tbaa !28 %308 = getelementptr inbounds i8, ptr %307, i64 16 %309 = load i8, ptr %308, align 1, !tbaa !16 %310 = sext i8 %309 to i32 %311 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO8, align 4, !tbaa !14 %312 = load i32, ptr @DESCRIPTION16, align 4, !tbaa !14 %313 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %310, i32 noundef %311, i32 noundef %312) #3 %314 = load ptr, ptr %150, align 8, !tbaa !28 %315 = getelementptr inbounds i8, ptr %314, i64 17 %316 = load i8, ptr %315, align 1, !tbaa !16 %317 = sext i8 %316 to i32 %318 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO8, align 4, !tbaa !14 %319 = load i32, ptr @DESCRIPTION17, align 4, !tbaa !14 %320 = call i32 @set_reg_field_value(i32 noundef 0, i32 noundef %317, i32 noundef %318, i32 noundef %319) #3 %321 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_SINK_INFO8, align 4, !tbaa !14 %322 = call i32 @AZ_REG_WRITE(i32 noundef %321, i32 noundef 0) #3 %323 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !14 %324 = call i32 @AZ_REG_READ(i32 noundef %323) #3 %325 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !14 %326 = load i32, ptr @CLOCK_GATING_DISABLE, align 4, !tbaa !14 %327 = call i32 @set_reg_field_value(i32 noundef %324, i32 noundef 0, i32 noundef %325, i32 noundef %326) #3 %328 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !14 %329 = call i32 @AZ_REG_WRITE(i32 noundef %328, i32 noundef %324) #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 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 @DCE_AUD(ptr noundef) local_unnamed_addr #2 declare i32 @AZ_REG_READ(i32 noundef) local_unnamed_addr #2 declare i32 @set_reg_field_value(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AZ_REG_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_reg_field_value(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BREAK_TO_DEBUGGER(...) local_unnamed_addr #2 declare i64 @is_audio_format_supported(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @check_audio_bandwidth(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @REG_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_high_bit_rate_capable(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_video_latency(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_audio_latency(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @DC_LOG_HW_AUDIO(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"audio_info", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !11, i64 32, !12, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"TYPE_4__", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 32} !16 = !{!9, !9, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"audio_mode", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !9, i64 16} !19 = !{!18, !8, i64 4} !20 = !{!18, !8, i64 8} !21 = !{!18, !8, i64 12} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!7, !8, i64 28} !25 = !{!7, !8, i64 24} !26 = !{!7, !8, i64 0} !27 = !{!7, !8, i64 4} !28 = !{!7, !11, i64 8} !29 = distinct !{!29, !23} !30 = !{!31, !8, i64 0} !31 = !{!"audio", !8, i64 0} !32 = !{!7, !11, i64 16}
linux_drivers_gpu_drm_amd_display_dc_dce_extr_dce_audio.c_dce_aud_az_configure
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_regcache.c_maintenance_print_raw_registers.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_regcache.c_maintenance_print_raw_registers.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @regcache_dump_raw = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @maintenance_print_raw_registers], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @maintenance_print_raw_registers(ptr noundef %0, i32 %1) #0 { %3 = load i32, ptr @regcache_dump_raw, align 4, !tbaa !5 %4 = tail call i32 @regcache_print(ptr noundef %0, i32 noundef %3) #2 ret void } declare i32 @regcache_print(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_regcache.c_maintenance_print_raw_registers.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_regcache.c_maintenance_print_raw_registers.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @regcache_dump_raw = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @maintenance_print_raw_registers], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @maintenance_print_raw_registers(ptr noundef %0, i32 %1) #0 { %3 = load i32, ptr @regcache_dump_raw, align 4, !tbaa !6 %4 = tail call i32 @regcache_print(ptr noundef %0, i32 noundef %3) #2 ret void } declare i32 @regcache_print(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_gdb_gdb_extr_regcache.c_maintenance_print_raw_registers
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/i386/extr_i386.c_i386_solaris_elf_named_section.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/i386/extr_i386.c_i386_solaris_elf_named_section.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TARGET_64BIT = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [10 x i8] c".eh_frame\00", align 1 @asm_out_file = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"\09.section\09%s,\22%s\22,@unwind\0A\00", align 1 @SECTION_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"aw\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @i386_solaris_elf_named_section], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @i386_solaris_elf_named_section(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr @TARGET_64BIT, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %16, label %6 6: ; preds = %3 %7 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load i32, ptr @asm_out_file, align 4, !tbaa !9 %11 = load i32, ptr @SECTION_WRITE, align 4, !tbaa !9 %12 = and i32 %11, %1 %13 = icmp eq i32 %12, 0 %14 = select i1 %13, ptr @.str.3, ptr @.str.2 %15 = tail call i32 @fprintf(i32 noundef %10, ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef nonnull %14) #2 br label %18 16: ; preds = %6, %3 %17 = tail call i32 @default_elf_asm_named_section(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 br label %18 18: ; preds = %16, %9 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @default_elf_asm_named_section(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/i386/extr_i386.c_i386_solaris_elf_named_section.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/i386/extr_i386.c_i386_solaris_elf_named_section.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TARGET_64BIT = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [10 x i8] c".eh_frame\00", align 1 @asm_out_file = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"\09.section\09%s,\22%s\22,@unwind\0A\00", align 1 @SECTION_WRITE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"aw\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @i386_solaris_elf_named_section], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @i386_solaris_elf_named_section(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr @TARGET_64BIT, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %16, label %6 6: ; preds = %3 %7 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull @.str) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load i32, ptr @asm_out_file, align 4, !tbaa !10 %11 = load i32, ptr @SECTION_WRITE, align 4, !tbaa !10 %12 = and i32 %11, %1 %13 = icmp eq i32 %12, 0 %14 = select i1 %13, ptr @.str.3, ptr @.str.2 %15 = tail call i32 @fprintf(i32 noundef %10, ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef nonnull %14) #2 br label %18 16: ; preds = %6, %3 %17 = tail call i32 @default_elf_asm_named_section(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 br label %18 18: ; preds = %16, %9 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @default_elf_asm_named_section(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_contrib_gcc_config_i386_extr_i386.c_i386_solaris_elf_named_section
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_script.c_ngx_http_lua_complex_value.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_script.c_ngx_http_lua_complex_value.c" target datalayout = "e-m:e-p270:32:32-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_17__ = type { i32, ptr, ptr, ptr, ptr, i32 } %struct.TYPE_18__ = type { ptr, ptr, %struct.TYPE_13__ } %struct.TYPE_13__ = type { i64, i64 } %struct.TYPE_16__ = type { i32, ptr } @NGX_OK = dso_local local_unnamed_addr global i32 0, align 4 @NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ngx_http_lua_complex_value(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5, ptr noundef %6) local_unnamed_addr #0 { %8 = alloca %struct.TYPE_17__, align 8 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #3 %9 = getelementptr inbounds %struct.TYPE_18__, ptr %5, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %25 12: ; preds = %7 %13 = load ptr, ptr %1, align 8, !tbaa !12 %14 = getelementptr inbounds i32, ptr %13, i64 %2 %15 = load i32, ptr %4, align 4, !tbaa !14 %16 = sext i32 %15 to i64 %17 = sub i64 %16, %2 %18 = tail call i32 @luaL_addlstring(ptr noundef %6, ptr noundef %14, i64 noundef %17) #3 %19 = getelementptr inbounds %struct.TYPE_18__, ptr %5, i64 0, i32 2 %20 = getelementptr inbounds %struct.TYPE_18__, ptr %5, i64 0, i32 2, i32 1 %21 = load i64, ptr %20, align 8, !tbaa !16 %22 = inttoptr i64 %21 to ptr %23 = load i64, ptr %19, align 8, !tbaa !17 %24 = tail call i32 @luaL_addlstring(ptr noundef %6, ptr noundef %22, i64 noundef %23) #3 br label %75 25: ; preds = %7 %26 = call i32 @ngx_memzero(ptr noundef nonnull %8, i32 noundef 48) #3 %27 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %28 = load ptr, ptr %27, align 8, !tbaa !18 %29 = load i32, ptr %28, align 4, !tbaa !20 %30 = getelementptr inbounds %struct.TYPE_17__, ptr %8, i64 0, i32 5 store i32 %29, ptr %30, align 8, !tbaa !22 %31 = shl nsw i32 %3, 1 store i32 %31, ptr %8, align 8, !tbaa !24 %32 = getelementptr inbounds %struct.TYPE_17__, ptr %8, i64 0, i32 1 store ptr %4, ptr %32, align 8, !tbaa !25 %33 = load ptr, ptr %1, align 8, !tbaa !12 %34 = getelementptr inbounds %struct.TYPE_17__, ptr %8, i64 0, i32 4 store ptr %33, ptr %34, align 8, !tbaa !26 %35 = load ptr, ptr %9, align 8, !tbaa !5 %36 = getelementptr inbounds %struct.TYPE_17__, ptr %8, i64 0, i32 2 store ptr %35, ptr %36, align 8, !tbaa !27 %37 = load i64, ptr %35, align 8 %38 = icmp eq i64 %37, 0 br i1 %38, label %48, label %39 39: ; preds = %25, %39 %40 = phi i64 [ %46, %39 ], [ %37, %25 ] %41 = phi i64 [ %44, %39 ], [ 0, %25 ] %42 = inttoptr i64 %40 to ptr %43 = call i64 %42(ptr noundef nonnull %8) #3 %44 = add i64 %43, %41 %45 = load ptr, ptr %36, align 8, !tbaa !27 %46 = load i64, ptr %45, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %39, !llvm.loop !28 48: ; preds = %39, %25 %49 = phi i64 [ 0, %25 ], [ %44, %39 ] %50 = load i32, ptr %0, align 8, !tbaa !30 %51 = call ptr @ngx_pnalloc(i32 noundef %50, i64 noundef %49) #3 %52 = icmp eq ptr %51, null br i1 %52, label %75, label %53 53: ; preds = %48 %54 = load ptr, ptr %5, align 8, !tbaa !31 store ptr %54, ptr %36, align 8, !tbaa !27 %55 = getelementptr inbounds %struct.TYPE_17__, ptr %8, i64 0, i32 3 store ptr %51, ptr %55, align 8, !tbaa !32 %56 = load i64, ptr %54, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label %65, label %58 58: ; preds = %53, %58 %59 = phi i64 [ %63, %58 ], [ %56, %53 ] %60 = inttoptr i64 %59 to ptr %61 = call i32 %60(ptr noundef nonnull %8) #3 %62 = load ptr, ptr %36, align 8, !tbaa !27 %63 = load i64, ptr %62, align 8 %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %58, !llvm.loop !33 65: ; preds = %58, %53 %66 = load ptr, ptr %1, align 8, !tbaa !12 %67 = getelementptr inbounds i32, ptr %66, i64 %2 %68 = load i32, ptr %4, align 4, !tbaa !14 %69 = sext i32 %68 to i64 %70 = sub i64 %69, %2 %71 = call i32 @luaL_addlstring(ptr noundef %6, ptr noundef %67, i64 noundef %70) #3 %72 = call i32 @luaL_addlstring(ptr noundef %6, ptr noundef nonnull %51, i64 noundef %49) #3 %73 = load i32, ptr %0, align 8, !tbaa !30 %74 = call i32 @ngx_pfree(i32 noundef %73, ptr noundef nonnull %51) #3 br label %75 75: ; preds = %48, %65, %12 %76 = phi ptr [ @NGX_OK, %12 ], [ @NGX_OK, %65 ], [ @NGX_ERROR, %48 ] %77 = load i32, ptr %76, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #3 ret i32 %77 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_addlstring(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @ngx_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_pnalloc(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @ngx_pfree(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 8} !6 = !{!"TYPE_18__", !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 = !{!"TYPE_13__", !11, i64 0, !11, i64 8} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_15__", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!6, !11, i64 24} !17 = !{!6, !11, i64 16} !18 = !{!19, !7, i64 8} !19 = !{!"TYPE_16__", !15, i64 0, !7, i64 8} !20 = !{!21, !15, i64 0} !21 = !{!"TYPE_14__", !15, i64 0} !22 = !{!23, !15, i64 40} !23 = !{!"TYPE_17__", !15, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !15, i64 40} !24 = !{!23, !15, i64 0} !25 = !{!23, !7, i64 8} !26 = !{!23, !7, i64 32} !27 = !{!23, !7, i64 16} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"} !30 = !{!19, !15, i64 0} !31 = !{!6, !7, i64 0} !32 = !{!23, !7, i64 24} !33 = distinct !{!33, !29}
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_script.c_ngx_http_lua_complex_value.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_script.c_ngx_http_lua_complex_value.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_17__ = type { i32, ptr, ptr, ptr, ptr, i32 } @NGX_OK = common local_unnamed_addr global i32 0, align 4 @NGX_ERROR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ngx_http_lua_complex_value(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5, ptr noundef %6) local_unnamed_addr #0 { %8 = alloca %struct.TYPE_17__, align 8 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #3 %9 = getelementptr inbounds i8, ptr %5, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %25 12: ; preds = %7 %13 = load ptr, ptr %1, align 8, !tbaa !13 %14 = getelementptr inbounds i32, ptr %13, i64 %2 %15 = load i32, ptr %4, align 4, !tbaa !15 %16 = sext i32 %15 to i64 %17 = sub i64 %16, %2 %18 = tail call i32 @luaL_addlstring(ptr noundef %6, ptr noundef %14, i64 noundef %17) #3 %19 = getelementptr inbounds i8, ptr %5, i64 16 %20 = getelementptr inbounds i8, ptr %5, i64 24 %21 = load i64, ptr %20, align 8, !tbaa !17 %22 = inttoptr i64 %21 to ptr %23 = load i64, ptr %19, align 8, !tbaa !18 %24 = tail call i32 @luaL_addlstring(ptr noundef %6, ptr noundef %22, i64 noundef %23) #3 br label %75 25: ; preds = %7 %26 = call i32 @ngx_memzero(ptr noundef nonnull %8, i32 noundef 48) #3 %27 = getelementptr inbounds i8, ptr %0, i64 8 %28 = load ptr, ptr %27, align 8, !tbaa !19 %29 = load i32, ptr %28, align 4, !tbaa !21 %30 = getelementptr inbounds i8, ptr %8, i64 40 store i32 %29, ptr %30, align 8, !tbaa !23 %31 = shl nsw i32 %3, 1 store i32 %31, ptr %8, align 8, !tbaa !25 %32 = getelementptr inbounds i8, ptr %8, i64 8 store ptr %4, ptr %32, align 8, !tbaa !26 %33 = load ptr, ptr %1, align 8, !tbaa !13 %34 = getelementptr inbounds i8, ptr %8, i64 32 store ptr %33, ptr %34, align 8, !tbaa !27 %35 = load ptr, ptr %9, align 8, !tbaa !6 %36 = getelementptr inbounds i8, ptr %8, i64 16 store ptr %35, ptr %36, align 8, !tbaa !28 %37 = load i64, ptr %35, align 8 %38 = icmp eq i64 %37, 0 br i1 %38, label %48, label %39 39: ; preds = %25, %39 %40 = phi i64 [ %46, %39 ], [ %37, %25 ] %41 = phi i64 [ %44, %39 ], [ 0, %25 ] %42 = inttoptr i64 %40 to ptr %43 = call i64 %42(ptr noundef nonnull %8) #3 %44 = add i64 %43, %41 %45 = load ptr, ptr %36, align 8, !tbaa !28 %46 = load i64, ptr %45, align 8 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %39, !llvm.loop !29 48: ; preds = %39, %25 %49 = phi i64 [ 0, %25 ], [ %44, %39 ] %50 = load i32, ptr %0, align 8, !tbaa !31 %51 = call ptr @ngx_pnalloc(i32 noundef %50, i64 noundef %49) #3 %52 = icmp eq ptr %51, null br i1 %52, label %75, label %53 53: ; preds = %48 %54 = load ptr, ptr %5, align 8, !tbaa !32 store ptr %54, ptr %36, align 8, !tbaa !28 %55 = getelementptr inbounds i8, ptr %8, i64 24 store ptr %51, ptr %55, align 8, !tbaa !33 %56 = load i64, ptr %54, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label %65, label %58 58: ; preds = %53, %58 %59 = phi i64 [ %63, %58 ], [ %56, %53 ] %60 = inttoptr i64 %59 to ptr %61 = call i32 %60(ptr noundef nonnull %8) #3 %62 = load ptr, ptr %36, align 8, !tbaa !28 %63 = load i64, ptr %62, align 8 %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %58, !llvm.loop !34 65: ; preds = %58, %53 %66 = load ptr, ptr %1, align 8, !tbaa !13 %67 = getelementptr inbounds i32, ptr %66, i64 %2 %68 = load i32, ptr %4, align 4, !tbaa !15 %69 = sext i32 %68 to i64 %70 = sub i64 %69, %2 %71 = call i32 @luaL_addlstring(ptr noundef %6, ptr noundef %67, i64 noundef %70) #3 %72 = call i32 @luaL_addlstring(ptr noundef %6, ptr noundef nonnull %51, i64 noundef %49) #3 %73 = load i32, ptr %0, align 8, !tbaa !31 %74 = call i32 @ngx_pfree(i32 noundef %73, ptr noundef nonnull %51) #3 br label %75 75: ; preds = %48, %65, %12 %76 = phi ptr [ @NGX_OK, %12 ], [ @NGX_OK, %65 ], [ @NGX_ERROR, %48 ] %77 = load i32, ptr %76, align 4, !tbaa !15 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #3 ret i32 %77 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_addlstring(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @ngx_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_pnalloc(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @ngx_pfree(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 8} !7 = !{!"TYPE_18__", !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 = !{!"TYPE_13__", !12, i64 0, !12, i64 8} !12 = !{!"long", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_15__", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!7, !12, i64 24} !18 = !{!7, !12, i64 16} !19 = !{!20, !8, i64 8} !20 = !{!"TYPE_16__", !16, i64 0, !8, i64 8} !21 = !{!22, !16, i64 0} !22 = !{!"TYPE_14__", !16, i64 0} !23 = !{!24, !16, i64 40} !24 = !{!"TYPE_17__", !16, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !16, i64 40} !25 = !{!24, !16, i64 0} !26 = !{!24, !8, i64 8} !27 = !{!24, !8, i64 32} !28 = !{!24, !8, i64 16} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"} !31 = !{!20, !16, i64 0} !32 = !{!7, !8, i64 0} !33 = !{!24, !8, i64 24} !34 = distinct !{!34, !30}
tengine_modules_ngx_http_lua_module_src_extr_ngx_http_lua_script.c_ngx_http_lua_complex_value
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_bgscan.h_bgscan_deinit.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_bgscan.h_bgscan_deinit.c" target datalayout = "e-m:e-p270:32:32-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 @bgscan_deinit], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @bgscan_deinit(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_bgscan.h_bgscan_deinit.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_bgscan.h_bgscan_deinit.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 @bgscan_deinit], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @bgscan_deinit(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_wpa_wpa_supplicant_extr_bgscan.h_bgscan_deinit
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-clone-target.c_set_discard_limits.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-clone-target.c_set_discard_limits.c" target datalayout = "e-m:e-p270:32:32-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.clone = type { i32, i32, ptr } %struct.queue_limits = type { i32, i32, i32, i32, i32, i32 } @DM_CLONE_DISCARD_PASSDOWN = dso_local local_unnamed_addr global i32 0, align 4 @SECTOR_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @UINT_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_discard_limits], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @set_discard_limits(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds %struct.clone, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call ptr @bdev_get_queue(ptr noundef %5) #2 %7 = load i32, ptr @DM_CLONE_DISCARD_PASSDOWN, align 4, !tbaa !13 %8 = getelementptr inbounds %struct.clone, ptr %0, i64 0, i32 1 %9 = tail call i32 @test_bit(i32 noundef %7, ptr noundef nonnull %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr %0, align 8, !tbaa !14 %13 = load i32, ptr @SECTOR_SHIFT, align 4, !tbaa !13 %14 = shl i32 %12, %13 store i32 %14, ptr %1, align 4, !tbaa !15 %15 = load i32, ptr @UINT_MAX, align 4, !tbaa !13 %16 = load i32, ptr @SECTOR_SHIFT, align 4, !tbaa !13 %17 = ashr i32 %15, %16 %18 = tail call i32 @round_down(i32 noundef %17, i32 noundef %12) #2 br label %26 19: ; preds = %2 %20 = getelementptr inbounds %struct.queue_limits, ptr %6, i64 0, i32 5 %21 = load i32, ptr %20, align 4, !tbaa !17 %22 = getelementptr inbounds %struct.queue_limits, ptr %6, i64 0, i32 4 %23 = load i32, ptr %22, align 4, !tbaa !18 %24 = getelementptr inbounds %struct.queue_limits, ptr %1, i64 0, i32 4 store i32 %23, ptr %24, align 4, !tbaa !18 %25 = load <4 x i32>, ptr %6, align 4, !tbaa !13 store <4 x i32> %25, ptr %1, align 4, !tbaa !13 br label %26 26: ; preds = %19, %11 %27 = phi i32 [ %18, %11 ], [ %21, %19 ] %28 = getelementptr inbounds %struct.queue_limits, ptr %1, i64 0, i32 5 store i32 %27, ptr %28, align 4 ret void } declare ptr @bdev_get_queue(ptr noundef) local_unnamed_addr #1 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @round_down(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 = !{!"clone", !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, !10, i64 0} !12 = !{!"TYPE_3__", !10, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"queue_limits", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !17 = !{!16, !7, i64 20} !18 = !{!16, !7, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-clone-target.c_set_discard_limits.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-clone-target.c_set_discard_limits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DM_CLONE_DISCARD_PASSDOWN = common local_unnamed_addr global i32 0, align 4 @SECTOR_SHIFT = common local_unnamed_addr global i32 0, align 4 @UINT_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_discard_limits], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @set_discard_limits(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = tail call ptr @bdev_get_queue(ptr noundef %5) #2 %7 = load i32, ptr @DM_CLONE_DISCARD_PASSDOWN, align 4, !tbaa !14 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = tail call i32 @test_bit(i32 noundef %7, ptr noundef nonnull %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr %0, align 8, !tbaa !15 %13 = load i32, ptr @SECTOR_SHIFT, align 4, !tbaa !14 %14 = shl i32 %12, %13 store i32 %14, ptr %1, align 4, !tbaa !16 %15 = load i32, ptr @UINT_MAX, align 4, !tbaa !14 %16 = load i32, ptr @SECTOR_SHIFT, align 4, !tbaa !14 %17 = ashr i32 %15, %16 %18 = tail call i32 @round_down(i32 noundef %17, i32 noundef %12) #2 br label %26 19: ; preds = %2 %20 = getelementptr inbounds i8, ptr %6, i64 20 %21 = load i32, ptr %20, align 4, !tbaa !18 %22 = getelementptr inbounds i8, ptr %6, i64 16 %23 = load i32, ptr %22, align 4, !tbaa !19 %24 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %23, ptr %24, align 4, !tbaa !19 %25 = load <4 x i32>, ptr %6, align 4, !tbaa !14 store <4 x i32> %25, ptr %1, align 4, !tbaa !14 br label %26 26: ; preds = %19, %11 %27 = phi i32 [ %18, %11 ], [ %21, %19 ] %28 = getelementptr inbounds i8, ptr %1, i64 20 store i32 %27, ptr %28, align 4 ret void } declare ptr @bdev_get_queue(ptr noundef) local_unnamed_addr #1 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @round_down(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 = !{!"clone", !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, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"queue_limits", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !18 = !{!17, !8, i64 20} !19 = !{!17, !8, i64 16}
linux_drivers_md_extr_dm-clone-target.c_set_discard_limits
; ModuleID = 'AnghaBench/linux/drivers/md/bcache/extr_journal.c_journal_write_endio.c' source_filename = "AnghaBench/linux/drivers/md/bcache/extr_journal.c_journal_write_endio.c" target datalayout = "e-m:e-p270:32:32-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.bio = type { i32, ptr } @.str = private unnamed_addr constant [17 x i8] c"journal io error\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @journal_write_endio], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @journal_write_endio(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %0, align 8, !tbaa !11 %5 = load ptr, ptr %3, align 8, !tbaa !12 %6 = tail call i32 @cache_set_err_on(i32 noundef %4, ptr noundef %5, ptr noundef nonnull @.str) #2 %7 = load ptr, ptr %3, align 8, !tbaa !12 %8 = tail call i32 @closure_put(ptr noundef %7) #2 ret void } declare i32 @cache_set_err_on(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @closure_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"bio", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"journal_write", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/md/bcache/extr_journal.c_journal_write_endio.c' source_filename = "AnghaBench/linux/drivers/md/bcache/extr_journal.c_journal_write_endio.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"journal io error\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @journal_write_endio], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @journal_write_endio(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 = load ptr, ptr %3, align 8, !tbaa !13 %6 = tail call i32 @cache_set_err_on(i32 noundef %4, ptr noundef %5, ptr noundef nonnull @.str) #2 %7 = load ptr, ptr %3, align 8, !tbaa !13 %8 = tail call i32 @closure_put(ptr noundef %7) #2 ret void } declare i32 @cache_set_err_on(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @closure_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"bio", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"journal_write", !11, i64 0}
linux_drivers_md_bcache_extr_journal.c_journal_write_endio
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/ntdll/extr_rtl.c_is_incomplete_chunk.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/ntdll/extr_rtl.c_is_incomplete_chunk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_incomplete_chunk], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @is_incomplete_chunk(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp ult i32 %1, 5 br i1 %4, label %22, label %5 5: ; preds = %3 %6 = icmp eq i32 %2, 0 br label %7 7: ; preds = %5, %15 %8 = phi ptr [ %0, %5 ], [ %17, %15 ] %9 = phi i32 [ %1, %5 ], [ %18, %15 ] %10 = load i32, ptr %8, align 4, !tbaa !5 %11 = and i32 %10, 4095 %12 = add nuw nsw i32 %11, 5 %13 = icmp ult i32 %9, %12 %14 = or i1 %13, %6 br i1 %14, label %20, label %15 15: ; preds = %7 %16 = zext nneg i32 %12 to i64 %17 = getelementptr inbounds i32, ptr %8, i64 %16 %18 = sub i32 %9, %12 %19 = icmp ugt i32 %18, 3 br i1 %19, label %7, label %22, !llvm.loop !9 20: ; preds = %7 %21 = select i1 %13, ptr @TRUE, ptr @FALSE br label %22 22: ; preds = %15, %20, %3 %23 = phi ptr [ @TRUE, %3 ], [ %21, %20 ], [ @FALSE, %15 ] %24 = load i32, ptr %23, align 4, !tbaa !5 ret i32 %24 } 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"}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/ntdll/extr_rtl.c_is_incomplete_chunk.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/ntdll/extr_rtl.c_is_incomplete_chunk.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TRUE = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_incomplete_chunk], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @is_incomplete_chunk(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp ult i32 %1, 5 br i1 %4, label %22, label %5 5: ; preds = %3 %6 = icmp eq i32 %2, 0 br label %7 7: ; preds = %5, %15 %8 = phi ptr [ %0, %5 ], [ %17, %15 ] %9 = phi i32 [ %1, %5 ], [ %18, %15 ] %10 = load i32, ptr %8, align 4, !tbaa !6 %11 = and i32 %10, 4095 %12 = add nuw nsw i32 %11, 5 %13 = icmp ult i32 %9, %12 %14 = or i1 %13, %6 br i1 %14, label %20, label %15 15: ; preds = %7 %16 = zext nneg i32 %12 to i64 %17 = getelementptr inbounds i32, ptr %8, i64 %16 %18 = sub i32 %9, %12 %19 = icmp ugt i32 %18, 3 br i1 %19, label %7, label %22, !llvm.loop !10 20: ; preds = %7 %21 = select i1 %13, ptr @TRUE, ptr @FALSE br label %22 22: ; preds = %15, %20, %3 %23 = phi ptr [ @TRUE, %3 ], [ %21, %20 ], [ @FALSE, %15 ] %24 = load i32, ptr %23, align 4, !tbaa !6 ret i32 %24 } 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"}
reactos_modules_rostests_winetests_ntdll_extr_rtl.c_is_incomplete_chunk
; ModuleID = 'AnghaBench/reactos/sdk/lib/crt/time/extr_ctime.c__tctime64_s.c' source_filename = "AnghaBench/reactos/sdk/lib/crt/time/extr_ctime.c__tctime64_s.c" target datalayout = "e-m:e-p270:32:32-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.tm = type { i32 } @EINVAL = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @_tctime_s(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.tm, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = call i64 @localtime_s(ptr noundef nonnull %4, ptr noundef %2) #3 %6 = load i64, ptr @EINVAL, align 8, !tbaa !5 %7 = icmp eq i64 %5, %6 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = call i64 @_tasctime_s(ptr noundef %0, i64 noundef %1, ptr noundef nonnull %4) #3 br label %10 10: ; preds = %3, %8 %11 = phi i64 [ %9, %8 ], [ %5, %3 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @localtime_s(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @_tasctime_s(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/sdk/lib/crt/time/extr_ctime.c__tctime64_s.c' source_filename = "AnghaBench/reactos/sdk/lib/crt/time/extr_ctime.c__tctime64_s.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.tm = type { i32 } @EINVAL = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @_tctime_s(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.tm, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = call i64 @localtime_s(ptr noundef nonnull %4, ptr noundef %2) #3 %6 = load i64, ptr @EINVAL, align 8, !tbaa !6 %7 = icmp eq i64 %5, %6 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = call i64 @_tasctime_s(ptr noundef %0, i64 noundef %1, ptr noundef nonnull %4) #3 br label %10 10: ; preds = %3, %8 %11 = phi i64 [ %9, %8 ], [ %5, %3 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @localtime_s(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @_tasctime_s(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_sdk_lib_crt_time_extr_ctime.c__tctime64_s
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/hostap/extr_hostap_ap.c_hostap_init_ap_proc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/hostap/extr_hostap_ap.c_hostap_init_ap_proc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, ptr } @.str = private unnamed_addr constant [9 x i8] c"ap_debug\00", align 1 @ap_debug_proc_fops = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"ap_control\00", align 1 @ap_control_proc_fops = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"ap\00", align 1 @prism2_ap_proc_fops = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @hostap_init_ap_proc(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !10 store ptr %4, ptr %3, align 8, !tbaa !11 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %1 %7 = tail call i32 @proc_create_data(ptr noundef nonnull @.str, i32 noundef 0, ptr noundef nonnull %4, ptr noundef nonnull @ap_debug_proc_fops, ptr noundef nonnull %3) #2 %8 = load ptr, ptr %3, align 8, !tbaa !11 %9 = tail call i32 @proc_create_data(ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %8, ptr noundef nonnull @ap_control_proc_fops, ptr noundef nonnull %3) #2 %10 = load ptr, ptr %3, align 8, !tbaa !11 %11 = tail call i32 @proc_create_data(ptr noundef nonnull @.str.2, i32 noundef 0, ptr noundef %10, ptr noundef nonnull @prism2_ap_proc_fops, ptr noundef nonnull %3) #2 br label %12 12: ; preds = %1, %6 ret void } declare i32 @proc_create_data(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"ap_data", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/hostap/extr_hostap_ap.c_hostap_init_ap_proc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/hostap/extr_hostap_ap.c_hostap_init_ap_proc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"ap_debug\00", align 1 @ap_debug_proc_fops = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"ap_control\00", align 1 @ap_control_proc_fops = common global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"ap\00", align 1 @prism2_ap_proc_fops = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @hostap_init_ap_proc(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !11 store ptr %4, ptr %3, align 8, !tbaa !12 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %1 %7 = tail call i32 @proc_create_data(ptr noundef nonnull @.str, i32 noundef 0, ptr noundef nonnull %4, ptr noundef nonnull @ap_debug_proc_fops, ptr noundef nonnull %3) #2 %8 = load ptr, ptr %3, align 8, !tbaa !12 %9 = tail call i32 @proc_create_data(ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %8, ptr noundef nonnull @ap_control_proc_fops, ptr noundef nonnull %3) #2 %10 = load ptr, ptr %3, align 8, !tbaa !12 %11 = tail call i32 @proc_create_data(ptr noundef nonnull @.str.2, i32 noundef 0, ptr noundef %10, ptr noundef nonnull @prism2_ap_proc_fops, ptr noundef nonnull %3) #2 br label %12 12: ; preds = %1, %6 ret void } declare i32 @proc_create_data(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"ap_data", !8, i64 0}
fastsocket_kernel_drivers_net_wireless_hostap_extr_hostap_ap.c_hostap_init_ap_proc
; ModuleID = 'AnghaBench/libgit2/tests/checkout/extr_typechange.c_assert_file_exists.c' source_filename = "AnghaBench/libgit2/tests/checkout/extr_typechange.c_assert_file_exists.c" target datalayout = "e-m:e-p270:32:32-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 @assert_file_exists], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @assert_file_exists(ptr noundef %0) #0 { %2 = tail call i32 @git_path_isfile(ptr noundef %0) #2 %3 = tail call i32 @cl_assert_(i32 noundef %2, ptr noundef %0) #2 ret void } declare i32 @cl_assert_(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @git_path_isfile(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/libgit2/tests/checkout/extr_typechange.c_assert_file_exists.c' source_filename = "AnghaBench/libgit2/tests/checkout/extr_typechange.c_assert_file_exists.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 @assert_file_exists], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @assert_file_exists(ptr noundef %0) #0 { %2 = tail call i32 @git_path_isfile(ptr noundef %0) #2 %3 = tail call i32 @cl_assert_(i32 noundef %2, ptr noundef %0) #2 ret void } declare i32 @cl_assert_(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @git_path_isfile(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
libgit2_tests_checkout_extr_typechange.c_assert_file_exists
; ModuleID = 'AnghaBench/linux/sound/pci/nm256/extr_nm256.c_snd_nm256_playback_start.c' source_filename = "AnghaBench/linux/sound/pci/nm256/extr_nm256.c_snd_nm256_playback_start.c" target datalayout = "e-m:e-p270:32:32-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.nm256_stream = type { i32, i64, i64 } @NM_PBUFFER_START = dso_local local_unnamed_addr global i32 0, align 4 @NM_PBUFFER_END = dso_local local_unnamed_addr global i32 0, align 4 @NM_PBUFFER_CURRP = dso_local local_unnamed_addr global i32 0, align 4 @NM_PLAYBACK_ENABLE_REG = dso_local local_unnamed_addr global i32 0, align 4 @NM_PLAYBACK_ENABLE_FLAG = dso_local local_unnamed_addr global i32 0, align 4 @NM_PLAYBACK_FREERUN = dso_local local_unnamed_addr global i32 0, align 4 @NM_AUDIO_MUTE_REG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_nm256_playback_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_nm256_playback_start(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr @NM_PBUFFER_START, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.nm256_stream, ptr %1, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !9 %7 = tail call i32 @snd_nm256_writel(ptr noundef %0, i32 noundef %4, i64 noundef %6) #2 %8 = load i32, ptr @NM_PBUFFER_END, align 4, !tbaa !5 %9 = load i64, ptr %5, align 8, !tbaa !9 %10 = getelementptr inbounds %struct.nm256_stream, ptr %1, i64 0, i32 2 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = add nsw i64 %11, %9 %13 = load i32, ptr %1, align 8, !tbaa !13 %14 = shl nuw i32 1, %13 %15 = sext i32 %14 to i64 %16 = sub i64 %12, %15 %17 = tail call i32 @snd_nm256_writel(ptr noundef %0, i32 noundef %8, i64 noundef %16) #2 %18 = load i32, ptr @NM_PBUFFER_CURRP, align 4, !tbaa !5 %19 = load i64, ptr %5, align 8, !tbaa !9 %20 = tail call i32 @snd_nm256_writel(ptr noundef %0, i32 noundef %18, i64 noundef %19) #2 %21 = tail call i32 @snd_nm256_playback_mark(ptr noundef %0, ptr noundef nonnull %1) #2 %22 = load i32, ptr @NM_PLAYBACK_ENABLE_REG, align 4, !tbaa !5 %23 = load i32, ptr @NM_PLAYBACK_ENABLE_FLAG, align 4, !tbaa !5 %24 = load i32, ptr @NM_PLAYBACK_FREERUN, align 4, !tbaa !5 %25 = or i32 %24, %23 %26 = tail call i32 @snd_nm256_writeb(ptr noundef %0, i32 noundef %22, i32 noundef %25) #2 %27 = load i32, ptr @NM_AUDIO_MUTE_REG, align 4, !tbaa !5 %28 = tail call i32 @snd_nm256_writew(ptr noundef %0, i32 noundef %27, i32 noundef 0) #2 ret void } declare i32 @snd_nm256_writel(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_playback_mark(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snd_nm256_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_writew(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"nm256_stream", !6, i64 0, !11, i64 8, !11, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 16} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/nm256/extr_nm256.c_snd_nm256_playback_start.c' source_filename = "AnghaBench/linux/sound/pci/nm256/extr_nm256.c_snd_nm256_playback_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NM_PBUFFER_START = common local_unnamed_addr global i32 0, align 4 @NM_PBUFFER_END = common local_unnamed_addr global i32 0, align 4 @NM_PBUFFER_CURRP = common local_unnamed_addr global i32 0, align 4 @NM_PLAYBACK_ENABLE_REG = common local_unnamed_addr global i32 0, align 4 @NM_PLAYBACK_ENABLE_FLAG = common local_unnamed_addr global i32 0, align 4 @NM_PLAYBACK_FREERUN = common local_unnamed_addr global i32 0, align 4 @NM_AUDIO_MUTE_REG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_nm256_playback_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_nm256_playback_start(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr @NM_PBUFFER_START, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = tail call i32 @snd_nm256_writel(ptr noundef %0, i32 noundef %4, i64 noundef %6) #2 %8 = load i32, ptr @NM_PBUFFER_END, align 4, !tbaa !6 %9 = load i64, ptr %5, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %1, i64 16 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = add nsw i64 %11, %9 %13 = load i32, ptr %1, align 8, !tbaa !14 %14 = shl nuw i32 1, %13 %15 = sext i32 %14 to i64 %16 = sub i64 %12, %15 %17 = tail call i32 @snd_nm256_writel(ptr noundef %0, i32 noundef %8, i64 noundef %16) #2 %18 = load i32, ptr @NM_PBUFFER_CURRP, align 4, !tbaa !6 %19 = load i64, ptr %5, align 8, !tbaa !10 %20 = tail call i32 @snd_nm256_writel(ptr noundef %0, i32 noundef %18, i64 noundef %19) #2 %21 = tail call i32 @snd_nm256_playback_mark(ptr noundef %0, ptr noundef nonnull %1) #2 %22 = load i32, ptr @NM_PLAYBACK_ENABLE_REG, align 4, !tbaa !6 %23 = load i32, ptr @NM_PLAYBACK_ENABLE_FLAG, align 4, !tbaa !6 %24 = load i32, ptr @NM_PLAYBACK_FREERUN, align 4, !tbaa !6 %25 = or i32 %24, %23 %26 = tail call i32 @snd_nm256_writeb(ptr noundef %0, i32 noundef %22, i32 noundef %25) #2 %27 = load i32, ptr @NM_AUDIO_MUTE_REG, align 4, !tbaa !6 %28 = tail call i32 @snd_nm256_writew(ptr noundef %0, i32 noundef %27, i32 noundef 0) #2 ret void } declare i32 @snd_nm256_writel(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_playback_mark(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snd_nm256_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_writew(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"nm256_stream", !7, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 16} !14 = !{!11, !7, i64 0}
linux_sound_pci_nm256_extr_nm256.c_snd_nm256_playback_start
; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_st_pressure.h_st_press_deallocate_ring.c' source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_st_pressure.h_st_press_deallocate_ring.c" target datalayout = "e-m:e-p270:32:32-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 @st_press_deallocate_ring], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @st_press_deallocate_ring(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_st_pressure.h_st_press_deallocate_ring.c' source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_st_pressure.h_st_press_deallocate_ring.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 @st_press_deallocate_ring], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @st_press_deallocate_ring(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_iio_pressure_extr_st_pressure.h_st_press_deallocate_ring
; ModuleID = 'AnghaBench/linux/net/vmw_vsock/extr_vmci_transport.c_vmci_transport_notify_recv_post_dequeue.c' source_filename = "AnghaBench/linux/net/vmw_vsock/extr_vmci_transport.c_vmci_transport_notify_recv_post_dequeue.c" target datalayout = "e-m:e-p270:32:32-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 @vmci_transport_notify_recv_post_dequeue], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vmci_transport_notify_recv_post_dequeue(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = tail call ptr @vmci_trans(ptr noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = tail call i32 %8(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #2 ret i32 %9 } declare ptr @vmci_trans(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 = !{!11, !7, i64 0} !11 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/vmw_vsock/extr_vmci_transport.c_vmci_transport_notify_recv_post_dequeue.c' source_filename = "AnghaBench/linux/net/vmw_vsock/extr_vmci_transport.c_vmci_transport_notify_recv_post_dequeue.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 @vmci_transport_notify_recv_post_dequeue], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vmci_transport_notify_recv_post_dequeue(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = tail call ptr @vmci_trans(ptr noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = tail call i32 %8(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #2 ret i32 %9 } declare ptr @vmci_trans(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 = !{!12, !8, i64 0} !12 = !{!"TYPE_3__", !8, i64 0}
linux_net_vmw_vsock_extr_vmci_transport.c_vmci_transport_notify_recv_post_dequeue
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_em_txrx.c_em_isc_rxd_refill.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_em_txrx.c_em_isc_rxd_refill.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.adapter = type { ptr, ptr } %struct.em_rx_queue = type { %struct.rx_ring } %struct.rx_ring = type { ptr } %struct.TYPE_11__ = type { i64, i64, i64, ptr } %union.e1000_rx_desc_extended = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @em_isc_rxd_refill], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @em_isc_rxd_refill(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr %1, align 8, !tbaa !10 %6 = load ptr, ptr %0, align 8, !tbaa !13 %7 = getelementptr inbounds %struct.em_rx_queue, ptr %6, i64 %5 %8 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 3 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 2 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = icmp eq i64 %11, 0 br i1 %12, label %31, label %13 13: ; preds = %2 %14 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !16 br label %16 16: ; preds = %13, %16 %17 = phi i64 [ 0, %13 ], [ %29, %16 ] %18 = phi i64 [ %15, %13 ], [ %28, %16 ] %19 = load ptr, ptr %7, align 8, !tbaa !17 %20 = getelementptr inbounds %union.e1000_rx_desc_extended, ptr %19, i64 %18 %21 = getelementptr inbounds i32, ptr %9, i64 %17 %22 = load i32, ptr %21, align 4, !tbaa !19 %23 = tail call i32 @htole64(i32 noundef %22) #2 store i64 0, ptr %20, align 8, !tbaa !21 %24 = add i64 %18, 1 %25 = load ptr, ptr %4, align 8, !tbaa !22 %26 = load i64, ptr %25, align 8, !tbaa !24 %27 = icmp eq i64 %24, %26 %28 = select i1 %27, i64 0, i64 %24 %29 = add nuw i64 %17, 1 %30 = icmp eq i64 %29, %11 br i1 %30, label %31, label %16, !llvm.loop !25 31: ; preds = %16, %2 ret void } declare i32 @htole64(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"adapter", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_11__", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!11, !7, i64 24} !15 = !{!11, !12, i64 16} !16 = !{!11, !12, i64 8} !17 = !{!18, !7, i64 0} !18 = !{!"rx_ring", !7, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"int", !8, i64 0} !21 = !{!8, !8, i64 0} !22 = !{!23, !7, i64 0} !23 = !{!"TYPE_10__", !7, i64 0} !24 = !{!12, !12, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_em_txrx.c_em_isc_rxd_refill.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_em_txrx.c_em_isc_rxd_refill.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.em_rx_queue = type { %struct.rx_ring } %struct.rx_ring = type { ptr } %union.e1000_rx_desc_extended = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { i64 } @llvm.used = appending global [1 x ptr] [ptr @em_isc_rxd_refill], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @em_isc_rxd_refill(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr %1, align 8, !tbaa !11 %6 = load ptr, ptr %0, align 8, !tbaa !14 %7 = getelementptr inbounds %struct.em_rx_queue, ptr %6, i64 %5 %8 = getelementptr inbounds i8, ptr %1, i64 24 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = getelementptr inbounds i8, ptr %1, i64 16 %11 = load i64, ptr %10, align 8, !tbaa !16 %12 = icmp eq i64 %11, 0 br i1 %12, label %31, label %13 13: ; preds = %2 %14 = getelementptr inbounds i8, ptr %1, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !17 br label %16 16: ; preds = %13, %16 %17 = phi i64 [ 0, %13 ], [ %29, %16 ] %18 = phi i64 [ %15, %13 ], [ %28, %16 ] %19 = load ptr, ptr %7, align 8, !tbaa !18 %20 = getelementptr inbounds %union.e1000_rx_desc_extended, ptr %19, i64 %18 %21 = getelementptr inbounds i32, ptr %9, i64 %17 %22 = load i32, ptr %21, align 4, !tbaa !20 %23 = tail call i32 @htole64(i32 noundef %22) #2 store i64 0, ptr %20, align 8, !tbaa !22 %24 = add i64 %18, 1 %25 = load ptr, ptr %4, align 8, !tbaa !23 %26 = load i64, ptr %25, align 8, !tbaa !25 %27 = icmp eq i64 %24, %26 %28 = select i1 %27, i64 0, i64 %24 %29 = add nuw i64 %17, 1 %30 = icmp eq i64 %29, %11 br i1 %30, label %31, label %16, !llvm.loop !26 31: ; preds = %16, %2 ret void } declare i32 @htole64(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"adapter", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_11__", !13, i64 0, !13, i64 8, !13, i64 16, !8, i64 24} !13 = !{!"long", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!12, !8, i64 24} !16 = !{!12, !13, i64 16} !17 = !{!12, !13, i64 8} !18 = !{!19, !8, i64 0} !19 = !{!"rx_ring", !8, i64 0} !20 = !{!21, !21, i64 0} !21 = !{!"int", !9, i64 0} !22 = !{!9, !9, i64 0} !23 = !{!24, !8, i64 0} !24 = !{!"TYPE_10__", !8, i64 0} !25 = !{!13, !13, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_e1000_extr_em_txrx.c_em_isc_rxd_refill
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_hal_btcoex_LpsNotify.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_hal_btcoex_LpsNotify.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GLBtCoexist = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @hal_btcoex_LpsNotify(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @EXhalbtcoutsrc_LpsNotify(ptr noundef nonnull @GLBtCoexist, i32 noundef %1) #2 ret void } declare i32 @EXhalbtcoutsrc_LpsNotify(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_hal_btcoex_LpsNotify.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_hal_btcoex_LpsNotify.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GLBtCoexist = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @hal_btcoex_LpsNotify(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @EXhalbtcoutsrc_LpsNotify(ptr noundef nonnull @GLBtCoexist, i32 noundef %1) #2 ret void } declare i32 @EXhalbtcoutsrc_LpsNotify(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_staging_rtl8723bs_hal_extr_hal_btcoex.c_hal_btcoex_LpsNotify
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson02/1/evopen/src/extr_mini_uart.c_uart_send_string.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson02/1/evopen/src/extr_mini_uart.c_uart_send_string.c" target datalayout = "e-m:e-p270:32:32-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 @uart_send_string(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = icmp eq i8 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %5, %1 ret void 5: ; preds = %1, %5 %6 = phi i64 [ %9, %5 ], [ 0, %1 ] %7 = phi i8 [ %11, %5 ], [ %2, %1 ] %8 = tail call i32 @uart_send(i8 noundef signext %7) #2 %9 = add nuw i64 %6, 1 %10 = getelementptr inbounds i8, ptr %0, i64 %9 %11 = load i8, ptr %10, align 1, !tbaa !5 %12 = icmp eq i8 %11, 0 br i1 %12, label %4, label %5, !llvm.loop !8 } declare i32 @uart_send(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson02/1/evopen/src/extr_mini_uart.c_uart_send_string.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson02/1/evopen/src/extr_mini_uart.c_uart_send_string.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 @uart_send_string(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = icmp eq i8 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %5, %1 ret void 5: ; preds = %1, %5 %6 = phi i64 [ %9, %5 ], [ 0, %1 ] %7 = phi i8 [ %11, %5 ], [ %2, %1 ] %8 = tail call i32 @uart_send(i8 noundef signext %7) #2 %9 = add nuw nsw i64 %6, 1 %10 = getelementptr inbounds i8, ptr %0, i64 %9 %11 = load i8, ptr %10, align 1, !tbaa !6 %12 = icmp eq i8 %11, 0 br i1 %12, label %4, label %5, !llvm.loop !9 } declare i32 @uart_send(i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
raspberry-pi-os_exercises_lesson02_1_evopen_src_extr_mini_uart.c_uart_send_string
; ModuleID = 'AnghaBench/linux/scripts/kconfig/extr_gconf.c_text_insert_msg.c' source_filename = "AnghaBench/linux/scripts/kconfig/extr_gconf.c_text_insert_msg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @text_w = dso_local local_unnamed_addr global i32 0, align 4 @tag1 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @tag2 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @text_insert_msg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @text_insert_msg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @text_w, align 4, !tbaa !5 %6 = tail call i32 @GTK_TEXT_VIEW(i32 noundef %5) #3 %7 = tail call ptr @gtk_text_view_get_buffer(i32 noundef %6) #3 %8 = call i32 @gtk_text_buffer_get_bounds(ptr noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %9 = call i32 @gtk_text_buffer_delete(ptr noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %10 = load i32, ptr @text_w, align 4, !tbaa !5 %11 = call i32 @GTK_TEXT_VIEW(i32 noundef %10) #3 %12 = call i32 @gtk_text_view_set_left_margin(i32 noundef %11, i32 noundef 15) #3 %13 = call i32 @gtk_text_buffer_get_end_iter(ptr noundef %7, ptr noundef nonnull %4) #3 %14 = load i32, ptr @tag1, align 4, !tbaa !5 %15 = call i32 @gtk_text_buffer_insert_with_tags(ptr noundef %7, ptr noundef nonnull %4, ptr noundef %0, i32 noundef -1, i32 noundef %14, ptr noundef null) #3 %16 = call i32 @gtk_text_buffer_insert_at_cursor(ptr noundef %7, ptr noundef nonnull @.str, i32 noundef 2) #3 %17 = call i32 @gtk_text_buffer_get_end_iter(ptr noundef %7, ptr noundef nonnull %4) #3 %18 = load i32, ptr @tag2, align 4, !tbaa !5 %19 = call i32 @gtk_text_buffer_insert_with_tags(ptr noundef %7, ptr noundef nonnull %4, ptr noundef %1, i32 noundef -1, i32 noundef %18, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, 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 ptr @gtk_text_view_get_buffer(i32 noundef) local_unnamed_addr #2 declare i32 @GTK_TEXT_VIEW(i32 noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_get_bounds(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_delete(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gtk_text_view_set_left_margin(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_get_end_iter(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_insert_with_tags(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_insert_at_cursor(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/scripts/kconfig/extr_gconf.c_text_insert_msg.c' source_filename = "AnghaBench/linux/scripts/kconfig/extr_gconf.c_text_insert_msg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @text_w = common local_unnamed_addr global i32 0, align 4 @tag1 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @tag2 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @text_insert_msg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @text_insert_msg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @text_w, align 4, !tbaa !6 %6 = tail call i32 @GTK_TEXT_VIEW(i32 noundef %5) #3 %7 = tail call ptr @gtk_text_view_get_buffer(i32 noundef %6) #3 %8 = call i32 @gtk_text_buffer_get_bounds(ptr noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %9 = call i32 @gtk_text_buffer_delete(ptr noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %10 = load i32, ptr @text_w, align 4, !tbaa !6 %11 = call i32 @GTK_TEXT_VIEW(i32 noundef %10) #3 %12 = call i32 @gtk_text_view_set_left_margin(i32 noundef %11, i32 noundef 15) #3 %13 = call i32 @gtk_text_buffer_get_end_iter(ptr noundef %7, ptr noundef nonnull %4) #3 %14 = load i32, ptr @tag1, align 4, !tbaa !6 %15 = call i32 @gtk_text_buffer_insert_with_tags(ptr noundef %7, ptr noundef nonnull %4, ptr noundef %0, i32 noundef -1, i32 noundef %14, ptr noundef null) #3 %16 = call i32 @gtk_text_buffer_insert_at_cursor(ptr noundef %7, ptr noundef nonnull @.str, i32 noundef 2) #3 %17 = call i32 @gtk_text_buffer_get_end_iter(ptr noundef %7, ptr noundef nonnull %4) #3 %18 = load i32, ptr @tag2, align 4, !tbaa !6 %19 = call i32 @gtk_text_buffer_insert_with_tags(ptr noundef %7, ptr noundef nonnull %4, ptr noundef %1, i32 noundef -1, i32 noundef %18, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, 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 ptr @gtk_text_view_get_buffer(i32 noundef) local_unnamed_addr #2 declare i32 @GTK_TEXT_VIEW(i32 noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_get_bounds(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_delete(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gtk_text_view_set_left_margin(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_get_end_iter(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_insert_with_tags(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gtk_text_buffer_insert_at_cursor(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_scripts_kconfig_extr_gconf.c_text_insert_msg
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_name.c__hx509_name_modify.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_name.c__hx509_name_modify.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_15__ = type { i32, ptr } %struct.TYPE_17__ = type { i32, ptr } %struct.TYPE_12__ = type { %struct.TYPE_14__, i32 } %struct.TYPE_14__ = type { %struct.TYPE_13__, i32 } %struct.TYPE_13__ = type { ptr } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1 @choice_DirectoryString_utf8String = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @_hx509_name_modify(i32 noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #0 { %6 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr %1, align 8, !tbaa !13 %9 = shl i32 %8, 4 %10 = add i32 %9, 16 %11 = tail call ptr @realloc(ptr noundef %7, i32 noundef %10) #3 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %5 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %15 = tail call i32 @hx509_set_error_string(i32 noundef %0, i32 noundef 0, i32 noundef %14, ptr noundef nonnull @.str) #3 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !14 br label %51 17: ; preds = %5 store ptr %11, ptr %6, align 8, !tbaa !5 %18 = icmp eq i32 %2, 0 br i1 %18, label %23, label %19 19: ; preds = %17 %20 = load i32, ptr %1, align 8, !tbaa !13 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds %struct.TYPE_17__, ptr %11, i64 %21 br label %29 23: ; preds = %17 %24 = getelementptr inbounds %struct.TYPE_17__, ptr %11, i64 1 %25 = load i32, ptr %1, align 8, !tbaa !13 %26 = shl i32 %25, 4 %27 = tail call i32 @memmove(ptr noundef nonnull %24, ptr noundef nonnull %11, i32 noundef %26) #3 %28 = load ptr, ptr %6, align 8, !tbaa !5 br label %29 29: ; preds = %23, %19 %30 = phi ptr [ %22, %19 ], [ %28, %23 ] %31 = tail call ptr @malloc(i32 noundef 24) #3 %32 = getelementptr inbounds %struct.TYPE_17__, ptr %30, i64 0, i32 1 store ptr %31, ptr %32, align 8, !tbaa !15 %33 = icmp eq ptr %31, null br i1 %33, label %34, label %36 34: ; preds = %29 %35 = load i32, ptr @ENOMEM, align 4, !tbaa !14 br label %51 36: ; preds = %29 store i32 1, ptr %30, align 8, !tbaa !17 %37 = getelementptr inbounds %struct.TYPE_12__, ptr %31, i64 0, i32 1 %38 = tail call i32 @der_copy_oid(ptr noundef %3, ptr noundef nonnull %37) #3 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %51 40: ; preds = %36 %41 = load i32, ptr @choice_DirectoryString_utf8String, align 4, !tbaa !14 %42 = load ptr, ptr %32, align 8, !tbaa !15 %43 = getelementptr inbounds %struct.TYPE_14__, ptr %42, i64 0, i32 1 store i32 %41, ptr %43, align 8, !tbaa !18 %44 = tail call ptr @strdup(ptr noundef %4) store ptr %44, ptr %42, align 8, !tbaa !22 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %48 46: ; preds = %40 %47 = load i32, ptr @ENOMEM, align 4, !tbaa !14 br label %51 48: ; preds = %40 %49 = load i32, ptr %1, align 8, !tbaa !13 %50 = add nsw i32 %49, 1 store i32 %50, ptr %1, align 8, !tbaa !13 br label %51 51: ; preds = %36, %48, %46, %34, %13 %52 = phi i32 [ %16, %13 ], [ %35, %34 ], [ %47, %46 ], [ 0, %48 ], [ %38, %36 ] ret i32 %52 } declare ptr @realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hx509_set_error_string(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @der_copy_oid(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 8} !6 = !{!"TYPE_18__", !7, i64 0} !7 = !{!"TYPE_16__", !8, i64 0} !8 = !{!"TYPE_15__", !9, i64 0, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!6, !9, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!16, !12, i64 8} !16 = !{!"TYPE_17__", !9, i64 0, !12, i64 8} !17 = !{!16, !9, i64 0} !18 = !{!19, !9, i64 8} !19 = !{!"TYPE_12__", !20, i64 0, !9, i64 16} !20 = !{!"TYPE_14__", !21, i64 0, !9, i64 8} !21 = !{!"TYPE_13__", !12, i64 0} !22 = !{!19, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_name.c__hx509_name_modify.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_name.c__hx509_name_modify.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_17__ = type { i32, ptr } @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1 @choice_DirectoryString_utf8String = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @_hx509_name_modify(i32 noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #0 { %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr %1, align 8, !tbaa !14 %9 = shl i32 %8, 4 %10 = add i32 %9, 16 %11 = tail call ptr @realloc(ptr noundef %7, i32 noundef %10) #3 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %5 %14 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %15 = tail call i32 @hx509_set_error_string(i32 noundef %0, i32 noundef 0, i32 noundef %14, ptr noundef nonnull @.str) #3 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !15 br label %51 17: ; preds = %5 store ptr %11, ptr %6, align 8, !tbaa !6 %18 = icmp eq i32 %2, 0 br i1 %18, label %23, label %19 19: ; preds = %17 %20 = load i32, ptr %1, align 8, !tbaa !14 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds %struct.TYPE_17__, ptr %11, i64 %21 br label %29 23: ; preds = %17 %24 = getelementptr inbounds i8, ptr %11, i64 16 %25 = load i32, ptr %1, align 8, !tbaa !14 %26 = shl i32 %25, 4 %27 = tail call i32 @memmove(ptr noundef nonnull %24, ptr noundef nonnull %11, i32 noundef %26) #3 %28 = load ptr, ptr %6, align 8, !tbaa !6 br label %29 29: ; preds = %23, %19 %30 = phi ptr [ %22, %19 ], [ %28, %23 ] %31 = tail call ptr @malloc(i32 noundef 24) #3 %32 = getelementptr inbounds i8, ptr %30, i64 8 store ptr %31, ptr %32, align 8, !tbaa !16 %33 = icmp eq ptr %31, null br i1 %33, label %34, label %36 34: ; preds = %29 %35 = load i32, ptr @ENOMEM, align 4, !tbaa !15 br label %51 36: ; preds = %29 store i32 1, ptr %30, align 8, !tbaa !18 %37 = getelementptr inbounds i8, ptr %31, i64 16 %38 = tail call i32 @der_copy_oid(ptr noundef %3, ptr noundef nonnull %37) #3 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %51 40: ; preds = %36 %41 = load i32, ptr @choice_DirectoryString_utf8String, align 4, !tbaa !15 %42 = load ptr, ptr %32, align 8, !tbaa !16 %43 = getelementptr inbounds i8, ptr %42, i64 8 store i32 %41, ptr %43, align 8, !tbaa !19 %44 = tail call ptr @strdup(ptr noundef %4) store ptr %44, ptr %42, align 8, !tbaa !23 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %48 46: ; preds = %40 %47 = load i32, ptr @ENOMEM, align 4, !tbaa !15 br label %51 48: ; preds = %40 %49 = load i32, ptr %1, align 8, !tbaa !14 %50 = add nsw i32 %49, 1 store i32 %50, ptr %1, align 8, !tbaa !14 br label %51 51: ; preds = %36, %48, %46, %34, %13 %52 = phi i32 [ %16, %13 ], [ %35, %34 ], [ %47, %46 ], [ 0, %48 ], [ %38, %36 ] ret i32 %52 } declare ptr @realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hx509_set_error_string(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @der_copy_oid(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 8} !7 = !{!"TYPE_18__", !8, i64 0} !8 = !{!"TYPE_16__", !9, i64 0} !9 = !{!"TYPE_15__", !10, i64 0, !13, i64 8} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"any pointer", !11, i64 0} !14 = !{!7, !10, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!17, !13, i64 8} !17 = !{!"TYPE_17__", !10, i64 0, !13, i64 8} !18 = !{!17, !10, i64 0} !19 = !{!20, !10, i64 8} !20 = !{!"TYPE_12__", !21, i64 0, !10, i64 16} !21 = !{!"TYPE_14__", !22, i64 0, !10, i64 8} !22 = !{!"TYPE_13__", !13, i64 0} !23 = !{!20, !13, i64 0}
freebsd_crypto_heimdal_lib_hx509_extr_name.c__hx509_name_modify
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_cfq_group_service_tree_add.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_cfq_group_service_tree_add.c" target datalayout = "e-m:e-p270:32:32-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.cfq_group = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @cfq_group_service_tree_add], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cfq_group_service_tree_add(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.cfq_group, ptr %1, i64 0, i32 1 %4 = tail call i32 @RB_EMPTY_NODE(ptr noundef nonnull %3) #2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @BUG_ON(i32 noundef %6) #2 %8 = tail call i32 @cfq_update_group_weight(ptr noundef %1) #2 %9 = tail call i32 @__cfq_group_service_tree_add(ptr noundef %0, ptr noundef %1) #2 %10 = load i64, ptr %1, align 8, !tbaa !5 %11 = load i32, ptr %0, align 4, !tbaa !11 %12 = trunc i64 %10 to i32 %13 = add i32 %11, %12 store i32 %13, ptr %0, align 4, !tbaa !11 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @RB_EMPTY_NODE(ptr noundef) local_unnamed_addr #1 declare i32 @cfq_update_group_weight(ptr noundef) local_unnamed_addr #1 declare i32 @__cfq_group_service_tree_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"cfq_group", !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 = !{!"cfq_rb_root", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_cfq_group_service_tree_add.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_cfq_group_service_tree_add.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 @cfq_group_service_tree_add], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cfq_group_service_tree_add(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = tail call i32 @RB_EMPTY_NODE(ptr noundef nonnull %3) #2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @BUG_ON(i32 noundef %6) #2 %8 = tail call i32 @cfq_update_group_weight(ptr noundef %1) #2 %9 = tail call i32 @__cfq_group_service_tree_add(ptr noundef %0, ptr noundef %1) #2 %10 = load i64, ptr %1, align 8, !tbaa !6 %11 = load i32, ptr %0, align 4, !tbaa !12 %12 = trunc i64 %10 to i32 %13 = add i32 %11, %12 store i32 %13, ptr %0, align 4, !tbaa !12 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @RB_EMPTY_NODE(ptr noundef) local_unnamed_addr #1 declare i32 @cfq_update_group_weight(ptr noundef) local_unnamed_addr #1 declare i32 @__cfq_group_service_tree_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"cfq_group", !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 = !{!"cfq_rb_root", !11, i64 0}
fastsocket_kernel_block_extr_cfq-iosched.c_cfq_group_service_tree_add
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_rtmutex-debug.c_printk_task.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_rtmutex-debug.c_printk_task.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.task_struct = type { i32, i32 } @.str = private unnamed_addr constant [19 x i8] c"%16s:%5d [%p, %3d]\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"<none>\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @printk_task], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @printk_task(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.task_struct, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @task_pid_nr(ptr noundef nonnull %0) #2 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %6, ptr noundef nonnull %0, i32 noundef %7) #2 br label %11 9: ; preds = %1 %10 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1) #2 br label %11 11: ; preds = %9, %3 ret void } declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1 declare i32 @task_pid_nr(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"task_struct", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_rtmutex-debug.c_printk_task.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_rtmutex-debug.c_printk_task.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [19 x i8] c"%16s:%5d [%p, %3d]\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"<none>\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @printk_task], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @printk_task(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @task_pid_nr(ptr noundef nonnull %0) #2 %7 = load i32, ptr %0, align 4, !tbaa !11 %8 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %6, ptr noundef nonnull %0, i32 noundef %7) #2 br label %11 9: ; preds = %1 %10 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1) #2 br label %11 11: ; preds = %9, %3 ret void } declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1 declare i32 @task_pid_nr(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"task_struct", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
fastsocket_kernel_kernel_extr_rtmutex-debug.c_printk_task
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_acornscsi.c_acornscsi_abortcmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_acornscsi.c_acornscsi_abortcmd.c" target datalayout = "e-m:e-p270:32:32-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 } @PHASE_ABORTED = dso_local local_unnamed_addr global i32 0, align 4 @SBIC_CMND = dso_local local_unnamed_addr global i32 0, align 4 @CMND_ASSERTATN = dso_local local_unnamed_addr global i32 0, align 4 @ABORT = dso_local local_unnamed_addr global i32 0, align 4 @ABORT_TAG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @acornscsi_abortcmd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @acornscsi_abortcmd(ptr noundef %0, i8 zeroext %1) #0 { %3 = load i32, ptr @PHASE_ABORTED, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 store i32 %3, ptr %4, align 4, !tbaa !9 %5 = load i32, ptr @SBIC_CMND, align 4, !tbaa !5 %6 = load i32, ptr @CMND_ASSERTATN, align 4, !tbaa !5 %7 = tail call i32 @sbic_arm_write(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2 %8 = tail call i32 @msgqueue_flush(ptr noundef %0) #2 %9 = load i32, ptr @ABORT, align 4, !tbaa !5 %10 = tail call i32 (ptr, i32, i32, ...) @msgqueue_addmsg(ptr noundef %0, i32 noundef 1, i32 noundef %9) #2 ret void } declare i32 @sbic_arm_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msgqueue_flush(ptr noundef) local_unnamed_addr #1 declare i32 @msgqueue_addmsg(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"TYPE_5__", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_acornscsi.c_acornscsi_abortcmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_acornscsi.c_acornscsi_abortcmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PHASE_ABORTED = common local_unnamed_addr global i32 0, align 4 @SBIC_CMND = common local_unnamed_addr global i32 0, align 4 @CMND_ASSERTATN = common local_unnamed_addr global i32 0, align 4 @ABORT = common local_unnamed_addr global i32 0, align 4 @ABORT_TAG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @acornscsi_abortcmd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @acornscsi_abortcmd(ptr noundef %0, i8 zeroext %1) #0 { %3 = load i32, ptr @PHASE_ABORTED, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %3, ptr %4, align 4, !tbaa !10 %5 = load i32, ptr @SBIC_CMND, align 4, !tbaa !6 %6 = load i32, ptr @CMND_ASSERTATN, align 4, !tbaa !6 %7 = tail call i32 @sbic_arm_write(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2 %8 = tail call i32 @msgqueue_flush(ptr noundef %0) #2 %9 = load i32, ptr @ABORT, align 4, !tbaa !6 %10 = tail call i32 (ptr, i32, i32, ...) @msgqueue_addmsg(ptr noundef %0, i32 noundef 1, i32 noundef %9) #2 ret void } declare i32 @sbic_arm_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msgqueue_flush(ptr noundef) local_unnamed_addr #1 declare i32 @msgqueue_addmsg(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !7, i64 0, !7, i64 4}
fastsocket_kernel_drivers_scsi_arm_extr_acornscsi.c_acornscsi_abortcmd
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_stats.c_rpc_count_iostats.c' source_filename = "AnghaBench/linux/net/sunrpc/extr_stats.c_rpc_count_iostats.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.rpc_iostats = type { i32 } ; Function Attrs: nounwind uwtable define dso_local void @rpc_count_iostats(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr %3, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.rpc_iostats, ptr %1, i64 %4 %6 = tail call i32 @rpc_count_iostats_metrics(ptr noundef nonnull %0, ptr noundef %5) #2 ret void } declare i32 @rpc_count_iostats_metrics(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, !8, i64 0} !6 = !{!"rpc_task", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"long", !9, i64 0}
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_stats.c_rpc_count_iostats.c' source_filename = "AnghaBench/linux/net/sunrpc/extr_stats.c_rpc_count_iostats.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.rpc_iostats = type { i32 } ; Function Attrs: nounwind ssp uwtable(sync) define void @rpc_count_iostats(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr %3, align 8, !tbaa !12 %5 = getelementptr inbounds %struct.rpc_iostats, ptr %1, i64 %4 %6 = tail call i32 @rpc_count_iostats_metrics(ptr noundef nonnull %0, ptr noundef %5) #2 ret void } declare i32 @rpc_count_iostats_metrics(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, !9, i64 0} !7 = !{!"rpc_task", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"long", !10, i64 0}
linux_net_sunrpc_extr_stats.c_rpc_count_iostats
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data.c_bhnd_nvram_data_probe_classes.c' source_filename = "AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data.c_bhnd_nvram_data_probe_classes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @bhnd_nvram_data_class_set = dso_local local_unnamed_addr global i32 0, align 4 @BHND_NVRAM_DATA_PROBE_MAYBE = dso_local local_unnamed_addr global i32 0, align 4 @BHND_NVRAM_DATA_PROBE_SPECIFIC = dso_local local_unnamed_addr global i32 0, align 4 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @bhnd_nvram_data_probe_classes(ptr noundef %0, ptr noundef %1, ptr noundef readonly %2, i64 noundef %3) local_unnamed_addr #0 { store ptr null, ptr %0, align 8, !tbaa !5 %5 = icmp eq ptr %2, null br i1 %5, label %6, label %11 6: ; preds = %4 %7 = load i32, ptr @bhnd_nvram_data_class_set, align 4, !tbaa !9 %8 = tail call ptr @SET_BEGIN(i32 noundef %7) #2 %9 = load i32, ptr @bhnd_nvram_data_class_set, align 4, !tbaa !9 %10 = tail call i64 @SET_COUNT(i32 noundef %9) #2 br label %11 11: ; preds = %6, %4 %12 = phi i64 [ %10, %6 ], [ %3, %4 ] %13 = phi ptr [ %8, %6 ], [ %2, %4 ] %14 = icmp eq i64 %12, 0 br i1 %14, label %49, label %15 15: ; preds = %11, %41 %16 = phi i64 [ %44, %41 ], [ 0, %11 ] %17 = phi i32 [ %43, %41 ], [ 0, %11 ] %18 = phi ptr [ %42, %41 ], [ null, %11 ] %19 = getelementptr inbounds ptr, ptr %13, i64 %16 %20 = load ptr, ptr %19, align 8, !tbaa !5 %21 = tail call i32 @bhnd_nvram_data_probe(ptr noundef %20, ptr noundef %1) #2 %22 = icmp sgt i32 %21, 0 br i1 %22, label %41, label %23 23: ; preds = %15 %24 = icmp eq ptr %18, null %25 = icmp sgt i32 %21, %17 %26 = select i1 %24, i1 true, i1 %25 br i1 %26, label %27, label %41 27: ; preds = %23 %28 = load ptr, ptr %0, align 8, !tbaa !5 %29 = icmp eq ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %27 %31 = tail call i32 @bhnd_nvram_data_release(ptr noundef nonnull %28) #2 store ptr null, ptr %0, align 8, !tbaa !5 br label %32 32: ; preds = %30, %27 %33 = load i32, ptr @BHND_NVRAM_DATA_PROBE_MAYBE, align 4, !tbaa !9 %34 = icmp sgt i32 %21, %33 br i1 %34, label %38, label %35 35: ; preds = %32 %36 = tail call i32 @bhnd_nvram_data_new(ptr noundef %20, ptr noundef nonnull %0, ptr noundef %1) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35, %32 %39 = load i32, ptr @BHND_NVRAM_DATA_PROBE_SPECIFIC, align 4, !tbaa !9 %40 = icmp eq i32 %21, %39 br i1 %40, label %46, label %41 41: ; preds = %15, %23, %35, %38 %42 = phi ptr [ %20, %38 ], [ %18, %35 ], [ %18, %23 ], [ %18, %15 ] %43 = phi i32 [ %21, %38 ], [ %17, %35 ], [ %17, %23 ], [ %17, %15 ] %44 = add nuw i64 %16, 1 %45 = icmp eq i64 %44, %12 br i1 %45, label %46, label %15, !llvm.loop !11 46: ; preds = %41, %38 %47 = phi ptr [ %42, %41 ], [ %20, %38 ] %48 = icmp eq ptr %47, null br i1 %48, label %49, label %51 49: ; preds = %11, %46 %50 = load i32, ptr @ENXIO, align 4, !tbaa !9 br label %58 51: ; preds = %46 %52 = load ptr, ptr %0, align 8, !tbaa !5 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %57 54: ; preds = %51 %55 = tail call i32 @bhnd_nvram_data_new(ptr noundef nonnull %47, ptr noundef nonnull %0, ptr noundef %1) #2 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %58 57: ; preds = %54, %51 br label %58 58: ; preds = %54, %57, %49 %59 = phi i32 [ %50, %49 ], [ 0, %57 ], [ %55, %54 ] ret i32 %59 } declare ptr @SET_BEGIN(i32 noundef) local_unnamed_addr #1 declare i64 @SET_COUNT(i32 noundef) local_unnamed_addr #1 declare i32 @bhnd_nvram_data_probe(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bhnd_nvram_data_release(ptr noundef) local_unnamed_addr #1 declare i32 @bhnd_nvram_data_new(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data.c_bhnd_nvram_data_probe_classes.c' source_filename = "AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data.c_bhnd_nvram_data_probe_classes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bhnd_nvram_data_class_set = common local_unnamed_addr global i32 0, align 4 @BHND_NVRAM_DATA_PROBE_MAYBE = common local_unnamed_addr global i32 0, align 4 @BHND_NVRAM_DATA_PROBE_SPECIFIC = common local_unnamed_addr global i32 0, align 4 @ENXIO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @bhnd_nvram_data_probe_classes(ptr noundef %0, ptr noundef %1, ptr noundef readonly %2, i64 noundef %3) local_unnamed_addr #0 { store ptr null, ptr %0, align 8, !tbaa !6 %5 = icmp eq ptr %2, null br i1 %5, label %6, label %11 6: ; preds = %4 %7 = load i32, ptr @bhnd_nvram_data_class_set, align 4, !tbaa !10 %8 = tail call ptr @SET_BEGIN(i32 noundef %7) #2 %9 = load i32, ptr @bhnd_nvram_data_class_set, align 4, !tbaa !10 %10 = tail call i64 @SET_COUNT(i32 noundef %9) #2 br label %11 11: ; preds = %6, %4 %12 = phi i64 [ %10, %6 ], [ %3, %4 ] %13 = phi ptr [ %8, %6 ], [ %2, %4 ] %14 = icmp eq i64 %12, 0 br i1 %14, label %49, label %15 15: ; preds = %11, %41 %16 = phi i64 [ %44, %41 ], [ 0, %11 ] %17 = phi i32 [ %43, %41 ], [ 0, %11 ] %18 = phi ptr [ %42, %41 ], [ null, %11 ] %19 = getelementptr inbounds ptr, ptr %13, i64 %16 %20 = load ptr, ptr %19, align 8, !tbaa !6 %21 = tail call i32 @bhnd_nvram_data_probe(ptr noundef %20, ptr noundef %1) #2 %22 = icmp sgt i32 %21, 0 br i1 %22, label %41, label %23 23: ; preds = %15 %24 = icmp eq ptr %18, null %25 = icmp sgt i32 %21, %17 %26 = select i1 %24, i1 true, i1 %25 br i1 %26, label %27, label %41 27: ; preds = %23 %28 = load ptr, ptr %0, align 8, !tbaa !6 %29 = icmp eq ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %27 %31 = tail call i32 @bhnd_nvram_data_release(ptr noundef nonnull %28) #2 store ptr null, ptr %0, align 8, !tbaa !6 br label %32 32: ; preds = %30, %27 %33 = load i32, ptr @BHND_NVRAM_DATA_PROBE_MAYBE, align 4, !tbaa !10 %34 = icmp sgt i32 %21, %33 br i1 %34, label %38, label %35 35: ; preds = %32 %36 = tail call i32 @bhnd_nvram_data_new(ptr noundef %20, ptr noundef nonnull %0, ptr noundef %1) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35, %32 %39 = load i32, ptr @BHND_NVRAM_DATA_PROBE_SPECIFIC, align 4, !tbaa !10 %40 = icmp eq i32 %21, %39 br i1 %40, label %46, label %41 41: ; preds = %15, %23, %35, %38 %42 = phi ptr [ %20, %38 ], [ %18, %35 ], [ %18, %23 ], [ %18, %15 ] %43 = phi i32 [ %21, %38 ], [ %17, %35 ], [ %17, %23 ], [ %17, %15 ] %44 = add nuw i64 %16, 1 %45 = icmp eq i64 %44, %12 br i1 %45, label %46, label %15, !llvm.loop !12 46: ; preds = %41, %38 %47 = phi ptr [ %42, %41 ], [ %20, %38 ] %48 = icmp eq ptr %47, null br i1 %48, label %49, label %51 49: ; preds = %11, %46 %50 = load i32, ptr @ENXIO, align 4, !tbaa !10 br label %58 51: ; preds = %46 %52 = load ptr, ptr %0, align 8, !tbaa !6 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %57 54: ; preds = %51 %55 = tail call i32 @bhnd_nvram_data_new(ptr noundef nonnull %47, ptr noundef nonnull %0, ptr noundef %1) #2 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %58 57: ; preds = %54, %51 br label %58 58: ; preds = %54, %57, %49 %59 = phi i32 [ %50, %49 ], [ 0, %57 ], [ %55, %54 ] ret i32 %59 } declare ptr @SET_BEGIN(i32 noundef) local_unnamed_addr #1 declare i64 @SET_COUNT(i32 noundef) local_unnamed_addr #1 declare i32 @bhnd_nvram_data_probe(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bhnd_nvram_data_release(ptr noundef) local_unnamed_addr #1 declare i32 @bhnd_nvram_data_new(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_bhnd_nvram_extr_bhnd_nvram_data.c_bhnd_nvram_data_probe_classes
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_bsg.c_lpfc_bsg_rport_els.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_bsg.c_lpfc_bsg_rport_els.c" target datalayout = "e-m:e-p270:32:32-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.bsg_job = type { ptr, %struct.TYPE_12__, ptr, ptr } %struct.TYPE_12__ = type { i64, i32, i32 } %struct.fc_bsg_reply = type { i32, i64 } %struct.lpfc_nodelist = type { i64, %struct.TYPE_17__, ptr, i32, i32 } %struct.TYPE_17__ = type { %struct.TYPE_16__ } %struct.TYPE_16__ = type { ptr, ptr, ptr } %struct.lpfc_iocbq = type { i32, ptr, i32, %struct.TYPE_15__, %struct.TYPE_14__, i64 } %struct.TYPE_15__ = type { ptr } %struct.TYPE_14__ = type { i64 } %struct.lpfc_hba = type { i64, i32, i32, i32, %struct.TYPE_13__ } %struct.TYPE_13__ = type { ptr } %struct.bsg_job_data = type { i64, %struct.TYPE_17__, ptr, i32, i32 } @FCELSSIZE = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @KERN_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @LOG_LIBDFC = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"2735 Failed allocation of dd_data\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_SLI_REV4 = dso_local local_unnamed_addr global i64 0, align 8 @LPFC_IO_LIBDFC = dso_local local_unnamed_addr global i32 0, align 4 @lpfc_bsg_rport_els_cmp = dso_local local_unnamed_addr global i32 0, align 4 @TYPE_IOCB = dso_local local_unnamed_addr global i32 0, align 4 @DISABLE_FCP_RING_INT = dso_local local_unnamed_addr global i32 0, align 4 @HC_R0INT_ENA = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_FCP_RING = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_ELS_RING = dso_local local_unnamed_addr global i32 0, align 4 @IOCB_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_IO_CMD_OUTSTANDING = dso_local local_unnamed_addr global i32 0, align 4 @IOCB_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_bsg_rport_els], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lpfc_bsg_rport_els(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call i32 @fc_bsg_to_shost(ptr noundef %0) #3 %4 = tail call ptr @shost_priv(i32 noundef %3) #3 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call ptr @fc_bsg_to_rport(ptr noundef %0) #3 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.bsg_job, ptr %0, i64 0, i32 3 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = getelementptr inbounds %struct.bsg_job, ptr %0, i64 0, i32 2 %12 = load ptr, ptr %11, align 8, !tbaa !19 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %13 = getelementptr inbounds %struct.fc_bsg_reply, ptr %12, i64 0, i32 1 store i64 0, ptr %13, align 8, !tbaa !20 %14 = getelementptr inbounds %struct.bsg_job, ptr %0, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !22 %16 = load i64, ptr @FCELSSIZE, align 8, !tbaa !23 %17 = icmp sgt i64 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %1 %19 = load i32, ptr @EINVAL, align 4, !tbaa !24 br label %133 20: ; preds = %1 %21 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !24 %22 = tail call ptr @kmalloc(i32 noundef 48, i32 noundef %21) #3 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %29 24: ; preds = %20 %25 = load i32, ptr @KERN_WARNING, align 4, !tbaa !24 %26 = load i32, ptr @LOG_LIBDFC, align 4, !tbaa !24 %27 = tail call i32 @lpfc_printf_log(ptr noundef %5, i32 noundef %25, i32 noundef %26, ptr noundef nonnull @.str) #3 %28 = load i32, ptr @ENOMEM, align 4, !tbaa !24 br label %133 29: ; preds = %20 %30 = load i32, ptr %10, align 4, !tbaa !25 %31 = load i64, ptr %14, align 8, !tbaa !22 %32 = trunc i64 %31 to i32 %33 = tail call i32 @lpfc_nlp_get(ptr noundef %8) #3 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = load i32, ptr @ENODEV, align 4, !tbaa !24 br label %130 37: ; preds = %29 %38 = getelementptr inbounds %struct.lpfc_nodelist, ptr %8, i64 0, i32 4 %39 = load i32, ptr %38, align 4, !tbaa !29 %40 = tail call ptr @lpfc_prep_els_iocb(ptr noundef nonnull %4, i32 noundef 1, i32 noundef %32, i32 noundef 0, ptr noundef %8, i32 noundef %39, i32 noundef %30) #3 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %44 42: ; preds = %37 %43 = load i32, ptr @EIO, align 4, !tbaa !24 br label %127 44: ; preds = %37 %45 = load i64, ptr %8, align 8, !tbaa !33 %46 = getelementptr inbounds %struct.bsg_job, ptr %0, i64 0, i32 1, i32 2 %47 = load i32, ptr %46, align 4, !tbaa !34 %48 = getelementptr inbounds %struct.bsg_job, ptr %0, i64 0, i32 1, i32 1 %49 = load i32, ptr %48, align 8, !tbaa !35 %50 = getelementptr inbounds %struct.lpfc_iocbq, ptr %40, i64 0, i32 5 %51 = load i64, ptr %50, align 8, !tbaa !36 %52 = inttoptr i64 %51 to ptr %53 = load i32, ptr %52, align 4, !tbaa !40 %54 = tail call i32 @sg_copy_to_buffer(i32 noundef %47, i32 noundef %49, i32 noundef %53, i32 noundef %32) #3 %55 = load i64, ptr %5, align 8, !tbaa !42 %56 = load i64, ptr @LPFC_SLI_REV4, align 8, !tbaa !23 %57 = icmp eq i64 %55, %56 br i1 %57, label %58, label %63 58: ; preds = %44 %59 = getelementptr inbounds %struct.lpfc_hba, ptr %5, i64 0, i32 4 %60 = load ptr, ptr %59, align 8, !tbaa !45 %61 = getelementptr inbounds i64, ptr %60, i64 %45 %62 = load i64, ptr %61, align 8, !tbaa !23 br label %63 63: ; preds = %44, %58 %64 = phi i64 [ %62, %58 ], [ %45, %44 ] %65 = getelementptr inbounds %struct.lpfc_iocbq, ptr %40, i64 0, i32 4 store i64 %64, ptr %65, align 8 %66 = load i32, ptr @LPFC_IO_LIBDFC, align 4, !tbaa !24 %67 = load i32, ptr %40, align 8, !tbaa !46 %68 = or i32 %67, %66 store i32 %68, ptr %40, align 8, !tbaa !46 %69 = getelementptr inbounds %struct.lpfc_iocbq, ptr %40, i64 0, i32 1 store ptr %22, ptr %69, align 8, !tbaa !47 %70 = getelementptr inbounds %struct.lpfc_iocbq, ptr %40, i64 0, i32 3 store ptr %8, ptr %70, align 8, !tbaa !48 %71 = load i32, ptr @lpfc_bsg_rport_els_cmp, align 4, !tbaa !24 %72 = getelementptr inbounds %struct.lpfc_iocbq, ptr %40, i64 0, i32 2 store i32 %71, ptr %72, align 8, !tbaa !49 %73 = load i32, ptr @TYPE_IOCB, align 4, !tbaa !24 %74 = getelementptr inbounds %struct.bsg_job_data, ptr %22, i64 0, i32 3 store i32 %73, ptr %74, align 8, !tbaa !50 %75 = getelementptr inbounds %struct.bsg_job_data, ptr %22, i64 0, i32 2 store ptr %0, ptr %75, align 8, !tbaa !52 %76 = getelementptr inbounds %struct.bsg_job_data, ptr %22, i64 0, i32 1 %77 = getelementptr inbounds %struct.bsg_job_data, ptr %22, i64 0, i32 1, i32 0, i32 2 store ptr %40, ptr %77, align 8, !tbaa !53 %78 = getelementptr inbounds %struct.bsg_job_data, ptr %22, i64 0, i32 1, i32 0, i32 1 store ptr %8, ptr %78, align 8, !tbaa !54 store ptr null, ptr %76, align 8, !tbaa !55 store ptr %22, ptr %0, align 8, !tbaa !56 %79 = getelementptr inbounds %struct.lpfc_hba, ptr %5, i64 0, i32 1 %80 = load i32, ptr %79, align 8, !tbaa !57 %81 = load i32, ptr @DISABLE_FCP_RING_INT, align 4, !tbaa !24 %82 = and i32 %81, %80 %83 = icmp eq i32 %82, 0 br i1 %83, label %101, label %84 84: ; preds = %63 %85 = getelementptr inbounds %struct.lpfc_hba, ptr %5, i64 0, i32 3 %86 = load i32, ptr %85, align 8, !tbaa !58 %87 = call i64 @lpfc_readl(i32 noundef %86, ptr noundef nonnull %2) #3 %88 = icmp eq i64 %87, 0 br i1 %88, label %91, label %89 89: ; preds = %84 %90 = load i32, ptr @EIO, align 4, !tbaa !24 br label %124 91: ; preds = %84 %92 = load i32, ptr @HC_R0INT_ENA, align 4, !tbaa !24 %93 = load i32, ptr @LPFC_FCP_RING, align 4, !tbaa !24 %94 = shl i32 %92, %93 %95 = load i32, ptr %2, align 4, !tbaa !24 %96 = or i32 %95, %94 store i32 %96, ptr %2, align 4, !tbaa !24 %97 = load i32, ptr %85, align 8, !tbaa !58 %98 = call i32 @writel(i32 noundef %96, i32 noundef %97) #3 %99 = load i32, ptr %85, align 8, !tbaa !58 %100 = call i32 @readl(i32 noundef %99) #3 br label %101 101: ; preds = %91, %63 %102 = load i32, ptr @LPFC_ELS_RING, align 4, !tbaa !24 %103 = call i32 @lpfc_sli_issue_iocb(ptr noundef nonnull %5, i32 noundef %102, ptr noundef nonnull %40, i32 noundef 0) #3 %104 = load i32, ptr @IOCB_SUCCESS, align 4, !tbaa !24 %105 = icmp eq i32 %103, %104 br i1 %105, label %106, label %118 106: ; preds = %101 %107 = getelementptr inbounds %struct.lpfc_hba, ptr %5, i64 0, i32 2 %108 = call i32 @spin_lock_irqsave(ptr noundef nonnull %107, i64 noundef undef) #3 %109 = load i32, ptr %40, align 8, !tbaa !46 %110 = load i32, ptr @LPFC_IO_LIBDFC, align 4, !tbaa !24 %111 = and i32 %110, %109 %112 = icmp eq i32 %111, 0 br i1 %112, label %116, label %113 113: ; preds = %106 %114 = load i32, ptr @LPFC_IO_CMD_OUTSTANDING, align 4, !tbaa !24 %115 = or i32 %114, %109 store i32 %115, ptr %40, align 8, !tbaa !46 br label %116 116: ; preds = %113, %106 %117 = call i32 @spin_unlock_irqrestore(ptr noundef nonnull %107, i64 noundef undef) #3 br label %136 118: ; preds = %101 %119 = load i32, ptr @IOCB_BUSY, align 4, !tbaa !24 %120 = icmp eq i32 %103, %119 %121 = load i32, ptr @EAGAIN, align 4 %122 = load i32, ptr @EIO, align 4 %123 = select i1 %120, i32 %121, i32 %122 store ptr null, ptr %0, align 8, !tbaa !56 br label %124 124: ; preds = %118, %89 %125 = phi i32 [ %90, %89 ], [ %123, %118 ] store ptr %8, ptr %69, align 8, !tbaa !47 %126 = call i32 @lpfc_els_free_iocb(ptr noundef nonnull %5, ptr noundef nonnull %40) #3 br label %127 127: ; preds = %124, %42 %128 = phi i32 [ %125, %124 ], [ %43, %42 ] %129 = call i32 @lpfc_nlp_put(ptr noundef nonnull %8) #3 br label %130 130: ; preds = %127, %35 %131 = phi i32 [ %128, %127 ], [ %36, %35 ] %132 = call i32 @kfree(ptr noundef nonnull %22) #3 br label %133 133: ; preds = %130, %24, %18 %134 = phi i32 [ %19, %18 ], [ %131, %130 ], [ %28, %24 ] %135 = sub nsw i32 0, %134 store i32 %135, ptr %12, align 8, !tbaa !59 store ptr null, ptr %0, align 8, !tbaa !56 br label %136 136: ; preds = %133, %116 %137 = phi i32 [ %135, %133 ], [ 0, %116 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %137 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @shost_priv(i32 noundef) local_unnamed_addr #2 declare i32 @fc_bsg_to_shost(ptr noundef) local_unnamed_addr #2 declare ptr @fc_bsg_to_rport(ptr noundef) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lpfc_printf_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lpfc_nlp_get(ptr noundef) local_unnamed_addr #2 declare ptr @lpfc_prep_els_iocb(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sg_copy_to_buffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @lpfc_readl(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @readl(i32 noundef) local_unnamed_addr #2 declare i32 @lpfc_sli_issue_iocb(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @lpfc_els_free_iocb(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lpfc_nlp_put(ptr noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"lpfc_vport", !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_18__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"lpfc_rport_data", !7, i64 0} !14 = !{!15, !7, i64 32} !15 = !{!"bsg_job", !7, i64 0, !16, i64 8, !7, i64 24, !7, i64 32} !16 = !{!"TYPE_12__", !17, i64 0, !18, i64 8, !18, i64 12} !17 = !{!"long", !8, i64 0} !18 = !{!"int", !8, i64 0} !19 = !{!15, !7, i64 24} !20 = !{!21, !17, i64 8} !21 = !{!"fc_bsg_reply", !18, i64 0, !17, i64 8} !22 = !{!15, !17, i64 8} !23 = !{!17, !17, i64 0} !24 = !{!18, !18, i64 0} !25 = !{!26, !18, i64 0} !26 = !{!"fc_bsg_request", !27, i64 0} !27 = !{!"TYPE_11__", !28, i64 0} !28 = !{!"TYPE_10__", !18, i64 0} !29 = !{!30, !18, i64 44} !30 = !{!"lpfc_nodelist", !17, i64 0, !31, i64 8, !7, i64 32, !18, i64 40, !18, i64 44} !31 = !{!"TYPE_17__", !32, i64 0} !32 = !{!"TYPE_16__", !7, i64 0, !7, i64 8, !7, i64 16} !33 = !{!30, !17, i64 0} !34 = !{!15, !18, i64 20} !35 = !{!15, !18, i64 16} !36 = !{!37, !17, i64 40} !37 = !{!"lpfc_iocbq", !18, i64 0, !7, i64 8, !18, i64 16, !38, i64 24, !39, i64 32, !17, i64 40} !38 = !{!"TYPE_15__", !7, i64 0} !39 = !{!"TYPE_14__", !17, i64 0} !40 = !{!41, !18, i64 0} !41 = !{!"lpfc_dmabuf", !18, i64 0} !42 = !{!43, !17, i64 0} !43 = !{!"lpfc_hba", !17, i64 0, !18, i64 8, !18, i64 12, !18, i64 16, !44, i64 24} !44 = !{!"TYPE_13__", !7, i64 0} !45 = !{!43, !7, i64 24} !46 = !{!37, !18, i64 0} !47 = !{!37, !7, i64 8} !48 = !{!37, !7, i64 24} !49 = !{!37, !18, i64 16} !50 = !{!51, !18, i64 40} !51 = !{!"bsg_job_data", !17, i64 0, !31, i64 8, !7, i64 32, !18, i64 40, !18, i64 44} !52 = !{!51, !7, i64 32} !53 = !{!51, !7, i64 24} !54 = !{!51, !7, i64 16} !55 = !{!51, !7, i64 8} !56 = !{!15, !7, i64 0} !57 = !{!43, !18, i64 8} !58 = !{!43, !18, i64 16} !59 = !{!21, !18, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_bsg.c_lpfc_bsg_rport_els.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_bsg.c_lpfc_bsg_rport_els.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FCELSSIZE = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @KERN_WARNING = common local_unnamed_addr global i32 0, align 4 @LOG_LIBDFC = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"2735 Failed allocation of dd_data\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @EIO = common local_unnamed_addr global i32 0, align 4 @LPFC_SLI_REV4 = common local_unnamed_addr global i64 0, align 8 @LPFC_IO_LIBDFC = common local_unnamed_addr global i32 0, align 4 @lpfc_bsg_rport_els_cmp = common local_unnamed_addr global i32 0, align 4 @TYPE_IOCB = common local_unnamed_addr global i32 0, align 4 @DISABLE_FCP_RING_INT = common local_unnamed_addr global i32 0, align 4 @HC_R0INT_ENA = common local_unnamed_addr global i32 0, align 4 @LPFC_FCP_RING = common local_unnamed_addr global i32 0, align 4 @LPFC_ELS_RING = common local_unnamed_addr global i32 0, align 4 @IOCB_SUCCESS = common local_unnamed_addr global i32 0, align 4 @LPFC_IO_CMD_OUTSTANDING = common local_unnamed_addr global i32 0, align 4 @IOCB_BUSY = common local_unnamed_addr global i32 0, align 4 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lpfc_bsg_rport_els], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @lpfc_bsg_rport_els(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call i32 @fc_bsg_to_shost(ptr noundef %0) #3 %4 = tail call ptr @shost_priv(i32 noundef %3) #3 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call ptr @fc_bsg_to_rport(ptr noundef %0) #3 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = getelementptr inbounds i8, ptr %0, i64 32 %10 = load ptr, ptr %9, align 8, !tbaa !15 %11 = getelementptr inbounds i8, ptr %0, i64 24 %12 = load ptr, ptr %11, align 8, !tbaa !20 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %13 = getelementptr inbounds i8, ptr %12, i64 8 store i64 0, ptr %13, align 8, !tbaa !21 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !23 %16 = load i64, ptr @FCELSSIZE, align 8, !tbaa !24 %17 = icmp sgt i64 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %1 %19 = load i32, ptr @EINVAL, align 4, !tbaa !25 br label %133 20: ; preds = %1 %21 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !25 %22 = tail call ptr @kmalloc(i32 noundef 48, i32 noundef %21) #3 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %29 24: ; preds = %20 %25 = load i32, ptr @KERN_WARNING, align 4, !tbaa !25 %26 = load i32, ptr @LOG_LIBDFC, align 4, !tbaa !25 %27 = tail call i32 @lpfc_printf_log(ptr noundef %5, i32 noundef %25, i32 noundef %26, ptr noundef nonnull @.str) #3 %28 = load i32, ptr @ENOMEM, align 4, !tbaa !25 br label %133 29: ; preds = %20 %30 = load i32, ptr %10, align 4, !tbaa !26 %31 = load i64, ptr %14, align 8, !tbaa !23 %32 = trunc i64 %31 to i32 %33 = tail call i32 @lpfc_nlp_get(ptr noundef %8) #3 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = load i32, ptr @ENODEV, align 4, !tbaa !25 br label %130 37: ; preds = %29 %38 = getelementptr inbounds i8, ptr %8, i64 44 %39 = load i32, ptr %38, align 4, !tbaa !30 %40 = tail call ptr @lpfc_prep_els_iocb(ptr noundef nonnull %4, i32 noundef 1, i32 noundef %32, i32 noundef 0, ptr noundef %8, i32 noundef %39, i32 noundef %30) #3 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %44 42: ; preds = %37 %43 = load i32, ptr @EIO, align 4, !tbaa !25 br label %127 44: ; preds = %37 %45 = load i64, ptr %8, align 8, !tbaa !34 %46 = getelementptr inbounds i8, ptr %0, i64 20 %47 = load i32, ptr %46, align 4, !tbaa !35 %48 = getelementptr inbounds i8, ptr %0, i64 16 %49 = load i32, ptr %48, align 8, !tbaa !36 %50 = getelementptr inbounds i8, ptr %40, i64 40 %51 = load i64, ptr %50, align 8, !tbaa !37 %52 = inttoptr i64 %51 to ptr %53 = load i32, ptr %52, align 4, !tbaa !41 %54 = tail call i32 @sg_copy_to_buffer(i32 noundef %47, i32 noundef %49, i32 noundef %53, i32 noundef %32) #3 %55 = load i64, ptr %5, align 8, !tbaa !43 %56 = load i64, ptr @LPFC_SLI_REV4, align 8, !tbaa !24 %57 = icmp eq i64 %55, %56 br i1 %57, label %58, label %63 58: ; preds = %44 %59 = getelementptr inbounds i8, ptr %5, i64 24 %60 = load ptr, ptr %59, align 8, !tbaa !46 %61 = getelementptr inbounds i64, ptr %60, i64 %45 %62 = load i64, ptr %61, align 8, !tbaa !24 br label %63 63: ; preds = %44, %58 %64 = phi i64 [ %62, %58 ], [ %45, %44 ] %65 = getelementptr inbounds i8, ptr %40, i64 32 store i64 %64, ptr %65, align 8 %66 = load i32, ptr @LPFC_IO_LIBDFC, align 4, !tbaa !25 %67 = load i32, ptr %40, align 8, !tbaa !47 %68 = or i32 %67, %66 store i32 %68, ptr %40, align 8, !tbaa !47 %69 = getelementptr inbounds i8, ptr %40, i64 8 store ptr %22, ptr %69, align 8, !tbaa !48 %70 = getelementptr inbounds i8, ptr %40, i64 24 store ptr %8, ptr %70, align 8, !tbaa !49 %71 = load i32, ptr @lpfc_bsg_rport_els_cmp, align 4, !tbaa !25 %72 = getelementptr inbounds i8, ptr %40, i64 16 store i32 %71, ptr %72, align 8, !tbaa !50 %73 = load i32, ptr @TYPE_IOCB, align 4, !tbaa !25 %74 = getelementptr inbounds i8, ptr %22, i64 40 store i32 %73, ptr %74, align 8, !tbaa !51 %75 = getelementptr inbounds i8, ptr %22, i64 32 store ptr %0, ptr %75, align 8, !tbaa !53 %76 = getelementptr inbounds i8, ptr %22, i64 8 %77 = getelementptr inbounds i8, ptr %22, i64 24 store ptr %40, ptr %77, align 8, !tbaa !54 %78 = getelementptr inbounds i8, ptr %22, i64 16 store ptr %8, ptr %78, align 8, !tbaa !55 store ptr null, ptr %76, align 8, !tbaa !56 store ptr %22, ptr %0, align 8, !tbaa !57 %79 = getelementptr inbounds i8, ptr %5, i64 8 %80 = load i32, ptr %79, align 8, !tbaa !58 %81 = load i32, ptr @DISABLE_FCP_RING_INT, align 4, !tbaa !25 %82 = and i32 %81, %80 %83 = icmp eq i32 %82, 0 br i1 %83, label %101, label %84 84: ; preds = %63 %85 = getelementptr inbounds i8, ptr %5, i64 16 %86 = load i32, ptr %85, align 8, !tbaa !59 %87 = call i64 @lpfc_readl(i32 noundef %86, ptr noundef nonnull %2) #3 %88 = icmp eq i64 %87, 0 br i1 %88, label %91, label %89 89: ; preds = %84 %90 = load i32, ptr @EIO, align 4, !tbaa !25 br label %124 91: ; preds = %84 %92 = load i32, ptr @HC_R0INT_ENA, align 4, !tbaa !25 %93 = load i32, ptr @LPFC_FCP_RING, align 4, !tbaa !25 %94 = shl i32 %92, %93 %95 = load i32, ptr %2, align 4, !tbaa !25 %96 = or i32 %95, %94 store i32 %96, ptr %2, align 4, !tbaa !25 %97 = load i32, ptr %85, align 8, !tbaa !59 %98 = call i32 @writel(i32 noundef %96, i32 noundef %97) #3 %99 = load i32, ptr %85, align 8, !tbaa !59 %100 = call i32 @readl(i32 noundef %99) #3 br label %101 101: ; preds = %91, %63 %102 = load i32, ptr @LPFC_ELS_RING, align 4, !tbaa !25 %103 = call i32 @lpfc_sli_issue_iocb(ptr noundef nonnull %5, i32 noundef %102, ptr noundef nonnull %40, i32 noundef 0) #3 %104 = load i32, ptr @IOCB_SUCCESS, align 4, !tbaa !25 %105 = icmp eq i32 %103, %104 br i1 %105, label %106, label %118 106: ; preds = %101 %107 = getelementptr inbounds i8, ptr %5, i64 12 %108 = call i32 @spin_lock_irqsave(ptr noundef nonnull %107, i64 noundef undef) #3 %109 = load i32, ptr %40, align 8, !tbaa !47 %110 = load i32, ptr @LPFC_IO_LIBDFC, align 4, !tbaa !25 %111 = and i32 %110, %109 %112 = icmp eq i32 %111, 0 br i1 %112, label %116, label %113 113: ; preds = %106 %114 = load i32, ptr @LPFC_IO_CMD_OUTSTANDING, align 4, !tbaa !25 %115 = or i32 %114, %109 store i32 %115, ptr %40, align 8, !tbaa !47 br label %116 116: ; preds = %113, %106 %117 = call i32 @spin_unlock_irqrestore(ptr noundef nonnull %107, i64 noundef undef) #3 br label %136 118: ; preds = %101 %119 = load i32, ptr @IOCB_BUSY, align 4, !tbaa !25 %120 = icmp eq i32 %103, %119 %121 = load i32, ptr @EAGAIN, align 4 %122 = load i32, ptr @EIO, align 4 %123 = select i1 %120, i32 %121, i32 %122 store ptr null, ptr %0, align 8, !tbaa !57 br label %124 124: ; preds = %118, %89 %125 = phi i32 [ %90, %89 ], [ %123, %118 ] store ptr %8, ptr %69, align 8, !tbaa !48 %126 = call i32 @lpfc_els_free_iocb(ptr noundef nonnull %5, ptr noundef nonnull %40) #3 br label %127 127: ; preds = %124, %42 %128 = phi i32 [ %125, %124 ], [ %43, %42 ] %129 = call i32 @lpfc_nlp_put(ptr noundef nonnull %8) #3 br label %130 130: ; preds = %127, %35 %131 = phi i32 [ %128, %127 ], [ %36, %35 ] %132 = call i32 @kfree(ptr noundef nonnull %22) #3 br label %133 133: ; preds = %130, %24, %18 %134 = phi i32 [ %19, %18 ], [ %131, %130 ], [ %28, %24 ] %135 = sub nsw i32 0, %134 store i32 %135, ptr %12, align 8, !tbaa !60 store ptr null, ptr %0, align 8, !tbaa !57 br label %136 136: ; preds = %133, %116 %137 = phi i32 [ %135, %133 ], [ 0, %116 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %137 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @shost_priv(i32 noundef) local_unnamed_addr #2 declare i32 @fc_bsg_to_shost(ptr noundef) local_unnamed_addr #2 declare ptr @fc_bsg_to_rport(ptr noundef) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lpfc_printf_log(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lpfc_nlp_get(ptr noundef) local_unnamed_addr #2 declare ptr @lpfc_prep_els_iocb(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sg_copy_to_buffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @lpfc_readl(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @readl(i32 noundef) local_unnamed_addr #2 declare i32 @lpfc_sli_issue_iocb(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @lpfc_els_free_iocb(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lpfc_nlp_put(ptr noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"lpfc_vport", !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_18__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"lpfc_rport_data", !8, i64 0} !15 = !{!16, !8, i64 32} !16 = !{!"bsg_job", !8, i64 0, !17, i64 8, !8, i64 24, !8, i64 32} !17 = !{!"TYPE_12__", !18, i64 0, !19, i64 8, !19, i64 12} !18 = !{!"long", !9, i64 0} !19 = !{!"int", !9, i64 0} !20 = !{!16, !8, i64 24} !21 = !{!22, !18, i64 8} !22 = !{!"fc_bsg_reply", !19, i64 0, !18, i64 8} !23 = !{!16, !18, i64 8} !24 = !{!18, !18, i64 0} !25 = !{!19, !19, i64 0} !26 = !{!27, !19, i64 0} !27 = !{!"fc_bsg_request", !28, i64 0} !28 = !{!"TYPE_11__", !29, i64 0} !29 = !{!"TYPE_10__", !19, i64 0} !30 = !{!31, !19, i64 44} !31 = !{!"lpfc_nodelist", !18, i64 0, !32, i64 8, !8, i64 32, !19, i64 40, !19, i64 44} !32 = !{!"TYPE_17__", !33, i64 0} !33 = !{!"TYPE_16__", !8, i64 0, !8, i64 8, !8, i64 16} !34 = !{!31, !18, i64 0} !35 = !{!16, !19, i64 20} !36 = !{!16, !19, i64 16} !37 = !{!38, !18, i64 40} !38 = !{!"lpfc_iocbq", !19, i64 0, !8, i64 8, !19, i64 16, !39, i64 24, !40, i64 32, !18, i64 40} !39 = !{!"TYPE_15__", !8, i64 0} !40 = !{!"TYPE_14__", !18, i64 0} !41 = !{!42, !19, i64 0} !42 = !{!"lpfc_dmabuf", !19, i64 0} !43 = !{!44, !18, i64 0} !44 = !{!"lpfc_hba", !18, i64 0, !19, i64 8, !19, i64 12, !19, i64 16, !45, i64 24} !45 = !{!"TYPE_13__", !8, i64 0} !46 = !{!44, !8, i64 24} !47 = !{!38, !19, i64 0} !48 = !{!38, !8, i64 8} !49 = !{!38, !8, i64 24} !50 = !{!38, !19, i64 16} !51 = !{!52, !19, i64 40} !52 = !{!"bsg_job_data", !18, i64 0, !32, i64 8, !8, i64 32, !19, i64 40, !19, i64 44} !53 = !{!52, !8, i64 32} !54 = !{!52, !8, i64 24} !55 = !{!52, !8, i64 16} !56 = !{!52, !8, i64 8} !57 = !{!16, !8, i64 0} !58 = !{!44, !19, i64 8} !59 = !{!44, !19, i64 16} !60 = !{!22, !19, i64 0}
linux_drivers_scsi_lpfc_extr_lpfc_bsg.c_lpfc_bsg_rport_els
; ModuleID = 'AnghaBench/vlc/src/misc/extr_variables.c_CmpString.c' source_filename = "AnghaBench/vlc/src/misc/extr_variables.c_CmpString.c" target datalayout = "e-m:e-p270:32:32-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 @CmpString], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @CmpString(i32 %0, i32 %1) #0 { %3 = icmp eq i32 %0, 0 br i1 %3, label %4, label %7 4: ; preds = %2 %5 = icmp ne i32 %1, 0 %6 = sext i1 %5 to i32 br label %11 7: ; preds = %2 %8 = icmp eq i32 %1, 0 br i1 %8, label %11, label %9 9: ; preds = %7 %10 = tail call i32 @strcmp(i32 noundef %0, i32 noundef %1) #2 br label %11 11: ; preds = %9, %7, %4 %12 = phi i32 [ %6, %4 ], [ %10, %9 ], [ 1, %7 ] ret i32 %12 } declare i32 @strcmp(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/vlc/src/misc/extr_variables.c_CmpString.c' source_filename = "AnghaBench/vlc/src/misc/extr_variables.c_CmpString.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 @CmpString], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @CmpString(i64 %0, i64 %1) #0 { %3 = trunc i64 %0 to i32 %4 = trunc i64 %1 to i32 %5 = icmp eq i32 %3, 0 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = icmp ne i32 %4, 0 %8 = sext i1 %7 to i32 br label %13 9: ; preds = %2 %10 = icmp eq i32 %4, 0 br i1 %10, label %13, label %11 11: ; preds = %9 %12 = tail call i32 @strcmp(i32 noundef %3, i32 noundef %4) #2 br label %13 13: ; preds = %11, %9, %6 %14 = phi i32 [ %8, %6 ], [ %12, %11 ], [ 1, %9 ] ret i32 %14 } declare i32 @strcmp(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)"}
vlc_src_misc_extr_variables.c_CmpString
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-blend.c_fz_screen_byte.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-blend.c_fz_screen_byte.c" target datalayout = "e-m:e-p270:32:32-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 @fz_screen_byte], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @fz_screen_byte(i32 noundef %0, i32 noundef %1) #0 { %3 = add nsw i32 %1, %0 %4 = tail call i32 @fz_mul255(i32 noundef %0, i32 noundef %1) #2 %5 = sub i32 %3, %4 ret i32 %5 } declare i32 @fz_mul255(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-blend.c_fz_screen_byte.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-blend.c_fz_screen_byte.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 @fz_screen_byte], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @fz_screen_byte(i32 noundef %0, i32 noundef %1) #0 { %3 = add nsw i32 %1, %0 %4 = tail call i32 @fz_mul255(i32 noundef %0, i32 noundef %1) #2 %5 = sub i32 %3, %4 ret i32 %5 } declare i32 @fz_mul255(i32 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)"}
sumatrapdf_mupdf_source_fitz_extr_draw-blend.c_fz_screen_byte
; ModuleID = 'AnghaBench/linux/sound/soc/mediatek/mt2701/extr_mt2701-afe-pcm.c_mt2701_btmrg_hw_params.c' source_filename = "AnghaBench/linux/sound/soc/mediatek/mt2701/extr_mt2701-afe-pcm.c_mt2701_btmrg_hw_params.c" target datalayout = "e-m:e-p270:32:32-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.mtk_base_afe = type { i32, i32 } @.str = private unnamed_addr constant [21 x i8] c"unsupported rate %d\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON = dso_local local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON_I2S_MODE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON_I2S_MODE_32K = dso_local local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_BT_FUNC_EN = dso_local local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_BT_FUNC_RDY = dso_local local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_MRG_USE = dso_local local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_BT_WIDE_MODE_EN = dso_local local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0 = dso_local local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_DAIBT_EN = dso_local local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON_MRG_I2S_EN = dso_local local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON_MRG_EN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mt2701_btmrg_hw_params], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mt2701_btmrg_hw_params(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @snd_soc_dai_get_drvdata(ptr noundef %2) #2 %5 = tail call i32 @params_rate(ptr noundef %1) #2 switch i32 %5, label %6 [ i32 16000, label %12 i32 8000, label %12 ] 6: ; preds = %3 %7 = getelementptr inbounds %struct.mtk_base_afe, ptr %4, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = tail call i32 @dev_err(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %5) #2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !10 %11 = sub nsw i32 0, %10 br label %42 12: ; preds = %3, %3 %13 = load i32, ptr %4, align 4, !tbaa !11 %14 = load i32, ptr @AFE_MRGIF_CON, align 4, !tbaa !10 %15 = load i32, ptr @AFE_MRGIF_CON_I2S_MODE_MASK, align 4, !tbaa !10 %16 = load i32, ptr @AFE_MRGIF_CON_I2S_MODE_32K, align 4, !tbaa !10 %17 = tail call i32 @regmap_update_bits(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @AFE_DAIBT_CON0_BT_FUNC_EN, align 4, !tbaa !10 %19 = load i32, ptr @AFE_DAIBT_CON0_BT_FUNC_RDY, align 4, !tbaa !10 %20 = or i32 %19, %18 %21 = load i32, ptr @AFE_DAIBT_CON0_MRG_USE, align 4, !tbaa !10 %22 = or i32 %20, %21 %23 = icmp eq i32 %5, 16000 %24 = load i32, ptr @AFE_DAIBT_CON0_BT_WIDE_MODE_EN, align 4 %25 = or i32 %22, %24 %26 = select i1 %23, i32 %25, i32 %22 %27 = load i32, ptr %4, align 4, !tbaa !11 %28 = load i32, ptr @AFE_DAIBT_CON0, align 4, !tbaa !10 %29 = tail call i32 @regmap_update_bits(i32 noundef %27, i32 noundef %28, i32 noundef %25, i32 noundef %26) #2 %30 = load i32, ptr %4, align 4, !tbaa !11 %31 = load i32, ptr @AFE_DAIBT_CON0, align 4, !tbaa !10 %32 = load i32, ptr @AFE_DAIBT_CON0_DAIBT_EN, align 4, !tbaa !10 %33 = tail call i32 @regmap_update_bits(i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %32) #2 %34 = load i32, ptr %4, align 4, !tbaa !11 %35 = load i32, ptr @AFE_MRGIF_CON, align 4, !tbaa !10 %36 = load i32, ptr @AFE_MRGIF_CON_MRG_I2S_EN, align 4, !tbaa !10 %37 = tail call i32 @regmap_update_bits(i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %36) #2 %38 = load i32, ptr %4, align 4, !tbaa !11 %39 = load i32, ptr @AFE_MRGIF_CON, align 4, !tbaa !10 %40 = load i32, ptr @AFE_MRGIF_CON_MRG_EN, align 4, !tbaa !10 %41 = tail call i32 @regmap_update_bits(i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %40) #2 br label %42 42: ; preds = %12, %6 %43 = phi i32 [ %11, %6 ], [ 0, %12 ] ret i32 %43 } declare ptr @snd_soc_dai_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @params_rate(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"mtk_base_afe", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/mediatek/mt2701/extr_mt2701-afe-pcm.c_mt2701_btmrg_hw_params.c' source_filename = "AnghaBench/linux/sound/soc/mediatek/mt2701/extr_mt2701-afe-pcm.c_mt2701_btmrg_hw_params.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [21 x i8] c"unsupported rate %d\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON = common local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON_I2S_MODE_MASK = common local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON_I2S_MODE_32K = common local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_BT_FUNC_EN = common local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_BT_FUNC_RDY = common local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_MRG_USE = common local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_BT_WIDE_MODE_EN = common local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0 = common local_unnamed_addr global i32 0, align 4 @AFE_DAIBT_CON0_DAIBT_EN = common local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON_MRG_I2S_EN = common local_unnamed_addr global i32 0, align 4 @AFE_MRGIF_CON_MRG_EN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mt2701_btmrg_hw_params], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @mt2701_btmrg_hw_params(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @snd_soc_dai_get_drvdata(ptr noundef %2) #2 %5 = tail call i32 @params_rate(ptr noundef %1) #2 switch i32 %5, label %6 [ i32 16000, label %12 i32 8000, label %12 ] 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %4, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = tail call i32 @dev_err(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %5) #2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !11 %11 = sub nsw i32 0, %10 br label %42 12: ; preds = %3, %3 %13 = load i32, ptr %4, align 4, !tbaa !12 %14 = load i32, ptr @AFE_MRGIF_CON, align 4, !tbaa !11 %15 = load i32, ptr @AFE_MRGIF_CON_I2S_MODE_MASK, align 4, !tbaa !11 %16 = load i32, ptr @AFE_MRGIF_CON_I2S_MODE_32K, align 4, !tbaa !11 %17 = tail call i32 @regmap_update_bits(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @AFE_DAIBT_CON0_BT_FUNC_EN, align 4, !tbaa !11 %19 = load i32, ptr @AFE_DAIBT_CON0_BT_FUNC_RDY, align 4, !tbaa !11 %20 = or i32 %19, %18 %21 = load i32, ptr @AFE_DAIBT_CON0_MRG_USE, align 4, !tbaa !11 %22 = or i32 %20, %21 %23 = icmp eq i32 %5, 16000 %24 = load i32, ptr @AFE_DAIBT_CON0_BT_WIDE_MODE_EN, align 4 %25 = or i32 %22, %24 %26 = select i1 %23, i32 %25, i32 %22 %27 = load i32, ptr %4, align 4, !tbaa !12 %28 = load i32, ptr @AFE_DAIBT_CON0, align 4, !tbaa !11 %29 = tail call i32 @regmap_update_bits(i32 noundef %27, i32 noundef %28, i32 noundef %25, i32 noundef %26) #2 %30 = load i32, ptr %4, align 4, !tbaa !12 %31 = load i32, ptr @AFE_DAIBT_CON0, align 4, !tbaa !11 %32 = load i32, ptr @AFE_DAIBT_CON0_DAIBT_EN, align 4, !tbaa !11 %33 = tail call i32 @regmap_update_bits(i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %32) #2 %34 = load i32, ptr %4, align 4, !tbaa !12 %35 = load i32, ptr @AFE_MRGIF_CON, align 4, !tbaa !11 %36 = load i32, ptr @AFE_MRGIF_CON_MRG_I2S_EN, align 4, !tbaa !11 %37 = tail call i32 @regmap_update_bits(i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %36) #2 %38 = load i32, ptr %4, align 4, !tbaa !12 %39 = load i32, ptr @AFE_MRGIF_CON, align 4, !tbaa !11 %40 = load i32, ptr @AFE_MRGIF_CON_MRG_EN, align 4, !tbaa !11 %41 = tail call i32 @regmap_update_bits(i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %40) #2 br label %42 42: ; preds = %12, %6 %43 = phi i32 [ %11, %6 ], [ 0, %12 ] ret i32 %43 } declare ptr @snd_soc_dai_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @params_rate(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"mtk_base_afe", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0}
linux_sound_soc_mediatek_mt2701_extr_mt2701-afe-pcm.c_mt2701_btmrg_hw_params
; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_dlist.c_gl_save_PushMatrix.c' source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_dlist.c_gl_save_PushMatrix.c" target datalayout = "e-m:e-p270:32:32-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_6__, i64 } %struct.TYPE_6__ = type { ptr } @OPCODE_PUSH_MATRIX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @gl_save_PushMatrix(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @OPCODE_PUSH_MATRIX, align 4, !tbaa !5 %3 = tail call i32 @alloc_instruction(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2 %4 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !9 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load ptr, ptr %0, align 8, !tbaa !14 %9 = tail call i32 %8(ptr noundef nonnull %0) #2 br label %10 10: ; preds = %7, %1 ret void } declare i32 @alloc_instruction(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !13, i64 8} !10 = !{!"TYPE_7__", !11, i64 0, !13, i64 8} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!10, !12, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_dlist.c_gl_save_PushMatrix.c' source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_dlist.c_gl_save_PushMatrix.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OPCODE_PUSH_MATRIX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @gl_save_PushMatrix(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @OPCODE_PUSH_MATRIX, align 4, !tbaa !6 %3 = tail call i32 @alloc_instruction(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !10 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load ptr, ptr %0, align 8, !tbaa !15 %9 = tail call i32 %8(ptr noundef nonnull %0) #2 br label %10 10: ; preds = %7, %1 ret void } declare i32 @alloc_instruction(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 8} !11 = !{!"TYPE_7__", !12, i64 0, !14, i64 8} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!11, !13, i64 0}
reactos_dll_opengl_mesa_extr_dlist.c_gl_save_PushMatrix
; ModuleID = 'AnghaBench/linux/tools/perf/util/intel-pt-decoder/extr_intel-pt-decoder.c_intel_pt_get_next_packet.c' source_filename = "AnghaBench/linux/tools/perf/util/intel-pt-decoder/extr_intel-pt-decoder.c_intel_pt_get_next_packet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.intel_pt_decoder = type { i64, i32, i32, i32, i64, i32, i32, i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i64 } @INTEL_PT_NEED_MORE_BYTES = dso_local local_unnamed_addr global i32 0, align 4 @BITS_PER_LONG = dso_local local_unnamed_addr global i32 0, align 4 @INTEL_PT_PKT_MAX_SZ = dso_local local_unnamed_addr global i64 0, align 8 @INTEL_PT_PAD = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_pt_get_next_packet], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @intel_pt_get_next_packet(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 8 %3 = load i64, ptr %2, align 8, !tbaa !5 store i64 %3, ptr %0, align 8, !tbaa !12 %4 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 2 %5 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 1 %6 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 3 %7 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 4 %8 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 7 %9 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 9 %10 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 6 %11 = getelementptr inbounds %struct.intel_pt_decoder, ptr %0, i64 0, i32 5 br label %12 12: ; preds = %53, %1 %13 = load i32, ptr %4, align 4, !tbaa !13 %14 = load i32, ptr %5, align 8, !tbaa !14 %15 = add nsw i32 %14, %13 store i32 %15, ptr %5, align 8, !tbaa !14 %16 = load i32, ptr %6, align 8, !tbaa !15 %17 = add nsw i32 %16, %13 store i32 %17, ptr %6, align 8, !tbaa !15 %18 = sext i32 %13 to i64 %19 = load i64, ptr %7, align 8, !tbaa !16 %20 = sub nsw i64 %19, %18 store i64 %20, ptr %7, align 8, !tbaa !16 %21 = icmp eq i64 %19, %18 br i1 %21, label %22, label %28 22: ; preds = %12 %23 = tail call i32 @intel_pt_get_next_data(ptr noundef nonnull %0, i32 noundef 0) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %58 25: ; preds = %22 %26 = load i32, ptr %6, align 8, !tbaa !15 %27 = load i64, ptr %7, align 8, !tbaa !16 br label %28 28: ; preds = %25, %12 %29 = phi i64 [ %27, %25 ], [ %20, %12 ] %30 = phi i32 [ %26, %25 ], [ %17, %12 ] %31 = load i32, ptr %8, align 8, !tbaa !17 store i32 %31, ptr %9, align 8, !tbaa !18 %32 = tail call i32 @intel_pt_get_packet(i32 noundef %30, i64 noundef %29, ptr noundef nonnull %2, ptr noundef nonnull %8) #2 %33 = load i32, ptr @INTEL_PT_NEED_MORE_BYTES, align 4, !tbaa !19 %34 = icmp eq i32 %32, %33 %35 = load i32, ptr @BITS_PER_LONG, align 4 %36 = icmp eq i32 %35, 32 %37 = select i1 %34, i1 %36, i1 false br i1 %37, label %38, label %48 38: ; preds = %28 %39 = load i64, ptr %7, align 8, !tbaa !16 %40 = load i64, ptr @INTEL_PT_PKT_MAX_SZ, align 8, !tbaa !20 %41 = icmp slt i64 %39, %40 br i1 %41, label %42, label %48 42: ; preds = %38 %43 = load i32, ptr %10, align 4, !tbaa !21 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = tail call i32 @intel_pt_get_split_packet(ptr noundef nonnull %0) #2 %47 = icmp slt i32 %46, 0 br i1 %47, label %58, label %48 48: ; preds = %45, %42, %38, %28 %49 = phi i32 [ %32, %42 ], [ %46, %45 ], [ %32, %38 ], [ %32, %28 ] %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %53 51: ; preds = %48 %52 = tail call i32 @intel_pt_bad_packet(ptr noundef nonnull %0) #2 br label %58 53: ; preds = %48 store i32 %49, ptr %11, align 8, !tbaa !22 store i32 %49, ptr %4, align 4, !tbaa !13 %54 = tail call i32 @intel_pt_decoder_log_packet(ptr noundef nonnull %0) #2 %55 = load i64, ptr %2, align 8, !tbaa !5 %56 = load i64, ptr @INTEL_PT_PAD, align 8, !tbaa !20 %57 = icmp eq i64 %55, %56 br i1 %57, label %12, label %58, !llvm.loop !23 58: ; preds = %53, %45, %22, %51 %59 = phi i32 [ %52, %51 ], [ 0, %53 ], [ %46, %45 ], [ %23, %22 ] ret i32 %59 } declare i32 @intel_pt_get_next_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intel_pt_get_packet(i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @intel_pt_get_split_packet(ptr noundef) local_unnamed_addr #1 declare i32 @intel_pt_bad_packet(ptr noundef) local_unnamed_addr #1 declare i32 @intel_pt_decoder_log_packet(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 48} !6 = !{!"intel_pt_decoder", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !11, i64 48, !10, i64 56} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 12} !14 = !{!6, !10, i64 8} !15 = !{!6, !10, i64 16} !16 = !{!6, !7, i64 24} !17 = !{!6, !10, i64 40} !18 = !{!6, !10, i64 56} !19 = !{!10, !10, i64 0} !20 = !{!7, !7, i64 0} !21 = !{!6, !10, i64 36} !22 = !{!6, !10, i64 32} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/tools/perf/util/intel-pt-decoder/extr_intel-pt-decoder.c_intel_pt_get_next_packet.c' source_filename = "AnghaBench/linux/tools/perf/util/intel-pt-decoder/extr_intel-pt-decoder.c_intel_pt_get_next_packet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INTEL_PT_NEED_MORE_BYTES = common local_unnamed_addr global i32 0, align 4 @BITS_PER_LONG = common local_unnamed_addr global i32 0, align 4 @INTEL_PT_PKT_MAX_SZ = common local_unnamed_addr global i64 0, align 8 @INTEL_PT_PAD = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @intel_pt_get_next_packet], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @intel_pt_get_next_packet(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load i64, ptr %2, align 8, !tbaa !6 store i64 %3, ptr %0, align 8, !tbaa !13 %4 = getelementptr inbounds i8, ptr %0, i64 12 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = getelementptr inbounds i8, ptr %0, i64 40 %9 = getelementptr inbounds i8, ptr %0, i64 56 %10 = getelementptr inbounds i8, ptr %0, i64 36 %11 = getelementptr inbounds i8, ptr %0, i64 32 br label %12 12: ; preds = %53, %1 %13 = load i32, ptr %4, align 4, !tbaa !14 %14 = load i32, ptr %5, align 8, !tbaa !15 %15 = add nsw i32 %14, %13 store i32 %15, ptr %5, align 8, !tbaa !15 %16 = load i32, ptr %6, align 8, !tbaa !16 %17 = add nsw i32 %16, %13 store i32 %17, ptr %6, align 8, !tbaa !16 %18 = sext i32 %13 to i64 %19 = load i64, ptr %7, align 8, !tbaa !17 %20 = sub nsw i64 %19, %18 store i64 %20, ptr %7, align 8, !tbaa !17 %21 = icmp eq i64 %19, %18 br i1 %21, label %22, label %28 22: ; preds = %12 %23 = tail call i32 @intel_pt_get_next_data(ptr noundef nonnull %0, i32 noundef 0) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %58 25: ; preds = %22 %26 = load i32, ptr %6, align 8, !tbaa !16 %27 = load i64, ptr %7, align 8, !tbaa !17 br label %28 28: ; preds = %25, %12 %29 = phi i64 [ %27, %25 ], [ %20, %12 ] %30 = phi i32 [ %26, %25 ], [ %17, %12 ] %31 = load i32, ptr %8, align 8, !tbaa !18 store i32 %31, ptr %9, align 8, !tbaa !19 %32 = tail call i32 @intel_pt_get_packet(i32 noundef %30, i64 noundef %29, ptr noundef nonnull %2, ptr noundef nonnull %8) #2 %33 = load i32, ptr @INTEL_PT_NEED_MORE_BYTES, align 4, !tbaa !20 %34 = icmp eq i32 %32, %33 %35 = load i32, ptr @BITS_PER_LONG, align 4 %36 = icmp eq i32 %35, 32 %37 = select i1 %34, i1 %36, i1 false br i1 %37, label %38, label %48 38: ; preds = %28 %39 = load i64, ptr %7, align 8, !tbaa !17 %40 = load i64, ptr @INTEL_PT_PKT_MAX_SZ, align 8, !tbaa !21 %41 = icmp slt i64 %39, %40 br i1 %41, label %42, label %48 42: ; preds = %38 %43 = load i32, ptr %10, align 4, !tbaa !22 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = tail call i32 @intel_pt_get_split_packet(ptr noundef nonnull %0) #2 %47 = icmp slt i32 %46, 0 br i1 %47, label %58, label %48 48: ; preds = %45, %42, %38, %28 %49 = phi i32 [ %32, %42 ], [ %46, %45 ], [ %32, %38 ], [ %32, %28 ] %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %53 51: ; preds = %48 %52 = tail call i32 @intel_pt_bad_packet(ptr noundef nonnull %0) #2 br label %58 53: ; preds = %48 store i32 %49, ptr %11, align 8, !tbaa !23 store i32 %49, ptr %4, align 4, !tbaa !14 %54 = tail call i32 @intel_pt_decoder_log_packet(ptr noundef nonnull %0) #2 %55 = load i64, ptr %2, align 8, !tbaa !6 %56 = load i64, ptr @INTEL_PT_PAD, align 8, !tbaa !21 %57 = icmp eq i64 %55, %56 br i1 %57, label %12, label %58, !llvm.loop !24 58: ; preds = %53, %45, %22, %51 %59 = phi i32 [ %52, %51 ], [ 0, %53 ], [ %46, %45 ], [ %23, %22 ] ret i32 %59 } declare i32 @intel_pt_get_next_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intel_pt_get_packet(i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @intel_pt_get_split_packet(ptr noundef) local_unnamed_addr #1 declare i32 @intel_pt_bad_packet(ptr noundef) local_unnamed_addr #1 declare i32 @intel_pt_decoder_log_packet(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 48} !7 = !{!"intel_pt_decoder", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !8, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !12, i64 48, !11, i64 56} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 12} !15 = !{!7, !11, i64 8} !16 = !{!7, !11, i64 16} !17 = !{!7, !8, i64 24} !18 = !{!7, !11, i64 40} !19 = !{!7, !11, i64 56} !20 = !{!11, !11, i64 0} !21 = !{!8, !8, i64 0} !22 = !{!7, !11, i64 36} !23 = !{!7, !11, i64 32} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
linux_tools_perf_util_intel-pt-decoder_extr_intel-pt-decoder.c_intel_pt_get_next_packet
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00.h_rt2x00_has_cap_pre_tbtt_interrupt.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00.h_rt2x00_has_cap_pre_tbtt_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" @CAPABILITY_PRE_TBTT_INTERRUPT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2x00_has_cap_pre_tbtt_interrupt], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @rt2x00_has_cap_pre_tbtt_interrupt(ptr noundef %0) #0 { %2 = load i32, ptr @CAPABILITY_PRE_TBTT_INTERRUPT, align 4, !tbaa !5 %3 = tail call i32 @rt2x00_has_cap_flag(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @rt2x00_has_cap_flag(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/drivers/net/wireless/ralink/rt2x00/extr_rt2x00.h_rt2x00_has_cap_pre_tbtt_interrupt.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00.h_rt2x00_has_cap_pre_tbtt_interrupt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CAPABILITY_PRE_TBTT_INTERRUPT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rt2x00_has_cap_pre_tbtt_interrupt], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @rt2x00_has_cap_pre_tbtt_interrupt(ptr noundef %0) #0 { %2 = load i32, ptr @CAPABILITY_PRE_TBTT_INTERRUPT, align 4, !tbaa !6 %3 = tail call i32 @rt2x00_has_cap_flag(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @rt2x00_has_cap_flag(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_drivers_net_wireless_ralink_rt2x00_extr_rt2x00.h_rt2x00_has_cap_pre_tbtt_interrupt
; ModuleID = 'AnghaBench/linux/drivers/media/tuners/extr_mt20xx.c_mt2050_set_radio_freq.c' source_filename = "AnghaBench/linux/drivers/media/tuners/extr_mt20xx.c_mt2050_set_radio_freq.c" target datalayout = "e-m:e-p270:32:32-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.analog_parameters = type { i32, i32 } @V4L2_STD_525_60 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"pinnacle ntsc\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"pinnacle pal\0A\00", align 1 @radio_antenna = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mt2050_set_radio_freq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mt2050_set_radio_freq(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = load i32, ptr @V4L2_STD_525_60, align 4, !tbaa !10 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 %7 = select i1 %6, ptr @.str.1, ptr @.str %8 = select i1 %6, i32 33300000, i32 41300000 %9 = tail call i32 @tuner_dbg(ptr noundef nonnull %7) #2 %10 = getelementptr inbounds %struct.analog_parameters, ptr %1, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = mul nsw i32 %11, 125 %13 = sdiv i32 %12, 2 %14 = tail call i32 @mt2050_set_if_freq(ptr noundef %0, i32 noundef %13, i32 noundef %8) #2 %15 = load i32, ptr @radio_antenna, align 4, !tbaa !10 %16 = tail call i32 @mt2050_set_antenna(ptr noundef %0, i32 noundef %15) #2 ret i32 0 } declare i32 @tuner_dbg(ptr noundef) local_unnamed_addr #1 declare i32 @mt2050_set_if_freq(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mt2050_set_antenna(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 = !{!"analog_parameters", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/media/tuners/extr_mt20xx.c_mt2050_set_radio_freq.c' source_filename = "AnghaBench/linux/drivers/media/tuners/extr_mt20xx.c_mt2050_set_radio_freq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @V4L2_STD_525_60 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"pinnacle ntsc\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"pinnacle pal\0A\00", align 1 @radio_antenna = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mt2050_set_radio_freq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @mt2050_set_radio_freq(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = load i32, ptr @V4L2_STD_525_60, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 %7 = select i1 %6, ptr @.str.1, ptr @.str %8 = select i1 %6, i32 33300000, i32 41300000 %9 = tail call i32 @tuner_dbg(ptr noundef nonnull %7) #2 %10 = getelementptr inbounds i8, ptr %1, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = mul nsw i32 %11, 125 %13 = sdiv i32 %12, 2 %14 = tail call i32 @mt2050_set_if_freq(ptr noundef %0, i32 noundef %13, i32 noundef %8) #2 %15 = load i32, ptr @radio_antenna, align 4, !tbaa !11 %16 = tail call i32 @mt2050_set_antenna(ptr noundef %0, i32 noundef %15) #2 ret i32 0 } declare i32 @tuner_dbg(ptr noundef) local_unnamed_addr #1 declare i32 @mt2050_set_if_freq(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mt2050_set_antenna(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 = !{!"analog_parameters", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
linux_drivers_media_tuners_extr_mt20xx.c_mt2050_set_radio_freq
; ModuleID = 'AnghaBench/freebsd/lib/libc/i386/sys/extr_i386_get_ioperm.c_i386_get_ioperm.c' source_filename = "AnghaBench/freebsd/lib/libc/i386/sys/extr_i386_get_ioperm.c_i386_get_ioperm.c" target datalayout = "e-m:e-p270:32:32-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.i386_ioperm_args = type { i32, i32, i32 } @I386_GET_IOPERM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @i386_get_ioperm(i32 noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.i386_ioperm_args, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 store i32 %0, ptr %4, align 4, !tbaa !5 %5 = load i32, ptr %1, align 4, !tbaa !10 %6 = getelementptr inbounds %struct.i386_ioperm_args, ptr %4, i64 0, i32 1 store i32 %5, ptr %6, align 4, !tbaa !11 %7 = load i32, ptr %2, align 4, !tbaa !10 %8 = getelementptr inbounds %struct.i386_ioperm_args, ptr %4, i64 0, i32 2 store i32 %7, ptr %8, align 4, !tbaa !12 %9 = load i32, ptr @I386_GET_IOPERM, align 4, !tbaa !10 %10 = call i32 @sysarch(i32 noundef %9, ptr noundef nonnull %4) #3 %11 = load i32, ptr %6, align 4, !tbaa !11 store i32 %11, ptr %1, align 4, !tbaa !10 %12 = load i32, ptr %8, align 4, !tbaa !12 store i32 %12, ptr %2, align 4, !tbaa !10 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sysarch(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 = !{!"i386_ioperm_args", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/lib/libc/i386/sys/extr_i386_get_ioperm.c_i386_get_ioperm.c' source_filename = "AnghaBench/freebsd/lib/libc/i386/sys/extr_i386_get_ioperm.c_i386_get_ioperm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.i386_ioperm_args = type { i32, i32, i32 } @I386_GET_IOPERM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @i386_get_ioperm(i32 noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.i386_ioperm_args, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 store i32 %0, ptr %4, align 4, !tbaa !6 %5 = load i32, ptr %1, align 4, !tbaa !11 %6 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %5, ptr %6, align 4, !tbaa !12 %7 = load i32, ptr %2, align 4, !tbaa !11 %8 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %7, ptr %8, align 4, !tbaa !13 %9 = load i32, ptr @I386_GET_IOPERM, align 4, !tbaa !11 %10 = call i32 @sysarch(i32 noundef %9, ptr noundef nonnull %4) #3 %11 = load i32, ptr %6, align 4, !tbaa !12 store i32 %11, ptr %1, align 4, !tbaa !11 %12 = load i32, ptr %8, align 4, !tbaa !13 store i32 %12, ptr %2, align 4, !tbaa !11 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sysarch(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 = !{!"i386_ioperm_args", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !8, i64 8}
freebsd_lib_libc_i386_sys_extr_i386_get_ioperm.c_i386_get_ioperm
; ModuleID = 'AnghaBench/citus/src/backend/distributed/utils/extr_citus_ruleutils.c_RoleSpecString.c' source_filename = "AnghaBench/citus/src/backend/distributed/utils/extr_citus_ruleutils.c_RoleSpecString.c" target datalayout = "e-m:e-p270:32:32-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 } @.str = private unnamed_addr constant [7 x i8] c"PUBLIC\00", align 1 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"unexpected role type %d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @RoleSpecString(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 switch i32 %3, label %22 [ i32 131, label %4 i32 130, label %10 i32 128, label %16 i32 129, label %25 ] 4: ; preds = %2 %5 = icmp eq i32 %1, 0 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !11 br i1 %5, label %25, label %8 8: ; preds = %4 %9 = tail call ptr @quote_identifier(ptr noundef %7) #2 br label %25 10: ; preds = %2 %11 = icmp eq i32 %1, 0 %12 = tail call i32 (...) @GetUserId() #2 %13 = tail call ptr @GetUserNameFromId(i32 noundef %12, i32 noundef 0) #2 br i1 %11, label %25, label %14 14: ; preds = %10 %15 = tail call ptr @quote_identifier(ptr noundef %13) #2 br label %25 16: ; preds = %2 %17 = icmp eq i32 %1, 0 %18 = tail call i32 (...) @GetSessionUserId() #2 %19 = tail call ptr @GetUserNameFromId(i32 noundef %18, i32 noundef 0) #2 br i1 %17, label %25, label %20 20: ; preds = %16 %21 = tail call ptr @quote_identifier(ptr noundef %19) #2 br label %25 22: ; preds = %2 %23 = load i32, ptr @ERROR, align 4, !tbaa !12 %24 = tail call i32 @elog(i32 noundef %23, ptr noundef nonnull @.str.1, i32 noundef %3) #2 br label %25 25: ; preds = %16, %10, %4, %2, %20, %14, %8, %22 %26 = phi ptr [ undef, %22 ], [ %9, %8 ], [ %15, %14 ], [ %21, %20 ], [ @.str, %2 ], [ %7, %4 ], [ %13, %10 ], [ %19, %16 ] ret ptr %26 } declare ptr @quote_identifier(ptr noundef) local_unnamed_addr #1 declare ptr @GetUserNameFromId(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetUserId(...) local_unnamed_addr #1 declare i32 @GetSessionUserId(...) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/citus/src/backend/distributed/utils/extr_citus_ruleutils.c_RoleSpecString.c' source_filename = "AnghaBench/citus/src/backend/distributed/utils/extr_citus_ruleutils.c_RoleSpecString.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [7 x i8] c"PUBLIC\00", align 1 @ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"unexpected role type %d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @RoleSpecString(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 switch i32 %3, label %22 [ i32 131, label %4 i32 130, label %10 i32 128, label %16 i32 129, label %25 ] 4: ; preds = %2 %5 = icmp eq i32 %1, 0 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !12 br i1 %5, label %25, label %8 8: ; preds = %4 %9 = tail call ptr @quote_identifier(ptr noundef %7) #2 br label %25 10: ; preds = %2 %11 = icmp eq i32 %1, 0 %12 = tail call i32 @GetUserId() #2 %13 = tail call ptr @GetUserNameFromId(i32 noundef %12, i32 noundef 0) #2 br i1 %11, label %25, label %14 14: ; preds = %10 %15 = tail call ptr @quote_identifier(ptr noundef %13) #2 br label %25 16: ; preds = %2 %17 = icmp eq i32 %1, 0 %18 = tail call i32 @GetSessionUserId() #2 %19 = tail call ptr @GetUserNameFromId(i32 noundef %18, i32 noundef 0) #2 br i1 %17, label %25, label %20 20: ; preds = %16 %21 = tail call ptr @quote_identifier(ptr noundef %19) #2 br label %25 22: ; preds = %2 %23 = load i32, ptr @ERROR, align 4, !tbaa !13 %24 = tail call i32 @elog(i32 noundef %23, ptr noundef nonnull @.str.1, i32 noundef %3) #2 br label %25 25: ; preds = %16, %10, %4, %2, %20, %14, %8, %22 %26 = phi ptr [ undef, %22 ], [ %9, %8 ], [ %15, %14 ], [ %21, %20 ], [ @.str, %2 ], [ %7, %4 ], [ %13, %10 ], [ %19, %16 ] ret ptr %26 } declare ptr @quote_identifier(ptr noundef) local_unnamed_addr #1 declare ptr @GetUserNameFromId(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetUserId(...) local_unnamed_addr #1 declare i32 @GetSessionUserId(...) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!8, !8, i64 0}
citus_src_backend_distributed_utils_extr_citus_ruleutils.c_RoleSpecString
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_drv.h_i915_terminally_wedged.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_drv.h_i915_terminally_wedged.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @I915_WEDGED = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @i915_terminally_wedged], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @i915_terminally_wedged(ptr noundef %0) #0 { %2 = tail call i64 @atomic_read(ptr noundef %0) #2 %3 = load i64, ptr @I915_WEDGED, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 ret i32 %5 } declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_drv.h_i915_terminally_wedged.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_drv.h_i915_terminally_wedged.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @I915_WEDGED = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @i915_terminally_wedged], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @i915_terminally_wedged(ptr noundef %0) #0 { %2 = tail call i64 @atomic_read(ptr noundef %0) #2 %3 = load i64, ptr @I915_WEDGED, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 ret i32 %5 } declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_gpu_drm_i915_extr_i915_drv.h_i915_terminally_wedged
; ModuleID = 'AnghaBench/Cinder/src/glload/extr_wgl_load.c_LoadExt_EXT_make_current_read.c' source_filename = "AnghaBench/Cinder/src/glload/extr_wgl_load.c_LoadExt_EXT_make_current_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" @.str = private unnamed_addr constant [23 x i8] c"wglGetCurrentReadDCEXT\00", align 1 @_funcptr_wglGetCurrentReadDCEXT = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [25 x i8] c"wglMakeContextCurrentEXT\00", align 1 @_funcptr_wglMakeContextCurrentEXT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @LoadExt_EXT_make_current_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @LoadExt_EXT_make_current_read() #0 { %1 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str) #2 store i64 %1, ptr @_funcptr_wglGetCurrentReadDCEXT, align 8, !tbaa !5 %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.1) #2 store i64 %4, ptr @_funcptr_wglMakeContextCurrentEXT, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 %6 = select i1 %2, i32 2, i32 1 %7 = select i1 %5, i32 %6, i32 %3 ret i32 %7 } declare i64 @IntGetProcAddress(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Cinder/src/glload/extr_wgl_load.c_LoadExt_EXT_make_current_read.c' source_filename = "AnghaBench/Cinder/src/glload/extr_wgl_load.c_LoadExt_EXT_make_current_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [23 x i8] c"wglGetCurrentReadDCEXT\00", align 1 @_funcptr_wglGetCurrentReadDCEXT = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [25 x i8] c"wglMakeContextCurrentEXT\00", align 1 @_funcptr_wglMakeContextCurrentEXT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @LoadExt_EXT_make_current_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 3) i32 @LoadExt_EXT_make_current_read() #0 { %1 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str) #2 store i64 %1, ptr @_funcptr_wglGetCurrentReadDCEXT, align 8, !tbaa !6 %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str.1) #2 store i64 %4, ptr @_funcptr_wglMakeContextCurrentEXT, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 %6 = select i1 %2, i32 2, i32 1 %7 = select i1 %5, i32 %6, i32 %3 ret i32 %7 } declare i64 @IntGetProcAddress(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
Cinder_src_glload_extr_wgl_load.c_LoadExt_EXT_make_current_read
; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_i2c.c_I2C_Send7bitAddress.c' source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_i2c.c_I2C_Send7bitAddress.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @I2C_Direction_Transmitter = dso_local local_unnamed_addr global i64 0, align 8 @I2C_OAR1_ADD0 = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @I2C_Send7bitAddress(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @IS_I2C_ALL_PERIPH(ptr noundef %0) #2 %5 = tail call i32 @assert_param(i32 noundef %4) #2 %6 = tail call i32 @IS_I2C_DIRECTION(i64 noundef %2) #2 %7 = tail call i32 @assert_param(i32 noundef %6) #2 %8 = load i64, ptr @I2C_Direction_Transmitter, align 8, !tbaa !5 %9 = icmp eq i64 %8, %2 %10 = load i64, ptr @I2C_OAR1_ADD0, align 8, !tbaa !5 %11 = or i64 %10, %1 %12 = xor i64 %10, -1 %13 = and i64 %12, %1 %14 = select i1 %9, i64 %13, i64 %11 store i64 %14, ptr %0, align 8, !tbaa !9 ret void } declare i32 @assert_param(i32 noundef) local_unnamed_addr #1 declare i32 @IS_I2C_ALL_PERIPH(ptr noundef) local_unnamed_addr #1 declare i32 @IS_I2C_DIRECTION(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, !6, i64 0} !10 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_i2c.c_I2C_Send7bitAddress.c' source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_i2c.c_I2C_Send7bitAddress.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @I2C_Direction_Transmitter = common local_unnamed_addr global i64 0, align 8 @I2C_OAR1_ADD0 = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @I2C_Send7bitAddress(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @IS_I2C_ALL_PERIPH(ptr noundef %0) #2 %5 = tail call i32 @assert_param(i32 noundef %4) #2 %6 = tail call i32 @IS_I2C_DIRECTION(i64 noundef %2) #2 %7 = tail call i32 @assert_param(i32 noundef %6) #2 %8 = load i64, ptr @I2C_Direction_Transmitter, align 8, !tbaa !6 %9 = icmp eq i64 %8, %2 %10 = load i64, ptr @I2C_OAR1_ADD0, align 8, !tbaa !6 %11 = or i64 %10, %1 %12 = xor i64 %10, -1 %13 = and i64 %12, %1 %14 = select i1 %9, i64 %13, i64 %11 store i64 %14, ptr %0, align 8, !tbaa !10 ret void } declare i32 @assert_param(i32 noundef) local_unnamed_addr #1 declare i32 @IS_I2C_ALL_PERIPH(ptr noundef) local_unnamed_addr #1 declare i32 @IS_I2C_DIRECTION(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, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0}
anypixel_firmware_controller_ThirdParty_SPL_src_extr_stm32f4xx_i2c.c_I2C_Send7bitAddress
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_core_main.c_qeth_get_max_mtu_for_card.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_core_main.c_qeth_get_max_mtu_for_card.c" target datalayout = "e-m:e-p270:32:32-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 @qeth_get_max_mtu_for_card], section "llvm.metadata" @switch.table.qeth_get_max_mtu_for_card = private unnamed_addr constant [6 x i32] [i32 61440, i32 61440, i32 61440, i32 61440, i32 61440, i32 57344], align 4 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @qeth_get_max_mtu_for_card(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 6 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = getelementptr inbounds [6 x i32], ptr @switch.table.qeth_get_max_mtu_for_card, i64 0, i64 %5 %7 = load i32, ptr %6, align 4 br label %8 8: ; preds = %1, %4 %9 = phi i32 [ %7, %4 ], [ 1500, %1 ] ret i32 %9 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_core_main.c_qeth_get_max_mtu_for_card.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_core_main.c_qeth_get_max_mtu_for_card.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 @qeth_get_max_mtu_for_card], section "llvm.metadata" @switch.table.qeth_get_max_mtu_for_card = private unnamed_addr constant [6 x i32] [i32 61440, i32 61440, i32 61440, i32 61440, i32 61440, i32 57344], align 4 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 1500, 61441) i32 @qeth_get_max_mtu_for_card(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 6 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = getelementptr inbounds [6 x i32], ptr @switch.table.qeth_get_max_mtu_for_card, i64 0, i64 %5 %7 = load i32, ptr %6, align 4 br label %8 8: ; preds = %1, %4 %9 = phi i32 [ %7, %4 ], [ 1500, %1 ] ret i32 %9 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_s390_net_extr_qeth_core_main.c_qeth_get_max_mtu_for_card
; ModuleID = 'AnghaBench/libgit2/tests/patch/extr_parse.c_test_patch_parse__files_with_whitespaces_succeeds.c' source_filename = "AnghaBench/libgit2/tests/patch/extr_parse.c_test_patch_parse__files_with_whitespaces_succeeds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PATCH_NAME_WHITESPACE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_patch_parse__files_with_whitespaces_succeeds() local_unnamed_addr #0 { %1 = load i32, ptr @PATCH_NAME_WHITESPACE, align 4, !tbaa !5 %2 = tail call i32 @ensure_identical_patch_inout(i32 noundef %1) #2 ret void } declare i32 @ensure_identical_patch_inout(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/libgit2/tests/patch/extr_parse.c_test_patch_parse__files_with_whitespaces_succeeds.c' source_filename = "AnghaBench/libgit2/tests/patch/extr_parse.c_test_patch_parse__files_with_whitespaces_succeeds.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PATCH_NAME_WHITESPACE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_patch_parse__files_with_whitespaces_succeeds() local_unnamed_addr #0 { %1 = load i32, ptr @PATCH_NAME_WHITESPACE, align 4, !tbaa !6 %2 = tail call i32 @ensure_identical_patch_inout(i32 noundef %1) #2 ret void } declare i32 @ensure_identical_patch_inout(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"}
libgit2_tests_patch_extr_parse.c_test_patch_parse__files_with_whitespaces_succeeds
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_hash.c_ipc_hash_delete.c' source_filename = "AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_hash.c_ipc_hash_delete.c" target datalayout = "e-m:e-p270:32:32-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 } ; Function Attrs: nounwind uwtable define dso_local void @ipc_hash_delete(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @MACH_PORT_INDEX(i32 noundef %2) #2 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = tail call i32 @ipc_hash_table_delete(i32 noundef %7, i32 noundef %8, i32 noundef %1, i32 noundef %5, i32 noundef %3) #2 ret void } declare i32 @MACH_PORT_INDEX(i32 noundef) local_unnamed_addr #1 declare i32 @ipc_hash_table_delete(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_hash.c_ipc_hash_delete.c' source_filename = "AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_hash.c_ipc_hash_delete.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 @ipc_hash_delete(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @MACH_PORT_INDEX(i32 noundef %2) #2 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = load i32, ptr %0, align 4, !tbaa !11 %9 = tail call i32 @ipc_hash_table_delete(i32 noundef %7, i32 noundef %8, i32 noundef %1, i32 noundef %5, i32 noundef %3) #2 ret void } declare i32 @MACH_PORT_INDEX(i32 noundef) local_unnamed_addr #1 declare i32 @ipc_hash_table_delete(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
darwin-xnu_osfmk_ipc_extr_ipc_hash.c_ipc_hash_delete