IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vt_window_postswitch.c' source_filename = "AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vt_window_postswitch.c" target datalayout = "e-m:e-p270:32:32-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 @vt_window_postswitch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @vt_window_postswitch(ptr noundef %0) #0 { %2 = tail call i32 @signal_vt_acq(ptr noundef %0) #2 ret i32 0 } declare i32 @signal_vt_acq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vt_window_postswitch.c' source_filename = "AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vt_window_postswitch.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 @vt_window_postswitch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @vt_window_postswitch(ptr noundef %0) #0 { %2 = tail call i32 @signal_vt_acq(ptr noundef %0) #2 ret i32 0 } declare i32 @signal_vt_acq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_vt_extr_vt_core.c_vt_window_postswitch
; ModuleID = 'AnghaBench/postgres/src/backend/regex/extr_regc_color.c_okcolors.c' source_filename = "AnghaBench/postgres/src/backend/regex/extr_regc_color.c_okcolors.c" target datalayout = "e-m:e-p270:32:32-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.colordesc = type { i64, i64, i64, ptr } %struct.arc = type { i64, i32, i32, i32, ptr } @NOSUB = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @okcolors], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @okcolors(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @CDEND(ptr noundef %1) #2 %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = icmp ult ptr %4, %3 br i1 %5, label %6, label %101 6: ; preds = %2, %97 %7 = phi ptr [ %98, %97 ], [ %4, %2 ] %8 = phi i64 [ %99, %97 ], [ 0, %2 ] %9 = load i64, ptr %7, align 8, !tbaa !10 %10 = tail call i64 @UNUSEDCOLOR(ptr noundef nonnull %7) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %97 12: ; preds = %6 %13 = load i64, ptr @NOSUB, align 8, !tbaa !13 %14 = icmp eq i64 %9, %13 %15 = icmp eq i64 %9, %8 %16 = select i1 %14, i1 true, i1 %15 br i1 %16, label %97, label %17 17: ; preds = %12 %18 = getelementptr inbounds %struct.colordesc, ptr %7, i64 0, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !14 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %59 21: ; preds = %17 %22 = getelementptr inbounds %struct.colordesc, ptr %7, i64 0, i32 2 %23 = load i64, ptr %22, align 8, !tbaa !15 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %59 25: ; preds = %21 store i64 %13, ptr %7, align 8, !tbaa !10 %26 = load ptr, ptr %1, align 8, !tbaa !5 %27 = getelementptr inbounds %struct.colordesc, ptr %26, i64 %9 %28 = getelementptr inbounds %struct.colordesc, ptr %26, i64 %9, i32 1 %29 = load i64, ptr %28, align 8, !tbaa !14 %30 = icmp sgt i64 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %25 %32 = getelementptr inbounds %struct.colordesc, ptr %26, i64 %9, i32 2 %33 = load i64, ptr %32, align 8, !tbaa !15 %34 = icmp sgt i64 %33, 0 br label %35 35: ; preds = %31, %25 %36 = phi i1 [ true, %25 ], [ %34, %31 ] %37 = zext i1 %36 to i32 %38 = tail call i32 @assert(i32 noundef %37) #2 %39 = load i64, ptr %27, align 8, !tbaa !10 %40 = icmp eq i64 %39, %9 %41 = zext i1 %40 to i32 %42 = tail call i32 @assert(i32 noundef %41) #2 %43 = load i64, ptr @NOSUB, align 8, !tbaa !13 store i64 %43, ptr %27, align 8, !tbaa !10 %44 = getelementptr inbounds %struct.colordesc, ptr %7, i64 0, i32 3 %45 = load ptr, ptr %44, align 8, !tbaa !16 %46 = icmp eq ptr %45, null br i1 %46, label %57, label %47 47: ; preds = %35, %47 %48 = phi ptr [ %55, %47 ], [ %45, %35 ] %49 = load i64, ptr %48, align 8, !tbaa !17 %50 = icmp eq i64 %49, %8 %51 = zext i1 %50 to i32 %52 = tail call i32 @assert(i32 noundef %51) #2 %53 = tail call i32 @uncolorchain(ptr noundef nonnull %1, ptr noundef nonnull %48) #2 store i64 %9, ptr %48, align 8, !tbaa !17 %54 = tail call i32 @colorchain(ptr noundef nonnull %1, ptr noundef nonnull %48) #2 %55 = load ptr, ptr %44, align 8, !tbaa !16 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %47, !llvm.loop !20 57: ; preds = %47, %35 %58 = tail call i32 @freecolor(ptr noundef nonnull %1, i64 noundef %8) #2 br label %97 59: ; preds = %21, %17 store i64 %13, ptr %7, align 8, !tbaa !10 %60 = load ptr, ptr %1, align 8, !tbaa !5 %61 = getelementptr inbounds %struct.colordesc, ptr %60, i64 %9 %62 = getelementptr inbounds %struct.colordesc, ptr %60, i64 %9, i32 1 %63 = load i64, ptr %62, align 8, !tbaa !14 %64 = icmp sgt i64 %63, 0 br i1 %64, label %69, label %65 65: ; preds = %59 %66 = getelementptr inbounds %struct.colordesc, ptr %60, i64 %9, i32 2 %67 = load i64, ptr %66, align 8, !tbaa !15 %68 = icmp sgt i64 %67, 0 br label %69 69: ; preds = %65, %59 %70 = phi i1 [ true, %59 ], [ %68, %65 ] %71 = zext i1 %70 to i32 %72 = tail call i32 @assert(i32 noundef %71) #2 %73 = load i64, ptr %61, align 8, !tbaa !10 %74 = icmp eq i64 %73, %9 %75 = zext i1 %74 to i32 %76 = tail call i32 @assert(i32 noundef %75) #2 %77 = load i64, ptr @NOSUB, align 8, !tbaa !13 store i64 %77, ptr %61, align 8, !tbaa !10 %78 = getelementptr inbounds %struct.colordesc, ptr %7, i64 0, i32 3 %79 = load ptr, ptr %78, align 8, !tbaa !22 %80 = icmp eq ptr %79, null br i1 %80, label %97, label %81 81: ; preds = %69, %81 %82 = phi ptr [ %95, %81 ], [ %79, %69 ] %83 = load i64, ptr %82, align 8, !tbaa !17 %84 = icmp eq i64 %83, %8 %85 = zext i1 %84 to i32 %86 = tail call i32 @assert(i32 noundef %85) #2 %87 = getelementptr inbounds %struct.arc, ptr %82, i64 0, i32 3 %88 = load i32, ptr %87, align 8, !tbaa !23 %89 = getelementptr inbounds %struct.arc, ptr %82, i64 0, i32 2 %90 = load i32, ptr %89, align 4, !tbaa !24 %91 = getelementptr inbounds %struct.arc, ptr %82, i64 0, i32 1 %92 = load i32, ptr %91, align 8, !tbaa !25 %93 = tail call i32 @newarc(ptr noundef %0, i32 noundef %88, i64 noundef %9, i32 noundef %90, i32 noundef %92) #2 %94 = getelementptr inbounds %struct.arc, ptr %82, i64 0, i32 4 %95 = load ptr, ptr %94, align 8, !tbaa !22 %96 = icmp eq ptr %95, null br i1 %96, label %97, label %81, !llvm.loop !26 97: ; preds = %81, %69, %12, %6, %57 %98 = getelementptr inbounds %struct.colordesc, ptr %7, i64 1 %99 = add i64 %8, 1 %100 = icmp ult ptr %98, %3 br i1 %100, label %6, label %101, !llvm.loop !27 101: ; preds = %97, %2 ret void } declare ptr @CDEND(ptr noundef) local_unnamed_addr #1 declare i64 @UNUSEDCOLOR(ptr noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @uncolorchain(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @colorchain(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @freecolor(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @newarc(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"colormap", !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 = !{!"colordesc", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!11, !12, i64 16} !16 = !{!11, !7, i64 24} !17 = !{!18, !12, i64 0} !18 = !{!"arc", !12, i64 0, !19, i64 8, !19, i64 12, !19, i64 16, !7, i64 24} !19 = !{!"int", !8, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!7, !7, i64 0} !23 = !{!18, !19, i64 16} !24 = !{!18, !19, i64 12} !25 = !{!18, !19, i64 8} !26 = distinct !{!26, !21} !27 = distinct !{!27, !21}
; ModuleID = 'AnghaBench/postgres/src/backend/regex/extr_regc_color.c_okcolors.c' source_filename = "AnghaBench/postgres/src/backend/regex/extr_regc_color.c_okcolors.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.colordesc = type { i64, i64, i64, ptr } @NOSUB = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @okcolors], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @okcolors(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @CDEND(ptr noundef %1) #2 %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = icmp ult ptr %4, %3 br i1 %5, label %6, label %101 6: ; preds = %2, %97 %7 = phi ptr [ %98, %97 ], [ %4, %2 ] %8 = phi i64 [ %99, %97 ], [ 0, %2 ] %9 = load i64, ptr %7, align 8, !tbaa !11 %10 = tail call i64 @UNUSEDCOLOR(ptr noundef nonnull %7) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %97 12: ; preds = %6 %13 = load i64, ptr @NOSUB, align 8, !tbaa !14 %14 = icmp eq i64 %9, %13 %15 = icmp eq i64 %9, %8 %16 = select i1 %14, i1 true, i1 %15 br i1 %16, label %97, label %17 17: ; preds = %12 %18 = getelementptr inbounds i8, ptr %7, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !15 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %59 21: ; preds = %17 %22 = getelementptr inbounds i8, ptr %7, i64 16 %23 = load i64, ptr %22, align 8, !tbaa !16 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %59 25: ; preds = %21 store i64 %13, ptr %7, align 8, !tbaa !11 %26 = load ptr, ptr %1, align 8, !tbaa !6 %27 = getelementptr inbounds %struct.colordesc, ptr %26, i64 %9 %28 = getelementptr inbounds i8, ptr %27, i64 8 %29 = load i64, ptr %28, align 8, !tbaa !15 %30 = icmp sgt i64 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %25 %32 = getelementptr inbounds i8, ptr %27, i64 16 %33 = load i64, ptr %32, align 8, !tbaa !16 %34 = icmp sgt i64 %33, 0 br label %35 35: ; preds = %31, %25 %36 = phi i1 [ true, %25 ], [ %34, %31 ] %37 = zext i1 %36 to i32 %38 = tail call i32 @assert(i32 noundef %37) #2 %39 = load i64, ptr %27, align 8, !tbaa !11 %40 = icmp eq i64 %39, %9 %41 = zext i1 %40 to i32 %42 = tail call i32 @assert(i32 noundef %41) #2 %43 = load i64, ptr @NOSUB, align 8, !tbaa !14 store i64 %43, ptr %27, align 8, !tbaa !11 %44 = getelementptr inbounds i8, ptr %7, i64 24 %45 = load ptr, ptr %44, align 8, !tbaa !17 %46 = icmp eq ptr %45, null br i1 %46, label %57, label %47 47: ; preds = %35, %47 %48 = phi ptr [ %55, %47 ], [ %45, %35 ] %49 = load i64, ptr %48, align 8, !tbaa !18 %50 = icmp eq i64 %49, %8 %51 = zext i1 %50 to i32 %52 = tail call i32 @assert(i32 noundef %51) #2 %53 = tail call i32 @uncolorchain(ptr noundef nonnull %1, ptr noundef nonnull %48) #2 store i64 %9, ptr %48, align 8, !tbaa !18 %54 = tail call i32 @colorchain(ptr noundef nonnull %1, ptr noundef nonnull %48) #2 %55 = load ptr, ptr %44, align 8, !tbaa !17 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %47, !llvm.loop !21 57: ; preds = %47, %35 %58 = tail call i32 @freecolor(ptr noundef nonnull %1, i64 noundef %8) #2 br label %97 59: ; preds = %21, %17 store i64 %13, ptr %7, align 8, !tbaa !11 %60 = load ptr, ptr %1, align 8, !tbaa !6 %61 = getelementptr inbounds %struct.colordesc, ptr %60, i64 %9 %62 = getelementptr inbounds i8, ptr %61, i64 8 %63 = load i64, ptr %62, align 8, !tbaa !15 %64 = icmp sgt i64 %63, 0 br i1 %64, label %69, label %65 65: ; preds = %59 %66 = getelementptr inbounds i8, ptr %61, i64 16 %67 = load i64, ptr %66, align 8, !tbaa !16 %68 = icmp sgt i64 %67, 0 br label %69 69: ; preds = %65, %59 %70 = phi i1 [ true, %59 ], [ %68, %65 ] %71 = zext i1 %70 to i32 %72 = tail call i32 @assert(i32 noundef %71) #2 %73 = load i64, ptr %61, align 8, !tbaa !11 %74 = icmp eq i64 %73, %9 %75 = zext i1 %74 to i32 %76 = tail call i32 @assert(i32 noundef %75) #2 %77 = load i64, ptr @NOSUB, align 8, !tbaa !14 store i64 %77, ptr %61, align 8, !tbaa !11 %78 = getelementptr inbounds i8, ptr %7, i64 24 %79 = load ptr, ptr %78, align 8, !tbaa !23 %80 = icmp eq ptr %79, null br i1 %80, label %97, label %81 81: ; preds = %69, %81 %82 = phi ptr [ %95, %81 ], [ %79, %69 ] %83 = load i64, ptr %82, align 8, !tbaa !18 %84 = icmp eq i64 %83, %8 %85 = zext i1 %84 to i32 %86 = tail call i32 @assert(i32 noundef %85) #2 %87 = getelementptr inbounds i8, ptr %82, i64 16 %88 = load i32, ptr %87, align 8, !tbaa !24 %89 = getelementptr inbounds i8, ptr %82, i64 12 %90 = load i32, ptr %89, align 4, !tbaa !25 %91 = getelementptr inbounds i8, ptr %82, i64 8 %92 = load i32, ptr %91, align 8, !tbaa !26 %93 = tail call i32 @newarc(ptr noundef %0, i32 noundef %88, i64 noundef %9, i32 noundef %90, i32 noundef %92) #2 %94 = getelementptr inbounds i8, ptr %82, i64 24 %95 = load ptr, ptr %94, align 8, !tbaa !23 %96 = icmp eq ptr %95, null br i1 %96, label %97, label %81, !llvm.loop !27 97: ; preds = %81, %69, %12, %6, %57 %98 = getelementptr inbounds i8, ptr %7, i64 32 %99 = add i64 %8, 1 %100 = icmp ult ptr %98, %3 br i1 %100, label %6, label %101, !llvm.loop !28 101: ; preds = %97, %2 ret void } declare ptr @CDEND(ptr noundef) local_unnamed_addr #1 declare i64 @UNUSEDCOLOR(ptr noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @uncolorchain(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @colorchain(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @freecolor(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @newarc(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"colormap", !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 = !{!"colordesc", !13, i64 0, !13, i64 8, !13, i64 16, !8, i64 24} !13 = !{!"long", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 8} !16 = !{!12, !13, i64 16} !17 = !{!12, !8, i64 24} !18 = !{!19, !13, i64 0} !19 = !{!"arc", !13, i64 0, !20, i64 8, !20, i64 12, !20, i64 16, !8, i64 24} !20 = !{!"int", !9, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!8, !8, i64 0} !24 = !{!19, !20, i64 16} !25 = !{!19, !20, i64 12} !26 = !{!19, !20, i64 8} !27 = distinct !{!27, !22} !28 = distinct !{!28, !22}
postgres_src_backend_regex_extr_regc_color.c_okcolors
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/pensando/ionic/extr_ionic_lif.c_ionic_txrx_disable.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/pensando/ionic/extr_ionic_lif.c_ionic_txrx_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ionic_lif = type { i32, ptr, ptr } %struct.TYPE_3__ = type { i32 } %struct.TYPE_4__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ionic_txrx_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ionic_txrx_disable(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %21, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.ionic_lif, ptr %0, i64 0, i32 2 %6 = getelementptr inbounds %struct.ionic_lif, ptr %0, i64 0, i32 1 br label %7 7: ; preds = %4, %7 %8 = phi i64 [ 0, %4 ], [ %17, %7 ] %9 = load ptr, ptr %5, align 8, !tbaa !11 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @ionic_qcq_disable(i32 noundef %11) #2 %13 = load ptr, ptr %6, align 8, !tbaa !14 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 %8 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = tail call i32 @ionic_qcq_disable(i32 noundef %15) #2 %17 = add nuw nsw i64 %8, 1 %18 = load i32, ptr %0, align 8, !tbaa !5 %19 = zext i32 %18 to i64 %20 = icmp ult i64 %17, %19 br i1 %20, label %7, label %21, !llvm.loop !17 21: ; preds = %7, %1 ret void } declare i32 @ionic_qcq_disable(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 = !{!"ionic_lif", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 16} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_4__", !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/pensando/ionic/extr_ionic_lif.c_ionic_txrx_disable.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/pensando/ionic/extr_ionic_lif.c_ionic_txrx_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32 } %struct.TYPE_4__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @ionic_txrx_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ionic_txrx_disable(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %21, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = getelementptr inbounds i8, ptr %0, i64 8 br label %7 7: ; preds = %4, %7 %8 = phi i64 [ 0, %4 ], [ %17, %7 ] %9 = load ptr, ptr %5, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @ionic_qcq_disable(i32 noundef %11) #2 %13 = load ptr, ptr %6, align 8, !tbaa !15 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 %8 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = tail call i32 @ionic_qcq_disable(i32 noundef %15) #2 %17 = add nuw nsw i64 %8, 1 %18 = load i32, ptr %0, align 8, !tbaa !6 %19 = zext i32 %18 to i64 %20 = icmp ult i64 %17, %19 br i1 %20, label %7, label %21, !llvm.loop !18 21: ; preds = %7, %1 ret void } declare i32 @ionic_qcq_disable(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 = !{!"ionic_lif", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 16} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_3__", !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_4__", !8, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_pensando_ionic_extr_ionic_lif.c_ionic_txrx_disable
; ModuleID = 'AnghaBench/postgres/src/backend/utils/misc/extr_help_config.c_displayStruct.c' source_filename = "AnghaBench/postgres/src/backend/utils/misc/extr_help_config.c_displayStruct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GUC_NO_SHOW_ALL = dso_local local_unnamed_addr global i32 0, align 4 @GUC_NOT_IN_SAMPLE = dso_local local_unnamed_addr global i32 0, align 4 @GUC_DISALLOW_IN_FILE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @displayStruct], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @displayStruct(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @GUC_NO_SHOW_ALL, align 4, !tbaa !11 %4 = load i32, ptr @GUC_NOT_IN_SAMPLE, align 4, !tbaa !11 %5 = or i32 %4, %3 %6 = load i32, ptr @GUC_DISALLOW_IN_FILE, align 4, !tbaa !11 %7 = or i32 %5, %6 %8 = and i32 %7, %2 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i32 ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/misc/extr_help_config.c_displayStruct.c' source_filename = "AnghaBench/postgres/src/backend/utils/misc/extr_help_config.c_displayStruct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GUC_NO_SHOW_ALL = common local_unnamed_addr global i32 0, align 4 @GUC_NOT_IN_SAMPLE = common local_unnamed_addr global i32 0, align 4 @GUC_DISALLOW_IN_FILE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @displayStruct], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @displayStruct(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @GUC_NO_SHOW_ALL, align 4, !tbaa !12 %4 = load i32, ptr @GUC_NOT_IN_SAMPLE, align 4, !tbaa !12 %5 = or i32 %4, %3 %6 = load i32, ptr @GUC_DISALLOW_IN_FILE, align 4, !tbaa !12 %7 = or i32 %5, %6 %8 = and i32 %7, %2 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i32 ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
postgres_src_backend_utils_misc_extr_help_config.c_displayStruct
; ModuleID = 'AnghaBench/linux/drivers/scsi/csiostor/extr_csio_lnode.c_csio_lns_online.c' source_filename = "AnghaBench/linux/drivers/scsi/csiostor/extr_csio_lnode.c_csio_lns_online.c" target datalayout = "e-m:e-p270:32:32-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.csio_lnode = type { i32, ptr, i32, i32 } @n_evt_sm = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [58 x i8] c"warn: FCOE link is up already Ignoring linkup on port:%d\0A\00", align 1 @n_evt_drop = dso_local local_unnamed_addr global i32 0, align 4 @csio_lns_ready = dso_local local_unnamed_addr global i32 0, align 4 @CSIO_LN_FC_LINKUP = dso_local local_unnamed_addr global i32 0, align 4 @csio_lns_uninit = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [58 x i8] c"unexp ln event %d recv from did:x%x in ln state[uninit].\0A\00", align 1 @n_evt_unexp = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @csio_lns_online], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @csio_lns_online(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @csio_lnode_to_hw(ptr noundef %0) #2 %4 = load ptr, ptr @n_evt_sm, align 8, !tbaa !5 %5 = zext i32 %1 to i64 %6 = getelementptr inbounds i32, ptr %4, i64 %5 %7 = load i32, ptr %6, align 4, !tbaa !9 %8 = tail call i32 @CSIO_INC_STATS(ptr noundef %0, i32 noundef %7) #2 switch i32 %1, label %33 [ i32 129, label %9 i32 130, label %15 i32 128, label %23 i32 131, label %23 ] 9: ; preds = %2 %10 = getelementptr inbounds %struct.csio_lnode, ptr %0, i64 0, i32 3 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = tail call i32 @csio_ln_warn(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %11) #2 %13 = load i32, ptr @n_evt_drop, align 4, !tbaa !9 %14 = tail call i32 @CSIO_INC_STATS(ptr noundef %0, i32 noundef %13) #2 br label %38 15: ; preds = %2 %16 = getelementptr inbounds %struct.csio_lnode, ptr %0, i64 0, i32 2 %17 = load i32, ptr @csio_lns_ready, align 4, !tbaa !9 %18 = tail call i32 @csio_set_state(ptr noundef nonnull %16, i32 noundef %17) #2 %19 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2 %20 = load i32, ptr @CSIO_LN_FC_LINKUP, align 4, !tbaa !9 %21 = tail call i32 @csio_lnode_async_event(ptr noundef %0, i32 noundef %20) #2 %22 = tail call i32 @spin_lock_irq(ptr noundef %3) #2 br label %38 23: ; preds = %2, %2 %24 = getelementptr inbounds %struct.csio_lnode, ptr %0, i64 0, i32 2 %25 = load i32, ptr @csio_lns_uninit, align 4, !tbaa !9 %26 = tail call i32 @csio_set_state(ptr noundef nonnull %24, i32 noundef %25) #2 %27 = tail call i32 @csio_is_phys_ln(ptr noundef %0) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %38, label %29 29: ; preds = %23 %30 = getelementptr inbounds %struct.csio_lnode, ptr %0, i64 0, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !13 %32 = tail call i32 @list_del_init(ptr noundef %31) #2 br label %38 33: ; preds = %2 %34 = load i32, ptr %0, align 8, !tbaa !14 %35 = tail call i32 @csio_ln_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %34) #2 %36 = load i32, ptr @n_evt_unexp, align 4, !tbaa !9 %37 = tail call i32 @CSIO_INC_STATS(ptr noundef nonnull %0, i32 noundef %36) #2 br label %38 38: ; preds = %23, %29, %33, %15, %9 ret void } declare ptr @csio_lnode_to_hw(ptr noundef) local_unnamed_addr #1 declare i32 @CSIO_INC_STATS(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csio_ln_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csio_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @csio_lnode_async_event(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @csio_is_phys_ln(ptr noundef) local_unnamed_addr #1 declare i32 @list_del_init(ptr noundef) local_unnamed_addr #1 declare i32 @csio_ln_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 20} !12 = !{!"csio_lnode", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20} !13 = !{!12, !6, i64 8} !14 = !{!12, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/csiostor/extr_csio_lnode.c_csio_lns_online.c' source_filename = "AnghaBench/linux/drivers/scsi/csiostor/extr_csio_lnode.c_csio_lns_online.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @n_evt_sm = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [58 x i8] c"warn: FCOE link is up already Ignoring linkup on port:%d\0A\00", align 1 @n_evt_drop = common local_unnamed_addr global i32 0, align 4 @csio_lns_ready = common local_unnamed_addr global i32 0, align 4 @CSIO_LN_FC_LINKUP = common local_unnamed_addr global i32 0, align 4 @csio_lns_uninit = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [58 x i8] c"unexp ln event %d recv from did:x%x in ln state[uninit].\0A\00", align 1 @n_evt_unexp = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @csio_lns_online], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @csio_lns_online(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @csio_lnode_to_hw(ptr noundef %0) #2 %4 = load ptr, ptr @n_evt_sm, align 8, !tbaa !6 %5 = zext i32 %1 to i64 %6 = getelementptr inbounds i32, ptr %4, i64 %5 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = tail call i32 @CSIO_INC_STATS(ptr noundef %0, i32 noundef %7) #2 switch i32 %1, label %33 [ i32 129, label %9 i32 130, label %15 i32 128, label %23 i32 131, label %23 ] 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %0, i64 20 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @csio_ln_warn(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %11) #2 %13 = load i32, ptr @n_evt_drop, align 4, !tbaa !10 %14 = tail call i32 @CSIO_INC_STATS(ptr noundef %0, i32 noundef %13) #2 br label %38 15: ; preds = %2 %16 = getelementptr inbounds i8, ptr %0, i64 16 %17 = load i32, ptr @csio_lns_ready, align 4, !tbaa !10 %18 = tail call i32 @csio_set_state(ptr noundef nonnull %16, i32 noundef %17) #2 %19 = tail call i32 @spin_unlock_irq(ptr noundef %3) #2 %20 = load i32, ptr @CSIO_LN_FC_LINKUP, align 4, !tbaa !10 %21 = tail call i32 @csio_lnode_async_event(ptr noundef %0, i32 noundef %20) #2 %22 = tail call i32 @spin_lock_irq(ptr noundef %3) #2 br label %38 23: ; preds = %2, %2 %24 = getelementptr inbounds i8, ptr %0, i64 16 %25 = load i32, ptr @csio_lns_uninit, align 4, !tbaa !10 %26 = tail call i32 @csio_set_state(ptr noundef nonnull %24, i32 noundef %25) #2 %27 = tail call i32 @csio_is_phys_ln(ptr noundef %0) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %38, label %29 29: ; preds = %23 %30 = getelementptr inbounds i8, ptr %0, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !14 %32 = tail call i32 @list_del_init(ptr noundef %31) #2 br label %38 33: ; preds = %2 %34 = load i32, ptr %0, align 8, !tbaa !15 %35 = tail call i32 @csio_ln_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %34) #2 %36 = load i32, ptr @n_evt_unexp, align 4, !tbaa !10 %37 = tail call i32 @CSIO_INC_STATS(ptr noundef nonnull %0, i32 noundef %36) #2 br label %38 38: ; preds = %23, %29, %33, %15, %9 ret void } declare ptr @csio_lnode_to_hw(ptr noundef) local_unnamed_addr #1 declare i32 @CSIO_INC_STATS(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csio_ln_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csio_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @csio_lnode_async_event(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @csio_is_phys_ln(ptr noundef) local_unnamed_addr #1 declare i32 @list_del_init(ptr noundef) local_unnamed_addr #1 declare i32 @csio_ln_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 20} !13 = !{!"csio_lnode", !11, i64 0, !7, i64 8, !11, i64 16, !11, i64 20} !14 = !{!13, !7, i64 8} !15 = !{!13, !11, i64 0}
linux_drivers_scsi_csiostor_extr_csio_lnode.c_csio_lns_online
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_cert.c_Cert_clone.c' source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_cert.c_Cert_clone.c" target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_6__ } %struct.TYPE_6__ = type { ptr, i32, i32, i32, i32 } @cert_vtbl = dso_local global i32 0, align 4 @X509_CERT_TO_BE_SIGNED = dso_local local_unnamed_addr global i32 0, align 4 @CRYPT_DECODE_ALLOC_FLAG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @Cert_clone], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @Cert_clone(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = icmp eq i64 %2, 0 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = tail call i64 @Context_CreateLinkContext(i32 noundef 4, ptr noundef %0, ptr noundef %1) #3 %8 = inttoptr i64 %7 to ptr %9 = icmp eq i64 %7, 0 br i1 %9, label %45, label %41 10: ; preds = %3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !5 %11 = tail call i64 @Context_CreateDataContext(i32 noundef 4, ptr noundef nonnull @cert_vtbl, ptr noundef %1) #3 %12 = inttoptr i64 %11 to ptr %13 = icmp eq i64 %11, 0 br i1 %13, label %44, label %14 14: ; preds = %10 %15 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i64 0, i32 1 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %17 = tail call i32 @Context_CopyProperties(ptr noundef nonnull %15, ptr noundef nonnull %16) #3 %18 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 4 %19 = load i32, ptr %18, align 4, !tbaa !9 %20 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i64 0, i32 1, i32 4 store i32 %19, ptr %20, align 4, !tbaa !9 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 2 %22 = load i32, ptr %21, align 4, !tbaa !13 %23 = tail call i32 @CryptMemAlloc(i32 noundef %22) #3 %24 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i64 0, i32 1, i32 3 store i32 %23, ptr %24, align 8, !tbaa !14 %25 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1, i32 3 %26 = load i32, ptr %25, align 8, !tbaa !14 %27 = load i32, ptr %21, align 4, !tbaa !13 %28 = tail call i32 @memcpy(i32 noundef %23, i32 noundef %26, i32 noundef %27) #3 %29 = load i32, ptr %21, align 4, !tbaa !13 %30 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i64 0, i32 1, i32 2 store i32 %29, ptr %30, align 4, !tbaa !13 %31 = load i32, ptr %20, align 4, !tbaa !9 %32 = load i32, ptr @X509_CERT_TO_BE_SIGNED, align 4, !tbaa !5 %33 = load i32, ptr %24, align 8, !tbaa !14 %34 = load i32, ptr @CRYPT_DECODE_ALLOC_FLAG, align 4, !tbaa !5 %35 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i64 0, i32 1, i32 1 %36 = call i64 @CryptDecodeObjectEx(i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %29, i32 noundef %34, ptr noundef null, ptr noundef nonnull %35, ptr noundef nonnull %4) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %14 %39 = call i32 @CertFreeCertificateContext(ptr noundef nonnull %15) #3 br label %44 40: ; preds = %14 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %41 41: ; preds = %40, %6 %42 = phi ptr [ %8, %6 ], [ %12, %40 ] %43 = getelementptr inbounds %struct.TYPE_5__, ptr %42, i64 0, i32 1 store ptr %1, ptr %43, align 8, !tbaa !15 br label %45 44: ; preds = %10, %38 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %45 45: ; preds = %44, %6, %41 %46 = phi ptr [ %42, %41 ], [ null, %6 ], [ null, %44 ] ret ptr %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @Context_CreateLinkContext(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @Context_CreateDataContext(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Context_CopyProperties(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CryptMemAlloc(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @CryptDecodeObjectEx(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CertFreeCertificateContext(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 28} !10 = !{!"TYPE_5__", !6, i64 0, !11, i64 8} !11 = !{!"TYPE_6__", !12, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 20} !14 = !{!10, !6, i64 24} !15 = !{!10, !12, i64 8}
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_cert.c_Cert_clone.c' source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_cert.c_Cert_clone.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cert_vtbl = common global i32 0, align 4 @X509_CERT_TO_BE_SIGNED = common local_unnamed_addr global i32 0, align 4 @CRYPT_DECODE_ALLOC_FLAG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @Cert_clone], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @Cert_clone(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = icmp eq i64 %2, 0 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = tail call i64 @Context_CreateLinkContext(i32 noundef 4, ptr noundef %0, ptr noundef %1) #3 %8 = inttoptr i64 %7 to ptr %9 = icmp eq i64 %7, 0 br i1 %9, label %45, label %41 10: ; preds = %3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !6 %11 = tail call i64 @Context_CreateDataContext(i32 noundef 4, ptr noundef nonnull @cert_vtbl, ptr noundef %1) #3 %12 = inttoptr i64 %11 to ptr %13 = icmp eq i64 %11, 0 br i1 %13, label %44, label %14 14: ; preds = %10 %15 = getelementptr inbounds i8, ptr %12, i64 8 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = tail call i32 @Context_CopyProperties(ptr noundef nonnull %15, ptr noundef nonnull %16) #3 %18 = getelementptr inbounds i8, ptr %0, i64 28 %19 = load i32, ptr %18, align 4, !tbaa !10 %20 = getelementptr inbounds i8, ptr %12, i64 28 store i32 %19, ptr %20, align 4, !tbaa !10 %21 = getelementptr inbounds i8, ptr %0, i64 20 %22 = load i32, ptr %21, align 4, !tbaa !14 %23 = tail call i32 @CryptMemAlloc(i32 noundef %22) #3 %24 = getelementptr inbounds i8, ptr %12, i64 24 store i32 %23, ptr %24, align 8, !tbaa !15 %25 = getelementptr inbounds i8, ptr %0, i64 24 %26 = load i32, ptr %25, align 8, !tbaa !15 %27 = load i32, ptr %21, align 4, !tbaa !14 %28 = tail call i32 @memcpy(i32 noundef %23, i32 noundef %26, i32 noundef %27) #3 %29 = load i32, ptr %21, align 4, !tbaa !14 %30 = getelementptr inbounds i8, ptr %12, i64 20 store i32 %29, ptr %30, align 4, !tbaa !14 %31 = load i32, ptr %20, align 4, !tbaa !10 %32 = load i32, ptr @X509_CERT_TO_BE_SIGNED, align 4, !tbaa !6 %33 = load i32, ptr %24, align 8, !tbaa !15 %34 = load i32, ptr @CRYPT_DECODE_ALLOC_FLAG, align 4, !tbaa !6 %35 = getelementptr inbounds i8, ptr %12, i64 16 %36 = call i64 @CryptDecodeObjectEx(i32 noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %29, i32 noundef %34, ptr noundef null, ptr noundef nonnull %35, ptr noundef nonnull %4) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %14 %39 = call i32 @CertFreeCertificateContext(ptr noundef nonnull %15) #3 br label %44 40: ; preds = %14 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %41 41: ; preds = %40, %6 %42 = phi ptr [ %8, %6 ], [ %12, %40 ] %43 = getelementptr inbounds i8, ptr %42, i64 8 store ptr %1, ptr %43, align 8, !tbaa !16 br label %45 44: ; preds = %10, %38 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %45 45: ; preds = %44, %6, %41 %46 = phi ptr [ %42, %41 ], [ null, %6 ], [ null, %44 ] ret ptr %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @Context_CreateLinkContext(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @Context_CreateDataContext(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Context_CopyProperties(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CryptMemAlloc(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @CryptDecodeObjectEx(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CertFreeCertificateContext(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 28} !11 = !{!"TYPE_5__", !7, i64 0, !12, i64 8} !12 = !{!"TYPE_6__", !13, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 20} !15 = !{!11, !7, i64 24} !16 = !{!11, !13, i64 8}
reactos_dll_win32_crypt32_extr_cert.c_Cert_clone
; ModuleID = 'AnghaBench/git/refs/extr_packed-backend.c_packed_create_reflog.c' source_filename = "AnghaBench/git/refs/extr_packed-backend.c_packed_create_reflog.c" target datalayout = "e-m:e-p270:32:32-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 [48 x i8] c"packed reference store does not support reflogs\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @packed_create_reflog], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @packed_create_reflog(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2, ptr nocapture readnone %3) #0 { %5 = tail call i32 @BUG(ptr noundef nonnull @.str) #2 ret i32 undef } declare i32 @BUG(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/git/refs/extr_packed-backend.c_packed_create_reflog.c' source_filename = "AnghaBench/git/refs/extr_packed-backend.c_packed_create_reflog.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 [48 x i8] c"packed reference store does not support reflogs\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @packed_create_reflog], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @packed_create_reflog(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2, ptr nocapture readnone %3) #0 { %5 = tail call i32 @BUG(ptr noundef nonnull @.str) #2 ret i32 undef } declare i32 @BUG(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
git_refs_extr_packed-backend.c_packed_create_reflog
; ModuleID = 'AnghaBench/freebsd/sys/cam/ctl/extr_ctl.c_ctl_inquiry_evpd_eid.c' source_filename = "AnghaBench/freebsd/sys/cam/ctl/extr_ctl.c_ctl_inquiry_evpd_eid.c" target datalayout = "e-m:e-p270:32:32-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_scsiio = type { i32, %struct.TYPE_4__, i32, i32, i64, i64, i64 } %struct.TYPE_4__ = type { i32 } %struct.scsi_vpd_extended_inquiry_data = type { i32, i32, i64, i32, i32, i32, i32, i32 } @M_CTL = dso_local local_unnamed_addr global i32 0, align 4 @M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4 @M_ZERO = dso_local local_unnamed_addr global i32 0, align 4 @SID_QUAL_LU_CONNECTED = dso_local local_unnamed_addr global i32 0, align 4 @SID_QUAL_LU_OFFLINE = dso_local local_unnamed_addr global i32 0, align 4 @T_DIRECT = dso_local local_unnamed_addr global i32 0, align 4 @SVPD_EXTENDED_INQUIRY_DATA = dso_local local_unnamed_addr global i32 0, align 4 @SVPD_EID_HEADSUP = dso_local local_unnamed_addr global i32 0, align 4 @SVPD_EID_ORDSUP = dso_local local_unnamed_addr global i32 0, align 4 @SVPD_EID_SIMPSUP = dso_local local_unnamed_addr global i32 0, align 4 @SVPD_EID_V_SUP = dso_local local_unnamed_addr global i32 0, align 4 @SVPD_EID_LUICLR = dso_local local_unnamed_addr global i32 0, align 4 @SVPD_EID_RTD_SUP = dso_local local_unnamed_addr global i32 0, align 4 @CTL_FLAG_ALLOCATED = dso_local local_unnamed_addr global i32 0, align 4 @ctl_config_move_done = 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_inquiry_evpd_eid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ctl_inquiry_evpd_eid(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @CTL_LUN(ptr noundef %0) #3 %4 = load i32, ptr @M_CTL, align 4, !tbaa !5 %5 = load i32, ptr @M_WAITOK, align 4, !tbaa !5 %6 = load i32, ptr @M_ZERO, align 4, !tbaa !5 %7 = or i32 %6, %5 %8 = tail call i64 @malloc(i32 noundef 40, i32 noundef %4, i32 noundef %7) #3 %9 = getelementptr inbounds %struct.ctl_scsiio, ptr %0, i64 0, i32 6 store i64 %8, ptr %9, align 8, !tbaa !9 %10 = getelementptr inbounds %struct.ctl_scsiio, ptr %0, i64 0, i32 4 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, i8 0, i64 16, i1 false) %11 = tail call i32 @min(i32 noundef 40, i32 noundef %1) #3 %12 = getelementptr inbounds %struct.ctl_scsiio, ptr %0, i64 0, i32 2 store i32 %11, ptr %12, align 8, !tbaa !13 %13 = getelementptr inbounds %struct.ctl_scsiio, ptr %0, i64 0, i32 3 store i32 %11, ptr %13, align 4, !tbaa !14 %14 = icmp eq ptr %3, null br i1 %14, label %20, label %15 15: ; preds = %2 %16 = load i32, ptr @SID_QUAL_LU_CONNECTED, align 4, !tbaa !5 %17 = shl i32 %16, 5 %18 = load ptr, ptr %3, align 8, !tbaa !15 %19 = load i32, ptr %18, align 4, !tbaa !18 br label %24 20: ; preds = %2 %21 = load i32, ptr @SID_QUAL_LU_OFFLINE, align 4, !tbaa !5 %22 = shl i32 %21, 5 %23 = load i32, ptr @T_DIRECT, align 4, !tbaa !5 br label %24 24: ; preds = %20, %15 %25 = phi i32 [ %23, %20 ], [ %17, %15 ] %26 = phi i32 [ %22, %20 ], [ %19, %15 ] %27 = or i32 %26, %25 %28 = inttoptr i64 %8 to ptr store i32 %27, ptr %28, align 8, !tbaa !20 %29 = load i32, ptr @SVPD_EXTENDED_INQUIRY_DATA, align 4, !tbaa !5 %30 = getelementptr inbounds %struct.scsi_vpd_extended_inquiry_data, ptr %28, i64 0, i32 7 store i32 %29, ptr %30, align 8, !tbaa !22 %31 = getelementptr inbounds %struct.scsi_vpd_extended_inquiry_data, ptr %28, i64 0, i32 6 %32 = load i32, ptr %31, align 4, !tbaa !23 %33 = tail call i32 @scsi_ulto2b(i32 noundef 36, i32 noundef %32) #3 %34 = load i32, ptr @SVPD_EID_HEADSUP, align 4, !tbaa !5 %35 = load i32, ptr @SVPD_EID_ORDSUP, align 4, !tbaa !5 %36 = or i32 %35, %34 %37 = load i32, ptr @SVPD_EID_SIMPSUP, align 4, !tbaa !5 %38 = or i32 %36, %37 %39 = getelementptr inbounds %struct.scsi_vpd_extended_inquiry_data, ptr %28, i64 0, i32 1 store i32 %38, ptr %39, align 4, !tbaa !24 %40 = load i32, ptr @SVPD_EID_V_SUP, align 4, !tbaa !5 %41 = getelementptr inbounds %struct.scsi_vpd_extended_inquiry_data, ptr %28, i64 0, i32 5 store i32 %40, ptr %41, align 8, !tbaa !25 %42 = load i32, ptr @SVPD_EID_LUICLR, align 4, !tbaa !5 %43 = getelementptr inbounds %struct.scsi_vpd_extended_inquiry_data, ptr %28, i64 0, i32 4 store i32 %42, ptr %43, align 4, !tbaa !26 %44 = load i32, ptr @SVPD_EID_RTD_SUP, align 4, !tbaa !5 %45 = getelementptr inbounds %struct.scsi_vpd_extended_inquiry_data, ptr %28, i64 0, i32 3 store i32 %44, ptr %45, align 8, !tbaa !27 %46 = getelementptr inbounds %struct.scsi_vpd_extended_inquiry_data, ptr %28, i64 0, i32 2 store i64 0, ptr %46, align 8, !tbaa !28 %47 = tail call i32 @ctl_set_success(ptr noundef nonnull %0) #3 %48 = load i32, ptr @CTL_FLAG_ALLOCATED, align 4, !tbaa !5 %49 = getelementptr inbounds %struct.ctl_scsiio, ptr %0, i64 0, i32 1 %50 = load i32, ptr %49, align 4, !tbaa !29 %51 = or i32 %50, %48 store i32 %51, ptr %49, align 4, !tbaa !29 %52 = load i32, ptr @ctl_config_move_done, align 4, !tbaa !5 store i32 %52, ptr %0, align 8, !tbaa !30 %53 = tail call i32 @ctl_datamove(ptr noundef nonnull %0) #3 %54 = load i32, ptr @CTL_RETVAL_COMPLETE, align 4, !tbaa !5 ret i32 %54 } declare ptr @CTL_LUN(ptr noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @scsi_ulto2b(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ctl_set_success(ptr noundef) local_unnamed_addr #1 declare i32 @ctl_datamove(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 32} !10 = !{!"ctl_scsiio", !6, i64 0, !11, i64 4, !6, i64 8, !6, i64 12, !12, i64 16, !12, i64 24, !12, i64 32} !11 = !{!"TYPE_4__", !6, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !6, i64 8} !14 = !{!10, !6, i64 12} !15 = !{!16, !17, i64 0} !16 = !{!"ctl_lun", !17, i64 0} !17 = !{!"any pointer", !7, i64 0} !18 = !{!19, !6, i64 0} !19 = !{!"TYPE_3__", !6, i64 0} !20 = !{!21, !6, i64 0} !21 = !{!"scsi_vpd_extended_inquiry_data", !6, i64 0, !6, i64 4, !12, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32} !22 = !{!21, !6, i64 32} !23 = !{!21, !6, i64 28} !24 = !{!21, !6, i64 4} !25 = !{!21, !6, i64 24} !26 = !{!21, !6, i64 20} !27 = !{!21, !6, i64 16} !28 = !{!21, !12, i64 8} !29 = !{!10, !6, i64 4} !30 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cam/ctl/extr_ctl.c_ctl_inquiry_evpd_eid.c' source_filename = "AnghaBench/freebsd/sys/cam/ctl/extr_ctl.c_ctl_inquiry_evpd_eid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_CTL = common local_unnamed_addr global i32 0, align 4 @M_WAITOK = common local_unnamed_addr global i32 0, align 4 @M_ZERO = common local_unnamed_addr global i32 0, align 4 @SID_QUAL_LU_CONNECTED = common local_unnamed_addr global i32 0, align 4 @SID_QUAL_LU_OFFLINE = common local_unnamed_addr global i32 0, align 4 @T_DIRECT = common local_unnamed_addr global i32 0, align 4 @SVPD_EXTENDED_INQUIRY_DATA = common local_unnamed_addr global i32 0, align 4 @SVPD_EID_HEADSUP = common local_unnamed_addr global i32 0, align 4 @SVPD_EID_ORDSUP = common local_unnamed_addr global i32 0, align 4 @SVPD_EID_SIMPSUP = common local_unnamed_addr global i32 0, align 4 @SVPD_EID_V_SUP = common local_unnamed_addr global i32 0, align 4 @SVPD_EID_LUICLR = common local_unnamed_addr global i32 0, align 4 @SVPD_EID_RTD_SUP = common local_unnamed_addr global i32 0, align 4 @CTL_FLAG_ALLOCATED = common local_unnamed_addr global i32 0, align 4 @ctl_config_move_done = 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_inquiry_evpd_eid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ctl_inquiry_evpd_eid(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @CTL_LUN(ptr noundef %0) #3 %4 = load i32, ptr @M_CTL, align 4, !tbaa !6 %5 = load i32, ptr @M_WAITOK, align 4, !tbaa !6 %6 = load i32, ptr @M_ZERO, align 4, !tbaa !6 %7 = or i32 %6, %5 %8 = tail call i64 @malloc(i32 noundef 40, i32 noundef %4, i32 noundef %7) #3 %9 = getelementptr inbounds i8, ptr %0, i64 32 store i64 %8, ptr %9, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %0, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, i8 0, i64 16, i1 false) %11 = tail call i32 @min(i32 noundef 40, i32 noundef %1) #3 %12 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %11, ptr %12, align 8, !tbaa !14 %13 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %11, ptr %13, align 4, !tbaa !15 %14 = icmp eq ptr %3, null br i1 %14, label %21, label %15 15: ; preds = %2 %16 = load i32, ptr @SID_QUAL_LU_CONNECTED, align 4, !tbaa !6 %17 = shl i32 %16, 5 %18 = load ptr, ptr %3, align 8, !tbaa !16 %19 = load i32, ptr %18, align 4, !tbaa !19 %20 = or i32 %19, %17 br label %26 21: ; preds = %2 %22 = load i32, ptr @SID_QUAL_LU_OFFLINE, align 4, !tbaa !6 %23 = shl i32 %22, 5 %24 = load i32, ptr @T_DIRECT, align 4, !tbaa !6 %25 = or i32 %23, %24 br label %26 26: ; preds = %21, %15 %27 = phi i32 [ %25, %21 ], [ %20, %15 ] %28 = inttoptr i64 %8 to ptr store i32 %27, ptr %28, align 8, !tbaa !21 %29 = load i32, ptr @SVPD_EXTENDED_INQUIRY_DATA, align 4, !tbaa !6 %30 = getelementptr inbounds i8, ptr %28, i64 32 store i32 %29, ptr %30, align 8, !tbaa !23 %31 = getelementptr inbounds i8, ptr %28, i64 28 %32 = load i32, ptr %31, align 4, !tbaa !24 %33 = tail call i32 @scsi_ulto2b(i32 noundef 36, i32 noundef %32) #3 %34 = load i32, ptr @SVPD_EID_HEADSUP, align 4, !tbaa !6 %35 = load i32, ptr @SVPD_EID_ORDSUP, align 4, !tbaa !6 %36 = or i32 %35, %34 %37 = load i32, ptr @SVPD_EID_SIMPSUP, align 4, !tbaa !6 %38 = or i32 %36, %37 %39 = getelementptr inbounds i8, ptr %28, i64 4 store i32 %38, ptr %39, align 4, !tbaa !25 %40 = load i32, ptr @SVPD_EID_V_SUP, align 4, !tbaa !6 %41 = getelementptr inbounds i8, ptr %28, i64 24 store i32 %40, ptr %41, align 8, !tbaa !26 %42 = load i32, ptr @SVPD_EID_LUICLR, align 4, !tbaa !6 %43 = getelementptr inbounds i8, ptr %28, i64 20 store i32 %42, ptr %43, align 4, !tbaa !27 %44 = load i32, ptr @SVPD_EID_RTD_SUP, align 4, !tbaa !6 %45 = getelementptr inbounds i8, ptr %28, i64 16 store i32 %44, ptr %45, align 8, !tbaa !28 %46 = getelementptr inbounds i8, ptr %28, i64 8 store i64 0, ptr %46, align 8, !tbaa !29 %47 = tail call i32 @ctl_set_success(ptr noundef nonnull %0) #3 %48 = load i32, ptr @CTL_FLAG_ALLOCATED, align 4, !tbaa !6 %49 = getelementptr inbounds i8, ptr %0, i64 4 %50 = load i32, ptr %49, align 4, !tbaa !30 %51 = or i32 %50, %48 store i32 %51, ptr %49, align 4, !tbaa !30 %52 = load i32, ptr @ctl_config_move_done, align 4, !tbaa !6 store i32 %52, ptr %0, align 8, !tbaa !31 %53 = tail call i32 @ctl_datamove(ptr noundef nonnull %0) #3 %54 = load i32, ptr @CTL_RETVAL_COMPLETE, align 4, !tbaa !6 ret i32 %54 } declare ptr @CTL_LUN(ptr noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @scsi_ulto2b(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ctl_set_success(ptr noundef) local_unnamed_addr #1 declare i32 @ctl_datamove(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 32} !11 = !{!"ctl_scsiio", !7, i64 0, !12, i64 4, !7, i64 8, !7, i64 12, !13, i64 16, !13, i64 24, !13, i64 32} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!11, !7, i64 12} !16 = !{!17, !18, i64 0} !17 = !{!"ctl_lun", !18, i64 0} !18 = !{!"any pointer", !8, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_3__", !7, i64 0} !21 = !{!22, !7, i64 0} !22 = !{!"scsi_vpd_extended_inquiry_data", !7, i64 0, !7, i64 4, !13, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32} !23 = !{!22, !7, i64 32} !24 = !{!22, !7, i64 28} !25 = !{!22, !7, i64 4} !26 = !{!22, !7, i64 24} !27 = !{!22, !7, i64 20} !28 = !{!22, !7, i64 16} !29 = !{!22, !13, i64 8} !30 = !{!11, !7, i64 4} !31 = !{!11, !7, i64 0}
freebsd_sys_cam_ctl_extr_ctl.c_ctl_inquiry_evpd_eid
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_main.c_mwifiex_cleanup_module.c' source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_main.c_mwifiex_cleanup_module.c" target datalayout = "e-m:e-p270:32:32-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 @mwifiex_cleanup_module], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @mwifiex_cleanup_module() #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/linux/drivers/net/wireless/marvell/mwifiex/extr_main.c_mwifiex_cleanup_module.c' source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_main.c_mwifiex_cleanup_module.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 @mwifiex_cleanup_module], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @mwifiex_cleanup_module() #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)"}
linux_drivers_net_wireless_marvell_mwifiex_extr_main.c_mwifiex_cleanup_module
; ModuleID = 'AnghaBench/linux/drivers/staging/media/hantro/extr_hantro_jpeg.c_hantro_jpeg_enc_exit.c' source_filename = "AnghaBench/linux/drivers/staging/media/hantro/extr_hantro_jpeg.c_hantro_jpeg_enc_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" %struct.hantro_ctx = type { %struct.TYPE_6__, ptr } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32, i32 } @DMA_ATTR_ALLOC_SINGLE_PAGES = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @hantro_jpeg_enc_exit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.hantro_ctx, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !13 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %6 = load i32, ptr %5, align 8, !tbaa !15 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !16 %9 = load i32, ptr %0, align 8, !tbaa !17 %10 = load i32, ptr @DMA_ATTR_ALLOC_SINGLE_PAGES, align 4, !tbaa !18 %11 = tail call i32 @dma_free_attrs(i32 noundef %4, i32 noundef %6, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2 ret void } declare i32 @dma_free_attrs(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, !12, i64 16} !6 = !{!"hantro_ctx", !7, i64 0, !12, i64 16} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0, !9, i64 4, !9, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !9, i64 0} !14 = !{!"TYPE_4__", !9, i64 0} !15 = !{!6, !9, i64 8} !16 = !{!6, !9, i64 4} !17 = !{!6, !9, i64 0} !18 = !{!9, !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/media/hantro/extr_hantro_jpeg.c_hantro_jpeg_enc_exit.c' source_filename = "AnghaBench/linux/drivers/staging/media/hantro/extr_hantro_jpeg.c_hantro_jpeg_enc_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMA_ATTR_ALLOC_SINGLE_PAGES = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @hantro_jpeg_enc_exit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !14 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 8, !tbaa !16 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !17 %9 = load i32, ptr %0, align 8, !tbaa !18 %10 = load i32, ptr @DMA_ATTR_ALLOC_SINGLE_PAGES, align 4, !tbaa !19 %11 = tail call i32 @dma_free_attrs(i32 noundef %4, i32 noundef %6, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2 ret void } declare i32 @dma_free_attrs(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, !13, i64 16} !7 = !{!"hantro_ctx", !8, i64 0, !13, i64 16} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"TYPE_5__", !10, i64 0, !10, i64 4, !10, 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 = !{!15, !10, i64 0} !15 = !{!"TYPE_4__", !10, i64 0} !16 = !{!7, !10, i64 8} !17 = !{!7, !10, i64 4} !18 = !{!7, !10, i64 0} !19 = !{!10, !10, i64 0}
linux_drivers_staging_media_hantro_extr_hantro_jpeg.c_hantro_jpeg_enc_exit
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/alpha/lib/extr_fpreg.c_alpha_write_fp_reg.c' source_filename = "AnghaBench/fastsocket/kernel/arch/alpha/lib/extr_fpreg.c_alpha_write_fp_reg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @alpha_write_fp_reg(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp ult i64 %0, 32 br i1 %3, label %4, label %7 4: ; preds = %2 %5 = trunc i64 %0 to i32 %6 = tail call i32 @LDT(i32 noundef %5, i64 noundef %1) #2 br label %7 7: ; preds = %2, %4 ret void } declare i32 @LDT(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/alpha/lib/extr_fpreg.c_alpha_write_fp_reg.c' source_filename = "AnghaBench/fastsocket/kernel/arch/alpha/lib/extr_fpreg.c_alpha_write_fp_reg.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 @alpha_write_fp_reg(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp ult i64 %0, 32 br i1 %3, label %4, label %7 4: ; preds = %2 %5 = trunc nuw i64 %0 to i32 %6 = tail call i32 @LDT(i32 noundef %5, i64 noundef %1) #2 br label %7 7: ; preds = %2, %4 ret void } declare i32 @LDT(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_alpha_lib_extr_fpreg.c_alpha_write_fp_reg
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-panasonic-vvx10f034n00.c_wuxga_nt_panel_unprepare.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-panasonic-vvx10f034n00.c_wuxga_nt_panel_unprepare.c" target datalayout = "e-m:e-p270:32:32-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.wuxga_nt_panel = type { i32, i32, i32 } @MIN_POFF_MS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wuxga_nt_panel_unprepare], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @wuxga_nt_panel_unprepare(ptr noundef %0) #0 { %2 = tail call ptr @to_wuxga_nt_panel(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %13, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.wuxga_nt_panel, ptr %2, i64 0, i32 2 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = tail call i32 @regulator_disable(i32 noundef %7) #2 %9 = tail call i32 (...) @ktime_get_real() #2 %10 = load i32, ptr @MIN_POFF_MS, align 4, !tbaa !11 %11 = tail call i32 @ktime_add_ms(i32 noundef %9, i32 noundef %10) #2 %12 = getelementptr inbounds %struct.wuxga_nt_panel, ptr %2, i64 0, i32 1 store i32 %11, ptr %12, align 4, !tbaa !12 store i32 0, ptr %2, align 4, !tbaa !5 br label %13 13: ; preds = %1, %5 ret i32 0 } declare ptr @to_wuxga_nt_panel(ptr noundef) local_unnamed_addr #1 declare i32 @regulator_disable(i32 noundef) local_unnamed_addr #1 declare i32 @ktime_add_ms(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ktime_get_real(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"wuxga_nt_panel", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-panasonic-vvx10f034n00.c_wuxga_nt_panel_unprepare.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-panasonic-vvx10f034n00.c_wuxga_nt_panel_unprepare.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MIN_POFF_MS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wuxga_nt_panel_unprepare], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @wuxga_nt_panel_unprepare(ptr noundef %0) #0 { %2 = tail call ptr @to_wuxga_nt_panel(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %13, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %2, i64 8 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = tail call i32 @regulator_disable(i32 noundef %7) #2 %9 = tail call i32 @ktime_get_real() #2 %10 = load i32, ptr @MIN_POFF_MS, align 4, !tbaa !12 %11 = tail call i32 @ktime_add_ms(i32 noundef %9, i32 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %11, ptr %12, align 4, !tbaa !13 store i32 0, ptr %2, align 4, !tbaa !6 br label %13 13: ; preds = %1, %5 ret i32 0 } declare ptr @to_wuxga_nt_panel(ptr noundef) local_unnamed_addr #1 declare i32 @regulator_disable(i32 noundef) local_unnamed_addr #1 declare i32 @ktime_add_ms(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ktime_get_real(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"wuxga_nt_panel", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4}
linux_drivers_gpu_drm_panel_extr_panel-panasonic-vvx10f034n00.c_wuxga_nt_panel_unprepare
; ModuleID = 'AnghaBench/linux/drivers/video/console/extr_newport_con.c_newport_render_background.c' source_filename = "AnghaBench/linux/drivers/video/console/extr_newport_con.c_newport_render_background.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { %struct.TYPE_5__, %struct.TYPE_6__ } %struct.TYPE_5__ = type { i32 } %struct.TYPE_6__ = type { i32, i32, i32, i32 } @npregs = dso_local local_unnamed_addr global ptr null, align 8 @NPORT_DMODE0_DRAW = dso_local local_unnamed_addr global i32 0, align 4 @NPORT_DMODE0_BLOCK = dso_local local_unnamed_addr global i32 0, align 4 @NPORT_DMODE0_DOSETUP = dso_local local_unnamed_addr global i32 0, align 4 @NPORT_DMODE0_STOPX = dso_local local_unnamed_addr global i32 0, align 4 @NPORT_DMODE0_STOPY = dso_local local_unnamed_addr global i32 0, align 4 @topscan = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @newport_render_background], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @newport_render_background(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr @npregs, align 8, !tbaa !5 %7 = tail call i32 @newport_wait(ptr noundef %6) #2 %8 = load ptr, ptr @npregs, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 0, i32 1 store i32 -1, ptr %9, align 4, !tbaa !9 %10 = load i32, ptr @NPORT_DMODE0_DRAW, align 4, !tbaa !14 %11 = load i32, ptr @NPORT_DMODE0_BLOCK, align 4, !tbaa !14 %12 = or i32 %11, %10 %13 = load i32, ptr @NPORT_DMODE0_DOSETUP, align 4, !tbaa !14 %14 = or i32 %12, %13 %15 = load i32, ptr @NPORT_DMODE0_STOPX, align 4, !tbaa !14 %16 = or i32 %14, %15 %17 = load i32, ptr @NPORT_DMODE0_STOPY, align 4, !tbaa !14 %18 = or i32 %16, %17 %19 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 0, i32 1, i32 1 store i32 %18, ptr %19, align 4, !tbaa !15 %20 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 0, i32 1, i32 2 store i32 %4, ptr %20, align 4, !tbaa !16 %21 = shl i32 %0, 16 %22 = load i32, ptr @topscan, align 4, !tbaa !14 %23 = add nsw i32 %22, %1 %24 = and i32 %23, 1023 %25 = or disjoint i32 %24, %21 %26 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 0, i32 1, i32 3 store i32 %25, ptr %26, align 4, !tbaa !17 %27 = shl i32 %2, 16 %28 = add i32 %27, 458752 %29 = add i32 %3, 15 %30 = add i32 %29, %22 %31 = and i32 %30, 1023 %32 = or disjoint i32 %31, %28 store i32 %32, ptr %8, align 4, !tbaa !18 ret void } declare i32 @newport_wait(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 4} !10 = !{!"TYPE_7__", !11, i64 0, !13, i64 4} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!"TYPE_6__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12} !14 = !{!12, !12, i64 0} !15 = !{!10, !12, i64 8} !16 = !{!10, !12, i64 12} !17 = !{!10, !12, i64 16} !18 = !{!10, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/video/console/extr_newport_con.c_newport_render_background.c' source_filename = "AnghaBench/linux/drivers/video/console/extr_newport_con.c_newport_render_background.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @npregs = common local_unnamed_addr global ptr null, align 8 @NPORT_DMODE0_DRAW = common local_unnamed_addr global i32 0, align 4 @NPORT_DMODE0_BLOCK = common local_unnamed_addr global i32 0, align 4 @NPORT_DMODE0_DOSETUP = common local_unnamed_addr global i32 0, align 4 @NPORT_DMODE0_STOPX = common local_unnamed_addr global i32 0, align 4 @NPORT_DMODE0_STOPY = common local_unnamed_addr global i32 0, align 4 @topscan = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @newport_render_background], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @newport_render_background(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr @npregs, align 8, !tbaa !6 %7 = tail call i32 @newport_wait(ptr noundef %6) #2 %8 = load ptr, ptr @npregs, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %8, i64 4 store i32 -1, ptr %9, align 4, !tbaa !10 %10 = load i32, ptr @NPORT_DMODE0_DRAW, align 4, !tbaa !15 %11 = load i32, ptr @NPORT_DMODE0_BLOCK, align 4, !tbaa !15 %12 = or i32 %11, %10 %13 = load i32, ptr @NPORT_DMODE0_DOSETUP, align 4, !tbaa !15 %14 = or i32 %12, %13 %15 = load i32, ptr @NPORT_DMODE0_STOPX, align 4, !tbaa !15 %16 = or i32 %14, %15 %17 = load i32, ptr @NPORT_DMODE0_STOPY, align 4, !tbaa !15 %18 = or i32 %16, %17 %19 = getelementptr inbounds i8, ptr %8, i64 8 store i32 %18, ptr %19, align 4, !tbaa !16 %20 = getelementptr inbounds i8, ptr %8, i64 12 store i32 %4, ptr %20, align 4, !tbaa !17 %21 = shl i32 %0, 16 %22 = load i32, ptr @topscan, align 4, !tbaa !15 %23 = add nsw i32 %22, %1 %24 = and i32 %23, 1023 %25 = or disjoint i32 %24, %21 %26 = getelementptr inbounds i8, ptr %8, i64 16 store i32 %25, ptr %26, align 4, !tbaa !18 %27 = shl i32 %2, 16 %28 = add i32 %27, 458752 %29 = add i32 %3, 15 %30 = add i32 %29, %22 %31 = and i32 %30, 1023 %32 = or disjoint i32 %31, %28 store i32 %32, ptr %8, align 4, !tbaa !19 ret void } declare i32 @newport_wait(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 4} !11 = !{!"TYPE_7__", !12, i64 0, !14, i64 4} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!"TYPE_6__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12} !15 = !{!13, !13, i64 0} !16 = !{!11, !13, i64 8} !17 = !{!11, !13, i64 12} !18 = !{!11, !13, i64 16} !19 = !{!11, !13, i64 0}
linux_drivers_video_console_extr_newport_con.c_newport_render_background
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dsl_crypt.c_spa_keystore_create_mapping.c' source_filename = "AnghaBench/zfs/module/zfs/extr_dsl_crypt.c_spa_keystore_create_mapping.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_20__ = type { i32, i32 } %struct.TYPE_19__ = type { i32, i32, i32 } %struct.TYPE_17__ = type { i32, i32 } @B_FALSE = dso_local local_unnamed_addr global i64 0, align 8 @KM_SLEEP = dso_local local_unnamed_addr global i32 0, align 4 @RW_WRITER = dso_local local_unnamed_addr global i32 0, align 4 @B_TRUE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @spa_keystore_create_mapping(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i64, ptr @B_FALSE, align 8, !tbaa !5 %7 = load i32, ptr @KM_SLEEP, align 4, !tbaa !9 %8 = tail call ptr @kmem_zalloc(i32 noundef 12, i32 noundef %7) #3 %9 = tail call i32 @zfs_refcount_create(ptr noundef %8) #3 %10 = getelementptr inbounds %struct.TYPE_20__, ptr %1, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = getelementptr inbounds %struct.TYPE_19__, ptr %8, i64 0, i32 1 %13 = tail call i32 @spa_keystore_dsl_key_hold_dd(ptr noundef %0, i32 noundef %11, ptr noundef %8, ptr noundef nonnull %12) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %4 %16 = tail call i32 @zfs_refcount_destroy(ptr noundef %8) #3 %17 = tail call i32 @kmem_free(ptr noundef %8, i32 noundef 12) #3 %18 = icmp eq ptr %3, null br i1 %18, label %49, label %19 19: ; preds = %15 store ptr null, ptr %3, align 8, !tbaa !13 br label %49 20: ; preds = %4 %21 = load i32, ptr %1, align 4, !tbaa !15 %22 = getelementptr inbounds %struct.TYPE_19__, ptr %8, i64 0, i32 2 store i32 %21, ptr %22, align 4, !tbaa !16 %23 = load i32, ptr @RW_WRITER, align 4, !tbaa !9 %24 = tail call i32 @rw_enter(ptr noundef %0, i32 noundef %23) #3 %25 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1 %26 = call ptr @avl_find(ptr noundef nonnull %25, ptr noundef %8, ptr noundef nonnull %5) #3 %27 = icmp eq ptr %26, null br i1 %27, label %32, label %28 28: ; preds = %20 %29 = load i64, ptr @B_TRUE, align 8, !tbaa !5 %30 = call i32 @zfs_refcount_add(ptr noundef nonnull %26, ptr noundef %2) #3 %31 = icmp eq ptr %3, null br i1 %31, label %40, label %37 32: ; preds = %20 %33 = call i32 @zfs_refcount_add(ptr noundef nonnull %8, ptr noundef %2) #3 %34 = load i32, ptr %5, align 4, !tbaa !9 %35 = call i32 @avl_insert(ptr noundef nonnull %25, ptr noundef nonnull %8, i32 noundef %34) #3 %36 = icmp eq ptr %3, null br i1 %36, label %40, label %37 37: ; preds = %32, %28 %38 = phi ptr [ %26, %28 ], [ %8, %32 ] %39 = phi i64 [ %29, %28 ], [ %6, %32 ] store ptr %38, ptr %3, align 8, !tbaa !13 br label %40 40: ; preds = %37, %32, %28 %41 = phi i64 [ %29, %28 ], [ %6, %32 ], [ %39, %37 ] %42 = call i32 @rw_exit(ptr noundef %0) #3 %43 = icmp eq i64 %41, 0 br i1 %43, label %49, label %44 44: ; preds = %40 %45 = load i32, ptr %12, align 4, !tbaa !18 %46 = call i32 @spa_keystore_dsl_key_rele(ptr noundef %0, i32 noundef %45, ptr noundef nonnull %8) #3 %47 = call i32 @zfs_refcount_destroy(ptr noundef nonnull %8) #3 %48 = call i32 @kmem_free(ptr noundef nonnull %8, i32 noundef 12) #3 br label %49 49: ; preds = %40, %44, %15, %19 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @kmem_zalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zfs_refcount_create(ptr noundef) local_unnamed_addr #2 declare i32 @spa_keystore_dsl_key_hold_dd(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zfs_refcount_destroy(ptr noundef) local_unnamed_addr #2 declare i32 @kmem_free(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rw_enter(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @avl_find(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zfs_refcount_add(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avl_insert(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rw_exit(ptr noundef) local_unnamed_addr #2 declare i32 @spa_keystore_dsl_key_rele(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 4} !12 = !{!"TYPE_20__", !10, i64 0, !10, i64 4} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!12, !10, i64 0} !16 = !{!17, !10, i64 8} !17 = !{!"TYPE_19__", !10, i64 0, !10, i64 4, !10, i64 8} !18 = !{!17, !10, i64 4}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dsl_crypt.c_spa_keystore_create_mapping.c' source_filename = "AnghaBench/zfs/module/zfs/extr_dsl_crypt.c_spa_keystore_create_mapping.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @B_FALSE = common local_unnamed_addr global i64 0, align 8 @KM_SLEEP = common local_unnamed_addr global i32 0, align 4 @RW_WRITER = common local_unnamed_addr global i32 0, align 4 @B_TRUE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @spa_keystore_create_mapping(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i64, ptr @B_FALSE, align 8, !tbaa !6 %7 = load i32, ptr @KM_SLEEP, align 4, !tbaa !10 %8 = tail call ptr @kmem_zalloc(i32 noundef 12, i32 noundef %7) #3 %9 = tail call i32 @zfs_refcount_create(ptr noundef %8) #3 %10 = getelementptr inbounds i8, ptr %1, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = getelementptr inbounds i8, ptr %8, i64 4 %13 = tail call i32 @spa_keystore_dsl_key_hold_dd(ptr noundef %0, i32 noundef %11, ptr noundef %8, ptr noundef nonnull %12) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %4 %16 = tail call i32 @zfs_refcount_destroy(ptr noundef %8) #3 %17 = tail call i32 @kmem_free(ptr noundef %8, i32 noundef 12) #3 %18 = icmp eq ptr %3, null br i1 %18, label %49, label %19 19: ; preds = %15 store ptr null, ptr %3, align 8, !tbaa !14 br label %49 20: ; preds = %4 %21 = load i32, ptr %1, align 4, !tbaa !16 %22 = getelementptr inbounds i8, ptr %8, i64 8 store i32 %21, ptr %22, align 4, !tbaa !17 %23 = load i32, ptr @RW_WRITER, align 4, !tbaa !10 %24 = tail call i32 @rw_enter(ptr noundef %0, i32 noundef %23) #3 %25 = getelementptr inbounds i8, ptr %0, i64 4 %26 = call ptr @avl_find(ptr noundef nonnull %25, ptr noundef %8, ptr noundef nonnull %5) #3 %27 = icmp eq ptr %26, null br i1 %27, label %32, label %28 28: ; preds = %20 %29 = load i64, ptr @B_TRUE, align 8, !tbaa !6 %30 = call i32 @zfs_refcount_add(ptr noundef nonnull %26, ptr noundef %2) #3 %31 = icmp eq ptr %3, null br i1 %31, label %40, label %37 32: ; preds = %20 %33 = call i32 @zfs_refcount_add(ptr noundef nonnull %8, ptr noundef %2) #3 %34 = load i32, ptr %5, align 4, !tbaa !10 %35 = call i32 @avl_insert(ptr noundef nonnull %25, ptr noundef nonnull %8, i32 noundef %34) #3 %36 = icmp eq ptr %3, null br i1 %36, label %40, label %37 37: ; preds = %32, %28 %38 = phi ptr [ %26, %28 ], [ %8, %32 ] %39 = phi i64 [ %29, %28 ], [ %6, %32 ] store ptr %38, ptr %3, align 8, !tbaa !14 br label %40 40: ; preds = %37, %32, %28 %41 = phi i64 [ %29, %28 ], [ %6, %32 ], [ %39, %37 ] %42 = call i32 @rw_exit(ptr noundef %0) #3 %43 = icmp eq i64 %41, 0 br i1 %43, label %49, label %44 44: ; preds = %40 %45 = load i32, ptr %12, align 4, !tbaa !19 %46 = call i32 @spa_keystore_dsl_key_rele(ptr noundef %0, i32 noundef %45, ptr noundef nonnull %8) #3 %47 = call i32 @zfs_refcount_destroy(ptr noundef nonnull %8) #3 %48 = call i32 @kmem_free(ptr noundef nonnull %8, i32 noundef 12) #3 br label %49 49: ; preds = %40, %44, %15, %19 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @kmem_zalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zfs_refcount_create(ptr noundef) local_unnamed_addr #2 declare i32 @spa_keystore_dsl_key_hold_dd(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zfs_refcount_destroy(ptr noundef) local_unnamed_addr #2 declare i32 @kmem_free(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rw_enter(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @avl_find(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zfs_refcount_add(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avl_insert(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rw_exit(ptr noundef) local_unnamed_addr #2 declare i32 @spa_keystore_dsl_key_rele(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 4} !13 = !{!"TYPE_20__", !11, i64 0, !11, i64 4} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!13, !11, i64 0} !17 = !{!18, !11, i64 8} !18 = !{!"TYPE_19__", !11, i64 0, !11, i64 4, !11, i64 8} !19 = !{!18, !11, i64 4}
zfs_module_zfs_extr_dsl_crypt.c_spa_keystore_create_mapping
; ModuleID = 'AnghaBench/freebsd/sys/netipsec/extr_ipsec_pcb.c_ipsec_copy_pcbpolicy.c' source_filename = "AnghaBench/freebsd/sys/netipsec/extr_ipsec_pcb.c_ipsec_copy_pcbpolicy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, ptr, ptr } @.str = private unnamed_addr constant [19 x i8] c"new inp_sp is NULL\00", align 1 @INP_INBOUND_POLICY = dso_local local_unnamed_addr global i32 0, align 4 @INP_OUTBOUND_POLICY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"new PCB already has configured policies\00", align 1 @ENOBUFS = dso_local local_unnamed_addr global i32 0, align 4 @IPSEC_DIR_INBOUND = dso_local local_unnamed_addr global i32 0, align 4 @IPSEC_DIR_OUTBOUND = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ipsec_copy_pcbpolicy(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %80, label %5 5: ; preds = %2 %6 = load ptr, ptr %1, align 8, !tbaa !5 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = tail call i32 @IPSEC_ASSERT(i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = load ptr, ptr %1, align 8, !tbaa !5 %11 = load i32, ptr %10, align 8, !tbaa !10 %12 = load i32, ptr @INP_INBOUND_POLICY, align 4, !tbaa !13 %13 = load i32, ptr @INP_OUTBOUND_POLICY, align 4, !tbaa !13 %14 = or i32 %13, %12 %15 = and i32 %14, %11 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i32 @IPSEC_ASSERT(i32 noundef %17, ptr noundef nonnull @.str.1) #2 %19 = tail call i32 @INP_WLOCK_ASSERT(ptr noundef nonnull %1) #2 %20 = tail call i32 @INP_LOCK_ASSERT(ptr noundef nonnull %0) #2 %21 = load ptr, ptr %0, align 8, !tbaa !5 %22 = load i32, ptr %21, align 8, !tbaa !10 %23 = load i32, ptr @INP_INBOUND_POLICY, align 4, !tbaa !13 %24 = and i32 %23, %22 %25 = icmp eq i32 %24, 0 br i1 %25, label %51, label %26 26: ; preds = %5 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i64 0, i32 2 %28 = load ptr, ptr %27, align 8, !tbaa !14 %29 = tail call ptr @ipsec_deepcopy_pcbpolicy(ptr noundef %28) #2 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %26 %32 = load i32, ptr @ENOBUFS, align 4, !tbaa !13 br label %80 33: ; preds = %26 %34 = load i32, ptr @IPSEC_DIR_INBOUND, align 4, !tbaa !13 %35 = tail call i32 @ipsec_setspidx_inpcb(ptr noundef nonnull %1, ptr noundef nonnull %29, i32 noundef %34) #2 %36 = load ptr, ptr %1, align 8, !tbaa !5 %37 = getelementptr inbounds %struct.TYPE_2__, ptr %36, i64 0, i32 2 %38 = load ptr, ptr %37, align 8, !tbaa !14 %39 = icmp eq ptr %38, null br i1 %39, label %43, label %40 40: ; preds = %33 %41 = tail call i32 @key_freesp(ptr noundef nonnull %37) #2 %42 = load ptr, ptr %1, align 8, !tbaa !5 br label %43 43: ; preds = %40, %33 %44 = phi ptr [ %42, %40 ], [ %36, %33 ] %45 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i64 0, i32 2 store ptr %29, ptr %45, align 8, !tbaa !14 %46 = load i32, ptr @INP_INBOUND_POLICY, align 4, !tbaa !13 %47 = load i32, ptr %44, align 8, !tbaa !10 %48 = or i32 %47, %46 store i32 %48, ptr %44, align 8, !tbaa !10 %49 = load ptr, ptr %0, align 8, !tbaa !5 %50 = load i32, ptr %49, align 8, !tbaa !10 br label %51 51: ; preds = %43, %5 %52 = phi i32 [ %50, %43 ], [ %22, %5 ] %53 = phi ptr [ %49, %43 ], [ %21, %5 ] %54 = load i32, ptr @INP_OUTBOUND_POLICY, align 4, !tbaa !13 %55 = and i32 %54, %52 %56 = icmp eq i32 %55, 0 br i1 %56, label %80, label %57 57: ; preds = %51 %58 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i64 0, i32 1 %59 = load ptr, ptr %58, align 8, !tbaa !15 %60 = tail call ptr @ipsec_deepcopy_pcbpolicy(ptr noundef %59) #2 %61 = icmp eq ptr %60, null br i1 %61, label %62, label %64 62: ; preds = %57 %63 = load i32, ptr @ENOBUFS, align 4, !tbaa !13 br label %80 64: ; preds = %57 %65 = load i32, ptr @IPSEC_DIR_OUTBOUND, align 4, !tbaa !13 %66 = tail call i32 @ipsec_setspidx_inpcb(ptr noundef nonnull %1, ptr noundef nonnull %60, i32 noundef %65) #2 %67 = load ptr, ptr %1, align 8, !tbaa !5 %68 = getelementptr inbounds %struct.TYPE_2__, ptr %67, i64 0, i32 1 %69 = load ptr, ptr %68, align 8, !tbaa !15 %70 = icmp eq ptr %69, null br i1 %70, label %74, label %71 71: ; preds = %64 %72 = tail call i32 @key_freesp(ptr noundef nonnull %68) #2 %73 = load ptr, ptr %1, align 8, !tbaa !5 br label %74 74: ; preds = %71, %64 %75 = phi ptr [ %73, %71 ], [ %67, %64 ] %76 = getelementptr inbounds %struct.TYPE_2__, ptr %75, i64 0, i32 1 store ptr %60, ptr %76, align 8, !tbaa !15 %77 = load i32, ptr @INP_OUTBOUND_POLICY, align 4, !tbaa !13 %78 = load i32, ptr %75, align 8, !tbaa !10 %79 = or i32 %78, %77 store i32 %79, ptr %75, align 8, !tbaa !10 br label %80 80: ; preds = %51, %74, %2, %62, %31 %81 = phi i32 [ %32, %31 ], [ %63, %62 ], [ 0, %2 ], [ 0, %74 ], [ 0, %51 ] ret i32 %81 } declare i32 @IPSEC_ASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INP_WLOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare i32 @INP_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare ptr @ipsec_deepcopy_pcbpolicy(ptr noundef) local_unnamed_addr #1 declare i32 @ipsec_setspidx_inpcb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @key_freesp(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 = !{!"inpcb", !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, !7, i64 8, !7, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 16} !15 = !{!11, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/netipsec/extr_ipsec_pcb.c_ipsec_copy_pcbpolicy.c' source_filename = "AnghaBench/freebsd/sys/netipsec/extr_ipsec_pcb.c_ipsec_copy_pcbpolicy.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"new inp_sp is NULL\00", align 1 @INP_INBOUND_POLICY = common local_unnamed_addr global i32 0, align 4 @INP_OUTBOUND_POLICY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"new PCB already has configured policies\00", align 1 @ENOBUFS = common local_unnamed_addr global i32 0, align 4 @IPSEC_DIR_INBOUND = common local_unnamed_addr global i32 0, align 4 @IPSEC_DIR_OUTBOUND = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ipsec_copy_pcbpolicy(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %80, label %5 5: ; preds = %2 %6 = load ptr, ptr %1, align 8, !tbaa !6 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = tail call i32 @IPSEC_ASSERT(i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = load ptr, ptr %1, align 8, !tbaa !6 %11 = load i32, ptr %10, align 8, !tbaa !11 %12 = load i32, ptr @INP_INBOUND_POLICY, align 4, !tbaa !14 %13 = load i32, ptr @INP_OUTBOUND_POLICY, align 4, !tbaa !14 %14 = or i32 %13, %12 %15 = and i32 %14, %11 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i32 @IPSEC_ASSERT(i32 noundef %17, ptr noundef nonnull @.str.1) #2 %19 = tail call i32 @INP_WLOCK_ASSERT(ptr noundef nonnull %1) #2 %20 = tail call i32 @INP_LOCK_ASSERT(ptr noundef nonnull %0) #2 %21 = load ptr, ptr %0, align 8, !tbaa !6 %22 = load i32, ptr %21, align 8, !tbaa !11 %23 = load i32, ptr @INP_INBOUND_POLICY, align 4, !tbaa !14 %24 = and i32 %23, %22 %25 = icmp eq i32 %24, 0 br i1 %25, label %51, label %26 26: ; preds = %5 %27 = getelementptr inbounds i8, ptr %21, i64 16 %28 = load ptr, ptr %27, align 8, !tbaa !15 %29 = tail call ptr @ipsec_deepcopy_pcbpolicy(ptr noundef %28) #2 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %26 %32 = load i32, ptr @ENOBUFS, align 4, !tbaa !14 br label %80 33: ; preds = %26 %34 = load i32, ptr @IPSEC_DIR_INBOUND, align 4, !tbaa !14 %35 = tail call i32 @ipsec_setspidx_inpcb(ptr noundef nonnull %1, ptr noundef nonnull %29, i32 noundef %34) #2 %36 = load ptr, ptr %1, align 8, !tbaa !6 %37 = getelementptr inbounds i8, ptr %36, i64 16 %38 = load ptr, ptr %37, align 8, !tbaa !15 %39 = icmp eq ptr %38, null br i1 %39, label %43, label %40 40: ; preds = %33 %41 = tail call i32 @key_freesp(ptr noundef nonnull %37) #2 %42 = load ptr, ptr %1, align 8, !tbaa !6 br label %43 43: ; preds = %40, %33 %44 = phi ptr [ %42, %40 ], [ %36, %33 ] %45 = getelementptr inbounds i8, ptr %44, i64 16 store ptr %29, ptr %45, align 8, !tbaa !15 %46 = load i32, ptr @INP_INBOUND_POLICY, align 4, !tbaa !14 %47 = load i32, ptr %44, align 8, !tbaa !11 %48 = or i32 %47, %46 store i32 %48, ptr %44, align 8, !tbaa !11 %49 = load ptr, ptr %0, align 8, !tbaa !6 %50 = load i32, ptr %49, align 8, !tbaa !11 br label %51 51: ; preds = %43, %5 %52 = phi i32 [ %50, %43 ], [ %22, %5 ] %53 = phi ptr [ %49, %43 ], [ %21, %5 ] %54 = load i32, ptr @INP_OUTBOUND_POLICY, align 4, !tbaa !14 %55 = and i32 %54, %52 %56 = icmp eq i32 %55, 0 br i1 %56, label %80, label %57 57: ; preds = %51 %58 = getelementptr inbounds i8, ptr %53, i64 8 %59 = load ptr, ptr %58, align 8, !tbaa !16 %60 = tail call ptr @ipsec_deepcopy_pcbpolicy(ptr noundef %59) #2 %61 = icmp eq ptr %60, null br i1 %61, label %62, label %64 62: ; preds = %57 %63 = load i32, ptr @ENOBUFS, align 4, !tbaa !14 br label %80 64: ; preds = %57 %65 = load i32, ptr @IPSEC_DIR_OUTBOUND, align 4, !tbaa !14 %66 = tail call i32 @ipsec_setspidx_inpcb(ptr noundef nonnull %1, ptr noundef nonnull %60, i32 noundef %65) #2 %67 = load ptr, ptr %1, align 8, !tbaa !6 %68 = getelementptr inbounds i8, ptr %67, i64 8 %69 = load ptr, ptr %68, align 8, !tbaa !16 %70 = icmp eq ptr %69, null br i1 %70, label %74, label %71 71: ; preds = %64 %72 = tail call i32 @key_freesp(ptr noundef nonnull %68) #2 %73 = load ptr, ptr %1, align 8, !tbaa !6 br label %74 74: ; preds = %71, %64 %75 = phi ptr [ %73, %71 ], [ %67, %64 ] %76 = getelementptr inbounds i8, ptr %75, i64 8 store ptr %60, ptr %76, align 8, !tbaa !16 %77 = load i32, ptr @INP_OUTBOUND_POLICY, align 4, !tbaa !14 %78 = load i32, ptr %75, align 8, !tbaa !11 %79 = or i32 %78, %77 store i32 %79, ptr %75, align 8, !tbaa !11 br label %80 80: ; preds = %51, %74, %2, %62, %31 %81 = phi i32 [ %32, %31 ], [ %63, %62 ], [ 0, %2 ], [ 0, %74 ], [ 0, %51 ] ret i32 %81 } declare i32 @IPSEC_ASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INP_WLOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare i32 @INP_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare ptr @ipsec_deepcopy_pcbpolicy(ptr noundef) local_unnamed_addr #1 declare i32 @ipsec_setspidx_inpcb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @key_freesp(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 = !{!"inpcb", !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, !8, i64 8, !8, i64 16} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !8, i64 16} !16 = !{!12, !8, i64 8}
freebsd_sys_netipsec_extr_ipsec_pcb.c_ipsec_copy_pcbpolicy
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_u_serial.c_gs_write_room.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_u_serial.c_gs_write_room.c" target datalayout = "e-m:e-p270:32:32-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.gs_port = type { i32, i32, i32, i64 } @.str = private unnamed_addr constant [32 x i8] c"gs_write_room: (%d,%p) room=%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @gs_write_room], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gs_write_room(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.gs_port, ptr %2, i64 0, i32 1 %4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #2 %5 = getelementptr inbounds %struct.gs_port, ptr %2, i64 0, i32 3 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.gs_port, ptr %2, i64 0, i32 2 %10 = tail call i32 @gs_buf_space_avail(ptr noundef nonnull %9) #2 br label %11 11: ; preds = %8, %1 %12 = phi i32 [ %10, %8 ], [ 0, %1 ] %13 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2 %14 = load i32, ptr %2, align 8, !tbaa !14 %15 = tail call i32 @pr_vdebug(ptr noundef nonnull @.str, i32 noundef %14, ptr noundef nonnull %0, i32 noundef %12) #2 ret i32 %12 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @gs_buf_space_avail(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pr_vdebug(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tty_struct", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 16} !11 = !{!"gs_port", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_u_serial.c_gs_write_room.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_u_serial.c_gs_write_room.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 [32 x i8] c"gs_write_room: (%d,%p) room=%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @gs_write_room], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gs_write_room(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 4 %4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #2 %5 = getelementptr inbounds i8, ptr %2, i64 16 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %2, i64 8 %10 = tail call i32 @gs_buf_space_avail(ptr noundef nonnull %9) #2 br label %11 11: ; preds = %8, %1 %12 = phi i32 [ %10, %8 ], [ 0, %1 ] %13 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2 %14 = load i32, ptr %2, align 8, !tbaa !15 %15 = tail call i32 @pr_vdebug(ptr noundef nonnull @.str, i32 noundef %14, ptr noundef nonnull %0, i32 noundef %12) #2 ret i32 %12 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @gs_buf_space_avail(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pr_vdebug(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tty_struct", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 16} !12 = !{!"gs_port", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 16} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!12, !13, i64 0}
fastsocket_kernel_drivers_usb_gadget_extr_u_serial.c_gs_write_room
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_pem.c_pem_des_decrypt.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_pem.c_pem_des_decrypt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MBEDTLS_DES_DECRYPT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pem_des_decrypt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pem_des_decrypt(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca [8 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = call i32 @mbedtls_des_init(ptr noundef nonnull %6) #3 %9 = call i32 @pem_pbkdf1(ptr noundef nonnull %7, i32 noundef 8, ptr noundef %0, ptr noundef %3, i64 noundef %4) #3 %10 = call i32 @mbedtls_des_setkey_dec(ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %11 = load i32, ptr @MBEDTLS_DES_DECRYPT, align 4, !tbaa !5 %12 = call i32 @mbedtls_des_crypt_cbc(ptr noundef nonnull %6, i32 noundef %11, i64 noundef %2, ptr noundef %0, ptr noundef %1, ptr noundef %1) #3 %13 = call i32 @mbedtls_des_free(ptr noundef nonnull %6) #3 %14 = call i32 @mbedtls_zeroize(ptr noundef nonnull %7, i32 noundef 8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #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 @mbedtls_des_init(ptr noundef) local_unnamed_addr #2 declare i32 @pem_pbkdf1(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mbedtls_des_setkey_dec(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_des_crypt_cbc(ptr noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_des_free(ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_zeroize(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/RetroArch/deps/mbedtls/extr_pem.c_pem_des_decrypt.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_pem.c_pem_des_decrypt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MBEDTLS_DES_DECRYPT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pem_des_decrypt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pem_des_decrypt(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca [8 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = call i32 @mbedtls_des_init(ptr noundef nonnull %6) #3 %9 = call i32 @pem_pbkdf1(ptr noundef nonnull %7, i32 noundef 8, ptr noundef %0, ptr noundef %3, i64 noundef %4) #3 %10 = call i32 @mbedtls_des_setkey_dec(ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %11 = load i32, ptr @MBEDTLS_DES_DECRYPT, align 4, !tbaa !6 %12 = call i32 @mbedtls_des_crypt_cbc(ptr noundef nonnull %6, i32 noundef %11, i64 noundef %2, ptr noundef %0, ptr noundef %1, ptr noundef %1) #3 %13 = call i32 @mbedtls_des_free(ptr noundef nonnull %6) #3 %14 = call i32 @mbedtls_zeroize(ptr noundef nonnull %7, i32 noundef 8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #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 @mbedtls_des_init(ptr noundef) local_unnamed_addr #2 declare i32 @pem_pbkdf1(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mbedtls_des_setkey_dec(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_des_crypt_cbc(ptr noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_des_free(ptr noundef) local_unnamed_addr #2 declare i32 @mbedtls_zeroize(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"}
RetroArch_deps_mbedtls_extr_pem.c_pem_des_decrypt
; ModuleID = 'AnghaBench/ios-webkit-debug-proxy/src/extr_rpc.c_rpc_recv_applicationSentData.c' source_filename = "AnghaBench/ios-webkit-debug-proxy/src/extr_rpc.c_rpc_recv_applicationSentData.c" target datalayout = "e-m:e-p270:32:32-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 [28 x i8] c"WIRApplicationIdentifierKey\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"WIRDestinationKey\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"WIRMessageDataKey\00", align 1 @RPC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @RPC_ERROR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @rpc_recv_applicationSentData(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 store i64 0, ptr %6, align 8, !tbaa !9 %7 = call i32 @rpc_dict_get_required_string(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %23 9: ; preds = %2 %10 = call i32 @rpc_dict_get_required_string(i32 noundef %1, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = call i32 @rpc_dict_get_required_data(i32 noundef %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = load ptr, ptr %0, align 8, !tbaa !11 %17 = load ptr, ptr %3, align 8, !tbaa !5 %18 = load ptr, ptr %4, align 8, !tbaa !5 %19 = load ptr, ptr %5, align 8, !tbaa !5 %20 = load i64, ptr %6, align 8, !tbaa !9 %21 = call i32 %16(ptr noundef nonnull %0, ptr noundef %17, ptr noundef %18, ptr noundef %19, i64 noundef %20) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %15, %12, %9, %2 br label %24 24: ; preds = %15, %23 %25 = phi ptr [ @RPC_ERROR, %23 ], [ @RPC_SUCCESS, %15 ] %26 = load i32, ptr %25, align 4, !tbaa !13 %27 = load ptr, ptr %3, align 8, !tbaa !5 %28 = call i32 @free(ptr noundef %27) #3 %29 = load ptr, ptr %4, align 8, !tbaa !5 %30 = call i32 @free(ptr noundef %29) #3 %31 = load ptr, ptr %5, align 8, !tbaa !5 %32 = call i32 @free(ptr noundef %31) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rpc_dict_get_required_string(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rpc_dict_get_required_data(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !6, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/ios-webkit-debug-proxy/src/extr_rpc.c_rpc_recv_applicationSentData.c' source_filename = "AnghaBench/ios-webkit-debug-proxy/src/extr_rpc.c_rpc_recv_applicationSentData.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"WIRApplicationIdentifierKey\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"WIRDestinationKey\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"WIRMessageDataKey\00", align 1 @RPC_SUCCESS = common local_unnamed_addr global i32 0, align 4 @RPC_ERROR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @rpc_recv_applicationSentData(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 store i64 0, ptr %6, align 8, !tbaa !10 %7 = call i32 @rpc_dict_get_required_string(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %23 9: ; preds = %2 %10 = call i32 @rpc_dict_get_required_string(i32 noundef %1, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %9 %13 = call i32 @rpc_dict_get_required_data(i32 noundef %1, ptr noundef nonnull @.str.2, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = load ptr, ptr %0, align 8, !tbaa !12 %17 = load ptr, ptr %3, align 8, !tbaa !6 %18 = load ptr, ptr %4, align 8, !tbaa !6 %19 = load ptr, ptr %5, align 8, !tbaa !6 %20 = load i64, ptr %6, align 8, !tbaa !10 %21 = call i32 %16(ptr noundef nonnull %0, ptr noundef %17, ptr noundef %18, ptr noundef %19, i64 noundef %20) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %15, %12, %9, %2 br label %24 24: ; preds = %15, %23 %25 = phi ptr [ @RPC_ERROR, %23 ], [ @RPC_SUCCESS, %15 ] %26 = load i32, ptr %25, align 4, !tbaa !14 %27 = load ptr, ptr %3, align 8, !tbaa !6 %28 = call i32 @free(ptr noundef %27) #3 %29 = load ptr, ptr %4, align 8, !tbaa !6 %30 = call i32 @free(ptr noundef %29) #3 %31 = load ptr, ptr %5, align 8, !tbaa !6 %32 = call i32 @free(ptr noundef %31) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rpc_dict_get_required_string(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rpc_dict_get_required_data(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0}
ios-webkit-debug-proxy_src_extr_rpc.c_rpc_recv_applicationSentData
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_plat_dummy.c_plat_target_init.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_plat_dummy.c_plat_target_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" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @plat_target_init() local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_plat_dummy.c_plat_target_init.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_plat_dummy.c_plat_target_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @plat_target_init() local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
Provenance_Cores_PicoDrive_platform_libpicofe_extr_plat_dummy.c_plat_target_init
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_kern_cdata.c_kcdata_add_type_definition.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_kern_cdata.c_kcdata_add_type_definition.c" target datalayout = "e-m:e-p270:32:32-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.kcdata_type_definition = type { i32, i32, ptr } @KERN_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @KCDATA_DESC_MAXLEN = dso_local local_unnamed_addr global i64 0, align 8 @KERN_INVALID_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4 @KCDATA_TYPE_TYPEDEFINTION = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @kcdata_add_type_definition(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = alloca %struct.kcdata_type_definition, align 8 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 %8 = call i32 @bzero(ptr noundef nonnull %6, i32 noundef 16) #4 %9 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) %10 = load i64, ptr @KCDATA_DESC_MAXLEN, align 8, !tbaa !5 %11 = icmp slt i64 %9, %10 br i1 %11, label %14, label %12 12: ; preds = %5 %13 = load i32, ptr @KERN_INVALID_ARGUMENT, align 4, !tbaa !9 br label %35 14: ; preds = %5 %15 = getelementptr inbounds %struct.kcdata_type_definition, ptr %6, i64 0, i32 2 %16 = load ptr, ptr %15, align 8, !tbaa !11 %17 = call i32 @strlcpy(ptr noundef %16, ptr noundef %2, i64 noundef %10) #4 store i32 %4, ptr %6, align 8, !tbaa !14 %18 = getelementptr inbounds %struct.kcdata_type_definition, ptr %6, i64 0, i32 1 store i32 %1, ptr %18, align 4, !tbaa !15 %19 = shl i32 %4, 2 %20 = add i32 %19, 16 %21 = load i32, ptr @KERN_SUCCESS, align 4, !tbaa !9 %22 = load i32, ptr @KCDATA_TYPE_TYPEDEFINTION, align 4, !tbaa !9 %23 = call i32 @kcdata_calc_padding(i32 noundef %20) #4 %24 = call i32 @kcdata_get_memory_addr_with_flavor(i32 noundef %0, i32 noundef %22, i32 noundef %20, i32 noundef %23, ptr noundef nonnull %7) #4 %25 = icmp eq i32 %21, %24 br i1 %25, label %26, label %35 26: ; preds = %14 %27 = load i32, ptr @KERN_SUCCESS, align 4, !tbaa !9 %28 = load i32, ptr %7, align 4, !tbaa !9 %29 = call i32 @kcdata_memcpy(i32 noundef %0, i32 noundef %28, ptr noundef nonnull %6, i32 noundef 16) #4 %30 = icmp eq i32 %27, %29 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = load i32, ptr %7, align 4, !tbaa !9 %33 = add i32 %32, 16 store i32 %33, ptr %7, align 4, !tbaa !9 %34 = call i32 @kcdata_memcpy(i32 noundef %0, i32 noundef %33, ptr noundef %3, i32 noundef %19) #4 br label %35 35: ; preds = %31, %26, %14, %12 %36 = phi i32 [ %13, %12 ], [ %24, %14 ], [ %29, %26 ], [ %34, %31 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @kcdata_get_memory_addr_with_flavor(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kcdata_calc_padding(i32 noundef) local_unnamed_addr #2 declare i32 @kcdata_memcpy(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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, !13, i64 8} !12 = !{!"kcdata_type_definition", !10, i64 0, !10, i64 4, !13, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !10, i64 0} !15 = !{!12, !10, i64 4}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_kern_cdata.c_kcdata_add_type_definition.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_kern_cdata.c_kcdata_add_type_definition.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.kcdata_type_definition = type { i32, i32, ptr } @KERN_SUCCESS = common local_unnamed_addr global i32 0, align 4 @KCDATA_DESC_MAXLEN = common local_unnamed_addr global i64 0, align 8 @KERN_INVALID_ARGUMENT = common local_unnamed_addr global i32 0, align 4 @KCDATA_TYPE_TYPEDEFINTION = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @kcdata_add_type_definition(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = alloca %struct.kcdata_type_definition, align 8 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 %8 = call i32 @bzero(ptr noundef nonnull %6, i32 noundef 16) #4 %9 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) %10 = load i64, ptr @KCDATA_DESC_MAXLEN, align 8, !tbaa !6 %11 = icmp slt i64 %9, %10 br i1 %11, label %14, label %12 12: ; preds = %5 %13 = load i32, ptr @KERN_INVALID_ARGUMENT, align 4, !tbaa !10 br label %35 14: ; preds = %5 %15 = getelementptr inbounds i8, ptr %6, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !12 %17 = call i32 @strlcpy(ptr noundef %16, ptr noundef %2, i64 noundef %10) #4 store i32 %4, ptr %6, align 8, !tbaa !15 %18 = getelementptr inbounds i8, ptr %6, i64 4 store i32 %1, ptr %18, align 4, !tbaa !16 %19 = shl i32 %4, 2 %20 = add i32 %19, 16 %21 = load i32, ptr @KERN_SUCCESS, align 4, !tbaa !10 %22 = load i32, ptr @KCDATA_TYPE_TYPEDEFINTION, align 4, !tbaa !10 %23 = call i32 @kcdata_calc_padding(i32 noundef %20) #4 %24 = call i32 @kcdata_get_memory_addr_with_flavor(i32 noundef %0, i32 noundef %22, i32 noundef %20, i32 noundef %23, ptr noundef nonnull %7) #4 %25 = icmp eq i32 %21, %24 br i1 %25, label %26, label %35 26: ; preds = %14 %27 = load i32, ptr @KERN_SUCCESS, align 4, !tbaa !10 %28 = load i32, ptr %7, align 4, !tbaa !10 %29 = call i32 @kcdata_memcpy(i32 noundef %0, i32 noundef %28, ptr noundef nonnull %6, i32 noundef 16) #4 %30 = icmp eq i32 %27, %29 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = load i32, ptr %7, align 4, !tbaa !10 %33 = add i32 %32, 16 store i32 %33, ptr %7, align 4, !tbaa !10 %34 = call i32 @kcdata_memcpy(i32 noundef %0, i32 noundef %33, ptr noundef %3, i32 noundef %19) #4 br label %35 35: ; preds = %31, %26, %14, %12 %36 = phi i32 [ %13, %12 ], [ %24, %14 ], [ %29, %26 ], [ %34, %31 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @kcdata_get_memory_addr_with_flavor(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kcdata_calc_padding(i32 noundef) local_unnamed_addr #2 declare i32 @kcdata_memcpy(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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, !14, i64 8} !13 = !{!"kcdata_type_definition", !11, i64 0, !11, i64 4, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !11, i64 0} !16 = !{!13, !11, i64 4}
darwin-xnu_osfmk_kern_extr_kern_cdata.c_kcdata_add_type_definition
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_partition/extr_mac_partition.c_partition_cred_check_visible.c' source_filename = "AnghaBench/freebsd/sys/security/mac_partition/extr_mac_partition.c_partition_cred_check_visible.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ESRCH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @partition_cred_check_visible], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @partition_cred_check_visible(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = tail call i32 @partition_check(i32 noundef %3, i32 noundef %4) #2 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @ESRCH, align 4 %8 = select i1 %6, i32 0, i32 %7 ret i32 %8 } declare i32 @partition_check(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 = !{!"ucred", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_partition/extr_mac_partition.c_partition_cred_check_visible.c' source_filename = "AnghaBench/freebsd/sys/security/mac_partition/extr_mac_partition.c_partition_cred_check_visible.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ESRCH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @partition_cred_check_visible], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @partition_cred_check_visible(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = tail call i32 @partition_check(i32 noundef %3, i32 noundef %4) #2 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @ESRCH, align 4 %8 = select i1 %6, i32 0, i32 %7 ret i32 %8 } declare i32 @partition_check(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 = !{!"ucred", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_security_mac_partition_extr_mac_partition.c_partition_cred_check_visible
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_provstore.c_ProvStore_enumCTL.c' source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_provstore.c_ProvStore_enumCTL.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { i32, %struct.TYPE_9__ } %struct.TYPE_9__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @ProvStore_enumCTL], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @ProvStore_enumCTL(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = tail call i64 %5(ptr noundef nonnull %3, ptr noundef %1) #1 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = inttoptr i64 %6 to ptr %10 = getelementptr inbounds %struct.TYPE_10__, ptr %9, i64 0, i32 1 store ptr %0, ptr %10, align 8, !tbaa !15 br label %11 11: ; preds = %2, %8 %12 = phi ptr [ %9, %8 ], [ null, %2 ] ret ptr %12 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_11__", !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_12__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"TYPE_7__", !7, i64 0} !15 = !{!16, !7, i64 8} !16 = !{!"TYPE_10__", !17, i64 0, !18, i64 8} !17 = !{!"int", !8, i64 0} !18 = !{!"TYPE_9__", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_provstore.c_ProvStore_enumCTL.c' source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_provstore.c_ProvStore_enumCTL.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 @ProvStore_enumCTL], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @ProvStore_enumCTL(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = tail call i64 %5(ptr noundef nonnull %3, ptr noundef %1) #1 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = inttoptr i64 %6 to ptr %10 = getelementptr inbounds i8, ptr %9, i64 8 store ptr %0, ptr %10, align 8, !tbaa !16 br label %11 11: ; preds = %2, %8 %12 = phi ptr [ %9, %8 ], [ null, %2 ] ret ptr %12 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_11__", !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_12__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_8__", !15, i64 0} !15 = !{!"TYPE_7__", !8, i64 0} !16 = !{!17, !8, i64 8} !17 = !{!"TYPE_10__", !18, i64 0, !19, i64 8} !18 = !{!"int", !9, i64 0} !19 = !{!"TYPE_9__", !8, i64 0}
reactos_dll_win32_crypt32_extr_provstore.c_ProvStore_enumCTL
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_surface.c_RB_SurfaceMesh.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_surface.c_RB_SurfaceMesh.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_14__ = type { %struct.TYPE_10__* } %struct.TYPE_10__ = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { i64, i64, float } %struct.TYPE_13__ = type { i32, i32, i32**, i64*, i32 } %struct.TYPE_11__ = type { i32, i32, %struct.TYPE_12__*, i64* } %struct.TYPE_12__ = type { i32* } @backEnd = dso_local local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8 @tess = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void (%struct.TYPE_11__*)* @RB_SurfaceMesh to i8*)], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @RB_SurfaceMesh(%struct.TYPE_11__* noundef %0) #0 { %2 = load %struct.TYPE_10__*, %struct.TYPE_10__** getelementptr inbounds (%struct.TYPE_14__, %struct.TYPE_14__* @backEnd, i64 0, i32 0), align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_10__, %struct.TYPE_10__* %2, i64 0, i32 0, i32 0 %4 = load i64, i64* %3, align 8, !tbaa !10 %5 = getelementptr inbounds %struct.TYPE_10__, %struct.TYPE_10__* %2, i64 0, i32 0, i32 1 %6 = load i64, i64* %5, align 8, !tbaa !15 %7 = icmp eq i64 %4, %6 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.TYPE_10__, %struct.TYPE_10__* %2, i64 0, i32 0, i32 2 %10 = load float, float* %9, align 8, !tbaa !16 br label %11 11: ; preds = %1, %8 %12 = phi float [ %10, %8 ], [ 0.000000e+00, %1 ] %13 = load i32, i32* getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @tess, i64 0, i32 4), align 8, !tbaa !17 %14 = tail call i32 @RB_CheckVao(i32 noundef %13) #2 %15 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %0, i64 0, i32 0 %16 = load i32, i32* %15, align 8, !tbaa !20 %17 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %0, i64 0, i32 1 %18 = load i32, i32* %17, align 4, !tbaa !22 %19 = tail call i32 @RB_CHECKOVERFLOW(i32 noundef %16, i32 noundef %18) #2 %20 = tail call i32 @LerpMeshVertexes(%struct.TYPE_11__* noundef %0, float noundef %12) #2 %21 = load i32, i32* getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @tess, i64 0, i32 0), align 8, !tbaa !23 %22 = load i32, i32* getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @tess, i64 0, i32 1), align 4, !tbaa !24 %23 = load i32, i32* %17, align 4, !tbaa !22 %24 = icmp sgt i32 %23, 0 br i1 %24, label %25, label %153 25: ; preds = %11 %26 = sext i32 %22 to i64 %27 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %0, i64 0, i32 3 %28 = load i64*, i64** %27, align 8, !tbaa !25 %29 = load i64*, i64** getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @tess, i64 0, i32 3), align 8, !tbaa !26 %30 = sext i32 %21 to i64 %31 = zext i32 %23 to i64 %32 = icmp ult i32 %23, 4 br i1 %32, label %106, label %33 33: ; preds = %25 %34 = getelementptr i64, i64* %29, i64 %30 %35 = add nsw i64 %30, %31 %36 = getelementptr i64, i64* %29, i64 %35 %37 = getelementptr i64, i64* %28, i64 %31 %38 = icmp ult i64* %34, %37 %39 = icmp ult i64* %28, %36 %40 = and i1 %38, %39 br i1 %40, label %106, label %41 41: ; preds = %33 %42 = and i64 %31, 4294967292 %43 = insertelement <2 x i64> poison, i64 %26, i64 0 %44 = shufflevector <2 x i64> %43, <2 x i64> poison, <2 x i32> zeroinitializer %45 = insertelement <2 x i64> poison, i64 %26, i64 0 %46 = shufflevector <2 x i64> %45, <2 x i64> poison, <2 x i32> zeroinitializer %47 = add nsw i64 %42, -4 %48 = lshr exact i64 %47, 2 %49 = add nuw nsw i64 %48, 1 %50 = and i64 %49, 1 %51 = icmp eq i64 %47, 0 br i1 %51, label %87, label %52 52: ; preds = %41 %53 = and i64 %49, 9223372036854775806 br label %54 54: ; preds = %54, %52 %55 = phi i64 [ 0, %52 ], [ %84, %54 ] %56 = phi i64 [ 0, %52 ], [ %85, %54 ] %57 = getelementptr inbounds i64, i64* %28, i64 %55 %58 = bitcast i64* %57 to <2 x i64>* %59 = load <2 x i64>, <2 x i64>* %58, align 8, !tbaa !27, !alias.scope !28 %60 = getelementptr inbounds i64, i64* %57, i64 2 %61 = bitcast i64* %60 to <2 x i64>* %62 = load <2 x i64>, <2 x i64>* %61, align 8, !tbaa !27, !alias.scope !28 %63 = add nsw <2 x i64> %59, %44 %64 = add nsw <2 x i64> %62, %46 %65 = add nsw i64 %55, %30 %66 = getelementptr inbounds i64, i64* %29, i64 %65 %67 = bitcast i64* %66 to <2 x i64>* store <2 x i64> %63, <2 x i64>* %67, align 8, !tbaa !27, !alias.scope !31, !noalias !28 %68 = getelementptr inbounds i64, i64* %66, i64 2 %69 = bitcast i64* %68 to <2 x i64>* store <2 x i64> %64, <2 x i64>* %69, align 8, !tbaa !27, !alias.scope !31, !noalias !28 %70 = or i64 %55, 4 %71 = getelementptr inbounds i64, i64* %28, i64 %70 %72 = bitcast i64* %71 to <2 x i64>* %73 = load <2 x i64>, <2 x i64>* %72, align 8, !tbaa !27, !alias.scope !28 %74 = getelementptr inbounds i64, i64* %71, i64 2 %75 = bitcast i64* %74 to <2 x i64>* %76 = load <2 x i64>, <2 x i64>* %75, align 8, !tbaa !27, !alias.scope !28 %77 = add nsw <2 x i64> %73, %44 %78 = add nsw <2 x i64> %76, %46 %79 = add nsw i64 %70, %30 %80 = getelementptr inbounds i64, i64* %29, i64 %79 %81 = bitcast i64* %80 to <2 x i64>* store <2 x i64> %77, <2 x i64>* %81, align 8, !tbaa !27, !alias.scope !31, !noalias !28 %82 = getelementptr inbounds i64, i64* %80, i64 2 %83 = bitcast i64* %82 to <2 x i64>* store <2 x i64> %78, <2 x i64>* %83, align 8, !tbaa !27, !alias.scope !31, !noalias !28 %84 = add nuw i64 %55, 8 %85 = add i64 %56, 2 %86 = icmp eq i64 %85, %53 br i1 %86, label %87, label %54, !llvm.loop !33 87: ; preds = %54, %41 %88 = phi i64 [ 0, %41 ], [ %84, %54 ] %89 = icmp eq i64 %50, 0 br i1 %89, label %104, label %90 90: ; preds = %87 %91 = getelementptr inbounds i64, i64* %28, i64 %88 %92 = bitcast i64* %91 to <2 x i64>* %93 = load <2 x i64>, <2 x i64>* %92, align 8, !tbaa !27, !alias.scope !28 %94 = getelementptr inbounds i64, i64* %91, i64 2 %95 = bitcast i64* %94 to <2 x i64>* %96 = load <2 x i64>, <2 x i64>* %95, align 8, !tbaa !27, !alias.scope !28 %97 = add nsw <2 x i64> %93, %44 %98 = add nsw <2 x i64> %96, %46 %99 = add nsw i64 %88, %30 %100 = getelementptr inbounds i64, i64* %29, i64 %99 %101 = bitcast i64* %100 to <2 x i64>* store <2 x i64> %97, <2 x i64>* %101, align 8, !tbaa !27, !alias.scope !31, !noalias !28 %102 = getelementptr inbounds i64, i64* %100, i64 2 %103 = bitcast i64* %102 to <2 x i64>* store <2 x i64> %98, <2 x i64>* %103, align 8, !tbaa !27, !alias.scope !31, !noalias !28 br label %104 104: ; preds = %87, %90 %105 = icmp eq i64 %42, %31 br i1 %105, label %153, label %106 106: ; preds = %33, %25, %104 %107 = phi i64 [ 0, %33 ], [ 0, %25 ], [ %42, %104 ] %108 = xor i64 %107, -1 %109 = add nsw i64 %108, %31 %110 = and i64 %31, 3 %111 = icmp eq i64 %110, 0 br i1 %111, label %123, label %112 112: ; preds = %106, %112 %113 = phi i64 [ %120, %112 ], [ %107, %106 ] %114 = phi i64 [ %121, %112 ], [ 0, %106 ] %115 = getelementptr inbounds i64, i64* %28, i64 %113 %116 = load i64, i64* %115, align 8, !tbaa !27 %117 = add nsw i64 %116, %26 %118 = add nsw i64 %113, %30 %119 = getelementptr inbounds i64, i64* %29, i64 %118 store i64 %117, i64* %119, align 8, !tbaa !27 %120 = add nuw nsw i64 %113, 1 %121 = add i64 %114, 1 %122 = icmp eq i64 %121, %110 br i1 %122, label %123, label %112, !llvm.loop !36 123: ; preds = %112, %106 %124 = phi i64 [ %107, %106 ], [ %120, %112 ] %125 = icmp ult i64 %109, 3 br i1 %125, label %153, label %126 126: ; preds = %123, %126 %127 = phi i64 [ %151, %126 ], [ %124, %123 ] %128 = getelementptr inbounds i64, i64* %28, i64 %127 %129 = load i64, i64* %128, align 8, !tbaa !27 %130 = add nsw i64 %129, %26 %131 = add nsw i64 %127, %30 %132 = getelementptr inbounds i64, i64* %29, i64 %131 store i64 %130, i64* %132, align 8, !tbaa !27 %133 = add nuw nsw i64 %127, 1 %134 = getelementptr inbounds i64, i64* %28, i64 %133 %135 = load i64, i64* %134, align 8, !tbaa !27 %136 = add nsw i64 %135, %26 %137 = add nsw i64 %133, %30 %138 = getelementptr inbounds i64, i64* %29, i64 %137 store i64 %136, i64* %138, align 8, !tbaa !27 %139 = add nuw nsw i64 %127, 2 %140 = getelementptr inbounds i64, i64* %28, i64 %139 %141 = load i64, i64* %140, align 8, !tbaa !27 %142 = add nsw i64 %141, %26 %143 = add nsw i64 %139, %30 %144 = getelementptr inbounds i64, i64* %29, i64 %143 store i64 %142, i64* %144, align 8, !tbaa !27 %145 = add nuw nsw i64 %127, 3 %146 = getelementptr inbounds i64, i64* %28, i64 %145 %147 = load i64, i64* %146, align 8, !tbaa !27 %148 = add nsw i64 %147, %26 %149 = add nsw i64 %145, %30 %150 = getelementptr inbounds i64, i64* %29, i64 %149 store i64 %148, i64* %150, align 8, !tbaa !27 %151 = add nuw nsw i64 %127, 4 %152 = icmp eq i64 %151, %31 br i1 %152, label %153, label %126, !llvm.loop !38 153: ; preds = %123, %126, %104, %11 %154 = add nsw i32 %23, %21 store i32 %154, i32* getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @tess, i64 0, i32 0), align 8, !tbaa !23 %155 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %0, i64 0, i32 2 %156 = load %struct.TYPE_12__*, %struct.TYPE_12__** %155, align 8, !tbaa !39 %157 = load i32, i32* %15, align 8, !tbaa !20 %158 = icmp sgt i32 %157, 0 br i1 %158, label %159, label %208 159: ; preds = %153 %160 = load i32**, i32*** getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @tess, i64 0, i32 2), align 8, !tbaa !40 %161 = sext i32 %22 to i64 %162 = zext i32 %157 to i64 %163 = and i64 %162, 1 %164 = icmp eq i32 %157, 1 br i1 %164, label %192, label %165 165: ; preds = %159 %166 = and i64 %162, 4294967294 br label %167 167: ; preds = %167, %165 %168 = phi i64 [ 0, %165 ], [ %189, %167 ] %169 = phi i64 [ 0, %165 ], [ %190, %167 ] %170 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %156, i64 %168, i32 0 %171 = load i32*, i32** %170, align 8, !tbaa !41 %172 = load i32, i32* %171, align 4, !tbaa !43 %173 = add nsw i64 %168, %161 %174 = getelementptr inbounds i32*, i32** %160, i64 %173 %175 = load i32*, i32** %174, align 8, !tbaa !44 store i32 %172, i32* %175, align 4, !tbaa !43 %176 = getelementptr inbounds i32, i32* %171, i64 1 %177 = load i32, i32* %176, align 4, !tbaa !43 %178 = getelementptr inbounds i32, i32* %175, i64 1 store i32 %177, i32* %178, align 4, !tbaa !43 %179 = or i64 %168, 1 %180 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %156, i64 %179, i32 0 %181 = load i32*, i32** %180, align 8, !tbaa !41 %182 = load i32, i32* %181, align 4, !tbaa !43 %183 = add nsw i64 %179, %161 %184 = getelementptr inbounds i32*, i32** %160, i64 %183 %185 = load i32*, i32** %184, align 8, !tbaa !44 store i32 %182, i32* %185, align 4, !tbaa !43 %186 = getelementptr inbounds i32, i32* %181, i64 1 %187 = load i32, i32* %186, align 4, !tbaa !43 %188 = getelementptr inbounds i32, i32* %185, i64 1 store i32 %187, i32* %188, align 4, !tbaa !43 %189 = add nuw nsw i64 %168, 2 %190 = add i64 %169, 2 %191 = icmp eq i64 %190, %166 br i1 %191, label %192, label %167, !llvm.loop !45 192: ; preds = %167, %159 %193 = phi i64 [ 0, %159 ], [ %189, %167 ] %194 = icmp eq i64 %163, 0 br i1 %194, label %205, label %195 195: ; preds = %192 %196 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %156, i64 %193, i32 0 %197 = load i32*, i32** %196, align 8, !tbaa !41 %198 = load i32, i32* %197, align 4, !tbaa !43 %199 = add nsw i64 %193, %161 %200 = getelementptr inbounds i32*, i32** %160, i64 %199 %201 = load i32*, i32** %200, align 8, !tbaa !44 store i32 %198, i32* %201, align 4, !tbaa !43 %202 = getelementptr inbounds i32, i32* %197, i64 1 %203 = load i32, i32* %202, align 4, !tbaa !43 %204 = getelementptr inbounds i32, i32* %201, i64 1 store i32 %203, i32* %204, align 4, !tbaa !43 br label %205 205: ; preds = %192, %195 %206 = load i32, i32* %15, align 8, !tbaa !20 %207 = load i32, i32* getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @tess, i64 0, i32 1), align 4, !tbaa !24 br label %208 208: ; preds = %205, %153 %209 = phi i32 [ %207, %205 ], [ %22, %153 ] %210 = phi i32 [ %206, %205 ], [ %157, %153 ] %211 = add nsw i32 %209, %210 store i32 %211, i32* getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @tess, i64 0, i32 1), align 4, !tbaa !24 ret void } declare i32 @RB_CheckVao(i32 noundef) local_unnamed_addr #1 declare i32 @RB_CHECKOVERFLOW(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LerpMeshVertexes(%struct.TYPE_11__* noundef, float 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_14__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"TYPE_10__", !12, i64 0} !12 = !{!"TYPE_9__", !13, i64 0, !13, i64 8, !14, i64 16} !13 = !{!"long", !8, i64 0} !14 = !{!"float", !8, i64 0} !15 = !{!11, !13, i64 8} !16 = !{!11, !14, i64 16} !17 = !{!18, !19, i64 24} !18 = !{!"TYPE_13__", !19, i64 0, !19, i64 4, !7, i64 8, !7, i64 16, !19, i64 24} !19 = !{!"int", !8, i64 0} !20 = !{!21, !19, i64 0} !21 = !{!"TYPE_11__", !19, i64 0, !19, i64 4, !7, i64 8, !7, i64 16} !22 = !{!21, !19, i64 4} !23 = !{!18, !19, i64 0} !24 = !{!18, !19, i64 4} !25 = !{!21, !7, i64 16} !26 = !{!18, !7, i64 16} !27 = !{!13, !13, i64 0} !28 = !{!29} !29 = distinct !{!29, !30} !30 = distinct !{!30, !"LVerDomain"} !31 = !{!32} !32 = distinct !{!32, !30} !33 = distinct !{!33, !34, !35} !34 = !{!"llvm.loop.mustprogress"} !35 = !{!"llvm.loop.isvectorized", i32 1} !36 = distinct !{!36, !37} !37 = !{!"llvm.loop.unroll.disable"} !38 = distinct !{!38, !34, !35} !39 = !{!21, !7, i64 8} !40 = !{!18, !7, i64 8} !41 = !{!42, !7, i64 0} !42 = !{!"TYPE_12__", !7, i64 0} !43 = !{!19, !19, i64 0} !44 = !{!7, !7, i64 0} !45 = distinct !{!45, !34}
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_surface.c_RB_SurfaceMesh.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_surface.c_RB_SurfaceMesh.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_14__ = type { ptr } %struct.TYPE_13__ = type { i32, i32, ptr, ptr, i32 } %struct.TYPE_12__ = type { ptr } @backEnd = common local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8 @tess = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @RB_SurfaceMesh], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @RB_SurfaceMesh(ptr noundef %0) #0 { %2 = load ptr, ptr @backEnd, align 8, !tbaa !6 %3 = load i64, ptr %2, align 8, !tbaa !11 %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !16 %6 = icmp eq i64 %3, %5 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %2, i64 16 %9 = load float, ptr %8, align 8, !tbaa !17 br label %10 10: ; preds = %1, %7 %11 = phi float [ %9, %7 ], [ 0.000000e+00, %1 ] %12 = load i32, ptr getelementptr inbounds (i8, ptr @tess, i64 24), align 8, !tbaa !18 %13 = tail call i32 @RB_CheckVao(i32 noundef %12) #2 %14 = load i32, ptr %0, align 8, !tbaa !21 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !23 %17 = tail call i32 @RB_CHECKOVERFLOW(i32 noundef %14, i32 noundef %16) #2 %18 = tail call i32 @LerpMeshVertexes(ptr noundef nonnull %0, float noundef %11) #2 %19 = load i32, ptr @tess, align 8, !tbaa !24 %20 = load i32, ptr getelementptr inbounds (i8, ptr @tess, i64 4), align 4, !tbaa !25 %21 = load i32, ptr %15, align 4, !tbaa !23 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %75 23: ; preds = %10 %24 = sext i32 %20 to i64 %25 = getelementptr inbounds i8, ptr %0, i64 16 %26 = load ptr, ptr %25, align 8, !tbaa !26 %27 = load ptr, ptr getelementptr inbounds (i8, ptr @tess, i64 16), align 8, !tbaa !27 %28 = sext i32 %19 to i64 %29 = zext nneg i32 %21 to i64 %30 = getelementptr i64, ptr %27, i64 %28 %31 = icmp ult i32 %21, 8 br i1 %31, label %65, label %32 32: ; preds = %23 %33 = ptrtoint ptr %27 to i64 %34 = ptrtoint ptr %26 to i64 %35 = shl nsw i64 %28, 3 %36 = add i64 %35, %33 %37 = sub i64 %36, %34 %38 = icmp ult i64 %37, 64 br i1 %38, label %65, label %39 39: ; preds = %32 %40 = and i64 %29, 2147483640 %41 = insertelement <2 x i64> poison, i64 %24, i64 0 %42 = shufflevector <2 x i64> %41, <2 x i64> poison, <2 x i32> zeroinitializer br label %43 43: ; preds = %43, %39 %44 = phi i64 [ 0, %39 ], [ %61, %43 ] %45 = getelementptr inbounds i64, ptr %26, i64 %44 %46 = getelementptr inbounds i8, ptr %45, i64 16 %47 = getelementptr inbounds i8, ptr %45, i64 32 %48 = getelementptr inbounds i8, ptr %45, i64 48 %49 = load <2 x i64>, ptr %45, align 8, !tbaa !28 %50 = load <2 x i64>, ptr %46, align 8, !tbaa !28 %51 = load <2 x i64>, ptr %47, align 8, !tbaa !28 %52 = load <2 x i64>, ptr %48, align 8, !tbaa !28 %53 = add nsw <2 x i64> %49, %42 %54 = add nsw <2 x i64> %50, %42 %55 = add nsw <2 x i64> %51, %42 %56 = add nsw <2 x i64> %52, %42 %57 = getelementptr i64, ptr %30, i64 %44 %58 = getelementptr i8, ptr %57, i64 16 %59 = getelementptr i8, ptr %57, i64 32 %60 = getelementptr i8, ptr %57, i64 48 store <2 x i64> %53, ptr %57, align 8, !tbaa !28 store <2 x i64> %54, ptr %58, align 8, !tbaa !28 store <2 x i64> %55, ptr %59, align 8, !tbaa !28 store <2 x i64> %56, ptr %60, align 8, !tbaa !28 %61 = add nuw i64 %44, 8 %62 = icmp eq i64 %61, %40 br i1 %62, label %63, label %43, !llvm.loop !29 63: ; preds = %43 %64 = icmp eq i64 %40, %29 br i1 %64, label %75, label %65 65: ; preds = %63, %32, %23 %66 = phi i64 [ 0, %32 ], [ 0, %23 ], [ %40, %63 ] br label %67 67: ; preds = %65, %67 %68 = phi i64 [ %73, %67 ], [ %66, %65 ] %69 = getelementptr inbounds i64, ptr %26, i64 %68 %70 = load i64, ptr %69, align 8, !tbaa !28 %71 = add nsw i64 %70, %24 %72 = getelementptr i64, ptr %30, i64 %68 store i64 %71, ptr %72, align 8, !tbaa !28 %73 = add nuw nsw i64 %68, 1 %74 = icmp eq i64 %73, %29 br i1 %74, label %75, label %67, !llvm.loop !33 75: ; preds = %67, %63, %10 %76 = add nsw i32 %21, %19 store i32 %76, ptr @tess, align 8, !tbaa !24 %77 = getelementptr inbounds i8, ptr %0, i64 8 %78 = load ptr, ptr %77, align 8, !tbaa !34 %79 = load i32, ptr %0, align 8, !tbaa !21 %80 = icmp sgt i32 %79, 0 br i1 %80, label %81, label %101 81: ; preds = %75 %82 = load ptr, ptr getelementptr inbounds (i8, ptr @tess, i64 8), align 8, !tbaa !35 %83 = sext i32 %20 to i64 %84 = zext nneg i32 %79 to i64 %85 = getelementptr ptr, ptr %82, i64 %83 br label %86 86: ; preds = %81, %86 %87 = phi i64 [ 0, %81 ], [ %96, %86 ] %88 = getelementptr inbounds %struct.TYPE_12__, ptr %78, i64 %87 %89 = load ptr, ptr %88, align 8, !tbaa !36 %90 = load i32, ptr %89, align 4, !tbaa !38 %91 = getelementptr ptr, ptr %85, i64 %87 %92 = load ptr, ptr %91, align 8, !tbaa !39 store i32 %90, ptr %92, align 4, !tbaa !38 %93 = getelementptr inbounds i8, ptr %89, i64 4 %94 = load i32, ptr %93, align 4, !tbaa !38 %95 = getelementptr inbounds i8, ptr %92, i64 4 store i32 %94, ptr %95, align 4, !tbaa !38 %96 = add nuw nsw i64 %87, 1 %97 = icmp eq i64 %96, %84 br i1 %97, label %98, label %86, !llvm.loop !40 98: ; preds = %86 %99 = load i32, ptr %0, align 8, !tbaa !21 %100 = load i32, ptr getelementptr inbounds (i8, ptr @tess, i64 4), align 4, !tbaa !25 br label %101 101: ; preds = %98, %75 %102 = phi i32 [ %100, %98 ], [ %20, %75 ] %103 = phi i32 [ %99, %98 ], [ %79, %75 ] %104 = add nsw i32 %102, %103 store i32 %104, ptr getelementptr inbounds (i8, ptr @tess, i64 4), align 4, !tbaa !25 ret void } declare i32 @RB_CheckVao(i32 noundef) local_unnamed_addr #1 declare i32 @RB_CHECKOVERFLOW(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LerpMeshVertexes(ptr noundef, float noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_14__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 0} !12 = !{!"TYPE_10__", !13, i64 0} !13 = !{!"TYPE_9__", !14, i64 0, !14, i64 8, !15, i64 16} !14 = !{!"long", !9, i64 0} !15 = !{!"float", !9, i64 0} !16 = !{!12, !14, i64 8} !17 = !{!12, !15, i64 16} !18 = !{!19, !20, i64 24} !19 = !{!"TYPE_13__", !20, i64 0, !20, i64 4, !8, i64 8, !8, i64 16, !20, i64 24} !20 = !{!"int", !9, i64 0} !21 = !{!22, !20, i64 0} !22 = !{!"TYPE_11__", !20, i64 0, !20, i64 4, !8, i64 8, !8, i64 16} !23 = !{!22, !20, i64 4} !24 = !{!19, !20, i64 0} !25 = !{!19, !20, i64 4} !26 = !{!22, !8, i64 16} !27 = !{!19, !8, i64 16} !28 = !{!14, !14, i64 0} !29 = distinct !{!29, !30, !31, !32} !30 = !{!"llvm.loop.mustprogress"} !31 = !{!"llvm.loop.isvectorized", i32 1} !32 = !{!"llvm.loop.unroll.runtime.disable"} !33 = distinct !{!33, !30, !31} !34 = !{!22, !8, i64 8} !35 = !{!19, !8, i64 8} !36 = !{!37, !8, i64 0} !37 = !{!"TYPE_12__", !8, i64 0} !38 = !{!20, !20, i64 0} !39 = !{!8, !8, i64 0} !40 = distinct !{!40, !30}
lab_engine_code_renderergl2_extr_tr_surface.c_RB_SurfaceMesh
; ModuleID = 'AnghaBench/Cinder/src/glfw/src/extr_posix_time.c__glfwPlatformGetTimerValue.c' source_filename = "AnghaBench/Cinder/src/glfw/src/extr_posix_time.c__glfwPlatformGetTimerValue.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } %struct.timeval = type { i64, i64 } @CLOCK_MONOTONIC = dso_local local_unnamed_addr global i32 0, align 4 @_glfw = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 ; Function Attrs: nofree nounwind uwtable define dso_local i32 @_glfwPlatformGetTimerValue() local_unnamed_addr #0 { %1 = alloca %struct.timeval, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3 %2 = call i32 @gettimeofday(ptr noundef nonnull %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = trunc i64 %4 to i32 %6 = mul nsw i32 %5, 1000000 %7 = load i64, ptr %1, align 8, !tbaa !10 %8 = trunc i64 %7 to i32 %9 = add nsw i32 %6, %8 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #3 ret i32 %9 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture 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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"timeval", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/Cinder/src/glfw/src/extr_posix_time.c__glfwPlatformGetTimerValue.c' source_filename = "AnghaBench/Cinder/src/glfw/src/extr_posix_time.c__glfwPlatformGetTimerValue.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } %struct.timeval = type { i64, i64 } @CLOCK_MONOTONIC = common local_unnamed_addr global i32 0, align 4 @_glfw = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 ; Function Attrs: nofree nounwind ssp uwtable(sync) define i32 @_glfwPlatformGetTimerValue() local_unnamed_addr #0 { %1 = alloca %struct.timeval, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3 %2 = call i32 @gettimeofday(ptr noundef nonnull %1, ptr noundef null) %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = trunc i64 %4 to i32 %6 = mul nsw i32 %5, 1000000 %7 = load i64, ptr %1, align 8, !tbaa !11 %8 = trunc i64 %7 to i32 %9 = add nsw i32 %6, %8 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #3 ret i32 %9 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture 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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"timeval", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
Cinder_src_glfw_src_extr_posix_time.c__glfwPlatformGetTimerValue
; ModuleID = 'AnghaBench/linux/net/tipc/extr_node.c_tipc_node_get_addr.c' source_filename = "AnghaBench/linux/net/tipc/extr_node.c_tipc_node_get_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @tipc_node_get_addr(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !5 br label %5 5: ; preds = %1, %3 %6 = phi i32 [ %4, %3 ], [ 0, %1 ] ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tipc_node", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/tipc/extr_node.c_tipc_node_get_addr.c' source_filename = "AnghaBench/linux/net/tipc/extr_node.c_tipc_node_get_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define i32 @tipc_node_get_addr(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !6 br label %5 5: ; preds = %1, %3 %6 = phi i32 [ %4, %3 ], [ 0, %1 ] ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tipc_node", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_net_tipc_extr_node.c_tipc_node_get_addr
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/usb/extr_uaudio.c_uaudio_mixer_find_inputs_sub.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/usb/extr_uaudio.c_uaudio_mixer_find_inputs_sub.c" target datalayout = "e-m:e-p270:32:32-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.uaudio_search_result = type { i64, ptr } %struct.uaudio_terminal_node = type { %struct.TYPE_16__ } %struct.TYPE_16__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr } %struct.TYPE_12__ = type { ptr, i64 } %struct.TYPE_13__ = type { ptr, i64 } %struct.TYPE_14__ = type { ptr, i64 } %struct.TYPE_15__ = type { ptr, i64 } @UAUDIO_RECURSE_LIMIT = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [39 x i8] c"avoided going into a circle at id=%d!\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @uaudio_mixer_find_inputs_sub], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uaudio_mixer_find_inputs_sub(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3) #0 { %5 = icmp eq i64 %2, 0 br i1 %5, label %93, label %6 6: ; preds = %4 %7 = getelementptr inbounds %struct.uaudio_search_result, ptr %3, i64 0, i32 1 br label %8 8: ; preds = %6, %45 %9 = phi ptr [ %1, %6 ], [ %48, %45 ] %10 = phi i64 [ %2, %6 ], [ %46, %45 ] br label %11 11: ; preds = %8, %91 %12 = phi i64 [ 0, %8 ], [ %26, %91 ] %13 = getelementptr inbounds i64, ptr %9, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !5 %15 = load i64, ptr %3, align 8, !tbaa !9 %16 = load i64, ptr @UAUDIO_RECURSE_LIMIT, align 8, !tbaa !5 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %11 %19 = tail call i32 @DPRINTF(ptr noundef nonnull @.str, i64 noundef %14) #2 br label %93 20: ; preds = %11 %21 = add nsw i64 %15, 1 store i64 %21, ptr %3, align 8, !tbaa !9 %22 = getelementptr inbounds %struct.uaudio_terminal_node, ptr %0, i64 %14 %23 = getelementptr inbounds %struct.TYPE_16__, ptr %22, i64 0, i32 6 %24 = load ptr, ptr %23, align 8, !tbaa !12 %25 = icmp eq ptr %24, null %26 = add nuw i64 %12, 1 br i1 %25, label %91, label %27 27: ; preds = %20 %28 = icmp eq i64 %26, %10 %29 = load i32, ptr %24, align 4, !tbaa !15 switch i32 %29, label %91 [ i32 132, label %30 i32 133, label %39 i32 130, label %52 i32 131, label %56 i32 128, label %65 i32 129, label %74 i32 134, label %83 ] 30: ; preds = %27 %31 = trunc i64 %14 to i32 %32 = and i32 %31, 7 %33 = shl nuw nsw i32 1, %32 %34 = load ptr, ptr %7, align 8, !tbaa !18 %35 = lshr i64 %14, 3 %36 = getelementptr inbounds i32, ptr %34, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !19 %38 = or i32 %37, %33 store i32 %38, ptr %36, align 4, !tbaa !19 br label %91 39: ; preds = %27 %40 = getelementptr inbounds %struct.TYPE_16__, ptr %22, i64 0, i32 5 br i1 %28, label %45, label %50 41: ; preds = %85, %77, %68, %59 %42 = phi ptr [ %60, %59 ], [ %69, %68 ], [ %78, %77 ], [ %86, %85 ] %43 = phi ptr [ %58, %59 ], [ %67, %68 ], [ %76, %77 ], [ %84, %85 ] %44 = load i64, ptr %42, align 8, !tbaa !5 br label %45 45: ; preds = %52, %39, %41 %46 = phi i64 [ %44, %41 ], [ 1, %39 ], [ 1, %52 ] %47 = phi ptr [ %43, %41 ], [ %53, %52 ], [ %40, %39 ] %48 = load ptr, ptr %47, align 8, !tbaa !20 %49 = icmp eq i64 %46, 0 br i1 %49, label %93, label %8 50: ; preds = %39 %51 = load ptr, ptr %40, align 8, !tbaa !21 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %51, i64 noundef 1, ptr noundef nonnull %3) br label %91 52: ; preds = %27 %53 = getelementptr inbounds %struct.TYPE_16__, ptr %22, i64 0, i32 4 br i1 %28, label %45, label %54 54: ; preds = %52 %55 = load ptr, ptr %53, align 8, !tbaa !22 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %55, i64 noundef 1, ptr noundef nonnull %3) br label %91 56: ; preds = %27 %57 = getelementptr inbounds %struct.TYPE_16__, ptr %22, i64 0, i32 3 %58 = load ptr, ptr %57, align 8, !tbaa !23 br i1 %28, label %59, label %61 59: ; preds = %56 %60 = getelementptr inbounds %struct.TYPE_12__, ptr %58, i64 0, i32 1 br label %41 61: ; preds = %56 %62 = load ptr, ptr %58, align 8, !tbaa !24 %63 = getelementptr inbounds %struct.TYPE_12__, ptr %58, i64 0, i32 1 %64 = load i64, ptr %63, align 8, !tbaa !26 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %62, i64 noundef %64, ptr noundef nonnull %3) br label %91 65: ; preds = %27 %66 = getelementptr inbounds %struct.TYPE_16__, ptr %22, i64 0, i32 2 %67 = load ptr, ptr %66, align 8, !tbaa !27 br i1 %28, label %68, label %70 68: ; preds = %65 %69 = getelementptr inbounds %struct.TYPE_13__, ptr %67, i64 0, i32 1 br label %41 70: ; preds = %65 %71 = load ptr, ptr %67, align 8, !tbaa !28 %72 = getelementptr inbounds %struct.TYPE_13__, ptr %67, i64 0, i32 1 %73 = load i64, ptr %72, align 8, !tbaa !30 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %71, i64 noundef %73, ptr noundef nonnull %3) br label %91 74: ; preds = %27 %75 = getelementptr inbounds %struct.TYPE_16__, ptr %22, i64 0, i32 1 %76 = load ptr, ptr %75, align 8, !tbaa !31 br i1 %28, label %77, label %79 77: ; preds = %74 %78 = getelementptr inbounds %struct.TYPE_14__, ptr %76, i64 0, i32 1 br label %41 79: ; preds = %74 %80 = load ptr, ptr %76, align 8, !tbaa !32 %81 = getelementptr inbounds %struct.TYPE_14__, ptr %76, i64 0, i32 1 %82 = load i64, ptr %81, align 8, !tbaa !34 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %80, i64 noundef %82, ptr noundef nonnull %3) br label %91 83: ; preds = %27 %84 = load ptr, ptr %22, align 8, !tbaa !35 br i1 %28, label %85, label %87 85: ; preds = %83 %86 = getelementptr inbounds %struct.TYPE_15__, ptr %84, i64 0, i32 1 br label %41 87: ; preds = %83 %88 = load ptr, ptr %84, align 8, !tbaa !36 %89 = getelementptr inbounds %struct.TYPE_15__, ptr %84, i64 0, i32 1 %90 = load i64, ptr %89, align 8, !tbaa !38 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %88, i64 noundef %90, ptr noundef nonnull %3) br label %91 91: ; preds = %20, %30, %50, %54, %61, %70, %79, %87, %27 %92 = icmp eq i64 %26, %10 br i1 %92, label %93, label %11, !llvm.loop !39 93: ; preds = %45, %91, %4, %18 ret void } declare i32 @DPRINTF(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"uaudio_search_result", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 48} !13 = !{!"uaudio_terminal_node", !14, i64 0} !14 = !{!"TYPE_16__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_9__", !17, i64 0} !17 = !{!"int", !7, i64 0} !18 = !{!10, !11, i64 8} !19 = !{!17, !17, i64 0} !20 = !{!11, !11, i64 0} !21 = !{!13, !11, i64 40} !22 = !{!13, !11, i64 32} !23 = !{!13, !11, i64 24} !24 = !{!25, !11, i64 0} !25 = !{!"TYPE_12__", !11, i64 0, !6, i64 8} !26 = !{!25, !6, i64 8} !27 = !{!13, !11, i64 16} !28 = !{!29, !11, i64 0} !29 = !{!"TYPE_13__", !11, i64 0, !6, i64 8} !30 = !{!29, !6, i64 8} !31 = !{!13, !11, i64 8} !32 = !{!33, !11, i64 0} !33 = !{!"TYPE_14__", !11, i64 0, !6, i64 8} !34 = !{!33, !6, i64 8} !35 = !{!13, !11, i64 0} !36 = !{!37, !11, i64 0} !37 = !{!"TYPE_15__", !11, i64 0, !6, i64 8} !38 = !{!37, !6, i64 8} !39 = distinct !{!39, !40} !40 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/usb/extr_uaudio.c_uaudio_mixer_find_inputs_sub.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/usb/extr_uaudio.c_uaudio_mixer_find_inputs_sub.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.uaudio_terminal_node = type { %struct.TYPE_16__ } %struct.TYPE_16__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr } @UAUDIO_RECURSE_LIMIT = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [39 x i8] c"avoided going into a circle at id=%d!\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @uaudio_mixer_find_inputs_sub], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uaudio_mixer_find_inputs_sub(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3) #0 { %5 = icmp eq i64 %2, 0 br i1 %5, label %85, label %6 6: ; preds = %4 %7 = getelementptr inbounds i8, ptr %3, i64 8 br label %8 8: ; preds = %6, %45 %9 = phi ptr [ %1, %6 ], [ %48, %45 ] %10 = phi i64 [ %2, %6 ], [ %46, %45 ] br label %11 11: ; preds = %8, %83 %12 = phi i64 [ 0, %8 ], [ %26, %83 ] %13 = getelementptr inbounds i64, ptr %9, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !6 %15 = load i64, ptr %3, align 8, !tbaa !10 %16 = load i64, ptr @UAUDIO_RECURSE_LIMIT, align 8, !tbaa !6 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %11 %19 = tail call i32 @DPRINTF(ptr noundef nonnull @.str, i64 noundef %14) #2 br label %85 20: ; preds = %11 %21 = add nsw i64 %15, 1 store i64 %21, ptr %3, align 8, !tbaa !10 %22 = getelementptr inbounds %struct.uaudio_terminal_node, ptr %0, i64 %14 %23 = getelementptr inbounds i8, ptr %22, i64 48 %24 = load ptr, ptr %23, align 8, !tbaa !13 %25 = icmp eq ptr %24, null %26 = add nuw i64 %12, 1 br i1 %25, label %83, label %27 27: ; preds = %20 %28 = icmp eq i64 %26, %10 %29 = load i32, ptr %24, align 4, !tbaa !16 switch i32 %29, label %83 [ i32 132, label %30 i32 133, label %39 i32 130, label %52 i32 131, label %56 i32 128, label %63 i32 129, label %70 i32 134, label %77 ] 30: ; preds = %27 %31 = trunc i64 %14 to i32 %32 = and i32 %31, 7 %33 = shl nuw nsw i32 1, %32 %34 = load ptr, ptr %7, align 8, !tbaa !19 %35 = lshr i64 %14, 3 %36 = getelementptr inbounds i32, ptr %34, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !20 %38 = or i32 %37, %33 store i32 %38, ptr %36, align 4, !tbaa !20 br label %83 39: ; preds = %27 %40 = getelementptr inbounds i8, ptr %22, i64 40 br i1 %28, label %45, label %50 41: ; preds = %77, %70, %63, %56 %42 = phi ptr [ %58, %56 ], [ %65, %63 ], [ %72, %70 ], [ %78, %77 ] %43 = getelementptr inbounds i8, ptr %42, i64 8 %44 = load i64, ptr %43, align 8, !tbaa !6 br label %45 45: ; preds = %52, %39, %41 %46 = phi i64 [ %44, %41 ], [ 1, %39 ], [ 1, %52 ] %47 = phi ptr [ %42, %41 ], [ %53, %52 ], [ %40, %39 ] %48 = load ptr, ptr %47, align 8, !tbaa !21 %49 = icmp eq i64 %46, 0 br i1 %49, label %85, label %8 50: ; preds = %39 %51 = load ptr, ptr %40, align 8, !tbaa !22 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %51, i64 noundef 1, ptr noundef nonnull %3) br label %83 52: ; preds = %27 %53 = getelementptr inbounds i8, ptr %22, i64 32 br i1 %28, label %45, label %54 54: ; preds = %52 %55 = load ptr, ptr %53, align 8, !tbaa !23 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %55, i64 noundef 1, ptr noundef nonnull %3) br label %83 56: ; preds = %27 %57 = getelementptr inbounds i8, ptr %22, i64 24 %58 = load ptr, ptr %57, align 8, !tbaa !24 br i1 %28, label %41, label %59 59: ; preds = %56 %60 = load ptr, ptr %58, align 8, !tbaa !25 %61 = getelementptr inbounds i8, ptr %58, i64 8 %62 = load i64, ptr %61, align 8, !tbaa !27 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %60, i64 noundef %62, ptr noundef nonnull %3) br label %83 63: ; preds = %27 %64 = getelementptr inbounds i8, ptr %22, i64 16 %65 = load ptr, ptr %64, align 8, !tbaa !28 br i1 %28, label %41, label %66 66: ; preds = %63 %67 = load ptr, ptr %65, align 8, !tbaa !29 %68 = getelementptr inbounds i8, ptr %65, i64 8 %69 = load i64, ptr %68, align 8, !tbaa !31 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %67, i64 noundef %69, ptr noundef nonnull %3) br label %83 70: ; preds = %27 %71 = getelementptr inbounds i8, ptr %22, i64 8 %72 = load ptr, ptr %71, align 8, !tbaa !32 br i1 %28, label %41, label %73 73: ; preds = %70 %74 = load ptr, ptr %72, align 8, !tbaa !33 %75 = getelementptr inbounds i8, ptr %72, i64 8 %76 = load i64, ptr %75, align 8, !tbaa !35 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %74, i64 noundef %76, ptr noundef nonnull %3) br label %83 77: ; preds = %27 %78 = load ptr, ptr %22, align 8, !tbaa !36 br i1 %28, label %41, label %79 79: ; preds = %77 %80 = load ptr, ptr %78, align 8, !tbaa !37 %81 = getelementptr inbounds i8, ptr %78, i64 8 %82 = load i64, ptr %81, align 8, !tbaa !39 tail call void @uaudio_mixer_find_inputs_sub(ptr noundef nonnull %0, ptr noundef %80, i64 noundef %82, ptr noundef nonnull %3) br label %83 83: ; preds = %20, %30, %50, %54, %59, %66, %73, %79, %27 %84 = icmp eq i64 %26, %10 br i1 %84, label %85, label %11, !llvm.loop !40 85: ; preds = %45, %83, %4, %18 ret void } declare i32 @DPRINTF(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"uaudio_search_result", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 48} !14 = !{!"uaudio_terminal_node", !15, i64 0} !15 = !{!"TYPE_16__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_9__", !18, i64 0} !18 = !{!"int", !8, i64 0} !19 = !{!11, !12, i64 8} !20 = !{!18, !18, i64 0} !21 = !{!12, !12, i64 0} !22 = !{!14, !12, i64 40} !23 = !{!14, !12, i64 32} !24 = !{!14, !12, i64 24} !25 = !{!26, !12, i64 0} !26 = !{!"TYPE_12__", !12, i64 0, !7, i64 8} !27 = !{!26, !7, i64 8} !28 = !{!14, !12, i64 16} !29 = !{!30, !12, i64 0} !30 = !{!"TYPE_13__", !12, i64 0, !7, i64 8} !31 = !{!30, !7, i64 8} !32 = !{!14, !12, i64 8} !33 = !{!34, !12, i64 0} !34 = !{!"TYPE_14__", !12, i64 0, !7, i64 8} !35 = !{!34, !7, i64 8} !36 = !{!14, !12, i64 0} !37 = !{!38, !12, i64 0} !38 = !{!"TYPE_15__", !12, i64 0, !7, i64 8} !39 = !{!38, !7, i64 8} !40 = distinct !{!40, !41} !41 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_sound_usb_extr_uaudio.c_uaudio_mixer_find_inputs_sub
; ModuleID = 'AnghaBench/git/extr_setup.c_read_gitfile_error_die.c' source_filename = "AnghaBench/git/extr_setup.c_read_gitfile_error_die.c" target datalayout = "e-m:e-p270:32:32-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 [19 x i8] c"error opening '%s'\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"too large to be a .git file: '%s'\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"error reading %s\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"invalid gitfile format: %s\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"no path in gitfile: %s\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"not a git repository: %s\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"unknown error code\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @read_gitfile_error_die(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { switch i32 %0, label %22 [ i32 129, label %24 i32 134, label %24 i32 131, label %4 i32 128, label %7 i32 130, label %10 i32 135, label %13 i32 132, label %16 i32 133, label %19 ] 4: ; preds = %3 %5 = tail call i32 @_(ptr noundef nonnull @.str) #2 %6 = tail call i32 @die_errno(i32 noundef %5, ptr noundef %1) #2 br label %7 7: ; preds = %3, %4 %8 = tail call i32 @_(ptr noundef nonnull @.str.1) #2 %9 = tail call i32 @die(i32 noundef %8, ptr noundef %1) #2 br label %10 10: ; preds = %3, %7 %11 = tail call i32 @_(ptr noundef nonnull @.str.2) #2 %12 = tail call i32 @die(i32 noundef %11, ptr noundef %1) #2 br label %13 13: ; preds = %3, %10 %14 = tail call i32 @_(ptr noundef nonnull @.str.3) #2 %15 = tail call i32 @die(i32 noundef %14, ptr noundef %1) #2 br label %16 16: ; preds = %3, %13 %17 = tail call i32 @_(ptr noundef nonnull @.str.4) #2 %18 = tail call i32 @die(i32 noundef %17, ptr noundef %1) #2 br label %19 19: ; preds = %3, %16 %20 = tail call i32 @_(ptr noundef nonnull @.str.5) #2 %21 = tail call i32 @die(i32 noundef %20, ptr noundef %2) #2 br label %22 22: ; preds = %3, %19 %23 = tail call i32 @BUG(ptr noundef nonnull @.str.6) #2 br label %24 24: ; preds = %3, %3, %22 ret void } declare i32 @die_errno(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @die(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BUG(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/git/extr_setup.c_read_gitfile_error_die.c' source_filename = "AnghaBench/git/extr_setup.c_read_gitfile_error_die.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"error opening '%s'\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"too large to be a .git file: '%s'\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"error reading %s\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"invalid gitfile format: %s\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"no path in gitfile: %s\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"not a git repository: %s\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"unknown error code\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @read_gitfile_error_die(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { switch i32 %0, label %22 [ i32 129, label %24 i32 134, label %24 i32 131, label %4 i32 128, label %7 i32 130, label %10 i32 135, label %13 i32 132, label %16 i32 133, label %19 ] 4: ; preds = %3 %5 = tail call i32 @_(ptr noundef nonnull @.str) #2 %6 = tail call i32 @die_errno(i32 noundef %5, ptr noundef %1) #2 br label %7 7: ; preds = %3, %4 %8 = tail call i32 @_(ptr noundef nonnull @.str.1) #2 %9 = tail call i32 @die(i32 noundef %8, ptr noundef %1) #2 br label %10 10: ; preds = %3, %7 %11 = tail call i32 @_(ptr noundef nonnull @.str.2) #2 %12 = tail call i32 @die(i32 noundef %11, ptr noundef %1) #2 br label %13 13: ; preds = %3, %10 %14 = tail call i32 @_(ptr noundef nonnull @.str.3) #2 %15 = tail call i32 @die(i32 noundef %14, ptr noundef %1) #2 br label %16 16: ; preds = %3, %13 %17 = tail call i32 @_(ptr noundef nonnull @.str.4) #2 %18 = tail call i32 @die(i32 noundef %17, ptr noundef %1) #2 br label %19 19: ; preds = %3, %16 %20 = tail call i32 @_(ptr noundef nonnull @.str.5) #2 %21 = tail call i32 @die(i32 noundef %20, ptr noundef %2) #2 br label %22 22: ; preds = %3, %19 %23 = tail call i32 @BUG(ptr noundef nonnull @.str.6) #2 br label %24 24: ; preds = %3, %3, %22 ret void } declare i32 @die_errno(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @die(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BUG(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
git_extr_setup.c_read_gitfile_error_die
; ModuleID = 'AnghaBench/libevent/extr_log.c_event_log.c' source_filename = "AnghaBench/libevent/extr_log.c_event_log.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stderr = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @event_log], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @event_log(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @log_fn(i32 noundef %0, ptr noundef %1) #2 ret void } declare i32 @log_fn(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/libevent/extr_log.c_event_log.c' source_filename = "AnghaBench/libevent/extr_log.c_event_log.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stderr = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @event_log], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @event_log(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @log_fn(i32 noundef %0, ptr noundef %1) #2 ret void } declare i32 @log_fn(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)"}
libevent_extr_log.c_event_log
; ModuleID = 'AnghaBench/fastsocket/kernel/net/key/extr_af_key.c_key_notify_sa_flush.c' source_filename = "AnghaBench/fastsocket/kernel/net/key/extr_af_key.c_key_notify_sa_flush.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.km_event = type { i32, i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.sadb_msg = type { i32, i64, i64, i32, i32, i32, i32, i32 } @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @ENOBUFS = dso_local local_unnamed_addr global i32 0, align 4 @SADB_FLUSH = dso_local local_unnamed_addr global i32 0, align 4 @PF_KEY_V2 = dso_local local_unnamed_addr global i32 0, align 4 @BROADCAST_ALL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @key_notify_sa_flush], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @key_notify_sa_flush(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5 %3 = tail call ptr @alloc_skb(i32 noundef 64, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOBUFS, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %28 8: ; preds = %1 %9 = tail call i64 @skb_put(ptr noundef nonnull %3, i32 noundef 48) #2 %10 = inttoptr i64 %9 to ptr %11 = getelementptr inbounds %struct.km_event, ptr %0, i64 0, i32 3 %12 = load i32, ptr %11, align 4, !tbaa !9 %13 = tail call i32 @pfkey_proto2satype(i32 noundef %12) #2 %14 = getelementptr inbounds %struct.sadb_msg, ptr %10, i64 0, i32 7 store i32 %13, ptr %14, align 8, !tbaa !12 %15 = load i32, ptr @SADB_FLUSH, align 4, !tbaa !5 %16 = getelementptr inbounds %struct.sadb_msg, ptr %10, i64 0, i32 6 store i32 %15, ptr %16, align 4, !tbaa !15 %17 = getelementptr inbounds %struct.km_event, ptr %0, i64 0, i32 1 %18 = getelementptr inbounds %struct.sadb_msg, ptr %10, i64 0, i32 4 %19 = load <2 x i32>, ptr %17, align 4, !tbaa !5 store <2 x i32> %19, ptr %18, align 4, !tbaa !5 %20 = load i32, ptr @PF_KEY_V2, align 4, !tbaa !5 %21 = getelementptr inbounds %struct.sadb_msg, ptr %10, i64 0, i32 3 store i32 %20, ptr %21, align 8, !tbaa !16 %22 = getelementptr inbounds %struct.sadb_msg, ptr %10, i64 0, i32 2 store i64 0, ptr %22, align 8, !tbaa !17 store i32 12, ptr %10, align 8, !tbaa !18 %23 = getelementptr inbounds %struct.sadb_msg, ptr %10, i64 0, i32 1 store i64 0, ptr %23, align 8, !tbaa !19 %24 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5 %25 = load i32, ptr @BROADCAST_ALL, align 4, !tbaa !5 %26 = load i32, ptr %0, align 4, !tbaa !20 %27 = tail call i32 @pfkey_broadcast(ptr noundef nonnull %3, i32 noundef %24, i32 noundef %25, ptr noundef null, i32 noundef %26) #2 br label %28 28: ; preds = %8, %5 %29 = phi i32 [ 0, %8 ], [ %7, %5 ] ret i32 %29 } declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pfkey_proto2satype(i32 noundef) local_unnamed_addr #1 declare i32 @pfkey_broadcast(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"km_event", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 12} !11 = !{!"TYPE_2__", !6, i64 0} !12 = !{!13, !6, i64 40} !13 = !{!"sadb_msg", !6, i64 0, !14, i64 8, !14, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40} !14 = !{!"long", !7, i64 0} !15 = !{!13, !6, i64 36} !16 = !{!13, !6, i64 24} !17 = !{!13, !14, i64 16} !18 = !{!13, !6, i64 0} !19 = !{!13, !14, i64 8} !20 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/key/extr_af_key.c_key_notify_sa_flush.c' source_filename = "AnghaBench/fastsocket/kernel/net/key/extr_af_key.c_key_notify_sa_flush.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @ENOBUFS = common local_unnamed_addr global i32 0, align 4 @SADB_FLUSH = common local_unnamed_addr global i32 0, align 4 @PF_KEY_V2 = common local_unnamed_addr global i32 0, align 4 @BROADCAST_ALL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @key_notify_sa_flush], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @key_notify_sa_flush(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6 %3 = tail call ptr @alloc_skb(i32 noundef 64, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOBUFS, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %28 8: ; preds = %1 %9 = tail call i64 @skb_put(ptr noundef nonnull %3, i32 noundef 48) #2 %10 = inttoptr i64 %9 to ptr %11 = getelementptr inbounds i8, ptr %0, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = tail call i32 @pfkey_proto2satype(i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %10, i64 40 store i32 %13, ptr %14, align 8, !tbaa !13 %15 = load i32, ptr @SADB_FLUSH, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %10, i64 36 store i32 %15, ptr %16, align 4, !tbaa !16 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = getelementptr inbounds i8, ptr %10, i64 28 %19 = load <2 x i32>, ptr %17, align 4, !tbaa !6 store <2 x i32> %19, ptr %18, align 4, !tbaa !6 %20 = load i32, ptr @PF_KEY_V2, align 4, !tbaa !6 %21 = getelementptr inbounds i8, ptr %10, i64 24 store i32 %20, ptr %21, align 8, !tbaa !17 %22 = getelementptr inbounds i8, ptr %10, i64 16 store i64 0, ptr %22, align 8, !tbaa !18 store i32 12, ptr %10, align 8, !tbaa !19 %23 = getelementptr inbounds i8, ptr %10, i64 8 store i64 0, ptr %23, align 8, !tbaa !20 %24 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6 %25 = load i32, ptr @BROADCAST_ALL, align 4, !tbaa !6 %26 = load i32, ptr %0, align 4, !tbaa !21 %27 = tail call i32 @pfkey_broadcast(ptr noundef nonnull %3, i32 noundef %24, i32 noundef %25, ptr noundef null, i32 noundef %26) #2 br label %28 28: ; preds = %8, %5 %29 = phi i32 [ 0, %8 ], [ %7, %5 ] ret i32 %29 } declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pfkey_proto2satype(i32 noundef) local_unnamed_addr #1 declare i32 @pfkey_broadcast(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"km_event", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 12} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!14, !7, i64 40} !14 = !{!"sadb_msg", !7, i64 0, !15, i64 8, !15, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40} !15 = !{!"long", !8, i64 0} !16 = !{!14, !7, i64 36} !17 = !{!14, !7, i64 24} !18 = !{!14, !15, i64 16} !19 = !{!14, !7, i64 0} !20 = !{!14, !15, i64 8} !21 = !{!11, !7, i64 0}
fastsocket_kernel_net_key_extr_af_key.c_key_notify_sa_flush
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/extr_rtl8187.h_rtl818x_iowrite16.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/extr_rtl8187.h_rtl818x_iowrite16.c" target datalayout = "e-m:e-p270:32:32-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 @rtl818x_iowrite16], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @rtl818x_iowrite16(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @rtl818x_iowrite16_idx(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #2 ret void } declare i32 @rtl818x_iowrite16_idx(ptr noundef, ptr noundef, 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/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/extr_rtl8187.h_rtl818x_iowrite16.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/extr_rtl8187.h_rtl818x_iowrite16.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 @rtl818x_iowrite16], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @rtl818x_iowrite16(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @rtl818x_iowrite16_idx(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #2 ret void } declare i32 @rtl818x_iowrite16_idx(ptr noundef, ptr noundef, 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)"}
linux_drivers_net_wireless_realtek_rtl818x_rtl8187_extr_rtl8187.h_rtl818x_iowrite16
; ModuleID = 'AnghaBench/linux/drivers/block/rsxx/extr_dev.c_rsxx_dev_cleanup.c' source_filename = "AnghaBench/linux/drivers/block/rsxx/extr_dev.c_rsxx_dev_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" @bio_meta_pool = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @rsxx_dev_cleanup() local_unnamed_addr #0 { %1 = load i32, ptr @bio_meta_pool, align 4, !tbaa !5 %2 = tail call i32 @kmem_cache_destroy(i32 noundef %1) #2 ret void } declare i32 @kmem_cache_destroy(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/block/rsxx/extr_dev.c_rsxx_dev_cleanup.c' source_filename = "AnghaBench/linux/drivers/block/rsxx/extr_dev.c_rsxx_dev_cleanup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bio_meta_pool = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @rsxx_dev_cleanup() local_unnamed_addr #0 { %1 = load i32, ptr @bio_meta_pool, align 4, !tbaa !6 %2 = tail call i32 @kmem_cache_destroy(i32 noundef %1) #2 ret void } declare i32 @kmem_cache_destroy(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_block_rsxx_extr_dev.c_rsxx_dev_cleanup
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_vmscan.c_write_scan_unevictable_node.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_vmscan.c_write_scan_unevictable_node.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.zone = type { i32 } @MAX_NR_ZONES = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_scan_unevictable_node], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @write_scan_unevictable_node(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2, i64 %3) #0 { %5 = alloca i64, align 8 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call ptr @NODE_DATA(i32 noundef %6) #3 %8 = load ptr, ptr %7, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %9 = call i64 @strict_strtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %29, label %11 11: ; preds = %4 %12 = ptrtoint ptr %8 to i64 %13 = load i32, ptr @MAX_NR_ZONES, align 4, !tbaa !13 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %29 15: ; preds = %11, %21 %16 = phi ptr [ %22, %21 ], [ %8, %11 ] %17 = call i32 @populated_zone(ptr noundef %16) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %15 %20 = call i32 @scan_zone_unevictable_pages(ptr noundef %16) #3 br label %21 21: ; preds = %15, %19 %22 = getelementptr inbounds %struct.zone, ptr %16, i64 1 %23 = ptrtoint ptr %22 to i64 %24 = sub i64 %23, %12 %25 = ashr exact i64 %24, 2 %26 = load i32, ptr @MAX_NR_ZONES, align 4, !tbaa !13 %27 = sext i32 %26 to i64 %28 = icmp slt i64 %25, %27 br i1 %28, label %15, label %29, !llvm.loop !14 29: ; preds = %21, %11, %4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 1 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @NODE_DATA(i32 noundef) local_unnamed_addr #2 declare i64 @strict_strtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @populated_zone(ptr noundef) local_unnamed_addr #2 declare i32 @scan_zone_unevictable_pages(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 = !{!"sys_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!7, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_vmscan.c_write_scan_unevictable_node.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_vmscan.c_write_scan_unevictable_node.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_NR_ZONES = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @write_scan_unevictable_node], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @write_scan_unevictable_node(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2, i64 %3) #0 { %5 = alloca i64, align 8 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call ptr @NODE_DATA(i32 noundef %6) #3 %8 = load ptr, ptr %7, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %9 = call i64 @strict_strtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %29, label %11 11: ; preds = %4 %12 = ptrtoint ptr %8 to i64 %13 = load i32, ptr @MAX_NR_ZONES, align 4, !tbaa !14 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %29 15: ; preds = %11, %21 %16 = phi ptr [ %22, %21 ], [ %8, %11 ] %17 = call i32 @populated_zone(ptr noundef %16) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %15 %20 = call i32 @scan_zone_unevictable_pages(ptr noundef %16) #3 br label %21 21: ; preds = %15, %19 %22 = getelementptr inbounds i8, ptr %16, i64 4 %23 = ptrtoint ptr %22 to i64 %24 = sub i64 %23, %12 %25 = ashr exact i64 %24, 2 %26 = load i32, ptr @MAX_NR_ZONES, align 4, !tbaa !14 %27 = sext i32 %26 to i64 %28 = icmp slt i64 %25, %27 br i1 %28, label %15, label %29, !llvm.loop !15 29: ; preds = %21, %11, %4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 1 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @NODE_DATA(i32 noundef) local_unnamed_addr #2 declare i64 @strict_strtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @populated_zone(ptr noundef) local_unnamed_addr #2 declare i32 @scan_zone_unevictable_pages(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 = !{!"sys_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_mm_extr_vmscan.c_write_scan_unevictable_node
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/chips/extr_map_absent.c_map_absent_destroy.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/chips/extr_map_absent.c_map_absent_destroy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @map_absent_destroy], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @map_absent_destroy(ptr nocapture readnone %0) #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/fastsocket/kernel/drivers/mtd/chips/extr_map_absent.c_map_absent_destroy.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/chips/extr_map_absent.c_map_absent_destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @map_absent_destroy], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @map_absent_destroy(ptr nocapture readnone %0) #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)"}
fastsocket_kernel_drivers_mtd_chips_extr_map_absent.c_map_absent_destroy
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/android/pipeline/extr_....ff_ffmsg_queue.h_msg_queue_put_simple2.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/android/pipeline/extr_....ff_ffmsg_queue.h_msg_queue_put_simple2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @msg_queue_put_simple2], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @msg_queue_put_simple2(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.TYPE_4__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = call i32 @msg_init_msg(ptr noundef nonnull %4) #3 store i32 %1, ptr %4, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1 store i32 %2, ptr %6, align 4, !tbaa !10 %7 = call i32 @msg_queue_put(ptr noundef %0, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @msg_init_msg(ptr noundef) local_unnamed_addr #2 declare i32 @msg_queue_put(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !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}
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/android/pipeline/extr_....ff_ffmsg_queue.h_msg_queue_put_simple2.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/android/pipeline/extr_....ff_ffmsg_queue.h_msg_queue_put_simple2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32 } @llvm.used = appending global [1 x ptr] [ptr @msg_queue_put_simple2], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @msg_queue_put_simple2(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.TYPE_4__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = call i32 @msg_init_msg(ptr noundef nonnull %4) #3 store i32 %1, ptr %4, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %2, ptr %6, align 4, !tbaa !11 %7 = call i32 @msg_queue_put(ptr noundef %0, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @msg_init_msg(ptr noundef) local_unnamed_addr #2 declare i32 @msg_queue_put(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !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}
ijkplayer_ijkmedia_ijkplayer_android_pipeline_extr_....ff_ffmsg_queue.h_msg_queue_put_simple2
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-ioctl.c_v4l_s_output.c' source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-ioctl.c_v4l_s_output.c" target datalayout = "e-m:e-p270:32:32-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 @v4l_s_output], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @v4l_s_output(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr %3, align 4, !tbaa !10 %7 = tail call i32 %5(ptr noundef %1, ptr noundef %2, i32 noundef %6) #1 ret i32 %7 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"v4l2_ioctl_ops", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-ioctl.c_v4l_s_output.c' source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-ioctl.c_v4l_s_output.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 @v4l_s_output], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @v4l_s_output(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr %3, align 4, !tbaa !11 %7 = tail call i32 %5(ptr noundef %1, ptr noundef %2, i32 noundef %6) #1 ret i32 %7 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"v4l2_ioctl_ops", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_media_v4l2-core_extr_v4l2-ioctl.c_v4l_s_output
; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_logips2pp.c_ps2pp_set_resolution.c' source_filename = "AnghaBench/linux/drivers/input/mouse/extr_logips2pp.c_ps2pp_set_resolution.c" target datalayout = "e-m:e-p270:32:32-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.psmouse = type { i32, %struct.ps2dev } %struct.ps2dev = type { i32 } @PSMOUSE_CMD_SETSCALE11 = dso_local local_unnamed_addr global i32 0, align 4 @PSMOUSE_CMD_SETRES = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ps2pp_set_resolution], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ps2pp_set_resolution(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = icmp ugt i32 %1, 400 br i1 %4, label %5, label %15 5: ; preds = %2 %6 = getelementptr inbounds %struct.psmouse, ptr %0, i64 0, i32 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 3, ptr %3, align 4, !tbaa !5 %7 = load i32, ptr @PSMOUSE_CMD_SETSCALE11, align 4, !tbaa !5 %8 = tail call i32 @ps2_command(ptr noundef nonnull %6, ptr noundef null, i32 noundef %7) #3 %9 = load i32, ptr @PSMOUSE_CMD_SETSCALE11, align 4, !tbaa !5 %10 = tail call i32 @ps2_command(ptr noundef nonnull %6, ptr noundef null, i32 noundef %9) #3 %11 = load i32, ptr @PSMOUSE_CMD_SETSCALE11, align 4, !tbaa !5 %12 = tail call i32 @ps2_command(ptr noundef nonnull %6, ptr noundef null, i32 noundef %11) #3 %13 = load i32, ptr @PSMOUSE_CMD_SETRES, align 4, !tbaa !5 %14 = call i32 @ps2_command(ptr noundef nonnull %6, ptr noundef nonnull %3, i32 noundef %13) #3 store i32 800, ptr %0, align 4, !tbaa !9 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %17 15: ; preds = %2 %16 = tail call i32 @psmouse_set_resolution(ptr noundef %0, i32 noundef %1) #3 br label %17 17: ; preds = %15, %5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ps2_command(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 @psmouse_set_resolution(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 = !{!"psmouse", !6, i64 0, !11, i64 4} !11 = !{!"ps2dev", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_logips2pp.c_ps2pp_set_resolution.c' source_filename = "AnghaBench/linux/drivers/input/mouse/extr_logips2pp.c_ps2pp_set_resolution.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PSMOUSE_CMD_SETSCALE11 = common local_unnamed_addr global i32 0, align 4 @PSMOUSE_CMD_SETRES = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ps2pp_set_resolution], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ps2pp_set_resolution(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = icmp ugt i32 %1, 400 br i1 %4, label %5, label %15 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 3, ptr %3, align 4, !tbaa !6 %7 = load i32, ptr @PSMOUSE_CMD_SETSCALE11, align 4, !tbaa !6 %8 = tail call i32 @ps2_command(ptr noundef nonnull %6, ptr noundef null, i32 noundef %7) #3 %9 = load i32, ptr @PSMOUSE_CMD_SETSCALE11, align 4, !tbaa !6 %10 = tail call i32 @ps2_command(ptr noundef nonnull %6, ptr noundef null, i32 noundef %9) #3 %11 = load i32, ptr @PSMOUSE_CMD_SETSCALE11, align 4, !tbaa !6 %12 = tail call i32 @ps2_command(ptr noundef nonnull %6, ptr noundef null, i32 noundef %11) #3 %13 = load i32, ptr @PSMOUSE_CMD_SETRES, align 4, !tbaa !6 %14 = call i32 @ps2_command(ptr noundef nonnull %6, ptr noundef nonnull %3, i32 noundef %13) #3 store i32 800, ptr %0, align 4, !tbaa !10 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %17 15: ; preds = %2 %16 = tail call i32 @psmouse_set_resolution(ptr noundef %0, i32 noundef %1) #3 br label %17 17: ; preds = %15, %5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ps2_command(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 @psmouse_set_resolution(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 = !{!"psmouse", !7, i64 0, !12, i64 4} !12 = !{!"ps2dev", !7, i64 0}
linux_drivers_input_mouse_extr_logips2pp.c_ps2pp_set_resolution
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-profiler.c_cvmx_get_memory_addr.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-profiler.c_cvmx_get_memory_addr.c" target datalayout = "e-m:e-p270:32:32-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 @cvmx_get_memory_addr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @cvmx_get_memory_addr(ptr noundef %0) #0 { %2 = tail call ptr @cvmx_bootmem_find_named_block(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load i32, ptr %2, align 4, !tbaa !5 %6 = tail call ptr @cvmx_phys_to_ptr(i32 noundef %5) #2 br label %7 7: ; preds = %4, %1 %8 = phi ptr [ %6, %4 ], [ null, %1 ] %9 = icmp ne ptr %8, null %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #2 ret ptr %8 } declare ptr @cvmx_bootmem_find_named_block(ptr noundef) local_unnamed_addr #1 declare ptr @cvmx_phys_to_ptr(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"cvmx_bootmem_named_block_desc", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-profiler.c_cvmx_get_memory_addr.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-profiler.c_cvmx_get_memory_addr.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 @cvmx_get_memory_addr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @cvmx_get_memory_addr(ptr noundef %0) #0 { %2 = tail call ptr @cvmx_bootmem_find_named_block(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load i32, ptr %2, align 4, !tbaa !6 %6 = tail call ptr @cvmx_phys_to_ptr(i32 noundef %5) #2 br label %7 7: ; preds = %4, %1 %8 = phi ptr [ %6, %4 ], [ null, %1 ] %9 = icmp ne ptr %8, null %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #2 ret ptr %8 } declare ptr @cvmx_bootmem_find_named_block(ptr noundef) local_unnamed_addr #1 declare ptr @cvmx_phys_to_ptr(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"cvmx_bootmem_named_block_desc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_contrib_octeon-sdk_extr_cvmx-profiler.c_cvmx_get_memory_addr
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_kprobe.c_get_rloc_data.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_kprobe.c_get_rloc_data.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @get_rloc_data], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @get_rloc_data(ptr noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @get_rloc_offs(i32 noundef %2) #2 %4 = sext i32 %3 to i64 %5 = getelementptr inbounds i8, ptr %0, i64 %4 ret ptr %5 } declare i32 @get_rloc_offs(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/fastsocket/kernel/kernel/trace/extr_trace_kprobe.c_get_rloc_data.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_kprobe.c_get_rloc_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @get_rloc_data], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @get_rloc_data(ptr noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @get_rloc_offs(i32 noundef %2) #2 %4 = sext i32 %3 to i64 %5 = getelementptr inbounds i8, ptr %0, i64 %4 ret ptr %5 } declare i32 @get_rloc_offs(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"}
fastsocket_kernel_kernel_trace_extr_trace_kprobe.c_get_rloc_data
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx18/extr_cx18-av-core.c_cx18_av_s_stream.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx18/extr_cx18-av-core.c_cx18_av_s_stream.c" target datalayout = "e-m:e-p270:32:32-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"%s output\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"enable\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"disable\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cx18_av_s_stream], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @cx18_av_s_stream(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2 %4 = icmp eq i32 %1, 0 %5 = select i1 %4, ptr @.str.2, ptr @.str.1 %6 = tail call i32 @CX18_DEBUG_INFO_DEV(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %5) #2 %7 = select i1 %4, i32 0, i32 140 %8 = select i1 %4, i32 0, i32 7 %9 = tail call i32 @cx18_av_write(ptr noundef %3, i32 noundef 277, i32 noundef %7) #2 %10 = tail call i32 @cx18_av_write(ptr noundef %3, i32 noundef 278, i32 noundef %8) #2 ret i32 0 } declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1 declare i32 @CX18_DEBUG_INFO_DEV(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cx18_av_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx18/extr_cx18-av-core.c_cx18_av_s_stream.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx18/extr_cx18-av-core.c_cx18_av_s_stream.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"%s output\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"enable\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"disable\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cx18_av_s_stream], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @cx18_av_s_stream(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2 %4 = icmp eq i32 %1, 0 %5 = select i1 %4, ptr @.str.2, ptr @.str.1 %6 = tail call i32 @CX18_DEBUG_INFO_DEV(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %5) #2 %7 = select i1 %4, i32 0, i32 140 %8 = select i1 %4, i32 0, i32 7 %9 = tail call i32 @cx18_av_write(ptr noundef %3, i32 noundef 277, i32 noundef %7) #2 %10 = tail call i32 @cx18_av_write(ptr noundef %3, i32 noundef 278, i32 noundef %8) #2 ret i32 0 } declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1 declare i32 @CX18_DEBUG_INFO_DEV(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cx18_av_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_media_pci_cx18_extr_cx18-av-core.c_cx18_av_s_stream
; ModuleID = 'AnghaBench/linux/net/sched/extr_sch_htb.c_htb_safe_rb_erase.c' source_filename = "AnghaBench/linux/net/sched/extr_sch_htb.c_htb_safe_rb_erase.c" target datalayout = "e-m:e-p270:32:32-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 @htb_safe_rb_erase], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @htb_safe_rb_erase(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @RB_EMPTY_NODE(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @WARN_ON(i32 noundef 1) #2 br label %10 7: ; preds = %2 %8 = tail call i32 @rb_erase(ptr noundef %0, ptr noundef %1) #2 %9 = tail call i32 @RB_CLEAR_NODE(ptr noundef %0) #2 br label %10 10: ; preds = %7, %5 ret void } declare i64 @RB_EMPTY_NODE(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @rb_erase(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @RB_CLEAR_NODE(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/net/sched/extr_sch_htb.c_htb_safe_rb_erase.c' source_filename = "AnghaBench/linux/net/sched/extr_sch_htb.c_htb_safe_rb_erase.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 @htb_safe_rb_erase], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @htb_safe_rb_erase(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @RB_EMPTY_NODE(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @WARN_ON(i32 noundef 1) #2 br label %10 7: ; preds = %2 %8 = tail call i32 @rb_erase(ptr noundef %0, ptr noundef %1) #2 %9 = tail call i32 @RB_CLEAR_NODE(ptr noundef %0) #2 br label %10 10: ; preds = %7, %5 ret void } declare i64 @RB_EMPTY_NODE(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @rb_erase(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @RB_CLEAR_NODE(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_net_sched_extr_sch_htb.c_htb_safe_rb_erase
; ModuleID = 'AnghaBench/linux/net/bridge/netfilter/extr_nft_reject_bridge.c_nft_bridge_ip6hdr_validate.c' source_filename = "AnghaBench/linux/net/bridge/netfilter/extr_nft_reject_bridge.c_nft_bridge_ip6hdr_validate.c" target datalayout = "e-m:e-p270:32:32-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.ipv6hdr = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @nft_bridge_ip6hdr_validate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nft_bridge_ip6hdr_validate(ptr noundef %0) #0 { %2 = tail call i32 @pskb_may_pull(ptr noundef %0, i32 noundef 8) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %16, label %4 4: ; preds = %1 %5 = tail call ptr @ipv6_hdr(ptr noundef %0) #2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = icmp eq i32 %6, 6 br i1 %7, label %8, label %16 8: ; preds = %4 %9 = getelementptr inbounds %struct.ipv6hdr, ptr %5, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = tail call i64 @ntohs(i32 noundef %10) #2 %12 = add i64 %11, 8 %13 = load i64, ptr %0, align 8, !tbaa !11 %14 = icmp ule i64 %12, %13 %15 = zext i1 %14 to i32 br label %16 16: ; preds = %8, %4, %1 %17 = phi i32 [ 0, %1 ], [ 0, %4 ], [ %15, %8 ] ret i32 %17 } declare i32 @pskb_may_pull(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #1 declare i64 @ntohs(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 = !{!"ipv6hdr", !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 = !{!12, !13, i64 0} !12 = !{!"sk_buff", !13, i64 0} !13 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/net/bridge/netfilter/extr_nft_reject_bridge.c_nft_bridge_ip6hdr_validate.c' source_filename = "AnghaBench/linux/net/bridge/netfilter/extr_nft_reject_bridge.c_nft_bridge_ip6hdr_validate.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 @nft_bridge_ip6hdr_validate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @nft_bridge_ip6hdr_validate(ptr noundef %0) #0 { %2 = tail call i32 @pskb_may_pull(ptr noundef %0, i32 noundef 8) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %16, label %4 4: ; preds = %1 %5 = tail call ptr @ipv6_hdr(ptr noundef %0) #2 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = icmp eq i32 %6, 6 br i1 %7, label %8, label %16 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %5, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = tail call i64 @ntohs(i32 noundef %10) #2 %12 = add i64 %11, 8 %13 = load i64, ptr %0, align 8, !tbaa !12 %14 = icmp ule i64 %12, %13 %15 = zext i1 %14 to i32 br label %16 16: ; preds = %8, %4, %1 %17 = phi i32 [ 0, %1 ], [ 0, %4 ], [ %15, %8 ] ret i32 %17 } declare i32 @pskb_may_pull(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #1 declare i64 @ntohs(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 = !{!"ipv6hdr", !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 = !{!13, !14, i64 0} !13 = !{!"sk_buff", !14, i64 0} !14 = !{!"long", !9, i64 0}
linux_net_bridge_netfilter_extr_nft_reject_bridge.c_nft_bridge_ip6hdr_validate
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_trx.h_set_txbuffer_desc_len_with_offset.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_trx.h_set_txbuffer_desc_len_with_offset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @set_txbuffer_desc_len_with_offset], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @set_txbuffer_desc_len_with_offset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = shl nsw i32 %1, 2 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds i32, ptr %0, i64 %5 %7 = tail call i32 @GENMASK(i32 noundef 15, i32 noundef 0) #2 %8 = tail call i32 @le32p_replace_bits(ptr noundef %6, i32 noundef %2, i32 noundef %7) #2 ret void } declare i32 @le32p_replace_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GENMASK(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/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_trx.h_set_txbuffer_desc_len_with_offset.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_trx.h_set_txbuffer_desc_len_with_offset.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 @set_txbuffer_desc_len_with_offset], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @set_txbuffer_desc_len_with_offset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = shl nsw i32 %1, 2 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds i32, ptr %0, i64 %5 %7 = tail call i32 @GENMASK(i32 noundef 15, i32 noundef 0) #2 %8 = tail call i32 @le32p_replace_bits(ptr noundef %6, i32 noundef %2, i32 noundef %7) #2 ret void } declare i32 @le32p_replace_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GENMASK(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)"}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8192ee_extr_trx.h_set_txbuffer_desc_len_with_offset
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_property.c_drm_property_replace_global_blob.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_property.c_drm_property_replace_global_blob.c" target datalayout = "e-m:e-p270:32:32-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 @drm_property_replace_global_blob(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = icmp eq ptr %1, null %8 = zext i1 %7 to i32 %9 = tail call i32 @WARN_ON(i32 noundef %8) #2 %10 = load ptr, ptr %1, align 8, !tbaa !5 %11 = icmp ne i64 %2, 0 %12 = icmp ne ptr %3, null %13 = and i1 %11, %12 br i1 %13, label %14, label %22 14: ; preds = %6 %15 = tail call ptr @drm_property_create_blob(ptr noundef %0, i64 noundef %2, ptr noundef nonnull %3) #2 %16 = tail call i64 @IS_ERR(ptr noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = tail call i32 @PTR_ERR(ptr noundef %15) #2 br label %38 20: ; preds = %14 %21 = icmp eq ptr %4, null br i1 %21, label %33, label %24 22: ; preds = %6 %23 = icmp eq ptr %4, null br i1 %23, label %33, label %28 24: ; preds = %20 %25 = icmp eq ptr %15, null br i1 %25, label %28, label %26 26: ; preds = %24 %27 = load i32, ptr %15, align 4, !tbaa !9 br label %28 28: ; preds = %22, %24, %26 %29 = phi ptr [ %15, %26 ], [ null, %24 ], [ null, %22 ] %30 = phi i32 [ %27, %26 ], [ 0, %24 ], [ 0, %22 ] %31 = tail call i32 @drm_object_property_set_value(ptr noundef nonnull %4, ptr noundef %5, i32 noundef %30) #2 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %22, %28, %20 %34 = phi ptr [ null, %22 ], [ %29, %28 ], [ %15, %20 ] %35 = tail call i32 @drm_property_blob_put(ptr noundef %10) #2 store ptr %34, ptr %1, align 8, !tbaa !5 br label %38 36: ; preds = %28 %37 = tail call i32 @drm_property_blob_put(ptr noundef %29) #2 br label %38 38: ; preds = %36, %33, %18 %39 = phi i32 [ %19, %18 ], [ %31, %36 ], [ 0, %33 ] ret i32 %39 } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare ptr @drm_property_create_blob(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @drm_object_property_set_value(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @drm_property_blob_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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 0} !10 = !{!"drm_property_blob", !11, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_property.c_drm_property_replace_global_blob.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_property.c_drm_property_replace_global_blob.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 @drm_property_replace_global_blob(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = icmp eq ptr %1, null %8 = zext i1 %7 to i32 %9 = tail call i32 @WARN_ON(i32 noundef %8) #2 %10 = load ptr, ptr %1, align 8, !tbaa !6 %11 = icmp ne i64 %2, 0 %12 = icmp ne ptr %3, null %13 = and i1 %11, %12 br i1 %13, label %14, label %22 14: ; preds = %6 %15 = tail call ptr @drm_property_create_blob(ptr noundef %0, i64 noundef %2, ptr noundef nonnull %3) #2 %16 = tail call i64 @IS_ERR(ptr noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = tail call i32 @PTR_ERR(ptr noundef %15) #2 br label %38 20: ; preds = %14 %21 = icmp eq ptr %4, null br i1 %21, label %33, label %24 22: ; preds = %6 %23 = icmp eq ptr %4, null br i1 %23, label %33, label %28 24: ; preds = %20 %25 = icmp eq ptr %15, null br i1 %25, label %28, label %26 26: ; preds = %24 %27 = load i32, ptr %15, align 4, !tbaa !10 br label %28 28: ; preds = %22, %24, %26 %29 = phi ptr [ %15, %26 ], [ null, %24 ], [ null, %22 ] %30 = phi i32 [ %27, %26 ], [ 0, %24 ], [ 0, %22 ] %31 = tail call i32 @drm_object_property_set_value(ptr noundef nonnull %4, ptr noundef %5, i32 noundef %30) #2 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %22, %28, %20 %34 = phi ptr [ null, %22 ], [ %29, %28 ], [ %15, %20 ] %35 = tail call i32 @drm_property_blob_put(ptr noundef %10) #2 store ptr %34, ptr %1, align 8, !tbaa !6 br label %38 36: ; preds = %28 %37 = tail call i32 @drm_property_blob_put(ptr noundef %29) #2 br label %38 38: ; preds = %36, %33, %18 %39 = phi i32 [ %19, %18 ], [ %31, %36 ], [ 0, %33 ] ret i32 %39 } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare ptr @drm_property_create_blob(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @drm_object_property_set_value(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @drm_property_blob_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, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"drm_property_blob", !12, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !8, i64 0}
linux_drivers_gpu_drm_extr_drm_property.c_drm_property_replace_global_blob
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_binary.c_HPDF_Binary_Write.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_binary.c_HPDF_Binary_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.TYPE_3__ = type { i64, i32 } @.str = private unnamed_addr constant [3 x i8] c"<>\00", align 1 @HPDF_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @HPDF_Binary_Write(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call i32 @HPDF_Stream_WriteStr(i32 noundef %1, ptr noundef nonnull @.str) #2 br label %25 8: ; preds = %3 %9 = tail call i32 @HPDF_Stream_WriteChar(i32 noundef %1, i8 noundef signext 60) #2 %10 = load i32, ptr @HPDF_OK, align 4, !tbaa !11 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %25 12: ; preds = %8 %13 = icmp eq i64 %2, 0 br i1 %13, label %16, label %14 14: ; preds = %12 %15 = tail call i32 @HPDF_Encrypt_Reset(i64 noundef %2) #2 br label %16 16: ; preds = %14, %12 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 8, !tbaa !12 %19 = load i64, ptr %0, align 8, !tbaa !5 %20 = tail call i32 @HPDF_Stream_WriteBinary(i32 noundef %1, i32 noundef %18, i64 noundef %19, i64 noundef %2) #2 %21 = load i32, ptr @HPDF_OK, align 4, !tbaa !11 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %16 %24 = tail call i32 @HPDF_Stream_WriteChar(i32 noundef %1, i8 noundef signext 62) #2 br label %25 25: ; preds = %16, %8, %23, %6 %26 = phi i32 [ %7, %6 ], [ %24, %23 ], [ %9, %8 ], [ %20, %16 ] ret i32 %26 } declare i32 @HPDF_Stream_WriteStr(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HPDF_Stream_WriteChar(i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @HPDF_Encrypt_Reset(i64 noundef) local_unnamed_addr #1 declare i32 @HPDF_Stream_WriteBinary(i32 noundef, i32 noundef, i64 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 = !{!"TYPE_3__", !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 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_binary.c_HPDF_Binary_Write.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_binary.c_HPDF_Binary_Write.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 [3 x i8] c"<>\00", align 1 @HPDF_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @HPDF_Binary_Write(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call i32 @HPDF_Stream_WriteStr(i32 noundef %1, ptr noundef nonnull @.str) #2 br label %25 8: ; preds = %3 %9 = tail call i32 @HPDF_Stream_WriteChar(i32 noundef %1, i8 noundef signext 60) #2 %10 = load i32, ptr @HPDF_OK, align 4, !tbaa !12 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %25 12: ; preds = %8 %13 = icmp eq i64 %2, 0 br i1 %13, label %16, label %14 14: ; preds = %12 %15 = tail call i32 @HPDF_Encrypt_Reset(i64 noundef %2) #2 br label %16 16: ; preds = %14, %12 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !13 %19 = load i64, ptr %0, align 8, !tbaa !6 %20 = tail call i32 @HPDF_Stream_WriteBinary(i32 noundef %1, i32 noundef %18, i64 noundef %19, i64 noundef %2) #2 %21 = load i32, ptr @HPDF_OK, align 4, !tbaa !12 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %16 %24 = tail call i32 @HPDF_Stream_WriteChar(i32 noundef %1, i8 noundef signext 62) #2 br label %25 25: ; preds = %16, %8, %23, %6 %26 = phi i32 [ %7, %6 ], [ %24, %23 ], [ %9, %8 ], [ %20, %16 ] ret i32 %26 } declare i32 @HPDF_Stream_WriteStr(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HPDF_Stream_WriteChar(i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @HPDF_Encrypt_Reset(i64 noundef) local_unnamed_addr #1 declare i32 @HPDF_Stream_WriteBinary(i32 noundef, i32 noundef, i64 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 = !{!"TYPE_3__", !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 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 8}
poco_PDF_src_extr_hpdf_binary.c_HPDF_Binary_Write
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_main.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"bit\00", align 1 @bitlib = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"arg\00", align 1 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = tail call ptr (...) @luaL_newstate() #2 %4 = tail call i32 @luaL_openlibs(ptr noundef %3) #2 %5 = load i32, ptr @bitlib, align 4, !tbaa !5 %6 = tail call i32 @luaL_register(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %5) #2 %7 = icmp slt i32 %0, 2 br i1 %7, label %39, label %8 8: ; preds = %2 %9 = tail call i32 @lua_createtable(ptr noundef %3, i32 noundef 0, i32 noundef 1) #2 %10 = getelementptr inbounds ptr, ptr %1, i64 1 %11 = load ptr, ptr %10, align 8, !tbaa !9 %12 = tail call i32 @lua_pushstring(ptr noundef %3, ptr noundef %11) #2 %13 = tail call i32 @lua_rawseti(ptr noundef %3, i32 noundef -2, i32 noundef 0) #2 %14 = tail call i32 @lua_setglobal(ptr noundef %3, ptr noundef nonnull @.str.1) #2 %15 = load ptr, ptr %10, align 8, !tbaa !9 %16 = tail call i64 @luaL_loadfile(ptr noundef %3, ptr noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %33 18: ; preds = %8 %19 = icmp eq i32 %0, 2 br i1 %19, label %29, label %20 20: ; preds = %18 %21 = zext nneg i32 %0 to i64 br label %22 22: ; preds = %20, %22 %23 = phi i64 [ 2, %20 ], [ %27, %22 ] %24 = getelementptr inbounds ptr, ptr %1, i64 %23 %25 = load ptr, ptr %24, align 8, !tbaa !9 %26 = tail call i32 @lua_pushstring(ptr noundef %3, ptr noundef %25) #2 %27 = add nuw nsw i64 %23, 1 %28 = icmp eq i64 %27, %21 br i1 %28, label %29, label %22, !llvm.loop !11 29: ; preds = %22, %18 %30 = add nsw i32 %0, -2 %31 = tail call i64 @lua_pcall(ptr noundef %3, i32 noundef %30, i32 noundef 0, i32 noundef 0) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %29, %8 %34 = load i32, ptr @stderr, align 4, !tbaa !5 %35 = tail call ptr @lua_tostring(ptr noundef %3, i32 noundef -1) #2 %36 = tail call i32 @fprintf(i32 noundef %34, ptr noundef nonnull @.str.2, ptr noundef %35) #2 br label %39 37: ; preds = %29 %38 = tail call i32 @lua_close(ptr noundef %3) #2 br label %39 39: ; preds = %2, %37, %33 %40 = phi i32 [ 1, %33 ], [ 0, %37 ], [ 8, %2 ] ret i32 %40 } declare ptr @luaL_newstate(...) local_unnamed_addr #1 declare i32 @luaL_openlibs(ptr noundef) local_unnamed_addr #1 declare i32 @luaL_register(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_rawseti(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_setglobal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @luaL_loadfile(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @lua_pcall(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_close(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_main.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"bit\00", align 1 @bitlib = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"arg\00", align 1 @stderr = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 9) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = tail call ptr @luaL_newstate() #2 %4 = tail call i32 @luaL_openlibs(ptr noundef %3) #2 %5 = load i32, ptr @bitlib, align 4, !tbaa !6 %6 = tail call i32 @luaL_register(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %5) #2 %7 = icmp slt i32 %0, 2 br i1 %7, label %39, label %8 8: ; preds = %2 %9 = tail call i32 @lua_createtable(ptr noundef %3, i32 noundef 0, i32 noundef 1) #2 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = tail call i32 @lua_pushstring(ptr noundef %3, ptr noundef %11) #2 %13 = tail call i32 @lua_rawseti(ptr noundef %3, i32 noundef -2, i32 noundef 0) #2 %14 = tail call i32 @lua_setglobal(ptr noundef %3, ptr noundef nonnull @.str.1) #2 %15 = load ptr, ptr %10, align 8, !tbaa !10 %16 = tail call i64 @luaL_loadfile(ptr noundef %3, ptr noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %33 18: ; preds = %8 %19 = icmp eq i32 %0, 2 br i1 %19, label %29, label %20 20: ; preds = %18 %21 = zext nneg i32 %0 to i64 br label %22 22: ; preds = %20, %22 %23 = phi i64 [ 2, %20 ], [ %27, %22 ] %24 = getelementptr inbounds ptr, ptr %1, i64 %23 %25 = load ptr, ptr %24, align 8, !tbaa !10 %26 = tail call i32 @lua_pushstring(ptr noundef %3, ptr noundef %25) #2 %27 = add nuw nsw i64 %23, 1 %28 = icmp eq i64 %27, %21 br i1 %28, label %29, label %22, !llvm.loop !12 29: ; preds = %22, %18 %30 = add nsw i32 %0, -2 %31 = tail call i64 @lua_pcall(ptr noundef %3, i32 noundef %30, i32 noundef 0, i32 noundef 0) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %29, %8 %34 = load i32, ptr @stderr, align 4, !tbaa !6 %35 = tail call ptr @lua_tostring(ptr noundef %3, i32 noundef -1) #2 %36 = tail call i32 @fprintf(i32 noundef %34, ptr noundef nonnull @.str.2, ptr noundef %35) #2 br label %39 37: ; preds = %29 %38 = tail call i32 @lua_close(ptr noundef %3) #2 br label %39 39: ; preds = %2, %37, %33 %40 = phi i32 [ 1, %33 ], [ 0, %37 ], [ 8, %2 ] ret i32 %40 } declare ptr @luaL_newstate(...) local_unnamed_addr #1 declare i32 @luaL_openlibs(ptr noundef) local_unnamed_addr #1 declare i32 @luaL_register(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_rawseti(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_setglobal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @luaL_loadfile(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @lua_pcall(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_close(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_main
; ModuleID = 'AnghaBench/freebsd/sys/amd64/vmm/extr_vmm.c_vm_atpit.c' source_filename = "AnghaBench/freebsd/sys/amd64/vmm/extr_vmm.c_vm_atpit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @vm_atpit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vm", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/amd64/vmm/extr_vmm.c_vm_atpit.c' source_filename = "AnghaBench/freebsd/sys/amd64/vmm/extr_vmm.c_vm_atpit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define ptr @vm_atpit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vm", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_amd64_vmm_extr_vmm.c_vm_atpit
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_motion_est.c_minima_cmp.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_motion_est.c_minima_cmp.c" target datalayout = "e-m:e-p270:32:32-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 @minima_cmp], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @minima_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = sub nsw i32 %3, %4 ret i32 %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_motion_est.c_minima_cmp.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_motion_est.c_minima_cmp.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 @minima_cmp], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @minima_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = sub nsw i32 %3, %4 ret i32 %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
FFmpeg_libavcodec_extr_motion_est.c_minima_cmp
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/sparc/extr_sparc.c_sparc_output_addr_diff_vec.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/sparc/extr_sparc.c_sparc_output_addr_diff_vec.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_3__ } %struct.TYPE_3__ = type { ptr } @targetm = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @asm_out_file = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"L\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sparc_output_addr_diff_vec], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sparc_output_addr_diff_vec(i32 noundef %0) #0 { %2 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #2 %3 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 1) #2 %4 = tail call i32 @XEXP(i32 noundef %3, i32 noundef 0) #2 %5 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %6 = tail call i32 @XVECLEN(i32 noundef %3, i32 noundef 1) #2 %7 = load ptr, ptr @targetm, align 8, !tbaa !5 %8 = load i32, ptr @asm_out_file, align 4, !tbaa !11 %9 = tail call i32 @CODE_LABEL_NUMBER(i32 noundef %2) #2 %10 = tail call i32 %7(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9) #2 %11 = icmp sgt i32 %6, 0 br i1 %11, label %12, label %22 12: ; preds = %1, %12 %13 = phi i32 [ %20, %12 ], [ 0, %1 ] %14 = load i32, ptr @asm_out_file, align 4, !tbaa !11 %15 = tail call i32 @XVECEXP(i32 noundef %3, i32 noundef 1, i32 noundef %13) #2 %16 = tail call i32 @XEXP(i32 noundef %15, i32 noundef 0) #2 %17 = tail call i32 @CODE_LABEL_NUMBER(i32 noundef %16) #2 %18 = tail call i32 @CODE_LABEL_NUMBER(i32 noundef %5) #2 %19 = tail call i32 @ASM_OUTPUT_ADDR_DIFF_ELT(i32 noundef %14, i32 noundef %3, i32 noundef %17, i32 noundef %18) #2 %20 = add nuw nsw i32 %13, 1 %21 = icmp eq i32 %20, %6 br i1 %21, label %22, label %12, !llvm.loop !13 22: ; preds = %12, %1 ret void } declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @XVECLEN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CODE_LABEL_NUMBER(i32 noundef) local_unnamed_addr #1 declare i32 @ASM_OUTPUT_ADDR_DIFF_ELT(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @XVECEXP(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/sparc/extr_sparc.c_sparc_output_addr_diff_vec.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/sparc/extr_sparc.c_sparc_output_addr_diff_vec.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { ptr } @targetm = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @asm_out_file = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"L\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @sparc_output_addr_diff_vec], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sparc_output_addr_diff_vec(i32 noundef %0) #0 { %2 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #2 %3 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 1) #2 %4 = tail call i32 @XEXP(i32 noundef %3, i32 noundef 0) #2 %5 = tail call i32 @XEXP(i32 noundef %4, i32 noundef 0) #2 %6 = tail call i32 @XVECLEN(i32 noundef %3, i32 noundef 1) #2 %7 = load ptr, ptr @targetm, align 8, !tbaa !6 %8 = load i32, ptr @asm_out_file, align 4, !tbaa !12 %9 = tail call i32 @CODE_LABEL_NUMBER(i32 noundef %2) #2 %10 = tail call i32 %7(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9) #2 %11 = icmp sgt i32 %6, 0 br i1 %11, label %12, label %22 12: ; preds = %1, %12 %13 = phi i32 [ %20, %12 ], [ 0, %1 ] %14 = load i32, ptr @asm_out_file, align 4, !tbaa !12 %15 = tail call i32 @XVECEXP(i32 noundef %3, i32 noundef 1, i32 noundef %13) #2 %16 = tail call i32 @XEXP(i32 noundef %15, i32 noundef 0) #2 %17 = tail call i32 @CODE_LABEL_NUMBER(i32 noundef %16) #2 %18 = tail call i32 @CODE_LABEL_NUMBER(i32 noundef %5) #2 %19 = tail call i32 @ASM_OUTPUT_ADDR_DIFF_ELT(i32 noundef %14, i32 noundef %3, i32 noundef %17, i32 noundef %18) #2 %20 = add nuw nsw i32 %13, 1 %21 = icmp eq i32 %20, %6 br i1 %21, label %22, label %12, !llvm.loop !14 22: ; preds = %12, %1 ret void } declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @XVECLEN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CODE_LABEL_NUMBER(i32 noundef) local_unnamed_addr #1 declare i32 @ASM_OUTPUT_ADDR_DIFF_ELT(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @XVECEXP(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !10, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gcc_config_sparc_extr_sparc.c_sparc_output_addr_diff_vec
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_tdm_tx_desc_dca_en_set.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_tdm_tx_desc_dca_en_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HW_ATL_TDM_DCADDESC_EN_MSK = dso_local local_unnamed_addr global i32 0, align 4 @HW_ATL_TDM_DCADDESC_EN_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @hw_atl_tdm_tx_desc_dca_en_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @HW_ATL_TDM_DCADDESC_EN_ADR(i32 noundef %2) #2 %5 = load i32, ptr @HW_ATL_TDM_DCADDESC_EN_MSK, align 4, !tbaa !5 %6 = load i32, ptr @HW_ATL_TDM_DCADDESC_EN_SHIFT, align 4, !tbaa !5 %7 = tail call i32 @aq_hw_write_reg_bit(ptr noundef %0, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %1) #2 ret void } declare i32 @aq_hw_write_reg_bit(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @HW_ATL_TDM_DCADDESC_EN_ADR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_tdm_tx_desc_dca_en_set.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_hw_atl_llh.c_hw_atl_tdm_tx_desc_dca_en_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HW_ATL_TDM_DCADDESC_EN_MSK = common local_unnamed_addr global i32 0, align 4 @HW_ATL_TDM_DCADDESC_EN_SHIFT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @hw_atl_tdm_tx_desc_dca_en_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @HW_ATL_TDM_DCADDESC_EN_ADR(i32 noundef %2) #2 %5 = load i32, ptr @HW_ATL_TDM_DCADDESC_EN_MSK, align 4, !tbaa !6 %6 = load i32, ptr @HW_ATL_TDM_DCADDESC_EN_SHIFT, align 4, !tbaa !6 %7 = tail call i32 @aq_hw_write_reg_bit(ptr noundef %0, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %1) #2 ret void } declare i32 @aq_hw_write_reg_bit(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @HW_ATL_TDM_DCADDESC_EN_ADR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_aquantia_atlantic_hw_atl_extr_hw_atl_llh.c_hw_atl_tdm_tx_desc_dca_en_set
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-op-run.c_pdf_show_image_imp.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-op-run.c_pdf_show_image_imp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { i32, i32, ptr } %struct.TYPE_14__ = type { %struct.TYPE_12__, i32 } %struct.TYPE_12__ = type { i64, i64, i32, i32, i64, i64, i32, i32 } @PDF_MAT_COLOR = dso_local local_unnamed_addr global i64 0, align 8 @PDF_MAT_PATTERN = dso_local local_unnamed_addr global i64 0, align 8 @PDF_FILL = dso_local local_unnamed_addr global i32 0, align 4 @PDF_MAT_SHADE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @pdf_show_image_imp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pdf_show_image_imp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr %1, align 8, !tbaa !11 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds %struct.TYPE_14__, ptr %7, i64 %9 %11 = load i64, ptr %2, align 8, !tbaa !12 %12 = icmp eq i64 %11, 0 br i1 %12, label %21, label %13 13: ; preds = %5 %14 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 3 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 2 %19 = load i32, ptr %18, align 8, !tbaa !19 %20 = tail call i32 @fz_fill_image(ptr noundef %0, i32 noundef %15, ptr noundef nonnull %2, i32 noundef %3, i32 noundef %17, i32 noundef %19) #2 br label %80 21: ; preds = %5 %22 = load i64, ptr %10, align 8, !tbaa !20 %23 = load i64, ptr @PDF_MAT_COLOR, align 8, !tbaa !21 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %37 25: ; preds = %21 %26 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %27 = load i32, ptr %26, align 4, !tbaa !15 %28 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 7 %29 = load i32, ptr %28, align 4, !tbaa !22 %30 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 6 %31 = load i32, ptr %30, align 8, !tbaa !23 %32 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 3 %33 = load i32, ptr %32, align 4, !tbaa !16 %34 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 2 %35 = load i32, ptr %34, align 8, !tbaa !19 %36 = tail call i32 @fz_fill_image_mask(ptr noundef %0, i32 noundef %27, ptr noundef nonnull %2, i32 noundef %3, i32 noundef %29, i32 noundef %31, i32 noundef %33, i32 noundef %35) #2 br label %80 37: ; preds = %21 %38 = load i64, ptr @PDF_MAT_PATTERN, align 8, !tbaa !21 %39 = icmp eq i64 %22, %38 br i1 %39, label %40, label %55 40: ; preds = %37 %41 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 5 %42 = load i64, ptr %41, align 8, !tbaa !24 %43 = icmp eq i64 %42, 0 br i1 %43, label %55, label %44 44: ; preds = %40 %45 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %46 = load i32, ptr %45, align 4, !tbaa !15 %47 = tail call i32 @fz_clip_image_mask(ptr noundef %0, i32 noundef %46, ptr noundef nonnull %2, i32 noundef %3, i32 noundef %4) #2 %48 = load i64, ptr %41, align 8, !tbaa !24 %49 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 1 %50 = load i64, ptr %49, align 8, !tbaa !25 %51 = load i32, ptr @PDF_FILL, align 4, !tbaa !26 %52 = tail call ptr @pdf_show_pattern(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %48, i64 noundef %50, i32 noundef %4, i32 noundef %51) #2 %53 = load i32, ptr %45, align 4, !tbaa !15 %54 = tail call i32 @fz_pop_clip(ptr noundef %0, i32 noundef %53) #2 br label %80 55: ; preds = %40, %37 %56 = load i64, ptr @PDF_MAT_SHADE, align 8, !tbaa !21 %57 = icmp eq i64 %22, %56 br i1 %57, label %58, label %80 58: ; preds = %55 %59 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 4 %60 = load i64, ptr %59, align 8, !tbaa !27 %61 = icmp eq i64 %60, 0 br i1 %61, label %80, label %62 62: ; preds = %58 %63 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %64 = load i32, ptr %63, align 4, !tbaa !15 %65 = tail call i32 @fz_clip_image_mask(ptr noundef %0, i32 noundef %64, ptr noundef nonnull %2, i32 noundef %3, i32 noundef %4) #2 %66 = load i32, ptr %63, align 4, !tbaa !15 %67 = load i64, ptr %59, align 8, !tbaa !27 %68 = load ptr, ptr %6, align 8, !tbaa !5 %69 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 1 %70 = load i64, ptr %69, align 8, !tbaa !25 %71 = getelementptr inbounds %struct.TYPE_14__, ptr %68, i64 %70, i32 1 %72 = load i32, ptr %71, align 8, !tbaa !28 %73 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 3 %74 = load i32, ptr %73, align 4, !tbaa !16 %75 = getelementptr inbounds %struct.TYPE_12__, ptr %10, i64 0, i32 2 %76 = load i32, ptr %75, align 8, !tbaa !19 %77 = tail call i32 @fz_fill_shade(ptr noundef %0, i32 noundef %66, i64 noundef %67, i32 noundef %72, i32 noundef %74, i32 noundef %76) #2 %78 = load i32, ptr %63, align 4, !tbaa !15 %79 = tail call i32 @fz_pop_clip(ptr noundef %0, i32 noundef %78) #2 br label %80 80: ; preds = %25, %55, %58, %62, %44, %13 ret void } declare i32 @fz_fill_image(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_fill_image_mask(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_clip_image_mask(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pdf_show_pattern(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_pop_clip(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_fill_shade(ptr noundef, i32 noundef, i64 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, !10, i64 8} !6 = !{!"TYPE_13__", !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 = !{!6, !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_15__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!6, !7, i64 4} !16 = !{!17, !7, i64 20} !17 = !{!"TYPE_14__", !18, i64 0, !7, i64 48} !18 = !{!"TYPE_12__", !14, i64 0, !14, i64 8, !7, i64 16, !7, i64 20, !14, i64 24, !14, i64 32, !7, i64 40, !7, i64 44} !19 = !{!17, !7, i64 16} !20 = !{!17, !14, i64 0} !21 = !{!14, !14, i64 0} !22 = !{!17, !7, i64 44} !23 = !{!17, !7, i64 40} !24 = !{!17, !14, i64 32} !25 = !{!17, !14, i64 8} !26 = !{!7, !7, i64 0} !27 = !{!17, !14, i64 24} !28 = !{!17, !7, i64 48}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-op-run.c_pdf_show_image_imp.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-op-run.c_pdf_show_image_imp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_14__ = type { %struct.TYPE_12__, i32 } %struct.TYPE_12__ = type { i64, i64, i32, i32, i64, i64, i32, i32 } @PDF_MAT_COLOR = common local_unnamed_addr global i64 0, align 8 @PDF_MAT_PATTERN = common local_unnamed_addr global i64 0, align 8 @PDF_FILL = common local_unnamed_addr global i32 0, align 4 @PDF_MAT_SHADE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @pdf_show_image_imp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pdf_show_image_imp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #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 !12 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds %struct.TYPE_14__, ptr %7, i64 %9 %11 = load i64, ptr %2, align 8, !tbaa !13 %12 = icmp eq i64 %11, 0 br i1 %12, label %21, label %13 13: ; preds = %5 %14 = getelementptr inbounds i8, ptr %1, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = getelementptr inbounds i8, ptr %10, i64 20 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = getelementptr inbounds i8, ptr %10, i64 16 %19 = load i32, ptr %18, align 8, !tbaa !20 %20 = tail call i32 @fz_fill_image(ptr noundef %0, i32 noundef %15, ptr noundef nonnull %2, i32 noundef %3, i32 noundef %17, i32 noundef %19) #2 br label %80 21: ; preds = %5 %22 = load i64, ptr %10, align 8, !tbaa !21 %23 = load i64, ptr @PDF_MAT_COLOR, align 8, !tbaa !22 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %37 25: ; preds = %21 %26 = getelementptr inbounds i8, ptr %1, i64 4 %27 = load i32, ptr %26, align 4, !tbaa !16 %28 = getelementptr inbounds i8, ptr %10, i64 44 %29 = load i32, ptr %28, align 4, !tbaa !23 %30 = getelementptr inbounds i8, ptr %10, i64 40 %31 = load i32, ptr %30, align 8, !tbaa !24 %32 = getelementptr inbounds i8, ptr %10, i64 20 %33 = load i32, ptr %32, align 4, !tbaa !17 %34 = getelementptr inbounds i8, ptr %10, i64 16 %35 = load i32, ptr %34, align 8, !tbaa !20 %36 = tail call i32 @fz_fill_image_mask(ptr noundef %0, i32 noundef %27, ptr noundef nonnull %2, i32 noundef %3, i32 noundef %29, i32 noundef %31, i32 noundef %33, i32 noundef %35) #2 br label %80 37: ; preds = %21 %38 = load i64, ptr @PDF_MAT_PATTERN, align 8, !tbaa !22 %39 = icmp eq i64 %22, %38 br i1 %39, label %40, label %55 40: ; preds = %37 %41 = getelementptr inbounds i8, ptr %10, i64 32 %42 = load i64, ptr %41, align 8, !tbaa !25 %43 = icmp eq i64 %42, 0 br i1 %43, label %55, label %44 44: ; preds = %40 %45 = getelementptr inbounds i8, ptr %1, i64 4 %46 = load i32, ptr %45, align 4, !tbaa !16 %47 = tail call i32 @fz_clip_image_mask(ptr noundef %0, i32 noundef %46, ptr noundef nonnull %2, i32 noundef %3, i32 noundef %4) #2 %48 = load i64, ptr %41, align 8, !tbaa !25 %49 = getelementptr inbounds i8, ptr %10, i64 8 %50 = load i64, ptr %49, align 8, !tbaa !26 %51 = load i32, ptr @PDF_FILL, align 4, !tbaa !27 %52 = tail call ptr @pdf_show_pattern(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %48, i64 noundef %50, i32 noundef %4, i32 noundef %51) #2 %53 = load i32, ptr %45, align 4, !tbaa !16 %54 = tail call i32 @fz_pop_clip(ptr noundef %0, i32 noundef %53) #2 br label %80 55: ; preds = %40, %37 %56 = load i64, ptr @PDF_MAT_SHADE, align 8, !tbaa !22 %57 = icmp eq i64 %22, %56 br i1 %57, label %58, label %80 58: ; preds = %55 %59 = getelementptr inbounds i8, ptr %10, i64 24 %60 = load i64, ptr %59, align 8, !tbaa !28 %61 = icmp eq i64 %60, 0 br i1 %61, label %80, label %62 62: ; preds = %58 %63 = getelementptr inbounds i8, ptr %1, i64 4 %64 = load i32, ptr %63, align 4, !tbaa !16 %65 = tail call i32 @fz_clip_image_mask(ptr noundef %0, i32 noundef %64, ptr noundef nonnull %2, i32 noundef %3, i32 noundef %4) #2 %66 = load i32, ptr %63, align 4, !tbaa !16 %67 = load i64, ptr %59, align 8, !tbaa !28 %68 = load ptr, ptr %6, align 8, !tbaa !6 %69 = getelementptr inbounds i8, ptr %10, i64 8 %70 = load i64, ptr %69, align 8, !tbaa !26 %71 = getelementptr inbounds %struct.TYPE_14__, ptr %68, i64 %70, i32 1 %72 = load i32, ptr %71, align 8, !tbaa !29 %73 = getelementptr inbounds i8, ptr %10, i64 20 %74 = load i32, ptr %73, align 4, !tbaa !17 %75 = getelementptr inbounds i8, ptr %10, i64 16 %76 = load i32, ptr %75, align 8, !tbaa !20 %77 = tail call i32 @fz_fill_shade(ptr noundef %0, i32 noundef %66, i64 noundef %67, i32 noundef %72, i32 noundef %74, i32 noundef %76) #2 %78 = load i32, ptr %63, align 4, !tbaa !16 %79 = tail call i32 @fz_pop_clip(ptr noundef %0, i32 noundef %78) #2 br label %80 80: ; preds = %25, %55, %58, %62, %44, %13 ret void } declare i32 @fz_fill_image(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_fill_image_mask(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_clip_image_mask(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pdf_show_pattern(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_pop_clip(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_fill_shade(ptr noundef, i32 noundef, i64 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, !11, i64 8} !7 = !{!"TYPE_13__", !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 = !{!7, !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_15__", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!7, !8, i64 4} !17 = !{!18, !8, i64 20} !18 = !{!"TYPE_14__", !19, i64 0, !8, i64 48} !19 = !{!"TYPE_12__", !15, i64 0, !15, i64 8, !8, i64 16, !8, i64 20, !15, i64 24, !15, i64 32, !8, i64 40, !8, i64 44} !20 = !{!18, !8, i64 16} !21 = !{!18, !15, i64 0} !22 = !{!15, !15, i64 0} !23 = !{!18, !8, i64 44} !24 = !{!18, !8, i64 40} !25 = !{!18, !15, i64 32} !26 = !{!18, !15, i64 8} !27 = !{!8, !8, i64 0} !28 = !{!18, !15, i64 24} !29 = !{!18, !8, i64 48}
sumatrapdf_mupdf_source_pdf_extr_pdf-op-run.c_pdf_show_image_imp
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_connection_established.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_connection_established.c" target datalayout = "e-m:e-p270:32:32-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 @tls_connection_established(ptr nocapture noundef readnone %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %7, label %4 4: ; preds = %2 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = tail call i32 @wolfSSL_is_init_finished(i32 noundef %5) #2 br label %7 7: ; preds = %2, %4 %8 = phi i32 [ %6, %4 ], [ 0, %2 ] ret i32 %8 } declare i32 @wolfSSL_is_init_finished(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 = !{!"tls_connection", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_connection_established.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_connection_established.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 @tls_connection_established(ptr nocapture noundef readnone %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %7, label %4 4: ; preds = %2 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = tail call i32 @wolfSSL_is_init_finished(i32 noundef %5) #2 br label %7 7: ; preds = %2, %4 %8 = phi i32 [ %6, %4 ], [ 0, %2 ] ret i32 %8 } declare i32 @wolfSSL_is_init_finished(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 = !{!"tls_connection", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_wpa_src_crypto_extr_tls_wolfssl.c_tls_connection_established
; ModuleID = 'AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/unistd/extr_chdir.c_chdir.c' source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/unistd/extr_chdir.c_chdir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SYS_chdir = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @chdir(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @SYS_chdir, align 4, !tbaa !5 %3 = ptrtoint ptr %0 to i64 %4 = trunc i64 %3 to i32 %5 = tail call i32 @syscall1(i32 noundef %2, i32 noundef %4) #2 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = sub nsw i32 0, %5 store i32 %8, ptr @errno, align 4, !tbaa !5 br label %9 9: ; preds = %1, %7 %10 = phi i32 [ -1, %7 ], [ 0, %1 ] ret i32 %10 } declare i32 @syscall1(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/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/unistd/extr_chdir.c_chdir.c' source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/unistd/extr_chdir.c_chdir.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SYS_chdir = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @chdir(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @SYS_chdir, align 4, !tbaa !6 %3 = ptrtoint ptr %0 to i64 %4 = trunc i64 %3 to i32 %5 = tail call i32 @syscall1(i32 noundef %2, i32 noundef %4) #2 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = sub nsw i32 0, %5 store i32 %8, ptr @errno, align 4, !tbaa !6 br label %9 9: ; preds = %1, %7 %10 = phi i32 [ -1, %7 ], [ 0, %1 ] ret i32 %10 } declare i32 @syscall1(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"}
How-to-Make-a-Computer-Operating-System_src_sdk_src_libc_src_unistd_extr_chdir.c_chdir
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xorb_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xorb_Slot_inst_encode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @Opcode_xorb_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @Opcode_xorb_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 4325376, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xorb_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xorb_Slot_inst_encode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @Opcode_xorb_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @Opcode_xorb_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 4325376, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Opcode_xorb_Slot_inst_encode
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/libudis86/extr_decode.c_decode_gpr.c' source_filename = "AnghaBench/php-src/ext/opcache/jit/libudis86/extr_decode.c_decode_gpr.c" target datalayout = "e-m:e-p270:32:32-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.ud = type { i32, i32, i32 } @UD_R_RAX = dso_local local_unnamed_addr global i32 0, align 4 @UD_R_EAX = dso_local local_unnamed_addr global i32 0, align 4 @UD_R_AX = dso_local local_unnamed_addr global i32 0, align 4 @UD_R_SPL = dso_local local_unnamed_addr global i32 0, align 4 @UD_R_AL = dso_local local_unnamed_addr global i32 0, align 4 @UD_NONE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @decode_gpr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @decode_gpr(ptr nocapture noundef readonly %0, i32 noundef %1, i8 noundef zeroext %2) #0 { %4 = tail call i32 @llvm.fshl.i32(i32 %1, i32 %1, i32 29) switch i32 %4, label %43 [ i32 8, label %5 i32 4, label %9 i32 2, label %13 i32 1, label %17 i32 0, label %38 ] 5: ; preds = %3 %6 = load i32, ptr @UD_R_RAX, align 4, !tbaa !5 %7 = zext i8 %2 to i32 %8 = add nsw i32 %6, %7 br label %46 9: ; preds = %3 %10 = load i32, ptr @UD_R_EAX, align 4, !tbaa !5 %11 = zext i8 %2 to i32 %12 = add nsw i32 %10, %11 br label %46 13: ; preds = %3 %14 = load i32, ptr @UD_R_AX, align 4, !tbaa !5 %15 = zext i8 %2 to i32 %16 = add nsw i32 %14, %15 br label %46 17: ; preds = %3 %18 = load i32, ptr %0, align 4, !tbaa !9 %19 = icmp eq i32 %18, 64 br i1 %19, label %20, label %34 20: ; preds = %17 %21 = getelementptr inbounds %struct.ud, ptr %0, i64 0, i32 2 %22 = load i32, ptr %21, align 4, !tbaa !11 %23 = icmp eq i32 %22, 0 br i1 %23, label %34, label %24 24: ; preds = %20 %25 = zext i8 %2 to i32 %26 = icmp ugt i8 %2, 3 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = load i32, ptr @UD_R_SPL, align 4, !tbaa !5 %29 = add nsw i32 %25, -4 %30 = add nsw i32 %29, %28 br label %46 31: ; preds = %24 %32 = load i32, ptr @UD_R_AL, align 4, !tbaa !5 %33 = add nsw i32 %32, %25 br label %46 34: ; preds = %20, %17 %35 = load i32, ptr @UD_R_AL, align 4, !tbaa !5 %36 = zext i8 %2 to i32 %37 = add nsw i32 %35, %36 br label %46 38: ; preds = %3 %39 = getelementptr inbounds %struct.ud, ptr %0, i64 0, i32 1 %40 = load i32, ptr %39, align 4, !tbaa !12 %41 = tail call i32 @UD_ASSERT(i32 noundef %40) #3 %42 = load i32, ptr @UD_NONE, align 4, !tbaa !5 br label %46 43: ; preds = %3 %44 = tail call i32 @UD_ASSERT(i32 noundef 0) #3 %45 = load i32, ptr @UD_NONE, align 4, !tbaa !5 br label %46 46: ; preds = %43, %38, %34, %31, %27, %13, %9, %5 %47 = phi i32 [ %45, %43 ], [ %42, %38 ], [ %30, %27 ], [ %33, %31 ], [ %37, %34 ], [ %16, %13 ], [ %12, %9 ], [ %8, %5 ] ret i32 %47 } declare i32 @UD_ASSERT(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.fshl.i32(i32, i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ud", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 8} !12 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/libudis86/extr_decode.c_decode_gpr.c' source_filename = "AnghaBench/php-src/ext/opcache/jit/libudis86/extr_decode.c_decode_gpr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UD_R_RAX = common local_unnamed_addr global i32 0, align 4 @UD_R_EAX = common local_unnamed_addr global i32 0, align 4 @UD_R_AX = common local_unnamed_addr global i32 0, align 4 @UD_R_SPL = common local_unnamed_addr global i32 0, align 4 @UD_R_AL = common local_unnamed_addr global i32 0, align 4 @UD_NONE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @decode_gpr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @decode_gpr(ptr nocapture noundef readonly %0, i32 noundef %1, i8 noundef zeroext %2) #0 { %4 = tail call i32 @llvm.fshl.i32(i32 %1, i32 %1, i32 29) switch i32 %4, label %43 [ i32 8, label %5 i32 4, label %9 i32 2, label %13 i32 1, label %17 i32 0, label %38 ] 5: ; preds = %3 %6 = load i32, ptr @UD_R_RAX, align 4, !tbaa !6 %7 = zext i8 %2 to i32 %8 = add nsw i32 %6, %7 br label %46 9: ; preds = %3 %10 = load i32, ptr @UD_R_EAX, align 4, !tbaa !6 %11 = zext i8 %2 to i32 %12 = add nsw i32 %10, %11 br label %46 13: ; preds = %3 %14 = load i32, ptr @UD_R_AX, align 4, !tbaa !6 %15 = zext i8 %2 to i32 %16 = add nsw i32 %14, %15 br label %46 17: ; preds = %3 %18 = load i32, ptr %0, align 4, !tbaa !10 %19 = icmp eq i32 %18, 64 br i1 %19, label %20, label %34 20: ; preds = %17 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load i32, ptr %21, align 4, !tbaa !12 %23 = icmp eq i32 %22, 0 br i1 %23, label %34, label %24 24: ; preds = %20 %25 = zext i8 %2 to i32 %26 = icmp ugt i8 %2, 3 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = load i32, ptr @UD_R_SPL, align 4, !tbaa !6 %29 = add nsw i32 %25, -4 %30 = add nsw i32 %29, %28 br label %46 31: ; preds = %24 %32 = load i32, ptr @UD_R_AL, align 4, !tbaa !6 %33 = add nsw i32 %32, %25 br label %46 34: ; preds = %20, %17 %35 = load i32, ptr @UD_R_AL, align 4, !tbaa !6 %36 = zext i8 %2 to i32 %37 = add nsw i32 %35, %36 br label %46 38: ; preds = %3 %39 = getelementptr inbounds i8, ptr %0, i64 4 %40 = load i32, ptr %39, align 4, !tbaa !13 %41 = tail call i32 @UD_ASSERT(i32 noundef %40) #3 %42 = load i32, ptr @UD_NONE, align 4, !tbaa !6 br label %46 43: ; preds = %3 %44 = tail call i32 @UD_ASSERT(i32 noundef 0) #3 %45 = load i32, ptr @UD_NONE, align 4, !tbaa !6 br label %46 46: ; preds = %43, %38, %34, %31, %27, %13, %9, %5 %47 = phi i32 [ %45, %43 ], [ %42, %38 ], [ %30, %27 ], [ %33, %31 ], [ %37, %34 ], [ %16, %13 ], [ %12, %9 ], [ %8, %5 ] ret i32 %47 } declare i32 @UD_ASSERT(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.fshl.i32(i32, i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ud", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 8} !13 = !{!11, !7, i64 4}
php-src_ext_opcache_jit_libudis86_extr_decode.c_decode_gpr
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_status.c_find_kern_regs.c' source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_status.c_find_kern_regs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @find_kern_regs(i64 noundef %0) local_unnamed_addr #0 { %2 = tail call i64 (...) @current_thread() #2 %3 = icmp eq i64 %2, %0 br i1 %3, label %4, label %11 4: ; preds = %1 %5 = tail call ptr (...) @getCpuDatap() #2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %4 %9 = tail call ptr (...) @getCpuDatap() #2 %10 = load ptr, ptr %9, align 8, !tbaa !5 br label %11 11: ; preds = %1, %4, %8 %12 = phi ptr [ %10, %8 ], [ null, %4 ], [ null, %1 ] ret ptr %12 } declare i64 @current_thread(...) local_unnamed_addr #1 declare ptr @getCpuDatap(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_status.c_find_kern_regs.c' source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_status.c_find_kern_regs.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 @find_kern_regs(i64 noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @current_thread() #2 %3 = icmp eq i64 %2, %0 br i1 %3, label %4, label %11 4: ; preds = %1 %5 = tail call ptr @getCpuDatap() #2 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %4 %9 = tail call ptr @getCpuDatap() #2 %10 = load ptr, ptr %9, align 8, !tbaa !6 br label %11 11: ; preds = %1, %4, %8 %12 = phi ptr [ %10, %8 ], [ null, %4 ], [ null, %1 ] ret ptr %12 } declare i64 @current_thread(...) local_unnamed_addr #1 declare ptr @getCpuDatap(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
darwin-xnu_osfmk_arm_extr_status.c_find_kern_regs
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv50/extr_head.c_nv50_head_reset.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv50/extr_head.c_nv50_head_reset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nv50_head_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nv50_head_reset(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %3 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %2) #2 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i64 @WARN_ON(i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %1 %9 = load i64, ptr %0, align 8, !tbaa !9 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 @nv50_head_atomic_destroy_state(ptr noundef nonnull %0, i64 noundef %9) #2 br label %13 13: ; preds = %11, %8 %14 = tail call i32 @__drm_atomic_helper_crtc_reset(ptr noundef nonnull %0, ptr noundef %3) #2 br label %15 15: ; preds = %1, %13 ret void } declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv50_head_atomic_destroy_state(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__drm_atomic_helper_crtc_reset(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"drm_crtc", !11, i64 0} !11 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv50/extr_head.c_nv50_head_reset.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv50/extr_head.c_nv50_head_reset.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 @nv50_head_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nv50_head_reset(ptr noundef %0) #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %3 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %2) #2 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i64 @WARN_ON(i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %15 8: ; preds = %1 %9 = load i64, ptr %0, align 8, !tbaa !10 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 @nv50_head_atomic_destroy_state(ptr noundef nonnull %0, i64 noundef %9) #2 br label %13 13: ; preds = %11, %8 %14 = tail call i32 @__drm_atomic_helper_crtc_reset(ptr noundef nonnull %0, ptr noundef %3) #2 br label %15 15: ; preds = %1, %13 ret void } declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv50_head_atomic_destroy_state(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__drm_atomic_helper_crtc_reset(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"drm_crtc", !12, i64 0} !12 = !{!"long", !8, i64 0}
linux_drivers_gpu_drm_nouveau_dispnv50_extr_head.c_nv50_head_reset
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_mad.c_reply_failure.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_mad.c_reply_failure.c" target datalayout = "e-m:e-p270:32:32-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.ib_smp = type { i64, i32, i32 } @IB_MGMT_METHOD_GET_RESP = dso_local local_unnamed_addr global i32 0, align 4 @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE = dso_local local_unnamed_addr global i64 0, align 8 @IB_SMP_DIRECTION = dso_local local_unnamed_addr global i32 0, align 4 @IB_MAD_RESULT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @IB_MAD_RESULT_REPLY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @reply_failure], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @reply_failure(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @IB_MGMT_METHOD_GET_RESP, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.ib_smp, ptr %0, i64 0, i32 2 store i32 %2, ptr %3, align 4, !tbaa !9 %4 = load i64, ptr %0, align 8, !tbaa !12 %5 = load i64, ptr @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE, align 8, !tbaa !13 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i32, ptr @IB_SMP_DIRECTION, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.ib_smp, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = or i32 %10, %8 store i32 %11, ptr %9, align 8, !tbaa !14 br label %12 12: ; preds = %7, %1 %13 = load i32, ptr @IB_MAD_RESULT_FAILURE, align 4, !tbaa !5 %14 = load i32, ptr @IB_MAD_RESULT_REPLY, align 4, !tbaa !5 %15 = or i32 %14, %13 ret i32 %15 } 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, !6, i64 12} !10 = !{!"ib_smp", !11, i64 0, !6, i64 8, !6, i64 12} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_mad.c_reply_failure.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_mad.c_reply_failure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IB_MGMT_METHOD_GET_RESP = common local_unnamed_addr global i32 0, align 4 @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE = common local_unnamed_addr global i64 0, align 8 @IB_SMP_DIRECTION = common local_unnamed_addr global i32 0, align 4 @IB_MAD_RESULT_FAILURE = common local_unnamed_addr global i32 0, align 4 @IB_MAD_RESULT_REPLY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @reply_failure], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @reply_failure(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @IB_MGMT_METHOD_GET_RESP, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %2, ptr %3, align 4, !tbaa !10 %4 = load i64, ptr %0, align 8, !tbaa !13 %5 = load i64, ptr @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE, align 8, !tbaa !14 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i32, ptr @IB_SMP_DIRECTION, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !15 %11 = or i32 %10, %8 store i32 %11, ptr %9, align 8, !tbaa !15 br label %12 12: ; preds = %7, %1 %13 = load i32, ptr @IB_MAD_RESULT_FAILURE, align 4, !tbaa !6 %14 = load i32, ptr @IB_MAD_RESULT_REPLY, align 4, !tbaa !6 %15 = or i32 %14, %13 ret i32 %15 } 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, !7, i64 12} !11 = !{!"ib_smp", !12, i64 0, !7, i64 8, !7, i64 12} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!11, !7, i64 8}
fastsocket_kernel_drivers_infiniband_hw_qib_extr_qib_mad.c_reply_failure
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_x509_vpm.c_X509_VERIFY_PARAM_add0_policy.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_x509_vpm.c_X509_VERIFY_PARAM_add0_policy.c" target datalayout = "e-m:e-p270:32:32-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 @X509_VERIFY_PARAM_add0_policy(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %2 %6 = tail call ptr (...) @sk_ASN1_OBJECT_new_null() #2 store ptr %6, ptr %0, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %5, %2 %9 = phi ptr [ %6, %5 ], [ %3, %2 ] %10 = tail call i32 @sk_ASN1_OBJECT_push(ptr noundef nonnull %9, ptr noundef %1) #2 %11 = icmp ne i32 %10, 0 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %8, %5 %14 = phi i32 [ 0, %5 ], [ %12, %8 ] ret i32 %14 } declare ptr @sk_ASN1_OBJECT_new_null(...) local_unnamed_addr #1 declare i32 @sk_ASN1_OBJECT_push(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_x509_vpm.c_X509_VERIFY_PARAM_add0_policy.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_x509_vpm.c_X509_VERIFY_PARAM_add0_policy.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 @X509_VERIFY_PARAM_add0_policy(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %2 %6 = tail call ptr @sk_ASN1_OBJECT_new_null() #2 store ptr %6, ptr %0, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %5, %2 %9 = phi ptr [ %6, %5 ], [ %3, %2 ] %10 = tail call i32 @sk_ASN1_OBJECT_push(ptr noundef nonnull %9, ptr noundef %1) #2 %11 = icmp ne i32 %10, 0 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %8, %5 %14 = phi i32 [ 0, %5 ], [ %12, %8 ] ret i32 %14 } declare ptr @sk_ASN1_OBJECT_new_null(...) local_unnamed_addr #1 declare i32 @sk_ASN1_OBJECT_push(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 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
openssl_crypto_x509_extr_x509_vpm.c_X509_VERIFY_PARAM_add0_policy
; ModuleID = 'AnghaBench/kphp-kdb/geoip/extr_geoip.c_end_parse.c' source_filename = "AnghaBench/kphp-kdb/geoip/extr_geoip.c_end_parse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @buff = dso_local local_unnamed_addr global ptr null, align 8 @parse_pos = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local noundef i32 @end_parse() local_unnamed_addr #0 { %1 = load ptr, ptr @buff, align 8, !tbaa !5 %2 = load i64, ptr @parse_pos, align 8, !tbaa !9 %3 = getelementptr inbounds i32, ptr %1, i64 %2 %4 = load i32, ptr %3, align 4, !tbaa !11 switch i32 %4, label %5 [ i32 0, label %8 i32 10, label %8 ] 5: ; preds = %0 %6 = icmp eq i32 %4, 13 %7 = zext i1 %6 to i32 br label %8 8: ; preds = %0, %0, %5 %9 = phi i32 [ 1, %0 ], [ %7, %5 ], [ 1, %0 ] ret i32 %9 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/geoip/extr_geoip.c_end_parse.c' source_filename = "AnghaBench/kphp-kdb/geoip/extr_geoip.c_end_parse.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @buff = common local_unnamed_addr global ptr null, align 8 @parse_pos = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define range(i32 0, 2) i32 @end_parse() local_unnamed_addr #0 { %1 = load ptr, ptr @buff, align 8, !tbaa !6 %2 = load i64, ptr @parse_pos, align 8, !tbaa !10 %3 = getelementptr inbounds i32, ptr %1, i64 %2 %4 = load i32, ptr %3, align 4, !tbaa !12 switch i32 %4, label %5 [ i32 0, label %8 i32 10, label %8 ] 5: ; preds = %0 %6 = icmp eq i32 %4, 13 %7 = zext i1 %6 to i32 br label %8 8: ; preds = %0, %0, %5 %9 = phi i32 [ 1, %0 ], [ %7, %5 ], [ 1, %0 ] ret i32 %9 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
kphp-kdb_geoip_extr_geoip.c_end_parse
; ModuleID = 'AnghaBench/freebsd/stand/efi/libefi/extr_time_event.c_efi_time_init.c' source_filename = "AnghaBench/freebsd/stand/efi/libefi/extr_time_event.c_efi_time_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, ptr } @BS = dso_local local_unnamed_addr global ptr null, align 8 @EVT_TIMER = dso_local local_unnamed_addr global i32 0, align 4 @EVT_NOTIFY_SIGNAL = dso_local local_unnamed_addr global i32 0, align 4 @TPL_CALLBACK = dso_local local_unnamed_addr global i32 0, align 4 @time_update = dso_local local_unnamed_addr global i32 0, align 4 @time_event = dso_local global i32 0, align 4 @TimerPeriodic = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @efi_time_init() local_unnamed_addr #0 { %1 = load ptr, ptr @BS, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !9 %4 = load i32, ptr @EVT_TIMER, align 4, !tbaa !11 %5 = load i32, ptr @EVT_NOTIFY_SIGNAL, align 4, !tbaa !11 %6 = or i32 %5, %4 %7 = load i32, ptr @TPL_CALLBACK, align 4, !tbaa !11 %8 = load i32, ptr @time_update, align 4, !tbaa !11 %9 = tail call i32 %3(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 0, ptr noundef nonnull @time_event) #1 %10 = load ptr, ptr @BS, align 8, !tbaa !5 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = load i32, ptr @time_event, align 4, !tbaa !11 %13 = load i32, ptr @TimerPeriodic, align 4, !tbaa !11 %14 = tail call i32 %11(i32 noundef %12, i32 noundef %13, i32 noundef 100000) #1 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_2__", !6, i64 0, !6, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/stand/efi/libefi/extr_time_event.c_efi_time_init.c' source_filename = "AnghaBench/freebsd/stand/efi/libefi/extr_time_event.c_efi_time_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BS = common local_unnamed_addr global ptr null, align 8 @EVT_TIMER = common local_unnamed_addr global i32 0, align 4 @EVT_NOTIFY_SIGNAL = common local_unnamed_addr global i32 0, align 4 @TPL_CALLBACK = common local_unnamed_addr global i32 0, align 4 @time_update = common local_unnamed_addr global i32 0, align 4 @time_event = common global i32 0, align 4 @TimerPeriodic = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @efi_time_init() local_unnamed_addr #0 { %1 = load ptr, ptr @BS, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %1, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load i32, ptr @EVT_TIMER, align 4, !tbaa !12 %5 = load i32, ptr @EVT_NOTIFY_SIGNAL, align 4, !tbaa !12 %6 = or i32 %5, %4 %7 = load i32, ptr @TPL_CALLBACK, align 4, !tbaa !12 %8 = load i32, ptr @time_update, align 4, !tbaa !12 %9 = tail call i32 %3(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 0, ptr noundef nonnull @time_event) #1 %10 = load ptr, ptr @BS, align 8, !tbaa !6 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = load i32, ptr @time_event, align 4, !tbaa !12 %13 = load i32, ptr @TimerPeriodic, align 4, !tbaa !12 %14 = tail call i32 %11(i32 noundef %12, i32 noundef %13, i32 noundef 100000) #1 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!11, !7, i64 0}
freebsd_stand_efi_libefi_extr_time_event.c_efi_time_init
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memory-failure.c_soft_offline_huge_page.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memory-failure.c_soft_offline_huge_page.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.page = type { i32, i32 } @pagelist = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [46 x i8] c"soft offline: %#lx hugepage already poisoned\0A\00", align 1 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @new_page = dso_local local_unnamed_addr global i32 0, align 4 @MPOL_MF_MOVE_ALL = dso_local local_unnamed_addr global i32 0, align 4 @MIGRATE_SYNC = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"soft offline: %#lx: migration failed %d, type %lx\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @num_poisoned_pages = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @soft_offline_huge_page], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @soft_offline_huge_page(ptr noundef %0, i32 %1) #0 { %3 = tail call i64 @page_to_pfn(ptr noundef %0) #2 %4 = tail call ptr @compound_head(ptr noundef %0) #2 %5 = load i32, ptr @pagelist, align 4, !tbaa !5 %6 = tail call i32 @LIST_HEAD(i32 noundef %5) #2 %7 = tail call i32 @lock_page(ptr noundef %4) #2 %8 = tail call i64 @PageHWPoison(ptr noundef %4) #2 %9 = icmp eq i64 %8, 0 %10 = tail call i32 @unlock_page(ptr noundef %4) #2 br i1 %9, label %16, label %11 11: ; preds = %2 %12 = tail call i32 @put_page(ptr noundef %4) #2 %13 = tail call i32 (ptr, i64, ...) @pr_info(ptr noundef nonnull @.str, i64 noundef %3) #2 %14 = load i32, ptr @EBUSY, align 4, !tbaa !5 %15 = sub nsw i32 0, %14 br label %37 16: ; preds = %2 %17 = getelementptr inbounds %struct.page, ptr %4, i64 0, i32 1 %18 = tail call i32 @list_add(ptr noundef nonnull %17, ptr noundef nonnull @pagelist) #2 %19 = load i32, ptr @new_page, align 4, !tbaa !5 %20 = load i32, ptr @MPOL_MF_MOVE_ALL, align 4, !tbaa !5 %21 = load i32, ptr @MIGRATE_SYNC, align 4, !tbaa !5 %22 = tail call i32 @migrate_huge_pages(ptr noundef nonnull @pagelist, i32 noundef %19, i32 noundef %20, i32 noundef 0, i32 noundef %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %31, label %24 24: ; preds = %16 %25 = load i32, ptr %0, align 4, !tbaa !9 %26 = tail call i32 (ptr, i64, ...) @pr_info(ptr noundef nonnull @.str.1, i64 noundef %3, i32 noundef %22, i32 noundef %25) #2 %27 = icmp sgt i32 %22, 0 br i1 %27, label %28, label %37 28: ; preds = %24 %29 = load i32, ptr @EIO, align 4, !tbaa !5 %30 = sub nsw i32 0, %29 br label %37 31: ; preds = %16 %32 = tail call i32 @set_page_hwpoison_huge_page(ptr noundef %4) #2 %33 = tail call i32 @dequeue_hwpoisoned_huge_page(ptr noundef %4) #2 %34 = tail call i32 @compound_trans_order(ptr noundef %4) #2 %35 = shl nuw i32 1, %34 %36 = tail call i32 @atomic_long_add(i32 noundef %35, ptr noundef nonnull @num_poisoned_pages) #2 br label %37 37: ; preds = %31, %28, %24, %11 %38 = phi i32 [ %15, %11 ], [ %30, %28 ], [ %22, %24 ], [ 0, %31 ] ret i32 %38 } declare i64 @page_to_pfn(ptr noundef) local_unnamed_addr #1 declare ptr @compound_head(ptr noundef) local_unnamed_addr #1 declare i32 @LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i32 @lock_page(ptr noundef) local_unnamed_addr #1 declare i64 @PageHWPoison(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_page(ptr noundef) local_unnamed_addr #1 declare i32 @put_page(ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @migrate_huge_pages(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_page_hwpoison_huge_page(ptr noundef) local_unnamed_addr #1 declare i32 @dequeue_hwpoisoned_huge_page(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_long_add(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @compound_trans_order(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"page", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memory-failure.c_soft_offline_huge_page.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memory-failure.c_soft_offline_huge_page.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pagelist = common global i32 0, align 4 @.str = private unnamed_addr constant [46 x i8] c"soft offline: %#lx hugepage already poisoned\0A\00", align 1 @EBUSY = common local_unnamed_addr global i32 0, align 4 @new_page = common local_unnamed_addr global i32 0, align 4 @MPOL_MF_MOVE_ALL = common local_unnamed_addr global i32 0, align 4 @MIGRATE_SYNC = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"soft offline: %#lx: migration failed %d, type %lx\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @num_poisoned_pages = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @soft_offline_huge_page], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @soft_offline_huge_page(ptr noundef %0, i32 %1) #0 { %3 = tail call i64 @page_to_pfn(ptr noundef %0) #2 %4 = tail call ptr @compound_head(ptr noundef %0) #2 %5 = load i32, ptr @pagelist, align 4, !tbaa !6 %6 = tail call i32 @LIST_HEAD(i32 noundef %5) #2 %7 = tail call i32 @lock_page(ptr noundef %4) #2 %8 = tail call i64 @PageHWPoison(ptr noundef %4) #2 %9 = icmp eq i64 %8, 0 %10 = tail call i32 @unlock_page(ptr noundef %4) #2 br i1 %9, label %16, label %11 11: ; preds = %2 %12 = tail call i32 @put_page(ptr noundef %4) #2 %13 = tail call i32 (ptr, i64, ...) @pr_info(ptr noundef nonnull @.str, i64 noundef %3) #2 %14 = load i32, ptr @EBUSY, align 4, !tbaa !6 %15 = sub nsw i32 0, %14 br label %37 16: ; preds = %2 %17 = getelementptr inbounds i8, ptr %4, i64 4 %18 = tail call i32 @list_add(ptr noundef nonnull %17, ptr noundef nonnull @pagelist) #2 %19 = load i32, ptr @new_page, align 4, !tbaa !6 %20 = load i32, ptr @MPOL_MF_MOVE_ALL, align 4, !tbaa !6 %21 = load i32, ptr @MIGRATE_SYNC, align 4, !tbaa !6 %22 = tail call i32 @migrate_huge_pages(ptr noundef nonnull @pagelist, i32 noundef %19, i32 noundef %20, i32 noundef 0, i32 noundef %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %31, label %24 24: ; preds = %16 %25 = load i32, ptr %0, align 4, !tbaa !10 %26 = tail call i32 (ptr, i64, ...) @pr_info(ptr noundef nonnull @.str.1, i64 noundef %3, i32 noundef %22, i32 noundef %25) #2 %27 = icmp sgt i32 %22, 0 br i1 %27, label %28, label %37 28: ; preds = %24 %29 = load i32, ptr @EIO, align 4, !tbaa !6 %30 = sub nsw i32 0, %29 br label %37 31: ; preds = %16 %32 = tail call i32 @set_page_hwpoison_huge_page(ptr noundef %4) #2 %33 = tail call i32 @dequeue_hwpoisoned_huge_page(ptr noundef %4) #2 %34 = tail call i32 @compound_trans_order(ptr noundef %4) #2 %35 = shl nuw i32 1, %34 %36 = tail call i32 @atomic_long_add(i32 noundef %35, ptr noundef nonnull @num_poisoned_pages) #2 br label %37 37: ; preds = %31, %28, %24, %11 %38 = phi i32 [ %15, %11 ], [ %30, %28 ], [ %22, %24 ], [ 0, %31 ] ret i32 %38 } declare i64 @page_to_pfn(ptr noundef) local_unnamed_addr #1 declare ptr @compound_head(ptr noundef) local_unnamed_addr #1 declare i32 @LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i32 @lock_page(ptr noundef) local_unnamed_addr #1 declare i64 @PageHWPoison(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_page(ptr noundef) local_unnamed_addr #1 declare i32 @put_page(ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @migrate_huge_pages(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_page_hwpoison_huge_page(ptr noundef) local_unnamed_addr #1 declare i32 @dequeue_hwpoisoned_huge_page(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_long_add(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @compound_trans_order(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"page", !7, i64 0, !7, i64 4}
fastsocket_kernel_mm_extr_memory-failure.c_soft_offline_huge_page
; ModuleID = 'AnghaBench/sqlcipher/tool/extr_lemon.c_Configlist_init.c' source_filename = "AnghaBench/sqlcipher/tool/extr_lemon.c_Configlist_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" @current = dso_local global i64 0, align 8 @currentend = dso_local local_unnamed_addr global ptr null, align 8 @basis = dso_local global i64 0, align 8 @basisend = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @Configlist_init() local_unnamed_addr #0 { store i64 0, ptr @current, align 8, !tbaa !5 store ptr @current, ptr @currentend, align 8, !tbaa !9 store i64 0, ptr @basis, align 8, !tbaa !5 store ptr @basis, ptr @basisend, align 8, !tbaa !9 %1 = tail call i32 (...) @Configtable_init() #2 ret void } declare i32 @Configtable_init(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/tool/extr_lemon.c_Configlist_init.c' source_filename = "AnghaBench/sqlcipher/tool/extr_lemon.c_Configlist_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @current = common global i64 0, align 8 @currentend = common local_unnamed_addr global ptr null, align 8 @basis = common global i64 0, align 8 @basisend = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @Configlist_init() local_unnamed_addr #0 { store i64 0, ptr @current, align 8, !tbaa !6 store ptr @current, ptr @currentend, align 8, !tbaa !10 store i64 0, ptr @basis, align 8, !tbaa !6 store ptr @basis, ptr @basisend, align 8, !tbaa !10 %1 = tail call i32 @Configtable_init() #2 ret void } declare i32 @Configtable_init(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
sqlcipher_tool_extr_lemon.c_Configlist_init
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_upgt.c_upgt_eeprom_parse_freq4.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_upgt.c_upgt_eeprom_parse_freq4.c" target datalayout = "e-m:e-p270:32:32-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.upgt_eeprom_freq4_header = type { i32, i32, i32 } %struct.upgt_softc = type { i32, ptr } %struct.upgt_eeprom_freq4_1 = type { i32, i64 } %struct.TYPE_2__ = type { i64, %struct.upgt_eeprom_freq4_2 } %struct.upgt_eeprom_freq4_2 = type { i32 } @UPGT_DEBUG_FW = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"flags=0x%02x elements=%d settings=%d\0A\00", align 1 @UPGT_EEPROM_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_CHAN_MAX = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"frequence=%d, channel=%d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @upgt_eeprom_parse_freq4(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.upgt_eeprom_freq4_header, ptr %1, i64 1 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.upgt_eeprom_freq4_header, ptr %1, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = getelementptr inbounds %struct.upgt_eeprom_freq4_header, ptr %1, i64 0, i32 2 %9 = load i32, ptr %8, align 4, !tbaa !11 store i32 %9, ptr %0, align 8, !tbaa !12 %10 = load i32, ptr @UPGT_DEBUG_FW, align 4, !tbaa !15 %11 = tail call i32 (ptr, i32, ptr, i32, i32, ...) @DPRINTF(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7, i32 noundef %9) #2 %12 = load i32, ptr @UPGT_EEPROM_SIZE, align 4, !tbaa !15 %13 = ashr i32 %12, 4 %14 = icmp slt i32 %7, %13 %15 = icmp sgt i32 %7, 0 %16 = and i1 %14, %15 br i1 %16, label %17, label %73 17: ; preds = %3 %18 = icmp sgt i32 %9, 0 %19 = getelementptr inbounds %struct.upgt_softc, ptr %0, i64 0, i32 1 %20 = zext nneg i32 %7 to i64 %21 = zext i32 %9 to i64 %22 = and i64 %21, 1 %23 = icmp eq i32 %9, 1 %24 = and i64 %21, 2147483646 %25 = icmp eq i64 %22, 0 br label %26 26: ; preds = %17, %70 %27 = phi i64 [ 0, %17 ], [ %71, %70 ] %28 = getelementptr inbounds %struct.upgt_eeprom_freq4_1, ptr %4, i64 %27 %29 = load i32, ptr %28, align 8, !tbaa !16 %30 = tail call i32 @le16toh(i32 noundef %29) #2 %31 = tail call i32 @ieee80211_mhz2ieee(i32 noundef %30, i32 noundef 0) #2 %32 = load i32, ptr @IEEE80211_CHAN_MAX, align 4, !tbaa !15 %33 = icmp ult i32 %31, %32 br i1 %33, label %34, label %70 34: ; preds = %26 %35 = getelementptr inbounds %struct.upgt_eeprom_freq4_1, ptr %4, i64 %27, i32 1 %36 = load i64, ptr %35, align 8, !tbaa !19 %37 = inttoptr i64 %36 to ptr br i1 %18, label %38, label %65 38: ; preds = %34 %39 = load ptr, ptr %19, align 8, !tbaa !20 %40 = zext i32 %31 to i64 %41 = getelementptr inbounds ptr, ptr %39, i64 %40 %42 = load ptr, ptr %41, align 8, !tbaa !21 br i1 %23, label %58, label %43 43: ; preds = %38, %43 %44 = phi i64 [ %55, %43 ], [ 0, %38 ] %45 = phi i64 [ %56, %43 ], [ 0, %38 ] %46 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i64 %44, i32 1 %47 = getelementptr inbounds %struct.upgt_eeprom_freq4_2, ptr %37, i64 %44 %48 = load i32, ptr %47, align 4, !tbaa !15 store i32 %48, ptr %46, align 8, !tbaa !15 %49 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i64 %44 store i64 0, ptr %49, align 8, !tbaa !22 %50 = or disjoint i64 %44, 1 %51 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i64 %50, i32 1 %52 = getelementptr inbounds %struct.upgt_eeprom_freq4_2, ptr %37, i64 %50 %53 = load i32, ptr %52, align 4, !tbaa !15 store i32 %53, ptr %51, align 8, !tbaa !15 %54 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i64 %50 store i64 0, ptr %54, align 8, !tbaa !22 %55 = add nuw nsw i64 %44, 2 %56 = add i64 %45, 2 %57 = icmp eq i64 %56, %24 br i1 %57, label %58, label %43, !llvm.loop !25 58: ; preds = %43, %38 %59 = phi i64 [ 0, %38 ], [ %55, %43 ] br i1 %25, label %65, label %60 60: ; preds = %58 %61 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i64 %59, i32 1 %62 = getelementptr inbounds %struct.upgt_eeprom_freq4_2, ptr %37, i64 %59 %63 = load i32, ptr %62, align 4, !tbaa !15 store i32 %63, ptr %61, align 8, !tbaa !15 %64 = getelementptr inbounds %struct.TYPE_2__, ptr %42, i64 %59 store i64 0, ptr %64, align 8, !tbaa !22 br label %65 65: ; preds = %60, %58, %34 %66 = load i32, ptr @UPGT_DEBUG_FW, align 4, !tbaa !15 %67 = load i32, ptr %28, align 8, !tbaa !16 %68 = tail call i32 @le16toh(i32 noundef %67) #2 %69 = tail call i32 (ptr, i32, ptr, i32, i32, ...) @DPRINTF(ptr noundef nonnull %0, i32 noundef %66, ptr noundef nonnull @.str.1, i32 noundef %68, i32 noundef %31) #2 br label %70 70: ; preds = %26, %65 %71 = add nuw nsw i64 %27, 1 %72 = icmp eq i64 %71, %20 br i1 %72, label %73, label %26, !llvm.loop !27 73: ; preds = %70, %3 ret void } declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @ieee80211_mhz2ieee(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @le16toh(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 = !{!"upgt_eeprom_freq4_header", !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 8} !12 = !{!13, !7, i64 0} !13 = !{!"upgt_softc", !7, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"upgt_eeprom_freq4_1", !7, i64 0, !18, i64 8} !18 = !{!"long", !8, i64 0} !19 = !{!17, !18, i64 8} !20 = !{!13, !14, i64 8} !21 = !{!14, !14, i64 0} !22 = !{!23, !18, i64 0} !23 = !{!"TYPE_2__", !18, i64 0, !24, i64 8} !24 = !{!"upgt_eeprom_freq4_2", !7, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = distinct !{!27, !26}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_upgt.c_upgt_eeprom_parse_freq4.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_upgt.c_upgt_eeprom_parse_freq4.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.upgt_eeprom_freq4_1 = type { i32, i64 } %struct.TYPE_2__ = type { i64, %struct.upgt_eeprom_freq4_2 } %struct.upgt_eeprom_freq4_2 = type { i32 } @UPGT_DEBUG_FW = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"flags=0x%02x elements=%d settings=%d\0A\00", align 1 @UPGT_EEPROM_SIZE = common local_unnamed_addr global i32 0, align 4 @IEEE80211_CHAN_MAX = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"frequence=%d, channel=%d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @upgt_eeprom_parse_freq4(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %1, i64 12 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = getelementptr inbounds i8, ptr %1, i64 8 %9 = load i32, ptr %8, align 4, !tbaa !12 store i32 %9, ptr %0, align 8, !tbaa !13 %10 = load i32, ptr @UPGT_DEBUG_FW, align 4, !tbaa !16 %11 = tail call i32 (ptr, i32, ptr, i32, i32, ...) @DPRINTF(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7, i32 noundef %9) #2 %12 = load i32, ptr @UPGT_EEPROM_SIZE, align 4, !tbaa !16 %13 = ashr i32 %12, 4 %14 = icmp slt i32 %7, %13 %15 = icmp sgt i32 %7, 0 %16 = and i1 %14, %15 br i1 %16, label %17, label %55 17: ; preds = %3 %18 = icmp sgt i32 %9, 0 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = zext nneg i32 %7 to i64 %21 = zext nneg i32 %9 to i64 br label %22 22: ; preds = %17, %52 %23 = phi i64 [ 0, %17 ], [ %53, %52 ] %24 = getelementptr inbounds %struct.upgt_eeprom_freq4_1, ptr %4, i64 %23 %25 = load i32, ptr %24, align 8, !tbaa !17 %26 = tail call i32 @le16toh(i32 noundef %25) #2 %27 = tail call i32 @ieee80211_mhz2ieee(i32 noundef %26, i32 noundef 0) #2 %28 = load i32, ptr @IEEE80211_CHAN_MAX, align 4, !tbaa !16 %29 = icmp ult i32 %27, %28 br i1 %29, label %30, label %52 30: ; preds = %22 %31 = getelementptr inbounds i8, ptr %24, i64 8 %32 = load i64, ptr %31, align 8, !tbaa !20 %33 = inttoptr i64 %32 to ptr br i1 %18, label %34, label %47 34: ; preds = %30 %35 = load ptr, ptr %19, align 8, !tbaa !21 %36 = zext i32 %27 to i64 %37 = getelementptr inbounds ptr, ptr %35, i64 %36 %38 = load ptr, ptr %37, align 8, !tbaa !22 br label %39 39: ; preds = %34, %39 %40 = phi i64 [ 0, %34 ], [ %45, %39 ] %41 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i64 %40, i32 1 %42 = getelementptr inbounds %struct.upgt_eeprom_freq4_2, ptr %33, i64 %40 %43 = load i32, ptr %42, align 4, !tbaa !16 store i32 %43, ptr %41, align 8, !tbaa !16 %44 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i64 %40 store i64 0, ptr %44, align 8, !tbaa !23 %45 = add nuw nsw i64 %40, 1 %46 = icmp eq i64 %45, %21 br i1 %46, label %47, label %39, !llvm.loop !26 47: ; preds = %39, %30 %48 = load i32, ptr @UPGT_DEBUG_FW, align 4, !tbaa !16 %49 = load i32, ptr %24, align 8, !tbaa !17 %50 = tail call i32 @le16toh(i32 noundef %49) #2 %51 = tail call i32 (ptr, i32, ptr, i32, i32, ...) @DPRINTF(ptr noundef nonnull %0, i32 noundef %48, ptr noundef nonnull @.str.1, i32 noundef %50, i32 noundef %27) #2 br label %52 52: ; preds = %22, %47 %53 = add nuw nsw i64 %23, 1 %54 = icmp eq i64 %53, %20 br i1 %54, label %55, label %22, !llvm.loop !28 55: ; preds = %52, %3 ret void } declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @ieee80211_mhz2ieee(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @le16toh(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 = !{!"upgt_eeprom_freq4_header", !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 8} !13 = !{!14, !8, i64 0} !14 = !{!"upgt_softc", !8, i64 0, !15, i64 8} !15 = !{!"any pointer", !9, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"upgt_eeprom_freq4_1", !8, i64 0, !19, i64 8} !19 = !{!"long", !9, i64 0} !20 = !{!18, !19, i64 8} !21 = !{!14, !15, i64 8} !22 = !{!15, !15, i64 0} !23 = !{!24, !19, i64 0} !24 = !{!"TYPE_2__", !19, i64 0, !25, i64 8} !25 = !{!"upgt_eeprom_freq4_2", !8, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = distinct !{!28, !27}
freebsd_sys_dev_usb_wlan_extr_if_upgt.c_upgt_eeprom_parse_freq4
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv04_pm.c_nv04_pm_clocks_set.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv04_pm.c_nv04_pm_clocks_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nv04_pm_state = type { %struct.TYPE_5__, %struct.TYPE_5__ } %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } @NV_30 = dso_local local_unnamed_addr global i64 0, align 8 @NV_20 = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @nv04_pm_clocks_set(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @nouveau_dev(ptr noundef %0) #2 %4 = tail call ptr @nouveau_timer(ptr noundef %3) #2 %5 = getelementptr inbounds %struct.nv04_pm_state, ptr %1, i64 0, i32 1 %6 = tail call i32 @prog_pll(ptr noundef %0, ptr noundef nonnull %5) #2 %7 = load i64, ptr %1, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %21, label %9 9: ; preds = %2 %10 = tail call i32 @prog_pll(ptr noundef %0, ptr noundef nonnull %1) #2 %11 = load i64, ptr %3, align 8, !tbaa !12 %12 = load i64, ptr @NV_30, align 8, !tbaa !14 %13 = icmp slt i64 %11, %12 br i1 %13, label %14, label %21 14: ; preds = %9 %15 = load i64, ptr @NV_20, align 8, !tbaa !14 %16 = icmp eq i64 %11, %15 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = tail call i32 @nv_mask(ptr noundef nonnull %3, i32 noundef 1049284, i32 noundef 0, i32 noundef 1048576) #2 br label %19 19: ; preds = %17, %14 %20 = tail call i32 @nv_mask(ptr noundef nonnull %3, i32 noundef 1049280, i32 noundef 0, i32 noundef 256) #2 br label %21 21: ; preds = %9, %19, %2 %22 = tail call ptr @nv_ofuncs(ptr noundef %4) #2 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = tail call i32 @nv_object(ptr noundef %4) #2 %25 = tail call i32 %23(i32 noundef %24) #2 %26 = tail call i32 @kfree(ptr noundef nonnull %1) #2 ret i32 0 } declare ptr @nouveau_dev(ptr noundef) local_unnamed_addr #1 declare ptr @nouveau_timer(ptr noundef) local_unnamed_addr #1 declare i32 @prog_pll(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nv_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nv_ofuncs(ptr noundef) local_unnamed_addr #1 declare i32 @nv_object(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !9, i64 0} !6 = !{!"nv04_pm_state", !7, i64 0, !7, i64 8} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !9, i64 0} !13 = !{!"nouveau_device", !9, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_6__", !17, i64 0} !17 = !{!"any pointer", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv04_pm.c_nv04_pm_clocks_set.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv04_pm.c_nv04_pm_clocks_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NV_30 = common local_unnamed_addr global i64 0, align 8 @NV_20 = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @nv04_pm_clocks_set(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @nouveau_dev(ptr noundef %0) #2 %4 = tail call ptr @nouveau_timer(ptr noundef %3) #2 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = tail call i32 @prog_pll(ptr noundef %0, ptr noundef nonnull %5) #2 %7 = load i64, ptr %1, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %21, label %9 9: ; preds = %2 %10 = tail call i32 @prog_pll(ptr noundef %0, ptr noundef nonnull %1) #2 %11 = load i64, ptr %3, align 8, !tbaa !13 %12 = load i64, ptr @NV_30, align 8, !tbaa !15 %13 = icmp slt i64 %11, %12 br i1 %13, label %14, label %21 14: ; preds = %9 %15 = load i64, ptr @NV_20, align 8, !tbaa !15 %16 = icmp eq i64 %11, %15 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = tail call i32 @nv_mask(ptr noundef nonnull %3, i32 noundef 1049284, i32 noundef 0, i32 noundef 1048576) #2 br label %19 19: ; preds = %17, %14 %20 = tail call i32 @nv_mask(ptr noundef nonnull %3, i32 noundef 1049280, i32 noundef 0, i32 noundef 256) #2 br label %21 21: ; preds = %9, %19, %2 %22 = tail call ptr @nv_ofuncs(ptr noundef %4) #2 %23 = load ptr, ptr %22, align 8, !tbaa !16 %24 = tail call i32 @nv_object(ptr noundef %4) #2 %25 = tail call i32 %23(i32 noundef %24) #2 %26 = tail call i32 @kfree(ptr noundef nonnull %1) #2 ret i32 0 } declare ptr @nouveau_dev(ptr noundef) local_unnamed_addr #1 declare ptr @nouveau_timer(ptr noundef) local_unnamed_addr #1 declare i32 @prog_pll(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nv_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nv_ofuncs(ptr noundef) local_unnamed_addr #1 declare i32 @nv_object(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !10, i64 0} !7 = !{!"nv04_pm_state", !8, i64 0, !8, i64 8} !8 = !{!"TYPE_5__", !9, i64 0} !9 = !{!"TYPE_4__", !10, i64 0} !10 = !{!"long", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!14, !10, i64 0} !14 = !{!"nouveau_device", !10, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_6__", !18, i64 0} !18 = !{!"any pointer", !11, i64 0}
fastsocket_kernel_drivers_gpu_drm_nouveau_extr_nv04_pm.c_nv04_pm_clocks_set
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_file.c_f2fs_fsflags_to_iflags.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_file.c_f2fs_fsflags_to_iflags.c" target datalayout = "e-m:e-p270:32:32-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 } @f2fs_fsflags_map = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @f2fs_fsflags_to_iflags], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @f2fs_fsflags_to_iflags(i32 noundef %0) #0 { %2 = load ptr, ptr @f2fs_fsflags_map, align 8, !tbaa !5 %3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %23 5: ; preds = %1, %17 %6 = phi i64 [ %19, %17 ], [ 0, %1 ] %7 = phi i32 [ %18, %17 ], [ 0, %1 ] %8 = load ptr, ptr @f2fs_fsflags_map, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 %6 %10 = load i32, ptr %9, align 4, !tbaa !9 %11 = and i32 %10, %0 %12 = icmp eq i32 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %5 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 %6, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !12 %16 = or i32 %15, %7 br label %17 17: ; preds = %5, %13 %18 = phi i32 [ %16, %13 ], [ %7, %5 ] %19 = add nuw nsw i64 %6, 1 %20 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #2 %21 = sext i32 %20 to i64 %22 = icmp slt i64 %19, %21 br i1 %22, label %5, label %23, !llvm.loop !13 23: ; preds = %17, %1 %24 = phi i32 [ 0, %1 ], [ %18, %17 ] ret i32 %24 } declare i32 @ARRAY_SIZE(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_3__", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 4} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_file.c_f2fs_fsflags_to_iflags.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_file.c_f2fs_fsflags_to_iflags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32 } @f2fs_fsflags_map = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @f2fs_fsflags_to_iflags], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @f2fs_fsflags_to_iflags(i32 noundef %0) #0 { %2 = load ptr, ptr @f2fs_fsflags_map, align 8, !tbaa !6 %3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %23 5: ; preds = %1, %17 %6 = phi i64 [ %19, %17 ], [ 0, %1 ] %7 = phi i32 [ %18, %17 ], [ 0, %1 ] %8 = load ptr, ptr @f2fs_fsflags_map, align 8, !tbaa !6 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 %6 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = and i32 %10, %0 %12 = icmp eq i32 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %5 %14 = getelementptr inbounds i8, ptr %9, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = or i32 %15, %7 br label %17 17: ; preds = %5, %13 %18 = phi i32 [ %16, %13 ], [ %7, %5 ] %19 = add nuw nsw i64 %6, 1 %20 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #2 %21 = sext i32 %20 to i64 %22 = icmp slt i64 %19, %21 br i1 %22, label %5, label %23, !llvm.loop !14 23: ; preds = %17, %1 %24 = phi i32 [ 0, %1 ], [ %18, %17 ] ret i32 %24 } declare i32 @ARRAY_SIZE(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 4} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
linux_fs_f2fs_extr_file.c_f2fs_fsflags_to_iflags
; ModuleID = 'AnghaBench/linux/net/kcm/extr_kcmsock.c_kcm_unattach.c' source_filename = "AnghaBench/linux/net/kcm/extr_kcmsock.c_kcm_unattach.c" target datalayout = "e-m:e-p270:32:32-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.kcm_psock = type { i32, i32, i32, i32, ptr, i32, i32, i32, ptr, i32, i32, i32, i32, i32, ptr, ptr } %struct.sock = type { ptr, i32, i32, i32, i32, ptr } %struct.kcm_mux = type { i32, i32, %struct.TYPE_4__, i32, i32, i32 } %struct.TYPE_4__ = type { i32, i32, i32 } @EPIPE = dso_local local_unnamed_addr global i32 0, align 4 @kcm_wq = dso_local local_unnamed_addr global i32 0, align 4 @kcm_psockp = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @kcm_unattach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @kcm_unattach(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 15 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 14 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call i32 @lock_sock(ptr noundef %3) #2 %7 = getelementptr inbounds %struct.sock, ptr %3, i64 0, i32 1 %8 = tail call i32 @write_lock_bh(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds %struct.sock, ptr %3, i64 0, i32 5 store ptr null, ptr %9, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 13 %11 = load i32, ptr %10, align 8, !tbaa !14 %12 = getelementptr inbounds %struct.sock, ptr %3, i64 0, i32 4 store i32 %11, ptr %12, align 4, !tbaa !15 %13 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 11 %14 = getelementptr inbounds %struct.sock, ptr %3, i64 0, i32 2 %15 = load <2 x i32>, ptr %13, align 8, !tbaa !16 store <2 x i32> %15, ptr %14, align 4, !tbaa !16 %16 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 5 %17 = tail call i32 @strp_stop(ptr noundef nonnull %16) #2 %18 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 10 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = tail call i64 @WARN_ON(i32 noundef %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %1 %23 = tail call i32 @write_unlock_bh(ptr noundef nonnull %7) #2 br label %95 24: ; preds = %1 %25 = getelementptr inbounds %struct.kcm_mux, ptr %5, i64 0, i32 5 %26 = tail call i32 @spin_lock_bh(ptr noundef nonnull %25) #2 %27 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 8 %28 = load ptr, ptr %27, align 8, !tbaa !18 %29 = icmp eq ptr %28, null br i1 %29, label %38, label %30 30: ; preds = %24 %31 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 9 %32 = tail call i32 @list_del(ptr noundef nonnull %31) #2 %33 = load ptr, ptr %27, align 8, !tbaa !18 %34 = tail call i32 @kfree_skb(ptr noundef %33) #2 store ptr null, ptr %27, align 8, !tbaa !18 %35 = getelementptr inbounds %struct.kcm_mux, ptr %5, i64 0, i32 2, i32 2 %36 = load i32, ptr %35, align 4, !tbaa !19 %37 = tail call i32 @KCM_STATS_INCR(i32 noundef %36) #2 br label %38 38: ; preds = %30, %24 %39 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %25) #2 %40 = tail call i32 @write_unlock_bh(ptr noundef nonnull %7) #2 %41 = tail call i32 @release_sock(ptr noundef nonnull %3) #2 %42 = tail call i32 @strp_done(ptr noundef nonnull %16) #2 %43 = tail call i32 @lock_sock(ptr noundef nonnull %3) #2 %44 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 7 %45 = load i32, ptr %44, align 8, !tbaa !22 %46 = tail call i32 @bpf_prog_put(i32 noundef %45) #2 %47 = tail call i32 @spin_lock_bh(ptr noundef %5) #2 %48 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 6 %49 = getelementptr inbounds %struct.kcm_mux, ptr %5, i64 0, i32 4 %50 = tail call i32 @aggregate_psock_stats(ptr noundef nonnull %48, ptr noundef nonnull %49) #2 %51 = getelementptr inbounds %struct.kcm_mux, ptr %5, i64 0, i32 3 %52 = tail call i32 @save_strp_stats(ptr noundef nonnull %16, ptr noundef nonnull %51) #2 %53 = getelementptr inbounds %struct.kcm_mux, ptr %5, i64 0, i32 2, i32 1 %54 = load i32, ptr %53, align 4, !tbaa !23 %55 = tail call i32 @KCM_STATS_INCR(i32 noundef %54) #2 %56 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 4 %57 = load ptr, ptr %56, align 8, !tbaa !24 %58 = icmp eq ptr %57, null br i1 %58, label %75, label %59 59: ; preds = %38 %60 = getelementptr inbounds %struct.kcm_mux, ptr %5, i64 0, i32 2 %61 = load i32, ptr %60, align 4, !tbaa !25 %62 = tail call i32 @KCM_STATS_INCR(i32 noundef %61) #2 %63 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %5) #2 %64 = load i32, ptr @EPIPE, align 4, !tbaa !16 %65 = tail call i32 @kcm_abort_tx_psock(ptr noundef nonnull %0, i32 noundef %64, i32 noundef 0) #2 %66 = tail call i32 @spin_lock_bh(ptr noundef nonnull %5) #2 %67 = load ptr, ptr %56, align 8, !tbaa !24 %68 = icmp eq ptr %67, null br i1 %68, label %75, label %69 69: ; preds = %59 store i32 1, ptr %0, align 8, !tbaa !26 %70 = tail call i32 (...) @smp_mb() #2 %71 = load i32, ptr @kcm_wq, align 4, !tbaa !16 %72 = load ptr, ptr %56, align 8, !tbaa !24 %73 = tail call i32 @queue_work(i32 noundef %71, ptr noundef %72) #2 %74 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %5) #2 br label %95 75: ; preds = %38, %59 %76 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 3 %77 = load i32, ptr %76, align 4, !tbaa !27 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %82 79: ; preds = %75 %80 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 2 %81 = tail call i32 @list_del(ptr noundef nonnull %80) #2 br label %82 82: ; preds = %79, %75 %83 = getelementptr inbounds %struct.kcm_psock, ptr %0, i64 0, i32 1 %84 = tail call i32 @list_del(ptr noundef nonnull %83) #2 %85 = getelementptr inbounds %struct.kcm_mux, ptr %5, i64 0, i32 1 %86 = load i32, ptr %85, align 4, !tbaa !28 %87 = add nsw i32 %86, -1 store i32 %87, ptr %85, align 4, !tbaa !28 %88 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %5) #2 %89 = tail call i32 @sock_put(ptr noundef nonnull %3) #2 %90 = load ptr, ptr %3, align 8, !tbaa !29 %91 = load i32, ptr %90, align 4, !tbaa !30 %92 = tail call i32 @fput(i32 noundef %91) #2 %93 = load i32, ptr @kcm_psockp, align 4, !tbaa !16 %94 = tail call i32 @kmem_cache_free(i32 noundef %93, ptr noundef nonnull %0) #2 br label %95 95: ; preds = %69, %82, %22 %96 = tail call i32 @release_sock(ptr noundef nonnull %3) #2 ret void } declare i32 @lock_sock(ptr noundef) local_unnamed_addr #1 declare i32 @write_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @strp_stop(ptr noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @write_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @release_sock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @KCM_STATS_INCR(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @strp_done(ptr noundef) local_unnamed_addr #1 declare i32 @bpf_prog_put(i32 noundef) local_unnamed_addr #1 declare i32 @aggregate_psock_stats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @save_strp_stats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kcm_abort_tx_psock(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smp_mb(...) local_unnamed_addr #1 declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sock_put(ptr noundef) local_unnamed_addr #1 declare i32 @fput(i32 noundef) local_unnamed_addr #1 declare i32 @kmem_cache_free(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, !10, i64 80} !6 = !{!"kcm_psock", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !10, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !10, i64 72, !10, i64 80} !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 72} !12 = !{!13, !10, i64 24} !13 = !{!"sock", !10, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24} !14 = !{!6, !7, i64 64} !15 = !{!13, !7, i64 20} !16 = !{!7, !7, i64 0} !17 = !{!6, !7, i64 52} !18 = !{!6, !10, i64 40} !19 = !{!20, !7, i64 16} !20 = !{!"kcm_mux", !7, i64 0, !7, i64 4, !21, i64 8, !7, i64 20, !7, i64 24, !7, i64 28} !21 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8} !22 = !{!6, !7, i64 32} !23 = !{!20, !7, i64 12} !24 = !{!6, !10, i64 16} !25 = !{!20, !7, i64 8} !26 = !{!6, !7, i64 0} !27 = !{!6, !7, i64 12} !28 = !{!20, !7, i64 4} !29 = !{!13, !10, i64 0} !30 = !{!31, !7, i64 0} !31 = !{!"TYPE_6__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/kcm/extr_kcmsock.c_kcm_unattach.c' source_filename = "AnghaBench/linux/net/kcm/extr_kcmsock.c_kcm_unattach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EPIPE = common local_unnamed_addr global i32 0, align 4 @kcm_wq = common local_unnamed_addr global i32 0, align 4 @kcm_psockp = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @kcm_unattach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @kcm_unattach(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 80 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 72 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = tail call i32 @lock_sock(ptr noundef %3) #2 %7 = getelementptr inbounds i8, ptr %3, i64 8 %8 = tail call i32 @write_lock_bh(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds i8, ptr %3, i64 24 store ptr null, ptr %9, align 8, !tbaa !13 %10 = getelementptr inbounds i8, ptr %0, i64 64 %11 = load i32, ptr %10, align 8, !tbaa !15 %12 = getelementptr inbounds i8, ptr %3, i64 20 store i32 %11, ptr %12, align 4, !tbaa !16 %13 = getelementptr inbounds i8, ptr %0, i64 56 %14 = getelementptr inbounds i8, ptr %3, i64 12 %15 = load <2 x i32>, ptr %13, align 8, !tbaa !17 store <2 x i32> %15, ptr %14, align 4, !tbaa !17 %16 = getelementptr inbounds i8, ptr %0, i64 24 %17 = tail call i32 @strp_stop(ptr noundef nonnull %16) #2 %18 = getelementptr inbounds i8, ptr %0, i64 52 %19 = load i32, ptr %18, align 4, !tbaa !18 %20 = tail call i64 @WARN_ON(i32 noundef %19) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %1 %23 = tail call i32 @write_unlock_bh(ptr noundef nonnull %7) #2 br label %95 24: ; preds = %1 %25 = getelementptr inbounds i8, ptr %5, i64 28 %26 = tail call i32 @spin_lock_bh(ptr noundef nonnull %25) #2 %27 = getelementptr inbounds i8, ptr %0, i64 40 %28 = load ptr, ptr %27, align 8, !tbaa !19 %29 = icmp eq ptr %28, null br i1 %29, label %38, label %30 30: ; preds = %24 %31 = getelementptr inbounds i8, ptr %0, i64 48 %32 = tail call i32 @list_del(ptr noundef nonnull %31) #2 %33 = load ptr, ptr %27, align 8, !tbaa !19 %34 = tail call i32 @kfree_skb(ptr noundef %33) #2 store ptr null, ptr %27, align 8, !tbaa !19 %35 = getelementptr inbounds i8, ptr %5, i64 16 %36 = load i32, ptr %35, align 4, !tbaa !20 %37 = tail call i32 @KCM_STATS_INCR(i32 noundef %36) #2 br label %38 38: ; preds = %30, %24 %39 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %25) #2 %40 = tail call i32 @write_unlock_bh(ptr noundef nonnull %7) #2 %41 = tail call i32 @release_sock(ptr noundef nonnull %3) #2 %42 = tail call i32 @strp_done(ptr noundef nonnull %16) #2 %43 = tail call i32 @lock_sock(ptr noundef nonnull %3) #2 %44 = getelementptr inbounds i8, ptr %0, i64 32 %45 = load i32, ptr %44, align 8, !tbaa !23 %46 = tail call i32 @bpf_prog_put(i32 noundef %45) #2 %47 = tail call i32 @spin_lock_bh(ptr noundef %5) #2 %48 = getelementptr inbounds i8, ptr %0, i64 28 %49 = getelementptr inbounds i8, ptr %5, i64 24 %50 = tail call i32 @aggregate_psock_stats(ptr noundef nonnull %48, ptr noundef nonnull %49) #2 %51 = getelementptr inbounds i8, ptr %5, i64 20 %52 = tail call i32 @save_strp_stats(ptr noundef nonnull %16, ptr noundef nonnull %51) #2 %53 = getelementptr inbounds i8, ptr %5, i64 12 %54 = load i32, ptr %53, align 4, !tbaa !24 %55 = tail call i32 @KCM_STATS_INCR(i32 noundef %54) #2 %56 = getelementptr inbounds i8, ptr %0, i64 16 %57 = load ptr, ptr %56, align 8, !tbaa !25 %58 = icmp eq ptr %57, null br i1 %58, label %75, label %59 59: ; preds = %38 %60 = getelementptr inbounds i8, ptr %5, i64 8 %61 = load i32, ptr %60, align 4, !tbaa !26 %62 = tail call i32 @KCM_STATS_INCR(i32 noundef %61) #2 %63 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %5) #2 %64 = load i32, ptr @EPIPE, align 4, !tbaa !17 %65 = tail call i32 @kcm_abort_tx_psock(ptr noundef nonnull %0, i32 noundef %64, i32 noundef 0) #2 %66 = tail call i32 @spin_lock_bh(ptr noundef nonnull %5) #2 %67 = load ptr, ptr %56, align 8, !tbaa !25 %68 = icmp eq ptr %67, null br i1 %68, label %75, label %69 69: ; preds = %59 store i32 1, ptr %0, align 8, !tbaa !27 %70 = tail call i32 @smp_mb() #2 %71 = load i32, ptr @kcm_wq, align 4, !tbaa !17 %72 = load ptr, ptr %56, align 8, !tbaa !25 %73 = tail call i32 @queue_work(i32 noundef %71, ptr noundef %72) #2 %74 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %5) #2 br label %95 75: ; preds = %38, %59 %76 = getelementptr inbounds i8, ptr %0, i64 12 %77 = load i32, ptr %76, align 4, !tbaa !28 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %82 79: ; preds = %75 %80 = getelementptr inbounds i8, ptr %0, i64 8 %81 = tail call i32 @list_del(ptr noundef nonnull %80) #2 br label %82 82: ; preds = %79, %75 %83 = getelementptr inbounds i8, ptr %0, i64 4 %84 = tail call i32 @list_del(ptr noundef nonnull %83) #2 %85 = getelementptr inbounds i8, ptr %5, i64 4 %86 = load i32, ptr %85, align 4, !tbaa !29 %87 = add nsw i32 %86, -1 store i32 %87, ptr %85, align 4, !tbaa !29 %88 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %5) #2 %89 = tail call i32 @sock_put(ptr noundef nonnull %3) #2 %90 = load ptr, ptr %3, align 8, !tbaa !30 %91 = load i32, ptr %90, align 4, !tbaa !31 %92 = tail call i32 @fput(i32 noundef %91) #2 %93 = load i32, ptr @kcm_psockp, align 4, !tbaa !17 %94 = tail call i32 @kmem_cache_free(i32 noundef %93, ptr noundef nonnull %0) #2 br label %95 95: ; preds = %69, %82, %22 %96 = tail call i32 @release_sock(ptr noundef nonnull %3) #2 ret void } declare i32 @lock_sock(ptr noundef) local_unnamed_addr #1 declare i32 @write_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @strp_stop(ptr noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @write_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @release_sock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @KCM_STATS_INCR(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @strp_done(ptr noundef) local_unnamed_addr #1 declare i32 @bpf_prog_put(i32 noundef) local_unnamed_addr #1 declare i32 @aggregate_psock_stats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @save_strp_stats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kcm_abort_tx_psock(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smp_mb(...) local_unnamed_addr #1 declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sock_put(ptr noundef) local_unnamed_addr #1 declare i32 @fput(i32 noundef) local_unnamed_addr #1 declare i32 @kmem_cache_free(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, !11, i64 80} !7 = !{!"kcm_psock", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !11, i64 40, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64, !11, i64 72, !11, i64 80} !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 72} !13 = !{!14, !11, i64 24} !14 = !{!"sock", !11, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !11, i64 24} !15 = !{!7, !8, i64 64} !16 = !{!14, !8, i64 20} !17 = !{!8, !8, i64 0} !18 = !{!7, !8, i64 52} !19 = !{!7, !11, i64 40} !20 = !{!21, !8, i64 16} !21 = !{!"kcm_mux", !8, i64 0, !8, i64 4, !22, i64 8, !8, i64 20, !8, i64 24, !8, i64 28} !22 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8} !23 = !{!7, !8, i64 32} !24 = !{!21, !8, i64 12} !25 = !{!7, !11, i64 16} !26 = !{!21, !8, i64 8} !27 = !{!7, !8, i64 0} !28 = !{!7, !8, i64 12} !29 = !{!21, !8, i64 4} !30 = !{!14, !11, i64 0} !31 = !{!32, !8, i64 0} !32 = !{!"TYPE_6__", !8, i64 0}
linux_net_kcm_extr_kcmsock.c_kcm_unattach
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_adau17x1.c_adau17x1_dsp_mux_enum_put.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_adau17x1.c_adau17x1_dsp_mux_enum_put.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_soc_dapm_update = type { i32, i32, i32, ptr } %struct.soc_enum = type { i32, i64 } %struct.adau = type { ptr, ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @SNDRV_PCM_STREAM_PLAYBACK = dso_local local_unnamed_addr global i32 0, align 4 @ADAU17X1_SERIAL_INPUT_ROUTE = dso_local local_unnamed_addr global i32 0, align 4 @ADAU17X1_SERIAL_OUTPUT_ROUTE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @adau17x1_dsp_mux_enum_put], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @adau17x1_dsp_mux_enum_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.snd_soc_dapm_update, align 8 %4 = tail call ptr @snd_soc_dapm_kcontrol_component(ptr noundef %0) #3 %5 = tail call ptr @snd_soc_component_get_dapm(ptr noundef %4) #3 %6 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %4) #3 %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = inttoptr i64 %7 to ptr call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %9 = getelementptr inbounds i8, ptr %3, i64 8 store i64 0, ptr %9, align 8 %10 = load i32, ptr %8, align 8, !tbaa !10 %11 = load ptr, ptr %1, align 8, !tbaa !13 %12 = load i64, ptr %11, align 8, !tbaa !18 %13 = getelementptr inbounds %struct.soc_enum, ptr %8, i64 0, i32 1 %14 = load i64, ptr %13, align 8, !tbaa !19 %15 = icmp slt i64 %12, %14 br i1 %15, label %19, label %16 16: ; preds = %2 %17 = load i32, ptr @EINVAL, align 4, !tbaa !20 %18 = sub nsw i32 0, %17 br label %51 19: ; preds = %2 %20 = icmp eq i64 %12, 0 br i1 %20, label %21, label %25 21: ; preds = %19 %22 = load ptr, ptr %6, align 8, !tbaa !21 %23 = zext i32 %10 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 store i32 0, ptr %24, align 4, !tbaa !20 br label %35 25: ; preds = %19 %26 = getelementptr inbounds %struct.adau, ptr %6, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !23 %28 = zext i32 %10 to i64 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = load i32, ptr %29, align 4, !tbaa !20 %31 = shl nsw i32 %30, 1 %32 = or disjoint i32 %31, 1 %33 = load ptr, ptr %6, align 8, !tbaa !21 %34 = getelementptr inbounds i32, ptr %33, i64 %28 store i32 1, ptr %34, align 4, !tbaa !20 br label %35 35: ; preds = %25, %21 %36 = phi i32 [ 0, %21 ], [ %32, %25 ] %37 = load i32, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 4, !tbaa !20 %38 = icmp eq i32 %10, %37 %39 = load i32, ptr @ADAU17X1_SERIAL_INPUT_ROUTE, align 4 %40 = load i32, ptr @ADAU17X1_SERIAL_OUTPUT_ROUTE, align 4 %41 = select i1 %38, i32 %39, i32 %40 %42 = tail call i32 @snd_soc_component_test_bits(ptr noundef %4, i32 noundef %41, i32 noundef 255, i32 noundef %36) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %51, label %44 44: ; preds = %35 %45 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %3, i64 0, i32 3 store ptr %0, ptr %45, align 8, !tbaa !24 store i32 255, ptr %3, align 8, !tbaa !26 %46 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %3, i64 0, i32 1 store i32 %41, ptr %46, align 4, !tbaa !27 %47 = getelementptr inbounds %struct.snd_soc_dapm_update, ptr %3, i64 0, i32 2 store i32 %36, ptr %47, align 8, !tbaa !28 %48 = load ptr, ptr %1, align 8, !tbaa !13 %49 = load i64, ptr %48, align 8, !tbaa !18 %50 = call i32 @snd_soc_dapm_mux_update_power(ptr noundef %5, ptr noundef nonnull %0, i64 noundef %49, ptr noundef nonnull %8, ptr noundef nonnull %3) #3 br label %51 51: ; preds = %35, %44, %16 %52 = phi i32 [ %18, %16 ], [ %42, %44 ], [ 0, %35 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %52 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @snd_soc_dapm_kcontrol_component(ptr noundef) local_unnamed_addr #2 declare ptr @snd_soc_component_get_dapm(ptr noundef) local_unnamed_addr #2 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @snd_soc_component_test_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snd_soc_dapm_mux_update_power(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_kcontrol", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"soc_enum", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !17, i64 0} !14 = !{!"snd_ctl_elem_value", !15, i64 0} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"TYPE_3__", !17, i64 0} !17 = !{!"any pointer", !8, i64 0} !18 = !{!7, !7, i64 0} !19 = !{!11, !7, i64 8} !20 = !{!12, !12, i64 0} !21 = !{!22, !17, i64 0} !22 = !{!"adau", !17, i64 0, !17, i64 8} !23 = !{!22, !17, i64 8} !24 = !{!25, !17, i64 16} !25 = !{!"snd_soc_dapm_update", !12, i64 0, !12, i64 4, !12, i64 8, !17, i64 16} !26 = !{!25, !12, i64 0} !27 = !{!25, !12, i64 4} !28 = !{!25, !12, i64 8}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_adau17x1.c_adau17x1_dsp_mux_enum_put.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_adau17x1.c_adau17x1_dsp_mux_enum_put.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.snd_soc_dapm_update = type { i32, i32, i32, ptr } @EINVAL = common local_unnamed_addr global i32 0, align 4 @SNDRV_PCM_STREAM_PLAYBACK = common local_unnamed_addr global i32 0, align 4 @ADAU17X1_SERIAL_INPUT_ROUTE = common local_unnamed_addr global i32 0, align 4 @ADAU17X1_SERIAL_OUTPUT_ROUTE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @adau17x1_dsp_mux_enum_put], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @adau17x1_dsp_mux_enum_put(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.snd_soc_dapm_update, align 8 %4 = tail call ptr @snd_soc_dapm_kcontrol_component(ptr noundef %0) #3 %5 = tail call ptr @snd_soc_component_get_dapm(ptr noundef %4) #3 %6 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %4) #3 %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = inttoptr i64 %7 to ptr call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %9 = getelementptr inbounds i8, ptr %3, i64 8 store i64 0, ptr %9, align 8 %10 = load i32, ptr %8, align 8, !tbaa !11 %11 = load ptr, ptr %1, align 8, !tbaa !14 %12 = load i64, ptr %11, align 8, !tbaa !19 %13 = getelementptr inbounds i8, ptr %8, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !20 %15 = icmp slt i64 %12, %14 br i1 %15, label %19, label %16 16: ; preds = %2 %17 = load i32, ptr @EINVAL, align 4, !tbaa !21 %18 = sub nsw i32 0, %17 br label %50 19: ; preds = %2 %20 = icmp eq i64 %12, 0 br i1 %20, label %21, label %25 21: ; preds = %19 %22 = load ptr, ptr %6, align 8, !tbaa !22 %23 = zext i32 %10 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 store i32 0, ptr %24, align 4, !tbaa !21 br label %35 25: ; preds = %19 %26 = getelementptr inbounds i8, ptr %6, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !24 %28 = zext i32 %10 to i64 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = load i32, ptr %29, align 4, !tbaa !21 %31 = shl nsw i32 %30, 1 %32 = or disjoint i32 %31, 1 %33 = load ptr, ptr %6, align 8, !tbaa !22 %34 = getelementptr inbounds i32, ptr %33, i64 %28 store i32 1, ptr %34, align 4, !tbaa !21 br label %35 35: ; preds = %25, %21 %36 = phi i32 [ 0, %21 ], [ %32, %25 ] %37 = load i32, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 4, !tbaa !21 %38 = icmp eq i32 %10, %37 %39 = load i32, ptr @ADAU17X1_SERIAL_INPUT_ROUTE, align 4 %40 = load i32, ptr @ADAU17X1_SERIAL_OUTPUT_ROUTE, align 4 %41 = select i1 %38, i32 %39, i32 %40 %42 = tail call i32 @snd_soc_component_test_bits(ptr noundef %4, i32 noundef %41, i32 noundef 255, i32 noundef %36) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %50, label %44 44: ; preds = %35 %45 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %0, ptr %45, align 8, !tbaa !25 store i32 255, ptr %3, align 8, !tbaa !27 %46 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %41, ptr %46, align 4, !tbaa !28 store i32 %36, ptr %9, align 8, !tbaa !29 %47 = load ptr, ptr %1, align 8, !tbaa !14 %48 = load i64, ptr %47, align 8, !tbaa !19 %49 = call i32 @snd_soc_dapm_mux_update_power(ptr noundef %5, ptr noundef nonnull %0, i64 noundef %48, ptr noundef nonnull %8, ptr noundef nonnull %3) #3 br label %50 50: ; preds = %35, %44, %16 %51 = phi i32 [ %18, %16 ], [ %42, %44 ], [ 0, %35 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @snd_soc_dapm_kcontrol_component(ptr noundef) local_unnamed_addr #2 declare ptr @snd_soc_component_get_dapm(ptr noundef) local_unnamed_addr #2 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @snd_soc_component_test_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snd_soc_dapm_mux_update_power(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_kcontrol", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"soc_enum", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!15, !18, i64 0} !15 = !{!"snd_ctl_elem_value", !16, i64 0} !16 = !{!"TYPE_4__", !17, i64 0} !17 = !{!"TYPE_3__", !18, i64 0} !18 = !{!"any pointer", !9, i64 0} !19 = !{!8, !8, i64 0} !20 = !{!12, !8, i64 8} !21 = !{!13, !13, i64 0} !22 = !{!23, !18, i64 0} !23 = !{!"adau", !18, i64 0, !18, i64 8} !24 = !{!23, !18, i64 8} !25 = !{!26, !18, i64 16} !26 = !{!"snd_soc_dapm_update", !13, i64 0, !13, i64 4, !13, i64 8, !18, i64 16} !27 = !{!26, !13, i64 0} !28 = !{!26, !13, i64 4} !29 = !{!26, !13, i64 8}
linux_sound_soc_codecs_extr_adau17x1.c_adau17x1_dsp_mux_enum_put
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cwm.c_zfCoreCwmBusy.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cwm.c_zfCoreCwmBusy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { i64, %struct.TYPE_11__, %struct.TYPE_10__ } %struct.TYPE_11__ = type { i64, ptr } %struct.TYPE_10__ = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { %struct.TYPE_8__, %struct.TYPE_7__ } %struct.TYPE_8__ = type { i32 } %struct.TYPE_7__ = type { i32 } @ZM_LV_0 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"CwmBusy=\00", align 1 @wd = dso_local local_unnamed_addr global ptr null, align 8 @CWM_MODE20 = dso_local local_unnamed_addr global i64 0, align 8 @CWM_WIDTH20 = dso_local local_unnamed_addr global ptr null, align 8 @CWM_MODE40 = dso_local local_unnamed_addr global i64 0, align 8 @CWM_WIDTH40 = dso_local local_unnamed_addr global ptr null, align 8 @ZM_MODE_INFRASTRUCTURE = dso_local local_unnamed_addr global i64 0, align 8 @ZM_MODE_PSEUDO = dso_local local_unnamed_addr global i64 0, align 8 @ZM_MODE_IBSS = dso_local local_unnamed_addr global i64 0, align 8 @HTCAP_SupChannelWidthSet = dso_local local_unnamed_addr global i32 0, align 4 @ExtHtCap_RecomTxWidthSet = dso_local local_unnamed_addr global i32 0, align 4 @ExtHtCap_ExtChannelOffsetAbove = dso_local local_unnamed_addr global i32 0, align 4 @ZM_MODE_AP = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @zfCoreCwmBusy(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2 %4 = load i32, ptr @ZM_LV_0, align 4, !tbaa !5 %5 = tail call i32 @zm_msg1_mm(i32 noundef %4, ptr noundef nonnull @.str, i64 noundef %1) #2 %6 = load ptr, ptr @wd, align 8, !tbaa !9 %7 = getelementptr inbounds %struct.TYPE_12__, ptr %6, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = load i64, ptr @CWM_MODE20, align 8, !tbaa !19 %10 = icmp eq i64 %8, %9 br i1 %10, label %46, label %11 11: ; preds = %2 %12 = load i64, ptr @CWM_MODE40, align 8, !tbaa !19 %13 = icmp eq i64 %8, %12 br i1 %13, label %46, label %14 14: ; preds = %11 %15 = icmp eq i64 %1, 0 br i1 %15, label %16, label %46 16: ; preds = %14 %17 = load i64, ptr %6, align 8, !tbaa !20 %18 = load i64, ptr @ZM_MODE_INFRASTRUCTURE, align 8, !tbaa !19 %19 = icmp eq i64 %17, %18 %20 = load i64, ptr @ZM_MODE_PSEUDO, align 8 %21 = icmp eq i64 %17, %20 %22 = select i1 %19, i1 true, i1 %21 %23 = load i64, ptr @ZM_MODE_IBSS, align 8 %24 = icmp eq i64 %17, %23 %25 = select i1 %22, i1 true, i1 %24 br i1 %25, label %26, label %43 26: ; preds = %16 %27 = getelementptr inbounds %struct.TYPE_12__, ptr %6, i64 0, i32 2, i32 0, i32 1 %28 = load i32, ptr %27, align 4, !tbaa !21 %29 = load i32, ptr @HTCAP_SupChannelWidthSet, align 4, !tbaa !5 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %42, label %32 32: ; preds = %26 %33 = getelementptr inbounds %struct.TYPE_12__, ptr %6, i64 0, i32 2 %34 = load i32, ptr %33, align 8, !tbaa !22 %35 = load i32, ptr @ExtHtCap_RecomTxWidthSet, align 4, !tbaa !5 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 br i1 %37, label %42, label %38 38: ; preds = %32 %39 = load i32, ptr @ExtHtCap_ExtChannelOffsetAbove, align 4, !tbaa !5 %40 = and i32 %39, %34 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %38, %32, %26 br label %46 43: ; preds = %16 %44 = load i64, ptr @ZM_MODE_AP, align 8, !tbaa !19 %45 = icmp eq i64 %17, %44 br i1 %45, label %46, label %50 46: ; preds = %43, %38, %14, %11, %2, %42 %47 = phi ptr [ @CWM_WIDTH20, %42 ], [ @CWM_WIDTH20, %2 ], [ @CWM_WIDTH40, %11 ], [ @CWM_WIDTH20, %14 ], [ @CWM_WIDTH40, %38 ], [ @CWM_WIDTH40, %43 ] %48 = load ptr, ptr %47, align 8, !tbaa !9 %49 = getelementptr inbounds %struct.TYPE_12__, ptr %6, i64 0, i32 1, i32 1 store ptr %48, ptr %49, align 8, !tbaa !23 br label %50 50: ; preds = %46, %43 ret void } declare i32 @zmw_get_wlan_dev(ptr noundef) local_unnamed_addr #1 declare i32 @zm_msg1_mm(i32 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_12__", !13, i64 0, !14, i64 8, !15, i64 24} !13 = !{!"long", !7, i64 0} !14 = !{!"TYPE_11__", !13, i64 0, !10, i64 8} !15 = !{!"TYPE_10__", !16, i64 0} !16 = !{!"TYPE_9__", !17, i64 0, !18, i64 4} !17 = !{!"TYPE_8__", !6, i64 0} !18 = !{!"TYPE_7__", !6, i64 0} !19 = !{!13, !13, i64 0} !20 = !{!12, !13, i64 0} !21 = !{!12, !6, i64 28} !22 = !{!12, !6, i64 24} !23 = !{!12, !10, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cwm.c_zfCoreCwmBusy.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cwm.c_zfCoreCwmBusy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ZM_LV_0 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"CwmBusy=\00", align 1 @wd = common local_unnamed_addr global ptr null, align 8 @CWM_MODE20 = common local_unnamed_addr global i64 0, align 8 @CWM_WIDTH20 = common local_unnamed_addr global ptr null, align 8 @CWM_MODE40 = common local_unnamed_addr global i64 0, align 8 @CWM_WIDTH40 = common local_unnamed_addr global ptr null, align 8 @ZM_MODE_INFRASTRUCTURE = common local_unnamed_addr global i64 0, align 8 @ZM_MODE_PSEUDO = common local_unnamed_addr global i64 0, align 8 @ZM_MODE_IBSS = common local_unnamed_addr global i64 0, align 8 @HTCAP_SupChannelWidthSet = common local_unnamed_addr global i32 0, align 4 @ExtHtCap_RecomTxWidthSet = common local_unnamed_addr global i32 0, align 4 @ExtHtCap_ExtChannelOffsetAbove = common local_unnamed_addr global i32 0, align 4 @ZM_MODE_AP = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @zfCoreCwmBusy(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2 %4 = load i32, ptr @ZM_LV_0, align 4, !tbaa !6 %5 = tail call i32 @zm_msg1_mm(i32 noundef %4, ptr noundef nonnull @.str, i64 noundef %1) #2 %6 = load ptr, ptr @wd, align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = load i64, ptr @CWM_MODE20, align 8, !tbaa !20 %10 = icmp eq i64 %8, %9 br i1 %10, label %46, label %11 11: ; preds = %2 %12 = load i64, ptr @CWM_MODE40, align 8, !tbaa !20 %13 = icmp eq i64 %8, %12 br i1 %13, label %46, label %14 14: ; preds = %11 %15 = icmp eq i64 %1, 0 br i1 %15, label %16, label %46 16: ; preds = %14 %17 = load i64, ptr %6, align 8, !tbaa !21 %18 = load i64, ptr @ZM_MODE_INFRASTRUCTURE, align 8, !tbaa !20 %19 = icmp eq i64 %17, %18 %20 = load i64, ptr @ZM_MODE_PSEUDO, align 8 %21 = icmp eq i64 %17, %20 %22 = select i1 %19, i1 true, i1 %21 %23 = load i64, ptr @ZM_MODE_IBSS, align 8 %24 = icmp eq i64 %17, %23 %25 = select i1 %22, i1 true, i1 %24 br i1 %25, label %26, label %43 26: ; preds = %16 %27 = getelementptr inbounds i8, ptr %6, i64 28 %28 = load i32, ptr %27, align 4, !tbaa !22 %29 = load i32, ptr @HTCAP_SupChannelWidthSet, align 4, !tbaa !6 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %42, label %32 32: ; preds = %26 %33 = getelementptr inbounds i8, ptr %6, i64 24 %34 = load i32, ptr %33, align 8, !tbaa !23 %35 = load i32, ptr @ExtHtCap_RecomTxWidthSet, align 4, !tbaa !6 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 br i1 %37, label %42, label %38 38: ; preds = %32 %39 = load i32, ptr @ExtHtCap_ExtChannelOffsetAbove, align 4, !tbaa !6 %40 = and i32 %39, %34 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %38, %32, %26 br label %46 43: ; preds = %16 %44 = load i64, ptr @ZM_MODE_AP, align 8, !tbaa !20 %45 = icmp eq i64 %17, %44 br i1 %45, label %46, label %50 46: ; preds = %43, %38, %14, %11, %2, %42 %47 = phi ptr [ @CWM_WIDTH20, %42 ], [ @CWM_WIDTH20, %2 ], [ @CWM_WIDTH40, %11 ], [ @CWM_WIDTH20, %14 ], [ @CWM_WIDTH40, %38 ], [ @CWM_WIDTH40, %43 ] %48 = load ptr, ptr %47, align 8, !tbaa !10 %49 = getelementptr inbounds i8, ptr %6, i64 16 store ptr %48, ptr %49, align 8, !tbaa !24 br label %50 50: ; preds = %46, %43 ret void } declare i32 @zmw_get_wlan_dev(ptr noundef) local_unnamed_addr #1 declare i32 @zm_msg1_mm(i32 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"TYPE_12__", !14, i64 0, !15, i64 8, !16, i64 24} !14 = !{!"long", !8, i64 0} !15 = !{!"TYPE_11__", !14, i64 0, !11, i64 8} !16 = !{!"TYPE_10__", !17, i64 0} !17 = !{!"TYPE_9__", !18, i64 0, !19, i64 4} !18 = !{!"TYPE_8__", !7, i64 0} !19 = !{!"TYPE_7__", !7, i64 0} !20 = !{!14, !14, i64 0} !21 = !{!13, !14, i64 0} !22 = !{!13, !7, i64 28} !23 = !{!13, !7, i64 24} !24 = !{!13, !11, i64 16}
fastsocket_kernel_drivers_staging_otus_80211core_extr_cwm.c_zfCoreCwmBusy
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_4162.c_banrl.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_4162.c_banrl.c" target datalayout = "e-m:e-p270:32:32-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 [29 x i8] c"INetCop(c) Security\09\09\09\09\09%s\0A\0A\00", align 1 @HOST_PARAM = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @banrl() local_unnamed_addr #0 { %1 = load ptr, ptr @HOST_PARAM, align 8, !tbaa !5 %2 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %1) #2 ret void } declare i32 @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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_4162.c_banrl.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_4162.c_banrl.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 [29 x i8] c"INetCop(c) Security\09\09\09\09\09%s\0A\0A\00", align 1 @HOST_PARAM = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @banrl() local_unnamed_addr #0 { %1 = load ptr, ptr @HOST_PARAM, align 8, !tbaa !6 %2 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %1) #2 ret void } declare i32 @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, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
exploitdb_exploits_linux_remote_extr_4162.c_banrl
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_msp3400-kthreads.c_watch_stereo.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_msp3400-kthreads.c_watch_stereo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @msp_once = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @watch_stereo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @watch_stereo(ptr noundef %0) #0 { %2 = tail call i32 @i2c_get_clientdata(ptr noundef %0) #2 %3 = tail call ptr @to_state(i32 noundef %2) #2 %4 = tail call i64 @msp_detect_stereo(ptr noundef %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @msp_set_audmode(ptr noundef %0) #2 br label %8 8: ; preds = %6, %1 %9 = load i64, ptr @msp_once, align 8, !tbaa !5 %10 = icmp eq i64 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %8 store i64 0, ptr %3, align 8, !tbaa !9 br label %12 12: ; preds = %11, %8 ret void } declare ptr @to_state(i32 noundef) local_unnamed_addr #1 declare i32 @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i64 @msp_detect_stereo(ptr noundef) local_unnamed_addr #1 declare i32 @msp_set_audmode(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"msp_state", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_msp3400-kthreads.c_watch_stereo.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_msp3400-kthreads.c_watch_stereo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @msp_once = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @watch_stereo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @watch_stereo(ptr noundef %0) #0 { %2 = tail call i32 @i2c_get_clientdata(ptr noundef %0) #2 %3 = tail call ptr @to_state(i32 noundef %2) #2 %4 = tail call i64 @msp_detect_stereo(ptr noundef %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @msp_set_audmode(ptr noundef %0) #2 br label %8 8: ; preds = %6, %1 %9 = load i64, ptr @msp_once, align 8, !tbaa !6 %10 = icmp eq i64 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %8 store i64 0, ptr %3, align 8, !tbaa !10 br label %12 12: ; preds = %11, %8 ret void } declare ptr @to_state(i32 noundef) local_unnamed_addr #1 declare i32 @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i64 @msp_detect_stereo(ptr noundef) local_unnamed_addr #1 declare i32 @msp_set_audmode(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"msp_state", !7, i64 0}
linux_drivers_media_i2c_extr_msp3400-kthreads.c_watch_stereo
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_ratelim.c_bufferevent_get_read_max_.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_ratelim.c_bufferevent_get_read_max_.c" target datalayout = "e-m:e-p270:32:32-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 @bufferevent_get_read_max_(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @bufferevent_get_rlim_max_(ptr noundef %0, i32 noundef 0) #2 ret i32 %2 } declare i32 @bufferevent_get_rlim_max_(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/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_ratelim.c_bufferevent_get_read_max_.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_ratelim.c_bufferevent_get_read_max_.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 @bufferevent_get_read_max_(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @bufferevent_get_rlim_max_(ptr noundef %0, i32 noundef 0) #2 ret i32 %2 } declare i32 @bufferevent_get_rlim_max_(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)"}
freebsd_contrib_ntp_sntp_libevent_extr_bufferevent_ratelim.c_bufferevent_get_read_max_
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/lockstat/extr_lockstat.c_sitecmp_anylock.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/lockstat/extr_lockstat.c_sitecmp_anylock.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i64 } @g_stkdepth = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sitecmp_anylock], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @sitecmp_anylock(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = icmp slt i64 %3, %4 br i1 %5, label %37, label %6 6: ; preds = %2 %7 = icmp sgt i64 %3, %4 br i1 %7, label %37, label %8 8: ; preds = %6 %9 = load i32, ptr @g_stkdepth, align 4, !tbaa !11 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %12 = zext i32 %9 to i64 br label %13 13: ; preds = %26, %8 %14 = phi i64 [ %15, %26 ], [ %12, %8 ] %15 = add nsw i64 %14, -1 %16 = trunc i64 %14 to i32 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %28 18: ; preds = %13 %19 = load ptr, ptr %10, align 8, !tbaa !13 %20 = getelementptr inbounds i64, ptr %19, i64 %15 %21 = load i64, ptr %20, align 8, !tbaa !14 %22 = load ptr, ptr %11, align 8, !tbaa !13 %23 = getelementptr inbounds i64, ptr %22, i64 %15 %24 = load i64, ptr %23, align 8, !tbaa !14 %25 = icmp slt i64 %21, %24 br i1 %25, label %37, label %26 26: ; preds = %18 %27 = icmp sgt i64 %21, %24 br i1 %27, label %37, label %13, !llvm.loop !15 28: ; preds = %13 %29 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %30 = load i64, ptr %29, align 8, !tbaa !17 %31 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 %32 = load i64, ptr %31, align 8, !tbaa !17 %33 = icmp slt i64 %30, %32 br i1 %33, label %37, label %34 34: ; preds = %28 %35 = icmp sgt i64 %30, %32 %36 = zext i1 %35 to i32 br label %37 37: ; preds = %26, %18, %34, %28, %6, %2 %38 = phi i32 [ -1, %2 ], [ 1, %6 ], [ -1, %28 ], [ %36, %34 ], [ 1, %26 ], [ -1, %18 ] ret i32 %38 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!7, !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/lockstat/extr_lockstat.c_sitecmp_anylock.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/lockstat/extr_lockstat.c_sitecmp_anylock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @g_stkdepth = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sitecmp_anylock], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 -1, 2) i32 @sitecmp_anylock(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = icmp slt i64 %3, %4 br i1 %5, label %37, label %6 6: ; preds = %2 %7 = icmp sgt i64 %3, %4 br i1 %7, label %37, label %8 8: ; preds = %6 %9 = load i32, ptr @g_stkdepth, align 4, !tbaa !12 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = zext i32 %9 to i64 br label %13 13: ; preds = %26, %8 %14 = phi i64 [ %15, %26 ], [ %12, %8 ] %15 = add nsw i64 %14, -1 %16 = trunc nuw i64 %14 to i32 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %28 18: ; preds = %13 %19 = load ptr, ptr %10, align 8, !tbaa !14 %20 = getelementptr inbounds i64, ptr %19, i64 %15 %21 = load i64, ptr %20, align 8, !tbaa !15 %22 = load ptr, ptr %11, align 8, !tbaa !14 %23 = getelementptr inbounds i64, ptr %22, i64 %15 %24 = load i64, ptr %23, align 8, !tbaa !15 %25 = icmp slt i64 %21, %24 br i1 %25, label %37, label %26 26: ; preds = %18 %27 = icmp sgt i64 %21, %24 br i1 %27, label %37, label %13, !llvm.loop !16 28: ; preds = %13 %29 = getelementptr inbounds i8, ptr %0, i64 16 %30 = load i64, ptr %29, align 8, !tbaa !18 %31 = getelementptr inbounds i8, ptr %1, i64 16 %32 = load i64, ptr %31, align 8, !tbaa !18 %33 = icmp slt i64 %30, %32 br i1 %33, label %37, label %34 34: ; preds = %28 %35 = icmp sgt i64 %30, %32 %36 = zext i1 %35 to i32 br label %37 37: ; preds = %26, %18, %34, %28, %6, %2 %38 = phi i32 [ -1, %2 ], [ 1, %6 ], [ -1, %28 ], [ %36, %34 ], [ 1, %26 ], [ -1, %18 ] ret i32 %38 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!8, !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!7, !8, i64 16}
freebsd_cddl_contrib_opensolaris_cmd_lockstat_extr_lockstat.c_sitecmp_anylock
; ModuleID = 'AnghaBench/reactos/drivers/bus/acpi/acpica/events/extr_evevent.c_AcpiEvFixedEventDetect.c' source_filename = "AnghaBench/reactos/drivers/bus/acpi/acpica/events/extr_evevent.c_AcpiEvFixedEventDetect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i64, i64 } @ACPI_INTERRUPT_NOT_HANDLED = dso_local local_unnamed_addr global i64 0, align 8 @EvFixedEventDetect = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_REGISTER_PM1_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_REGISTER_PM1_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_DB_INTERRUPTS = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_NUM_FIXED_EVENTS = dso_local local_unnamed_addr global i64 0, align 8 @AcpiGbl_FixedEventInfo = dso_local local_unnamed_addr global ptr null, align 8 @AcpiFixedEventCount = dso_local local_unnamed_addr global ptr null, align 8 @ACPI_EVENT_TYPE_FIXED = dso_local local_unnamed_addr global i32 0, align 4 @AcpiGbl_GlobalEventHandlerContext = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @AcpiEvFixedEventDetect() local_unnamed_addr #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = load i64, ptr @ACPI_INTERRUPT_NOT_HANDLED, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %4 = load i32, ptr @EvFixedEventDetect, align 4, !tbaa !9 %5 = tail call i32 @ACPI_FUNCTION_NAME(i32 noundef %4) #3 %6 = load i32, ptr @ACPI_REGISTER_PM1_STATUS, align 4, !tbaa !9 %7 = call i32 @AcpiHwRegisterRead(i32 noundef %6, ptr noundef nonnull %1) #3 %8 = load i32, ptr @ACPI_REGISTER_PM1_ENABLE, align 4, !tbaa !9 %9 = call i32 @AcpiHwRegisterRead(i32 noundef %8, ptr noundef nonnull %2) #3 %10 = or i32 %9, %7 %11 = call i64 @ACPI_FAILURE(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %55 13: ; preds = %0 %14 = load i64, ptr %1, align 8, !tbaa !5 %15 = trunc i64 %14 to i32 %16 = call i32 @ACPI_DEBUG_PRINT(i32 noundef %15) #3 %17 = load i64, ptr @ACPI_NUM_FIXED_EVENTS, align 8, !tbaa !5 %18 = icmp eq i64 %17, 0 br i1 %18, label %55, label %19 19: ; preds = %13 %20 = load ptr, ptr @AcpiGbl_FixedEventInfo, align 8, !tbaa !11 br label %21 21: ; preds = %19, %49 %22 = phi i64 [ %50, %49 ], [ %17, %19 ] %23 = phi ptr [ %51, %49 ], [ %20, %19 ] %24 = phi i64 [ %53, %49 ], [ 0, %19 ] %25 = phi i64 [ %52, %49 ], [ %3, %19 ] %26 = load i64, ptr %1, align 8, !tbaa !5 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %24 %28 = load i64, ptr %27, align 8, !tbaa !13 %29 = and i64 %28, %26 %30 = icmp eq i64 %29, 0 br i1 %30, label %49, label %31 31: ; preds = %21 %32 = load i64, ptr %2, align 8, !tbaa !5 %33 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %24, i32 1 %34 = load i64, ptr %33, align 8, !tbaa !15 %35 = and i64 %34, %32 %36 = icmp eq i64 %35, 0 br i1 %36, label %49, label %37 37: ; preds = %31 %38 = load ptr, ptr @AcpiFixedEventCount, align 8, !tbaa !11 %39 = getelementptr inbounds i32, ptr %38, i64 %24 %40 = load i32, ptr %39, align 4, !tbaa !9 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !9 %42 = load i32, ptr @ACPI_EVENT_TYPE_FIXED, align 4, !tbaa !9 %43 = load i32, ptr @AcpiGbl_GlobalEventHandlerContext, align 4, !tbaa !9 %44 = call i32 @AcpiGbl_GlobalEventHandler(i32 noundef %42, ptr noundef null, i64 noundef %24, i32 noundef %43) #3 %45 = call i64 @AcpiEvFixedEventDispatch(i64 noundef %24) #3 %46 = or i64 %45, %25 %47 = load ptr, ptr @AcpiGbl_FixedEventInfo, align 8, !tbaa !11 %48 = load i64, ptr @ACPI_NUM_FIXED_EVENTS, align 8, !tbaa !5 br label %49 49: ; preds = %21, %31, %37 %50 = phi i64 [ %48, %37 ], [ %22, %31 ], [ %22, %21 ] %51 = phi ptr [ %47, %37 ], [ %23, %31 ], [ %23, %21 ] %52 = phi i64 [ %46, %37 ], [ %25, %31 ], [ %25, %21 ] %53 = add nuw i64 %24, 1 %54 = icmp ult i64 %53, %50 br i1 %54, label %21, label %55, !llvm.loop !16 55: ; preds = %49, %13, %0 %56 = phi i64 [ %3, %0 ], [ %3, %13 ], [ %52, %49 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret i64 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ACPI_FUNCTION_NAME(i32 noundef) local_unnamed_addr #2 declare i32 @AcpiHwRegisterRead(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #2 declare i32 @ACPI_DEBUG_PRINT(i32 noundef) local_unnamed_addr #2 declare i32 @AcpiGbl_GlobalEventHandler(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AcpiEvFixedEventDispatch(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_2__", !6, i64 0, !6, i64 8} !15 = !{!14, !6, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/drivers/bus/acpi/acpica/events/extr_evevent.c_AcpiEvFixedEventDetect.c' source_filename = "AnghaBench/reactos/drivers/bus/acpi/acpica/events/extr_evevent.c_AcpiEvFixedEventDetect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, i64 } @ACPI_INTERRUPT_NOT_HANDLED = common local_unnamed_addr global i64 0, align 8 @EvFixedEventDetect = common local_unnamed_addr global i32 0, align 4 @ACPI_REGISTER_PM1_STATUS = common local_unnamed_addr global i32 0, align 4 @ACPI_REGISTER_PM1_ENABLE = common local_unnamed_addr global i32 0, align 4 @ACPI_DB_INTERRUPTS = common local_unnamed_addr global i32 0, align 4 @ACPI_NUM_FIXED_EVENTS = common local_unnamed_addr global i64 0, align 8 @AcpiGbl_FixedEventInfo = common local_unnamed_addr global ptr null, align 8 @AcpiFixedEventCount = common local_unnamed_addr global ptr null, align 8 @ACPI_EVENT_TYPE_FIXED = common local_unnamed_addr global i32 0, align 4 @AcpiGbl_GlobalEventHandlerContext = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @AcpiEvFixedEventDetect() local_unnamed_addr #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = load i64, ptr @ACPI_INTERRUPT_NOT_HANDLED, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %4 = load i32, ptr @EvFixedEventDetect, align 4, !tbaa !10 %5 = tail call i32 @ACPI_FUNCTION_NAME(i32 noundef %4) #3 %6 = load i32, ptr @ACPI_REGISTER_PM1_STATUS, align 4, !tbaa !10 %7 = call i32 @AcpiHwRegisterRead(i32 noundef %6, ptr noundef nonnull %1) #3 %8 = load i32, ptr @ACPI_REGISTER_PM1_ENABLE, align 4, !tbaa !10 %9 = call i32 @AcpiHwRegisterRead(i32 noundef %8, ptr noundef nonnull %2) #3 %10 = or i32 %9, %7 %11 = call i64 @ACPI_FAILURE(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %55 13: ; preds = %0 %14 = load i64, ptr %1, align 8, !tbaa !6 %15 = trunc i64 %14 to i32 %16 = call i32 @ACPI_DEBUG_PRINT(i32 noundef %15) #3 %17 = load i64, ptr @ACPI_NUM_FIXED_EVENTS, align 8, !tbaa !6 %18 = icmp eq i64 %17, 0 br i1 %18, label %55, label %19 19: ; preds = %13 %20 = load ptr, ptr @AcpiGbl_FixedEventInfo, align 8, !tbaa !12 br label %21 21: ; preds = %19, %49 %22 = phi i64 [ %50, %49 ], [ %17, %19 ] %23 = phi ptr [ %51, %49 ], [ %20, %19 ] %24 = phi i64 [ %53, %49 ], [ 0, %19 ] %25 = phi i64 [ %52, %49 ], [ %3, %19 ] %26 = load i64, ptr %1, align 8, !tbaa !6 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %24 %28 = load i64, ptr %27, align 8, !tbaa !14 %29 = and i64 %28, %26 %30 = icmp eq i64 %29, 0 br i1 %30, label %49, label %31 31: ; preds = %21 %32 = load i64, ptr %2, align 8, !tbaa !6 %33 = getelementptr inbounds i8, ptr %27, i64 8 %34 = load i64, ptr %33, align 8, !tbaa !16 %35 = and i64 %34, %32 %36 = icmp eq i64 %35, 0 br i1 %36, label %49, label %37 37: ; preds = %31 %38 = load ptr, ptr @AcpiFixedEventCount, align 8, !tbaa !12 %39 = getelementptr inbounds i32, ptr %38, i64 %24 %40 = load i32, ptr %39, align 4, !tbaa !10 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !10 %42 = load i32, ptr @ACPI_EVENT_TYPE_FIXED, align 4, !tbaa !10 %43 = load i32, ptr @AcpiGbl_GlobalEventHandlerContext, align 4, !tbaa !10 %44 = call i32 @AcpiGbl_GlobalEventHandler(i32 noundef %42, ptr noundef null, i64 noundef %24, i32 noundef %43) #3 %45 = call i64 @AcpiEvFixedEventDispatch(i64 noundef %24) #3 %46 = or i64 %45, %25 %47 = load ptr, ptr @AcpiGbl_FixedEventInfo, align 8, !tbaa !12 %48 = load i64, ptr @ACPI_NUM_FIXED_EVENTS, align 8, !tbaa !6 br label %49 49: ; preds = %21, %31, %37 %50 = phi i64 [ %48, %37 ], [ %22, %31 ], [ %22, %21 ] %51 = phi ptr [ %47, %37 ], [ %23, %31 ], [ %23, %21 ] %52 = phi i64 [ %46, %37 ], [ %25, %31 ], [ %25, %21 ] %53 = add nuw i64 %24, 1 %54 = icmp ult i64 %53, %50 br i1 %54, label %21, label %55, !llvm.loop !17 55: ; preds = %49, %13, %0 %56 = phi i64 [ %3, %0 ], [ %3, %13 ], [ %52, %49 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret i64 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ACPI_FUNCTION_NAME(i32 noundef) local_unnamed_addr #2 declare i32 @AcpiHwRegisterRead(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #2 declare i32 @ACPI_DEBUG_PRINT(i32 noundef) local_unnamed_addr #2 declare i32 @AcpiGbl_GlobalEventHandler(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @AcpiEvFixedEventDispatch(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !16 = !{!15, !7, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
reactos_drivers_bus_acpi_acpica_events_extr_evevent.c_AcpiEvFixedEventDetect
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/sn9c102/extr_sn9c102_tas5130d1b.c_sn9c102_probe_tas5130d1b.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/sn9c102/extr_sn9c102_tas5130d1b.c_sn9c102_probe_tas5130d1b.c" target datalayout = "e-m:e-p270:32:32-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.usb_device_id = type { i32 } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @tas5130d1b = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sn9c102_probe_tas5130d1b(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [4 x %struct.usb_device_id], align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = tail call i32 @USB_DEVICE(i32 noundef 3141, i32 noundef 24612) #3 store i32 %3, ptr %2, align 16, !tbaa !5 %4 = getelementptr inbounds %struct.usb_device_id, ptr %2, i64 1 %5 = tail call i32 @USB_DEVICE(i32 noundef 3141, i32 noundef 24613) #3 store i32 %5, ptr %4, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.usb_device_id, ptr %2, i64 2 %7 = tail call i32 @USB_DEVICE(i32 noundef 3141, i32 noundef 24746) #3 store i32 %7, ptr %6, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.usb_device_id, ptr %2, i64 3 store i32 0, ptr %8, align 4, !tbaa !5 %9 = call i32 @sn9c102_match_id(ptr noundef %0, ptr noundef nonnull %2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @ENODEV, align 4, !tbaa !10 %13 = sub nsw i32 0, %12 br label %16 14: ; preds = %1 %15 = call i32 @sn9c102_attach_sensor(ptr noundef %0, ptr noundef nonnull @tas5130d1b) #3 br label %16 16: ; preds = %14, %11 %17 = phi i32 [ 0, %14 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @USB_DEVICE(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sn9c102_match_id(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sn9c102_attach_sensor(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"usb_device_id", !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/fastsocket/kernel/drivers/media/video/sn9c102/extr_sn9c102_tas5130d1b.c_sn9c102_probe_tas5130d1b.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/sn9c102/extr_sn9c102_tas5130d1b.c_sn9c102_probe_tas5130d1b.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.usb_device_id = type { i32 } @ENODEV = common local_unnamed_addr global i32 0, align 4 @tas5130d1b = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @sn9c102_probe_tas5130d1b(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [4 x %struct.usb_device_id], align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = tail call i32 @USB_DEVICE(i32 noundef 3141, i32 noundef 24612) #3 store i32 %3, ptr %2, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %2, i64 4 %5 = tail call i32 @USB_DEVICE(i32 noundef 3141, i32 noundef 24613) #3 store i32 %5, ptr %4, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %2, i64 8 %7 = tail call i32 @USB_DEVICE(i32 noundef 3141, i32 noundef 24746) #3 store i32 %7, ptr %6, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %2, i64 12 store i32 0, ptr %8, align 4, !tbaa !6 %9 = call i32 @sn9c102_match_id(ptr noundef %0, ptr noundef nonnull %2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @ENODEV, align 4, !tbaa !11 %13 = sub nsw i32 0, %12 br label %16 14: ; preds = %1 %15 = call i32 @sn9c102_attach_sensor(ptr noundef %0, ptr noundef nonnull @tas5130d1b) #3 br label %16 16: ; preds = %14, %11 %17 = phi i32 [ 0, %14 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @USB_DEVICE(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sn9c102_match_id(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sn9c102_attach_sensor(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"usb_device_id", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_media_video_sn9c102_extr_sn9c102_tas5130d1b.c_sn9c102_probe_tas5130d1b
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_mac.c_e1000e_set_pcie_no_snoop.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_mac.c_e1000e_set_pcie_no_snoop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GCR = dso_local local_unnamed_addr global i32 0, align 4 @PCIE_NO_SNOOP_ALL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @e1000e_set_pcie_no_snoop(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i32 %1, 0 br i1 %3, label %13, label %4 4: ; preds = %2 %5 = load i32, ptr @GCR, align 4, !tbaa !5 %6 = tail call i32 @er32(i32 noundef %5) #2 %7 = load i32, ptr @PCIE_NO_SNOOP_ALL, align 4, !tbaa !5 %8 = xor i32 %7, -1 %9 = and i32 %6, %8 %10 = or i32 %9, %1 %11 = load i32, ptr @GCR, align 4, !tbaa !5 %12 = tail call i32 @ew32(i32 noundef %11, i32 noundef %10) #2 br label %13 13: ; preds = %4, %2 ret void } declare i32 @er32(i32 noundef) local_unnamed_addr #1 declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_mac.c_e1000e_set_pcie_no_snoop.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_mac.c_e1000e_set_pcie_no_snoop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GCR = common local_unnamed_addr global i32 0, align 4 @PCIE_NO_SNOOP_ALL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @e1000e_set_pcie_no_snoop(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i32 %1, 0 br i1 %3, label %13, label %4 4: ; preds = %2 %5 = load i32, ptr @GCR, align 4, !tbaa !6 %6 = tail call i32 @er32(i32 noundef %5) #2 %7 = load i32, ptr @PCIE_NO_SNOOP_ALL, align 4, !tbaa !6 %8 = xor i32 %7, -1 %9 = and i32 %6, %8 %10 = or i32 %9, %1 %11 = load i32, ptr @GCR, align 4, !tbaa !6 %12 = tail call i32 @ew32(i32 noundef %11, i32 noundef %10) #2 br label %13 13: ; preds = %4, %2 ret void } declare i32 @er32(i32 noundef) local_unnamed_addr #1 declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_intel_e1000e_extr_mac.c_e1000e_set_pcie_no_snoop
; ModuleID = 'AnghaBench/freebsd/sys/dev/altera/msgdma/extr_msgdma.c_msgdma_channel_control.c' source_filename = "AnghaBench/freebsd/sys/dev/altera/msgdma/extr_msgdma.c_msgdma_channel_control.c" target datalayout = "e-m:e-p270:32:32-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 @msgdma_channel_control], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @msgdma_channel_control(i32 noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 { %4 = tail call ptr @device_get_softc(i32 noundef %0) #2 %5 = add i32 %2, -128 %6 = icmp ult i32 %5, 3 %7 = sext i1 %6 to i32 ret i32 %7 } declare ptr @device_get_softc(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/freebsd/sys/dev/altera/msgdma/extr_msgdma.c_msgdma_channel_control.c' source_filename = "AnghaBench/freebsd/sys/dev/altera/msgdma/extr_msgdma.c_msgdma_channel_control.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 @msgdma_channel_control], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @msgdma_channel_control(i32 noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 { %4 = tail call ptr @device_get_softc(i32 noundef %0) #2 %5 = add i32 %2, -128 %6 = icmp ult i32 %5, 3 %7 = sext i1 %6 to i32 ret i32 %7 } declare ptr @device_get_softc(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)"}
freebsd_sys_dev_altera_msgdma_extr_msgdma.c_msgdma_channel_control
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx23885/extr_altera-ci.c_altera_ci_stop_feed.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx23885/extr_altera-ci.c_altera_ci_stop_feed.c" target datalayout = "e-m:e-p270:32:32-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 @altera_ci_stop_feed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @altera_ci_stop_feed(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @altera_pid_feed_control(i32 noundef %3, i32 noundef %1, ptr noundef nonnull %0, i32 noundef 0) #2 ret i32 0 } declare i32 @altera_pid_feed_control(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dvb_demux_feed", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx23885/extr_altera-ci.c_altera_ci_stop_feed.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx23885/extr_altera-ci.c_altera_ci_stop_feed.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 @altera_ci_stop_feed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @altera_ci_stop_feed(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @altera_pid_feed_control(i32 noundef %3, i32 noundef %1, ptr noundef nonnull %0, i32 noundef 0) #2 ret i32 0 } declare i32 @altera_pid_feed_control(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dvb_demux_feed", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_pci_cx23885_extr_altera-ci.c_altera_ci_stop_feed
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/extr_nv04.c_nv04_devinit_pll_set.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/extr_nv04.c_nv04_devinit_pll_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nvkm_pll_vals = type { i32, i32, i32, i32, i32, i32 } %struct.nvbios_pll = type { i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @nv04_devinit_pll_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.nvkm_pll_vals, align 4 %5 = alloca %struct.nvbios_pll, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = load ptr, ptr %0, align 8, !tbaa !5 %12 = load ptr, ptr %11, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = freeze i32 %13 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 %15 = icmp sgt i32 %1, 16476 %16 = add nsw i32 %1, -4 %17 = select i1 %15, i32 %1, i32 %16 %18 = call i32 @nvbios_pll_parse(ptr noundef nonnull %12, i32 noundef %17, ptr noundef nonnull %5) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %47 20: ; preds = %3 %21 = call i32 @nv04_pll_calc(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %2, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @EINVAL, align 4, !tbaa !16 %25 = sub nsw i32 0, %24 br label %47 26: ; preds = %20 %27 = load i32, ptr %5, align 4, !tbaa !17 %28 = getelementptr inbounds %struct.nvkm_pll_vals, ptr %4, i64 0, i32 5 store i32 %27, ptr %28, align 4, !tbaa !19 %29 = load i32, ptr %6, align 4, !tbaa !16 store i32 %29, ptr %4, align 4, !tbaa !21 %30 = load i32, ptr %7, align 4, !tbaa !16 %31 = getelementptr inbounds %struct.nvkm_pll_vals, ptr %4, i64 0, i32 1 store i32 %30, ptr %31, align 4, !tbaa !22 %32 = load i32, ptr %8, align 4, !tbaa !16 %33 = getelementptr inbounds %struct.nvkm_pll_vals, ptr %4, i64 0, i32 2 store i32 %32, ptr %33, align 4, !tbaa !23 %34 = load i32, ptr %9, align 4, !tbaa !16 %35 = getelementptr inbounds %struct.nvkm_pll_vals, ptr %4, i64 0, i32 3 store i32 %34, ptr %35, align 4, !tbaa !24 %36 = load i32, ptr %10, align 4, !tbaa !16 %37 = getelementptr inbounds %struct.nvkm_pll_vals, ptr %4, i64 0, i32 4 store i32 %36, ptr %37, align 4, !tbaa !25 %38 = icmp sgt i32 %14, 63 br i1 %38, label %40, label %39 39: ; preds = %26 switch i32 %14, label %45 [ i32 54, label %40 i32 53, label %40 i32 49, label %40 i32 48, label %40 ] 40: ; preds = %39, %39, %39, %39, %26 br i1 %15, label %41, label %43 41: ; preds = %40 %42 = call i32 @setPLL_double_highregs(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %4) #3 br label %47 43: ; preds = %40 %44 = call i32 @setPLL_double_lowregs(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %4) #3 br label %47 45: ; preds = %39 %46 = call i32 @setPLL_single(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %4) #3 br label %47 47: ; preds = %45, %43, %41, %3, %23 %48 = phi i32 [ %25, %23 ], [ %18, %3 ], [ 0, %41 ], [ 0, %43 ], [ 0, %45 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret i32 %48 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nvbios_pll_parse(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nv04_pll_calc(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setPLL_double_highregs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setPLL_double_lowregs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setPLL_single(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nvkm_subdev", !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} !12 = !{!13, !15, i64 0} !13 = !{!"nvkm_bios", !14, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!18, !15, i64 0} !18 = !{!"nvbios_pll", !15, i64 0} !19 = !{!20, !15, i64 20} !20 = !{!"nvkm_pll_vals", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20} !21 = !{!20, !15, i64 0} !22 = !{!20, !15, i64 4} !23 = !{!20, !15, i64 8} !24 = !{!20, !15, i64 12} !25 = !{!20, !15, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/extr_nv04.c_nv04_devinit_pll_set.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/extr_nv04.c_nv04_devinit_pll_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nvkm_pll_vals = type { i32, i32, i32, i32, i32, i32 } %struct.nvbios_pll = type { i32 } @EINVAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @nv04_devinit_pll_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.nvkm_pll_vals, align 4 %5 = alloca %struct.nvbios_pll, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = load ptr, ptr %0, align 8, !tbaa !6 %12 = load ptr, ptr %11, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = freeze i32 %13 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 %15 = icmp sgt i32 %1, 16476 %16 = add nsw i32 %1, -4 %17 = select i1 %15, i32 %1, i32 %16 %18 = call i32 @nvbios_pll_parse(ptr noundef nonnull %12, i32 noundef %17, ptr noundef nonnull %5) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %47 20: ; preds = %3 %21 = call i32 @nv04_pll_calc(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %2, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @EINVAL, align 4, !tbaa !17 %25 = sub nsw i32 0, %24 br label %47 26: ; preds = %20 %27 = load i32, ptr %5, align 4, !tbaa !18 %28 = getelementptr inbounds i8, ptr %4, i64 20 store i32 %27, ptr %28, align 4, !tbaa !20 %29 = load i32, ptr %6, align 4, !tbaa !17 store i32 %29, ptr %4, align 4, !tbaa !22 %30 = load i32, ptr %7, align 4, !tbaa !17 %31 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %30, ptr %31, align 4, !tbaa !23 %32 = load i32, ptr %8, align 4, !tbaa !17 %33 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %32, ptr %33, align 4, !tbaa !24 %34 = load i32, ptr %9, align 4, !tbaa !17 %35 = getelementptr inbounds i8, ptr %4, i64 12 store i32 %34, ptr %35, align 4, !tbaa !25 %36 = load i32, ptr %10, align 4, !tbaa !17 %37 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %36, ptr %37, align 4, !tbaa !26 %38 = icmp sgt i32 %14, 63 br i1 %38, label %40, label %39 39: ; preds = %26 switch i32 %14, label %45 [ i32 54, label %40 i32 53, label %40 i32 49, label %40 i32 48, label %40 ] 40: ; preds = %39, %39, %39, %39, %26 br i1 %15, label %41, label %43 41: ; preds = %40 %42 = call i32 @setPLL_double_highregs(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %4) #3 br label %47 43: ; preds = %40 %44 = call i32 @setPLL_double_lowregs(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %4) #3 br label %47 45: ; preds = %39 %46 = call i32 @setPLL_single(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %4) #3 br label %47 47: ; preds = %45, %43, %41, %3, %23 %48 = phi i32 [ %25, %23 ], [ %18, %3 ], [ 0, %41 ], [ 0, %43 ], [ 0, %45 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret i32 %48 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nvbios_pll_parse(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nv04_pll_calc(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setPLL_double_highregs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setPLL_double_lowregs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setPLL_single(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nvkm_subdev", !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} !13 = !{!14, !16, i64 0} !14 = !{!"nvkm_bios", !15, i64 0} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!16, !16, i64 0} !18 = !{!19, !16, i64 0} !19 = !{!"nvbios_pll", !16, i64 0} !20 = !{!21, !16, i64 20} !21 = !{!"nvkm_pll_vals", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20} !22 = !{!21, !16, i64 0} !23 = !{!21, !16, i64 4} !24 = !{!21, !16, i64 8} !25 = !{!21, !16, i64 12} !26 = !{!21, !16, i64 16}
linux_drivers_gpu_drm_nouveau_nvkm_subdev_devinit_extr_nv04.c_nv04_devinit_pll_set
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_record.c_perf_probe_api.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_record.c_perf_probe_api.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"cycles:u\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"instructions:u\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"cpu-clock:u\00", align 1 @__const.perf_probe_api.try = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr null], align 16 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @perf_probe_api], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @perf_probe_api(i32 noundef %0) #0 { %2 = tail call ptr @perf_cpu_map__new(ptr noundef null) #2 %3 = icmp eq ptr %2, null br i1 %3, label %21, label %4 4: ; preds = %1 %5 = load ptr, ptr %2, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @perf_cpu_map__put(ptr noundef nonnull %2) #2 br label %8 8: ; preds = %14, %4 %9 = phi i64 [ %15, %14 ], [ 0, %4 ] %10 = getelementptr inbounds [4 x ptr], ptr @__const.perf_probe_api.try, i64 0, i64 %9 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = tail call i32 @perf_do_probe_api(i32 noundef %0, i32 noundef %6, ptr noundef %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %21, label %14 14: ; preds = %8 %15 = add nuw nsw i64 %9, 1 %16 = load i32, ptr @EAGAIN, align 4, !tbaa !10 %17 = sub nsw i32 0, %16 %18 = icmp ne i32 %12, %17 %19 = icmp eq i64 %15, 3 %20 = select i1 %18, i1 true, i1 %19 br i1 %20, label %21, label %8, !llvm.loop !13 21: ; preds = %14, %8, %1 %22 = phi i32 [ 0, %1 ], [ 0, %14 ], [ 1, %8 ] ret i32 %22 } declare ptr @perf_cpu_map__new(ptr noundef) local_unnamed_addr #1 declare i32 @perf_cpu_map__put(ptr noundef) local_unnamed_addr #1 declare i32 @perf_do_probe_api(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"perf_cpu_map", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_record.c_perf_probe_api.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_record.c_perf_probe_api.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"cycles:u\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"instructions:u\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"cpu-clock:u\00", align 1 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @perf_probe_api], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @perf_probe_api(i32 noundef %0) #0 { %2 = tail call ptr @perf_cpu_map__new(ptr noundef null) #2 %3 = icmp eq ptr %2, null br i1 %3, label %25, label %4 4: ; preds = %1 %5 = load ptr, ptr %2, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @perf_cpu_map__put(ptr noundef nonnull %2) #2 %8 = tail call i32 @perf_do_probe_api(i32 noundef %0, i32 noundef %6, ptr noundef nonnull @.str) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %25, label %10 10: ; preds = %4 %11 = load i32, ptr @EAGAIN, align 4, !tbaa !11 %12 = sub nsw i32 0, %11 %13 = icmp eq i32 %8, %12 br i1 %13, label %14, label %25, !llvm.loop !13 14: ; preds = %10 %15 = tail call i32 @perf_do_probe_api(i32 noundef %0, i32 noundef %6, ptr noundef nonnull @.str.1) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %25, label %17 17: ; preds = %14 %18 = load i32, ptr @EAGAIN, align 4, !tbaa !11 %19 = sub nsw i32 0, %18 %20 = icmp eq i32 %15, %19 br i1 %20, label %21, label %25, !llvm.loop !13 21: ; preds = %17 %22 = tail call i32 @perf_do_probe_api(i32 noundef %0, i32 noundef %6, ptr noundef nonnull @.str.2) #2 %23 = icmp eq i32 %22, 0 %24 = select i1 %23, i32 1, i32 0 br label %25 25: ; preds = %21, %10, %4, %14, %17, %1 %26 = phi i32 [ 0, %1 ], [ 0, %10 ], [ 1, %4 ], [ 1, %14 ], [ 0, %17 ], [ %24, %21 ] ret i32 %26 } declare ptr @perf_cpu_map__new(ptr noundef) local_unnamed_addr #1 declare i32 @perf_cpu_map__put(ptr noundef) local_unnamed_addr #1 declare i32 @perf_do_probe_api(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"perf_cpu_map", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
linux_tools_perf_util_extr_record.c_perf_probe_api
; ModuleID = 'AnghaBench/freebsd/contrib/cortex-strings/benchmarks/multi/extr_harness.c_xmemset.c' source_filename = "AnghaBench/freebsd/contrib/cortex-strings/benchmarks/multi/extr_harness.c_xmemset.c" target datalayout = "e-m:e-p270:32:32-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 @xmemset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xmemset(ptr noundef %0, ptr nocapture readnone %1, i64 noundef %2) #0 { %4 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i64 noundef %2) #2 %5 = tail call i32 @SPOIL(i32 noundef %4) #2 ret void } declare i32 @SPOIL(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/cortex-strings/benchmarks/multi/extr_harness.c_xmemset.c' source_filename = "AnghaBench/freebsd/contrib/cortex-strings/benchmarks/multi/extr_harness.c_xmemset.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 @xmemset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xmemset(ptr noundef %0, ptr nocapture readnone %1, i64 noundef %2) #0 { %4 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i64 noundef %2) #2 %5 = tail call i32 @SPOIL(i32 noundef %4) #2 ret void } declare i32 @SPOIL(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_cortex-strings_benchmarks_multi_extr_harness.c_xmemset
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pci.c_mtd_pci_read8.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pci.c_mtd_pci_read8.c" target datalayout = "e-m:e-p270:32:32-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.map_pci_info = type { ptr, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @mtd_pci_read8], section "llvm.metadata" ; Function Attrs: noreturn nounwind uwtable define internal noundef ptr @mtd_pci_read8(ptr noundef %0, i64 noundef %1) #0 { %3 = getelementptr inbounds %struct.map_pci_info, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = tail call i64 %5(ptr noundef nonnull %0, i64 noundef %1) #2 %7 = add nsw i64 %6, %4 %8 = tail call i32 @readb(i64 noundef %7) #2 unreachable } declare i32 @readb(i64 noundef) local_unnamed_addr #1 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"map_pci_info", !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}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pci.c_mtd_pci_read8.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_pci.c_mtd_pci_read8.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 @mtd_pci_read8], section "llvm.metadata" ; Function Attrs: noreturn nounwind ssp uwtable(sync) define internal noundef i64 @mtd_pci_read8(ptr noundef %0, i64 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !12 %6 = tail call i64 %5(ptr noundef nonnull %0, i64 noundef %1) #2 %7 = add nsw i64 %6, %4 %8 = tail call i32 @readb(i64 noundef %7) #2 unreachable } declare i32 @readb(i64 noundef) local_unnamed_addr #1 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"map_pci_info", !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}
fastsocket_kernel_drivers_mtd_maps_extr_pci.c_mtd_pci_read8
; ModuleID = 'AnghaBench/linux/drivers/extcon/extr_devres.c_devm_extcon_register_notifier_all.c' source_filename = "AnghaBench/linux/drivers/extcon/extr_devres.c_devm_extcon_register_notifier_all.c" target datalayout = "e-m:e-p270:32:32-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.extcon_dev_notifier_devres = type { ptr, ptr } @devm_extcon_dev_notifier_all_unreg = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @devm_extcon_register_notifier_all(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @devm_extcon_dev_notifier_all_unreg, align 4, !tbaa !5 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %6 = tail call ptr @devres_alloc(i32 noundef %4, i32 noundef 16, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 br label %19 11: ; preds = %3 %12 = tail call i32 @extcon_register_notifier_all(ptr noundef %1, ptr noundef %2) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %11 %15 = tail call i32 @devres_free(ptr noundef nonnull %6) #2 br label %19 16: ; preds = %11 %17 = getelementptr inbounds %struct.extcon_dev_notifier_devres, ptr %6, i64 0, i32 1 store ptr %1, ptr %17, align 8, !tbaa !9 store ptr %2, ptr %6, align 8, !tbaa !12 %18 = tail call i32 @devres_add(ptr noundef %0, ptr noundef nonnull %6) #2 br label %19 19: ; preds = %16, %14, %8 %20 = phi i32 [ %12, %14 ], [ 0, %16 ], [ %10, %8 ] ret i32 %20 } declare ptr @devres_alloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @extcon_register_notifier_all(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @devres_free(ptr noundef) local_unnamed_addr #1 declare i32 @devres_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, !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 = !{!"extcon_dev_notifier_devres", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/extcon/extr_devres.c_devm_extcon_register_notifier_all.c' source_filename = "AnghaBench/linux/drivers/extcon/extr_devres.c_devm_extcon_register_notifier_all.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @devm_extcon_dev_notifier_all_unreg = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @devm_extcon_register_notifier_all(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @devm_extcon_dev_notifier_all_unreg, align 4, !tbaa !6 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %6 = tail call ptr @devres_alloc(i32 noundef %4, i32 noundef 16, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 br label %19 11: ; preds = %3 %12 = tail call i32 @extcon_register_notifier_all(ptr noundef %1, ptr noundef %2) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %11 %15 = tail call i32 @devres_free(ptr noundef nonnull %6) #2 br label %19 16: ; preds = %11 %17 = getelementptr inbounds i8, ptr %6, i64 8 store ptr %1, ptr %17, align 8, !tbaa !10 store ptr %2, ptr %6, align 8, !tbaa !13 %18 = tail call i32 @devres_add(ptr noundef %0, ptr noundef nonnull %6) #2 br label %19 19: ; preds = %16, %14, %8 %20 = phi i32 [ %12, %14 ], [ 0, %16 ], [ %10, %8 ] ret i32 %20 } declare ptr @devres_alloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @extcon_register_notifier_all(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @devres_free(ptr noundef) local_unnamed_addr #1 declare i32 @devres_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, !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 = !{!"extcon_dev_notifier_devres", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0}
linux_drivers_extcon_extr_devres.c_devm_extcon_register_notifier_all
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/cores/pmu/extr_bhnd_pmu_subr.c_bhnd_pmu_init.c' source_filename = "AnghaBench/freebsd/sys/dev/bhnd/cores/pmu/extr_bhnd_pmu_subr.c_bhnd_pmu_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.bhnd_pmu_softc = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64, i32 } @BHND_PMU_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @BHND_PMU_CTRL_NOILP_ON_WAIT = dso_local local_unnamed_addr global i32 0, align 4 @BHND_CHIPID_BCM4329 = dso_local local_unnamed_addr global i64 0, align 8 @BHND_CHIPID_BCM4319 = dso_local local_unnamed_addr global i64 0, align 8 @BHND_NVAR_XTALFREQ = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"error fetching xtalfreq: %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @bhnd_pmu_init(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call i32 @BHND_PMU_REV(ptr noundef %0) #3 %4 = icmp eq i32 %3, 1 br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load i32, ptr @BHND_PMU_CTRL, align 4, !tbaa !5 %7 = load i32, ptr @BHND_PMU_CTRL_NOILP_ON_WAIT, align 4, !tbaa !5 %8 = xor i32 %7, -1 %9 = tail call i32 @BHND_PMU_AND_4(ptr noundef %0, i32 noundef %6, i32 noundef %8) #3 br label %17 10: ; preds = %1 %11 = tail call i32 @BHND_PMU_REV(ptr noundef %0) #3 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr @BHND_PMU_CTRL, align 4, !tbaa !5 %15 = load i32, ptr @BHND_PMU_CTRL_NOILP_ON_WAIT, align 4, !tbaa !5 %16 = tail call i32 @BHND_PMU_OR_4(ptr noundef %0, i32 noundef %14, i32 noundef %15) #3 br label %17 17: ; preds = %10, %13, %5 %18 = getelementptr inbounds %struct.bhnd_pmu_softc, ptr %0, i64 0, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !9 %20 = load i64, ptr @BHND_CHIPID_BCM4329, align 8, !tbaa !13 %21 = icmp eq i64 %19, %20 br i1 %21, label %22, label %30 22: ; preds = %17 %23 = getelementptr inbounds %struct.bhnd_pmu_softc, ptr %0, i64 0, i32 1, i32 1 %24 = load i32, ptr %23, align 8, !tbaa !14 %25 = icmp eq i32 %24, 2 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = tail call i32 @BHND_PMU_REGCTRL_WRITE(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 256, i32 noundef -1) #3 %28 = tail call i32 @BHND_PMU_REGCTRL_WRITE(ptr noundef nonnull %0, i32 noundef 3, i32 noundef 4, i32 noundef -1) #3 %29 = load i64, ptr %18, align 8, !tbaa !9 br label %30 30: ; preds = %26, %22, %17 %31 = phi i64 [ %29, %26 ], [ %19, %22 ], [ %19, %17 ] %32 = load i64, ptr @BHND_CHIPID_BCM4319, align 8, !tbaa !13 %33 = icmp eq i64 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = tail call i32 @BHND_PMU_REGCTRL_WRITE(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 5, i32 noundef 7) #3 br label %36 36: ; preds = %34, %30 %37 = load i32, ptr %0, align 8, !tbaa !15 %38 = load i32, ptr @BHND_NVAR_XTALFREQ, align 4, !tbaa !5 %39 = call i32 @bhnd_nvram_getvar_uint32(i32 noundef %37, i32 noundef %38, ptr noundef nonnull %2) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %36 %42 = load i32, ptr %2, align 4, !tbaa !5 br label %50 43: ; preds = %36 %44 = load i32, ptr @ENOENT, align 4, !tbaa !5 %45 = icmp eq i32 %39, %44 br i1 %45, label %48, label %46 46: ; preds = %43 %47 = call i32 @PMU_LOG(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %39) #3 br label %48 48: ; preds = %46, %43 %49 = call i32 @bhnd_pmu_measure_alpclk(ptr noundef nonnull %0) #3 store i32 %49, ptr %2, align 4, !tbaa !5 br label %50 50: ; preds = %41, %48 %51 = phi i32 [ %42, %41 ], [ %49, %48 ] %52 = call i32 @bhnd_pmu_pll_init(ptr noundef nonnull %0, i32 noundef %51) #3 %53 = call i32 @bhnd_pmu_res_init(ptr noundef nonnull %0) #3 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %50 %56 = call i32 @bhnd_pmu_swreg_init(ptr noundef nonnull %0) #3 br label %57 57: ; preds = %50, %55 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BHND_PMU_REV(ptr noundef) local_unnamed_addr #2 declare i32 @BHND_PMU_AND_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BHND_PMU_OR_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BHND_PMU_REGCTRL_WRITE(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bhnd_nvram_getvar_uint32(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PMU_LOG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bhnd_pmu_measure_alpclk(ptr noundef) local_unnamed_addr #2 declare i32 @bhnd_pmu_pll_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bhnd_pmu_res_init(ptr noundef) local_unnamed_addr #2 declare i32 @bhnd_pmu_swreg_init(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 8} !10 = !{!"bhnd_pmu_softc", !6, i64 0, !11, i64 8} !11 = !{!"TYPE_2__", !12, i64 0, !6, i64 8} !12 = !{!"long", !7, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!10, !6, i64 16} !15 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/cores/pmu/extr_bhnd_pmu_subr.c_bhnd_pmu_init.c' source_filename = "AnghaBench/freebsd/sys/dev/bhnd/cores/pmu/extr_bhnd_pmu_subr.c_bhnd_pmu_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BHND_PMU_CTRL = common local_unnamed_addr global i32 0, align 4 @BHND_PMU_CTRL_NOILP_ON_WAIT = common local_unnamed_addr global i32 0, align 4 @BHND_CHIPID_BCM4329 = common local_unnamed_addr global i64 0, align 8 @BHND_CHIPID_BCM4319 = common local_unnamed_addr global i64 0, align 8 @BHND_NVAR_XTALFREQ = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"error fetching xtalfreq: %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @bhnd_pmu_init(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call i32 @BHND_PMU_REV(ptr noundef %0) #3 %4 = icmp eq i32 %3, 1 br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load i32, ptr @BHND_PMU_CTRL, align 4, !tbaa !6 %7 = load i32, ptr @BHND_PMU_CTRL_NOILP_ON_WAIT, align 4, !tbaa !6 %8 = xor i32 %7, -1 %9 = tail call i32 @BHND_PMU_AND_4(ptr noundef %0, i32 noundef %6, i32 noundef %8) #3 br label %17 10: ; preds = %1 %11 = tail call i32 @BHND_PMU_REV(ptr noundef %0) #3 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr @BHND_PMU_CTRL, align 4, !tbaa !6 %15 = load i32, ptr @BHND_PMU_CTRL_NOILP_ON_WAIT, align 4, !tbaa !6 %16 = tail call i32 @BHND_PMU_OR_4(ptr noundef %0, i32 noundef %14, i32 noundef %15) #3 br label %17 17: ; preds = %10, %13, %5 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !10 %20 = load i64, ptr @BHND_CHIPID_BCM4329, align 8, !tbaa !14 %21 = icmp eq i64 %19, %20 br i1 %21, label %22, label %30 22: ; preds = %17 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = load i32, ptr %23, align 8, !tbaa !15 %25 = icmp eq i32 %24, 2 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = tail call i32 @BHND_PMU_REGCTRL_WRITE(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 256, i32 noundef -1) #3 %28 = tail call i32 @BHND_PMU_REGCTRL_WRITE(ptr noundef nonnull %0, i32 noundef 3, i32 noundef 4, i32 noundef -1) #3 %29 = load i64, ptr %18, align 8, !tbaa !10 br label %30 30: ; preds = %26, %22, %17 %31 = phi i64 [ %29, %26 ], [ %19, %22 ], [ %19, %17 ] %32 = load i64, ptr @BHND_CHIPID_BCM4319, align 8, !tbaa !14 %33 = icmp eq i64 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = tail call i32 @BHND_PMU_REGCTRL_WRITE(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 5, i32 noundef 7) #3 br label %36 36: ; preds = %34, %30 %37 = load i32, ptr %0, align 8, !tbaa !16 %38 = load i32, ptr @BHND_NVAR_XTALFREQ, align 4, !tbaa !6 %39 = call i32 @bhnd_nvram_getvar_uint32(i32 noundef %37, i32 noundef %38, ptr noundef nonnull %2) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %36 %42 = load i32, ptr %2, align 4, !tbaa !6 br label %50 43: ; preds = %36 %44 = load i32, ptr @ENOENT, align 4, !tbaa !6 %45 = icmp eq i32 %39, %44 br i1 %45, label %48, label %46 46: ; preds = %43 %47 = call i32 @PMU_LOG(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %39) #3 br label %48 48: ; preds = %46, %43 %49 = call i32 @bhnd_pmu_measure_alpclk(ptr noundef nonnull %0) #3 store i32 %49, ptr %2, align 4, !tbaa !6 br label %50 50: ; preds = %41, %48 %51 = phi i32 [ %42, %41 ], [ %49, %48 ] %52 = call i32 @bhnd_pmu_pll_init(ptr noundef nonnull %0, i32 noundef %51) #3 %53 = call i32 @bhnd_pmu_res_init(ptr noundef nonnull %0) #3 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %50 %56 = call i32 @bhnd_pmu_swreg_init(ptr noundef nonnull %0) #3 br label %57 57: ; preds = %50, %55 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BHND_PMU_REV(ptr noundef) local_unnamed_addr #2 declare i32 @BHND_PMU_AND_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BHND_PMU_OR_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BHND_PMU_REGCTRL_WRITE(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bhnd_nvram_getvar_uint32(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PMU_LOG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bhnd_pmu_measure_alpclk(ptr noundef) local_unnamed_addr #2 declare i32 @bhnd_pmu_pll_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bhnd_pmu_res_init(ptr noundef) local_unnamed_addr #2 declare i32 @bhnd_pmu_swreg_init(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"bhnd_pmu_softc", !7, i64 0, !12, i64 8} !12 = !{!"TYPE_2__", !13, i64 0, !7, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!11, !7, i64 16} !16 = !{!11, !7, i64 0}
freebsd_sys_dev_bhnd_cores_pmu_extr_bhnd_pmu_subr.c_bhnd_pmu_init
; ModuleID = 'AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_search.c' source_filename = "AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_search.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @sidtab_search(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @sidtab_search_core(ptr noundef %0, i32 noundef %1, i32 noundef 0) #2 ret ptr %3 } declare ptr @sidtab_search_core(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_search.c' source_filename = "AnghaBench/linux/security/selinux/ss/extr_sidtab.c_sidtab_search.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 @sidtab_search(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @sidtab_search_core(ptr noundef %0, i32 noundef %1, i32 noundef 0) #2 ret ptr %3 } declare ptr @sidtab_search_core(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_security_selinux_ss_extr_sidtab.c_sidtab_search
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_net_common.c_nfp_net_prepare_vector.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_net_common.c_nfp_net_prepare_vector.c" target datalayout = "e-m:e-p270:32:32-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.nfp_net_r_vector = type { i32, i32, i32, i32, i32, i32, i32 } @nfp_net_poll = dso_local local_unnamed_addr global i32 0, align 4 @NAPI_POLL_WEIGHT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"%s-rxtx-%d\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Error requesting IRQ %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"RV%02d: irq=%03d/%03d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nfp_net_prepare_vector], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nfp_net_prepare_vector(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %11, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.nfp_net_r_vector, ptr %1, i64 0, i32 4 %8 = load i32, ptr @nfp_net_poll, align 4, !tbaa !11 %9 = load i32, ptr @NAPI_POLL_WEIGHT, align 4, !tbaa !11 %10 = tail call i32 @netif_napi_add(i64 noundef %4, ptr noundef nonnull %7, i32 noundef %8, i32 noundef %9) #2 br label %14 11: ; preds = %3 %12 = getelementptr inbounds %struct.nfp_net_r_vector, ptr %1, i64 0, i32 3 %13 = tail call i32 @tasklet_enable(ptr noundef nonnull %12) #2 br label %14 14: ; preds = %11, %6 %15 = getelementptr inbounds %struct.nfp_net_r_vector, ptr %1, i64 0, i32 5 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = tail call ptr @nfp_net_name(ptr noundef nonnull %0) #2 %18 = tail call i32 @snprintf(i32 noundef %16, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef %17, i32 noundef %2) #2 %19 = getelementptr inbounds %struct.nfp_net_r_vector, ptr %1, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = getelementptr inbounds %struct.nfp_net_r_vector, ptr %1, i64 0, i32 6 %22 = load i32, ptr %21, align 4, !tbaa !16 %23 = load i32, ptr %15, align 4, !tbaa !13 %24 = tail call i32 @request_irq(i32 noundef %20, i32 noundef %22, i32 noundef 0, i32 noundef %23, ptr noundef %1) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %38, label %26 26: ; preds = %14 %27 = load i64, ptr %0, align 8, !tbaa !5 %28 = icmp eq i64 %27, 0 br i1 %28, label %32, label %29 29: ; preds = %26 %30 = getelementptr inbounds %struct.nfp_net_r_vector, ptr %1, i64 0, i32 4 %31 = tail call i32 @netif_napi_del(ptr noundef nonnull %30) #2 br label %35 32: ; preds = %26 %33 = getelementptr inbounds %struct.nfp_net_r_vector, ptr %1, i64 0, i32 3 %34 = tail call i32 @tasklet_disable(ptr noundef nonnull %33) #2 br label %35 35: ; preds = %32, %29 %36 = load i32, ptr %19, align 4, !tbaa !15 %37 = tail call i32 @nn_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %36) #2 br label %47 38: ; preds = %14 %39 = load i32, ptr %19, align 4, !tbaa !15 %40 = tail call i32 @disable_irq(i32 noundef %39) #2 %41 = load i32, ptr %19, align 4, !tbaa !15 %42 = getelementptr inbounds %struct.nfp_net_r_vector, ptr %1, i64 0, i32 2 %43 = tail call i32 @irq_set_affinity_hint(i32 noundef %41, ptr noundef nonnull %42) #2 %44 = load i32, ptr %19, align 4, !tbaa !15 %45 = load i32, ptr %1, align 4, !tbaa !17 %46 = tail call i32 @nn_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %2, i32 noundef %44, i32 noundef %45) #2 br label %47 47: ; preds = %38, %35 ret i32 %24 } declare i32 @netif_napi_add(i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tasklet_enable(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nfp_net_name(ptr noundef) local_unnamed_addr #1 declare i32 @request_irq(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @netif_napi_del(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_disable(ptr noundef) local_unnamed_addr #1 declare i32 @nn_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @disable_irq(i32 noundef) local_unnamed_addr #1 declare i32 @irq_set_affinity_hint(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nn_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"nfp_net", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 20} !14 = !{!"nfp_net_r_vector", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24} !15 = !{!14, !12, i64 4} !16 = !{!14, !12, i64 24} !17 = !{!14, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_net_common.c_nfp_net_prepare_vector.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_net_common.c_nfp_net_prepare_vector.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @nfp_net_poll = common local_unnamed_addr global i32 0, align 4 @NAPI_POLL_WEIGHT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"%s-rxtx-%d\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Error requesting IRQ %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"RV%02d: irq=%03d/%03d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @nfp_net_prepare_vector], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nfp_net_prepare_vector(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %11, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %1, i64 16 %8 = load i32, ptr @nfp_net_poll, align 4, !tbaa !12 %9 = load i32, ptr @NAPI_POLL_WEIGHT, align 4, !tbaa !12 %10 = tail call i32 @netif_napi_add(i64 noundef %4, ptr noundef nonnull %7, i32 noundef %8, i32 noundef %9) #2 br label %14 11: ; preds = %3 %12 = getelementptr inbounds i8, ptr %1, i64 12 %13 = tail call i32 @tasklet_enable(ptr noundef nonnull %12) #2 br label %14 14: ; preds = %11, %6 %15 = getelementptr inbounds i8, ptr %1, i64 20 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = tail call ptr @nfp_net_name(ptr noundef nonnull %0) #2 %18 = tail call i32 @snprintf(i32 noundef %16, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef %17, i32 noundef %2) #2 %19 = getelementptr inbounds i8, ptr %1, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = getelementptr inbounds i8, ptr %1, i64 24 %22 = load i32, ptr %21, align 4, !tbaa !17 %23 = load i32, ptr %15, align 4, !tbaa !14 %24 = tail call i32 @request_irq(i32 noundef %20, i32 noundef %22, i32 noundef 0, i32 noundef %23, ptr noundef %1) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %38, label %26 26: ; preds = %14 %27 = load i64, ptr %0, align 8, !tbaa !6 %28 = icmp eq i64 %27, 0 br i1 %28, label %32, label %29 29: ; preds = %26 %30 = getelementptr inbounds i8, ptr %1, i64 16 %31 = tail call i32 @netif_napi_del(ptr noundef nonnull %30) #2 br label %35 32: ; preds = %26 %33 = getelementptr inbounds i8, ptr %1, i64 12 %34 = tail call i32 @tasklet_disable(ptr noundef nonnull %33) #2 br label %35 35: ; preds = %32, %29 %36 = load i32, ptr %19, align 4, !tbaa !16 %37 = tail call i32 @nn_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %36) #2 br label %47 38: ; preds = %14 %39 = load i32, ptr %19, align 4, !tbaa !16 %40 = tail call i32 @disable_irq(i32 noundef %39) #2 %41 = load i32, ptr %19, align 4, !tbaa !16 %42 = getelementptr inbounds i8, ptr %1, i64 8 %43 = tail call i32 @irq_set_affinity_hint(i32 noundef %41, ptr noundef nonnull %42) #2 %44 = load i32, ptr %19, align 4, !tbaa !16 %45 = load i32, ptr %1, align 4, !tbaa !18 %46 = tail call i32 @nn_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %2, i32 noundef %44, i32 noundef %45) #2 br label %47 47: ; preds = %38, %35 ret i32 %24 } declare i32 @netif_napi_add(i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tasklet_enable(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nfp_net_name(ptr noundef) local_unnamed_addr #1 declare i32 @request_irq(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @netif_napi_del(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_disable(ptr noundef) local_unnamed_addr #1 declare i32 @nn_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @disable_irq(i32 noundef) local_unnamed_addr #1 declare i32 @irq_set_affinity_hint(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nn_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"nfp_net", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !10, i64 0} !14 = !{!15, !13, i64 20} !15 = !{!"nfp_net_r_vector", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24} !16 = !{!15, !13, i64 4} !17 = !{!15, !13, i64 24} !18 = !{!15, !13, i64 0}
linux_drivers_net_ethernet_netronome_nfp_extr_nfp_net_common.c_nfp_net_prepare_vector
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_toshiba_acpi.c_video_proc_open.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_toshiba_acpi.c_video_proc_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" @video_proc_show = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @video_proc_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @video_proc_open(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @video_proc_show, align 4, !tbaa !5 %4 = tail call i32 @PDE_DATA(ptr noundef %0) #2 %5 = tail call i32 @single_open(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @single_open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PDE_DATA(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_toshiba_acpi.c_video_proc_open.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_toshiba_acpi.c_video_proc_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @video_proc_show = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @video_proc_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @video_proc_open(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @video_proc_show, align 4, !tbaa !6 %4 = tail call i32 @PDE_DATA(ptr noundef %0) #2 %5 = tail call i32 @single_open(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @single_open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PDE_DATA(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_platform_x86_extr_toshiba_acpi.c_video_proc_open
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-im.c_determine_lsm.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-im.c_determine_lsm.c" target datalayout = "e-m:e-p270:32:32-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.loop = type { ptr, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @determine_lsm], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @determine_lsm(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.loop, ptr %2, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = icmp eq ptr %4, null br i1 %5, label %25, label %6 6: ; preds = %1, %12 %7 = phi ptr [ %13, %12 ], [ %4, %1 ] %8 = tail call i32 @determine_lsm_loop(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds %struct.loop, ptr %7, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !10 %11 = icmp eq ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %14, %6 %13 = phi ptr [ %10, %6 ], [ %16, %14 ] br label %6 14: ; preds = %6, %18 %15 = phi ptr [ %20, %18 ], [ %7, %6 ] %16 = load ptr, ptr %15, align 8, !tbaa !12 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %12 18: ; preds = %14 %19 = getelementptr inbounds %struct.loop, ptr %15, i64 0, i32 1 %20 = load ptr, ptr %19, align 8, !tbaa !13 %21 = load ptr, ptr %0, align 8, !tbaa !5 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %14, !llvm.loop !14 23: ; preds = %18 %24 = tail call i32 (...) @loop_commit_inserts() #2 br label %25 25: ; preds = %1, %23 ret void } declare i32 @determine_lsm_loop(ptr noundef) local_unnamed_addr #1 declare i32 @loop_commit_inserts(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"loops", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"loop", !7, i64 0, !7, i64 8, !7, i64 16} !12 = !{!11, !7, i64 0} !13 = !{!11, !7, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-im.c_determine_lsm.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-loop-im.c_determine_lsm.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 @determine_lsm], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @determine_lsm(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = icmp eq ptr %4, null br i1 %5, label %25, label %6 6: ; preds = %1, %12 %7 = phi ptr [ %13, %12 ], [ %4, %1 ] %8 = tail call i32 @determine_lsm_loop(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds i8, ptr %7, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !11 %11 = icmp eq ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %14, %6 %13 = phi ptr [ %10, %6 ], [ %16, %14 ] br label %6 14: ; preds = %6, %18 %15 = phi ptr [ %20, %18 ], [ %7, %6 ] %16 = load ptr, ptr %15, align 8, !tbaa !13 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %12 18: ; preds = %14 %19 = getelementptr inbounds i8, ptr %15, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = load ptr, ptr %0, align 8, !tbaa !6 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %14, !llvm.loop !15 23: ; preds = %18 %24 = tail call i32 @loop_commit_inserts() #2 br label %25 25: ; preds = %1, %23 ret void } declare i32 @determine_lsm_loop(ptr noundef) local_unnamed_addr #1 declare i32 @loop_commit_inserts(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"loops", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 16} !12 = !{!"loop", !8, i64 0, !8, i64 8, !8, i64 16} !13 = !{!12, !8, i64 0} !14 = !{!12, !8, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gcc_extr_tree-ssa-loop-im.c_determine_lsm
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_sati_util.c_sati_ata_flush_cache_construct.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_sati_util.c_sati_ata_flush_cache_construct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ATA_FLUSH_CACHE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @sati_ata_flush_cache_construct(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @sati_cb_get_h2d_register_fis_address(ptr noundef %0) #2 %4 = load i32, ptr @ATA_FLUSH_CACHE, align 4, !tbaa !5 %5 = tail call i32 @sati_set_ata_command(ptr noundef %3, i32 noundef %4) #2 %6 = tail call i32 @sati_ata_non_data_command(ptr noundef %0, ptr noundef %1) #2 ret void } declare ptr @sati_cb_get_h2d_register_fis_address(ptr noundef) local_unnamed_addr #1 declare i32 @sati_set_ata_command(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sati_ata_non_data_command(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_sati_util.c_sati_ata_flush_cache_construct.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_sati_util.c_sati_ata_flush_cache_construct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ATA_FLUSH_CACHE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @sati_ata_flush_cache_construct(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @sati_cb_get_h2d_register_fis_address(ptr noundef %0) #2 %4 = load i32, ptr @ATA_FLUSH_CACHE, align 4, !tbaa !6 %5 = tail call i32 @sati_set_ata_command(ptr noundef %3, i32 noundef %4) #2 %6 = tail call i32 @sati_ata_non_data_command(ptr noundef %0, ptr noundef %1) #2 ret void } declare ptr @sati_cb_get_h2d_register_fis_address(ptr noundef) local_unnamed_addr #1 declare i32 @sati_set_ata_command(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sati_ata_non_data_command(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_isci_scil_extr_sati_util.c_sati_ata_flush_cache_construct
; ModuleID = 'AnghaBench/linux/arch/powerpc/sysdev/extr_mpic_msgr.c__mpic_msgr_disable.c' source_filename = "AnghaBench/linux/arch/powerpc/sysdev/extr_mpic_msgr.c__mpic_msgr_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @_mpic_msgr_disable], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @_mpic_msgr_disable(ptr noundef %0) #0 { %2 = tail call i32 @_mpic_msgr_mer_read(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = shl nuw i32 1, %3 %5 = xor i32 %4, -1 %6 = and i32 %2, %5 %7 = tail call i32 @_mpic_msgr_mer_write(ptr noundef nonnull %0, i32 noundef %6) #2 ret void } declare i32 @_mpic_msgr_mer_read(ptr noundef) local_unnamed_addr #1 declare i32 @_mpic_msgr_mer_write(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, !7, i64 0} !6 = !{!"mpic_msgr", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/sysdev/extr_mpic_msgr.c__mpic_msgr_disable.c' source_filename = "AnghaBench/linux/arch/powerpc/sysdev/extr_mpic_msgr.c__mpic_msgr_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @_mpic_msgr_disable], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @_mpic_msgr_disable(ptr noundef %0) #0 { %2 = tail call i32 @_mpic_msgr_mer_read(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = shl nuw i32 1, %3 %5 = xor i32 %4, -1 %6 = and i32 %2, %5 %7 = tail call i32 @_mpic_msgr_mer_write(ptr noundef nonnull %0, i32 noundef %6) #2 ret void } declare i32 @_mpic_msgr_mer_read(ptr noundef) local_unnamed_addr #1 declare i32 @_mpic_msgr_mer_write(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, !8, i64 0} !7 = !{!"mpic_msgr", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_arch_powerpc_sysdev_extr_mpic_msgr.c__mpic_msgr_disable
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc_ct.c_bfa_ioc_ct_sync_complete.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc_ct.c_bfa_ioc_ct_sync_complete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32 } @BFA_TRUE = dso_local local_unnamed_addr global i32 0, align 4 @BFI_IOC_FAIL = dso_local local_unnamed_addr global i32 0, align 4 @BFA_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_ioc_ct_sync_complete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bfa_ioc_ct_sync_complete(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @readl(i32 noundef %2) #2 %4 = tail call i32 @bfa_ioc_ct_get_sync_reqd(i32 noundef %3) #2 %5 = tail call i32 @bfa_ioc_ct_get_sync_ackd(i32 noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %41, label %7 7: ; preds = %1 %8 = tail call i32 @bfa_ioc_ct_sync_pos(ptr noundef nonnull %0) #2 %9 = and i32 %8, %4 %10 = icmp eq i32 %9, 0 br i1 %10, label %18, label %11 11: ; preds = %7 %12 = tail call i32 @bfa_ioc_ct_sync_pos(ptr noundef nonnull %0) #2 %13 = and i32 %12, %5 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = tail call i32 @bfa_ioc_ct_sync_pos(ptr noundef nonnull %0) #2 %17 = or i32 %16, %5 br label %18 18: ; preds = %15, %11, %7 %19 = phi i32 [ %5, %11 ], [ %17, %15 ], [ %5, %7 ] %20 = icmp eq i32 %4, %19 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = tail call i32 @bfa_ioc_ct_clear_sync_ackd(i32 noundef %3) #2 %23 = load i32, ptr %0, align 4, !tbaa !5 %24 = tail call i32 @writel(i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @BFI_IOC_FAIL, align 4, !tbaa !11 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2 %27 = load i32, ptr %26, align 4, !tbaa !12 %28 = tail call i32 @writel(i32 noundef %25, i32 noundef %27) #2 %29 = load i32, ptr @BFI_IOC_FAIL, align 4, !tbaa !11 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 br label %35 31: ; preds = %18 %32 = icmp eq i32 %5, %19 br i1 %32, label %41, label %33 33: ; preds = %31 %34 = or i32 %19, %3 br label %35 35: ; preds = %21, %33 %36 = phi ptr [ %0, %33 ], [ %30, %21 ] %37 = phi i32 [ %34, %33 ], [ %29, %21 ] %38 = phi ptr [ @BFA_FALSE, %33 ], [ @BFA_TRUE, %21 ] %39 = load i32, ptr %36, align 4, !tbaa !11 %40 = tail call i32 @writel(i32 noundef %37, i32 noundef %39) #2 br label %41 41: ; preds = %35, %31, %1 %42 = phi ptr [ @BFA_TRUE, %1 ], [ @BFA_FALSE, %31 ], [ %38, %35 ] %43 = load i32, ptr %42, align 4, !tbaa !11 ret i32 %43 } declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_ioc_ct_get_sync_reqd(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_ioc_ct_get_sync_ackd(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_ioc_ct_sync_pos(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_ioc_ct_clear_sync_ackd(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"bfa_ioc_s", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!6, !8, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc_ct.c_bfa_ioc_ct_sync_complete.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc_ct.c_bfa_ioc_ct_sync_complete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BFA_TRUE = common local_unnamed_addr global i32 0, align 4 @BFI_IOC_FAIL = common local_unnamed_addr global i32 0, align 4 @BFA_FALSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bfa_ioc_ct_sync_complete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bfa_ioc_ct_sync_complete(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @readl(i32 noundef %2) #2 %4 = tail call i32 @bfa_ioc_ct_get_sync_reqd(i32 noundef %3) #2 %5 = tail call i32 @bfa_ioc_ct_get_sync_ackd(i32 noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %41, label %7 7: ; preds = %1 %8 = tail call i32 @bfa_ioc_ct_sync_pos(ptr noundef nonnull %0) #2 %9 = and i32 %8, %4 %10 = icmp eq i32 %9, 0 br i1 %10, label %18, label %11 11: ; preds = %7 %12 = tail call i32 @bfa_ioc_ct_sync_pos(ptr noundef nonnull %0) #2 %13 = and i32 %12, %5 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = tail call i32 @bfa_ioc_ct_sync_pos(ptr noundef nonnull %0) #2 %17 = or i32 %16, %5 br label %18 18: ; preds = %15, %11, %7 %19 = phi i32 [ %5, %11 ], [ %17, %15 ], [ %5, %7 ] %20 = icmp eq i32 %4, %19 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = tail call i32 @bfa_ioc_ct_clear_sync_ackd(i32 noundef %3) #2 %23 = load i32, ptr %0, align 4, !tbaa !6 %24 = tail call i32 @writel(i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @BFI_IOC_FAIL, align 4, !tbaa !12 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load i32, ptr %26, align 4, !tbaa !13 %28 = tail call i32 @writel(i32 noundef %25, i32 noundef %27) #2 %29 = load i32, ptr @BFI_IOC_FAIL, align 4, !tbaa !12 %30 = getelementptr inbounds i8, ptr %0, i64 4 br label %35 31: ; preds = %18 %32 = icmp eq i32 %5, %19 br i1 %32, label %41, label %33 33: ; preds = %31 %34 = or i32 %19, %3 br label %35 35: ; preds = %21, %33 %36 = phi ptr [ %0, %33 ], [ %30, %21 ] %37 = phi i32 [ %34, %33 ], [ %29, %21 ] %38 = phi ptr [ @BFA_FALSE, %33 ], [ @BFA_TRUE, %21 ] %39 = load i32, ptr %36, align 4, !tbaa !12 %40 = tail call i32 @writel(i32 noundef %37, i32 noundef %39) #2 br label %41 41: ; preds = %35, %31, %1 %42 = phi ptr [ @BFA_TRUE, %1 ], [ @BFA_FALSE, %31 ], [ %38, %35 ] %43 = load i32, ptr %42, align 4, !tbaa !12 ret i32 %43 } declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_ioc_ct_get_sync_reqd(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_ioc_ct_get_sync_ackd(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_ioc_ct_sync_pos(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_ioc_ct_clear_sync_ackd(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"bfa_ioc_s", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4, !9, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0} !13 = !{!7, !9, i64 8}
linux_drivers_scsi_bfa_extr_bfa_ioc_ct.c_bfa_ioc_ct_sync_complete
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/user32/extr_desktop.c_Test_InitialDesktop.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/user32/extr_desktop.c_Test_InitialDesktop.c" target datalayout = "e-m:e-p270:32:32-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"Default\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"WinSta0\\\00", align 1 @STATUS_DLL_INIT_FAILED = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [9 x i8] c"\\Default\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"WinSta0\\Default\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Winlogon\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"WinSta0/Default\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"NonExistantDesktop\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"NonExistantWinsta\\NonExistantDesktop\00", align 1 @.str.8 = private unnamed_addr constant [11 x i32] [i32 84, i32 101, i32 115, i32 116, i32 87, i32 105, i32 110, i32 115, i32 116, i32 97, i32 0], align 4 @WINSTA_ALL_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @NO_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [45 x i8] c"CreateWindowStation failed, got 0x%p, 0x%lx\0A\00", align 1 @FALSE = dso_local local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [32 x i8] c"SetProcessWindowStation failed\0A\00", align 1 @.str.11 = private unnamed_addr constant [12 x i32] [i32 84, i32 101, i32 115, i32 116, i32 68, i32 101, i32 115, i32 107, i32 116, i32 111, i32 112, i32 0], align 4 @DESKTOP_ALL_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [39 x i8] c"CreateDesktop failed, got 0x%p, 0x%lx\0A\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"TestDesktop\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"TestWinsta\\\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"\\TestDesktop\00", align 1 @.str.16 = private unnamed_addr constant [23 x i8] c"TestWinsta\\TestDesktop\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"CloseDesktop failed\0A\00", align 1 @.str.18 = private unnamed_addr constant [27 x i8] c"CloseWindowStation failed\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @Test_InitialDesktop(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call ptr (...) @GetProcessWindowStation() #3 %4 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 0, ptr noundef %0, ptr noundef null, i32 noundef 0) #3 %5 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 1, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0) #3 %6 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %7 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 2, ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %6) #3 %8 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %9 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 3, ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %8) #3 %10 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 4, ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef 0) #3 %11 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %12 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 5, ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %11) #3 %13 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %14 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 6, ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %13) #3 %15 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %16 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 7, ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %15) #3 %17 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %18 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 8, ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %17) #3 %19 = load i32, ptr @WINSTA_ALL_ACCESS, align 4, !tbaa !5 %20 = load i32, ptr @TRUE, align 4, !tbaa !5 %21 = call ptr @CreateInheritableWinsta(ptr noundef nonnull @.str.8, i32 noundef %19, i32 noundef %20, ptr noundef nonnull %2) #3 %22 = icmp ne ptr %21, null %23 = load i32, ptr %2, align 4 %24 = load i32, ptr @NO_ERROR, align 4 %25 = icmp eq i32 %23, %24 %26 = select i1 %22, i1 %25, i1 false %27 = zext i1 %26 to i32 %28 = call i32 (i32, ptr, ...) @ok(i32 noundef %27, ptr noundef nonnull @.str.9, ptr noundef %21, i32 noundef %23) #3 %29 = call i64 @SetProcessWindowStation(ptr noundef %21) #3 %30 = load i64, ptr @FALSE, align 8, !tbaa !9 %31 = icmp ne i64 %29, %30 %32 = zext i1 %31 to i32 %33 = call i32 (i32, ptr, ...) @ok(i32 noundef %32, ptr noundef nonnull @.str.10) #3 %34 = load i32, ptr @DESKTOP_ALL_ACCESS, align 4, !tbaa !5 %35 = load i32, ptr @TRUE, align 4, !tbaa !5 %36 = call ptr @CreateInheritableDesktop(ptr noundef nonnull @.str.11, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %2) #3 %37 = icmp ne ptr %36, null %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %38, -17960947 %40 = and i1 %37, %39 %41 = zext i1 %40 to i32 %42 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.12, ptr noundef %36, i32 noundef %38) #3 %43 = call i32 @test_CreateProcessWithDesktop(i32 noundef 9, ptr noundef %0, ptr noundef null, i32 noundef 0) #3 %44 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %45 = call i32 @test_CreateProcessWithDesktop(i32 noundef 10, ptr noundef %0, ptr noundef nonnull @.str.13, i32 noundef %44) #3 %46 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %47 = call i32 @test_CreateProcessWithDesktop(i32 noundef 11, ptr noundef %0, ptr noundef nonnull @.str.14, i32 noundef %46) #3 %48 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %49 = call i32 @test_CreateProcessWithDesktop(i32 noundef 12, ptr noundef %0, ptr noundef nonnull @.str.15, i32 noundef %48) #3 %50 = call i32 @test_CreateProcessWithDesktop(i32 noundef 13, ptr noundef %0, ptr noundef nonnull @.str.16, i32 noundef 0) #3 %51 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !5 %52 = call i32 @test_CreateProcessWithDesktop(i32 noundef 14, ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %51) #3 %53 = call i64 @SetProcessWindowStation(ptr noundef %3) #3 %54 = load i64, ptr @FALSE, align 8, !tbaa !9 %55 = icmp ne i64 %53, %54 %56 = zext i1 %55 to i32 %57 = call i32 (i32, ptr, ...) @ok(i32 noundef %56, ptr noundef nonnull @.str.10) #3 %58 = call i64 @CloseDesktop(ptr noundef %36) #3 %59 = load i64, ptr @FALSE, align 8, !tbaa !9 %60 = icmp ne i64 %58, %59 %61 = zext i1 %60 to i32 %62 = call i32 (i32, ptr, ...) @ok(i32 noundef %61, ptr noundef nonnull @.str.17) #3 %63 = call i64 @CloseWindowStation(ptr noundef %21) #3 %64 = load i64, ptr @FALSE, align 8, !tbaa !9 %65 = icmp ne i64 %63, %64 %66 = zext i1 %65 to i32 %67 = call i32 (i32, ptr, ...) @ok(i32 noundef %66, ptr noundef nonnull @.str.18) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 @GetProcessWindowStation(...) local_unnamed_addr #2 declare i32 @test_CreateProcessWithDesktop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @CreateInheritableWinsta(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i64 @SetProcessWindowStation(ptr noundef) local_unnamed_addr #2 declare ptr @CreateInheritableDesktop(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @CloseDesktop(ptr noundef) local_unnamed_addr #2 declare i64 @CloseWindowStation(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/user32/extr_desktop.c_Test_InitialDesktop.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/user32/extr_desktop.c_Test_InitialDesktop.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"Default\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"WinSta0\\\00", align 1 @STATUS_DLL_INIT_FAILED = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [9 x i8] c"\\Default\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"WinSta0\\Default\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Winlogon\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"WinSta0/Default\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"NonExistantDesktop\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"NonExistantWinsta\\NonExistantDesktop\00", align 1 @.str.8 = private unnamed_addr constant [11 x i32] [i32 84, i32 101, i32 115, i32 116, i32 87, i32 105, i32 110, i32 115, i32 116, i32 97, i32 0], align 4 @WINSTA_ALL_ACCESS = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @NO_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [45 x i8] c"CreateWindowStation failed, got 0x%p, 0x%lx\0A\00", align 1 @FALSE = common local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [32 x i8] c"SetProcessWindowStation failed\0A\00", align 1 @.str.11 = private unnamed_addr constant [12 x i32] [i32 84, i32 101, i32 115, i32 116, i32 68, i32 101, i32 115, i32 107, i32 116, i32 111, i32 112, i32 0], align 4 @DESKTOP_ALL_ACCESS = common local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [39 x i8] c"CreateDesktop failed, got 0x%p, 0x%lx\0A\00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c"TestDesktop\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"TestWinsta\\\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"\\TestDesktop\00", align 1 @.str.16 = private unnamed_addr constant [23 x i8] c"TestWinsta\\TestDesktop\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"CloseDesktop failed\0A\00", align 1 @.str.18 = private unnamed_addr constant [27 x i8] c"CloseWindowStation failed\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @Test_InitialDesktop(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call ptr @GetProcessWindowStation() #3 %4 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 0, ptr noundef %0, ptr noundef null, i32 noundef 0) #3 %5 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 1, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0) #3 %6 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %7 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 2, ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %6) #3 %8 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %9 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 3, ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %8) #3 %10 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 4, ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef 0) #3 %11 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %12 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 5, ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %11) #3 %13 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %14 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 6, ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %13) #3 %15 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %16 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 7, ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %15) #3 %17 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %18 = tail call i32 @test_CreateProcessWithDesktop(i32 noundef 8, ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %17) #3 %19 = load i32, ptr @WINSTA_ALL_ACCESS, align 4, !tbaa !6 %20 = load i32, ptr @TRUE, align 4, !tbaa !6 %21 = call ptr @CreateInheritableWinsta(ptr noundef nonnull @.str.8, i32 noundef %19, i32 noundef %20, ptr noundef nonnull %2) #3 %22 = icmp ne ptr %21, null %23 = load i32, ptr %2, align 4 %24 = load i32, ptr @NO_ERROR, align 4 %25 = icmp eq i32 %23, %24 %26 = select i1 %22, i1 %25, i1 false %27 = zext i1 %26 to i32 %28 = call i32 (i32, ptr, ...) @ok(i32 noundef %27, ptr noundef nonnull @.str.9, ptr noundef %21, i32 noundef %23) #3 %29 = call i64 @SetProcessWindowStation(ptr noundef %21) #3 %30 = load i64, ptr @FALSE, align 8, !tbaa !10 %31 = icmp ne i64 %29, %30 %32 = zext i1 %31 to i32 %33 = call i32 (i32, ptr, ...) @ok(i32 noundef %32, ptr noundef nonnull @.str.10) #3 %34 = load i32, ptr @DESKTOP_ALL_ACCESS, align 4, !tbaa !6 %35 = load i32, ptr @TRUE, align 4, !tbaa !6 %36 = call ptr @CreateInheritableDesktop(ptr noundef nonnull @.str.11, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %2) #3 %37 = icmp ne ptr %36, null %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %38, -17960947 %40 = and i1 %37, %39 %41 = zext i1 %40 to i32 %42 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.12, ptr noundef %36, i32 noundef %38) #3 %43 = call i32 @test_CreateProcessWithDesktop(i32 noundef 9, ptr noundef %0, ptr noundef null, i32 noundef 0) #3 %44 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %45 = call i32 @test_CreateProcessWithDesktop(i32 noundef 10, ptr noundef %0, ptr noundef nonnull @.str.13, i32 noundef %44) #3 %46 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %47 = call i32 @test_CreateProcessWithDesktop(i32 noundef 11, ptr noundef %0, ptr noundef nonnull @.str.14, i32 noundef %46) #3 %48 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %49 = call i32 @test_CreateProcessWithDesktop(i32 noundef 12, ptr noundef %0, ptr noundef nonnull @.str.15, i32 noundef %48) #3 %50 = call i32 @test_CreateProcessWithDesktop(i32 noundef 13, ptr noundef %0, ptr noundef nonnull @.str.16, i32 noundef 0) #3 %51 = load i32, ptr @STATUS_DLL_INIT_FAILED, align 4, !tbaa !6 %52 = call i32 @test_CreateProcessWithDesktop(i32 noundef 14, ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %51) #3 %53 = call i64 @SetProcessWindowStation(ptr noundef %3) #3 %54 = load i64, ptr @FALSE, align 8, !tbaa !10 %55 = icmp ne i64 %53, %54 %56 = zext i1 %55 to i32 %57 = call i32 (i32, ptr, ...) @ok(i32 noundef %56, ptr noundef nonnull @.str.10) #3 %58 = call i64 @CloseDesktop(ptr noundef %36) #3 %59 = load i64, ptr @FALSE, align 8, !tbaa !10 %60 = icmp ne i64 %58, %59 %61 = zext i1 %60 to i32 %62 = call i32 (i32, ptr, ...) @ok(i32 noundef %61, ptr noundef nonnull @.str.17) #3 %63 = call i64 @CloseWindowStation(ptr noundef %21) #3 %64 = load i64, ptr @FALSE, align 8, !tbaa !10 %65 = icmp ne i64 %63, %64 %66 = zext i1 %65 to i32 %67 = call i32 (i32, ptr, ...) @ok(i32 noundef %66, ptr noundef nonnull @.str.18) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #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 @GetProcessWindowStation(...) local_unnamed_addr #2 declare i32 @test_CreateProcessWithDesktop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @CreateInheritableWinsta(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i64 @SetProcessWindowStation(ptr noundef) local_unnamed_addr #2 declare ptr @CreateInheritableDesktop(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @CloseDesktop(ptr noundef) local_unnamed_addr #2 declare i64 @CloseWindowStation(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
reactos_modules_rostests_apitests_user32_extr_desktop.c_Test_InitialDesktop
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StEnumLink.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StEnumLink.c" target datalayout = "e-m:e-p270:32:32-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_19__ = type { i64, ptr } %struct.TYPE_21__ = type { ptr, i64, ptr } %struct.TYPE_20__ = type { ptr, ptr, i32, i32, i32, i32, i32 } %struct.TYPE_22__ = type { i32, ptr, i64, ptr } %struct.TYPE_17__ = type { ptr, ptr, i32 } %struct.TYPE_18__ = type { i64, i32, i32 } @MAX_HUBNAME_LEN = dso_local local_unnamed_addr global i32 0, align 4 @SERVER_TYPE_STANDALONE = dso_local local_unnamed_addr global i64 0, align 8 @ERR_NOT_SUPPORTED = dso_local local_unnamed_addr global i64 0, align 8 @CHECK_RIGHT = dso_local local_unnamed_addr global i32 0, align 4 @ERR_HUB_NOT_FOUND = dso_local local_unnamed_addr global i64 0, align 8 @CLIENT_STATUS_ESTABLISHED = dso_local local_unnamed_addr global i64 0, align 8 @ERR_NO_ERROR = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @StEnumLink(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @MAX_HUBNAME_LEN, align 4, !tbaa !10 %5 = add nsw i32 %4, 1 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 16 %8 = load i64, ptr %3, align 8, !tbaa !12 %9 = load i64, ptr @SERVER_TYPE_STANDALONE, align 8, !tbaa !15 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %97 11: ; preds = %2 %12 = getelementptr inbounds %struct.TYPE_19__, ptr %3, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !16 %14 = tail call i32 @LockHubList(ptr noundef %13) #2 %15 = load ptr, ptr %1, align 8, !tbaa !17 %16 = tail call ptr @GetHub(ptr noundef %13, ptr noundef %15) #2 %17 = tail call i32 @UnlockHubList(ptr noundef %13) #2 %18 = icmp eq ptr %16, null br i1 %18, label %97, label %19 19: ; preds = %11 %20 = load ptr, ptr %1, align 8, !tbaa !17 %21 = call i32 @StrCpy(ptr noundef nonnull %7, i32 noundef %5, ptr noundef %20) #2 %22 = call i32 @FreeRpcEnumLink(ptr noundef nonnull %1) #2 %23 = call i32 @Zero(ptr noundef nonnull %1, i32 noundef 24) #2 %24 = load ptr, ptr %1, align 8, !tbaa !17 %25 = call i32 @StrCpy(ptr noundef %24, i32 noundef 8, ptr noundef nonnull %7) #2 %26 = load i32, ptr %16, align 4, !tbaa !19 %27 = call i32 @LockList(i32 noundef %26) #2 %28 = load i32, ptr %16, align 4, !tbaa !19 %29 = call i64 @LIST_NUM(i32 noundef %28) #2 %30 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 1 store i64 %29, ptr %30, align 8, !tbaa !21 %31 = trunc i64 %29 to i32 %32 = mul i32 %31, 40 %33 = call ptr @ZeroMalloc(i32 noundef %32) #2 %34 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 2 store ptr %33, ptr %34, align 8, !tbaa !22 %35 = load i32, ptr %16, align 4, !tbaa !19 %36 = call i64 @LIST_NUM(i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %93, label %38 38: ; preds = %19, %86 %39 = phi i64 [ %89, %86 ], [ 0, %19 ] %40 = load i32, ptr %16, align 4, !tbaa !19 %41 = call ptr @LIST_DATA(i32 noundef %40, i64 noundef %39) #2 %42 = load ptr, ptr %34, align 8, !tbaa !22 %43 = getelementptr inbounds %struct.TYPE_20__, ptr %42, i64 %39 %44 = load i32, ptr %41, align 8, !tbaa !23 %45 = call i32 @Lock(i32 noundef %44) #2 %46 = getelementptr inbounds %struct.TYPE_20__, ptr %42, i64 %39, i32 6 %47 = load i32, ptr %46, align 8, !tbaa !25 %48 = getelementptr inbounds %struct.TYPE_22__, ptr %41, i64 0, i32 3 %49 = load ptr, ptr %48, align 8, !tbaa !27 %50 = getelementptr inbounds %struct.TYPE_17__, ptr %49, i64 0, i32 2 %51 = load i32, ptr %50, align 8, !tbaa !28 %52 = call i32 @UniStrCpy(i32 noundef %47, i32 noundef 4, i32 noundef %51) #2 %53 = load ptr, ptr %43, align 8, !tbaa !30 %54 = load ptr, ptr %48, align 8, !tbaa !27 %55 = load ptr, ptr %54, align 8, !tbaa !31 %56 = call i32 @StrCpy(ptr noundef %53, i32 noundef 8, ptr noundef %55) #2 %57 = getelementptr inbounds %struct.TYPE_20__, ptr %42, i64 %39, i32 1 %58 = load ptr, ptr %57, align 8, !tbaa !32 %59 = load ptr, ptr %48, align 8, !tbaa !27 %60 = getelementptr inbounds %struct.TYPE_17__, ptr %59, i64 0, i32 1 %61 = load ptr, ptr %60, align 8, !tbaa !33 %62 = call i32 @StrCpy(ptr noundef %58, i32 noundef 8, ptr noundef %61) #2 %63 = getelementptr inbounds %struct.TYPE_22__, ptr %41, i64 0, i32 2 %64 = load i64, ptr %63, align 8, !tbaa !34 %65 = icmp eq i64 %64, 0 %66 = zext i1 %65 to i32 %67 = getelementptr inbounds %struct.TYPE_20__, ptr %42, i64 %39, i32 2 store i32 %66, ptr %67, align 8, !tbaa !35 br i1 %65, label %68, label %86 68: ; preds = %38 %69 = getelementptr inbounds %struct.TYPE_22__, ptr %41, i64 0, i32 1 %70 = load ptr, ptr %69, align 8, !tbaa !36 %71 = icmp eq ptr %70, null br i1 %71, label %86, label %72 72: ; preds = %68 %73 = getelementptr inbounds %struct.TYPE_18__, ptr %70, i64 0, i32 2 %74 = load i32, ptr %73, align 4, !tbaa !37 %75 = call i32 @TickToTime(i32 noundef %74) #2 %76 = getelementptr inbounds %struct.TYPE_20__, ptr %42, i64 %39, i32 5 store i32 %75, ptr %76, align 4, !tbaa !39 %77 = load ptr, ptr %69, align 8, !tbaa !36 %78 = load i64, ptr %77, align 8, !tbaa !40 %79 = load i64, ptr @CLIENT_STATUS_ESTABLISHED, align 8, !tbaa !15 %80 = icmp eq i64 %78, %79 %81 = zext i1 %80 to i32 %82 = getelementptr inbounds %struct.TYPE_20__, ptr %42, i64 %39, i32 3 store i32 %81, ptr %82, align 4, !tbaa !41 %83 = getelementptr inbounds %struct.TYPE_18__, ptr %77, i64 0, i32 1 %84 = load i32, ptr %83, align 8, !tbaa !42 %85 = getelementptr inbounds %struct.TYPE_20__, ptr %42, i64 %39, i32 4 store i32 %84, ptr %85, align 8, !tbaa !43 br label %86 86: ; preds = %68, %72, %38 %87 = load i32, ptr %41, align 8, !tbaa !23 %88 = call i32 @Unlock(i32 noundef %87) #2 %89 = add nuw i64 %39, 1 %90 = load i32, ptr %16, align 4, !tbaa !19 %91 = call i64 @LIST_NUM(i32 noundef %90) #2 %92 = icmp ult i64 %89, %91 br i1 %92, label %38, label %93, !llvm.loop !44 93: ; preds = %86, %19 %94 = load i32, ptr %16, align 4, !tbaa !19 %95 = call i32 @UnlockList(i32 noundef %94) #2 %96 = call i32 @ReleaseHub(ptr noundef nonnull %16) #2 br label %97 97: ; preds = %11, %2, %93 %98 = phi ptr [ @ERR_NO_ERROR, %93 ], [ @ERR_NOT_SUPPORTED, %2 ], [ @ERR_HUB_NOT_FOUND, %11 ] %99 = load i64, ptr %98, align 8, !tbaa !15 ret i64 %99 } declare i32 @LockHubList(ptr noundef) local_unnamed_addr #1 declare ptr @GetHub(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @UnlockHubList(ptr noundef) local_unnamed_addr #1 declare i32 @StrCpy(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FreeRpcEnumLink(ptr noundef) local_unnamed_addr #1 declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LockList(i32 noundef) local_unnamed_addr #1 declare i64 @LIST_NUM(i32 noundef) local_unnamed_addr #1 declare ptr @ZeroMalloc(i32 noundef) local_unnamed_addr #1 declare ptr @LIST_DATA(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @Lock(i32 noundef) local_unnamed_addr #1 declare i32 @UniStrCpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TickToTime(i32 noundef) local_unnamed_addr #1 declare i32 @Unlock(i32 noundef) local_unnamed_addr #1 declare i32 @UnlockList(i32 noundef) local_unnamed_addr #1 declare i32 @ReleaseHub(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_24__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_19__", !14, i64 0, !7, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !7, i64 8} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_21__", !7, i64 0, !14, i64 8, !7, i64 16} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_23__", !11, i64 0} !21 = !{!18, !14, i64 8} !22 = !{!18, !7, i64 16} !23 = !{!24, !11, i64 0} !24 = !{!"TYPE_22__", !11, i64 0, !7, i64 8, !14, i64 16, !7, i64 24} !25 = !{!26, !11, i64 32} !26 = !{!"TYPE_20__", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32} !27 = !{!24, !7, i64 24} !28 = !{!29, !11, i64 16} !29 = !{!"TYPE_17__", !7, i64 0, !7, i64 8, !11, i64 16} !30 = !{!26, !7, i64 0} !31 = !{!29, !7, i64 0} !32 = !{!26, !7, i64 8} !33 = !{!29, !7, i64 8} !34 = !{!24, !14, i64 16} !35 = !{!26, !11, i64 16} !36 = !{!24, !7, i64 8} !37 = !{!38, !11, i64 12} !38 = !{!"TYPE_18__", !14, i64 0, !11, i64 8, !11, i64 12} !39 = !{!26, !11, i64 28} !40 = !{!38, !14, i64 0} !41 = !{!26, !11, i64 20} !42 = !{!38, !11, i64 8} !43 = !{!26, !11, i64 24} !44 = distinct !{!44, !45} !45 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StEnumLink.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StEnumLink.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_20__ = type { ptr, ptr, i32, i32, i32, i32, i32 } @MAX_HUBNAME_LEN = common local_unnamed_addr global i32 0, align 4 @SERVER_TYPE_STANDALONE = common local_unnamed_addr global i64 0, align 8 @ERR_NOT_SUPPORTED = common local_unnamed_addr global i64 0, align 8 @CHECK_RIGHT = common local_unnamed_addr global i32 0, align 4 @ERR_HUB_NOT_FOUND = common local_unnamed_addr global i64 0, align 8 @CLIENT_STATUS_ESTABLISHED = common local_unnamed_addr global i64 0, align 8 @ERR_NO_ERROR = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @StEnumLink(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @MAX_HUBNAME_LEN, align 4, !tbaa !11 %5 = add nsw i32 %4, 1 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 1 %8 = load i64, ptr %3, align 8, !tbaa !13 %9 = load i64, ptr @SERVER_TYPE_STANDALONE, align 8, !tbaa !16 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %97 11: ; preds = %2 %12 = getelementptr inbounds i8, ptr %3, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !17 %14 = tail call i32 @LockHubList(ptr noundef %13) #2 %15 = load ptr, ptr %1, align 8, !tbaa !18 %16 = tail call ptr @GetHub(ptr noundef %13, ptr noundef %15) #2 %17 = tail call i32 @UnlockHubList(ptr noundef %13) #2 %18 = icmp eq ptr %16, null br i1 %18, label %97, label %19 19: ; preds = %11 %20 = load ptr, ptr %1, align 8, !tbaa !18 %21 = call i32 @StrCpy(ptr noundef nonnull %7, i32 noundef %5, ptr noundef %20) #2 %22 = call i32 @FreeRpcEnumLink(ptr noundef nonnull %1) #2 %23 = call i32 @Zero(ptr noundef nonnull %1, i32 noundef 24) #2 %24 = load ptr, ptr %1, align 8, !tbaa !18 %25 = call i32 @StrCpy(ptr noundef %24, i32 noundef 8, ptr noundef nonnull %7) #2 %26 = load i32, ptr %16, align 4, !tbaa !20 %27 = call i32 @LockList(i32 noundef %26) #2 %28 = load i32, ptr %16, align 4, !tbaa !20 %29 = call i64 @LIST_NUM(i32 noundef %28) #2 %30 = getelementptr inbounds i8, ptr %1, i64 8 store i64 %29, ptr %30, align 8, !tbaa !22 %31 = trunc i64 %29 to i32 %32 = mul i32 %31, 40 %33 = call ptr @ZeroMalloc(i32 noundef %32) #2 %34 = getelementptr inbounds i8, ptr %1, i64 16 store ptr %33, ptr %34, align 8, !tbaa !23 %35 = load i32, ptr %16, align 4, !tbaa !20 %36 = call i64 @LIST_NUM(i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %93, label %38 38: ; preds = %19, %86 %39 = phi i64 [ %89, %86 ], [ 0, %19 ] %40 = load i32, ptr %16, align 4, !tbaa !20 %41 = call ptr @LIST_DATA(i32 noundef %40, i64 noundef %39) #2 %42 = load ptr, ptr %34, align 8, !tbaa !23 %43 = getelementptr inbounds %struct.TYPE_20__, ptr %42, i64 %39 %44 = load i32, ptr %41, align 8, !tbaa !24 %45 = call i32 @Lock(i32 noundef %44) #2 %46 = getelementptr inbounds i8, ptr %43, i64 32 %47 = load i32, ptr %46, align 8, !tbaa !26 %48 = getelementptr inbounds i8, ptr %41, i64 24 %49 = load ptr, ptr %48, align 8, !tbaa !28 %50 = getelementptr inbounds i8, ptr %49, i64 16 %51 = load i32, ptr %50, align 8, !tbaa !29 %52 = call i32 @UniStrCpy(i32 noundef %47, i32 noundef 4, i32 noundef %51) #2 %53 = load ptr, ptr %43, align 8, !tbaa !31 %54 = load ptr, ptr %48, align 8, !tbaa !28 %55 = load ptr, ptr %54, align 8, !tbaa !32 %56 = call i32 @StrCpy(ptr noundef %53, i32 noundef 8, ptr noundef %55) #2 %57 = getelementptr inbounds i8, ptr %43, i64 8 %58 = load ptr, ptr %57, align 8, !tbaa !33 %59 = load ptr, ptr %48, align 8, !tbaa !28 %60 = getelementptr inbounds i8, ptr %59, i64 8 %61 = load ptr, ptr %60, align 8, !tbaa !34 %62 = call i32 @StrCpy(ptr noundef %58, i32 noundef 8, ptr noundef %61) #2 %63 = getelementptr inbounds i8, ptr %41, i64 16 %64 = load i64, ptr %63, align 8, !tbaa !35 %65 = icmp eq i64 %64, 0 %66 = zext i1 %65 to i32 %67 = getelementptr inbounds i8, ptr %43, i64 16 store i32 %66, ptr %67, align 8, !tbaa !36 br i1 %65, label %68, label %86 68: ; preds = %38 %69 = getelementptr inbounds i8, ptr %41, i64 8 %70 = load ptr, ptr %69, align 8, !tbaa !37 %71 = icmp eq ptr %70, null br i1 %71, label %86, label %72 72: ; preds = %68 %73 = getelementptr inbounds i8, ptr %70, i64 12 %74 = load i32, ptr %73, align 4, !tbaa !38 %75 = call i32 @TickToTime(i32 noundef %74) #2 %76 = getelementptr inbounds i8, ptr %43, i64 28 store i32 %75, ptr %76, align 4, !tbaa !40 %77 = load ptr, ptr %69, align 8, !tbaa !37 %78 = load i64, ptr %77, align 8, !tbaa !41 %79 = load i64, ptr @CLIENT_STATUS_ESTABLISHED, align 8, !tbaa !16 %80 = icmp eq i64 %78, %79 %81 = zext i1 %80 to i32 %82 = getelementptr inbounds i8, ptr %43, i64 20 store i32 %81, ptr %82, align 4, !tbaa !42 %83 = getelementptr inbounds i8, ptr %77, i64 8 %84 = load i32, ptr %83, align 8, !tbaa !43 %85 = getelementptr inbounds i8, ptr %43, i64 24 store i32 %84, ptr %85, align 8, !tbaa !44 br label %86 86: ; preds = %68, %72, %38 %87 = load i32, ptr %41, align 8, !tbaa !24 %88 = call i32 @Unlock(i32 noundef %87) #2 %89 = add nuw i64 %39, 1 %90 = load i32, ptr %16, align 4, !tbaa !20 %91 = call i64 @LIST_NUM(i32 noundef %90) #2 %92 = icmp ult i64 %89, %91 br i1 %92, label %38, label %93, !llvm.loop !45 93: ; preds = %86, %19 %94 = load i32, ptr %16, align 4, !tbaa !20 %95 = call i32 @UnlockList(i32 noundef %94) #2 %96 = call i32 @ReleaseHub(ptr noundef nonnull %16) #2 br label %97 97: ; preds = %11, %2, %93 %98 = phi ptr [ @ERR_NO_ERROR, %93 ], [ @ERR_NOT_SUPPORTED, %2 ], [ @ERR_HUB_NOT_FOUND, %11 ] %99 = load i64, ptr %98, align 8, !tbaa !16 ret i64 %99 } declare i32 @LockHubList(ptr noundef) local_unnamed_addr #1 declare ptr @GetHub(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @UnlockHubList(ptr noundef) local_unnamed_addr #1 declare i32 @StrCpy(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FreeRpcEnumLink(ptr noundef) local_unnamed_addr #1 declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LockList(i32 noundef) local_unnamed_addr #1 declare i64 @LIST_NUM(i32 noundef) local_unnamed_addr #1 declare ptr @ZeroMalloc(i32 noundef) local_unnamed_addr #1 declare ptr @LIST_DATA(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @Lock(i32 noundef) local_unnamed_addr #1 declare i32 @UniStrCpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TickToTime(i32 noundef) local_unnamed_addr #1 declare i32 @Unlock(i32 noundef) local_unnamed_addr #1 declare i32 @UnlockList(i32 noundef) local_unnamed_addr #1 declare i32 @ReleaseHub(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_24__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_19__", !15, i64 0, !8, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !8, i64 8} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_21__", !8, i64 0, !15, i64 8, !8, i64 16} !20 = !{!21, !12, i64 0} !21 = !{!"TYPE_23__", !12, i64 0} !22 = !{!19, !15, i64 8} !23 = !{!19, !8, i64 16} !24 = !{!25, !12, i64 0} !25 = !{!"TYPE_22__", !12, i64 0, !8, i64 8, !15, i64 16, !8, i64 24} !26 = !{!27, !12, i64 32} !27 = !{!"TYPE_20__", !8, i64 0, !8, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32} !28 = !{!25, !8, i64 24} !29 = !{!30, !12, i64 16} !30 = !{!"TYPE_17__", !8, i64 0, !8, i64 8, !12, i64 16} !31 = !{!27, !8, i64 0} !32 = !{!30, !8, i64 0} !33 = !{!27, !8, i64 8} !34 = !{!30, !8, i64 8} !35 = !{!25, !15, i64 16} !36 = !{!27, !12, i64 16} !37 = !{!25, !8, i64 8} !38 = !{!39, !12, i64 12} !39 = !{!"TYPE_18__", !15, i64 0, !12, i64 8, !12, i64 12} !40 = !{!27, !12, i64 28} !41 = !{!39, !15, i64 0} !42 = !{!27, !12, i64 20} !43 = !{!39, !12, i64 8} !44 = !{!27, !12, i64 24} !45 = distinct !{!45, !46} !46 = !{!"llvm.loop.mustprogress"}
SoftEtherVPN_src_Cedar_extr_Admin.c_StEnumLink
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_mcast_mgr.c_mcast_mgr_compute_max_hops.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_mcast_mgr.c_mcast_mgr_compute_max_hops.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mgrp_item = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mcast_mgr_compute_max_hops], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef float @mcast_mgr_compute_max_hops(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @OSM_LOG_ENTER(i32 noundef %4) #3 %6 = tail call ptr @cl_qmap_head(ptr noundef %1) #3 %7 = tail call ptr @cl_qmap_end(ptr noundef %1) #3 %8 = icmp eq ptr %6, %7 tail call void @llvm.assume(i1 %8) %9 = load i32, ptr %0, align 4, !tbaa !5 %10 = tail call i32 @OSM_LOG_EXIT(i32 noundef %9) #3 ret float 0.000000e+00 } declare i32 @OSM_LOG_ENTER(i32 noundef) local_unnamed_addr #1 declare ptr @cl_qmap_head(ptr noundef) local_unnamed_addr #1 declare ptr @cl_qmap_end(ptr noundef) local_unnamed_addr #1 declare i32 @OSM_LOG_EXIT(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) declare void @llvm.assume(i1 noundef) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_9__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_mcast_mgr.c_mcast_mgr_compute_max_hops.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_mcast_mgr.c_mcast_mgr_compute_max_hops.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mgrp_item = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mcast_mgr_compute_max_hops], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef float @mcast_mgr_compute_max_hops(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @OSM_LOG_ENTER(i32 noundef %4) #3 %6 = tail call ptr @cl_qmap_head(ptr noundef %1) #3 %7 = tail call ptr @cl_qmap_end(ptr noundef %1) #3 %8 = icmp eq ptr %6, %7 tail call void @llvm.assume(i1 %8) %9 = load i32, ptr %0, align 4, !tbaa !6 %10 = tail call i32 @OSM_LOG_EXIT(i32 noundef %9) #3 ret float 0.000000e+00 } declare i32 @OSM_LOG_ENTER(i32 noundef) local_unnamed_addr #1 declare ptr @cl_qmap_head(ptr noundef) local_unnamed_addr #1 declare ptr @cl_qmap_end(ptr noundef) local_unnamed_addr #1 declare i32 @OSM_LOG_EXIT(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) declare void @llvm.assume(i1 noundef) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_9__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_ofed_opensm_opensm_extr_osm_mcast_mgr.c_mcast_mgr_compute_max_hops
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/8390/extr_mac8390.c_mac8390_open.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/8390/extr_mac8390.c_mac8390_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.net_device = type { i32, i32 } @__ei_interrupt = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"8390 Ethernet\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"%s: unable to get IRQ %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mac8390_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mac8390_open(ptr noundef %0) #0 { %2 = tail call i32 @__ei_open(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @__ei_interrupt, align 4, !tbaa !10 %5 = tail call i32 @request_irq(i32 noundef %3, i32 noundef %4, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %0) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = load i32, ptr %0, align 4, !tbaa !5 %11 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, i32 noundef %9, i32 noundef %10) #2 br label %12 12: ; preds = %7, %1 ret i32 %5 } declare i32 @__ei_open(ptr noundef) local_unnamed_addr #1 declare i32 @request_irq(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"net_device", !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/net/ethernet/8390/extr_mac8390.c_mac8390_open.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/8390/extr_mac8390.c_mac8390_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__ei_interrupt = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"8390 Ethernet\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"%s: unable to get IRQ %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mac8390_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mac8390_open(ptr noundef %0) #0 { %2 = tail call i32 @__ei_open(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @__ei_interrupt, align 4, !tbaa !11 %5 = tail call i32 @request_irq(i32 noundef %3, i32 noundef %4, i32 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull %0) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = load i32, ptr %0, align 4, !tbaa !6 %11 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, i32 noundef %9, i32 noundef %10) #2 br label %12 12: ; preds = %7, %1 ret i32 %5 } declare i32 @__ei_open(ptr noundef) local_unnamed_addr #1 declare i32 @request_irq(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"net_device", !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_net_ethernet_8390_extr_mac8390.c_mac8390_open
; ModuleID = 'AnghaBench/seafile/daemon/extr_repo-mgr.c_update_attributes.c' source_filename = "AnghaBench/seafile/daemon/extr_repo-mgr.c_update_attributes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i64, i32 } %struct.TYPE_9__ = type { i32, ptr } %struct.cache_entry = type { i32, i32, %struct.TYPE_7__ } %struct.TYPE_7__ = type { i64 } @.str = private unnamed_addr constant [24 x i8] c"Failed to stat %s: %s.\0A\00", align 1 @errno = dso_local local_unnamed_addr global i32 0, align 4 @DIFF_STATUS_MODIFIED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @update_attributes], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @update_attributes(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.TYPE_8__, align 8 %6 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 %8 = tail call i32 @strlen(ptr noundef %3) #3 %9 = tail call ptr @index_name_exists(ptr noundef %1, ptr noundef %3, i32 noundef %8, i32 noundef 0) #3 %10 = icmp eq ptr %9, null br i1 %10, label %39, label %11 11: ; preds = %4 %12 = tail call ptr @g_build_filename(ptr noundef %2, ptr noundef %3, ptr noundef null) #3 %13 = call i64 @seaf_stat(ptr noundef %12, ptr noundef nonnull %5) #3 %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i32, ptr @errno, align 4, !tbaa !11 %17 = call i32 @strerror(i32 noundef %16) #3 %18 = call i32 @seaf_warning(ptr noundef nonnull @.str, ptr noundef %12, i32 noundef %17) #3 br label %37 19: ; preds = %11 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 1 %21 = load i32, ptr %20, align 8, !tbaa !12 %22 = call i32 @create_ce_mode(i32 noundef %21) #3 %23 = load i32, ptr %9, align 8, !tbaa !15 %24 = icmp eq i32 %22, %23 %25 = load i64, ptr %5, align 8, !tbaa !18 br i1 %24, label %26, label %30 26: ; preds = %19 %27 = getelementptr inbounds %struct.cache_entry, ptr %9, i64 0, i32 2 %28 = load i64, ptr %27, align 8, !tbaa !19 %29 = icmp eq i64 %25, %28 br i1 %29, label %37, label %30 30: ; preds = %26, %19 store i32 %22, ptr %9, align 8, !tbaa !15 %31 = getelementptr inbounds %struct.cache_entry, ptr %9, i64 0, i32 2 store i64 %25, ptr %31, align 8, !tbaa !19 store i32 1, ptr %1, align 4, !tbaa !20 %32 = load i32, ptr @DIFF_STATUS_MODIFIED, align 4, !tbaa !11 %33 = getelementptr inbounds %struct.cache_entry, ptr %9, i64 0, i32 1 %34 = load i32, ptr %33, align 4, !tbaa !22 %35 = load i32, ptr %0, align 8, !tbaa !23 %36 = call i32 @add_to_changeset(ptr noundef %7, i32 noundef %32, i32 noundef %34, ptr noundef nonnull %5, i32 noundef %35, ptr noundef %3, ptr noundef null) #3 br label %37 37: ; preds = %26, %30, %15 %38 = call i32 @g_free(ptr noundef %12) #3 br label %39 39: ; preds = %37, %4 call void @llvm.lifetime.end.p0(i64 16, 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 @index_name_exists(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare ptr @g_build_filename(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @seaf_stat(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @seaf_warning(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strerror(i32 noundef) local_unnamed_addr #2 declare i32 @g_free(ptr noundef) local_unnamed_addr #2 declare i32 @create_ce_mode(i32 noundef) local_unnamed_addr #2 declare i32 @add_to_changeset(ptr noundef, i32 noundef, i32 noundef, ptr 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"TYPE_9__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"TYPE_8__", !14, i64 0, !7, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"cache_entry", !7, i64 0, !7, i64 4, !17, i64 8} !17 = !{!"TYPE_7__", !14, i64 0} !18 = !{!13, !14, i64 0} !19 = !{!16, !14, i64 8} !20 = !{!21, !7, i64 0} !21 = !{!"index_state", !7, i64 0} !22 = !{!16, !7, i64 4} !23 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/seafile/daemon/extr_repo-mgr.c_update_attributes.c' source_filename = "AnghaBench/seafile/daemon/extr_repo-mgr.c_update_attributes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i64, i32 } @.str = private unnamed_addr constant [24 x i8] c"Failed to stat %s: %s.\0A\00", align 1 @errno = common local_unnamed_addr global i32 0, align 4 @DIFF_STATUS_MODIFIED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @update_attributes], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @update_attributes(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.TYPE_8__, align 8 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 %8 = tail call i32 @strlen(ptr noundef %3) #3 %9 = tail call ptr @index_name_exists(ptr noundef %1, ptr noundef %3, i32 noundef %8, i32 noundef 0) #3 %10 = icmp eq ptr %9, null br i1 %10, label %39, label %11 11: ; preds = %4 %12 = tail call ptr @g_build_filename(ptr noundef %2, ptr noundef %3, ptr noundef null) #3 %13 = call i64 @seaf_stat(ptr noundef %12, ptr noundef nonnull %5) #3 %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i32, ptr @errno, align 4, !tbaa !12 %17 = call i32 @strerror(i32 noundef %16) #3 %18 = call i32 @seaf_warning(ptr noundef nonnull @.str, ptr noundef %12, i32 noundef %17) #3 br label %37 19: ; preds = %11 %20 = getelementptr inbounds i8, ptr %5, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !13 %22 = call i32 @create_ce_mode(i32 noundef %21) #3 %23 = load i32, ptr %9, align 8, !tbaa !16 %24 = icmp eq i32 %22, %23 %25 = load i64, ptr %5, align 8, !tbaa !19 br i1 %24, label %26, label %30 26: ; preds = %19 %27 = getelementptr inbounds i8, ptr %9, i64 8 %28 = load i64, ptr %27, align 8, !tbaa !20 %29 = icmp eq i64 %25, %28 br i1 %29, label %37, label %30 30: ; preds = %26, %19 store i32 %22, ptr %9, align 8, !tbaa !16 %31 = getelementptr inbounds i8, ptr %9, i64 8 store i64 %25, ptr %31, align 8, !tbaa !20 store i32 1, ptr %1, align 4, !tbaa !21 %32 = load i32, ptr @DIFF_STATUS_MODIFIED, align 4, !tbaa !12 %33 = getelementptr inbounds i8, ptr %9, i64 4 %34 = load i32, ptr %33, align 4, !tbaa !23 %35 = load i32, ptr %0, align 8, !tbaa !24 %36 = call i32 @add_to_changeset(ptr noundef %7, i32 noundef %32, i32 noundef %34, ptr noundef nonnull %5, i32 noundef %35, ptr noundef %3, ptr noundef null) #3 br label %37 37: ; preds = %26, %30, %15 %38 = call i32 @g_free(ptr noundef %12) #3 br label %39 39: ; preds = %37, %4 call void @llvm.lifetime.end.p0(i64 16, 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 @index_name_exists(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare ptr @g_build_filename(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @seaf_stat(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @seaf_warning(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strerror(i32 noundef) local_unnamed_addr #2 declare i32 @g_free(ptr noundef) local_unnamed_addr #2 declare i32 @create_ce_mode(i32 noundef) local_unnamed_addr #2 declare i32 @add_to_changeset(ptr noundef, i32 noundef, i32 noundef, ptr 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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"TYPE_9__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"TYPE_8__", !15, i64 0, !8, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"cache_entry", !8, i64 0, !8, i64 4, !18, i64 8} !18 = !{!"TYPE_7__", !15, i64 0} !19 = !{!14, !15, i64 0} !20 = !{!17, !15, i64 8} !21 = !{!22, !8, i64 0} !22 = !{!"index_state", !8, i64 0} !23 = !{!17, !8, i64 4} !24 = !{!7, !8, i64 0}
seafile_daemon_extr_repo-mgr.c_update_attributes
; ModuleID = 'AnghaBench/reactos/dll/directx/ddraw/Surface/extr_createsurface.c_CopyDDSurfDescToDDSurfDesc2.c' source_filename = "AnghaBench/reactos/dll/directx/ddraw/Surface/extr_createsurface.c_CopyDDSurfDescToDDSurfDesc2.c" target datalayout = "e-m:e-p270:32:32-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 @CopyDDSurfDescToDDSurfDesc2(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @RtlZeroMemory(ptr noundef %0, i32 noundef 4) #2 %4 = tail call i32 @RtlCopyMemory(ptr noundef %0, i32 noundef %1, i32 noundef 4) #2 store i32 4, ptr %0, align 4, !tbaa !5 ret void } declare i32 @RtlZeroMemory(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RtlCopyMemory(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/dll/directx/ddraw/Surface/extr_createsurface.c_CopyDDSurfDescToDDSurfDesc2.c' source_filename = "AnghaBench/reactos/dll/directx/ddraw/Surface/extr_createsurface.c_CopyDDSurfDescToDDSurfDesc2.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 @CopyDDSurfDescToDDSurfDesc2(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @RtlZeroMemory(ptr noundef %0, i32 noundef 4) #2 %4 = tail call i32 @RtlCopyMemory(ptr noundef %0, i32 noundef %1, i32 noundef 4) #2 store i32 4, ptr %0, align 4, !tbaa !6 ret void } declare i32 @RtlZeroMemory(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RtlCopyMemory(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
reactos_dll_directx_ddraw_Surface_extr_createsurface.c_CopyDDSurfDescToDDSurfDesc2
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_in2000.c_reset_hardware.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_in2000.c_reset_hardware.c" target datalayout = "e-m:e-p270:32:32-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.Scsi_Host = type { i32, i64 } @IO_LED_ON = dso_local local_unnamed_addr global i32 0, align 4 @RESET_CARD_AND_BUS = dso_local local_unnamed_addr global i32 0, align 4 @IO_CARD_RESET = dso_local local_unnamed_addr global i32 0, align 4 @IO_HARDWARE = dso_local local_unnamed_addr global i32 0, align 4 @WD_SCSI_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @WD_OWN_ID = dso_local local_unnamed_addr global i32 0, align 4 @OWNID_EAF = dso_local local_unnamed_addr global i32 0, align 4 @OWNID_RAF = dso_local local_unnamed_addr global i32 0, align 4 @OWNID_FS_8 = dso_local local_unnamed_addr global i32 0, align 4 @WD_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @CTRL_IDI = dso_local local_unnamed_addr global i32 0, align 4 @CTRL_EDI = dso_local local_unnamed_addr global i32 0, align 4 @CTRL_POLLED = dso_local local_unnamed_addr global i32 0, align 4 @WD_SYNCHRONOUS_TRANSFER = dso_local local_unnamed_addr global i32 0, align 4 @DEFAULT_SX_OFF = dso_local local_unnamed_addr global i32 0, align 4 @IO_FIFO_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @IO_FIFO_READ = dso_local local_unnamed_addr global i32 0, align 4 @WD_COMMAND = dso_local local_unnamed_addr global i32 0, align 4 @WD_CMD_RESET = dso_local local_unnamed_addr global i32 0, align 4 @ASR_INT = dso_local local_unnamed_addr global i32 0, align 4 @WD_QUEUE_TAG = dso_local local_unnamed_addr global i32 0, align 4 @B_FLAG = dso_local local_unnamed_addr global i32 0, align 4 @WD_TIMEOUT_PERIOD = dso_local local_unnamed_addr global i32 0, align 4 @TIMEOUT_PERIOD_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @IO_LED_OFF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @reset_hardware], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @reset_hardware(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.Scsi_Host, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr @IO_LED_ON, align 4, !tbaa !11 %7 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %6) #2 %8 = load i32, ptr @RESET_CARD_AND_BUS, align 4, !tbaa !11 %9 = icmp eq i32 %8, %1 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i32, ptr @IO_CARD_RESET, align 4, !tbaa !11 %12 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %11) #2 %13 = load i32, ptr @IO_HARDWARE, align 4, !tbaa !11 %14 = tail call i32 @read1_io(i32 noundef %13) #2 br label %15 15: ; preds = %10, %2 %16 = load i32, ptr @WD_SCSI_STATUS, align 4, !tbaa !11 %17 = tail call i32 @read_3393(ptr noundef %5, i32 noundef %16) #2 %18 = load i32, ptr @WD_OWN_ID, align 4, !tbaa !11 %19 = load i32, ptr %0, align 8, !tbaa !12 %20 = load i32, ptr @OWNID_EAF, align 4, !tbaa !11 %21 = or i32 %20, %19 %22 = load i32, ptr @OWNID_RAF, align 4, !tbaa !11 %23 = or i32 %21, %22 %24 = load i32, ptr @OWNID_FS_8, align 4, !tbaa !11 %25 = or i32 %23, %24 %26 = tail call i32 @write_3393(ptr noundef %5, i32 noundef %18, i32 noundef %25) #2 %27 = load i32, ptr @WD_CONTROL, align 4, !tbaa !11 %28 = load i32, ptr @CTRL_IDI, align 4, !tbaa !11 %29 = load i32, ptr @CTRL_EDI, align 4, !tbaa !11 %30 = or i32 %29, %28 %31 = load i32, ptr @CTRL_POLLED, align 4, !tbaa !11 %32 = or i32 %30, %31 %33 = tail call i32 @write_3393(ptr noundef %5, i32 noundef %27, i32 noundef %32) #2 %34 = load i32, ptr @WD_SYNCHRONOUS_TRANSFER, align 4, !tbaa !11 %35 = load i32, ptr %5, align 4, !tbaa !13 %36 = sdiv i32 %35, 4 %37 = load i32, ptr @DEFAULT_SX_OFF, align 4, !tbaa !11 %38 = tail call i32 @calc_sync_xfer(i32 noundef %36, i32 noundef %37) #2 %39 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %34, i32 noundef %38) #2 %40 = load i32, ptr @IO_FIFO_WRITE, align 4, !tbaa !11 %41 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %40) #2 %42 = load i32, ptr @IO_FIFO_READ, align 4, !tbaa !11 %43 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %42) #2 %44 = load i32, ptr @WD_COMMAND, align 4, !tbaa !11 %45 = load i32, ptr @WD_CMD_RESET, align 4, !tbaa !11 %46 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %44, i32 noundef %45) #2 %47 = tail call i32 (...) @READ_AUX_STAT() #2 %48 = load i32, ptr @ASR_INT, align 4, !tbaa !11 %49 = and i32 %48, %47 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %57 51: ; preds = %15, %51 %52 = tail call i32 (...) @cpu_relax() #2 %53 = tail call i32 (...) @READ_AUX_STAT() #2 %54 = load i32, ptr @ASR_INT, align 4, !tbaa !11 %55 = and i32 %54, %53 %56 = icmp eq i32 %55, 0 br i1 %56, label %51, label %57, !llvm.loop !15 57: ; preds = %51, %15 %58 = load i32, ptr @WD_SCSI_STATUS, align 4, !tbaa !11 %59 = tail call i32 @read_3393(ptr noundef nonnull %5, i32 noundef %58) #2 %60 = load i32, ptr @WD_QUEUE_TAG, align 4, !tbaa !11 %61 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %60, i32 noundef 165) #2 %62 = load i32, ptr @WD_QUEUE_TAG, align 4, !tbaa !11 %63 = tail call i32 @read_3393(ptr noundef nonnull %5, i32 noundef %62) #2 %64 = icmp eq i32 %63, 165 br i1 %64, label %65, label %70 65: ; preds = %57 %66 = load i32, ptr @B_FLAG, align 4, !tbaa !11 %67 = or i32 %66, %59 %68 = load i32, ptr @WD_QUEUE_TAG, align 4, !tbaa !11 %69 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %68, i32 noundef 0) #2 br label %70 70: ; preds = %65, %57 %71 = phi i32 [ %67, %65 ], [ %59, %57 ] %72 = load i32, ptr @WD_TIMEOUT_PERIOD, align 4, !tbaa !11 %73 = load i32, ptr @TIMEOUT_PERIOD_VALUE, align 4, !tbaa !11 %74 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %72, i32 noundef %73) #2 %75 = load i32, ptr @WD_CONTROL, align 4, !tbaa !11 %76 = load i32, ptr @CTRL_IDI, align 4, !tbaa !11 %77 = load i32, ptr @CTRL_EDI, align 4, !tbaa !11 %78 = or i32 %77, %76 %79 = load i32, ptr @CTRL_POLLED, align 4, !tbaa !11 %80 = or i32 %78, %79 %81 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %75, i32 noundef %80) #2 %82 = load i32, ptr @IO_LED_OFF, align 4, !tbaa !11 %83 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %82) #2 ret i32 %71 } declare i32 @write1_io(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read1_io(i32 noundef) local_unnamed_addr #1 declare i32 @read_3393(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_3393(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @calc_sync_xfer(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @READ_AUX_STAT(...) local_unnamed_addr #1 declare i32 @cpu_relax(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"Scsi_Host", !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 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"IN2000_hostdata", !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_in2000.c_reset_hardware.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_in2000.c_reset_hardware.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IO_LED_ON = common local_unnamed_addr global i32 0, align 4 @RESET_CARD_AND_BUS = common local_unnamed_addr global i32 0, align 4 @IO_CARD_RESET = common local_unnamed_addr global i32 0, align 4 @IO_HARDWARE = common local_unnamed_addr global i32 0, align 4 @WD_SCSI_STATUS = common local_unnamed_addr global i32 0, align 4 @WD_OWN_ID = common local_unnamed_addr global i32 0, align 4 @OWNID_EAF = common local_unnamed_addr global i32 0, align 4 @OWNID_RAF = common local_unnamed_addr global i32 0, align 4 @OWNID_FS_8 = common local_unnamed_addr global i32 0, align 4 @WD_CONTROL = common local_unnamed_addr global i32 0, align 4 @CTRL_IDI = common local_unnamed_addr global i32 0, align 4 @CTRL_EDI = common local_unnamed_addr global i32 0, align 4 @CTRL_POLLED = common local_unnamed_addr global i32 0, align 4 @WD_SYNCHRONOUS_TRANSFER = common local_unnamed_addr global i32 0, align 4 @DEFAULT_SX_OFF = common local_unnamed_addr global i32 0, align 4 @IO_FIFO_WRITE = common local_unnamed_addr global i32 0, align 4 @IO_FIFO_READ = common local_unnamed_addr global i32 0, align 4 @WD_COMMAND = common local_unnamed_addr global i32 0, align 4 @WD_CMD_RESET = common local_unnamed_addr global i32 0, align 4 @ASR_INT = common local_unnamed_addr global i32 0, align 4 @WD_QUEUE_TAG = common local_unnamed_addr global i32 0, align 4 @B_FLAG = common local_unnamed_addr global i32 0, align 4 @WD_TIMEOUT_PERIOD = common local_unnamed_addr global i32 0, align 4 @TIMEOUT_PERIOD_VALUE = common local_unnamed_addr global i32 0, align 4 @IO_LED_OFF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @reset_hardware], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @reset_hardware(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr @IO_LED_ON, align 4, !tbaa !12 %7 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %6) #2 %8 = load i32, ptr @RESET_CARD_AND_BUS, align 4, !tbaa !12 %9 = icmp eq i32 %8, %1 br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i32, ptr @IO_CARD_RESET, align 4, !tbaa !12 %12 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %11) #2 %13 = load i32, ptr @IO_HARDWARE, align 4, !tbaa !12 %14 = tail call i32 @read1_io(i32 noundef %13) #2 br label %15 15: ; preds = %10, %2 %16 = load i32, ptr @WD_SCSI_STATUS, align 4, !tbaa !12 %17 = tail call i32 @read_3393(ptr noundef %5, i32 noundef %16) #2 %18 = load i32, ptr @WD_OWN_ID, align 4, !tbaa !12 %19 = load i32, ptr %0, align 8, !tbaa !13 %20 = load i32, ptr @OWNID_EAF, align 4, !tbaa !12 %21 = or i32 %20, %19 %22 = load i32, ptr @OWNID_RAF, align 4, !tbaa !12 %23 = or i32 %21, %22 %24 = load i32, ptr @OWNID_FS_8, align 4, !tbaa !12 %25 = or i32 %23, %24 %26 = tail call i32 @write_3393(ptr noundef %5, i32 noundef %18, i32 noundef %25) #2 %27 = load i32, ptr @WD_CONTROL, align 4, !tbaa !12 %28 = load i32, ptr @CTRL_IDI, align 4, !tbaa !12 %29 = load i32, ptr @CTRL_EDI, align 4, !tbaa !12 %30 = or i32 %29, %28 %31 = load i32, ptr @CTRL_POLLED, align 4, !tbaa !12 %32 = or i32 %30, %31 %33 = tail call i32 @write_3393(ptr noundef %5, i32 noundef %27, i32 noundef %32) #2 %34 = load i32, ptr @WD_SYNCHRONOUS_TRANSFER, align 4, !tbaa !12 %35 = load i32, ptr %5, align 4, !tbaa !14 %36 = sdiv i32 %35, 4 %37 = load i32, ptr @DEFAULT_SX_OFF, align 4, !tbaa !12 %38 = tail call i32 @calc_sync_xfer(i32 noundef %36, i32 noundef %37) #2 %39 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %34, i32 noundef %38) #2 %40 = load i32, ptr @IO_FIFO_WRITE, align 4, !tbaa !12 %41 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %40) #2 %42 = load i32, ptr @IO_FIFO_READ, align 4, !tbaa !12 %43 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %42) #2 %44 = load i32, ptr @WD_COMMAND, align 4, !tbaa !12 %45 = load i32, ptr @WD_CMD_RESET, align 4, !tbaa !12 %46 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %44, i32 noundef %45) #2 %47 = tail call i32 @READ_AUX_STAT() #2 %48 = load i32, ptr @ASR_INT, align 4, !tbaa !12 %49 = and i32 %48, %47 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %57 51: ; preds = %15, %51 %52 = tail call i32 @cpu_relax() #2 %53 = tail call i32 @READ_AUX_STAT() #2 %54 = load i32, ptr @ASR_INT, align 4, !tbaa !12 %55 = and i32 %54, %53 %56 = icmp eq i32 %55, 0 br i1 %56, label %51, label %57, !llvm.loop !16 57: ; preds = %51, %15 %58 = load i32, ptr @WD_SCSI_STATUS, align 4, !tbaa !12 %59 = tail call i32 @read_3393(ptr noundef nonnull %5, i32 noundef %58) #2 %60 = load i32, ptr @WD_QUEUE_TAG, align 4, !tbaa !12 %61 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %60, i32 noundef 165) #2 %62 = load i32, ptr @WD_QUEUE_TAG, align 4, !tbaa !12 %63 = tail call i32 @read_3393(ptr noundef nonnull %5, i32 noundef %62) #2 %64 = icmp eq i32 %63, 165 br i1 %64, label %65, label %70 65: ; preds = %57 %66 = load i32, ptr @B_FLAG, align 4, !tbaa !12 %67 = or i32 %66, %59 %68 = load i32, ptr @WD_QUEUE_TAG, align 4, !tbaa !12 %69 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %68, i32 noundef 0) #2 br label %70 70: ; preds = %65, %57 %71 = phi i32 [ %67, %65 ], [ %59, %57 ] %72 = load i32, ptr @WD_TIMEOUT_PERIOD, align 4, !tbaa !12 %73 = load i32, ptr @TIMEOUT_PERIOD_VALUE, align 4, !tbaa !12 %74 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %72, i32 noundef %73) #2 %75 = load i32, ptr @WD_CONTROL, align 4, !tbaa !12 %76 = load i32, ptr @CTRL_IDI, align 4, !tbaa !12 %77 = load i32, ptr @CTRL_EDI, align 4, !tbaa !12 %78 = or i32 %77, %76 %79 = load i32, ptr @CTRL_POLLED, align 4, !tbaa !12 %80 = or i32 %78, %79 %81 = tail call i32 @write_3393(ptr noundef nonnull %5, i32 noundef %75, i32 noundef %80) #2 %82 = load i32, ptr @IO_LED_OFF, align 4, !tbaa !12 %83 = tail call i32 @write1_io(i32 noundef 0, i32 noundef %82) #2 ret i32 %71 } declare i32 @write1_io(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read1_io(i32 noundef) local_unnamed_addr #1 declare i32 @read_3393(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_3393(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @calc_sync_xfer(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @READ_AUX_STAT(...) local_unnamed_addr #1 declare i32 @cpu_relax(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"Scsi_Host", !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 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"IN2000_hostdata", !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_scsi_extr_in2000.c_reset_hardware
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adm9240.c_alarm_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_adm9240.c_alarm_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @alarm_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @alarm_show(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call ptr @adm9240_update_device(ptr noundef %0) #2 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = lshr i32 %7, %5 %9 = and i32 %8, 1 %10 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %9) #2 ret i32 %10 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @adm9240_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"adm9240_data", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adm9240.c_alarm_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_adm9240.c_alarm_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @alarm_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @alarm_show(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call ptr @adm9240_update_device(ptr noundef %0) #2 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = lshr i32 %7, %5 %9 = and i32 %8, 1 %10 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %9) #2 ret i32 %10 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @adm9240_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"adm9240_data", !8, i64 0}
linux_drivers_hwmon_extr_adm9240.c_alarm_show
; ModuleID = 'AnghaBench/openssl/crypto/ct/extr_ct_log.c_CTLOG_STORE_new.c' source_filename = "AnghaBench/openssl/crypto/ct/extr_ct_log.c_CTLOG_STORE_new.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CT_F_CTLOG_STORE_NEW = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @CTLOG_STORE_new() local_unnamed_addr #0 { %1 = tail call ptr @OPENSSL_zalloc(i32 noundef 8) #2 %2 = icmp eq ptr %1, null br i1 %2, label %3, label %7 3: ; preds = %0 %4 = load i32, ptr @CT_F_CTLOG_STORE_NEW, align 4, !tbaa !5 %5 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !5 %6 = tail call i32 @CTerr(i32 noundef %4, i32 noundef %5) #2 br label %12 7: ; preds = %0 %8 = tail call ptr (...) @sk_CTLOG_new_null() #2 store ptr %8, ptr %1, align 8, !tbaa !9 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %7 %11 = tail call i32 @OPENSSL_free(ptr noundef nonnull %1) #2 br label %12 12: ; preds = %7, %10, %3 %13 = phi ptr [ null, %3 ], [ null, %10 ], [ %1, %7 ] ret ptr %13 } declare ptr @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare i32 @CTerr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @sk_CTLOG_new_null(...) local_unnamed_addr #1 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_5__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/ct/extr_ct_log.c_CTLOG_STORE_new.c' source_filename = "AnghaBench/openssl/crypto/ct/extr_ct_log.c_CTLOG_STORE_new.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CT_F_CTLOG_STORE_NEW = common local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @CTLOG_STORE_new() local_unnamed_addr #0 { %1 = tail call ptr @OPENSSL_zalloc(i32 noundef 8) #2 %2 = icmp eq ptr %1, null br i1 %2, label %3, label %7 3: ; preds = %0 %4 = load i32, ptr @CT_F_CTLOG_STORE_NEW, align 4, !tbaa !6 %5 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !6 %6 = tail call i32 @CTerr(i32 noundef %4, i32 noundef %5) #2 br label %12 7: ; preds = %0 %8 = tail call ptr @sk_CTLOG_new_null() #2 store ptr %8, ptr %1, align 8, !tbaa !10 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %7 %11 = tail call i32 @OPENSSL_free(ptr noundef nonnull %1) #2 br label %12 12: ; preds = %7, %10, %3 %13 = phi ptr [ null, %3 ], [ null, %10 ], [ %1, %7 ] ret ptr %13 } declare ptr @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare i32 @CTerr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @sk_CTLOG_new_null(...) local_unnamed_addr #1 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
openssl_crypto_ct_extr_ct_log.c_CTLOG_STORE_new
; ModuleID = 'AnghaBench/nodemcu-firmware/app/fatfs/extr_ff.c_f_read.c' source_filename = "AnghaBench/nodemcu-firmware/app/fatfs/extr_ff.c_f_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { i32, i64, i32, i32, ptr, %struct.TYPE_15__, i64, i64 } %struct.TYPE_15__ = type { i64, i32 } %struct.TYPE_14__ = type { i32, i32, ptr, i32, i64 } @FR_OK = dso_local local_unnamed_addr global i64 0, align 8 @FA_READ = dso_local local_unnamed_addr global i32 0, align 4 @FR_DENIED = dso_local local_unnamed_addr global i64 0, align 8 @FR_INT_ERR = dso_local local_unnamed_addr global i32 0, align 4 @FR_DISK_ERR = dso_local local_unnamed_addr global i32 0, align 4 @RES_OK = dso_local local_unnamed_addr global i64 0, align 8 @FA_DIRTY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @f_read(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 store i64 0, ptr %3, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 5 %7 = call i64 @validate(ptr noundef nonnull %6, ptr noundef nonnull %5) #4 %8 = load i64, ptr @FR_OK, align 8, !tbaa !5 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %14 10: ; preds = %4 %11 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 7 %12 = load i64, ptr %11, align 8, !tbaa !9 %13 = icmp eq i64 %12, %7 br i1 %13, label %18, label %14 14: ; preds = %10, %4 %15 = phi i64 [ %7, %4 ], [ %12, %10 ] %16 = load ptr, ptr %5, align 8, !tbaa !14 %17 = call i32 @LEAVE_FF(ptr noundef %16, i64 noundef %15) #4 br label %18 18: ; preds = %14, %10 %19 = load i32, ptr %0, align 8, !tbaa !15 %20 = load i32, ptr @FA_READ, align 4, !tbaa !16 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %18 %24 = load ptr, ptr %5, align 8, !tbaa !14 %25 = load i64, ptr @FR_DENIED, align 8, !tbaa !5 %26 = call i32 @LEAVE_FF(ptr noundef %24, i64 noundef %25) #4 br label %27 27: ; preds = %23, %18 %28 = load i64, ptr %6, align 8, !tbaa !17 %29 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %30 = load i64, ptr %29, align 8, !tbaa !18 %31 = sub nsw i64 %28, %30 %32 = call i64 @llvm.smin.i64(i64 %31, i64 %2) %33 = icmp eq i64 %32, 0 br i1 %33, label %213, label %34 34: ; preds = %27 %35 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2 %36 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 5, i32 1 %37 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 3 %38 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 4 br label %39 39: ; preds = %34, %204 %40 = phi i64 [ %30, %34 ], [ %211, %204 ] %41 = phi ptr [ %1, %34 ], [ %209, %204 ] %42 = phi i64 [ %32, %34 ], [ %206, %204 ] %43 = load ptr, ptr %5, align 8, !tbaa !14 %44 = call i32 @SS(ptr noundef %43) #4 %45 = sext i32 %44 to i64 %46 = srem i64 %40, %45 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %185 48: ; preds = %39 %49 = load i64, ptr %29, align 8, !tbaa !18 %50 = load ptr, ptr %5, align 8, !tbaa !14 %51 = call i32 @SS(ptr noundef %50) #4 %52 = sext i32 %51 to i64 %53 = sdiv i64 %49, %52 %54 = load ptr, ptr %5, align 8, !tbaa !14 %55 = load i32, ptr %54, align 8, !tbaa !19 %56 = add nsw i32 %55, -1 %57 = sext i32 %56 to i64 %58 = and i64 %53, %57 %59 = icmp eq i64 %58, 0 br i1 %59, label %62, label %60 60: ; preds = %48 %61 = load i32, ptr %35, align 8, !tbaa !21 br label %86 62: ; preds = %48 %63 = load i64, ptr %29, align 8, !tbaa !18 %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %67 65: ; preds = %62 %66 = load i32, ptr %36, align 8, !tbaa !22 br label %71 67: ; preds = %62 %68 = load i32, ptr %35, align 8, !tbaa !21 %69 = call i32 @get_fat(ptr noundef nonnull %6, i32 noundef %68) #4 %70 = load ptr, ptr %5, align 8, !tbaa !14 br label %71 71: ; preds = %67, %65 %72 = phi ptr [ %54, %65 ], [ %70, %67 ] %73 = phi i32 [ %66, %65 ], [ %69, %67 ] %74 = icmp slt i32 %73, 2 br i1 %74, label %75, label %84 75: ; preds = %71 %76 = load i32, ptr @FR_INT_ERR, align 4, !tbaa !16 %77 = call i32 @ABORT(ptr noundef %72, i32 noundef %76) #4 %78 = icmp eq i32 %73, -1 %79 = load ptr, ptr %5, align 8, !tbaa !14 br i1 %78, label %80, label %84 80: ; preds = %75 %81 = load i32, ptr @FR_DISK_ERR, align 4, !tbaa !16 %82 = call i32 @ABORT(ptr noundef %79, i32 noundef %81) #4 %83 = load ptr, ptr %5, align 8, !tbaa !14 br label %84 84: ; preds = %71, %80, %75 %85 = phi ptr [ %72, %71 ], [ %83, %80 ], [ %79, %75 ] store i32 %73, ptr %35, align 8, !tbaa !21 br label %86 86: ; preds = %60, %84 %87 = phi i32 [ %73, %84 ], [ %61, %60 ] %88 = phi ptr [ %85, %84 ], [ %54, %60 ] %89 = call i32 @clst2sect(ptr noundef %88, i32 noundef %87) #4 %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %95 91: ; preds = %86 %92 = load ptr, ptr %5, align 8, !tbaa !14 %93 = load i32, ptr @FR_INT_ERR, align 4, !tbaa !16 %94 = call i32 @ABORT(ptr noundef %92, i32 noundef %93) #4 br label %95 95: ; preds = %91, %86 %96 = trunc i64 %58 to i32 %97 = add i32 %89, %96 %98 = load ptr, ptr %5, align 8, !tbaa !14 %99 = call i32 @SS(ptr noundef %98) #4 %100 = sext i32 %99 to i64 %101 = sdiv i64 %42, %100 %102 = icmp sgt i64 %101, 0 br i1 %102, label %103, label %147 103: ; preds = %95 %104 = add nsw i64 %101, %58 %105 = load ptr, ptr %5, align 8, !tbaa !14 %106 = load i32, ptr %105, align 8, !tbaa !19 %107 = sext i32 %106 to i64 %108 = icmp sgt i64 %104, %107 %109 = sub nsw i64 %107, %58 %110 = select i1 %108, i64 %109, i64 %101 %111 = getelementptr inbounds %struct.TYPE_14__, ptr %105, i64 0, i32 3 %112 = load i32, ptr %111, align 8, !tbaa !23 %113 = trunc i64 %110 to i32 %114 = call i64 @disk_read(i32 noundef %112, ptr noundef %41, i32 noundef %97, i32 noundef %113) #4 %115 = load i64, ptr @RES_OK, align 8, !tbaa !5 %116 = icmp eq i64 %114, %115 br i1 %116, label %121, label %117 117: ; preds = %103 %118 = load ptr, ptr %5, align 8, !tbaa !14 %119 = load i32, ptr @FR_DISK_ERR, align 4, !tbaa !16 %120 = call i32 @ABORT(ptr noundef %118, i32 noundef %119) #4 br label %121 121: ; preds = %117, %103 %122 = load i32, ptr %0, align 8, !tbaa !15 %123 = load i32, ptr @FA_DIRTY, align 4, !tbaa !16 %124 = and i32 %123, %122 %125 = icmp eq i32 %124, 0 br i1 %125, label %142, label %126 126: ; preds = %121 %127 = load i32, ptr %37, align 4, !tbaa !24 %128 = sub nsw i32 %127, %97 %129 = sext i32 %128 to i64 %130 = icmp sgt i64 %110, %129 br i1 %130, label %131, label %142 131: ; preds = %126 %132 = load ptr, ptr %5, align 8, !tbaa !14 %133 = call i32 @SS(ptr noundef %132) #4 %134 = mul nsw i32 %133, %128 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i32, ptr %41, i64 %135 %137 = load ptr, ptr %38, align 8, !tbaa !25 %138 = load ptr, ptr %5, align 8, !tbaa !14 %139 = call i32 @SS(ptr noundef %138) #4 %140 = sext i32 %139 to i64 %141 = call i32 @mem_cpy(ptr noundef %136, ptr noundef %137, i64 noundef %140) #4 br label %142 142: ; preds = %131, %126, %121 %143 = load ptr, ptr %5, align 8, !tbaa !14 %144 = call i32 @SS(ptr noundef %143) #4 %145 = sext i32 %144 to i64 %146 = mul nsw i64 %110, %145 br label %204 147: ; preds = %95 %148 = load i32, ptr %37, align 4, !tbaa !24 %149 = icmp eq i32 %148, %97 br i1 %149, label %184, label %150 150: ; preds = %147 %151 = load i32, ptr %0, align 8, !tbaa !15 %152 = load i32, ptr @FA_DIRTY, align 4, !tbaa !16 %153 = and i32 %152, %151 %154 = icmp eq i32 %153, 0 br i1 %154, label %172, label %155 155: ; preds = %150 %156 = load ptr, ptr %5, align 8, !tbaa !14 %157 = getelementptr inbounds %struct.TYPE_14__, ptr %156, i64 0, i32 3 %158 = load i32, ptr %157, align 8, !tbaa !23 %159 = load ptr, ptr %38, align 8, !tbaa !25 %160 = call i64 @disk_write(i32 noundef %158, ptr noundef %159, i32 noundef %148, i32 noundef 1) #4 %161 = load i64, ptr @RES_OK, align 8, !tbaa !5 %162 = icmp eq i64 %160, %161 br i1 %162, label %167, label %163 163: ; preds = %155 %164 = load ptr, ptr %5, align 8, !tbaa !14 %165 = load i32, ptr @FR_DISK_ERR, align 4, !tbaa !16 %166 = call i32 @ABORT(ptr noundef %164, i32 noundef %165) #4 br label %167 167: ; preds = %163, %155 %168 = load i32, ptr @FA_DIRTY, align 4, !tbaa !16 %169 = xor i32 %168, -1 %170 = load i32, ptr %0, align 8, !tbaa !15 %171 = and i32 %170, %169 store i32 %171, ptr %0, align 8, !tbaa !15 br label %172 172: ; preds = %167, %150 %173 = load ptr, ptr %5, align 8, !tbaa !14 %174 = getelementptr inbounds %struct.TYPE_14__, ptr %173, i64 0, i32 3 %175 = load i32, ptr %174, align 8, !tbaa !23 %176 = load ptr, ptr %38, align 8, !tbaa !25 %177 = call i64 @disk_read(i32 noundef %175, ptr noundef %176, i32 noundef %97, i32 noundef 1) #4 %178 = load i64, ptr @RES_OK, align 8, !tbaa !5 %179 = icmp eq i64 %177, %178 br i1 %179, label %184, label %180 180: ; preds = %172 %181 = load ptr, ptr %5, align 8, !tbaa !14 %182 = load i32, ptr @FR_DISK_ERR, align 4, !tbaa !16 %183 = call i32 @ABORT(ptr noundef %181, i32 noundef %182) #4 br label %184 184: ; preds = %172, %180, %147 store i32 %97, ptr %37, align 4, !tbaa !24 br label %185 185: ; preds = %184, %39 %186 = load ptr, ptr %5, align 8, !tbaa !14 %187 = call i32 @SS(ptr noundef %186) #4 %188 = sext i32 %187 to i64 %189 = load i64, ptr %29, align 8, !tbaa !18 %190 = load ptr, ptr %5, align 8, !tbaa !14 %191 = call i32 @SS(ptr noundef %190) #4 %192 = sext i32 %191 to i64 %193 = srem i64 %189, %192 %194 = sub nsw i64 %188, %193 %195 = call i64 @llvm.smin.i64(i64 %194, i64 %42) %196 = load ptr, ptr %38, align 8, !tbaa !25 %197 = load i64, ptr %29, align 8, !tbaa !18 %198 = load ptr, ptr %5, align 8, !tbaa !14 %199 = call i32 @SS(ptr noundef %198) #4 %200 = sext i32 %199 to i64 %201 = srem i64 %197, %200 %202 = getelementptr inbounds i32, ptr %196, i64 %201 %203 = call i32 @mem_cpy(ptr noundef %41, ptr noundef %202, i64 noundef %195) #4 br label %204 204: ; preds = %185, %142 %205 = phi i64 [ %146, %142 ], [ %195, %185 ] %206 = sub nsw i64 %42, %205 %207 = load i64, ptr %3, align 8, !tbaa !5 %208 = add nsw i64 %207, %205 store i64 %208, ptr %3, align 8, !tbaa !5 %209 = getelementptr inbounds i32, ptr %41, i64 %205 %210 = load i64, ptr %29, align 8, !tbaa !18 %211 = add nsw i64 %210, %205 store i64 %211, ptr %29, align 8, !tbaa !18 %212 = icmp eq i64 %206, 0 br i1 %212, label %213, label %39, !llvm.loop !26 213: ; preds = %204, %27 %214 = load ptr, ptr %5, align 8, !tbaa !14 %215 = load i64, ptr @FR_OK, align 8, !tbaa !5 %216 = call i32 @LEAVE_FF(ptr noundef %214, i64 noundef %215) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i64 undef } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @validate(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @LEAVE_FF(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @SS(ptr noundef) local_unnamed_addr #2 declare i32 @get_fat(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ABORT(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @clst2sect(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @disk_read(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mem_cpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @disk_write(i32 noundef, 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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 56} !10 = !{!"TYPE_13__", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !13, i64 32, !6, i64 48, !6, i64 56} !11 = !{!"int", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!"TYPE_15__", !6, i64 0, !11, i64 8} !14 = !{!12, !12, i64 0} !15 = !{!10, !11, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!10, !6, i64 32} !18 = !{!10, !6, i64 8} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_14__", !11, i64 0, !11, i64 4, !12, i64 8, !11, i64 16, !6, i64 24} !21 = !{!10, !11, i64 16} !22 = !{!10, !11, i64 40} !23 = !{!20, !11, i64 16} !24 = !{!10, !11, i64 20} !25 = !{!10, !12, i64 24} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/fatfs/extr_ff.c_f_read.c' source_filename = "AnghaBench/nodemcu-firmware/app/fatfs/extr_ff.c_f_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FR_OK = common local_unnamed_addr global i64 0, align 8 @FA_READ = common local_unnamed_addr global i32 0, align 4 @FR_DENIED = common local_unnamed_addr global i64 0, align 8 @FR_INT_ERR = common local_unnamed_addr global i32 0, align 4 @FR_DISK_ERR = common local_unnamed_addr global i32 0, align 4 @RES_OK = common local_unnamed_addr global i64 0, align 8 @FA_DIRTY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @f_read(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 store i64 0, ptr %3, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 32 %7 = call i64 @validate(ptr noundef nonnull %6, ptr noundef nonnull %5) #4 %8 = load i64, ptr @FR_OK, align 8, !tbaa !6 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %14 10: ; preds = %4 %11 = getelementptr inbounds i8, ptr %0, i64 56 %12 = load i64, ptr %11, align 8, !tbaa !10 %13 = icmp eq i64 %12, %7 br i1 %13, label %18, label %14 14: ; preds = %10, %4 %15 = phi i64 [ %7, %4 ], [ %12, %10 ] %16 = load ptr, ptr %5, align 8, !tbaa !15 %17 = call i32 @LEAVE_FF(ptr noundef %16, i64 noundef %15) #4 br label %18 18: ; preds = %14, %10 %19 = load i32, ptr %0, align 8, !tbaa !16 %20 = load i32, ptr @FA_READ, align 4, !tbaa !17 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %18 %24 = load ptr, ptr %5, align 8, !tbaa !15 %25 = load i64, ptr @FR_DENIED, align 8, !tbaa !6 %26 = call i32 @LEAVE_FF(ptr noundef %24, i64 noundef %25) #4 br label %27 27: ; preds = %23, %18 %28 = load i64, ptr %6, align 8, !tbaa !18 %29 = getelementptr inbounds i8, ptr %0, i64 8 %30 = load i64, ptr %29, align 8, !tbaa !19 %31 = sub nsw i64 %28, %30 %32 = call i64 @llvm.smin.i64(i64 %31, i64 %2) %33 = icmp eq i64 %32, 0 br i1 %33, label %213, label %34 34: ; preds = %27 %35 = getelementptr inbounds i8, ptr %0, i64 16 %36 = getelementptr inbounds i8, ptr %0, i64 40 %37 = getelementptr inbounds i8, ptr %0, i64 20 %38 = getelementptr inbounds i8, ptr %0, i64 24 br label %39 39: ; preds = %34, %204 %40 = phi i64 [ %30, %34 ], [ %211, %204 ] %41 = phi ptr [ %1, %34 ], [ %209, %204 ] %42 = phi i64 [ %32, %34 ], [ %206, %204 ] %43 = load ptr, ptr %5, align 8, !tbaa !15 %44 = call i32 @SS(ptr noundef %43) #4 %45 = sext i32 %44 to i64 %46 = srem i64 %40, %45 %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %185 48: ; preds = %39 %49 = load i64, ptr %29, align 8, !tbaa !19 %50 = load ptr, ptr %5, align 8, !tbaa !15 %51 = call i32 @SS(ptr noundef %50) #4 %52 = sext i32 %51 to i64 %53 = sdiv i64 %49, %52 %54 = load ptr, ptr %5, align 8, !tbaa !15 %55 = load i32, ptr %54, align 8, !tbaa !20 %56 = add nsw i32 %55, -1 %57 = sext i32 %56 to i64 %58 = and i64 %53, %57 %59 = icmp eq i64 %58, 0 br i1 %59, label %62, label %60 60: ; preds = %48 %61 = load i32, ptr %35, align 8, !tbaa !22 br label %86 62: ; preds = %48 %63 = load i64, ptr %29, align 8, !tbaa !19 %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %67 65: ; preds = %62 %66 = load i32, ptr %36, align 8, !tbaa !23 br label %71 67: ; preds = %62 %68 = load i32, ptr %35, align 8, !tbaa !22 %69 = call i32 @get_fat(ptr noundef nonnull %6, i32 noundef %68) #4 %70 = load ptr, ptr %5, align 8, !tbaa !15 br label %71 71: ; preds = %67, %65 %72 = phi ptr [ %54, %65 ], [ %70, %67 ] %73 = phi i32 [ %66, %65 ], [ %69, %67 ] %74 = icmp slt i32 %73, 2 br i1 %74, label %75, label %84 75: ; preds = %71 %76 = load i32, ptr @FR_INT_ERR, align 4, !tbaa !17 %77 = call i32 @ABORT(ptr noundef %72, i32 noundef %76) #4 %78 = icmp eq i32 %73, -1 %79 = load ptr, ptr %5, align 8, !tbaa !15 br i1 %78, label %80, label %84 80: ; preds = %75 %81 = load i32, ptr @FR_DISK_ERR, align 4, !tbaa !17 %82 = call i32 @ABORT(ptr noundef %79, i32 noundef %81) #4 %83 = load ptr, ptr %5, align 8, !tbaa !15 br label %84 84: ; preds = %71, %80, %75 %85 = phi ptr [ %72, %71 ], [ %83, %80 ], [ %79, %75 ] store i32 %73, ptr %35, align 8, !tbaa !22 br label %86 86: ; preds = %60, %84 %87 = phi i32 [ %73, %84 ], [ %61, %60 ] %88 = phi ptr [ %85, %84 ], [ %54, %60 ] %89 = call i32 @clst2sect(ptr noundef %88, i32 noundef %87) #4 %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %95 91: ; preds = %86 %92 = load ptr, ptr %5, align 8, !tbaa !15 %93 = load i32, ptr @FR_INT_ERR, align 4, !tbaa !17 %94 = call i32 @ABORT(ptr noundef %92, i32 noundef %93) #4 br label %95 95: ; preds = %91, %86 %96 = trunc i64 %58 to i32 %97 = add i32 %89, %96 %98 = load ptr, ptr %5, align 8, !tbaa !15 %99 = call i32 @SS(ptr noundef %98) #4 %100 = sext i32 %99 to i64 %101 = sdiv i64 %42, %100 %102 = icmp sgt i64 %101, 0 br i1 %102, label %103, label %147 103: ; preds = %95 %104 = add nsw i64 %101, %58 %105 = load ptr, ptr %5, align 8, !tbaa !15 %106 = load i32, ptr %105, align 8, !tbaa !20 %107 = sext i32 %106 to i64 %108 = icmp sgt i64 %104, %107 %109 = sub nsw i64 %107, %58 %110 = select i1 %108, i64 %109, i64 %101 %111 = getelementptr inbounds i8, ptr %105, i64 16 %112 = load i32, ptr %111, align 8, !tbaa !24 %113 = trunc i64 %110 to i32 %114 = call i64 @disk_read(i32 noundef %112, ptr noundef %41, i32 noundef %97, i32 noundef %113) #4 %115 = load i64, ptr @RES_OK, align 8, !tbaa !6 %116 = icmp eq i64 %114, %115 br i1 %116, label %121, label %117 117: ; preds = %103 %118 = load ptr, ptr %5, align 8, !tbaa !15 %119 = load i32, ptr @FR_DISK_ERR, align 4, !tbaa !17 %120 = call i32 @ABORT(ptr noundef %118, i32 noundef %119) #4 br label %121 121: ; preds = %117, %103 %122 = load i32, ptr %0, align 8, !tbaa !16 %123 = load i32, ptr @FA_DIRTY, align 4, !tbaa !17 %124 = and i32 %123, %122 %125 = icmp eq i32 %124, 0 br i1 %125, label %142, label %126 126: ; preds = %121 %127 = load i32, ptr %37, align 4, !tbaa !25 %128 = sub nsw i32 %127, %97 %129 = sext i32 %128 to i64 %130 = icmp sgt i64 %110, %129 br i1 %130, label %131, label %142 131: ; preds = %126 %132 = load ptr, ptr %5, align 8, !tbaa !15 %133 = call i32 @SS(ptr noundef %132) #4 %134 = mul nsw i32 %133, %128 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i32, ptr %41, i64 %135 %137 = load ptr, ptr %38, align 8, !tbaa !26 %138 = load ptr, ptr %5, align 8, !tbaa !15 %139 = call i32 @SS(ptr noundef %138) #4 %140 = sext i32 %139 to i64 %141 = call i32 @mem_cpy(ptr noundef %136, ptr noundef %137, i64 noundef %140) #4 br label %142 142: ; preds = %131, %126, %121 %143 = load ptr, ptr %5, align 8, !tbaa !15 %144 = call i32 @SS(ptr noundef %143) #4 %145 = sext i32 %144 to i64 %146 = mul nsw i64 %110, %145 br label %204 147: ; preds = %95 %148 = load i32, ptr %37, align 4, !tbaa !25 %149 = icmp eq i32 %148, %97 br i1 %149, label %184, label %150 150: ; preds = %147 %151 = load i32, ptr %0, align 8, !tbaa !16 %152 = load i32, ptr @FA_DIRTY, align 4, !tbaa !17 %153 = and i32 %152, %151 %154 = icmp eq i32 %153, 0 br i1 %154, label %172, label %155 155: ; preds = %150 %156 = load ptr, ptr %5, align 8, !tbaa !15 %157 = getelementptr inbounds i8, ptr %156, i64 16 %158 = load i32, ptr %157, align 8, !tbaa !24 %159 = load ptr, ptr %38, align 8, !tbaa !26 %160 = call i64 @disk_write(i32 noundef %158, ptr noundef %159, i32 noundef %148, i32 noundef 1) #4 %161 = load i64, ptr @RES_OK, align 8, !tbaa !6 %162 = icmp eq i64 %160, %161 br i1 %162, label %167, label %163 163: ; preds = %155 %164 = load ptr, ptr %5, align 8, !tbaa !15 %165 = load i32, ptr @FR_DISK_ERR, align 4, !tbaa !17 %166 = call i32 @ABORT(ptr noundef %164, i32 noundef %165) #4 br label %167 167: ; preds = %163, %155 %168 = load i32, ptr @FA_DIRTY, align 4, !tbaa !17 %169 = xor i32 %168, -1 %170 = load i32, ptr %0, align 8, !tbaa !16 %171 = and i32 %170, %169 store i32 %171, ptr %0, align 8, !tbaa !16 br label %172 172: ; preds = %167, %150 %173 = load ptr, ptr %5, align 8, !tbaa !15 %174 = getelementptr inbounds i8, ptr %173, i64 16 %175 = load i32, ptr %174, align 8, !tbaa !24 %176 = load ptr, ptr %38, align 8, !tbaa !26 %177 = call i64 @disk_read(i32 noundef %175, ptr noundef %176, i32 noundef %97, i32 noundef 1) #4 %178 = load i64, ptr @RES_OK, align 8, !tbaa !6 %179 = icmp eq i64 %177, %178 br i1 %179, label %184, label %180 180: ; preds = %172 %181 = load ptr, ptr %5, align 8, !tbaa !15 %182 = load i32, ptr @FR_DISK_ERR, align 4, !tbaa !17 %183 = call i32 @ABORT(ptr noundef %181, i32 noundef %182) #4 br label %184 184: ; preds = %172, %180, %147 store i32 %97, ptr %37, align 4, !tbaa !25 br label %185 185: ; preds = %184, %39 %186 = load ptr, ptr %5, align 8, !tbaa !15 %187 = call i32 @SS(ptr noundef %186) #4 %188 = sext i32 %187 to i64 %189 = load i64, ptr %29, align 8, !tbaa !19 %190 = load ptr, ptr %5, align 8, !tbaa !15 %191 = call i32 @SS(ptr noundef %190) #4 %192 = sext i32 %191 to i64 %193 = srem i64 %189, %192 %194 = sub nsw i64 %188, %193 %195 = call i64 @llvm.smin.i64(i64 %194, i64 %42) %196 = load ptr, ptr %38, align 8, !tbaa !26 %197 = load i64, ptr %29, align 8, !tbaa !19 %198 = load ptr, ptr %5, align 8, !tbaa !15 %199 = call i32 @SS(ptr noundef %198) #4 %200 = sext i32 %199 to i64 %201 = srem i64 %197, %200 %202 = getelementptr inbounds i32, ptr %196, i64 %201 %203 = call i32 @mem_cpy(ptr noundef %41, ptr noundef %202, i64 noundef %195) #4 br label %204 204: ; preds = %185, %142 %205 = phi i64 [ %146, %142 ], [ %195, %185 ] %206 = sub nsw i64 %42, %205 %207 = load i64, ptr %3, align 8, !tbaa !6 %208 = add nsw i64 %207, %205 store i64 %208, ptr %3, align 8, !tbaa !6 %209 = getelementptr inbounds i32, ptr %41, i64 %205 %210 = load i64, ptr %29, align 8, !tbaa !19 %211 = add nsw i64 %210, %205 store i64 %211, ptr %29, align 8, !tbaa !19 %212 = icmp eq i64 %206, 0 br i1 %212, label %213, label %39, !llvm.loop !27 213: ; preds = %204, %27 %214 = load ptr, ptr %5, align 8, !tbaa !15 %215 = load i64, ptr @FR_OK, align 8, !tbaa !6 %216 = call i32 @LEAVE_FF(ptr noundef %214, i64 noundef %215) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i64 undef } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @validate(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @LEAVE_FF(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @SS(ptr noundef) local_unnamed_addr #2 declare i32 @get_fat(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ABORT(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @clst2sect(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @disk_read(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mem_cpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @disk_write(i32 noundef, 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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 56} !11 = !{!"TYPE_13__", !12, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !13, i64 24, !14, i64 32, !7, i64 48, !7, i64 56} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!"TYPE_15__", !7, i64 0, !12, i64 8} !15 = !{!13, !13, i64 0} !16 = !{!11, !12, i64 0} !17 = !{!12, !12, i64 0} !18 = !{!11, !7, i64 32} !19 = !{!11, !7, i64 8} !20 = !{!21, !12, i64 0} !21 = !{!"TYPE_14__", !12, i64 0, !12, i64 4, !13, i64 8, !12, i64 16, !7, i64 24} !22 = !{!11, !12, i64 16} !23 = !{!11, !12, i64 40} !24 = !{!21, !12, i64 16} !25 = !{!11, !12, i64 20} !26 = !{!11, !13, i64 24} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
nodemcu-firmware_app_fatfs_extr_ff.c_f_read