IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mii/extr_nsgphy.c_nsgphy_status.c'
source_filename = "AnghaBench/freebsd/sys/dev/mii/extr_nsgphy.c_nsgphy_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mii_data = type { i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { ptr }
@IFM_AVALID = dso_local local_unnamed_addr global i32 0, align 4
@IFM_ETHER = dso_local local_unnamed_addr global i32 0, align 4
@MII_BMSR = dso_local local_unnamed_addr global i32 0, align 4
@NSGPHY_MII_PHYSUP = dso_local local_unnamed_addr global i32 0, align 4
@PHY_SUP_LINK = dso_local local_unnamed_addr global i32 0, align 4
@IFM_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@MII_BMCR = dso_local local_unnamed_addr global i32 0, align 4
@BMCR_ISO = dso_local local_unnamed_addr global i32 0, align 4
@IFM_NONE = dso_local local_unnamed_addr global i32 0, align 4
@BMCR_LOOP = dso_local local_unnamed_addr global i32 0, align 4
@IFM_LOOP = dso_local local_unnamed_addr global i32 0, align 4
@BMCR_AUTOEN = dso_local local_unnamed_addr global i32 0, align 4
@BMSR_ACOMP = dso_local local_unnamed_addr global i32 0, align 4
@IFM_1000_T = dso_local local_unnamed_addr global i32 0, align 4
@MII_100T2SR = dso_local local_unnamed_addr global i32 0, align 4
@GTSR_MS_RES = dso_local local_unnamed_addr global i32 0, align 4
@IFM_ETH_MASTER = dso_local local_unnamed_addr global i32 0, align 4
@IFM_100_TX = dso_local local_unnamed_addr global i32 0, align 4
@IFM_10_T = dso_local local_unnamed_addr global i32 0, align 4
@PHY_SUP_DUPLEX = dso_local local_unnamed_addr global i32 0, align 4
@IFM_FDX = dso_local local_unnamed_addr global i32 0, align 4
@IFM_HDX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nsgphy_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nsgphy_status(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.mii_data, ptr %2, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr @IFM_AVALID, align 4, !tbaa !14
%6 = getelementptr inbounds %struct.mii_data, ptr %2, i64 0, i32 1
store i32 %5, ptr %6, align 4, !tbaa !15
%7 = load i32, ptr @IFM_ETHER, align 4, !tbaa !14
store i32 %7, ptr %2, align 8, !tbaa !16
%8 = load i32, ptr @MII_BMSR, align 4, !tbaa !14
%9 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %8) #2
%10 = load i32, ptr @MII_BMSR, align 4, !tbaa !14
%11 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %10) #2
%12 = or i32 %11, %9
%13 = load i32, ptr @NSGPHY_MII_PHYSUP, align 4, !tbaa !14
%14 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %13) #2
%15 = load i32, ptr @PHY_SUP_LINK, align 4, !tbaa !14
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %1
%19 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !14
%20 = load i32, ptr %6, align 4, !tbaa !15
%21 = or i32 %20, %19
store i32 %21, ptr %6, align 4, !tbaa !15
br label %22
22: ; preds = %18, %1
%23 = load i32, ptr @MII_BMCR, align 4, !tbaa !14
%24 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %23) #2
%25 = load i32, ptr @BMCR_ISO, align 4, !tbaa !14
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %22
%29 = load i32, ptr @IFM_NONE, align 4, !tbaa !14
%30 = load i32, ptr %2, align 8, !tbaa !16
%31 = or i32 %30, %29
store i32 %31, ptr %2, align 8, !tbaa !16
store i32 0, ptr %6, align 4, !tbaa !15
br label %95
32: ; preds = %22
%33 = load i32, ptr @BMCR_LOOP, align 4, !tbaa !14
%34 = and i32 %33, %24
%35 = icmp eq i32 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %32
%37 = load i32, ptr @IFM_LOOP, align 4, !tbaa !14
%38 = load i32, ptr %2, align 8, !tbaa !16
%39 = or i32 %38, %37
store i32 %39, ptr %2, align 8, !tbaa !16
br label %40
40: ; preds = %36, %32
%41 = load i32, ptr @BMCR_AUTOEN, align 4, !tbaa !14
%42 = and i32 %41, %24
%43 = icmp eq i32 %42, 0
br i1 %43, label %93, label %44
44: ; preds = %40
%45 = load i32, ptr @BMSR_ACOMP, align 4, !tbaa !14
%46 = and i32 %45, %12
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = load i32, ptr @IFM_NONE, align 4, !tbaa !14
%50 = load i32, ptr %2, align 8, !tbaa !16
%51 = or i32 %50, %49
store i32 %51, ptr %2, align 8, !tbaa !16
br label %95
52: ; preds = %44
%53 = trunc i32 %14 to i8
%54 = and i8 %53, -127
%55 = load i32, ptr %2, align 8, !tbaa !16
switch i8 %54, label %74 [
i8 -128, label %56
i8 -127, label %68
i8 0, label %71
]
56: ; preds = %52
%57 = load i32, ptr @IFM_1000_T, align 4, !tbaa !14
%58 = or i32 %55, %57
store i32 %58, ptr %2, align 8, !tbaa !16
%59 = load i32, ptr @MII_100T2SR, align 4, !tbaa !14
%60 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %59) #2
%61 = load i32, ptr @GTSR_MS_RES, align 4, !tbaa !14
%62 = and i32 %61, %60
%63 = icmp eq i32 %62, 0
br i1 %63, label %79, label %64
64: ; preds = %56
%65 = load i32, ptr @IFM_ETH_MASTER, align 4, !tbaa !14
%66 = load i32, ptr %2, align 8, !tbaa !16
%67 = or i32 %66, %65
br label %77
68: ; preds = %52
%69 = load i32, ptr @IFM_100_TX, align 4, !tbaa !14
%70 = or i32 %55, %69
br label %77
71: ; preds = %52
%72 = load i32, ptr @IFM_10_T, align 4, !tbaa !14
%73 = or i32 %55, %72
br label %77
74: ; preds = %52
%75 = load i32, ptr @IFM_NONE, align 4, !tbaa !14
%76 = or i32 %55, %75
store i32 %76, ptr %2, align 8, !tbaa !16
store i32 0, ptr %6, align 4, !tbaa !15
br label %95
77: ; preds = %68, %71, %64
%78 = phi i32 [ %67, %64 ], [ %73, %71 ], [ %70, %68 ]
store i32 %78, ptr %2, align 8, !tbaa !16
br label %79
79: ; preds = %77, %56
%80 = load i32, ptr @PHY_SUP_DUPLEX, align 4, !tbaa !14
%81 = and i32 %80, %14
%82 = icmp eq i32 %81, 0
br i1 %82, label %89, label %83
83: ; preds = %79
%84 = load i32, ptr @IFM_FDX, align 4, !tbaa !14
%85 = tail call i32 @mii_phy_flowstatus(ptr noundef nonnull %0) #2
%86 = or i32 %85, %84
%87 = load i32, ptr %2, align 8, !tbaa !16
%88 = or i32 %86, %87
store i32 %88, ptr %2, align 8, !tbaa !16
br label %95
89: ; preds = %79
%90 = load i32, ptr @IFM_HDX, align 4, !tbaa !14
%91 = load i32, ptr %2, align 8, !tbaa !16
%92 = or i32 %91, %90
store i32 %92, ptr %2, align 8, !tbaa !16
br label %95
93: ; preds = %40
%94 = load i32, ptr %4, align 4, !tbaa !17
store i32 %94, ptr %2, align 8, !tbaa !16
br label %95
95: ; preds = %93, %89, %83, %74, %48, %28
ret void
}
declare i32 @PHY_READ(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mii_phy_flowstatus(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 = !{!"mii_softc", !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 = !{!"mii_data", !12, i64 0, !12, i64 4, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !12, i64 4}
!16 = !{!11, !12, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"ifmedia_entry", !12, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mii/extr_nsgphy.c_nsgphy_status.c'
source_filename = "AnghaBench/freebsd/sys/dev/mii/extr_nsgphy.c_nsgphy_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IFM_AVALID = common local_unnamed_addr global i32 0, align 4
@IFM_ETHER = common local_unnamed_addr global i32 0, align 4
@MII_BMSR = common local_unnamed_addr global i32 0, align 4
@NSGPHY_MII_PHYSUP = common local_unnamed_addr global i32 0, align 4
@PHY_SUP_LINK = common local_unnamed_addr global i32 0, align 4
@IFM_ACTIVE = common local_unnamed_addr global i32 0, align 4
@MII_BMCR = common local_unnamed_addr global i32 0, align 4
@BMCR_ISO = common local_unnamed_addr global i32 0, align 4
@IFM_NONE = common local_unnamed_addr global i32 0, align 4
@BMCR_LOOP = common local_unnamed_addr global i32 0, align 4
@IFM_LOOP = common local_unnamed_addr global i32 0, align 4
@BMCR_AUTOEN = common local_unnamed_addr global i32 0, align 4
@BMSR_ACOMP = common local_unnamed_addr global i32 0, align 4
@IFM_1000_T = common local_unnamed_addr global i32 0, align 4
@MII_100T2SR = common local_unnamed_addr global i32 0, align 4
@GTSR_MS_RES = common local_unnamed_addr global i32 0, align 4
@IFM_ETH_MASTER = common local_unnamed_addr global i32 0, align 4
@IFM_100_TX = common local_unnamed_addr global i32 0, align 4
@IFM_10_T = common local_unnamed_addr global i32 0, align 4
@PHY_SUP_DUPLEX = common local_unnamed_addr global i32 0, align 4
@IFM_FDX = common local_unnamed_addr global i32 0, align 4
@IFM_HDX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nsgphy_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nsgphy_status(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i32, ptr @IFM_AVALID, align 4, !tbaa !15
%6 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %5, ptr %6, align 4, !tbaa !16
%7 = load i32, ptr @IFM_ETHER, align 4, !tbaa !15
store i32 %7, ptr %2, align 8, !tbaa !17
%8 = load i32, ptr @MII_BMSR, align 4, !tbaa !15
%9 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %8) #2
%10 = load i32, ptr @MII_BMSR, align 4, !tbaa !15
%11 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %10) #2
%12 = or i32 %11, %9
%13 = load i32, ptr @NSGPHY_MII_PHYSUP, align 4, !tbaa !15
%14 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %13) #2
%15 = load i32, ptr @PHY_SUP_LINK, align 4, !tbaa !15
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %1
%19 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !15
%20 = load i32, ptr %6, align 4, !tbaa !16
%21 = or i32 %20, %19
store i32 %21, ptr %6, align 4, !tbaa !16
br label %22
22: ; preds = %18, %1
%23 = load i32, ptr @MII_BMCR, align 4, !tbaa !15
%24 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %23) #2
%25 = load i32, ptr @BMCR_ISO, align 4, !tbaa !15
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %22
%29 = load i32, ptr @IFM_NONE, align 4, !tbaa !15
%30 = load i32, ptr %2, align 8, !tbaa !17
%31 = or i32 %30, %29
store i32 %31, ptr %2, align 8, !tbaa !17
store i32 0, ptr %6, align 4, !tbaa !16
br label %96
32: ; preds = %22
%33 = load i32, ptr @BMCR_LOOP, align 4, !tbaa !15
%34 = and i32 %33, %24
%35 = icmp eq i32 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %32
%37 = load i32, ptr @IFM_LOOP, align 4, !tbaa !15
%38 = load i32, ptr %2, align 8, !tbaa !17
%39 = or i32 %38, %37
store i32 %39, ptr %2, align 8, !tbaa !17
br label %40
40: ; preds = %36, %32
%41 = load i32, ptr @BMCR_AUTOEN, align 4, !tbaa !15
%42 = and i32 %41, %24
%43 = icmp eq i32 %42, 0
br i1 %43, label %94, label %44
44: ; preds = %40
%45 = load i32, ptr @BMSR_ACOMP, align 4, !tbaa !15
%46 = and i32 %45, %12
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = load i32, ptr @IFM_NONE, align 4, !tbaa !15
%50 = load i32, ptr %2, align 8, !tbaa !17
%51 = or i32 %50, %49
store i32 %51, ptr %2, align 8, !tbaa !17
br label %96
52: ; preds = %44
%53 = trunc i32 %14 to i8
%54 = and i8 %53, -127
%55 = load i32, ptr %2, align 8, !tbaa !17
switch i8 %54, label %74 [
i8 -128, label %56
i8 -127, label %68
i8 0, label %71
i8 1, label %75
]
56: ; preds = %52
%57 = load i32, ptr @IFM_1000_T, align 4, !tbaa !15
%58 = or i32 %55, %57
store i32 %58, ptr %2, align 8, !tbaa !17
%59 = load i32, ptr @MII_100T2SR, align 4, !tbaa !15
%60 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %59) #2
%61 = load i32, ptr @GTSR_MS_RES, align 4, !tbaa !15
%62 = and i32 %61, %60
%63 = icmp eq i32 %62, 0
br i1 %63, label %80, label %64
64: ; preds = %56
%65 = load i32, ptr @IFM_ETH_MASTER, align 4, !tbaa !15
%66 = load i32, ptr %2, align 8, !tbaa !17
%67 = or i32 %66, %65
br label %78
68: ; preds = %52
%69 = load i32, ptr @IFM_100_TX, align 4, !tbaa !15
%70 = or i32 %55, %69
br label %78
71: ; preds = %52
%72 = load i32, ptr @IFM_10_T, align 4, !tbaa !15
%73 = or i32 %55, %72
br label %78
74: ; preds = %52
unreachable
75: ; preds = %52
%76 = load i32, ptr @IFM_NONE, align 4, !tbaa !15
%77 = or i32 %55, %76
store i32 %77, ptr %2, align 8, !tbaa !17
store i32 0, ptr %6, align 4, !tbaa !16
br label %96
78: ; preds = %68, %71, %64
%79 = phi i32 [ %67, %64 ], [ %73, %71 ], [ %70, %68 ]
store i32 %79, ptr %2, align 8, !tbaa !17
br label %80
80: ; preds = %78, %56
%81 = load i32, ptr @PHY_SUP_DUPLEX, align 4, !tbaa !15
%82 = and i32 %81, %14
%83 = icmp eq i32 %82, 0
br i1 %83, label %90, label %84
84: ; preds = %80
%85 = load i32, ptr @IFM_FDX, align 4, !tbaa !15
%86 = tail call i32 @mii_phy_flowstatus(ptr noundef nonnull %0) #2
%87 = or i32 %86, %85
%88 = load i32, ptr %2, align 8, !tbaa !17
%89 = or i32 %87, %88
store i32 %89, ptr %2, align 8, !tbaa !17
br label %96
90: ; preds = %80
%91 = load i32, ptr @IFM_HDX, align 4, !tbaa !15
%92 = load i32, ptr %2, align 8, !tbaa !17
%93 = or i32 %92, %91
store i32 %93, ptr %2, align 8, !tbaa !17
br label %96
94: ; preds = %40
%95 = load i32, ptr %4, align 4, !tbaa !18
store i32 %95, ptr %2, align 8, !tbaa !17
br label %96
96: ; preds = %94, %90, %84, %75, %48, %28
ret void
}
declare i32 @PHY_READ(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mii_phy_flowstatus(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 = !{!"mii_softc", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"mii_data", !13, i64 0, !13, i64 4, !14, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !13, i64 4}
!17 = !{!12, !13, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"ifmedia_entry", !13, i64 0}
| freebsd_sys_dev_mii_extr_nsgphy.c_nsgphy_status |
; ModuleID = 'AnghaBench/freebsd/lib/libdpv/extr_dialog_util.c_x11_maxsize_update.c'
source_filename = "AnghaBench/freebsd/lib/libdpv/extr_dialog_util.c_x11_maxsize_update.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i16, i16 }
@LINE_MAX = dso_local local_unnamed_addr global i32 0, align 4
@maxsize = dso_local local_unnamed_addr global ptr null, align 8
@EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Out of memory?!\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"%s --print-maxsize 2>&1\00", align 1
@dialog = dso_local local_unnamed_addr global ptr null, align 8
@STDIN_FILENO = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@debug = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [29 x i8] c"WARNING! Command `%s' failed\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Xdialog: Error\00", align 1
@USHRT_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @x11_maxsize_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @x11_maxsize_update() #0 {
%1 = load i32, ptr @LINE_MAX, align 4, !tbaa !5
%2 = zext i32 %1 to i64
%3 = alloca i8, i64 %2, align 16
%4 = alloca i8, i64 %2, align 16
%5 = load ptr, ptr @maxsize, align 8, !tbaa !9
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %18
7: ; preds = %0
%8 = tail call ptr @malloc(i32 noundef 4) #3
store ptr %8, ptr @maxsize, align 8, !tbaa !9
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
%12 = tail call i32 @errx(i32 noundef %11, ptr noundef nonnull @.str) #3
%13 = load ptr, ptr @maxsize, align 8, !tbaa !9
br label %14
14: ; preds = %10, %7
%15 = phi ptr [ %13, %10 ], [ %8, %7 ]
%16 = tail call i32 @memset(ptr noundef %15, i8 noundef signext 0, i32 noundef 4) #3
%17 = load i32, ptr @LINE_MAX, align 4, !tbaa !5
br label %18
18: ; preds = %14, %0
%19 = phi i32 [ %17, %14 ], [ %1, %0 ]
%20 = load ptr, ptr @dialog, align 8, !tbaa !9
%21 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef %19, ptr noundef nonnull @.str.1, ptr noundef %20) #3
%22 = load i32, ptr @STDIN_FILENO, align 4, !tbaa !5
%23 = call i32 @fflush(i32 noundef %22) #3
%24 = call ptr @popen(ptr noundef nonnull %3, ptr noundef nonnull @.str.2)
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %31
26: ; preds = %18
%27 = load i64, ptr @debug, align 8, !tbaa !11
%28 = icmp eq i64 %27, 0
br i1 %28, label %63, label %29
29: ; preds = %26
%30 = call i32 @warnx(ptr noundef nonnull @.str.3, ptr noundef nonnull %3) #3
br label %63
31: ; preds = %18
%32 = load i32, ptr @LINE_MAX, align 4, !tbaa !5
%33 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef %32, ptr noundef nonnull %24)
%34 = icmp eq ptr %33, null
br i1 %34, label %63, label %35
35: ; preds = %31
%36 = call i64 @pclose(ptr noundef nonnull %24) #3
%37 = icmp slt i64 %36, 0
br i1 %37, label %63, label %38
38: ; preds = %35
%39 = call i64 @strncmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.4, i32 noundef 14) #3
%40 = icmp eq i64 %39, 0
br i1 %40, label %63, label %41
41: ; preds = %38
%42 = call ptr @strchr(ptr noundef nonnull %4, i8 noundef signext 32) #3
%43 = icmp eq ptr %42, null
br i1 %43, label %63, label %44
44: ; preds = %41
%45 = call ptr @strchr(ptr noundef nonnull %42, i8 noundef signext 44) #3
%46 = icmp eq ptr %45, null
br i1 %46, label %52, label %47
47: ; preds = %44
%48 = getelementptr inbounds i8, ptr %45, i64 1
store i8 0, ptr %45, align 1, !tbaa !13
%49 = call ptr @strchr(ptr noundef nonnull %48, i8 noundef signext 10) #3
%50 = icmp eq ptr %49, null
br i1 %50, label %52, label %51
51: ; preds = %47
store i8 0, ptr %49, align 1, !tbaa !13
br label %52
52: ; preds = %47, %51, %44
%53 = phi ptr [ %48, %51 ], [ %48, %47 ], [ null, %44 ]
%54 = load i32, ptr @USHRT_MAX, align 4, !tbaa !5
%55 = call i64 @strtonum(ptr noundef nonnull %42, i32 noundef 0, i32 noundef %54, ptr noundef null) #3
%56 = trunc i64 %55 to i16
%57 = load ptr, ptr @maxsize, align 8, !tbaa !9
store i16 %56, ptr %57, align 2, !tbaa !14
%58 = load i32, ptr @USHRT_MAX, align 4, !tbaa !5
%59 = call i64 @strtonum(ptr noundef %53, i32 noundef 0, i32 noundef %58, ptr noundef null) #3
%60 = trunc i64 %59 to i16
%61 = load ptr, ptr @maxsize, align 8, !tbaa !9
%62 = getelementptr inbounds %struct.TYPE_3__, ptr %61, i64 0, i32 1
store i16 %60, ptr %62, align 2, !tbaa !17
br label %63
63: ; preds = %41, %38, %31, %35, %26, %29, %52
ret void
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @errx(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fflush(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @popen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @warnx(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #2
declare i64 @pclose(ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i64 @strtonum(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_3__", !16, i64 0, !16, i64 2}
!16 = !{!"short", !7, i64 0}
!17 = !{!15, !16, i64 2}
| ; ModuleID = 'AnghaBench/freebsd/lib/libdpv/extr_dialog_util.c_x11_maxsize_update.c'
source_filename = "AnghaBench/freebsd/lib/libdpv/extr_dialog_util.c_x11_maxsize_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LINE_MAX = common local_unnamed_addr global i32 0, align 4
@maxsize = common local_unnamed_addr global ptr null, align 8
@EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Out of memory?!\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"%s --print-maxsize 2>&1\00", align 1
@dialog = common local_unnamed_addr global ptr null, align 8
@STDIN_FILENO = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@debug = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [29 x i8] c"WARNING! Command `%s' failed\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Xdialog: Error\00", align 1
@USHRT_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @x11_maxsize_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @x11_maxsize_update() #0 {
%1 = load i32, ptr @LINE_MAX, align 4, !tbaa !6
%2 = zext i32 %1 to i64
%3 = alloca i8, i64 %2, align 1
%4 = alloca i8, i64 %2, align 1
%5 = load ptr, ptr @maxsize, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %18
7: ; preds = %0
%8 = tail call ptr @malloc(i32 noundef 4) #3
store ptr %8, ptr @maxsize, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
%12 = tail call i32 @errx(i32 noundef %11, ptr noundef nonnull @.str) #3
%13 = load ptr, ptr @maxsize, align 8, !tbaa !10
br label %14
14: ; preds = %10, %7
%15 = phi ptr [ %13, %10 ], [ %8, %7 ]
%16 = tail call i32 @memset(ptr noundef %15, i8 noundef signext 0, i32 noundef 4) #3
%17 = load i32, ptr @LINE_MAX, align 4, !tbaa !6
br label %18
18: ; preds = %14, %0
%19 = phi i32 [ %17, %14 ], [ %1, %0 ]
%20 = load ptr, ptr @dialog, align 8, !tbaa !10
%21 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef %19, ptr noundef nonnull @.str.1, ptr noundef %20) #3
%22 = load i32, ptr @STDIN_FILENO, align 4, !tbaa !6
%23 = call i32 @fflush(i32 noundef %22) #3
%24 = call ptr @popen(ptr noundef nonnull %3, ptr noundef nonnull @.str.2)
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %31
26: ; preds = %18
%27 = load i64, ptr @debug, align 8, !tbaa !12
%28 = icmp eq i64 %27, 0
br i1 %28, label %63, label %29
29: ; preds = %26
%30 = call i32 @warnx(ptr noundef nonnull @.str.3, ptr noundef nonnull %3) #3
br label %63
31: ; preds = %18
%32 = load i32, ptr @LINE_MAX, align 4, !tbaa !6
%33 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef %32, ptr noundef nonnull %24)
%34 = icmp eq ptr %33, null
br i1 %34, label %63, label %35
35: ; preds = %31
%36 = call i64 @pclose(ptr noundef nonnull %24) #3
%37 = icmp slt i64 %36, 0
br i1 %37, label %63, label %38
38: ; preds = %35
%39 = call i64 @strncmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.4, i32 noundef 14) #3
%40 = icmp eq i64 %39, 0
br i1 %40, label %63, label %41
41: ; preds = %38
%42 = call ptr @strchr(ptr noundef nonnull %4, i8 noundef signext 32) #3
%43 = icmp eq ptr %42, null
br i1 %43, label %63, label %44
44: ; preds = %41
%45 = call ptr @strchr(ptr noundef nonnull %42, i8 noundef signext 44) #3
%46 = icmp eq ptr %45, null
br i1 %46, label %52, label %47
47: ; preds = %44
%48 = getelementptr inbounds i8, ptr %45, i64 1
store i8 0, ptr %45, align 1, !tbaa !14
%49 = call ptr @strchr(ptr noundef nonnull %48, i8 noundef signext 10) #3
%50 = icmp eq ptr %49, null
br i1 %50, label %52, label %51
51: ; preds = %47
store i8 0, ptr %49, align 1, !tbaa !14
br label %52
52: ; preds = %47, %51, %44
%53 = phi ptr [ %48, %51 ], [ %48, %47 ], [ null, %44 ]
%54 = load i32, ptr @USHRT_MAX, align 4, !tbaa !6
%55 = call i64 @strtonum(ptr noundef nonnull %42, i32 noundef 0, i32 noundef %54, ptr noundef null) #3
%56 = trunc i64 %55 to i16
%57 = load ptr, ptr @maxsize, align 8, !tbaa !10
store i16 %56, ptr %57, align 2, !tbaa !15
%58 = load i32, ptr @USHRT_MAX, align 4, !tbaa !6
%59 = call i64 @strtonum(ptr noundef %53, i32 noundef 0, i32 noundef %58, ptr noundef null) #3
%60 = trunc i64 %59 to i16
%61 = load ptr, ptr @maxsize, align 8, !tbaa !10
%62 = getelementptr inbounds i8, ptr %61, i64 2
store i16 %60, ptr %62, align 2, !tbaa !18
br label %63
63: ; preds = %41, %38, %31, %35, %26, %29, %52
ret void
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @errx(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fflush(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @popen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @warnx(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #2
declare i64 @pclose(ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i64 @strtonum(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_3__", !17, i64 0, !17, i64 2}
!17 = !{!"short", !8, i64 0}
!18 = !{!16, !17, i64 2}
| freebsd_lib_libdpv_extr_dialog_util.c_x11_maxsize_update |
; ModuleID = 'AnghaBench/tmux/extr_tty-keys.c_tty_keys_add1.c'
source_filename = "AnghaBench/tmux/extr_tty-keys.c_tty_keys_add1.c"
target datalayout = "e-m:e-p270:32:32-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.tty_key = type { i8, ptr, ptr, ptr, i32 }
@KEYC_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tty_keys_add1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tty_keys_add1(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
br label %4
4: ; preds = %29, %3
%5 = phi ptr [ %30, %29 ], [ %0, %3 ]
%6 = phi ptr [ %24, %29 ], [ %1, %3 ]
br label %7
7: ; preds = %31, %4
%8 = phi ptr [ %5, %4 ], [ %37, %31 ]
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = icmp eq ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %7
%12 = load i8, ptr %9, align 8, !tbaa !9
br label %18
13: ; preds = %7
%14 = tail call ptr @xcalloc(i32 noundef 1, i32 noundef 40) #2
store ptr %14, ptr %8, align 8, !tbaa !5
%15 = load i8, ptr %6, align 1, !tbaa !12
store i8 %15, ptr %14, align 8, !tbaa !9
%16 = load i32, ptr @KEYC_UNKNOWN, align 4, !tbaa !13
%17 = getelementptr inbounds %struct.tty_key, ptr %14, i64 0, i32 4
store i32 %16, ptr %17, align 8, !tbaa !14
br label %18
18: ; preds = %11, %13
%19 = phi i8 [ %15, %13 ], [ %12, %11 ]
%20 = phi ptr [ %14, %13 ], [ %9, %11 ]
%21 = load i8, ptr %6, align 1, !tbaa !12
%22 = icmp eq i8 %21, %19
br i1 %22, label %23, label %31
23: ; preds = %18
%24 = getelementptr inbounds i8, ptr %6, i64 1
%25 = load i8, ptr %24, align 1, !tbaa !12
%26 = icmp eq i8 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = getelementptr inbounds %struct.tty_key, ptr %20, i64 0, i32 4
store i32 %2, ptr %28, align 8, !tbaa !14
ret void
29: ; preds = %23
%30 = getelementptr inbounds %struct.tty_key, ptr %20, i64 0, i32 3
br label %4
31: ; preds = %18
%32 = icmp slt i8 %21, %19
%33 = getelementptr inbounds %struct.tty_key, ptr %20, i64 0, i32 2
%34 = icmp sgt i8 %21, %19
%35 = getelementptr inbounds %struct.tty_key, ptr %20, i64 0, i32 1
%36 = select i1 %34, ptr %35, ptr %8
%37 = select i1 %32, ptr %33, ptr %36
br label %7
}
declare ptr @xcalloc(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, !7, i64 0}
!10 = !{!"tty_key", !7, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32}
!11 = !{!"int", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 32}
| ; ModuleID = 'AnghaBench/tmux/extr_tty-keys.c_tty_keys_add1.c'
source_filename = "AnghaBench/tmux/extr_tty-keys.c_tty_keys_add1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KEYC_UNKNOWN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tty_keys_add1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tty_keys_add1(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
br label %4
4: ; preds = %29, %3
%5 = phi ptr [ %30, %29 ], [ %0, %3 ]
%6 = phi ptr [ %24, %29 ], [ %1, %3 ]
br label %7
7: ; preds = %31, %4
%8 = phi ptr [ %5, %4 ], [ %37, %31 ]
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = icmp eq ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %7
%12 = load i8, ptr %9, align 8, !tbaa !10
br label %18
13: ; preds = %7
%14 = tail call ptr @xcalloc(i32 noundef 1, i32 noundef 40) #2
store ptr %14, ptr %8, align 8, !tbaa !6
%15 = load i8, ptr %6, align 1, !tbaa !13
store i8 %15, ptr %14, align 8, !tbaa !10
%16 = load i32, ptr @KEYC_UNKNOWN, align 4, !tbaa !14
%17 = getelementptr inbounds i8, ptr %14, i64 32
store i32 %16, ptr %17, align 8, !tbaa !15
br label %18
18: ; preds = %11, %13
%19 = phi i8 [ %15, %13 ], [ %12, %11 ]
%20 = phi ptr [ %14, %13 ], [ %9, %11 ]
%21 = load i8, ptr %6, align 1, !tbaa !13
%22 = icmp eq i8 %21, %19
br i1 %22, label %23, label %31
23: ; preds = %18
%24 = getelementptr inbounds i8, ptr %6, i64 1
%25 = load i8, ptr %24, align 1, !tbaa !13
%26 = icmp eq i8 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = getelementptr inbounds i8, ptr %20, i64 32
store i32 %2, ptr %28, align 8, !tbaa !15
ret void
29: ; preds = %23
%30 = getelementptr inbounds i8, ptr %20, i64 24
br label %4
31: ; preds = %18
%32 = icmp slt i8 %21, %19
%33 = getelementptr inbounds i8, ptr %20, i64 16
%34 = icmp sgt i8 %21, %19
%35 = getelementptr inbounds i8, ptr %20, i64 8
%36 = select i1 %34, ptr %35, ptr %8
%37 = select i1 %32, ptr %33, ptr %36
br label %7
}
declare ptr @xcalloc(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, !8, i64 0}
!11 = !{!"tty_key", !8, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32}
!12 = !{!"int", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !12, i64 32}
| tmux_extr_tty-keys.c_tty_keys_add1 |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/x86emu/extr_x86emu.c_x86emuOp_esc_coprocess_de.c'
source_filename = "AnghaBench/freebsd/sys/contrib/x86emu/extr_x86emu.c_x86emuOp_esc_coprocess_de.c"
target datalayout = "e-m:e-p270:32:32-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 @x86emuOp_esc_coprocess_de], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @x86emuOp_esc_coprocess_de(ptr noundef %0) #0 {
%2 = tail call i32 @fetch_decode_modrm(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = icmp eq i32 %3, 3
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @decode_rl_address(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @fetch_decode_modrm(ptr noundef) local_unnamed_addr #1
declare i32 @decode_rl_address(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 = !{!"x86emu", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/x86emu/extr_x86emu.c_x86emuOp_esc_coprocess_de.c'
source_filename = "AnghaBench/freebsd/sys/contrib/x86emu/extr_x86emu.c_x86emuOp_esc_coprocess_de.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 @x86emuOp_esc_coprocess_de], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @x86emuOp_esc_coprocess_de(ptr noundef %0) #0 {
%2 = tail call i32 @fetch_decode_modrm(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = icmp eq i32 %3, 3
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @decode_rl_address(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @fetch_decode_modrm(ptr noundef) local_unnamed_addr #1
declare i32 @decode_rl_address(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 = !{!"x86emu", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_contrib_x86emu_extr_x86emu.c_x86emuOp_esc_coprocess_de |
; ModuleID = 'AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_isa.c_sja1000_isa_mem_read_reg.c'
source_filename = "AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_isa.c_sja1000_isa_mem_read_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @sja1000_isa_mem_read_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sja1000_isa_mem_read_reg(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = sext i32 %1 to i64
%5 = add nsw i64 %3, %4
%6 = tail call i32 @readb(i64 noundef %5) #2
ret i32 %6
}
declare i32 @readb(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 = !{!"sja1000_priv", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_isa.c_sja1000_isa_mem_read_reg.c'
source_filename = "AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_isa.c_sja1000_isa_mem_read_reg.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 @sja1000_isa_mem_read_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sja1000_isa_mem_read_reg(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = sext i32 %1 to i64
%5 = add nsw i64 %3, %4
%6 = tail call i32 @readb(i64 noundef %5) #2
ret i32 %6
}
declare i32 @readb(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 = !{!"sja1000_priv", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_can_sja1000_extr_sja1000_isa.c_sja1000_isa_mem_read_reg |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_wq.h_mlx5_wq_cyc_get_contig_wqebbs.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_wq.h_mlx5_wq_cyc_get_contig_wqebbs.c"
target datalayout = "e-m:e-p270:32:32-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 @mlx5_wq_cyc_get_contig_wqebbs], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i64 @mlx5_wq_cyc_get_contig_wqebbs(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @mlx5_frag_buf_get_idx_last_contig_stride(ptr noundef %0, i64 noundef %1) #2
%4 = sub i64 %3, %1
%5 = add i64 %4, 1
ret i64 %5
}
declare i64 @mlx5_frag_buf_get_idx_last_contig_stride(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_wq.h_mlx5_wq_cyc_get_contig_wqebbs.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_wq.h_mlx5_wq_cyc_get_contig_wqebbs.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 @mlx5_wq_cyc_get_contig_wqebbs], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i64 -9223372036854775807, -9223372036854775808) i64 @mlx5_wq_cyc_get_contig_wqebbs(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @mlx5_frag_buf_get_idx_last_contig_stride(ptr noundef %0, i64 noundef %1) #2
%4 = sub i64 %3, %1
%5 = add i64 %4, 1
ret i64 %5
}
declare i64 @mlx5_frag_buf_get_idx_last_contig_stride(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_ethernet_mellanox_mlx5_core_extr_wq.h_mlx5_wq_cyc_get_contig_wqebbs |
; ModuleID = 'AnghaBench/vlc/modules/video_output/opengl/extr_display.c_PictureRender.c'
source_filename = "AnghaBench/vlc/modules/video_output/opengl/extr_display.c_PictureRender.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, i32 }
@VLC_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @PictureRender], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @PictureRender(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @VLC_UNUSED(i32 noundef %3) #2
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = tail call i64 @vlc_gl_MakeCurrent(i32 noundef %7) #2
%9 = load i64, ptr @VLC_SUCCESS, align 8, !tbaa !13
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %4
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %6, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !15
%14 = tail call i32 @vout_display_opengl_Prepare(i32 noundef %13, ptr noundef %1, ptr noundef %2) #2
%15 = load i32, ptr %6, align 4, !tbaa !10
%16 = tail call i32 @vlc_gl_ReleaseCurrent(i32 noundef %15) #2
br label %17
17: ; preds = %11, %4
ret void
}
declare i32 @VLC_UNUSED(i32 noundef) local_unnamed_addr #1
declare i64 @vlc_gl_MakeCurrent(i32 noundef) local_unnamed_addr #1
declare i32 @vout_display_opengl_Prepare(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vlc_gl_ReleaseCurrent(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_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !12, i64 4}
| ; ModuleID = 'AnghaBench/vlc/modules/video_output/opengl/extr_display.c_PictureRender.c'
source_filename = "AnghaBench/vlc/modules/video_output/opengl/extr_display.c_PictureRender.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VLC_SUCCESS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @PictureRender], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @PictureRender(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @VLC_UNUSED(i32 noundef %3) #2
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = tail call i64 @vlc_gl_MakeCurrent(i32 noundef %7) #2
%9 = load i64, ptr @VLC_SUCCESS, align 8, !tbaa !14
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %4
%12 = getelementptr inbounds i8, ptr %6, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !16
%14 = tail call i32 @vout_display_opengl_Prepare(i32 noundef %13, ptr noundef %1, ptr noundef %2) #2
%15 = load i32, ptr %6, align 4, !tbaa !11
%16 = tail call i32 @vlc_gl_ReleaseCurrent(i32 noundef %15) #2
br label %17
17: ; preds = %11, %4
ret void
}
declare i32 @VLC_UNUSED(i32 noundef) local_unnamed_addr #1
declare i64 @vlc_gl_MakeCurrent(i32 noundef) local_unnamed_addr #1
declare i32 @vout_display_opengl_Prepare(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vlc_gl_ReleaseCurrent(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_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!12, !13, i64 4}
| vlc_modules_video_output_opengl_extr_display.c_PictureRender |
; ModuleID = 'AnghaBench/linux/crypto/extr_rsa-pkcs1pad.c_rsa_lookup_asn1.c'
source_filename = "AnghaBench/linux/crypto/extr_rsa-pkcs1pad.c_rsa_lookup_asn1.c"
target datalayout = "e-m:e-p270:32:32-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.rsa_asn1_template = type { i64 }
@rsa_asn1_templates = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @rsa_lookup_asn1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @rsa_lookup_asn1(ptr noundef %0) #0 {
%2 = load ptr, ptr @rsa_asn1_templates, align 8, !tbaa !5
%3 = load i64, ptr %2, align 8, !tbaa !9
%4 = icmp eq i64 %3, 0
br i1 %4, label %14, label %5
5: ; preds = %1, %10
%6 = phi i64 [ %12, %10 ], [ %3, %1 ]
%7 = phi ptr [ %11, %10 ], [ %2, %1 ]
%8 = tail call i64 @strcmp(ptr noundef %0, i64 noundef %6) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %5
%11 = getelementptr inbounds %struct.rsa_asn1_template, ptr %7, i64 1
%12 = load i64, ptr %11, align 8, !tbaa !9
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %5, !llvm.loop !12
14: ; preds = %5, %10, %1
%15 = phi ptr [ null, %1 ], [ null, %10 ], [ %7, %5 ]
ret ptr %15
}
declare i64 @strcmp(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"rsa_asn1_template", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/crypto/extr_rsa-pkcs1pad.c_rsa_lookup_asn1.c'
source_filename = "AnghaBench/linux/crypto/extr_rsa-pkcs1pad.c_rsa_lookup_asn1.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rsa_asn1_templates = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @rsa_lookup_asn1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @rsa_lookup_asn1(ptr noundef %0) #0 {
%2 = load ptr, ptr @rsa_asn1_templates, align 8, !tbaa !6
%3 = load i64, ptr %2, align 8, !tbaa !10
%4 = icmp eq i64 %3, 0
br i1 %4, label %14, label %5
5: ; preds = %1, %10
%6 = phi i64 [ %12, %10 ], [ %3, %1 ]
%7 = phi ptr [ %11, %10 ], [ %2, %1 ]
%8 = tail call i64 @strcmp(ptr noundef %0, i64 noundef %6) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %5
%11 = getelementptr inbounds i8, ptr %7, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !10
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %5, !llvm.loop !13
14: ; preds = %5, %10, %1
%15 = phi ptr [ null, %1 ], [ null, %10 ], [ %7, %5 ]
ret ptr %15
}
declare i64 @strcmp(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"rsa_asn1_template", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| linux_crypto_extr_rsa-pkcs1pad.c_rsa_lookup_asn1 |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_cdclk.c_intel_cdclk_changed.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_cdclk.c_intel_cdclk_changed.c"
target datalayout = "e-m:e-p270:32:32-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 @intel_cdclk_changed(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @intel_cdclk_needs_modeset(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = load i64, ptr %0, align 8, !tbaa !5
%7 = load i64, ptr %1, align 8, !tbaa !5
%8 = icmp ne i64 %6, %7
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %5, %2
%11 = phi i32 [ 1, %2 ], [ %9, %5 ]
ret i32 %11
}
declare i64 @intel_cdclk_needs_modeset(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 = !{!"intel_cdclk_state", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_cdclk.c_intel_cdclk_changed.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_cdclk.c_intel_cdclk_changed.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 @intel_cdclk_changed(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @intel_cdclk_needs_modeset(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = load i64, ptr %0, align 8, !tbaa !6
%7 = load i64, ptr %1, align 8, !tbaa !6
%8 = icmp ne i64 %6, %7
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %5, %2
%11 = phi i32 [ 1, %2 ], [ %9, %5 ]
ret i32 %11
}
declare i64 @intel_cdclk_needs_modeset(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 = !{!"intel_cdclk_state", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_display_extr_intel_cdclk.c_intel_cdclk_changed |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-i2c.c_saa7164_call_i2c_clients.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-i2c.c_saa7164_call_i2c_clients.c"
target datalayout = "e-m:e-p270:32:32-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.saa7164_i2c = type { i64, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @saa7164_call_i2c_clients(ptr noundef %0, i32 noundef %1, ptr 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 %9
6: ; preds = %3
%7 = getelementptr inbounds %struct.saa7164_i2c, ptr %0, i64 0, i32 1
%8 = tail call i32 @i2c_clients_command(ptr noundef nonnull %7, i32 noundef %1, ptr noundef %2) #2
br label %9
9: ; preds = %3, %6
ret void
}
declare i32 @i2c_clients_command(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"saa7164_i2c", !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}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-i2c.c_saa7164_call_i2c_clients.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/saa7164/extr_saa7164-i2c.c_saa7164_call_i2c_clients.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 @saa7164_call_i2c_clients(ptr noundef %0, i32 noundef %1, ptr 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 %9
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = tail call i32 @i2c_clients_command(ptr noundef nonnull %7, i32 noundef %1, ptr noundef %2) #2
br label %9
9: ; preds = %3, %6
ret void
}
declare i32 @i2c_clients_command(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"saa7164_i2c", !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}
| fastsocket_kernel_drivers_media_video_saa7164_extr_saa7164-i2c.c_saa7164_call_i2c_clients |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_event-top.c_set_async_editing_command.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_event-top.c_set_async_editing_command.c"
target datalayout = "e-m:e-p270:32:32-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 @set_async_editing_command(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = tail call i32 (...) @change_line_handler() #2
ret void
}
declare i32 @change_line_handler(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_event-top.c_set_async_editing_command.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_event-top.c_set_async_editing_command.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 @set_async_editing_command(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = tail call i32 @change_line_handler() #2
ret void
}
declare i32 @change_line_handler(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gdb_gdb_extr_event-top.c_set_async_editing_command |
; ModuleID = 'AnghaBench/linux/drivers/net/wan/extr_hdlc_x25.c_x25_ioctl.c'
source_filename = "AnghaBench/linux/drivers/net/wan/extr_hdlc_x25.c_x25_ioctl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { ptr, ptr }
%struct.net_device = type { i32, i32 }
@proto = dso_local global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@CAP_NET_ADMIN = dso_local local_unnamed_addr global i32 0, align 4
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
@IFF_UP = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@ENCODING_NRZ = dso_local local_unnamed_addr global i32 0, align 4
@PARITY_CRC16_PR1_CCITT = dso_local local_unnamed_addr global i32 0, align 4
@ARPHRD_X25 = dso_local local_unnamed_addr global i32 0, align 4
@NETDEV_POST_TYPE_CHANGE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @x25_ioctl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @x25_ioctl(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call ptr @dev_to_hdlc(ptr noundef %0) #2
%4 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %4, label %44 [
i32 129, label %5
i32 128, label %14
]
5: ; preds = %2
%6 = tail call ptr @dev_to_hdlc(ptr noundef %0) #2
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %6, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = icmp eq ptr %8, @proto
br i1 %9, label %13, label %10
10: ; preds = %5
%11 = load i32, ptr @EINVAL, align 4, !tbaa !14
%12 = sub nsw i32 0, %11
br label %47
13: ; preds = %5
store i32 128, ptr %1, align 4, !tbaa !5
br label %47
14: ; preds = %2
%15 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !14
%16 = tail call i32 @capable(i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr @EPERM, align 4, !tbaa !14
%20 = sub nsw i32 0, %19
br label %47
21: ; preds = %14
%22 = load i32, ptr %0, align 4, !tbaa !15
%23 = load i32, ptr @IFF_UP, align 4, !tbaa !14
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = load i32, ptr @EBUSY, align 4, !tbaa !14
%28 = sub nsw i32 0, %27
br label %47
29: ; preds = %21
%30 = load ptr, ptr %3, align 8, !tbaa !17
%31 = load i32, ptr @ENCODING_NRZ, align 4, !tbaa !14
%32 = load i32, ptr @PARITY_CRC16_PR1_CCITT, align 4, !tbaa !14
%33 = tail call i32 %30(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %32) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %47
35: ; preds = %29
%36 = tail call i32 @attach_hdlc_protocol(ptr noundef nonnull %0, ptr noundef nonnull @proto, i32 noundef 0) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %47
38: ; preds = %35
%39 = load i32, ptr @ARPHRD_X25, align 4, !tbaa !14
%40 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1
store i32 %39, ptr %40, align 4, !tbaa !18
%41 = load i32, ptr @NETDEV_POST_TYPE_CHANGE, align 4, !tbaa !14
%42 = tail call i32 @call_netdevice_notifiers(i32 noundef %41, ptr noundef nonnull %0) #2
%43 = tail call i32 @netif_dormant_off(ptr noundef nonnull %0) #2
br label %47
44: ; preds = %2
%45 = load i32, ptr @EINVAL, align 4, !tbaa !14
%46 = sub nsw i32 0, %45
br label %47
47: ; preds = %35, %29, %44, %38, %26, %18, %13, %10
%48 = phi i32 [ %46, %44 ], [ %28, %26 ], [ 0, %38 ], [ %20, %18 ], [ %12, %10 ], [ 0, %13 ], [ %33, %29 ], [ %36, %35 ]
ret i32 %48
}
declare ptr @dev_to_hdlc(ptr noundef) local_unnamed_addr #1
declare i32 @capable(i32 noundef) local_unnamed_addr #1
declare i32 @attach_hdlc_protocol(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @call_netdevice_notifiers(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @netif_dormant_off(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"ifreq", !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 = !{!12, !13, i64 8}
!12 = !{!"TYPE_5__", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"net_device", !8, i64 0, !8, i64 4}
!17 = !{!12, !13, i64 0}
!18 = !{!16, !8, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wan/extr_hdlc_x25.c_x25_ioctl.c'
source_filename = "AnghaBench/linux/drivers/net/wan/extr_hdlc_x25.c_x25_ioctl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@proto = common global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@CAP_NET_ADMIN = common local_unnamed_addr global i32 0, align 4
@EPERM = common local_unnamed_addr global i32 0, align 4
@IFF_UP = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@ENCODING_NRZ = common local_unnamed_addr global i32 0, align 4
@PARITY_CRC16_PR1_CCITT = common local_unnamed_addr global i32 0, align 4
@ARPHRD_X25 = common local_unnamed_addr global i32 0, align 4
@NETDEV_POST_TYPE_CHANGE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @x25_ioctl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @x25_ioctl(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call ptr @dev_to_hdlc(ptr noundef %0) #2
%4 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %4, label %44 [
i32 129, label %5
i32 128, label %14
]
5: ; preds = %2
%6 = tail call ptr @dev_to_hdlc(ptr noundef %0) #2
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = icmp eq ptr %8, @proto
br i1 %9, label %13, label %10
10: ; preds = %5
%11 = load i32, ptr @EINVAL, align 4, !tbaa !15
%12 = sub nsw i32 0, %11
br label %47
13: ; preds = %5
store i32 128, ptr %1, align 4, !tbaa !6
br label %47
14: ; preds = %2
%15 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !15
%16 = tail call i32 @capable(i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr @EPERM, align 4, !tbaa !15
%20 = sub nsw i32 0, %19
br label %47
21: ; preds = %14
%22 = load i32, ptr %0, align 4, !tbaa !16
%23 = load i32, ptr @IFF_UP, align 4, !tbaa !15
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = load i32, ptr @EBUSY, align 4, !tbaa !15
%28 = sub nsw i32 0, %27
br label %47
29: ; preds = %21
%30 = load ptr, ptr %3, align 8, !tbaa !18
%31 = load i32, ptr @ENCODING_NRZ, align 4, !tbaa !15
%32 = load i32, ptr @PARITY_CRC16_PR1_CCITT, align 4, !tbaa !15
%33 = tail call i32 %30(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %32) #2
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %47
35: ; preds = %29
%36 = tail call i32 @attach_hdlc_protocol(ptr noundef nonnull %0, ptr noundef nonnull @proto, i32 noundef 0) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %47
38: ; preds = %35
%39 = load i32, ptr @ARPHRD_X25, align 4, !tbaa !15
%40 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %39, ptr %40, align 4, !tbaa !19
%41 = load i32, ptr @NETDEV_POST_TYPE_CHANGE, align 4, !tbaa !15
%42 = tail call i32 @call_netdevice_notifiers(i32 noundef %41, ptr noundef nonnull %0) #2
%43 = tail call i32 @netif_dormant_off(ptr noundef nonnull %0) #2
br label %47
44: ; preds = %2
%45 = load i32, ptr @EINVAL, align 4, !tbaa !15
%46 = sub nsw i32 0, %45
br label %47
47: ; preds = %35, %29, %44, %38, %26, %18, %13, %10
%48 = phi i32 [ %46, %44 ], [ %28, %26 ], [ 0, %38 ], [ %20, %18 ], [ %12, %10 ], [ 0, %13 ], [ %33, %29 ], [ %36, %35 ]
ret i32 %48
}
declare ptr @dev_to_hdlc(ptr noundef) local_unnamed_addr #1
declare i32 @capable(i32 noundef) local_unnamed_addr #1
declare i32 @attach_hdlc_protocol(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @call_netdevice_notifiers(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @netif_dormant_off(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"ifreq", !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 = !{!13, !14, i64 8}
!13 = !{!"TYPE_5__", !14, i64 0, !14, i64 8}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!9, !9, i64 0}
!16 = !{!17, !9, i64 0}
!17 = !{!"net_device", !9, i64 0, !9, i64 4}
!18 = !{!13, !14, i64 0}
!19 = !{!17, !9, i64 4}
| linux_drivers_net_wan_extr_hdlc_x25.c_x25_ioctl |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_adhoc_check.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_adhoc_check.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ipw_priv = type { i64, i32, %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@CFG_ADHOC_PERSIST = dso_local local_unnamed_addr global i32 0, align 4
@IPW_DL_INFO = dso_local local_unnamed_addr global i32 0, align 4
@IPW_DL_NOTIF = dso_local local_unnamed_addr global i32 0, align 4
@IPW_DL_STATE = dso_local local_unnamed_addr global i32 0, align 4
@IPW_DL_ASSOC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Missed beacon: %d - disassociate\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipw_adhoc_check], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ipw_adhoc_check(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.ipw_priv, ptr %0, i64 0, i32 4
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = add nsw i32 %3, 1
store i32 %4, ptr %2, align 4, !tbaa !5
%5 = sext i32 %3 to i64
%6 = load i64, ptr %0, align 8, !tbaa !12
%7 = icmp slt i64 %6, %5
br i1 %7, label %8, label %25
8: ; preds = %1
%9 = getelementptr inbounds %struct.ipw_priv, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = load i32, ptr @CFG_ADHOC_PERSIST, align 4, !tbaa !14
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %25
14: ; preds = %8
%15 = load i32, ptr @IPW_DL_INFO, align 4, !tbaa !14
%16 = load i32, ptr @IPW_DL_NOTIF, align 4, !tbaa !14
%17 = or i32 %16, %15
%18 = load i32, ptr @IPW_DL_STATE, align 4, !tbaa !14
%19 = or i32 %17, %18
%20 = load i32, ptr @IPW_DL_ASSOC, align 4, !tbaa !14
%21 = or i32 %19, %20
%22 = tail call i32 @IPW_DEBUG(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %4) #2
%23 = tail call i32 @ipw_remove_current_network(ptr noundef nonnull %0) #2
%24 = tail call i32 @ipw_disassociate(ptr noundef nonnull %0) #2
br label %31
25: ; preds = %8, %1
%26 = getelementptr inbounds %struct.ipw_priv, ptr %0, i64 0, i32 3
%27 = getelementptr inbounds %struct.ipw_priv, ptr %0, i64 0, i32 2
%28 = load i32, ptr %27, align 4, !tbaa !15
%29 = tail call i32 @le16_to_cpu(i32 noundef %28) #2
%30 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %26, i32 noundef %29) #2
br label %31
31: ; preds = %25, %14
ret void
}
declare i32 @IPW_DEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipw_remove_current_network(ptr noundef) local_unnamed_addr #1
declare i32 @ipw_disassociate(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(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 20}
!6 = !{!"ipw_priv", !7, i64 0, !10, i64 8, !11, i64 12, !10, i64 16, !10, i64 20}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_2__", !10, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !10, i64 12}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_adhoc_check.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_adhoc_check.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CFG_ADHOC_PERSIST = common local_unnamed_addr global i32 0, align 4
@IPW_DL_INFO = common local_unnamed_addr global i32 0, align 4
@IPW_DL_NOTIF = common local_unnamed_addr global i32 0, align 4
@IPW_DL_STATE = common local_unnamed_addr global i32 0, align 4
@IPW_DL_ASSOC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Missed beacon: %d - disassociate\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ipw_adhoc_check], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ipw_adhoc_check(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 20
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = add nsw i32 %3, 1
store i32 %4, ptr %2, align 4, !tbaa !6
%5 = sext i32 %3 to i64
%6 = load i64, ptr %0, align 8, !tbaa !13
%7 = icmp slt i64 %6, %5
br i1 %7, label %8, label %25
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = load i32, ptr @CFG_ADHOC_PERSIST, align 4, !tbaa !15
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %25
14: ; preds = %8
%15 = load i32, ptr @IPW_DL_INFO, align 4, !tbaa !15
%16 = load i32, ptr @IPW_DL_NOTIF, align 4, !tbaa !15
%17 = or i32 %16, %15
%18 = load i32, ptr @IPW_DL_STATE, align 4, !tbaa !15
%19 = or i32 %17, %18
%20 = load i32, ptr @IPW_DL_ASSOC, align 4, !tbaa !15
%21 = or i32 %19, %20
%22 = tail call i32 @IPW_DEBUG(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %4) #2
%23 = tail call i32 @ipw_remove_current_network(ptr noundef nonnull %0) #2
%24 = tail call i32 @ipw_disassociate(ptr noundef nonnull %0) #2
br label %31
25: ; preds = %8, %1
%26 = getelementptr inbounds i8, ptr %0, i64 16
%27 = getelementptr inbounds i8, ptr %0, i64 12
%28 = load i32, ptr %27, align 4, !tbaa !16
%29 = tail call i32 @le16_to_cpu(i32 noundef %28) #2
%30 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %26, i32 noundef %29) #2
br label %31
31: ; preds = %25, %14
ret void
}
declare i32 @IPW_DEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ipw_remove_current_network(ptr noundef) local_unnamed_addr #1
declare i32 @ipw_disassociate(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(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 20}
!7 = !{!"ipw_priv", !8, i64 0, !11, i64 8, !12, i64 12, !11, i64 16, !11, i64 20}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_2__", !11, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !11, i64 12}
| linux_drivers_net_wireless_intel_ipw2x00_extr_ipw2200.c_ipw_adhoc_check |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetCurrentTimezone.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetCurrentTimezone.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@timezone = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @GetCurrentTimezone() local_unnamed_addr #0 {
%1 = tail call i32 (...) @tzset() #2
%2 = load i32, ptr @timezone, align 4, !tbaa !5
%3 = sdiv i32 %2, 60
ret i32 %3
}
declare i32 @tzset(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetCurrentTimezone.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetCurrentTimezone.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@timezone = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -35791394, 35791395) i32 @GetCurrentTimezone() local_unnamed_addr #0 {
%1 = tail call i32 @tzset() #2
%2 = load i32, ptr @timezone, align 4, !tbaa !6
%3 = sdiv i32 %2, 60
ret i32 %3
}
declare i32 @tzset(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| SoftEtherVPN_src_Mayaqua_extr_Network.c_GetCurrentTimezone |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/tls/extr_x509v3.c_x509_parse_alt_name_dns.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/tls/extr_x509v3.c_x509_parse_alt_name_dns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MSG_MSGDUMP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"X509: altName - dNSName\00", align 1
@MSG_INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [69 x i8] c"X509: Reject certificate with embedded NUL byte in dNSName (%s[NUL])\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @x509_parse_alt_name_dns], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @x509_parse_alt_name_dns(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !5
%5 = tail call i32 @wpa_hexdump_ascii(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %1, i64 noundef %2) #2
%6 = load ptr, ptr %0, align 8, !tbaa !9
%7 = tail call i32 @os_free(ptr noundef %6) #2
%8 = add i64 %2, 1
%9 = tail call ptr @os_zalloc(i64 noundef %8) #2
store ptr %9, ptr %0, align 8, !tbaa !9
%10 = icmp eq ptr %9, null
br i1 %10, label %22, label %11
11: ; preds = %3
%12 = tail call i32 @os_memcpy(ptr noundef nonnull %9, ptr noundef %1, i64 noundef %2) #2
%13 = load ptr, ptr %0, align 8, !tbaa !9
%14 = tail call i64 @os_strlen(ptr noundef %13) #2
%15 = icmp eq i64 %14, %2
br i1 %15, label %22, label %16
16: ; preds = %11
%17 = load i32, ptr @MSG_INFO, align 4, !tbaa !5
%18 = load ptr, ptr %0, align 8, !tbaa !9
%19 = tail call i32 @wpa_printf(i32 noundef %17, ptr noundef nonnull @.str.1, ptr noundef %18) #2
%20 = load ptr, ptr %0, align 8, !tbaa !9
%21 = tail call i32 @os_free(ptr noundef %20) #2
store ptr null, ptr %0, align 8, !tbaa !9
br label %22
22: ; preds = %11, %3, %16
%23 = phi i32 [ -1, %16 ], [ -1, %3 ], [ 0, %11 ]
ret i32 %23
}
declare i32 @wpa_hexdump_ascii(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
declare ptr @os_zalloc(i64 noundef) local_unnamed_addr #1
declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @os_strlen(ptr noundef) local_unnamed_addr #1
declare i32 @wpa_printf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"x509_name", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/tls/extr_x509v3.c_x509_parse_alt_name_dns.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/tls/extr_x509v3.c_x509_parse_alt_name_dns.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSG_MSGDUMP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"X509: altName - dNSName\00", align 1
@MSG_INFO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [69 x i8] c"X509: Reject certificate with embedded NUL byte in dNSName (%s[NUL])\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @x509_parse_alt_name_dns], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @x509_parse_alt_name_dns(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !6
%5 = tail call i32 @wpa_hexdump_ascii(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %1, i64 noundef %2) #2
%6 = load ptr, ptr %0, align 8, !tbaa !10
%7 = tail call i32 @os_free(ptr noundef %6) #2
%8 = add i64 %2, 1
%9 = tail call ptr @os_zalloc(i64 noundef %8) #2
store ptr %9, ptr %0, align 8, !tbaa !10
%10 = icmp eq ptr %9, null
br i1 %10, label %22, label %11
11: ; preds = %3
%12 = tail call i32 @os_memcpy(ptr noundef nonnull %9, ptr noundef %1, i64 noundef %2) #2
%13 = load ptr, ptr %0, align 8, !tbaa !10
%14 = tail call i64 @os_strlen(ptr noundef %13) #2
%15 = icmp eq i64 %14, %2
br i1 %15, label %22, label %16
16: ; preds = %11
%17 = load i32, ptr @MSG_INFO, align 4, !tbaa !6
%18 = load ptr, ptr %0, align 8, !tbaa !10
%19 = tail call i32 @wpa_printf(i32 noundef %17, ptr noundef nonnull @.str.1, ptr noundef %18) #2
%20 = load ptr, ptr %0, align 8, !tbaa !10
%21 = tail call i32 @os_free(ptr noundef %20) #2
store ptr null, ptr %0, align 8, !tbaa !10
br label %22
22: ; preds = %11, %3, %16
%23 = phi i32 [ -1, %16 ], [ -1, %3 ], [ 0, %11 ]
ret i32 %23
}
declare i32 @wpa_hexdump_ascii(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
declare ptr @os_zalloc(i64 noundef) local_unnamed_addr #1
declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @os_strlen(ptr noundef) local_unnamed_addr #1
declare i32 @wpa_printf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"x509_name", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_wpa_src_tls_extr_x509v3.c_x509_parse_alt_name_dns |
; ModuleID = 'AnghaBench/linux/drivers/char/pcmcia/extr_synclink_cs.c_tx_release.c'
source_filename = "AnghaBench/linux/drivers/char/pcmcia/extr_synclink_cs.c_tx_release.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tty_struct = type { i32, i64 }
%struct.TYPE_4__ = type { i32, i32, i32 }
@.str = private unnamed_addr constant [11 x i8] c"tx_release\00", align 1
@debug_level = dso_local local_unnamed_addr global i64 0, align 8
@DEBUG_LEVEL_INFO = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"tx_release(%s)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @tx_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tx_release(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.tty_struct, ptr %0, i64 0, i32 1
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %0, align 8, !tbaa !11
%6 = tail call i64 @mgslpc_paranoia_check(ptr noundef %4, i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %25
8: ; preds = %1
%9 = load i64, ptr @debug_level, align 8, !tbaa !12
%10 = load i64, ptr @DEBUG_LEVEL_INFO, align 8, !tbaa !12
%11 = icmp slt i64 %9, %10
br i1 %11, label %16, label %12
12: ; preds = %8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = tail call i32 @printk(ptr noundef nonnull @.str.1, i32 noundef %14) #2
br label %16
16: ; preds = %12, %8
%17 = tail call i32 @spin_lock_irqsave(ptr noundef %4, i64 noundef undef) #2
%18 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = tail call i32 @tx_start(ptr noundef nonnull %4, ptr noundef nonnull %0) #2
br label %23
23: ; preds = %21, %16
%24 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2
br label %25
25: ; preds = %1, %23
ret void
}
declare i64 @mgslpc_paranoia_check(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @tx_start(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(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, !10, i64 8}
!6 = !{!"tty_struct", !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 = !{!6, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8}
!15 = !{!14, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/char/pcmcia/extr_synclink_cs.c_tx_release.c'
source_filename = "AnghaBench/linux/drivers/char/pcmcia/extr_synclink_cs.c_tx_release.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"tx_release\00", align 1
@debug_level = common local_unnamed_addr global i64 0, align 8
@DEBUG_LEVEL_INFO = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"tx_release(%s)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @tx_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tx_release(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = tail call i64 @mgslpc_paranoia_check(ptr noundef %4, i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %25
8: ; preds = %1
%9 = load i64, ptr @debug_level, align 8, !tbaa !13
%10 = load i64, ptr @DEBUG_LEVEL_INFO, align 8, !tbaa !13
%11 = icmp slt i64 %9, %10
br i1 %11, label %16, label %12
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %4, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = tail call i32 @printk(ptr noundef nonnull @.str.1, i32 noundef %14) #2
br label %16
16: ; preds = %12, %8
%17 = tail call i32 @spin_lock_irqsave(ptr noundef %4, i64 noundef undef) #2
%18 = getelementptr inbounds i8, ptr %4, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !16
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = tail call i32 @tx_start(ptr noundef nonnull %4, ptr noundef nonnull %0) #2
br label %23
23: ; preds = %21, %16
%24 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2
br label %25
25: ; preds = %1, %23
ret void
}
declare i64 @mgslpc_paranoia_check(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @tx_start(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(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, !11, i64 8}
!7 = !{!"tty_struct", !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 = !{!7, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !8, i64 8}
!15 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8}
!16 = !{!15, !8, i64 4}
| linux_drivers_char_pcmcia_extr_synclink_cs.c_tx_release |
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_free_dev.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_free_dev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @hci_free_dev(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @put_device(ptr noundef %0) #2
ret void
}
declare i32 @put_device(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/bluetooth/extr_hci_core.c_hci_free_dev.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_free_dev.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 @hci_free_dev(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @put_device(ptr noundef %0) #2
ret void
}
declare i32 @put_device(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_bluetooth_extr_hci_core.c_hci_free_dev |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000_print_link_info.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000_print_link_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.e1000_adapter = type { i64, i32, ptr, %struct.e1000_hw }
%struct.e1000_hw = type { i32 }
@CTRL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"%s NIC Link is Up %d Mbps %s Duplex, Flow Control: %s\0A\00", align 1
@FULL_DUPLEX = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"Full\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Half\00", align 1
@E1000_CTRL_TFCE = dso_local local_unnamed_addr global i32 0, align 4
@E1000_CTRL_RFCE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"Rx/Tx\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"Rx\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"Tx\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"None\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_print_link_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @e1000_print_link_info(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CTRL, align 4, !tbaa !5
%3 = tail call i32 @er32(i32 noundef %2) #2
%4 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !9
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 8, !tbaa !16
%9 = load i64, ptr %0, align 8, !tbaa !17
%10 = load i64, ptr @FULL_DUPLEX, align 8, !tbaa !18
%11 = load i32, ptr @E1000_CTRL_TFCE, align 4, !tbaa !5
%12 = and i32 %11, %3
%13 = icmp eq i32 %12, 0
%14 = load i32, ptr @E1000_CTRL_RFCE, align 4, !tbaa !5
%15 = and i32 %14, %3
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, ptr @.str.6, ptr @.str.4
%18 = select i1 %16, ptr @.str.5, ptr @.str.3
%19 = select i1 %13, ptr %17, ptr %18
%20 = icmp eq i64 %9, %10
%21 = select i1 %20, ptr @.str.1, ptr @.str.2
%22 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, ptr noundef nonnull %21, ptr noundef nonnull %19) #2
ret void
}
declare i32 @er32(i32 noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 16}
!10 = !{!"e1000_adapter", !11, i64 0, !6, i64 8, !12, i64 16, !13, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"e1000_hw", !6, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_2__", !6, i64 0}
!16 = !{!10, !6, i64 8}
!17 = !{!10, !11, i64 0}
!18 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000_print_link_info.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000_print_link_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CTRL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [55 x i8] c"%s NIC Link is Up %d Mbps %s Duplex, Flow Control: %s\0A\00", align 1
@FULL_DUPLEX = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"Full\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Half\00", align 1
@E1000_CTRL_TFCE = common local_unnamed_addr global i32 0, align 4
@E1000_CTRL_RFCE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"Rx/Tx\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"Rx\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"Tx\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"None\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @e1000_print_link_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @e1000_print_link_info(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CTRL, align 4, !tbaa !6
%3 = tail call i32 @er32(i32 noundef %2) #2
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load i32, ptr %5, align 4, !tbaa !15
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr %7, align 8, !tbaa !17
%9 = load i64, ptr %0, align 8, !tbaa !18
%10 = load i64, ptr @FULL_DUPLEX, align 8, !tbaa !19
%11 = load i32, ptr @E1000_CTRL_TFCE, align 4, !tbaa !6
%12 = and i32 %11, %3
%13 = icmp eq i32 %12, 0
%14 = load i32, ptr @E1000_CTRL_RFCE, align 4, !tbaa !6
%15 = and i32 %14, %3
%16 = icmp eq i32 %15, 0
br i1 %13, label %17, label %19
17: ; preds = %1
%18 = select i1 %16, ptr @.str.6, ptr @.str.4
br label %20
19: ; preds = %1
br i1 %16, label %20, label %22
20: ; preds = %17, %19
%21 = phi ptr [ %18, %17 ], [ @.str.5, %19 ]
br label %22
22: ; preds = %20, %19
%23 = phi ptr [ @.str.3, %19 ], [ %21, %20 ]
%24 = icmp eq i64 %9, %10
%25 = select i1 %24, ptr @.str.1, ptr @.str.2
%26 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, ptr noundef nonnull %25, ptr noundef nonnull %23) #2
ret void
}
declare i32 @er32(i32 noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 16}
!11 = !{!"e1000_adapter", !12, i64 0, !7, i64 8, !13, i64 16, !14, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"e1000_hw", !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0}
!17 = !{!11, !7, i64 8}
!18 = !{!11, !12, i64 0}
!19 = !{!12, !12, i64 0}
| linux_drivers_net_ethernet_intel_e1000e_extr_netdev.c_e1000_print_link_info |
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_hash.c_xmlHashFree.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_hash.c_xmlHashFree.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32, i32, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @xmlHashFree(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %127, label %4
4: ; preds = %2
%5 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %119, label %8
8: ; preds = %4
%9 = load i32, ptr %0, align 8, !tbaa !12
%10 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = icmp sgt i32 %11, 0
%13 = icmp sgt i32 %9, 0
%14 = select i1 %12, i1 %13, i1 false
br i1 %14, label %15, label %116
15: ; preds = %8
%16 = icmp eq ptr %1, null
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
br label %18
18: ; preds = %15, %106
%19 = phi i32 [ %11, %15 ], [ %107, %106 ]
%20 = phi i64 [ 0, %15 ], [ %109, %106 ]
%21 = phi i32 [ %9, %15 ], [ %108, %106 ]
%22 = load ptr, ptr %5, align 8, !tbaa !5
%23 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 %20, i32 2
%24 = load i64, ptr %23, align 8, !tbaa !14
%25 = icmp eq i64 %24, 0
%26 = icmp eq ptr %22, null
%27 = or i1 %25, %26
br i1 %27, label %106, label %28
28: ; preds = %18
%29 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 %20, i32 9
%30 = load ptr, ptr %29, align 8, !tbaa !15
br i1 %16, label %39, label %31
31: ; preds = %28
%32 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 %20, i32 5
%33 = load ptr, ptr %32, align 8, !tbaa !16
%34 = icmp eq ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %31
%36 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 %20, i32 8
%37 = load ptr, ptr %36, align 8, !tbaa !17
%38 = tail call i32 %1(ptr noundef nonnull %33, ptr noundef %37) #2
br label %39
39: ; preds = %35, %31, %28
%40 = load ptr, ptr %17, align 8, !tbaa !18
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %60
42: ; preds = %39
%43 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 %20, i32 8
%44 = load ptr, ptr %43, align 8, !tbaa !17
%45 = icmp eq ptr %44, null
br i1 %45, label %48, label %46
46: ; preds = %42
%47 = tail call i32 @xmlFree(ptr noundef nonnull %44) #2
br label %48
48: ; preds = %46, %42
%49 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 %20, i32 7
%50 = load ptr, ptr %49, align 8, !tbaa !19
%51 = icmp eq ptr %50, null
br i1 %51, label %54, label %52
52: ; preds = %48
%53 = tail call i32 @xmlFree(ptr noundef nonnull %50) #2
br label %54
54: ; preds = %52, %48
%55 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 %20, i32 6
%56 = load ptr, ptr %55, align 8, !tbaa !20
%57 = icmp eq ptr %56, null
br i1 %57, label %60, label %58
58: ; preds = %54
%59 = tail call i32 @xmlFree(ptr noundef nonnull %56) #2
br label %60
60: ; preds = %39, %54, %58
%61 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 %20, i32 5
store ptr null, ptr %61, align 8, !tbaa !16
%62 = add nsw i32 %21, -1
%63 = icmp eq ptr %30, null
br i1 %63, label %103, label %64
64: ; preds = %60, %98
%65 = phi i32 [ %101, %98 ], [ %62, %60 ]
%66 = phi ptr [ %68, %98 ], [ %30, %60 ]
%67 = getelementptr inbounds %struct.TYPE_7__, ptr %66, i64 0, i32 9
%68 = load ptr, ptr %67, align 8, !tbaa !15
br i1 %16, label %77, label %69
69: ; preds = %64
%70 = getelementptr inbounds %struct.TYPE_7__, ptr %66, i64 0, i32 5
%71 = load ptr, ptr %70, align 8, !tbaa !16
%72 = icmp eq ptr %71, null
br i1 %72, label %77, label %73
73: ; preds = %69
%74 = getelementptr inbounds %struct.TYPE_7__, ptr %66, i64 0, i32 8
%75 = load ptr, ptr %74, align 8, !tbaa !17
%76 = tail call i32 %1(ptr noundef nonnull %71, ptr noundef %75) #2
br label %77
77: ; preds = %73, %69, %64
%78 = load ptr, ptr %17, align 8, !tbaa !18
%79 = icmp eq ptr %78, null
br i1 %79, label %80, label %98
80: ; preds = %77
%81 = getelementptr inbounds %struct.TYPE_7__, ptr %66, i64 0, i32 8
%82 = load ptr, ptr %81, align 8, !tbaa !17
%83 = icmp eq ptr %82, null
br i1 %83, label %86, label %84
84: ; preds = %80
%85 = tail call i32 @xmlFree(ptr noundef nonnull %82) #2
br label %86
86: ; preds = %84, %80
%87 = getelementptr inbounds %struct.TYPE_7__, ptr %66, i64 0, i32 7
%88 = load ptr, ptr %87, align 8, !tbaa !19
%89 = icmp eq ptr %88, null
br i1 %89, label %92, label %90
90: ; preds = %86
%91 = tail call i32 @xmlFree(ptr noundef nonnull %88) #2
br label %92
92: ; preds = %90, %86
%93 = getelementptr inbounds %struct.TYPE_7__, ptr %66, i64 0, i32 6
%94 = load ptr, ptr %93, align 8, !tbaa !20
%95 = icmp eq ptr %94, null
br i1 %95, label %98, label %96
96: ; preds = %92
%97 = tail call i32 @xmlFree(ptr noundef nonnull %94) #2
br label %98
98: ; preds = %92, %96, %77
%99 = getelementptr inbounds %struct.TYPE_7__, ptr %66, i64 0, i32 5
store ptr null, ptr %99, align 8, !tbaa !16
%100 = tail call i32 @xmlFree(ptr noundef nonnull %66) #2
%101 = add nsw i32 %65, -1
%102 = icmp eq ptr %68, null
br i1 %102, label %103, label %64, !llvm.loop !21
103: ; preds = %98, %60
%104 = phi i32 [ %62, %60 ], [ %101, %98 ]
%105 = load i32, ptr %10, align 4, !tbaa !13
br label %106
106: ; preds = %103, %18
%107 = phi i32 [ %19, %18 ], [ %105, %103 ]
%108 = phi i32 [ %21, %18 ], [ %104, %103 ]
%109 = add nuw nsw i64 %20, 1
%110 = sext i32 %107 to i64
%111 = icmp slt i64 %109, %110
%112 = icmp sgt i32 %108, 0
%113 = select i1 %111, i1 %112, i1 false
br i1 %113, label %18, label %114, !llvm.loop !24
114: ; preds = %106
%115 = load ptr, ptr %5, align 8, !tbaa !5
br label %116
116: ; preds = %114, %8
%117 = phi ptr [ %115, %114 ], [ %6, %8 ]
%118 = tail call i32 @xmlFree(ptr noundef %117) #2
br label %119
119: ; preds = %116, %4
%120 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
%121 = load ptr, ptr %120, align 8, !tbaa !18
%122 = icmp eq ptr %121, null
br i1 %122, label %125, label %123
123: ; preds = %119
%124 = tail call i32 @xmlDictFree(ptr noundef nonnull %121) #2
br label %125
125: ; preds = %123, %119
%126 = tail call i32 @xmlFree(ptr noundef nonnull %0) #2
br label %127
127: ; preds = %2, %125
ret void
}
declare i32 @xmlFree(ptr noundef) local_unnamed_addr #1
declare i32 @xmlDictFree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 24}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !10, i64 8}
!15 = !{!6, !11, i64 64}
!16 = !{!6, !11, i64 32}
!17 = !{!6, !11, i64 56}
!18 = !{!6, !11, i64 16}
!19 = !{!6, !11, i64 48}
!20 = !{!6, !11, i64 40}
!21 = distinct !{!21, !22, !23}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!"llvm.loop.peeled.count", i32 1}
!24 = distinct !{!24, !22}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_hash.c_xmlHashFree.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_hash.c_xmlHashFree.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { i32, i32, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
; Function Attrs: nounwind ssp uwtable(sync)
define void @xmlHashFree(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %128, label %4
4: ; preds = %2
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %120, label %8
8: ; preds = %4
%9 = load i32, ptr %0, align 8, !tbaa !13
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = icmp sgt i32 %11, 0
%13 = icmp sgt i32 %9, 0
%14 = select i1 %12, i1 %13, i1 false
br i1 %14, label %15, label %117
15: ; preds = %8
%16 = icmp eq ptr %1, null
%17 = getelementptr inbounds i8, ptr %0, i64 16
br label %18
18: ; preds = %15, %107
%19 = phi i32 [ %11, %15 ], [ %108, %107 ]
%20 = phi i64 [ 0, %15 ], [ %110, %107 ]
%21 = phi i32 [ %9, %15 ], [ %109, %107 ]
%22 = load ptr, ptr %5, align 8, !tbaa !6
%23 = getelementptr inbounds %struct.TYPE_7__, ptr %22, i64 %20
%24 = getelementptr inbounds i8, ptr %23, i64 8
%25 = load i64, ptr %24, align 8, !tbaa !15
%26 = icmp eq i64 %25, 0
%27 = icmp eq ptr %22, null
%28 = or i1 %26, %27
br i1 %28, label %107, label %29
29: ; preds = %18
%30 = getelementptr inbounds i8, ptr %23, i64 64
%31 = load ptr, ptr %30, align 8, !tbaa !16
br i1 %16, label %40, label %32
32: ; preds = %29
%33 = getelementptr inbounds i8, ptr %23, i64 32
%34 = load ptr, ptr %33, align 8, !tbaa !17
%35 = icmp eq ptr %34, null
br i1 %35, label %40, label %36
36: ; preds = %32
%37 = getelementptr inbounds i8, ptr %23, i64 56
%38 = load ptr, ptr %37, align 8, !tbaa !18
%39 = tail call i32 %1(ptr noundef nonnull %34, ptr noundef %38) #2
br label %40
40: ; preds = %36, %32, %29
%41 = load ptr, ptr %17, align 8, !tbaa !19
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %61
43: ; preds = %40
%44 = getelementptr inbounds i8, ptr %23, i64 56
%45 = load ptr, ptr %44, align 8, !tbaa !18
%46 = icmp eq ptr %45, null
br i1 %46, label %49, label %47
47: ; preds = %43
%48 = tail call i32 @xmlFree(ptr noundef nonnull %45) #2
br label %49
49: ; preds = %47, %43
%50 = getelementptr inbounds i8, ptr %23, i64 48
%51 = load ptr, ptr %50, align 8, !tbaa !20
%52 = icmp eq ptr %51, null
br i1 %52, label %55, label %53
53: ; preds = %49
%54 = tail call i32 @xmlFree(ptr noundef nonnull %51) #2
br label %55
55: ; preds = %53, %49
%56 = getelementptr inbounds i8, ptr %23, i64 40
%57 = load ptr, ptr %56, align 8, !tbaa !21
%58 = icmp eq ptr %57, null
br i1 %58, label %61, label %59
59: ; preds = %55
%60 = tail call i32 @xmlFree(ptr noundef nonnull %57) #2
br label %61
61: ; preds = %40, %55, %59
%62 = getelementptr inbounds i8, ptr %23, i64 32
store ptr null, ptr %62, align 8, !tbaa !17
%63 = add nsw i32 %21, -1
%64 = icmp eq ptr %31, null
br i1 %64, label %104, label %65
65: ; preds = %61, %99
%66 = phi i32 [ %102, %99 ], [ %63, %61 ]
%67 = phi ptr [ %69, %99 ], [ %31, %61 ]
%68 = getelementptr inbounds i8, ptr %67, i64 64
%69 = load ptr, ptr %68, align 8, !tbaa !16
br i1 %16, label %78, label %70
70: ; preds = %65
%71 = getelementptr inbounds i8, ptr %67, i64 32
%72 = load ptr, ptr %71, align 8, !tbaa !17
%73 = icmp eq ptr %72, null
br i1 %73, label %78, label %74
74: ; preds = %70
%75 = getelementptr inbounds i8, ptr %67, i64 56
%76 = load ptr, ptr %75, align 8, !tbaa !18
%77 = tail call i32 %1(ptr noundef nonnull %72, ptr noundef %76) #2
br label %78
78: ; preds = %74, %70, %65
%79 = load ptr, ptr %17, align 8, !tbaa !19
%80 = icmp eq ptr %79, null
br i1 %80, label %81, label %99
81: ; preds = %78
%82 = getelementptr inbounds i8, ptr %67, i64 56
%83 = load ptr, ptr %82, align 8, !tbaa !18
%84 = icmp eq ptr %83, null
br i1 %84, label %87, label %85
85: ; preds = %81
%86 = tail call i32 @xmlFree(ptr noundef nonnull %83) #2
br label %87
87: ; preds = %85, %81
%88 = getelementptr inbounds i8, ptr %67, i64 48
%89 = load ptr, ptr %88, align 8, !tbaa !20
%90 = icmp eq ptr %89, null
br i1 %90, label %93, label %91
91: ; preds = %87
%92 = tail call i32 @xmlFree(ptr noundef nonnull %89) #2
br label %93
93: ; preds = %91, %87
%94 = getelementptr inbounds i8, ptr %67, i64 40
%95 = load ptr, ptr %94, align 8, !tbaa !21
%96 = icmp eq ptr %95, null
br i1 %96, label %99, label %97
97: ; preds = %93
%98 = tail call i32 @xmlFree(ptr noundef nonnull %95) #2
br label %99
99: ; preds = %93, %97, %78
%100 = getelementptr inbounds i8, ptr %67, i64 32
store ptr null, ptr %100, align 8, !tbaa !17
%101 = tail call i32 @xmlFree(ptr noundef nonnull %67) #2
%102 = add nsw i32 %66, -1
%103 = icmp eq ptr %69, null
br i1 %103, label %104, label %65, !llvm.loop !22
104: ; preds = %99, %61
%105 = phi i32 [ %63, %61 ], [ %102, %99 ]
%106 = load i32, ptr %10, align 4, !tbaa !14
br label %107
107: ; preds = %104, %18
%108 = phi i32 [ %19, %18 ], [ %106, %104 ]
%109 = phi i32 [ %21, %18 ], [ %105, %104 ]
%110 = add nuw nsw i64 %20, 1
%111 = sext i32 %108 to i64
%112 = icmp slt i64 %110, %111
%113 = icmp sgt i32 %109, 0
%114 = select i1 %112, i1 %113, i1 false
br i1 %114, label %18, label %115, !llvm.loop !25
115: ; preds = %107
%116 = load ptr, ptr %5, align 8, !tbaa !6
br label %117
117: ; preds = %115, %8
%118 = phi ptr [ %116, %115 ], [ %6, %8 ]
%119 = tail call i32 @xmlFree(ptr noundef %118) #2
br label %120
120: ; preds = %117, %4
%121 = getelementptr inbounds i8, ptr %0, i64 16
%122 = load ptr, ptr %121, align 8, !tbaa !19
%123 = icmp eq ptr %122, null
br i1 %123, label %126, label %124
124: ; preds = %120
%125 = tail call i32 @xmlDictFree(ptr noundef nonnull %122) #2
br label %126
126: ; preds = %124, %120
%127 = tail call i32 @xmlFree(ptr noundef nonnull %0) #2
br label %128
128: ; preds = %2, %126
ret void
}
declare i32 @xmlFree(ptr noundef) local_unnamed_addr #1
declare i32 @xmlDictFree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 24}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !11, i64 8}
!16 = !{!7, !12, i64 64}
!17 = !{!7, !12, i64 32}
!18 = !{!7, !12, i64 56}
!19 = !{!7, !12, i64 16}
!20 = !{!7, !12, i64 48}
!21 = !{!7, !12, i64 40}
!22 = distinct !{!22, !23, !24}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!"llvm.loop.peeled.count", i32 1}
!25 = distinct !{!25, !23}
| reactos_sdk_lib_3rdparty_libxml2_extr_hash.c_xmlHashFree |
; ModuleID = 'AnghaBench/ish/fs/extr_fake.c_path_read_stat.c'
source_filename = "AnghaBench/ish/fs/extr_fake.c_path_read_stat.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.mount = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.ish_stat = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @path_read_stat(%struct.mount* noundef %0, i8* noundef %1, %struct.ish_stat* noundef writeonly %2, i32* noundef writeonly %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.mount, %struct.mount* %0, i64 0, i32 0, i32 0
%6 = load i32, i32* %5, align 4, !tbaa !5
%7 = tail call i32 @bind_path(i32 noundef %6, i32 noundef 1, i8* noundef %1) #2
%8 = load i32, i32* %5, align 4, !tbaa !5
%9 = tail call i32 @db_exec(%struct.mount* noundef %0, i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %24, label %11
11: ; preds = %4
%12 = icmp eq i32* %3, null
br i1 %12, label %16, label %13
13: ; preds = %11
%14 = load i32, i32* %5, align 4, !tbaa !5
%15 = tail call i32 @sqlite3_column_int64(i32 noundef %14, i32 noundef 0) #2
store i32 %15, i32* %3, align 4, !tbaa !11
br label %16
16: ; preds = %13, %11
%17 = icmp eq %struct.ish_stat* %2, null
br i1 %17, label %24, label %18
18: ; preds = %16
%19 = load i32, i32* %5, align 4, !tbaa !5
%20 = tail call i64 @sqlite3_column_blob(i32 noundef %19, i32 noundef 1) #2
%21 = inttoptr i64 %20 to i32*
%22 = getelementptr %struct.ish_stat, %struct.ish_stat* %2, i64 0, i32 0
%23 = load i32, i32* %21, align 4, !tbaa !11
store i32 %23, i32* %22, align 4, !tbaa !11
br label %24
24: ; preds = %16, %18, %4
%25 = load i32, i32* %5, align 4, !tbaa !5
%26 = tail call i32 @db_reset(%struct.mount* noundef nonnull %0, i32 noundef %25) #2
ret i32 %9
}
declare i32 @bind_path(i32 noundef, i32 noundef, i8* noundef) local_unnamed_addr #1
declare i32 @db_exec(%struct.mount* noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_column_int64(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3_column_blob(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @db_reset(%struct.mount* noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !8, i64 0}
!6 = !{!"mount", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/ish/fs/extr_fake.c_path_read_stat.c'
source_filename = "AnghaBench/ish/fs/extr_fake.c_path_read_stat.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 @path_read_stat(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3) local_unnamed_addr #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call i32 @bind_path(i32 noundef %5, i32 noundef 1, ptr noundef %1) #2
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = tail call i32 @db_exec(ptr noundef nonnull %0, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %22, label %10
10: ; preds = %4
%11 = icmp eq ptr %3, null
br i1 %11, label %15, label %12
12: ; preds = %10
%13 = load i32, ptr %0, align 4, !tbaa !6
%14 = tail call i32 @sqlite3_column_int64(i32 noundef %13, i32 noundef 0) #2
store i32 %14, ptr %3, align 4, !tbaa !12
br label %15
15: ; preds = %12, %10
%16 = icmp eq ptr %2, null
br i1 %16, label %22, label %17
17: ; preds = %15
%18 = load i32, ptr %0, align 4, !tbaa !6
%19 = tail call i64 @sqlite3_column_blob(i32 noundef %18, i32 noundef 1) #2
%20 = inttoptr i64 %19 to ptr
%21 = load i32, ptr %20, align 4, !tbaa !12
store i32 %21, ptr %2, align 4, !tbaa !12
br label %22
22: ; preds = %15, %17, %4
%23 = load i32, ptr %0, align 4, !tbaa !6
%24 = tail call i32 @db_reset(ptr noundef nonnull %0, i32 noundef %23) #2
ret i32 %8
}
declare i32 @bind_path(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @db_exec(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_column_int64(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3_column_blob(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @db_reset(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, !9, i64 0}
!7 = !{!"mount", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
| ish_fs_extr_fake.c_path_read_stat |
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_mgmt.c_mgmt_set_discoverable_complete.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_mgmt.c_mgmt_set_discoverable_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.mgmt_pending_cmd = type { i32, i32, i32 }
%struct.hci_dev = type { i32, i32, i32 }
@.str = private unnamed_addr constant [14 x i8] c"status 0x%02x\00", align 1
@MGMT_OP_SET_DISCOVERABLE = dso_local local_unnamed_addr global i32 0, align 4
@HCI_LIMITED_DISCOVERABLE = dso_local local_unnamed_addr global i32 0, align 4
@HCI_DISCOVERABLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mgmt_set_discoverable_complete(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i64 noundef %1) #2
%4 = tail call i32 @hci_dev_lock(ptr noundef %0) #2
%5 = load i32, ptr @MGMT_OP_SET_DISCOVERABLE, align 4, !tbaa !5
%6 = tail call ptr @pending_find(i32 noundef %5, ptr noundef %0) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %42, label %8
8: ; preds = %2
%9 = icmp eq i64 %1, 0
br i1 %9, label %20, label %10
10: ; preds = %8
%11 = tail call i64 @mgmt_status(i64 noundef %1) #2
%12 = load i32, ptr %6, align 4, !tbaa !9
%13 = getelementptr inbounds %struct.mgmt_pending_cmd, ptr %6, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = getelementptr inbounds %struct.mgmt_pending_cmd, ptr %6, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = tail call i32 @mgmt_cmd_status(i32 noundef %12, i32 noundef %14, i32 noundef %16, i64 noundef %11) #2
%18 = load i32, ptr @HCI_LIMITED_DISCOVERABLE, align 4, !tbaa !5
%19 = tail call i32 @hci_dev_clear_flag(ptr noundef %0, i32 noundef %18) #2
br label %40
20: ; preds = %8
%21 = load i32, ptr @HCI_DISCOVERABLE, align 4, !tbaa !5
%22 = tail call i64 @hci_dev_test_flag(ptr noundef %0, i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %34, label %24
24: ; preds = %20
%25 = load i32, ptr %0, align 4, !tbaa !13
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %24
%28 = mul nsw i32 %25, 1000
%29 = tail call i32 @msecs_to_jiffies(i32 noundef %28) #2
%30 = getelementptr inbounds %struct.hci_dev, ptr %0, i64 0, i32 2
%31 = load i32, ptr %30, align 4, !tbaa !15
%32 = getelementptr inbounds %struct.hci_dev, ptr %0, i64 0, i32 1
%33 = tail call i32 @queue_delayed_work(i32 noundef %31, ptr noundef nonnull %32, i32 noundef %29) #2
br label %34
34: ; preds = %27, %24, %20
%35 = load i32, ptr %6, align 4, !tbaa !9
%36 = load i32, ptr @MGMT_OP_SET_DISCOVERABLE, align 4, !tbaa !5
%37 = tail call i32 @send_settings_rsp(i32 noundef %35, i32 noundef %36, ptr noundef %0) #2
%38 = load i32, ptr %6, align 4, !tbaa !9
%39 = tail call i32 @new_settings(ptr noundef %0, i32 noundef %38) #2
br label %40
40: ; preds = %10, %34
%41 = tail call i32 @mgmt_pending_remove(ptr noundef nonnull %6) #2
br label %42
42: ; preds = %2, %40
%43 = tail call i32 @hci_dev_unlock(ptr noundef %0) #2
ret void
}
declare i32 @BT_DBG(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @hci_dev_lock(ptr noundef) local_unnamed_addr #1
declare ptr @pending_find(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @mgmt_status(i64 noundef) local_unnamed_addr #1
declare i32 @mgmt_cmd_status(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @hci_dev_clear_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @hci_dev_test_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
declare i32 @queue_delayed_work(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @send_settings_rsp(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @new_settings(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mgmt_pending_remove(ptr noundef) local_unnamed_addr #1
declare i32 @hci_dev_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"mgmt_pending_cmd", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 4}
!13 = !{!14, !6, i64 0}
!14 = !{!"hci_dev", !6, i64 0, !6, i64 4, !6, i64 8}
!15 = !{!14, !6, i64 8}
| ; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_mgmt.c_mgmt_set_discoverable_complete.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_mgmt.c_mgmt_set_discoverable_complete.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 [14 x i8] c"status 0x%02x\00", align 1
@MGMT_OP_SET_DISCOVERABLE = common local_unnamed_addr global i32 0, align 4
@HCI_LIMITED_DISCOVERABLE = common local_unnamed_addr global i32 0, align 4
@HCI_DISCOVERABLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mgmt_set_discoverable_complete(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i64 noundef %1) #2
%4 = tail call i32 @hci_dev_lock(ptr noundef %0) #2
%5 = load i32, ptr @MGMT_OP_SET_DISCOVERABLE, align 4, !tbaa !6
%6 = tail call ptr @pending_find(i32 noundef %5, ptr noundef %0) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %42, label %8
8: ; preds = %2
%9 = icmp eq i64 %1, 0
br i1 %9, label %20, label %10
10: ; preds = %8
%11 = tail call i64 @mgmt_status(i64 noundef %1) #2
%12 = load i32, ptr %6, align 4, !tbaa !10
%13 = getelementptr inbounds i8, ptr %6, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = getelementptr inbounds i8, ptr %6, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @mgmt_cmd_status(i32 noundef %12, i32 noundef %14, i32 noundef %16, i64 noundef %11) #2
%18 = load i32, ptr @HCI_LIMITED_DISCOVERABLE, align 4, !tbaa !6
%19 = tail call i32 @hci_dev_clear_flag(ptr noundef %0, i32 noundef %18) #2
br label %40
20: ; preds = %8
%21 = load i32, ptr @HCI_DISCOVERABLE, align 4, !tbaa !6
%22 = tail call i64 @hci_dev_test_flag(ptr noundef %0, i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %34, label %24
24: ; preds = %20
%25 = load i32, ptr %0, align 4, !tbaa !14
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %24
%28 = mul nuw nsw i32 %25, 1000
%29 = tail call i32 @msecs_to_jiffies(i32 noundef %28) #2
%30 = getelementptr inbounds i8, ptr %0, i64 8
%31 = load i32, ptr %30, align 4, !tbaa !16
%32 = getelementptr inbounds i8, ptr %0, i64 4
%33 = tail call i32 @queue_delayed_work(i32 noundef %31, ptr noundef nonnull %32, i32 noundef %29) #2
br label %34
34: ; preds = %27, %24, %20
%35 = load i32, ptr %6, align 4, !tbaa !10
%36 = load i32, ptr @MGMT_OP_SET_DISCOVERABLE, align 4, !tbaa !6
%37 = tail call i32 @send_settings_rsp(i32 noundef %35, i32 noundef %36, ptr noundef %0) #2
%38 = load i32, ptr %6, align 4, !tbaa !10
%39 = tail call i32 @new_settings(ptr noundef %0, i32 noundef %38) #2
br label %40
40: ; preds = %10, %34
%41 = tail call i32 @mgmt_pending_remove(ptr noundef nonnull %6) #2
br label %42
42: ; preds = %2, %40
%43 = tail call i32 @hci_dev_unlock(ptr noundef %0) #2
ret void
}
declare i32 @BT_DBG(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @hci_dev_lock(ptr noundef) local_unnamed_addr #1
declare ptr @pending_find(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @mgmt_status(i64 noundef) local_unnamed_addr #1
declare i32 @mgmt_cmd_status(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @hci_dev_clear_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @hci_dev_test_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
declare i32 @queue_delayed_work(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @send_settings_rsp(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @new_settings(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mgmt_pending_remove(ptr noundef) local_unnamed_addr #1
declare i32 @hci_dev_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"mgmt_pending_cmd", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 4}
!14 = !{!15, !7, i64 0}
!15 = !{!"hci_dev", !7, i64 0, !7, i64 4, !7, i64 8}
!16 = !{!15, !7, i64 8}
| linux_net_bluetooth_extr_mgmt.c_mgmt_set_discoverable_complete |
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_ves1820.c_ves1820_get_frontend.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_ves1820.c_ves1820_get_frontend.c"
target datalayout = "e-m:e-p270:32:32-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.dtv_frontend_properties = type { i32, i64, i32, i64, ptr }
%struct.ves1820_state = type { i32, ptr }
@verbose = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [24 x i8] c"ves1820: AFC (%d) %dHz\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ves1820: [AFC (%d) %dHz]\0A\00", align 1
@INVERSION_ON = dso_local local_unnamed_addr global ptr null, align 8
@INVERSION_OFF = dso_local local_unnamed_addr global ptr null, align 8
@QAM_16 = dso_local local_unnamed_addr global i64 0, align 8
@FEC_NONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ves1820_get_frontend], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ves1820_get_frontend(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @ves1820_readreg(ptr noundef %3, i32 noundef 17) #2
%5 = tail call i32 @ves1820_readreg(ptr noundef %3, i32 noundef 25) #2
%6 = load i64, ptr @verbose, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
br i1 %7, label %19, label %8
8: ; preds = %2
%9 = and i32 %4, 2
%10 = icmp eq i32 %9, 0
%11 = select i1 %10, ptr @.str.1, ptr @.str
%12 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %1, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = trunc i64 %13 to i32
%15 = mul i32 %5, %14
%16 = sub i32 0, %15
%17 = ashr i32 %16, 10
%18 = tail call i32 @printk(ptr noundef nonnull %11, i32 noundef %5, i32 noundef %17) #2
br label %19
19: ; preds = %8, %2
%20 = getelementptr inbounds %struct.ves1820_state, ptr %3, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !15
%22 = load i32, ptr %21, align 4, !tbaa !17
%23 = icmp eq i32 %22, 0
%24 = load i32, ptr %3, align 8, !tbaa !19
%25 = and i32 %24, 32
%26 = icmp eq i32 %25, 0
%27 = load ptr, ptr @INVERSION_ON, align 8
%28 = load ptr, ptr @INVERSION_OFF, align 8
%29 = select i1 %26, ptr %28, ptr %27
%30 = select i1 %26, ptr %27, ptr %28
%31 = select i1 %23, ptr %29, ptr %30
%32 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %1, i64 0, i32 4
store ptr %31, ptr %32, align 8
%33 = load i32, ptr %3, align 8, !tbaa !19
%34 = lshr i32 %33, 2
%35 = and i32 %34, 7
%36 = zext nneg i32 %35 to i64
%37 = load i64, ptr @QAM_16, align 8, !tbaa !10
%38 = add nsw i64 %37, %36
%39 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %1, i64 0, i32 3
store i64 %38, ptr %39, align 8, !tbaa !20
%40 = load i32, ptr @FEC_NONE, align 4, !tbaa !21
%41 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %1, i64 0, i32 2
store i32 %40, ptr %41, align 8, !tbaa !22
%42 = load i32, ptr %1, align 8, !tbaa !23
%43 = freeze i32 %42
%44 = add i32 %43, 31250
%45 = srem i32 %44, 62500
%46 = sub nsw i32 %44, %45
store i32 %46, ptr %1, align 8, !tbaa !23
%47 = and i32 %4, 2
%48 = icmp eq i32 %47, 0
br i1 %48, label %56, label %49
49: ; preds = %19
%50 = getelementptr inbounds %struct.dtv_frontend_properties, ptr %1, i64 0, i32 1
%51 = load i64, ptr %50, align 8, !tbaa !12
%52 = trunc i64 %51 to i32
%53 = mul nsw i32 %5, %52
%54 = ashr i32 %53, 10
%55 = sub nsw i32 %46, %54
store i32 %55, ptr %1, align 8, !tbaa !23
br label %56
56: ; preds = %49, %19
ret i32 0
}
declare i32 @ves1820_readreg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printk(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 = !{!"dvb_frontend", !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, !11, i64 8}
!13 = !{!"dtv_frontend_properties", !14, i64 0, !11, i64 8, !14, i64 16, !11, i64 24, !7, i64 32}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !7, i64 8}
!16 = !{!"ves1820_state", !14, i64 0, !7, i64 8}
!17 = !{!18, !14, i64 0}
!18 = !{!"TYPE_2__", !14, i64 0}
!19 = !{!16, !14, i64 0}
!20 = !{!13, !11, i64 24}
!21 = !{!14, !14, i64 0}
!22 = !{!13, !14, i64 16}
!23 = !{!13, !14, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_ves1820.c_ves1820_get_frontend.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_ves1820.c_ves1820_get_frontend.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@verbose = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [24 x i8] c"ves1820: AFC (%d) %dHz\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"ves1820: [AFC (%d) %dHz]\0A\00", align 1
@INVERSION_ON = common local_unnamed_addr global ptr null, align 8
@INVERSION_OFF = common local_unnamed_addr global ptr null, align 8
@QAM_16 = common local_unnamed_addr global i64 0, align 8
@FEC_NONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ves1820_get_frontend], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ves1820_get_frontend(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @ves1820_readreg(ptr noundef %3, i32 noundef 17) #2
%5 = tail call i32 @ves1820_readreg(ptr noundef %3, i32 noundef 25) #2
%6 = load i64, ptr @verbose, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
br i1 %7, label %19, label %8
8: ; preds = %2
%9 = and i32 %4, 2
%10 = icmp eq i32 %9, 0
%11 = select i1 %10, ptr @.str.1, ptr @.str
%12 = getelementptr inbounds i8, ptr %1, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = trunc i64 %13 to i32
%15 = mul i32 %5, %14
%16 = sub i32 0, %15
%17 = ashr i32 %16, 10
%18 = tail call i32 @printk(ptr noundef nonnull %11, i32 noundef %5, i32 noundef %17) #2
br label %19
19: ; preds = %8, %2
%20 = getelementptr inbounds i8, ptr %3, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !16
%22 = load i32, ptr %21, align 4, !tbaa !18
%23 = icmp eq i32 %22, 0
%24 = load i32, ptr %3, align 8, !tbaa !20
%25 = and i32 %24, 32
%26 = icmp eq i32 %25, 0
%27 = load ptr, ptr @INVERSION_ON, align 8
%28 = load ptr, ptr @INVERSION_OFF, align 8
%29 = xor i1 %26, %23
%30 = select i1 %29, ptr %27, ptr %28
%31 = getelementptr inbounds i8, ptr %1, i64 32
store ptr %30, ptr %31, align 8
%32 = load i32, ptr %3, align 8, !tbaa !20
%33 = lshr i32 %32, 2
%34 = and i32 %33, 7
%35 = zext nneg i32 %34 to i64
%36 = load i64, ptr @QAM_16, align 8, !tbaa !11
%37 = add nsw i64 %36, %35
%38 = getelementptr inbounds i8, ptr %1, i64 24
store i64 %37, ptr %38, align 8, !tbaa !21
%39 = load i32, ptr @FEC_NONE, align 4, !tbaa !22
%40 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %39, ptr %40, align 8, !tbaa !23
%41 = load i32, ptr %1, align 8, !tbaa !24
%42 = freeze i32 %41
%43 = add i32 %42, 31250
%44 = srem i32 %43, 62500
%45 = sub nsw i32 %43, %44
store i32 %45, ptr %1, align 8, !tbaa !24
%46 = and i32 %4, 2
%47 = icmp eq i32 %46, 0
br i1 %47, label %55, label %48
48: ; preds = %19
%49 = getelementptr inbounds i8, ptr %1, i64 8
%50 = load i64, ptr %49, align 8, !tbaa !13
%51 = trunc i64 %50 to i32
%52 = mul nsw i32 %5, %51
%53 = ashr i32 %52, 10
%54 = sub nsw i32 %45, %53
store i32 %54, ptr %1, align 8, !tbaa !24
br label %55
55: ; preds = %48, %19
ret i32 0
}
declare i32 @ves1820_readreg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printk(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 = !{!"dvb_frontend", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"dtv_frontend_properties", !15, i64 0, !12, i64 8, !15, i64 16, !12, i64 24, !8, i64 32}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !8, i64 8}
!17 = !{!"ves1820_state", !15, i64 0, !8, i64 8}
!18 = !{!19, !15, i64 0}
!19 = !{!"TYPE_2__", !15, i64 0}
!20 = !{!17, !15, i64 0}
!21 = !{!14, !12, i64 24}
!22 = !{!15, !15, i64 0}
!23 = !{!14, !15, i64 16}
!24 = !{!14, !15, i64 0}
| linux_drivers_media_dvb-frontends_extr_ves1820.c_ves1820_get_frontend |
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_put_clock_source_lock.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_put_clock_source_lock.c"
target datalayout = "e-m:e-p270:32:32-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 @snd_hdsp_put_clock_source_lock], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snd_hdsp_put_clock_source_lock(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %1, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = trunc i64 %5 to i32
%7 = load i32, ptr %3, align 4, !tbaa !14
%8 = icmp ne i32 %7, %6
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = icmp ne i64 %5, 0
%11 = zext i1 %10 to i32
store i32 %11, ptr %3, align 4, !tbaa !14
br label %12
12: ; preds = %9, %2
%13 = zext i1 %8 to i32
ret i32 %13
}
declare ptr @snd_kcontrol_chip(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 = !{!"snd_ctl_elem_value", !7, 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 = !{!"long", !10, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"hdsp", !16, i64 0}
!16 = !{!"int", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_put_clock_source_lock.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_hdsp.c_snd_hdsp_put_clock_source_lock.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 @snd_hdsp_put_clock_source_lock], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @snd_hdsp_put_clock_source_lock(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %1, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = trunc i64 %5 to i32
%7 = load i32, ptr %3, align 4, !tbaa !15
%8 = icmp ne i32 %7, %6
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = icmp ne i64 %5, 0
%11 = zext i1 %10 to i32
store i32 %11, ptr %3, align 4, !tbaa !15
br label %12
12: ; preds = %9, %2
%13 = zext i1 %8 to i32
ret i32 %13
}
declare ptr @snd_kcontrol_chip(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 = !{!"snd_ctl_elem_value", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !11, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"hdsp", !17, i64 0}
!17 = !{!"int", !11, i64 0}
| linux_sound_pci_rme9652_extr_hdsp.c_snd_hdsp_put_clock_source_lock |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-417.c_bb_buf_setup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-417.c_bb_buf_setup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@mpeglinesize = dso_local local_unnamed_addr global i32 0, align 4
@mpeglines = dso_local local_unnamed_addr global i32 0, align 4
@mpegbufs = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bb_buf_setup], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @bb_buf_setup(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr @mpeglinesize, align 4, !tbaa !10
%6 = load ptr, ptr %4, align 8, !tbaa !12
store i32 %5, ptr %6, align 4, !tbaa !14
%7 = load i32, ptr @mpeglines, align 4, !tbaa !10
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 1
store i32 %7, ptr %8, align 4, !tbaa !17
%9 = mul i32 %7, %5
store i32 %9, ptr %2, align 4, !tbaa !10
%10 = load i32, ptr @mpegbufs, align 4, !tbaa !10
store i32 %10, ptr %1, align 4, !tbaa !10
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"videobuf_queue", !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, !7, i64 0}
!13 = !{!"cx231xx_fh", !7, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_3__", !11, i64 0, !11, i64 4}
!17 = !{!15, !11, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-417.c_bb_buf_setup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-417.c_bb_buf_setup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mpeglinesize = common local_unnamed_addr global i32 0, align 4
@mpeglines = common local_unnamed_addr global i32 0, align 4
@mpegbufs = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bb_buf_setup], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @bb_buf_setup(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr @mpeglinesize, align 4, !tbaa !11
%6 = load ptr, ptr %4, align 8, !tbaa !13
store i32 %5, ptr %6, align 4, !tbaa !15
%7 = load i32, ptr @mpeglines, align 4, !tbaa !11
%8 = getelementptr inbounds i8, ptr %6, i64 4
store i32 %7, ptr %8, align 4, !tbaa !18
%9 = mul i32 %7, %5
store i32 %9, ptr %2, align 4, !tbaa !11
%10 = load i32, ptr @mpegbufs, align 4, !tbaa !11
store i32 %10, ptr %1, align 4, !tbaa !11
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"videobuf_queue", !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, !8, i64 0}
!14 = !{!"cx231xx_fh", !8, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"TYPE_3__", !12, i64 0, !12, i64 4}
!18 = !{!16, !12, i64 4}
| fastsocket_kernel_drivers_media_video_cx231xx_extr_cx231xx-417.c_bb_buf_setup |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/dsi/extr_dsi_host.c_dsi_host_regulator_enable.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/dsi/extr_dsi_host.c_dsi_host_regulator_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.msm_dsi_host = type { ptr, ptr }
%struct.TYPE_4__ = type { i32, ptr }
%struct.dsi_reg_entry = type { i64, i64 }
%struct.regulator_bulk_data = type { i32 }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"regulator %d set op mode failed, %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"regulator enable failed, %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dsi_host_regulator_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dsi_host_regulator_enable(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.msm_dsi_host, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load i32, ptr %5, align 8, !tbaa !17
%9 = tail call i32 @DBG(ptr noundef nonnull @.str) #2
%10 = icmp sgt i32 %8, 0
br i1 %10, label %11, label %29
11: ; preds = %1
%12 = zext nneg i32 %8 to i64
br label %13
13: ; preds = %11, %26
%14 = phi i64 [ 0, %11 ], [ %27, %26 ]
%15 = getelementptr inbounds %struct.dsi_reg_entry, ptr %7, i64 %14
%16 = load i64, ptr %15, align 8, !tbaa !18
%17 = icmp sgt i64 %16, -1
br i1 %17, label %18, label %26
18: ; preds = %13
%19 = getelementptr inbounds %struct.regulator_bulk_data, ptr %3, i64 %14
%20 = load i32, ptr %19, align 4, !tbaa !21
%21 = tail call i32 @regulator_set_load(i32 noundef %20, i64 noundef %16) #2
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = trunc i64 %14 to i32
%25 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str.1, i32 noundef %24, i32 noundef %21) #2
br label %35
26: ; preds = %13, %18
%27 = add nuw nsw i64 %14, 1
%28 = icmp eq i64 %27, %12
br i1 %28, label %29, label %13, !llvm.loop !23
29: ; preds = %26, %1
%30 = phi i32 [ 0, %1 ], [ %8, %26 ]
%31 = tail call i32 @regulator_bulk_enable(i32 noundef %8, ptr noundef %3) #2
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %50
33: ; preds = %29
%34 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str.2, i32 noundef %31) #2
br label %35
35: ; preds = %33, %23
%36 = phi i32 [ %24, %23 ], [ %30, %33 ]
%37 = phi i32 [ %21, %23 ], [ %31, %33 ]
%38 = icmp sgt i32 %36, 0
br i1 %38, label %39, label %50
39: ; preds = %35
%40 = zext nneg i32 %36 to i64
br label %41
41: ; preds = %39, %41
%42 = phi i64 [ %40, %39 ], [ %43, %41 ]
%43 = add nsw i64 %42, -1
%44 = getelementptr inbounds %struct.regulator_bulk_data, ptr %3, i64 %43
%45 = load i32, ptr %44, align 4, !tbaa !21
%46 = getelementptr inbounds %struct.dsi_reg_entry, ptr %7, i64 %43, i32 1
%47 = load i64, ptr %46, align 8, !tbaa !25
%48 = tail call i32 @regulator_set_load(i32 noundef %45, i64 noundef %47) #2
%49 = icmp ugt i64 %42, 1
br i1 %49, label %41, label %50, !llvm.loop !26
50: ; preds = %41, %35, %29
%51 = phi i32 [ 0, %29 ], [ %37, %35 ], [ %37, %41 ]
ret i32 %51
}
declare i32 @DBG(ptr noundef) local_unnamed_addr #1
declare i32 @regulator_set_load(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @regulator_bulk_enable(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 8}
!6 = !{!"msm_dsi_host", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_6__", !7, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0, !7, i64 8}
!16 = !{!"int", !8, i64 0}
!17 = !{!14, !16, i64 0}
!18 = !{!19, !20, i64 0}
!19 = !{!"dsi_reg_entry", !20, i64 0, !20, i64 8}
!20 = !{!"long", !8, i64 0}
!21 = !{!22, !16, i64 0}
!22 = !{!"regulator_bulk_data", !16, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!19, !20, i64 8}
!26 = distinct !{!26, !24}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/dsi/extr_dsi_host.c_dsi_host_regulator_enable.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/dsi/extr_dsi_host.c_dsi_host_regulator_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.dsi_reg_entry = type { i64, i64 }
%struct.regulator_bulk_data = type { i32 }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"regulator %d set op mode failed, %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"regulator enable failed, %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dsi_host_regulator_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @dsi_host_regulator_enable(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !11
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = load i32, ptr %5, align 8, !tbaa !18
%9 = tail call i32 @DBG(ptr noundef nonnull @.str) #2
%10 = icmp sgt i32 %8, 0
br i1 %10, label %11, label %29
11: ; preds = %1
%12 = zext nneg i32 %8 to i64
br label %13
13: ; preds = %11, %26
%14 = phi i64 [ 0, %11 ], [ %27, %26 ]
%15 = getelementptr inbounds %struct.dsi_reg_entry, ptr %7, i64 %14
%16 = load i64, ptr %15, align 8, !tbaa !19
%17 = icmp sgt i64 %16, -1
br i1 %17, label %18, label %26
18: ; preds = %13
%19 = getelementptr inbounds %struct.regulator_bulk_data, ptr %3, i64 %14
%20 = load i32, ptr %19, align 4, !tbaa !22
%21 = tail call i32 @regulator_set_load(i32 noundef %20, i64 noundef %16) #2
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = trunc nuw nsw i64 %14 to i32
%25 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str.1, i32 noundef %24, i32 noundef %21) #2
br label %35
26: ; preds = %13, %18
%27 = add nuw nsw i64 %14, 1
%28 = icmp eq i64 %27, %12
br i1 %28, label %29, label %13, !llvm.loop !24
29: ; preds = %26, %1
%30 = phi i32 [ 0, %1 ], [ %8, %26 ]
%31 = tail call i32 @regulator_bulk_enable(i32 noundef %8, ptr noundef %3) #2
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %50
33: ; preds = %29
%34 = tail call i32 (ptr, i32, ...) @pr_err(ptr noundef nonnull @.str.2, i32 noundef %31) #2
br label %35
35: ; preds = %33, %23
%36 = phi i32 [ %24, %23 ], [ %30, %33 ]
%37 = phi i32 [ %21, %23 ], [ %31, %33 ]
%38 = icmp sgt i32 %36, 0
br i1 %38, label %39, label %50
39: ; preds = %35
%40 = zext nneg i32 %36 to i64
br label %41
41: ; preds = %39, %41
%42 = phi i64 [ %40, %39 ], [ %43, %41 ]
%43 = add nsw i64 %42, -1
%44 = getelementptr inbounds %struct.regulator_bulk_data, ptr %3, i64 %43
%45 = load i32, ptr %44, align 4, !tbaa !22
%46 = getelementptr inbounds %struct.dsi_reg_entry, ptr %7, i64 %43, i32 1
%47 = load i64, ptr %46, align 8, !tbaa !26
%48 = tail call i32 @regulator_set_load(i32 noundef %45, i64 noundef %47) #2
%49 = icmp ugt i64 %42, 1
br i1 %49, label %41, label %50, !llvm.loop !27
50: ; preds = %41, %35, %29
%51 = phi i32 [ 0, %29 ], [ %37, %35 ], [ %37, %41 ]
ret i32 %51
}
declare i32 @DBG(ptr noundef) local_unnamed_addr #1
declare i32 @regulator_set_load(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @pr_err(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @regulator_bulk_enable(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 8}
!7 = !{!"msm_dsi_host", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_6__", !8, i64 0}
!14 = !{!15, !8, i64 8}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0, !8, i64 8}
!17 = !{!"int", !9, i64 0}
!18 = !{!15, !17, i64 0}
!19 = !{!20, !21, i64 0}
!20 = !{!"dsi_reg_entry", !21, i64 0, !21, i64 8}
!21 = !{!"long", !9, i64 0}
!22 = !{!23, !17, i64 0}
!23 = !{!"regulator_bulk_data", !17, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!20, !21, i64 8}
!27 = distinct !{!27, !25}
| linux_drivers_gpu_drm_msm_dsi_extr_dsi_host.c_dsi_host_regulator_enable |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_men_z135_uart.c_men_z135_probe.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_men_z135_uart.c_men_z135_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mcb_device = type { %struct.resource, %struct.device }
%struct.resource = type { i32 }
%struct.device = type { i32 }
%struct.men_z135_port = type { ptr, %struct.TYPE_2__, i32, ptr }
%struct.TYPE_2__ = type { i32, i32, ptr, i32, i32, ptr, i64, ptr, i32, ptr, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@MEN_Z135_BASECLK = dso_local local_unnamed_addr global i32 0, align 4
@MEN_Z135_FIFO_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@UPIO_MEM = dso_local local_unnamed_addr global ptr null, align 8
@men_z135_ops = dso_local global i32 0, align 4
@UPF_BOOT_AUTOCONF = dso_local local_unnamed_addr global i32 0, align 4
@UPF_IOREMAP = dso_local local_unnamed_addr global i32 0, align 4
@line = dso_local local_unnamed_addr global i32 0, align 4
@PORT_MEN_Z135 = dso_local local_unnamed_addr global i32 0, align 4
@men_z135_driver = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Failed to add UART: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @men_z135_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @men_z135_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = getelementptr inbounds %struct.mcb_device, ptr %0, i64 0, i32 1
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%5 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 96, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %55
10: ; preds = %2
%11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%12 = tail call i64 @__get_free_page(i32 noundef %11) #2
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8, !tbaa !9
%14 = icmp eq i64 %12, 0
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %55
18: ; preds = %10
%19 = tail call i32 @mcb_set_drvdata(ptr noundef %0, ptr noundef nonnull %5) #2
%20 = load i32, ptr @MEN_Z135_BASECLK, align 4, !tbaa !5
%21 = shl nsw i32 %20, 4
%22 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1
store i32 %21, ptr %22, align 8, !tbaa !14
%23 = load i32, ptr @MEN_Z135_FIFO_SIZE, align 4, !tbaa !5
%24 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 10
store i32 %23, ptr %24, align 8, !tbaa !15
%25 = load ptr, ptr @UPIO_MEM, align 8, !tbaa !16
%26 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 7
store ptr %25, ptr %26, align 8, !tbaa !17
%27 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 9
store ptr @men_z135_ops, ptr %27, align 8, !tbaa !18
%28 = tail call i32 @mcb_get_irq(ptr noundef %0) #2
%29 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 8
store i32 %28, ptr %29, align 8, !tbaa !19
%30 = load ptr, ptr @UPIO_MEM, align 8, !tbaa !16
store ptr %30, ptr %26, align 8, !tbaa !17
%31 = load i32, ptr @UPF_BOOT_AUTOCONF, align 4, !tbaa !5
%32 = load i32, ptr @UPF_IOREMAP, align 4, !tbaa !5
%33 = or i32 %32, %31
%34 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 1
store i32 %33, ptr %34, align 4, !tbaa !20
%35 = load i32, ptr @line, align 4, !tbaa !5
%36 = add nsw i32 %35, 1
store i32 %36, ptr @line, align 4, !tbaa !5
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 6
store i64 %37, ptr %38, align 8, !tbaa !21
%39 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 5
store ptr %3, ptr %39, align 8, !tbaa !22
%40 = load i32, ptr @PORT_MEN_Z135, align 4, !tbaa !5
%41 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 4
store i32 %40, ptr %41, align 4, !tbaa !23
%42 = load i32, ptr %0, align 4, !tbaa !24
%43 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 3
store i32 %42, ptr %43, align 8, !tbaa !26
%44 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 1, i32 2
store ptr null, ptr %44, align 8, !tbaa !27
%45 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 3
store ptr %0, ptr %45, align 8, !tbaa !28
%46 = getelementptr inbounds %struct.men_z135_port, ptr %5, i64 0, i32 2
%47 = tail call i32 @spin_lock_init(ptr noundef nonnull %46) #2
%48 = tail call i32 @uart_add_one_port(ptr noundef nonnull @men_z135_driver, ptr noundef nonnull %22) #2
%49 = icmp eq i32 %48, 0
br i1 %49, label %55, label %50
50: ; preds = %18
%51 = load ptr, ptr %5, align 8, !tbaa !9
%52 = ptrtoint ptr %51 to i64
%53 = tail call i32 @free_page(i64 noundef %52) #2
%54 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %48) #2
br label %55
55: ; preds = %18, %50, %15, %7
%56 = phi i32 [ %48, %50 ], [ %17, %15 ], [ %9, %7 ], [ 0, %18 ]
ret i32 %56
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @__get_free_page(i32 noundef) local_unnamed_addr #1
declare i32 @mcb_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mcb_get_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @uart_add_one_port(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free_page(i64 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"men_z135_port", !11, i64 0, !12, i64 8, !6, i64 80, !11, i64 88}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16, !6, i64 20, !11, i64 24, !13, i64 32, !11, i64 40, !6, i64 48, !11, i64 56, !6, i64 64}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !6, i64 8}
!15 = !{!10, !6, i64 72}
!16 = !{!11, !11, i64 0}
!17 = !{!10, !11, i64 48}
!18 = !{!10, !11, i64 64}
!19 = !{!10, !6, i64 56}
!20 = !{!10, !6, i64 12}
!21 = !{!10, !13, i64 40}
!22 = !{!10, !11, i64 32}
!23 = !{!10, !6, i64 28}
!24 = !{!25, !6, i64 0}
!25 = !{!"resource", !6, i64 0}
!26 = !{!10, !6, i64 24}
!27 = !{!10, !11, i64 16}
!28 = !{!10, !11, i64 88}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_men_z135_uart.c_men_z135_probe.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_men_z135_uart.c_men_z135_probe.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
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@MEN_Z135_BASECLK = common local_unnamed_addr global i32 0, align 4
@MEN_Z135_FIFO_SIZE = common local_unnamed_addr global i32 0, align 4
@UPIO_MEM = common local_unnamed_addr global ptr null, align 8
@men_z135_ops = common global i32 0, align 4
@UPF_BOOT_AUTOCONF = common local_unnamed_addr global i32 0, align 4
@UPF_IOREMAP = common local_unnamed_addr global i32 0, align 4
@line = common local_unnamed_addr global i32 0, align 4
@PORT_MEN_Z135 = common local_unnamed_addr global i32 0, align 4
@men_z135_driver = common global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Failed to add UART: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @men_z135_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @men_z135_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%5 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 96, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %55
10: ; preds = %2
%11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%12 = tail call i64 @__get_free_page(i32 noundef %11) #2
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8, !tbaa !10
%14 = icmp eq i64 %12, 0
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %55
18: ; preds = %10
%19 = tail call i32 @mcb_set_drvdata(ptr noundef %0, ptr noundef nonnull %5) #2
%20 = load i32, ptr @MEN_Z135_BASECLK, align 4, !tbaa !6
%21 = shl nsw i32 %20, 4
%22 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %21, ptr %22, align 8, !tbaa !15
%23 = load i32, ptr @MEN_Z135_FIFO_SIZE, align 4, !tbaa !6
%24 = getelementptr inbounds i8, ptr %5, i64 72
store i32 %23, ptr %24, align 8, !tbaa !16
%25 = load ptr, ptr @UPIO_MEM, align 8, !tbaa !17
%26 = getelementptr inbounds i8, ptr %5, i64 48
store ptr %25, ptr %26, align 8, !tbaa !18
%27 = getelementptr inbounds i8, ptr %5, i64 64
store ptr @men_z135_ops, ptr %27, align 8, !tbaa !19
%28 = tail call i32 @mcb_get_irq(ptr noundef %0) #2
%29 = getelementptr inbounds i8, ptr %5, i64 56
store i32 %28, ptr %29, align 8, !tbaa !20
%30 = load ptr, ptr @UPIO_MEM, align 8, !tbaa !17
store ptr %30, ptr %26, align 8, !tbaa !18
%31 = load i32, ptr @UPF_BOOT_AUTOCONF, align 4, !tbaa !6
%32 = load i32, ptr @UPF_IOREMAP, align 4, !tbaa !6
%33 = or i32 %32, %31
%34 = getelementptr inbounds i8, ptr %5, i64 12
store i32 %33, ptr %34, align 4, !tbaa !21
%35 = load i32, ptr @line, align 4, !tbaa !6
%36 = add nsw i32 %35, 1
store i32 %36, ptr @line, align 4, !tbaa !6
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i8, ptr %5, i64 40
store i64 %37, ptr %38, align 8, !tbaa !22
%39 = getelementptr inbounds i8, ptr %5, i64 32
store ptr %3, ptr %39, align 8, !tbaa !23
%40 = load i32, ptr @PORT_MEN_Z135, align 4, !tbaa !6
%41 = getelementptr inbounds i8, ptr %5, i64 28
store i32 %40, ptr %41, align 4, !tbaa !24
%42 = load i32, ptr %0, align 4, !tbaa !25
%43 = getelementptr inbounds i8, ptr %5, i64 24
store i32 %42, ptr %43, align 8, !tbaa !27
%44 = getelementptr inbounds i8, ptr %5, i64 16
store ptr null, ptr %44, align 8, !tbaa !28
%45 = getelementptr inbounds i8, ptr %5, i64 88
store ptr %0, ptr %45, align 8, !tbaa !29
%46 = getelementptr inbounds i8, ptr %5, i64 80
%47 = tail call i32 @spin_lock_init(ptr noundef nonnull %46) #2
%48 = tail call i32 @uart_add_one_port(ptr noundef nonnull @men_z135_driver, ptr noundef nonnull %22) #2
%49 = icmp eq i32 %48, 0
br i1 %49, label %55, label %50
50: ; preds = %18
%51 = load ptr, ptr %5, align 8, !tbaa !10
%52 = ptrtoint ptr %51 to i64
%53 = tail call i32 @free_page(i64 noundef %52) #2
%54 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %48) #2
br label %55
55: ; preds = %18, %50, %15, %7
%56 = phi i32 [ %48, %50 ], [ %17, %15 ], [ %9, %7 ], [ 0, %18 ]
ret i32 %56
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @__get_free_page(i32 noundef) local_unnamed_addr #1
declare i32 @mcb_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mcb_get_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @uart_add_one_port(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free_page(i64 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"men_z135_port", !12, i64 0, !13, i64 8, !7, i64 80, !12, i64 88}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16, !7, i64 20, !12, i64 24, !14, i64 32, !12, i64 40, !7, i64 48, !12, i64 56, !7, i64 64}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !7, i64 8}
!16 = !{!11, !7, i64 72}
!17 = !{!12, !12, i64 0}
!18 = !{!11, !12, i64 48}
!19 = !{!11, !12, i64 64}
!20 = !{!11, !7, i64 56}
!21 = !{!11, !7, i64 12}
!22 = !{!11, !14, i64 40}
!23 = !{!11, !12, i64 32}
!24 = !{!11, !7, i64 28}
!25 = !{!26, !7, i64 0}
!26 = !{!"resource", !7, i64 0}
!27 = !{!11, !7, i64 24}
!28 = !{!11, !12, i64 16}
!29 = !{!11, !12, i64 88}
| linux_drivers_tty_serial_extr_men_z135_uart.c_men_z135_probe |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_utils.c_gatt_free_pending_enc_queue.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_utils.c_gatt_free_pending_enc_queue.c"
target datalayout = "e-m:e-p270:32:32-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"gatt_free_pending_enc_queue\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @gatt_free_pending_enc_queue(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @GATT_TRACE_DEBUG(ptr noundef nonnull @.str) #2
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %18, label %5
5: ; preds = %1
%6 = tail call i32 @fixed_queue_is_empty(ptr noundef nonnull %3) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %5, %8
%9 = load ptr, ptr %0, align 8, !tbaa !5
%10 = tail call i32 @fixed_queue_dequeue(ptr noundef %9, i32 noundef 0) #2
%11 = tail call i32 @osi_free(i32 noundef %10) #2
%12 = load ptr, ptr %0, align 8, !tbaa !5
%13 = tail call i32 @fixed_queue_is_empty(ptr noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %8, label %15, !llvm.loop !10
15: ; preds = %8, %5
%16 = load ptr, ptr %0, align 8, !tbaa !5
%17 = tail call i32 @fixed_queue_free(ptr noundef %16, ptr noundef null) #2
store ptr null, ptr %0, align 8, !tbaa !5
br label %18
18: ; preds = %1, %15
ret void
}
declare i32 @GATT_TRACE_DEBUG(ptr noundef) local_unnamed_addr #1
declare i32 @fixed_queue_is_empty(ptr noundef) local_unnamed_addr #1
declare i32 @osi_free(i32 noundef) local_unnamed_addr #1
declare i32 @fixed_queue_dequeue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fixed_queue_free(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_utils.c_gatt_free_pending_enc_queue.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_utils.c_gatt_free_pending_enc_queue.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"gatt_free_pending_enc_queue\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @gatt_free_pending_enc_queue(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @GATT_TRACE_DEBUG(ptr noundef nonnull @.str) #2
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %18, label %5
5: ; preds = %1
%6 = tail call i32 @fixed_queue_is_empty(ptr noundef nonnull %3) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %5, %8
%9 = load ptr, ptr %0, align 8, !tbaa !6
%10 = tail call i32 @fixed_queue_dequeue(ptr noundef %9, i32 noundef 0) #2
%11 = tail call i32 @osi_free(i32 noundef %10) #2
%12 = load ptr, ptr %0, align 8, !tbaa !6
%13 = tail call i32 @fixed_queue_is_empty(ptr noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %8, label %15, !llvm.loop !11
15: ; preds = %8, %5
%16 = load ptr, ptr %0, align 8, !tbaa !6
%17 = tail call i32 @fixed_queue_free(ptr noundef %16, ptr noundef null) #2
store ptr null, ptr %0, align 8, !tbaa !6
br label %18
18: ; preds = %1, %15
ret void
}
declare i32 @GATT_TRACE_DEBUG(ptr noundef) local_unnamed_addr #1
declare i32 @fixed_queue_is_empty(ptr noundef) local_unnamed_addr #1
declare i32 @osi_free(i32 noundef) local_unnamed_addr #1
declare i32 @fixed_queue_dequeue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fixed_queue_free(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| esp-idf_components_bt_host_bluedroid_stack_gatt_extr_gatt_utils.c_gatt_free_pending_enc_queue |
; ModuleID = 'AnghaBench/linux/drivers/base/extr_memory.c_register_memory.c'
source_filename = "AnghaBench/linux/drivers/base/extr_memory.c_register_memory.c"
target datalayout = "e-m:e-p270:32:32-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.memory_block = type { i32, i64, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32, i32, i32, i32, ptr }
@memory_subsys = dso_local global i32 0, align 4
@sections_per_block = dso_local local_unnamed_addr global i32 0, align 4
@memory_block_release = dso_local local_unnamed_addr global i32 0, align 4
@memory_memblk_attr_groups = dso_local local_unnamed_addr global i32 0, align 4
@MEM_OFFLINE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @register_memory], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @register_memory(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.memory_block, ptr %0, i64 0, i32 2
%3 = getelementptr inbounds %struct.memory_block, ptr %0, i64 0, i32 2, i32 4
store ptr @memory_subsys, ptr %3, align 8, !tbaa !5
%4 = load i32, ptr %0, align 8, !tbaa !13
%5 = load i32, ptr @sections_per_block, align 4, !tbaa !14
%6 = sdiv i32 %4, %5
store i32 %6, ptr %2, align 8, !tbaa !15
%7 = load i32, ptr @memory_block_release, align 4, !tbaa !14
%8 = getelementptr inbounds %struct.memory_block, ptr %0, i64 0, i32 2, i32 3
store i32 %7, ptr %8, align 4, !tbaa !16
%9 = load i32, ptr @memory_memblk_attr_groups, align 4, !tbaa !14
%10 = getelementptr inbounds %struct.memory_block, ptr %0, i64 0, i32 2, i32 2
store i32 %9, ptr %10, align 8, !tbaa !17
%11 = getelementptr inbounds %struct.memory_block, ptr %0, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !18
%13 = load i64, ptr @MEM_OFFLINE, align 8, !tbaa !19
%14 = icmp eq i64 %12, %13
%15 = zext i1 %14 to i32
%16 = getelementptr inbounds %struct.memory_block, ptr %0, i64 0, i32 2, i32 1
store i32 %15, ptr %16, align 4, !tbaa !20
%17 = tail call i32 @device_register(ptr noundef nonnull %2) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %1
%20 = tail call i32 @put_device(ptr noundef nonnull %2) #2
br label %21
21: ; preds = %19, %1
ret i32 %17
}
declare i32 @device_register(ptr noundef) local_unnamed_addr #1
declare i32 @put_device(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !12, i64 32}
!6 = !{!"memory_block", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 16}
!16 = !{!6, !7, i64 28}
!17 = !{!6, !7, i64 24}
!18 = !{!6, !10, i64 8}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !7, i64 20}
| ; ModuleID = 'AnghaBench/linux/drivers/base/extr_memory.c_register_memory.c'
source_filename = "AnghaBench/linux/drivers/base/extr_memory.c_register_memory.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@memory_subsys = common global i32 0, align 4
@sections_per_block = common local_unnamed_addr global i32 0, align 4
@memory_block_release = common local_unnamed_addr global i32 0, align 4
@memory_memblk_attr_groups = common local_unnamed_addr global i32 0, align 4
@MEM_OFFLINE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @register_memory], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @register_memory(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = getelementptr inbounds i8, ptr %0, i64 32
store ptr @memory_subsys, ptr %3, align 8, !tbaa !6
%4 = load i32, ptr %0, align 8, !tbaa !14
%5 = load i32, ptr @sections_per_block, align 4, !tbaa !15
%6 = sdiv i32 %4, %5
store i32 %6, ptr %2, align 8, !tbaa !16
%7 = load i32, ptr @memory_block_release, align 4, !tbaa !15
%8 = getelementptr inbounds i8, ptr %0, i64 28
store i32 %7, ptr %8, align 4, !tbaa !17
%9 = load i32, ptr @memory_memblk_attr_groups, align 4, !tbaa !15
%10 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %9, ptr %10, align 8, !tbaa !18
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !19
%13 = load i64, ptr @MEM_OFFLINE, align 8, !tbaa !20
%14 = icmp eq i64 %12, %13
%15 = zext i1 %14 to i32
%16 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %15, ptr %16, align 4, !tbaa !21
%17 = tail call i32 @device_register(ptr noundef nonnull %2) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %1
%20 = tail call i32 @put_device(ptr noundef nonnull %2) #2
br label %21
21: ; preds = %19, %1
ret i32 %17
}
declare i32 @device_register(ptr noundef) local_unnamed_addr #1
declare i32 @put_device(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !13, i64 32}
!7 = !{!"memory_block", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !13, i64 16}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 16}
!17 = !{!7, !8, i64 28}
!18 = !{!7, !8, i64 24}
!19 = !{!7, !11, i64 8}
!20 = !{!11, !11, i64 0}
!21 = !{!7, !8, i64 20}
| linux_drivers_base_extr_memory.c_register_memory |
; ModuleID = 'AnghaBench/linux/drivers/scsi/cxgbi/cxgb3i/extr_cxgb3i.c_do_act_establish.c'
source_filename = "AnghaBench/linux/drivers/scsi/cxgbi/cxgb3i/extr_cxgb3i.c_do_act_establish.c"
target datalayout = "e-m:e-p270:32:32-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.cpl_act_establish = type { i32, i32, i32, i32 }
%struct.cxgbi_sock = type { i64, i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_4__, i32, ptr }
%struct.TYPE_4__ = type { ptr }
@CXGBI_DBG_TOE = dso_local local_unnamed_addr global i32 0, align 4
@CXGBI_DBG_SOCK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [48 x i8] c"atid 0x%x,tid 0x%x, csk 0x%p,%u,0x%lx, isn %u.\0A\00", align 1
@CTPF_HAS_TID = dso_local local_unnamed_addr global i32 0, align 4
@t3_client = dso_local global i32 0, align 4
@CTP_ACTIVE_OPEN = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [32 x i8] c"csk 0x%p,%u,0x%lx,%u, got EST.\0A\00", align 1
@M_RCV_BUFSIZ = dso_local local_unnamed_addr global i32 0, align 4
@CTPF_ACTIVE_CLOSE_NEEDED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_act_establish], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @do_act_establish(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @cplhdr(ptr noundef %1) #3
%5 = tail call i32 @GET_TID(ptr noundef %4) #3
%6 = getelementptr inbounds %struct.cpl_act_establish, ptr %4, i64 0, i32 3
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call i32 @ntohl(i32 noundef %7)
%9 = tail call i32 @G_PASS_OPEN_TID(i32 noundef %8) #3
%10 = getelementptr inbounds %struct.cpl_act_establish, ptr %4, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !10
%12 = tail call i32 @ntohl(i32 noundef %11)
%13 = load i32, ptr @CXGBI_DBG_TOE, align 4, !tbaa !11
%14 = shl nuw i32 1, %13
%15 = load i32, ptr @CXGBI_DBG_SOCK, align 4, !tbaa !11
%16 = shl nuw i32 1, %15
%17 = or i32 %16, %14
%18 = load i64, ptr %2, align 8, !tbaa !12
%19 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 8
%20 = load i32, ptr %19, align 4, !tbaa !17
%21 = tail call i32 @log_debug(i32 noundef %17, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %9, ptr noundef nonnull %2, i64 noundef %18, i32 noundef %20, i32 noundef %12) #3
%22 = tail call i32 @cxgbi_sock_get(ptr noundef nonnull %2) #3
%23 = load i32, ptr @CTPF_HAS_TID, align 4, !tbaa !11
%24 = tail call i32 @cxgbi_sock_set_flag(ptr noundef nonnull %2, i32 noundef %23) #3
%25 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 1
store i32 %5, ptr %25, align 8, !tbaa !18
%26 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 11
%27 = load ptr, ptr %26, align 8, !tbaa !19
%28 = load i32, ptr %27, align 4, !tbaa !20
%29 = tail call i32 @cxgb3_insert_tid(i32 noundef %28, ptr noundef nonnull @t3_client, ptr noundef nonnull %2, i32 noundef %5) #3
%30 = tail call i32 @free_atid(ptr noundef nonnull %2) #3
%31 = load i32, ptr %1, align 4, !tbaa !22
%32 = tail call i32 @ntohs(i32 noundef %31) #3
%33 = tail call i32 @G_QNUM(i32 noundef %32) #3
%34 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 10
store i32 %33, ptr %34, align 8, !tbaa !24
%35 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 3
%36 = tail call i32 @spin_lock_bh(ptr noundef nonnull %35) #3
%37 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 9
%38 = load ptr, ptr %37, align 8, !tbaa !25
%39 = icmp eq ptr %38, null
br i1 %39, label %42, label %40
40: ; preds = %3
%41 = tail call i32 @del_timer(ptr noundef nonnull %37) #3
store ptr null, ptr %37, align 8, !tbaa !25
br label %42
42: ; preds = %40, %3
%43 = load i64, ptr %2, align 8, !tbaa !12
%44 = load i64, ptr @CTP_ACTIVE_OPEN, align 8, !tbaa !26
%45 = icmp ne i64 %43, %44
%46 = zext i1 %45 to i32
%47 = tail call i64 @unlikely(i32 noundef %46) #3
%48 = icmp eq i64 %47, 0
br i1 %48, label %54, label %49
49: ; preds = %42
%50 = load i64, ptr %2, align 8, !tbaa !12
%51 = load i32, ptr %19, align 4, !tbaa !17
%52 = load i32, ptr %25, align 8, !tbaa !18
%53 = tail call i32 @pr_info(ptr noundef nonnull @.str.1, ptr noundef nonnull %2, i64 noundef %50, i32 noundef %51, i32 noundef %52) #3
br label %54
54: ; preds = %49, %42
%55 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 6
store i32 %12, ptr %55, align 4, !tbaa !27
%56 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 5
store i32 %12, ptr %56, align 8, !tbaa !28
%57 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 7
store i32 %12, ptr %57, align 8, !tbaa !29
%58 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 2
%59 = load i32, ptr %58, align 4, !tbaa !30
%60 = load i32, ptr @M_RCV_BUFSIZ, align 4, !tbaa !11
%61 = shl i32 %60, 10
%62 = icmp sgt i32 %59, %61
br i1 %62, label %63, label %66
63: ; preds = %54
%64 = sub i32 %12, %59
%65 = add i32 %64, %61
store i32 %65, ptr %56, align 8, !tbaa !28
br label %66
66: ; preds = %63, %54
%67 = getelementptr inbounds %struct.cpl_act_establish, ptr %4, i64 0, i32 1
%68 = load i32, ptr %67, align 4, !tbaa !31
%69 = tail call i32 @ntohl(i32 noundef %68)
%70 = load i32, ptr %4, align 4, !tbaa !32
%71 = tail call i32 @ntohs(i32 noundef %70) #3
%72 = tail call i32 @cxgbi_sock_established(ptr noundef nonnull %2, i32 noundef %69, i32 noundef %71) #3
%73 = load i32, ptr @CTPF_ACTIVE_CLOSE_NEEDED, align 4, !tbaa !11
%74 = tail call i32 @cxgbi_sock_flag(ptr noundef nonnull %2, i32 noundef %73) #3
%75 = tail call i64 @unlikely(i32 noundef %74) #3
%76 = icmp eq i64 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %66
%78 = tail call i32 @send_abort_req(ptr noundef nonnull %2) #3
br label %87
79: ; preds = %66
%80 = getelementptr inbounds %struct.cxgbi_sock, ptr %2, i64 0, i32 4
%81 = tail call i64 @skb_queue_len(ptr noundef nonnull %80) #3
%82 = icmp eq i64 %81, 0
br i1 %82, label %85, label %83
83: ; preds = %79
%84 = tail call i32 @push_tx_frames(ptr noundef nonnull %2, i32 noundef 1) #3
br label %85
85: ; preds = %83, %79
%86 = tail call i32 @cxgbi_conn_tx_open(ptr noundef nonnull %2) #3
br label %87
87: ; preds = %85, %77
%88 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %35) #3
%89 = tail call i32 @__kfree_skb(ptr noundef nonnull %1) #3
ret i32 0
}
declare ptr @cplhdr(ptr noundef) local_unnamed_addr #1
declare i32 @GET_TID(ptr noundef) local_unnamed_addr #1
declare i32 @G_PASS_OPEN_TID(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @ntohl(i32 noundef) local_unnamed_addr #2
declare i32 @log_debug(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgbi_sock_get(ptr noundef) local_unnamed_addr #1
declare i32 @cxgbi_sock_set_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgb3_insert_tid(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_atid(ptr noundef) local_unnamed_addr #1
declare i32 @G_QNUM(i32 noundef) local_unnamed_addr #1
declare i32 @ntohs(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgbi_sock_established(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgbi_sock_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @send_abort_req(ptr noundef) local_unnamed_addr #1
declare i64 @skb_queue_len(ptr noundef) local_unnamed_addr #1
declare i32 @push_tx_frames(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgbi_conn_tx_open(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @__kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nosync nounwind memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 12}
!6 = !{!"cpl_act_establish", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!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 = !{!13, !14, i64 0}
!13 = !{!"cxgbi_sock", !14, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !15, i64 40, !7, i64 48, !16, i64 56}
!14 = !{!"long", !8, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!13, !7, i64 36}
!18 = !{!13, !7, i64 8}
!19 = !{!13, !16, i64 56}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_3__", !7, i64 0}
!22 = !{!23, !7, i64 0}
!23 = !{!"sk_buff", !7, i64 0}
!24 = !{!13, !7, i64 48}
!25 = !{!13, !16, i64 40}
!26 = !{!14, !14, i64 0}
!27 = !{!13, !7, i64 28}
!28 = !{!13, !7, i64 24}
!29 = !{!13, !7, i64 32}
!30 = !{!13, !7, i64 12}
!31 = !{!6, !7, i64 4}
!32 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/cxgbi/cxgb3i/extr_cxgb3i.c_do_act_establish.c'
source_filename = "AnghaBench/linux/drivers/scsi/cxgbi/cxgb3i/extr_cxgb3i.c_do_act_establish.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CXGBI_DBG_TOE = common local_unnamed_addr global i32 0, align 4
@CXGBI_DBG_SOCK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [48 x i8] c"atid 0x%x,tid 0x%x, csk 0x%p,%u,0x%lx, isn %u.\0A\00", align 1
@CTPF_HAS_TID = common local_unnamed_addr global i32 0, align 4
@t3_client = common global i32 0, align 4
@CTP_ACTIVE_OPEN = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [32 x i8] c"csk 0x%p,%u,0x%lx,%u, got EST.\0A\00", align 1
@M_RCV_BUFSIZ = common local_unnamed_addr global i32 0, align 4
@CTPF_ACTIVE_CLOSE_NEEDED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @do_act_establish], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @do_act_establish(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @cplhdr(ptr noundef %1) #3
%5 = tail call i32 @GET_TID(ptr noundef %4) #3
%6 = getelementptr inbounds i8, ptr %4, i64 12
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call i32 @ntohl(i32 noundef %7)
%9 = tail call i32 @G_PASS_OPEN_TID(i32 noundef %8) #3
%10 = getelementptr inbounds i8, ptr %4, i64 8
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = tail call i32 @ntohl(i32 noundef %11)
%13 = load i32, ptr @CXGBI_DBG_TOE, align 4, !tbaa !12
%14 = shl nuw i32 1, %13
%15 = load i32, ptr @CXGBI_DBG_SOCK, align 4, !tbaa !12
%16 = shl nuw i32 1, %15
%17 = or i32 %16, %14
%18 = load i64, ptr %2, align 8, !tbaa !13
%19 = getelementptr inbounds i8, ptr %2, i64 36
%20 = load i32, ptr %19, align 4, !tbaa !18
%21 = tail call i32 @log_debug(i32 noundef %17, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %9, ptr noundef nonnull %2, i64 noundef %18, i32 noundef %20, i32 noundef %12) #3
%22 = tail call i32 @cxgbi_sock_get(ptr noundef nonnull %2) #3
%23 = load i32, ptr @CTPF_HAS_TID, align 4, !tbaa !12
%24 = tail call i32 @cxgbi_sock_set_flag(ptr noundef nonnull %2, i32 noundef %23) #3
%25 = getelementptr inbounds i8, ptr %2, i64 8
store i32 %5, ptr %25, align 8, !tbaa !19
%26 = getelementptr inbounds i8, ptr %2, i64 56
%27 = load ptr, ptr %26, align 8, !tbaa !20
%28 = load i32, ptr %27, align 4, !tbaa !21
%29 = tail call i32 @cxgb3_insert_tid(i32 noundef %28, ptr noundef nonnull @t3_client, ptr noundef nonnull %2, i32 noundef %5) #3
%30 = tail call i32 @free_atid(ptr noundef nonnull %2) #3
%31 = load i32, ptr %1, align 4, !tbaa !23
%32 = tail call i32 @ntohs(i32 noundef %31) #3
%33 = tail call i32 @G_QNUM(i32 noundef %32) #3
%34 = getelementptr inbounds i8, ptr %2, i64 48
store i32 %33, ptr %34, align 8, !tbaa !25
%35 = getelementptr inbounds i8, ptr %2, i64 16
%36 = tail call i32 @spin_lock_bh(ptr noundef nonnull %35) #3
%37 = getelementptr inbounds i8, ptr %2, i64 40
%38 = load ptr, ptr %37, align 8, !tbaa !26
%39 = icmp eq ptr %38, null
br i1 %39, label %42, label %40
40: ; preds = %3
%41 = tail call i32 @del_timer(ptr noundef nonnull %37) #3
store ptr null, ptr %37, align 8, !tbaa !26
br label %42
42: ; preds = %40, %3
%43 = load i64, ptr %2, align 8, !tbaa !13
%44 = load i64, ptr @CTP_ACTIVE_OPEN, align 8, !tbaa !27
%45 = icmp ne i64 %43, %44
%46 = zext i1 %45 to i32
%47 = tail call i64 @unlikely(i32 noundef %46) #3
%48 = icmp eq i64 %47, 0
br i1 %48, label %54, label %49
49: ; preds = %42
%50 = load i64, ptr %2, align 8, !tbaa !13
%51 = load i32, ptr %19, align 4, !tbaa !18
%52 = load i32, ptr %25, align 8, !tbaa !19
%53 = tail call i32 @pr_info(ptr noundef nonnull @.str.1, ptr noundef nonnull %2, i64 noundef %50, i32 noundef %51, i32 noundef %52) #3
br label %54
54: ; preds = %49, %42
%55 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %12, ptr %55, align 4, !tbaa !28
%56 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %12, ptr %56, align 8, !tbaa !29
%57 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %12, ptr %57, align 8, !tbaa !30
%58 = getelementptr inbounds i8, ptr %2, i64 12
%59 = load i32, ptr %58, align 4, !tbaa !31
%60 = load i32, ptr @M_RCV_BUFSIZ, align 4, !tbaa !12
%61 = shl i32 %60, 10
%62 = icmp sgt i32 %59, %61
br i1 %62, label %63, label %66
63: ; preds = %54
%64 = sub i32 %12, %59
%65 = add i32 %64, %61
store i32 %65, ptr %56, align 8, !tbaa !29
br label %66
66: ; preds = %63, %54
%67 = getelementptr inbounds i8, ptr %4, i64 4
%68 = load i32, ptr %67, align 4, !tbaa !32
%69 = tail call i32 @ntohl(i32 noundef %68)
%70 = load i32, ptr %4, align 4, !tbaa !33
%71 = tail call i32 @ntohs(i32 noundef %70) #3
%72 = tail call i32 @cxgbi_sock_established(ptr noundef nonnull %2, i32 noundef %69, i32 noundef %71) #3
%73 = load i32, ptr @CTPF_ACTIVE_CLOSE_NEEDED, align 4, !tbaa !12
%74 = tail call i32 @cxgbi_sock_flag(ptr noundef nonnull %2, i32 noundef %73) #3
%75 = tail call i64 @unlikely(i32 noundef %74) #3
%76 = icmp eq i64 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %66
%78 = tail call i32 @send_abort_req(ptr noundef nonnull %2) #3
br label %87
79: ; preds = %66
%80 = getelementptr inbounds i8, ptr %2, i64 20
%81 = tail call i64 @skb_queue_len(ptr noundef nonnull %80) #3
%82 = icmp eq i64 %81, 0
br i1 %82, label %85, label %83
83: ; preds = %79
%84 = tail call i32 @push_tx_frames(ptr noundef nonnull %2, i32 noundef 1) #3
br label %85
85: ; preds = %83, %79
%86 = tail call i32 @cxgbi_conn_tx_open(ptr noundef nonnull %2) #3
br label %87
87: ; preds = %85, %77
%88 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %35) #3
%89 = tail call i32 @__kfree_skb(ptr noundef nonnull %1) #3
ret i32 0
}
declare ptr @cplhdr(ptr noundef) local_unnamed_addr #1
declare i32 @GET_TID(ptr noundef) local_unnamed_addr #1
declare i32 @G_PASS_OPEN_TID(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @ntohl(i32 noundef) local_unnamed_addr #2
declare i32 @log_debug(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgbi_sock_get(ptr noundef) local_unnamed_addr #1
declare i32 @cxgbi_sock_set_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgb3_insert_tid(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_atid(ptr noundef) local_unnamed_addr #1
declare i32 @G_QNUM(i32 noundef) local_unnamed_addr #1
declare i32 @ntohs(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgbi_sock_established(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgbi_sock_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @send_abort_req(ptr noundef) local_unnamed_addr #1
declare i64 @skb_queue_len(ptr noundef) local_unnamed_addr #1
declare i32 @push_tx_frames(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cxgbi_conn_tx_open(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @__kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 12}
!7 = !{!"cpl_act_establish", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!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 = !{!14, !15, i64 0}
!14 = !{!"cxgbi_sock", !15, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !16, i64 40, !8, i64 48, !17, i64 56}
!15 = !{!"long", !9, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!14, !8, i64 36}
!19 = !{!14, !8, i64 8}
!20 = !{!14, !17, i64 56}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_3__", !8, i64 0}
!23 = !{!24, !8, i64 0}
!24 = !{!"sk_buff", !8, i64 0}
!25 = !{!14, !8, i64 48}
!26 = !{!14, !17, i64 40}
!27 = !{!15, !15, i64 0}
!28 = !{!14, !8, i64 28}
!29 = !{!14, !8, i64 24}
!30 = !{!14, !8, i64 32}
!31 = !{!14, !8, i64 12}
!32 = !{!7, !8, i64 4}
!33 = !{!7, !8, i64 0}
| linux_drivers_scsi_cxgbi_cxgb3i_extr_cxgb3i.c_do_act_establish |
; ModuleID = 'AnghaBench/sway/sway/desktop/extr_transaction.c_transaction_commit.c'
source_filename = "AnghaBench/sway/sway/desktop/extr_transaction.c_transaction_commit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { i64, i64, i64 }
%struct.TYPE_12__ = type { i32, i32 }
%struct.timespec = type { i32 }
%struct.sway_transaction = type { i64, i64, %struct.timespec, i64, ptr }
%struct.TYPE_8__ = type { i32, ptr }
%struct.sway_transaction_instruction = type { %struct.TYPE_9__, i32, ptr }
%struct.TYPE_9__ = type { i32, i32, i32, i32 }
%struct.sway_node = type { ptr, ptr }
%struct.TYPE_11__ = type { i32, i32, i32, i32 }
@SWAY_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"Transaction %p committing with %i instructions\00", align 1
@CLOCK_MONOTONIC = dso_local local_unnamed_addr global i32 0, align 4
@debug = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@server = dso_local local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 4
@handle_timeout = dso_local local_unnamed_addr global i32 0, align 4
@SWAY_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [77 x i8] c"Unable to create transaction timer (some imperfect frames might be rendered)\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @transaction_commit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @transaction_commit(ptr noundef %0) #0 {
%2 = alloca %struct.timespec, align 4
%3 = load i32, ptr @SWAY_DEBUG, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.sway_transaction, ptr %0, i64 0, i32 4
%5 = load ptr, ptr %4, align 8, !tbaa !9
%6 = load i32, ptr %5, align 8, !tbaa !14
%7 = tail call i32 @sway_log(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %6) #3
store i64 0, ptr %0, align 8, !tbaa !16
%8 = load ptr, ptr %4, align 8, !tbaa !9
%9 = load i32, ptr %8, align 8, !tbaa !14
%10 = icmp sgt i32 %9, 0
br i1 %10, label %18, label %13
11: ; preds = %67
%12 = load i64, ptr %0, align 8, !tbaa !16
br label %13
13: ; preds = %11, %1
%14 = phi i64 [ %12, %11 ], [ 0, %1 ]
%15 = getelementptr inbounds %struct.sway_transaction, ptr %0, i64 0, i32 3
store i64 %14, ptr %15, align 8, !tbaa !17
%16 = load i64, ptr getelementptr inbounds (%struct.TYPE_13__, ptr @debug, i64 0, i32 2), align 8, !tbaa !18
%17 = icmp eq i64 %16, 0
br i1 %17, label %77, label %73
18: ; preds = %1, %67
%19 = phi i64 [ %68, %67 ], [ 0, %1 ]
%20 = phi ptr [ %69, %67 ], [ %8, %1 ]
%21 = getelementptr inbounds %struct.TYPE_8__, ptr %20, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !20
%23 = getelementptr inbounds ptr, ptr %22, i64 %19
%24 = load ptr, ptr %23, align 8, !tbaa !21
%25 = getelementptr inbounds %struct.sway_transaction_instruction, ptr %24, i64 0, i32 2
%26 = load ptr, ptr %25, align 8, !tbaa !22
%27 = call i64 @should_configure(ptr noundef %26, ptr noundef %24) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %51, label %29
29: ; preds = %18
%30 = getelementptr inbounds %struct.sway_node, ptr %26, i64 0, i32 1
%31 = load ptr, ptr %30, align 8, !tbaa !25
%32 = load ptr, ptr %31, align 8, !tbaa !27
%33 = getelementptr inbounds %struct.TYPE_9__, ptr %24, i64 0, i32 3
%34 = load i32, ptr %33, align 4, !tbaa !29
%35 = getelementptr inbounds %struct.TYPE_9__, ptr %24, i64 0, i32 2
%36 = load i32, ptr %35, align 8, !tbaa !30
%37 = getelementptr inbounds %struct.TYPE_9__, ptr %24, i64 0, i32 1
%38 = load i32, ptr %37, align 4, !tbaa !31
%39 = load i32, ptr %24, align 8, !tbaa !32
%40 = call i32 @view_configure(ptr noundef %32, i32 noundef %34, i32 noundef %36, i32 noundef %38, i32 noundef %39) #3
%41 = getelementptr inbounds %struct.sway_transaction_instruction, ptr %24, i64 0, i32 1
store i32 %40, ptr %41, align 8, !tbaa !33
%42 = load i64, ptr %0, align 8, !tbaa !16
%43 = add nsw i64 %42, 1
store i64 %43, ptr %0, align 8, !tbaa !16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%44 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !5
%45 = call i32 @clock_gettime(i32 noundef %44, ptr noundef nonnull %2) #3
%46 = load ptr, ptr %30, align 8, !tbaa !25
%47 = load ptr, ptr %46, align 8, !tbaa !27
%48 = getelementptr inbounds %struct.TYPE_11__, ptr %47, i64 0, i32 3
%49 = load i32, ptr %48, align 4, !tbaa !34
%50 = call i32 @wlr_surface_send_frame_done(i32 noundef %49, ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %51
51: ; preds = %29, %18
%52 = call i64 @node_is_view(ptr noundef %26) #3
%53 = icmp eq i64 %52, 0
br i1 %53, label %67, label %54
54: ; preds = %51
%55 = getelementptr inbounds %struct.sway_node, ptr %26, i64 0, i32 1
%56 = load ptr, ptr %55, align 8, !tbaa !25
%57 = load ptr, ptr %56, align 8, !tbaa !27
%58 = getelementptr inbounds %struct.TYPE_11__, ptr %57, i64 0, i32 2
%59 = load i32, ptr %58, align 4, !tbaa !36
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %67
61: ; preds = %54
%62 = call i32 @view_save_buffer(ptr noundef nonnull %57) #3
%63 = load ptr, ptr %55, align 8, !tbaa !25
%64 = load ptr, ptr %63, align 8, !tbaa !27
%65 = getelementptr inbounds %struct.TYPE_11__, ptr %64, i64 0, i32 1
%66 = call i32 @memcpy(ptr noundef nonnull %65, ptr noundef %64, i32 noundef 4) #3
br label %67
67: ; preds = %61, %54, %51
store ptr %24, ptr %26, align 8, !tbaa !37
%68 = add nuw nsw i64 %19, 1
%69 = load ptr, ptr %4, align 8, !tbaa !9
%70 = load i32, ptr %69, align 8, !tbaa !14
%71 = sext i32 %70 to i64
%72 = icmp slt i64 %68, %71
br i1 %72, label %18, label %11, !llvm.loop !38
73: ; preds = %13
%74 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !5
%75 = getelementptr inbounds %struct.sway_transaction, ptr %0, i64 0, i32 2
%76 = call i32 @clock_gettime(i32 noundef %74, ptr noundef nonnull %75) #3
br label %77
77: ; preds = %73, %13
%78 = load i64, ptr getelementptr inbounds (%struct.TYPE_13__, ptr @debug, i64 0, i32 1), align 8, !tbaa !40
%79 = icmp eq i64 %78, 0
br i1 %79, label %81, label %80
80: ; preds = %77
store i64 0, ptr %0, align 8, !tbaa !16
br label %102
81: ; preds = %77
%82 = load i64, ptr @debug, align 8, !tbaa !41
%83 = icmp eq i64 %82, 0
%84 = load i64, ptr %0, align 8, !tbaa !16
br i1 %83, label %87, label %85
85: ; preds = %81
%86 = add nsw i64 %84, 1000000
store i64 %86, ptr %0, align 8, !tbaa !16
br label %87
87: ; preds = %81, %85
%88 = phi i64 [ %86, %85 ], [ %84, %81 ]
%89 = icmp eq i64 %88, 0
br i1 %89, label %102, label %90
90: ; preds = %87
%91 = load i32, ptr getelementptr inbounds (%struct.TYPE_12__, ptr @server, i64 0, i32 1), align 4, !tbaa !42
%92 = load i32, ptr @handle_timeout, align 4, !tbaa !5
%93 = call i64 @wl_event_loop_add_timer(i32 noundef %91, i32 noundef %92, ptr noundef nonnull %0) #3
%94 = getelementptr inbounds %struct.sway_transaction, ptr %0, i64 0, i32 1
store i64 %93, ptr %94, align 8, !tbaa !44
%95 = icmp eq i64 %93, 0
br i1 %95, label %99, label %96
96: ; preds = %90
%97 = load i32, ptr @server, align 4, !tbaa !45
%98 = call i32 @wl_event_source_timer_update(i64 noundef %93, i32 noundef %97) #3
br label %102
99: ; preds = %90
%100 = load i32, ptr @SWAY_ERROR, align 4, !tbaa !5
%101 = call i32 @sway_log_errno(i32 noundef %100, ptr noundef nonnull @.str.1) #3
store i64 0, ptr %0, align 8, !tbaa !16
br label %102
102: ; preds = %80, %96, %99, %87
ret void
}
declare i32 @sway_log(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i64 @should_configure(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @view_configure(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wlr_surface_send_frame_done(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
declare i64 @node_is_view(ptr noundef) local_unnamed_addr #1
declare i32 @view_save_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @wl_event_loop_add_timer(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wl_event_source_timer_update(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sway_log_errno(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 32}
!10 = !{!"sway_transaction", !11, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !13, i64 32}
!11 = !{!"long", !7, i64 0}
!12 = !{!"timespec", !6, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_8__", !6, i64 0, !13, i64 8}
!16 = !{!10, !11, i64 0}
!17 = !{!10, !11, i64 24}
!18 = !{!19, !11, i64 16}
!19 = !{!"TYPE_13__", !11, i64 0, !11, i64 8, !11, i64 16}
!20 = !{!15, !13, i64 8}
!21 = !{!13, !13, i64 0}
!22 = !{!23, !13, i64 24}
!23 = !{!"sway_transaction_instruction", !24, i64 0, !6, i64 16, !13, i64 24}
!24 = !{!"TYPE_9__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!25 = !{!26, !13, i64 8}
!26 = !{!"sway_node", !13, i64 0, !13, i64 8}
!27 = !{!28, !13, i64 0}
!28 = !{!"TYPE_10__", !13, i64 0}
!29 = !{!23, !6, i64 12}
!30 = !{!23, !6, i64 8}
!31 = !{!23, !6, i64 4}
!32 = !{!23, !6, i64 0}
!33 = !{!23, !6, i64 16}
!34 = !{!35, !6, i64 12}
!35 = !{!"TYPE_11__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!36 = !{!35, !6, i64 8}
!37 = !{!26, !13, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!19, !11, i64 8}
!41 = !{!19, !11, i64 0}
!42 = !{!43, !6, i64 4}
!43 = !{!"TYPE_12__", !6, i64 0, !6, i64 4}
!44 = !{!10, !11, i64 8}
!45 = !{!43, !6, i64 0}
| ; ModuleID = 'AnghaBench/sway/sway/desktop/extr_transaction.c_transaction_commit.c'
source_filename = "AnghaBench/sway/sway/desktop/extr_transaction.c_transaction_commit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_13__ = type { i64, i64, i64 }
%struct.TYPE_12__ = type { i32, i32 }
%struct.timespec = type { i32 }
@SWAY_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"Transaction %p committing with %i instructions\00", align 1
@CLOCK_MONOTONIC = common local_unnamed_addr global i32 0, align 4
@debug = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8
@server = common local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 4
@handle_timeout = common local_unnamed_addr global i32 0, align 4
@SWAY_ERROR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [77 x i8] c"Unable to create transaction timer (some imperfect frames might be rendered)\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @transaction_commit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @transaction_commit(ptr noundef %0) #0 {
%2 = alloca %struct.timespec, align 4
%3 = load i32, ptr @SWAY_DEBUG, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 32
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load i32, ptr %5, align 8, !tbaa !15
%7 = tail call i32 @sway_log(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %6) #3
store i64 0, ptr %0, align 8, !tbaa !17
%8 = load ptr, ptr %4, align 8, !tbaa !10
%9 = load i32, ptr %8, align 8, !tbaa !15
%10 = icmp sgt i32 %9, 0
br i1 %10, label %18, label %13
11: ; preds = %67
%12 = load i64, ptr %0, align 8, !tbaa !17
br label %13
13: ; preds = %11, %1
%14 = phi i64 [ %12, %11 ], [ 0, %1 ]
%15 = getelementptr inbounds i8, ptr %0, i64 24
store i64 %14, ptr %15, align 8, !tbaa !18
%16 = load i64, ptr getelementptr inbounds (i8, ptr @debug, i64 16), align 8, !tbaa !19
%17 = icmp eq i64 %16, 0
br i1 %17, label %77, label %73
18: ; preds = %1, %67
%19 = phi i64 [ %68, %67 ], [ 0, %1 ]
%20 = phi ptr [ %69, %67 ], [ %8, %1 ]
%21 = getelementptr inbounds i8, ptr %20, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !21
%23 = getelementptr inbounds ptr, ptr %22, i64 %19
%24 = load ptr, ptr %23, align 8, !tbaa !22
%25 = getelementptr inbounds i8, ptr %24, i64 24
%26 = load ptr, ptr %25, align 8, !tbaa !23
%27 = call i64 @should_configure(ptr noundef %26, ptr noundef %24) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %51, label %29
29: ; preds = %18
%30 = getelementptr inbounds i8, ptr %26, i64 8
%31 = load ptr, ptr %30, align 8, !tbaa !26
%32 = load ptr, ptr %31, align 8, !tbaa !28
%33 = getelementptr inbounds i8, ptr %24, i64 12
%34 = load i32, ptr %33, align 4, !tbaa !30
%35 = getelementptr inbounds i8, ptr %24, i64 8
%36 = load i32, ptr %35, align 8, !tbaa !31
%37 = getelementptr inbounds i8, ptr %24, i64 4
%38 = load i32, ptr %37, align 4, !tbaa !32
%39 = load i32, ptr %24, align 8, !tbaa !33
%40 = call i32 @view_configure(ptr noundef %32, i32 noundef %34, i32 noundef %36, i32 noundef %38, i32 noundef %39) #3
%41 = getelementptr inbounds i8, ptr %24, i64 16
store i32 %40, ptr %41, align 8, !tbaa !34
%42 = load i64, ptr %0, align 8, !tbaa !17
%43 = add nsw i64 %42, 1
store i64 %43, ptr %0, align 8, !tbaa !17
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%44 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !6
%45 = call i32 @clock_gettime(i32 noundef %44, ptr noundef nonnull %2) #3
%46 = load ptr, ptr %30, align 8, !tbaa !26
%47 = load ptr, ptr %46, align 8, !tbaa !28
%48 = getelementptr inbounds i8, ptr %47, i64 12
%49 = load i32, ptr %48, align 4, !tbaa !35
%50 = call i32 @wlr_surface_send_frame_done(i32 noundef %49, ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %51
51: ; preds = %29, %18
%52 = call i64 @node_is_view(ptr noundef %26) #3
%53 = icmp eq i64 %52, 0
br i1 %53, label %67, label %54
54: ; preds = %51
%55 = getelementptr inbounds i8, ptr %26, i64 8
%56 = load ptr, ptr %55, align 8, !tbaa !26
%57 = load ptr, ptr %56, align 8, !tbaa !28
%58 = getelementptr inbounds i8, ptr %57, i64 8
%59 = load i32, ptr %58, align 4, !tbaa !37
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %67
61: ; preds = %54
%62 = call i32 @view_save_buffer(ptr noundef nonnull %57) #3
%63 = load ptr, ptr %55, align 8, !tbaa !26
%64 = load ptr, ptr %63, align 8, !tbaa !28
%65 = getelementptr inbounds i8, ptr %64, i64 4
%66 = call i32 @memcpy(ptr noundef nonnull %65, ptr noundef %64, i32 noundef 4) #3
br label %67
67: ; preds = %61, %54, %51
store ptr %24, ptr %26, align 8, !tbaa !38
%68 = add nuw nsw i64 %19, 1
%69 = load ptr, ptr %4, align 8, !tbaa !10
%70 = load i32, ptr %69, align 8, !tbaa !15
%71 = sext i32 %70 to i64
%72 = icmp slt i64 %68, %71
br i1 %72, label %18, label %11, !llvm.loop !39
73: ; preds = %13
%74 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !6
%75 = getelementptr inbounds i8, ptr %0, i64 16
%76 = call i32 @clock_gettime(i32 noundef %74, ptr noundef nonnull %75) #3
br label %77
77: ; preds = %73, %13
%78 = load i64, ptr getelementptr inbounds (i8, ptr @debug, i64 8), align 8, !tbaa !41
%79 = icmp eq i64 %78, 0
br i1 %79, label %81, label %80
80: ; preds = %77
store i64 0, ptr %0, align 8, !tbaa !17
br label %102
81: ; preds = %77
%82 = load i64, ptr @debug, align 8, !tbaa !42
%83 = icmp eq i64 %82, 0
%84 = load i64, ptr %0, align 8, !tbaa !17
br i1 %83, label %87, label %85
85: ; preds = %81
%86 = add nsw i64 %84, 1000000
store i64 %86, ptr %0, align 8, !tbaa !17
br label %87
87: ; preds = %81, %85
%88 = phi i64 [ %86, %85 ], [ %84, %81 ]
%89 = icmp eq i64 %88, 0
br i1 %89, label %102, label %90
90: ; preds = %87
%91 = load i32, ptr getelementptr inbounds (i8, ptr @server, i64 4), align 4, !tbaa !43
%92 = load i32, ptr @handle_timeout, align 4, !tbaa !6
%93 = call i64 @wl_event_loop_add_timer(i32 noundef %91, i32 noundef %92, ptr noundef nonnull %0) #3
%94 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %93, ptr %94, align 8, !tbaa !45
%95 = icmp eq i64 %93, 0
br i1 %95, label %99, label %96
96: ; preds = %90
%97 = load i32, ptr @server, align 4, !tbaa !46
%98 = call i32 @wl_event_source_timer_update(i64 noundef %93, i32 noundef %97) #3
br label %102
99: ; preds = %90
%100 = load i32, ptr @SWAY_ERROR, align 4, !tbaa !6
%101 = call i32 @sway_log_errno(i32 noundef %100, ptr noundef nonnull @.str.1) #3
store i64 0, ptr %0, align 8, !tbaa !17
br label %102
102: ; preds = %80, %96, %99, %87
ret void
}
declare i32 @sway_log(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i64 @should_configure(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @view_configure(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wlr_surface_send_frame_done(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
declare i64 @node_is_view(ptr noundef) local_unnamed_addr #1
declare i32 @view_save_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @wl_event_loop_add_timer(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wl_event_source_timer_update(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sway_log_errno(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 32}
!11 = !{!"sway_transaction", !12, i64 0, !12, i64 8, !13, i64 16, !12, i64 24, !14, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"timespec", !7, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_8__", !7, i64 0, !14, i64 8}
!17 = !{!11, !12, i64 0}
!18 = !{!11, !12, i64 24}
!19 = !{!20, !12, i64 16}
!20 = !{!"TYPE_13__", !12, i64 0, !12, i64 8, !12, i64 16}
!21 = !{!16, !14, i64 8}
!22 = !{!14, !14, i64 0}
!23 = !{!24, !14, i64 24}
!24 = !{!"sway_transaction_instruction", !25, i64 0, !7, i64 16, !14, i64 24}
!25 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!26 = !{!27, !14, i64 8}
!27 = !{!"sway_node", !14, i64 0, !14, i64 8}
!28 = !{!29, !14, i64 0}
!29 = !{!"TYPE_10__", !14, i64 0}
!30 = !{!24, !7, i64 12}
!31 = !{!24, !7, i64 8}
!32 = !{!24, !7, i64 4}
!33 = !{!24, !7, i64 0}
!34 = !{!24, !7, i64 16}
!35 = !{!36, !7, i64 12}
!36 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!37 = !{!36, !7, i64 8}
!38 = !{!27, !14, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!20, !12, i64 8}
!42 = !{!20, !12, i64 0}
!43 = !{!44, !7, i64 4}
!44 = !{!"TYPE_12__", !7, i64 0, !7, i64 4}
!45 = !{!11, !12, i64 8}
!46 = !{!44, !7, i64 0}
| sway_sway_desktop_extr_transaction.c_transaction_commit |
; ModuleID = 'AnghaBench/vlc/src/playlist/extr_item.c_vlc_playlist_item_Hold.c'
source_filename = "AnghaBench/vlc/src/playlist/extr_item.c_vlc_playlist_item_Hold.c"
target datalayout = "e-m:e-p270:32:32-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 @vlc_playlist_item_Hold(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @vlc_atomic_rc_inc(ptr noundef %0) #2
ret void
}
declare i32 @vlc_atomic_rc_inc(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/vlc/src/playlist/extr_item.c_vlc_playlist_item_Hold.c'
source_filename = "AnghaBench/vlc/src/playlist/extr_item.c_vlc_playlist_item_Hold.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 @vlc_playlist_item_Hold(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @vlc_atomic_rc_inc(ptr noundef %0) #2
ret void
}
declare i32 @vlc_atomic_rc_inc(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)"}
| vlc_src_playlist_extr_item.c_vlc_playlist_item_Hold |
; ModuleID = 'AnghaBench/Quake-III-Arena/q3map/extr_brush.c_WriteBspBrushMap.c'
source_filename = "AnghaBench/Quake-III-Arena/q3map/extr_brush.c_WriteBspBrushMap.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, ptr }
%struct.TYPE_11__ = type { i32, i32 }
%struct.TYPE_9__ = type { i64 }
@.str = private unnamed_addr constant [12 x i8] c"writing %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Can't write %s\08\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"{\0A\22classname\22 \22worldspawn\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"{\0A\00", align 1
@mapplanes = dso_local local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [14 x i8] c"( %i %i %i ) \00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"notexture 0 0 0 1 1\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @WriteBspBrushMap(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @_printf(ptr noundef nonnull @.str, ptr noundef %0) #4
%4 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.1)
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @Error(ptr noundef nonnull @.str.2, ptr noundef %0) #4
br label %8
8: ; preds = %6, %2
%9 = tail call i64 @fwrite(ptr nonnull @.str.3, i64 27, i64 1, ptr %4)
%10 = icmp eq ptr %1, null
br i1 %10, label %75, label %11
11: ; preds = %8, %70
%12 = phi ptr [ %73, %70 ], [ %1, %8 ]
%13 = tail call i64 @fwrite(ptr nonnull @.str.4, i64 2, i64 1, ptr %4)
%14 = load i32, ptr %12, align 8, !tbaa !5
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %70
16: ; preds = %11
%17 = getelementptr inbounds %struct.TYPE_10__, ptr %12, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !11
br label %19
19: ; preds = %16, %19
%20 = phi i32 [ %66, %19 ], [ 0, %16 ]
%21 = phi ptr [ %67, %19 ], [ %18, %16 ]
%22 = load ptr, ptr @mapplanes, align 8, !tbaa !12
%23 = load i64, ptr %21, align 8, !tbaa !13
%24 = getelementptr inbounds %struct.TYPE_11__, ptr %22, i64 %23
%25 = getelementptr inbounds %struct.TYPE_11__, ptr %22, i64 %23, i32 1
%26 = load i32, ptr %25, align 4, !tbaa !16
%27 = load i32, ptr %24, align 4, !tbaa !18
%28 = tail call ptr @BaseWindingForPlane(i32 noundef %26, i32 noundef %27) #4
%29 = load ptr, ptr %28, align 8, !tbaa !19
%30 = load ptr, ptr %29, align 8, !tbaa !12
%31 = load i64, ptr %30, align 8, !tbaa !21
%32 = trunc i64 %31 to i32
%33 = getelementptr inbounds i64, ptr %30, i64 1
%34 = load i64, ptr %33, align 8, !tbaa !21
%35 = trunc i64 %34 to i32
%36 = getelementptr inbounds i64, ptr %30, i64 2
%37 = load i64, ptr %36, align 8, !tbaa !21
%38 = trunc i64 %37 to i32
%39 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.5, i32 noundef %32, i32 noundef %35, i32 noundef %38)
%40 = load ptr, ptr %28, align 8, !tbaa !19
%41 = getelementptr inbounds ptr, ptr %40, i64 1
%42 = load ptr, ptr %41, align 8, !tbaa !12
%43 = load i64, ptr %42, align 8, !tbaa !21
%44 = trunc i64 %43 to i32
%45 = getelementptr inbounds i64, ptr %42, i64 1
%46 = load i64, ptr %45, align 8, !tbaa !21
%47 = trunc i64 %46 to i32
%48 = getelementptr inbounds i64, ptr %42, i64 2
%49 = load i64, ptr %48, align 8, !tbaa !21
%50 = trunc i64 %49 to i32
%51 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.5, i32 noundef %44, i32 noundef %47, i32 noundef %50)
%52 = load ptr, ptr %28, align 8, !tbaa !19
%53 = getelementptr inbounds ptr, ptr %52, i64 2
%54 = load ptr, ptr %53, align 8, !tbaa !12
%55 = load i64, ptr %54, align 8, !tbaa !21
%56 = trunc i64 %55 to i32
%57 = getelementptr inbounds i64, ptr %54, i64 1
%58 = load i64, ptr %57, align 8, !tbaa !21
%59 = trunc i64 %58 to i32
%60 = getelementptr inbounds i64, ptr %54, i64 2
%61 = load i64, ptr %60, align 8, !tbaa !21
%62 = trunc i64 %61 to i32
%63 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.5, i32 noundef %56, i32 noundef %59, i32 noundef %62)
%64 = tail call i64 @fwrite(ptr nonnull @.str.6, i64 20, i64 1, ptr %4)
%65 = tail call i32 @FreeWinding(ptr noundef nonnull %28) #4
%66 = add nuw nsw i32 %20, 1
%67 = getelementptr inbounds %struct.TYPE_9__, ptr %21, i64 1
%68 = load i32, ptr %12, align 8, !tbaa !5
%69 = icmp slt i32 %66, %68
br i1 %69, label %19, label %70, !llvm.loop !22
70: ; preds = %19, %11
%71 = tail call i64 @fwrite(ptr nonnull @.str.7, i64 2, i64 1, ptr %4)
%72 = getelementptr inbounds %struct.TYPE_10__, ptr %12, i64 0, i32 2
%73 = load ptr, ptr %72, align 8, !tbaa !24
%74 = icmp eq ptr %73, null
br i1 %74, label %75, label %11, !llvm.loop !25
75: ; preds = %70, %8
%76 = tail call i64 @fwrite(ptr nonnull @.str.7, i64 2, i64 1, ptr %4)
%77 = tail call i32 @fclose(ptr noundef %4)
ret void
}
declare i32 @_printf(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @Error(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare ptr @BaseWindingForPlane(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FreeWinding(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_10__", !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 8}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_9__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !7, i64 4}
!17 = !{!"TYPE_11__", !7, i64 0, !7, i64 4}
!18 = !{!17, !7, i64 0}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_8__", !10, i64 0}
!21 = !{!15, !15, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!6, !10, i64 16}
!25 = distinct !{!25, !23}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/q3map/extr_brush.c_WriteBspBrushMap.c'
source_filename = "AnghaBench/Quake-III-Arena/q3map/extr_brush.c_WriteBspBrushMap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { i32, i32 }
@.str = private unnamed_addr constant [12 x i8] c"writing %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Can't write %s\08\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"{\0A\22classname\22 \22worldspawn\22\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"{\0A\00", align 1
@mapplanes = common local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [14 x i8] c"( %i %i %i ) \00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"notexture 0 0 0 1 1\0A\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @WriteBspBrushMap(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @_printf(ptr noundef nonnull @.str, ptr noundef %0) #4
%4 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.1)
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @Error(ptr noundef nonnull @.str.2, ptr noundef %0) #4
br label %8
8: ; preds = %6, %2
%9 = tail call i64 @fwrite(ptr nonnull @.str.3, i64 27, i64 1, ptr %4)
%10 = icmp eq ptr %1, null
br i1 %10, label %75, label %11
11: ; preds = %8, %70
%12 = phi ptr [ %73, %70 ], [ %1, %8 ]
%13 = tail call i64 @fwrite(ptr nonnull @.str.4, i64 2, i64 1, ptr %4)
%14 = load i32, ptr %12, align 8, !tbaa !6
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %70
16: ; preds = %11
%17 = getelementptr inbounds i8, ptr %12, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !12
br label %19
19: ; preds = %16, %19
%20 = phi i32 [ %66, %19 ], [ 0, %16 ]
%21 = phi ptr [ %67, %19 ], [ %18, %16 ]
%22 = load ptr, ptr @mapplanes, align 8, !tbaa !13
%23 = load i64, ptr %21, align 8, !tbaa !14
%24 = getelementptr inbounds %struct.TYPE_11__, ptr %22, i64 %23
%25 = getelementptr inbounds i8, ptr %24, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !17
%27 = load i32, ptr %24, align 4, !tbaa !19
%28 = tail call ptr @BaseWindingForPlane(i32 noundef %26, i32 noundef %27) #4
%29 = load ptr, ptr %28, align 8, !tbaa !20
%30 = load ptr, ptr %29, align 8, !tbaa !13
%31 = load i64, ptr %30, align 8, !tbaa !22
%32 = trunc i64 %31 to i32
%33 = getelementptr inbounds i8, ptr %30, i64 8
%34 = load i64, ptr %33, align 8, !tbaa !22
%35 = trunc i64 %34 to i32
%36 = getelementptr inbounds i8, ptr %30, i64 16
%37 = load i64, ptr %36, align 8, !tbaa !22
%38 = trunc i64 %37 to i32
%39 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.5, i32 noundef %32, i32 noundef %35, i32 noundef %38)
%40 = load ptr, ptr %28, align 8, !tbaa !20
%41 = getelementptr inbounds i8, ptr %40, i64 8
%42 = load ptr, ptr %41, align 8, !tbaa !13
%43 = load i64, ptr %42, align 8, !tbaa !22
%44 = trunc i64 %43 to i32
%45 = getelementptr inbounds i8, ptr %42, i64 8
%46 = load i64, ptr %45, align 8, !tbaa !22
%47 = trunc i64 %46 to i32
%48 = getelementptr inbounds i8, ptr %42, i64 16
%49 = load i64, ptr %48, align 8, !tbaa !22
%50 = trunc i64 %49 to i32
%51 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.5, i32 noundef %44, i32 noundef %47, i32 noundef %50)
%52 = load ptr, ptr %28, align 8, !tbaa !20
%53 = getelementptr inbounds i8, ptr %52, i64 16
%54 = load ptr, ptr %53, align 8, !tbaa !13
%55 = load i64, ptr %54, align 8, !tbaa !22
%56 = trunc i64 %55 to i32
%57 = getelementptr inbounds i8, ptr %54, i64 8
%58 = load i64, ptr %57, align 8, !tbaa !22
%59 = trunc i64 %58 to i32
%60 = getelementptr inbounds i8, ptr %54, i64 16
%61 = load i64, ptr %60, align 8, !tbaa !22
%62 = trunc i64 %61 to i32
%63 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.5, i32 noundef %56, i32 noundef %59, i32 noundef %62)
%64 = tail call i64 @fwrite(ptr nonnull @.str.6, i64 20, i64 1, ptr %4)
%65 = tail call i32 @FreeWinding(ptr noundef nonnull %28) #4
%66 = add nuw nsw i32 %20, 1
%67 = getelementptr inbounds i8, ptr %21, i64 8
%68 = load i32, ptr %12, align 8, !tbaa !6
%69 = icmp slt i32 %66, %68
br i1 %69, label %19, label %70, !llvm.loop !23
70: ; preds = %19, %11
%71 = tail call i64 @fwrite(ptr nonnull @.str.7, i64 2, i64 1, ptr %4)
%72 = getelementptr inbounds i8, ptr %12, i64 16
%73 = load ptr, ptr %72, align 8, !tbaa !25
%74 = icmp eq ptr %73, null
br i1 %74, label %75, label %11, !llvm.loop !26
75: ; preds = %70, %8
%76 = tail call i64 @fwrite(ptr nonnull @.str.7, i64 2, i64 1, ptr %4)
%77 = tail call i32 @fclose(ptr noundef %4)
ret void
}
declare i32 @_printf(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @Error(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare ptr @BaseWindingForPlane(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FreeWinding(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_10__", !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 8}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_9__", !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!18, !8, i64 4}
!18 = !{!"TYPE_11__", !8, i64 0, !8, i64 4}
!19 = !{!18, !8, i64 0}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_8__", !11, i64 0}
!22 = !{!16, !16, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!7, !11, i64 16}
!26 = distinct !{!26, !24}
| Quake-III-Arena_q3map_extr_brush.c_WriteBspBrushMap |
; ModuleID = 'AnghaBench/linux/fs/afs/extr_internal.h_afs_proc_cell_remove.c'
source_filename = "AnghaBench/linux/fs/afs/extr_internal.h_afs_proc_cell_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @afs_proc_cell_remove], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @afs_proc_cell_remove(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/fs/afs/extr_internal.h_afs_proc_cell_remove.c'
source_filename = "AnghaBench/linux/fs/afs/extr_internal.h_afs_proc_cell_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @afs_proc_cell_remove], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @afs_proc_cell_remove(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_fs_afs_extr_internal.h_afs_proc_cell_remove |
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_packet.c_ssh_packet_set_rekey_limits.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_packet.c_ssh_packet_set_rekey_limits.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i64 }
@.str = private unnamed_addr constant [35 x i8] c"rekey after %llu bytes, %u seconds\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @ssh_packet_set_rekey_limits(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = trunc i64 %2 to i32
%5 = tail call i32 @debug3(ptr noundef nonnull @.str, i64 noundef %1, i32 noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
store i64 %1, ptr %7, align 8, !tbaa !10
store i64 %2, ptr %6, align 8, !tbaa !13
ret void
}
declare i32 @debug3(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ssh", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_packet.c_ssh_packet_set_rekey_limits.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/extr_packet.c_ssh_packet_set_rekey_limits.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 [35 x i8] c"rekey after %llu bytes, %u seconds\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @ssh_packet_set_rekey_limits(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = trunc i64 %2 to i32
%5 = tail call i32 @debug3(ptr noundef nonnull @.str, i64 noundef %1, i32 noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 8
store i64 %1, ptr %7, align 8, !tbaa !11
store i64 %2, ptr %6, align 8, !tbaa !14
ret void
}
declare i32 @debug3(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ssh", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !13, i64 0}
| freebsd_crypto_openssh_extr_packet.c_ssh_packet_set_rekey_limits |
; ModuleID = 'AnghaBench/freebsd/sbin/decryptcore/extr_decryptcore.c_main.c'
source_filename = "AnghaBench/freebsd/sbin/decryptcore/extr_decryptcore.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"
@PATH_MAX = dso_local local_unnamed_addr global i32 0, align 4
@PJDLOG_MODE_STD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"(decryptcore) \00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Lc:d:e:fk:n:p:v\00", align 1
@optarg = dso_local local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [28 x i8] c"Core file path is too long.\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Encrypted core file path is too long.\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Key file path is too long.\00", align 1
@optind = dso_local local_unnamed_addr global i64 0, align 8
@DECRYPTCORE_CRASHDIR = dso_local local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [10 x i8] c"%s/key.%s\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"%s/vmcore.%s\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"%s/vmcore_encrypted.%s\00", align 1
@PJDLOG_MODE_SYSLOG = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i64 0, align 8
@ENOENT = dso_local local_unnamed_addr global i64 0, align 8
@LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [26 x i8] c"Unable to remove old core\00", align 1
@O_WRONLY = dso_local local_unnamed_addr global i32 0, align 4
@O_CREAT = dso_local local_unnamed_addr global i32 0, align 4
@O_EXCL = dso_local local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [18 x i8] c"Unable to open %s\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"Unable to remove core\00", align 1
; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @PATH_MAX, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 16
%6 = alloca i8, i64 %4, align 16
%7 = alloca i8, i64 %4, align 16
%8 = load i32, ptr @PJDLOG_MODE_STD, align 4, !tbaa !5
%9 = tail call i32 @pjdlog_init(i32 noundef %8) #4
%10 = tail call i32 @pjdlog_prefix_set(ptr noundef nonnull @.str) #4
store i8 0, ptr %5, align 16, !tbaa !9
store i8 0, ptr %6, align 16, !tbaa !9
store i8 0, ptr %7, align 16, !tbaa !9
br label %11
11: ; preds = %19, %2
%12 = phi ptr [ null, %2 ], [ %20, %19 ]
%13 = phi ptr [ null, %2 ], [ %21, %19 ]
%14 = phi ptr [ null, %2 ], [ %22, %19 ]
%15 = phi i32 [ 0, %2 ], [ %23, %19 ]
%16 = phi i32 [ 0, %2 ], [ %24, %19 ]
%17 = phi i32 [ 0, %2 ], [ %25, %19 ]
%18 = call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1) #4
switch i32 %18, label %56 [
i32 -1, label %58
i32 76, label %19
i32 99, label %26
i32 100, label %33
i32 101, label %35
i32 102, label %42
i32 107, label %43
i32 110, label %50
i32 112, label %52
i32 118, label %54
]
19: ; preds = %11, %43, %48, %35, %40, %26, %31, %56, %54, %52, %50, %42, %33
%20 = phi ptr [ %12, %56 ], [ %12, %54 ], [ %12, %52 ], [ %12, %50 ], [ %12, %48 ], [ %12, %43 ], [ %12, %42 ], [ %12, %40 ], [ %12, %35 ], [ %34, %33 ], [ %12, %31 ], [ %12, %26 ], [ %12, %11 ]
%21 = phi ptr [ %13, %56 ], [ %13, %54 ], [ %13, %52 ], [ %51, %50 ], [ %13, %48 ], [ %13, %43 ], [ %13, %42 ], [ %13, %40 ], [ %13, %35 ], [ %13, %33 ], [ %13, %31 ], [ %13, %26 ], [ %13, %11 ]
%22 = phi ptr [ %14, %56 ], [ %14, %54 ], [ %53, %52 ], [ %14, %50 ], [ %14, %48 ], [ %14, %43 ], [ %14, %42 ], [ %14, %40 ], [ %14, %35 ], [ %14, %33 ], [ %14, %31 ], [ %14, %26 ], [ %14, %11 ]
%23 = phi i32 [ %15, %56 ], [ %55, %54 ], [ %15, %52 ], [ %15, %50 ], [ %15, %48 ], [ %15, %43 ], [ %15, %42 ], [ %15, %40 ], [ %15, %35 ], [ %15, %33 ], [ %15, %31 ], [ %15, %26 ], [ %15, %11 ]
%24 = phi i32 [ %16, %56 ], [ %16, %54 ], [ %16, %52 ], [ %16, %50 ], [ %16, %48 ], [ %16, %43 ], [ 1, %42 ], [ %16, %40 ], [ %16, %35 ], [ %16, %33 ], [ %16, %31 ], [ %16, %26 ], [ %16, %11 ]
%25 = phi i32 [ %17, %56 ], [ %17, %54 ], [ %17, %52 ], [ %17, %50 ], [ %17, %48 ], [ %17, %43 ], [ %17, %42 ], [ %17, %40 ], [ %17, %35 ], [ %17, %33 ], [ %17, %31 ], [ %17, %26 ], [ 1, %11 ]
br label %11, !llvm.loop !10
26: ; preds = %11
%27 = load ptr, ptr @optarg, align 8, !tbaa !12
%28 = call i32 @strlcpy(ptr noundef nonnull %5, ptr noundef %27, i32 noundef %3) #4
%29 = sext i32 %28 to i64
%30 = icmp ult i64 %29, %4
br i1 %30, label %19, label %31
31: ; preds = %26
%32 = call i32 @pjdlog_exitx(i32 noundef 1, ptr noundef nonnull @.str.2) #4
br label %19
33: ; preds = %11
%34 = load ptr, ptr @optarg, align 8, !tbaa !12
br label %19
35: ; preds = %11
%36 = load ptr, ptr @optarg, align 8, !tbaa !12
%37 = call i32 @strlcpy(ptr noundef nonnull %6, ptr noundef %36, i32 noundef %3) #4
%38 = sext i32 %37 to i64
%39 = icmp ult i64 %38, %4
br i1 %39, label %19, label %40
40: ; preds = %35
%41 = call i32 @pjdlog_exitx(i32 noundef 1, ptr noundef nonnull @.str.3) #4
br label %19
42: ; preds = %11
br label %19
43: ; preds = %11
%44 = load ptr, ptr @optarg, align 8, !tbaa !12
%45 = call i32 @strlcpy(ptr noundef nonnull %7, ptr noundef %44, i32 noundef %3) #4
%46 = sext i32 %45 to i64
%47 = icmp ult i64 %46, %4
br i1 %47, label %19, label %48
48: ; preds = %43
%49 = call i32 @pjdlog_exitx(i32 noundef 1, ptr noundef nonnull @.str.4) #4
br label %19
50: ; preds = %11
%51 = load ptr, ptr @optarg, align 8, !tbaa !12
br label %19
52: ; preds = %11
%53 = load ptr, ptr @optarg, align 8, !tbaa !12
br label %19
54: ; preds = %11
%55 = add nsw i32 %15, 1
br label %19
56: ; preds = %11
%57 = call i32 (...) @usage() #4
br label %19
58: ; preds = %11
%59 = load i64, ptr @optind, align 8, !tbaa !14
%60 = trunc i64 %59 to i32
%61 = icmp eq i32 %60, %0
br i1 %61, label %64, label %62
62: ; preds = %58
%63 = call i32 (...) @usage() #4
br label %64
64: ; preds = %62, %58
%65 = icmp ne ptr %12, null
%66 = icmp ne ptr %13, null
%67 = select i1 %65, i1 true, i1 %66
br i1 %67, label %68, label %114
68: ; preds = %64
%69 = load i8, ptr %7, align 16, !tbaa !9
%70 = icmp eq i8 %69, 0
br i1 %70, label %71, label %77
71: ; preds = %68
%72 = load i8, ptr %6, align 16, !tbaa !9
%73 = icmp eq i8 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = load i8, ptr %5, align 16, !tbaa !9
%76 = icmp eq i8 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %74, %71, %68
%78 = call i32 (...) @usage() #4
br label %79
79: ; preds = %77, %74
br i1 %66, label %80, label %114
80: ; preds = %79
%81 = load i32, ptr @PATH_MAX, align 4, !tbaa !5
%82 = call i64 @strnlen(ptr noundef nonnull %13, i32 noundef %81) #4
%83 = icmp eq i64 %82, 0
br i1 %83, label %98, label %84
84: ; preds = %80, %93
%85 = phi i64 [ %94, %93 ], [ 0, %80 ]
%86 = getelementptr inbounds i8, ptr %13, i64 %85
%87 = load i8, ptr %86, align 1, !tbaa !9
%88 = sext i8 %87 to i32
%89 = call i64 @isdigit(i32 noundef %88) #4
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %84
%92 = call i32 (...) @usage() #4
br label %93
93: ; preds = %84, %91
%94 = add nuw i64 %85, 1
%95 = load i32, ptr @PATH_MAX, align 4, !tbaa !5
%96 = call i64 @strnlen(ptr noundef nonnull %13, i32 noundef %95) #4
%97 = icmp ult i64 %94, %96
br i1 %97, label %84, label %98, !llvm.loop !16
98: ; preds = %93, %80
%99 = icmp eq ptr %12, null
%100 = load ptr, ptr @DECRYPTCORE_CRASHDIR, align 8
%101 = select i1 %99, ptr %100, ptr %12
%102 = call i64 @snprintf(ptr noundef nonnull %7, i32 noundef %3, ptr noundef nonnull @.str.5, ptr noundef %101, ptr noundef nonnull %13) #4
%103 = icmp sgt i64 %102, 0
%104 = zext i1 %103 to i32
%105 = call i32 @PJDLOG_VERIFY(i32 noundef %104) #4
%106 = call i64 @snprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef nonnull @.str.6, ptr noundef %101, ptr noundef nonnull %13) #4
%107 = icmp sgt i64 %106, 0
%108 = zext i1 %107 to i32
%109 = call i32 @PJDLOG_VERIFY(i32 noundef %108) #4
%110 = call i64 @snprintf(ptr noundef nonnull %6, i32 noundef %3, ptr noundef nonnull @.str.7, ptr noundef %101, ptr noundef nonnull %13) #4
%111 = icmp sgt i64 %110, 0
%112 = zext i1 %111 to i32
%113 = call i32 @PJDLOG_VERIFY(i32 noundef %112) #4
br label %114
114: ; preds = %64, %98, %79
%115 = icmp eq ptr %14, null
br i1 %115, label %125, label %116
116: ; preds = %114
%117 = load i8, ptr %7, align 16, !tbaa !9
%118 = icmp eq i8 %117, 0
br i1 %118, label %125, label %119
119: ; preds = %116
%120 = load i8, ptr %6, align 16, !tbaa !9
%121 = icmp eq i8 %120, 0
br i1 %121, label %125, label %122
122: ; preds = %119
%123 = load i8, ptr %5, align 16, !tbaa !9
%124 = icmp eq i8 %123, 0
br i1 %124, label %125, label %127
125: ; preds = %122, %119, %116, %114
%126 = call i32 (...) @usage() #4
br label %127
127: ; preds = %125, %122
%128 = icmp eq i32 %17, 0
br i1 %128, label %132, label %129
129: ; preds = %127
%130 = load i32, ptr @PJDLOG_MODE_SYSLOG, align 4, !tbaa !5
%131 = call i32 @pjdlog_mode_set(i32 noundef %130) #4
br label %132
132: ; preds = %129, %127
%133 = call i32 @pjdlog_debug_set(i32 noundef %15) #4
%134 = icmp eq i32 %16, 0
br i1 %134, label %145, label %135
135: ; preds = %132
%136 = call i32 @unlink(ptr noundef nonnull %5)
%137 = icmp eq i32 %136, -1
br i1 %137, label %138, label %145
138: ; preds = %135
%139 = load i64, ptr @errno, align 8, !tbaa !14
%140 = load i64, ptr @ENOENT, align 8, !tbaa !14
%141 = icmp eq i64 %139, %140
br i1 %141, label %145, label %142
142: ; preds = %138
%143 = load i32, ptr @LOG_ERR, align 4, !tbaa !5
%144 = call i32 (i32, ptr, ...) @pjdlog_errno(i32 noundef %143, ptr noundef nonnull @.str.8) #4
br label %169
145: ; preds = %138, %135, %132
%146 = load i32, ptr @O_WRONLY, align 4, !tbaa !5
%147 = load i32, ptr @O_CREAT, align 4, !tbaa !5
%148 = or i32 %147, %146
%149 = load i32, ptr @O_EXCL, align 4, !tbaa !5
%150 = or i32 %148, %149
%151 = call i32 @open(ptr noundef nonnull %5, i32 noundef %150, i32 noundef 384) #4
%152 = icmp eq i32 %151, -1
br i1 %152, label %153, label %156
153: ; preds = %145
%154 = load i32, ptr @LOG_ERR, align 4, !tbaa !5
%155 = call i32 (i32, ptr, ...) @pjdlog_errno(i32 noundef %154, ptr noundef nonnull @.str.9, ptr noundef nonnull %5) #4
br label %169
156: ; preds = %145
%157 = call i32 @decrypt(i32 noundef %151, ptr noundef %14, ptr noundef nonnull %7, ptr noundef nonnull %6) #4
%158 = icmp eq i32 %157, 0
br i1 %158, label %159, label %169
159: ; preds = %156
%160 = call i32 @unlink(ptr noundef nonnull %5)
%161 = icmp eq i32 %160, -1
br i1 %161, label %162, label %169
162: ; preds = %159
%163 = load i64, ptr @errno, align 8, !tbaa !14
%164 = load i64, ptr @ENOENT, align 8, !tbaa !14
%165 = icmp eq i64 %163, %164
br i1 %165, label %169, label %166
166: ; preds = %162
%167 = load i32, ptr @LOG_ERR, align 4, !tbaa !5
%168 = call i32 (i32, ptr, ...) @pjdlog_errno(i32 noundef %167, ptr noundef nonnull @.str.10) #4
br label %169
169: ; preds = %156, %159, %162, %166, %153, %142
%170 = phi i32 [ 1, %142 ], [ 1, %153 ], [ 1, %166 ], [ 1, %162 ], [ 1, %159 ], [ 0, %156 ]
%171 = call i32 (...) @pjdlog_fini() #4
%172 = call i32 @exit(i32 noundef %170) #5
unreachable
}
declare i32 @pjdlog_init(i32 noundef) local_unnamed_addr #1
declare i32 @pjdlog_prefix_set(ptr noundef) local_unnamed_addr #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pjdlog_exitx(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usage(...) local_unnamed_addr #1
declare i64 @strnlen(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @isdigit(i32 noundef) local_unnamed_addr #1
declare i32 @PJDLOG_VERIFY(i32 noundef) local_unnamed_addr #1
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pjdlog_mode_set(i32 noundef) local_unnamed_addr #1
declare i32 @pjdlog_debug_set(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @pjdlog_errno(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @decrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pjdlog_fini(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
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 = { 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 = { noreturn "no-trapping-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 }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !11}
| ; ModuleID = 'AnghaBench/freebsd/sbin/decryptcore/extr_decryptcore.c_main.c'
source_filename = "AnghaBench/freebsd/sbin/decryptcore/extr_decryptcore.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PATH_MAX = common local_unnamed_addr global i32 0, align 4
@PJDLOG_MODE_STD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"(decryptcore) \00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Lc:d:e:fk:n:p:v\00", align 1
@optarg = common local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [28 x i8] c"Core file path is too long.\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Encrypted core file path is too long.\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Key file path is too long.\00", align 1
@optind = common local_unnamed_addr global i64 0, align 8
@DECRYPTCORE_CRASHDIR = common local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [10 x i8] c"%s/key.%s\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"%s/vmcore.%s\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"%s/vmcore_encrypted.%s\00", align 1
@PJDLOG_MODE_SYSLOG = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i64 0, align 8
@ENOENT = common local_unnamed_addr global i64 0, align 8
@LOG_ERR = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [26 x i8] c"Unable to remove old core\00", align 1
@O_WRONLY = common local_unnamed_addr global i32 0, align 4
@O_CREAT = common local_unnamed_addr global i32 0, align 4
@O_EXCL = common local_unnamed_addr global i32 0, align 4
@.str.9 = private unnamed_addr constant [18 x i8] c"Unable to open %s\00", align 1
@.str.10 = private unnamed_addr constant [22 x i8] c"Unable to remove core\00", align 1
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @PATH_MAX, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 1
%6 = alloca i8, i64 %4, align 1
%7 = alloca i8, i64 %4, align 1
%8 = load i32, ptr @PJDLOG_MODE_STD, align 4, !tbaa !6
%9 = tail call i32 @pjdlog_init(i32 noundef %8) #4
%10 = tail call i32 @pjdlog_prefix_set(ptr noundef nonnull @.str) #4
store i8 0, ptr %5, align 1, !tbaa !10
store i8 0, ptr %6, align 1, !tbaa !10
store i8 0, ptr %7, align 1, !tbaa !10
br label %11
11: ; preds = %19, %2
%12 = phi ptr [ null, %2 ], [ %20, %19 ]
%13 = phi ptr [ null, %2 ], [ %21, %19 ]
%14 = phi ptr [ null, %2 ], [ %22, %19 ]
%15 = phi i32 [ 0, %2 ], [ %23, %19 ]
%16 = phi i32 [ 0, %2 ], [ %24, %19 ]
%17 = phi i32 [ 0, %2 ], [ %25, %19 ]
%18 = call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1) #4
switch i32 %18, label %56 [
i32 -1, label %58
i32 76, label %19
i32 99, label %26
i32 100, label %33
i32 101, label %35
i32 102, label %42
i32 107, label %43
i32 110, label %50
i32 112, label %52
i32 118, label %54
]
19: ; preds = %11, %43, %48, %35, %40, %26, %31, %56, %54, %52, %50, %42, %33
%20 = phi ptr [ %12, %56 ], [ %12, %54 ], [ %12, %52 ], [ %12, %50 ], [ %12, %48 ], [ %12, %43 ], [ %12, %42 ], [ %12, %40 ], [ %12, %35 ], [ %34, %33 ], [ %12, %31 ], [ %12, %26 ], [ %12, %11 ]
%21 = phi ptr [ %13, %56 ], [ %13, %54 ], [ %13, %52 ], [ %51, %50 ], [ %13, %48 ], [ %13, %43 ], [ %13, %42 ], [ %13, %40 ], [ %13, %35 ], [ %13, %33 ], [ %13, %31 ], [ %13, %26 ], [ %13, %11 ]
%22 = phi ptr [ %14, %56 ], [ %14, %54 ], [ %53, %52 ], [ %14, %50 ], [ %14, %48 ], [ %14, %43 ], [ %14, %42 ], [ %14, %40 ], [ %14, %35 ], [ %14, %33 ], [ %14, %31 ], [ %14, %26 ], [ %14, %11 ]
%23 = phi i32 [ %15, %56 ], [ %55, %54 ], [ %15, %52 ], [ %15, %50 ], [ %15, %48 ], [ %15, %43 ], [ %15, %42 ], [ %15, %40 ], [ %15, %35 ], [ %15, %33 ], [ %15, %31 ], [ %15, %26 ], [ %15, %11 ]
%24 = phi i32 [ %16, %56 ], [ %16, %54 ], [ %16, %52 ], [ %16, %50 ], [ %16, %48 ], [ %16, %43 ], [ 1, %42 ], [ %16, %40 ], [ %16, %35 ], [ %16, %33 ], [ %16, %31 ], [ %16, %26 ], [ %16, %11 ]
%25 = phi i32 [ %17, %56 ], [ %17, %54 ], [ %17, %52 ], [ %17, %50 ], [ %17, %48 ], [ %17, %43 ], [ %17, %42 ], [ %17, %40 ], [ %17, %35 ], [ %17, %33 ], [ %17, %31 ], [ %17, %26 ], [ 1, %11 ]
br label %11, !llvm.loop !11
26: ; preds = %11
%27 = load ptr, ptr @optarg, align 8, !tbaa !13
%28 = call i32 @strlcpy(ptr noundef nonnull %5, ptr noundef %27, i32 noundef %3) #4
%29 = sext i32 %28 to i64
%30 = icmp ult i64 %29, %4
br i1 %30, label %19, label %31
31: ; preds = %26
%32 = call i32 @pjdlog_exitx(i32 noundef 1, ptr noundef nonnull @.str.2) #4
br label %19
33: ; preds = %11
%34 = load ptr, ptr @optarg, align 8, !tbaa !13
br label %19
35: ; preds = %11
%36 = load ptr, ptr @optarg, align 8, !tbaa !13
%37 = call i32 @strlcpy(ptr noundef nonnull %6, ptr noundef %36, i32 noundef %3) #4
%38 = sext i32 %37 to i64
%39 = icmp ult i64 %38, %4
br i1 %39, label %19, label %40
40: ; preds = %35
%41 = call i32 @pjdlog_exitx(i32 noundef 1, ptr noundef nonnull @.str.3) #4
br label %19
42: ; preds = %11
br label %19
43: ; preds = %11
%44 = load ptr, ptr @optarg, align 8, !tbaa !13
%45 = call i32 @strlcpy(ptr noundef nonnull %7, ptr noundef %44, i32 noundef %3) #4
%46 = sext i32 %45 to i64
%47 = icmp ult i64 %46, %4
br i1 %47, label %19, label %48
48: ; preds = %43
%49 = call i32 @pjdlog_exitx(i32 noundef 1, ptr noundef nonnull @.str.4) #4
br label %19
50: ; preds = %11
%51 = load ptr, ptr @optarg, align 8, !tbaa !13
br label %19
52: ; preds = %11
%53 = load ptr, ptr @optarg, align 8, !tbaa !13
br label %19
54: ; preds = %11
%55 = add nsw i32 %15, 1
br label %19
56: ; preds = %11
%57 = call i32 @usage() #4
br label %19
58: ; preds = %11
%59 = load i64, ptr @optind, align 8, !tbaa !15
%60 = trunc i64 %59 to i32
%61 = icmp eq i32 %60, %0
br i1 %61, label %64, label %62
62: ; preds = %58
%63 = call i32 @usage() #4
br label %64
64: ; preds = %62, %58
%65 = icmp ne ptr %12, null
%66 = icmp ne ptr %13, null
%67 = select i1 %65, i1 true, i1 %66
br i1 %67, label %68, label %114
68: ; preds = %64
%69 = load i8, ptr %7, align 1, !tbaa !10
%70 = icmp eq i8 %69, 0
br i1 %70, label %71, label %77
71: ; preds = %68
%72 = load i8, ptr %6, align 1, !tbaa !10
%73 = icmp eq i8 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = load i8, ptr %5, align 1, !tbaa !10
%76 = icmp eq i8 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %74, %71, %68
%78 = call i32 @usage() #4
br label %79
79: ; preds = %77, %74
br i1 %66, label %80, label %114
80: ; preds = %79
%81 = load i32, ptr @PATH_MAX, align 4, !tbaa !6
%82 = call i64 @strnlen(ptr noundef nonnull %13, i32 noundef %81) #4
%83 = icmp eq i64 %82, 0
br i1 %83, label %98, label %84
84: ; preds = %80, %93
%85 = phi i64 [ %94, %93 ], [ 0, %80 ]
%86 = getelementptr inbounds i8, ptr %13, i64 %85
%87 = load i8, ptr %86, align 1, !tbaa !10
%88 = sext i8 %87 to i32
%89 = call i64 @isdigit(i32 noundef %88) #4
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %84
%92 = call i32 @usage() #4
br label %93
93: ; preds = %84, %91
%94 = add nuw i64 %85, 1
%95 = load i32, ptr @PATH_MAX, align 4, !tbaa !6
%96 = call i64 @strnlen(ptr noundef nonnull %13, i32 noundef %95) #4
%97 = icmp ult i64 %94, %96
br i1 %97, label %84, label %98, !llvm.loop !17
98: ; preds = %93, %80
%99 = icmp eq ptr %12, null
%100 = load ptr, ptr @DECRYPTCORE_CRASHDIR, align 8
%101 = select i1 %99, ptr %100, ptr %12
%102 = call i64 @snprintf(ptr noundef nonnull %7, i32 noundef %3, ptr noundef nonnull @.str.5, ptr noundef %101, ptr noundef nonnull %13) #4
%103 = icmp sgt i64 %102, 0
%104 = zext i1 %103 to i32
%105 = call i32 @PJDLOG_VERIFY(i32 noundef %104) #4
%106 = call i64 @snprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef nonnull @.str.6, ptr noundef %101, ptr noundef nonnull %13) #4
%107 = icmp sgt i64 %106, 0
%108 = zext i1 %107 to i32
%109 = call i32 @PJDLOG_VERIFY(i32 noundef %108) #4
%110 = call i64 @snprintf(ptr noundef nonnull %6, i32 noundef %3, ptr noundef nonnull @.str.7, ptr noundef %101, ptr noundef nonnull %13) #4
%111 = icmp sgt i64 %110, 0
%112 = zext i1 %111 to i32
%113 = call i32 @PJDLOG_VERIFY(i32 noundef %112) #4
br label %114
114: ; preds = %64, %98, %79
%115 = icmp eq ptr %14, null
br i1 %115, label %125, label %116
116: ; preds = %114
%117 = load i8, ptr %7, align 1, !tbaa !10
%118 = icmp eq i8 %117, 0
br i1 %118, label %125, label %119
119: ; preds = %116
%120 = load i8, ptr %6, align 1, !tbaa !10
%121 = icmp eq i8 %120, 0
br i1 %121, label %125, label %122
122: ; preds = %119
%123 = load i8, ptr %5, align 1, !tbaa !10
%124 = icmp eq i8 %123, 0
br i1 %124, label %125, label %127
125: ; preds = %122, %119, %116, %114
%126 = call i32 @usage() #4
br label %127
127: ; preds = %125, %122
%128 = icmp eq i32 %17, 0
br i1 %128, label %132, label %129
129: ; preds = %127
%130 = load i32, ptr @PJDLOG_MODE_SYSLOG, align 4, !tbaa !6
%131 = call i32 @pjdlog_mode_set(i32 noundef %130) #4
br label %132
132: ; preds = %129, %127
%133 = call i32 @pjdlog_debug_set(i32 noundef %15) #4
%134 = icmp eq i32 %16, 0
br i1 %134, label %145, label %135
135: ; preds = %132
%136 = call i32 @unlink(ptr noundef nonnull %5)
%137 = icmp eq i32 %136, -1
br i1 %137, label %138, label %145
138: ; preds = %135
%139 = load i64, ptr @errno, align 8, !tbaa !15
%140 = load i64, ptr @ENOENT, align 8, !tbaa !15
%141 = icmp eq i64 %139, %140
br i1 %141, label %145, label %142
142: ; preds = %138
%143 = load i32, ptr @LOG_ERR, align 4, !tbaa !6
%144 = call i32 (i32, ptr, ...) @pjdlog_errno(i32 noundef %143, ptr noundef nonnull @.str.8) #4
br label %169
145: ; preds = %138, %135, %132
%146 = load i32, ptr @O_WRONLY, align 4, !tbaa !6
%147 = load i32, ptr @O_CREAT, align 4, !tbaa !6
%148 = or i32 %147, %146
%149 = load i32, ptr @O_EXCL, align 4, !tbaa !6
%150 = or i32 %148, %149
%151 = call i32 @open(ptr noundef nonnull %5, i32 noundef %150, i32 noundef 384) #4
%152 = icmp eq i32 %151, -1
br i1 %152, label %153, label %156
153: ; preds = %145
%154 = load i32, ptr @LOG_ERR, align 4, !tbaa !6
%155 = call i32 (i32, ptr, ...) @pjdlog_errno(i32 noundef %154, ptr noundef nonnull @.str.9, ptr noundef nonnull %5) #4
br label %169
156: ; preds = %145
%157 = call i32 @decrypt(i32 noundef %151, ptr noundef %14, ptr noundef nonnull %7, ptr noundef nonnull %6) #4
%158 = icmp eq i32 %157, 0
br i1 %158, label %159, label %169
159: ; preds = %156
%160 = call i32 @unlink(ptr noundef nonnull %5)
%161 = icmp eq i32 %160, -1
br i1 %161, label %162, label %169
162: ; preds = %159
%163 = load i64, ptr @errno, align 8, !tbaa !15
%164 = load i64, ptr @ENOENT, align 8, !tbaa !15
%165 = icmp eq i64 %163, %164
br i1 %165, label %169, label %166
166: ; preds = %162
%167 = load i32, ptr @LOG_ERR, align 4, !tbaa !6
%168 = call i32 (i32, ptr, ...) @pjdlog_errno(i32 noundef %167, ptr noundef nonnull @.str.10) #4
br label %169
169: ; preds = %156, %159, %162, %166, %153, %142
%170 = phi i32 [ 1, %142 ], [ 1, %153 ], [ 1, %166 ], [ 1, %162 ], [ 1, %159 ], [ 0, %156 ]
%171 = call i32 @pjdlog_fini() #4
%172 = call i32 @exit(i32 noundef %170) #5
unreachable
}
declare i32 @pjdlog_init(i32 noundef) local_unnamed_addr #1
declare i32 @pjdlog_prefix_set(ptr noundef) local_unnamed_addr #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pjdlog_exitx(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usage(...) local_unnamed_addr #1
declare i64 @strnlen(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @isdigit(i32 noundef) local_unnamed_addr #1
declare i32 @PJDLOG_VERIFY(i32 noundef) local_unnamed_addr #1
declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pjdlog_mode_set(i32 noundef) local_unnamed_addr #1
declare i32 @pjdlog_debug_set(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @unlink(ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @pjdlog_errno(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @decrypt(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pjdlog_fini(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
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 = { 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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = distinct !{!17, !12}
| freebsd_sbin_decryptcore_extr_decryptcore.c_main |
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_amd8131_edac.c_amd8131_remove.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_amd8131_edac.c_amd8131_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr }
%struct.amd8131_dev_info = type { i64, i64, i32, ptr }
@amd8131_chipset = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@NO_BRIDGE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @amd8131_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @amd8131_remove(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @amd8131_chipset, i64 0, i32 1), align 8, !tbaa !5
%3 = load i64, ptr @NO_BRIDGE, align 8, !tbaa !10
%4 = load i64, ptr %2, align 8, !tbaa !12
%5 = icmp eq i64 %4, %3
br i1 %5, label %35, label %6
6: ; preds = %1
%7 = load i64, ptr %0, align 8, !tbaa !15
br label %8
8: ; preds = %6, %13
%9 = phi ptr [ %2, %6 ], [ %14, %13 ]
%10 = getelementptr inbounds %struct.amd8131_dev_info, ptr %9, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !17
%12 = icmp eq i64 %11, %7
br i1 %12, label %17, label %13
13: ; preds = %8
%14 = getelementptr inbounds %struct.amd8131_dev_info, ptr %9, i64 1
%15 = load i64, ptr %14, align 8, !tbaa !12
%16 = icmp eq i64 %15, %3
br i1 %16, label %35, label %8, !llvm.loop !18
17: ; preds = %8
%18 = getelementptr inbounds %struct.amd8131_dev_info, ptr %9, i64 0, i32 3
%19 = load ptr, ptr %18, align 8, !tbaa !20
%20 = icmp eq ptr %19, null
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = load i32, ptr %19, align 4, !tbaa !21
%23 = tail call i32 @edac_pci_del_device(i32 noundef %22) #2
%24 = load ptr, ptr %18, align 8, !tbaa !20
%25 = tail call i32 @edac_pci_free_ctl_info(ptr noundef %24) #2
br label %26
26: ; preds = %21, %17
%27 = load ptr, ptr @amd8131_chipset, align 8, !tbaa !23
%28 = icmp eq ptr %27, null
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 %27(ptr noundef nonnull %9) #2
br label %31
31: ; preds = %29, %26
%32 = getelementptr inbounds %struct.amd8131_dev_info, ptr %9, i64 0, i32 2
%33 = load i32, ptr %32, align 8, !tbaa !24
%34 = tail call i32 @pci_dev_put(i32 noundef %33) #2
br label %35
35: ; preds = %13, %1, %31
ret void
}
declare i32 @edac_pci_del_device(i32 noundef) local_unnamed_addr #1
declare i32 @edac_pci_free_ctl_info(ptr noundef) local_unnamed_addr #1
declare i32 @pci_dev_put(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"amd8131_dev_info", !11, i64 0, !11, i64 8, !14, i64 16, !7, i64 24}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"pci_dev", !11, i64 0}
!17 = !{!13, !11, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!13, !7, i64 24}
!21 = !{!22, !14, i64 0}
!22 = !{!"TYPE_3__", !14, i64 0}
!23 = !{!6, !7, i64 0}
!24 = !{!13, !14, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/edac/extr_amd8131_edac.c_amd8131_remove.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_amd8131_edac.c_amd8131_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { ptr, ptr }
@amd8131_chipset = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@NO_BRIDGE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @amd8131_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @amd8131_remove(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr getelementptr inbounds (i8, ptr @amd8131_chipset, i64 8), align 8, !tbaa !6
%3 = load i64, ptr @NO_BRIDGE, align 8, !tbaa !11
%4 = load i64, ptr %2, align 8, !tbaa !13
%5 = icmp eq i64 %4, %3
br i1 %5, label %35, label %6
6: ; preds = %1
%7 = load i64, ptr %0, align 8, !tbaa !16
br label %8
8: ; preds = %6, %13
%9 = phi ptr [ %2, %6 ], [ %14, %13 ]
%10 = getelementptr inbounds i8, ptr %9, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !18
%12 = icmp eq i64 %11, %7
br i1 %12, label %17, label %13
13: ; preds = %8
%14 = getelementptr inbounds i8, ptr %9, i64 32
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = icmp eq i64 %15, %3
br i1 %16, label %35, label %8, !llvm.loop !19
17: ; preds = %8
%18 = getelementptr inbounds i8, ptr %9, i64 24
%19 = load ptr, ptr %18, align 8, !tbaa !21
%20 = icmp eq ptr %19, null
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = load i32, ptr %19, align 4, !tbaa !22
%23 = tail call i32 @edac_pci_del_device(i32 noundef %22) #2
%24 = load ptr, ptr %18, align 8, !tbaa !21
%25 = tail call i32 @edac_pci_free_ctl_info(ptr noundef %24) #2
br label %26
26: ; preds = %21, %17
%27 = load ptr, ptr @amd8131_chipset, align 8, !tbaa !24
%28 = icmp eq ptr %27, null
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 %27(ptr noundef nonnull %9) #2
br label %31
31: ; preds = %29, %26
%32 = getelementptr inbounds i8, ptr %9, i64 16
%33 = load i32, ptr %32, align 8, !tbaa !25
%34 = tail call i32 @pci_dev_put(i32 noundef %33) #2
br label %35
35: ; preds = %13, %1, %31
ret void
}
declare i32 @edac_pci_del_device(i32 noundef) local_unnamed_addr #1
declare i32 @edac_pci_free_ctl_info(ptr noundef) local_unnamed_addr #1
declare i32 @pci_dev_put(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"amd8131_dev_info", !12, i64 0, !12, i64 8, !15, i64 16, !8, i64 24}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"pci_dev", !12, i64 0}
!18 = !{!14, !12, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!14, !8, i64 24}
!22 = !{!23, !15, i64 0}
!23 = !{!"TYPE_3__", !15, i64 0}
!24 = !{!7, !8, i64 0}
!25 = !{!14, !15, i64 16}
| linux_drivers_edac_extr_amd8131_edac.c_amd8131_remove |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/store/extr_loader_file.c_try_decode_PKCS8Encrypted.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/store/extr_loader_file.c_try_decode_PKCS8Encrypted.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32 }
%struct.TYPE_7__ = type { ptr, i64, i64 }
@PEM_BUFSIZE = dso_local local_unnamed_addr global i32 0, align 4
@PEM_STRING_PKCS8 = dso_local local_unnamed_addr global i32 0, align 4
@OSSL_STORE_F_TRY_DECODE_PKCS8ENCRYPTED = dso_local local_unnamed_addr global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"PKCS8 decrypt password\00", align 1
@OSSL_STORE_R_BAD_PASSWORD_READ = dso_local local_unnamed_addr global i32 0, align 4
@PEM_STRING_PKCS8INF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @try_decode_PKCS8Encrypted], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @try_decode_PKCS8Encrypted(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3, ptr nocapture readnone %4, ptr nocapture noundef writeonly %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %2, ptr %9, align 8, !tbaa !5
%14 = load i32, ptr @PEM_BUFSIZE, align 4, !tbaa !9
%15 = zext i32 %14 to i64
%16 = alloca i8, i64 %15, align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
store ptr null, ptr %10, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
store ptr null, ptr %11, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
store ptr null, ptr %12, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
%17 = icmp eq ptr %0, null
br i1 %17, label %23, label %18
18: ; preds = %8
%19 = load i32, ptr @PEM_STRING_PKCS8, align 4, !tbaa !9
%20 = tail call i64 @strcmp(ptr noundef nonnull %0, i32 noundef %19) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %61
22: ; preds = %18
store i32 1, ptr %5, align 4, !tbaa !9
br label %23
23: ; preds = %22, %8
%24 = call ptr @d2i_X509_SIG(ptr noundef null, ptr noundef nonnull %9, i64 noundef %3) #3
%25 = icmp eq ptr %24, null
br i1 %25, label %61, label %26
26: ; preds = %23
store i32 1, ptr %5, align 4, !tbaa !9
%27 = call ptr (...) @BUF_MEM_new() #3
%28 = icmp eq ptr %27, null
br i1 %28, label %53, label %29
29: ; preds = %26
%30 = load i32, ptr @PEM_BUFSIZE, align 4, !tbaa !9
%31 = call ptr @file_get_pass(ptr noundef %6, ptr noundef nonnull %16, i32 noundef %30, ptr noundef nonnull @.str, ptr noundef %7) #3
%32 = icmp eq ptr %31, null
br i1 %32, label %53, label %33
33: ; preds = %29
%34 = call i32 @X509_SIG_get0(ptr noundef nonnull %24, ptr noundef nonnull %10, ptr noundef nonnull %11) #3
%35 = load ptr, ptr %10, align 8, !tbaa !5
%36 = call i32 @strlen(ptr noundef nonnull %31) #3
%37 = load ptr, ptr %11, align 8, !tbaa !5
%38 = getelementptr inbounds %struct.TYPE_8__, ptr %37, i64 0, i32 1
%39 = load i32, ptr %38, align 4, !tbaa !11
%40 = load i32, ptr %37, align 4, !tbaa !13
%41 = call i32 @PKCS12_pbe_crypt(ptr noundef %35, ptr noundef nonnull %31, i32 noundef %36, i32 noundef %39, i32 noundef %40, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef 0) #3
%42 = icmp eq i32 %41, 0
br i1 %42, label %58, label %43
43: ; preds = %33
%44 = load ptr, ptr %12, align 8, !tbaa !5
store ptr %44, ptr %27, align 8, !tbaa !14
%45 = load i32, ptr %13, align 4, !tbaa !9
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 2
store i64 %46, ptr %47, align 8, !tbaa !17
%48 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 1
store i64 %46, ptr %48, align 8, !tbaa !18
%49 = call i32 @X509_SIG_free(ptr noundef nonnull %24) #3
%50 = load i32, ptr @PEM_STRING_PKCS8INF, align 4, !tbaa !9
%51 = call ptr @ossl_store_info_new_EMBEDDED(i32 noundef %50, ptr noundef nonnull %27) #3
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %61
53: ; preds = %43, %29, %26
%54 = phi ptr [ @ERR_R_MALLOC_FAILURE, %26 ], [ @OSSL_STORE_R_BAD_PASSWORD_READ, %29 ], [ @ERR_R_MALLOC_FAILURE, %43 ]
%55 = load i32, ptr @OSSL_STORE_F_TRY_DECODE_PKCS8ENCRYPTED, align 4, !tbaa !9
%56 = load i32, ptr %54, align 4, !tbaa !9
%57 = call i32 @OSSL_STOREerr(i32 noundef %55, i32 noundef %56) #3
br label %58
58: ; preds = %53, %33
%59 = call i32 @X509_SIG_free(ptr noundef nonnull %24) #3
%60 = call i32 @BUF_MEM_free(ptr noundef %27) #3
br label %61
61: ; preds = %43, %23, %18, %58
%62 = phi ptr [ null, %58 ], [ null, %18 ], [ null, %23 ], [ %51, %43 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
ret ptr %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @d2i_X509_SIG(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @BUF_MEM_new(...) local_unnamed_addr #2
declare i32 @OSSL_STOREerr(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @file_get_pass(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @X509_SIG_get0(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PKCS12_pbe_crypt(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @X509_SIG_free(ptr noundef) local_unnamed_addr #2
declare ptr @ossl_store_info_new_EMBEDDED(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @BUF_MEM_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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"TYPE_8__", !10, i64 0, !10, i64 4}
!13 = !{!12, !10, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_7__", !6, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"long", !7, i64 0}
!17 = !{!15, !16, i64 16}
!18 = !{!15, !16, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/store/extr_loader_file.c_try_decode_PKCS8Encrypted.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/store/extr_loader_file.c_try_decode_PKCS8Encrypted.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PEM_BUFSIZE = common local_unnamed_addr global i32 0, align 4
@PEM_STRING_PKCS8 = common local_unnamed_addr global i32 0, align 4
@OSSL_STORE_F_TRY_DECODE_PKCS8ENCRYPTED = common local_unnamed_addr global i32 0, align 4
@ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"PKCS8 decrypt password\00", align 1
@OSSL_STORE_R_BAD_PASSWORD_READ = common local_unnamed_addr global i32 0, align 4
@PEM_STRING_PKCS8INF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @try_decode_PKCS8Encrypted], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @try_decode_PKCS8Encrypted(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3, ptr nocapture readnone %4, ptr nocapture noundef writeonly %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %2, ptr %9, align 8, !tbaa !6
%14 = load i32, ptr @PEM_BUFSIZE, align 4, !tbaa !10
%15 = zext i32 %14 to i64
%16 = alloca i8, i64 %15, align 1
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
store ptr null, ptr %10, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
store ptr null, ptr %11, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
store ptr null, ptr %12, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
%17 = icmp eq ptr %0, null
br i1 %17, label %23, label %18
18: ; preds = %8
%19 = load i32, ptr @PEM_STRING_PKCS8, align 4, !tbaa !10
%20 = tail call i64 @strcmp(ptr noundef nonnull %0, i32 noundef %19) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %61
22: ; preds = %18
store i32 1, ptr %5, align 4, !tbaa !10
br label %23
23: ; preds = %22, %8
%24 = call ptr @d2i_X509_SIG(ptr noundef null, ptr noundef nonnull %9, i64 noundef %3) #3
%25 = icmp eq ptr %24, null
br i1 %25, label %61, label %26
26: ; preds = %23
store i32 1, ptr %5, align 4, !tbaa !10
%27 = call ptr @BUF_MEM_new() #3
%28 = icmp eq ptr %27, null
br i1 %28, label %53, label %29
29: ; preds = %26
%30 = load i32, ptr @PEM_BUFSIZE, align 4, !tbaa !10
%31 = call ptr @file_get_pass(ptr noundef %6, ptr noundef nonnull %16, i32 noundef %30, ptr noundef nonnull @.str, ptr noundef %7) #3
%32 = icmp eq ptr %31, null
br i1 %32, label %53, label %33
33: ; preds = %29
%34 = call i32 @X509_SIG_get0(ptr noundef nonnull %24, ptr noundef nonnull %10, ptr noundef nonnull %11) #3
%35 = load ptr, ptr %10, align 8, !tbaa !6
%36 = call i32 @strlen(ptr noundef nonnull %31) #3
%37 = load ptr, ptr %11, align 8, !tbaa !6
%38 = getelementptr inbounds i8, ptr %37, i64 4
%39 = load i32, ptr %38, align 4, !tbaa !12
%40 = load i32, ptr %37, align 4, !tbaa !14
%41 = call i32 @PKCS12_pbe_crypt(ptr noundef %35, ptr noundef nonnull %31, i32 noundef %36, i32 noundef %39, i32 noundef %40, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef 0) #3
%42 = icmp eq i32 %41, 0
br i1 %42, label %58, label %43
43: ; preds = %33
%44 = load ptr, ptr %12, align 8, !tbaa !6
store ptr %44, ptr %27, align 8, !tbaa !15
%45 = load i32, ptr %13, align 4, !tbaa !10
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %27, i64 16
store i64 %46, ptr %47, align 8, !tbaa !18
%48 = getelementptr inbounds i8, ptr %27, i64 8
store i64 %46, ptr %48, align 8, !tbaa !19
%49 = call i32 @X509_SIG_free(ptr noundef nonnull %24) #3
%50 = load i32, ptr @PEM_STRING_PKCS8INF, align 4, !tbaa !10
%51 = call ptr @ossl_store_info_new_EMBEDDED(i32 noundef %50, ptr noundef nonnull %27) #3
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %61
53: ; preds = %43, %29, %26
%54 = phi ptr [ @ERR_R_MALLOC_FAILURE, %26 ], [ @OSSL_STORE_R_BAD_PASSWORD_READ, %29 ], [ @ERR_R_MALLOC_FAILURE, %43 ]
%55 = load i32, ptr @OSSL_STORE_F_TRY_DECODE_PKCS8ENCRYPTED, align 4, !tbaa !10
%56 = load i32, ptr %54, align 4, !tbaa !10
%57 = call i32 @OSSL_STOREerr(i32 noundef %55, i32 noundef %56) #3
br label %58
58: ; preds = %53, %33
%59 = call i32 @X509_SIG_free(ptr noundef nonnull %24) #3
%60 = call i32 @BUF_MEM_free(ptr noundef %27) #3
br label %61
61: ; preds = %43, %23, %18, %58
%62 = phi ptr [ null, %58 ], [ null, %18 ], [ null, %23 ], [ %51, %43 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
ret ptr %62
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @d2i_X509_SIG(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @BUF_MEM_new(...) local_unnamed_addr #2
declare i32 @OSSL_STOREerr(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @file_get_pass(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @X509_SIG_get0(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PKCS12_pbe_crypt(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @X509_SIG_free(ptr noundef) local_unnamed_addr #2
declare ptr @ossl_store_info_new_EMBEDDED(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @BUF_MEM_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 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 4}
!13 = !{!"TYPE_8__", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_7__", !7, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"long", !8, i64 0}
!18 = !{!16, !17, i64 16}
!19 = !{!16, !17, i64 8}
| freebsd_crypto_openssl_crypto_store_extr_loader_file.c_try_decode_PKCS8Encrypted |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_p2p.c_brcmf_p2p_notify_listen_complete.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_p2p.c_brcmf_p2p_notify_listen_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.brcmf_if = type { ptr, ptr }
%struct.brcmf_p2p_info = type { i32, i32, i32, i32 }
@TRACE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"Enter\0A\00", align 1
@BRCMF_P2P_STATUS_DISCOVER_LISTEN = dso_local local_unnamed_addr global i32 0, align 4
@BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN = dso_local local_unnamed_addr global i32 0, align 4
@BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME = dso_local local_unnamed_addr global i32 0, align 4
@INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"Listen DONE, wake up wait_next_af\0A\00", align 1
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @brcmf_p2p_notify_listen_complete(ptr nocapture noundef readonly %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.brcmf_if, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load i32, ptr @TRACE, align 4, !tbaa !12
%8 = tail call i32 @brcmf_dbg(i32 noundef %7, ptr noundef nonnull @.str) #2
%9 = load i32, ptr @BRCMF_P2P_STATUS_DISCOVER_LISTEN, align 4, !tbaa !12
%10 = getelementptr inbounds %struct.brcmf_p2p_info, ptr %6, i64 0, i32 3
%11 = tail call i64 @test_and_clear_bit(i32 noundef %9, ptr noundef nonnull %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %30, label %13
13: ; preds = %3
%14 = load i32, ptr @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN, align 4, !tbaa !12
%15 = tail call i64 @test_and_clear_bit(i32 noundef %14, ptr noundef nonnull %10) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %24, label %17
17: ; preds = %13
%18 = load i32, ptr @BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, align 4, !tbaa !12
%19 = tail call i32 @clear_bit(i32 noundef %18, ptr noundef nonnull %10) #2
%20 = load i32, ptr @INFO, align 4, !tbaa !12
%21 = tail call i32 @brcmf_dbg(i32 noundef %20, ptr noundef nonnull @.str.1) #2
%22 = getelementptr inbounds %struct.brcmf_p2p_info, ptr %6, i64 0, i32 2
%23 = tail call i32 @complete(ptr noundef nonnull %22) #2
br label %24
24: ; preds = %17, %13
%25 = load ptr, ptr %0, align 8, !tbaa !14
%26 = getelementptr inbounds %struct.brcmf_p2p_info, ptr %6, i64 0, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !15
%28 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%29 = tail call i32 @cfg80211_remain_on_channel_expired(ptr noundef %25, i32 noundef %27, ptr noundef %6, i32 noundef %28) #2
br label %30
30: ; preds = %24, %3
ret i32 0
}
declare i32 @brcmf_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
declare i32 @cfg80211_remain_on_channel_expired(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 8}
!6 = !{!"brcmf_if", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !13, i64 4}
!16 = !{!"brcmf_p2p_info", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_p2p.c_brcmf_p2p_notify_listen_complete.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_p2p.c_brcmf_p2p_notify_listen_complete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRACE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"Enter\0A\00", align 1
@BRCMF_P2P_STATUS_DISCOVER_LISTEN = common local_unnamed_addr global i32 0, align 4
@BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN = common local_unnamed_addr global i32 0, align 4
@BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME = common local_unnamed_addr global i32 0, align 4
@INFO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"Listen DONE, wake up wait_next_af\0A\00", align 1
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @brcmf_p2p_notify_listen_complete(ptr nocapture noundef readonly %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load i32, ptr @TRACE, align 4, !tbaa !13
%8 = tail call i32 @brcmf_dbg(i32 noundef %7, ptr noundef nonnull @.str) #2
%9 = load i32, ptr @BRCMF_P2P_STATUS_DISCOVER_LISTEN, align 4, !tbaa !13
%10 = getelementptr inbounds i8, ptr %6, i64 12
%11 = tail call i64 @test_and_clear_bit(i32 noundef %9, ptr noundef nonnull %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %30, label %13
13: ; preds = %3
%14 = load i32, ptr @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN, align 4, !tbaa !13
%15 = tail call i64 @test_and_clear_bit(i32 noundef %14, ptr noundef nonnull %10) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %24, label %17
17: ; preds = %13
%18 = load i32, ptr @BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, align 4, !tbaa !13
%19 = tail call i32 @clear_bit(i32 noundef %18, ptr noundef nonnull %10) #2
%20 = load i32, ptr @INFO, align 4, !tbaa !13
%21 = tail call i32 @brcmf_dbg(i32 noundef %20, ptr noundef nonnull @.str.1) #2
%22 = getelementptr inbounds i8, ptr %6, i64 8
%23 = tail call i32 @complete(ptr noundef nonnull %22) #2
br label %24
24: ; preds = %17, %13
%25 = load ptr, ptr %0, align 8, !tbaa !15
%26 = getelementptr inbounds i8, ptr %6, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !16
%28 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%29 = tail call i32 @cfg80211_remain_on_channel_expired(ptr noundef %25, i32 noundef %27, ptr noundef %6, i32 noundef %28) #2
br label %30
30: ; preds = %24, %3
ret i32 0
}
declare i32 @brcmf_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
declare i32 @cfg80211_remain_on_channel_expired(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 8}
!7 = !{!"brcmf_if", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_4__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !14, i64 4}
!17 = !{!"brcmf_p2p_info", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
| linux_drivers_net_wireless_broadcom_brcm80211_brcmfmac_extr_p2p.c_brcmf_p2p_notify_listen_complete |
; ModuleID = 'AnghaBench/radare2/shlr/sdb/src/extr_sdb.c_unset_cb.c'
source_filename = "AnghaBench/radare2/shlr/sdb/src/extr_sdb.c_unset_cb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @unset_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @unset_cb(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i64 @sdb_match(ptr noundef %1, i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr %0, align 4, !tbaa !10
%10 = tail call i32 @sdb_unset(i32 noundef %9, ptr noundef %1, i32 noundef 0) #2
br label %11
11: ; preds = %8, %3
ret i32 1
}
declare i64 @sdb_match(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdb_unset(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 4}
!6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/radare2/shlr/sdb/src/extr_sdb.c_unset_cb.c'
source_filename = "AnghaBench/radare2/shlr/sdb/src/extr_sdb.c_unset_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @unset_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @unset_cb(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i64 @sdb_match(ptr noundef %1, i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr %0, align 4, !tbaa !11
%10 = tail call i32 @sdb_unset(i32 noundef %9, ptr noundef %1, i32 noundef 0) #2
br label %11
11: ; preds = %8, %3
ret i32 1
}
declare i64 @sdb_match(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdb_unset(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 4}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| radare2_shlr_sdb_src_extr_sdb.c_unset_cb |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aacenc_pred.c_flt16_even.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aacenc_pred.c_flt16_even.c"
target datalayout = "e-m:e-p270:32:32-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 @flt16_even], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef float @flt16_even(float noundef %0) #0 {
%2 = bitcast float %0 to i32
%3 = add i32 %2, 32767
%4 = and i32 %2, 1
%5 = add i32 %3, %4
%6 = and i32 %5, -65536
%7 = bitcast i32 %6 to float
ret float %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aacenc_pred.c_flt16_even.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aacenc_pred.c_flt16_even.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 @flt16_even], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef float @flt16_even(float noundef %0) #0 {
%2 = bitcast float %0 to i32
%3 = add i32 %2, 32767
%4 = and i32 %2, 1
%5 = add i32 %3, %4
%6 = and i32 %5, -65536
%7 = bitcast i32 %6 to float
ret float %7
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| FFmpeg_libavcodec_extr_aacenc_pred.c_flt16_even |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/etnaviv/extr_etnaviv_iommu_v2.c_etnaviv_iommuv2_context_alloc.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/etnaviv/extr_etnaviv_iommu_v2.c_etnaviv_iommuv2_context_alloc.c"
target datalayout = "e-m:e-p270:32:32-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.etnaviv_iommu_global = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32, ptr }
%struct.etnaviv_iommuv2_context = type { i64, %struct.etnaviv_iommu_context, i32, i32 }
%struct.etnaviv_iommu_context = type { i32, i32, i32, i32, ptr }
@ETNAVIV_PTA_ENTRIES = dso_local local_unnamed_addr global i64 0, align 8
@SZ_4K = dso_local local_unnamed_addr global i64 0, align 8
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@MMUv2_PTE_EXCEPTION = dso_local local_unnamed_addr global i32 0, align 4
@MMUv2_MAX_STLB_ENTRIES = dso_local local_unnamed_addr global i32 0, align 4
@SZ_1G = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @etnaviv_iommuv2_context_alloc(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @vzalloc(i32 noundef 40) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %56, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.etnaviv_iommu_global, ptr %0, i64 0, i32 2
%6 = tail call i32 @mutex_lock(ptr noundef nonnull %5) #2
%7 = load i32, ptr %0, align 8, !tbaa !5
%8 = load i64, ptr @ETNAVIV_PTA_ENTRIES, align 8, !tbaa !12
%9 = tail call i64 @find_first_zero_bit(i32 noundef %7, i64 noundef %8) #2
store i64 %9, ptr %2, align 8, !tbaa !14
%10 = load i64, ptr @ETNAVIV_PTA_ENTRIES, align 8, !tbaa !12
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %24
12: ; preds = %4
%13 = load i32, ptr %0, align 8, !tbaa !5
%14 = tail call i32 @set_bit(i64 noundef %9, i32 noundef %13) #2
%15 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2
%16 = getelementptr inbounds %struct.etnaviv_iommu_global, ptr %0, i64 0, i32 1
%17 = load i32, ptr %16, align 8, !tbaa !17
%18 = load i64, ptr @SZ_4K, align 8, !tbaa !12
%19 = getelementptr inbounds %struct.etnaviv_iommuv2_context, ptr %2, i64 0, i32 2
%20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !18
%21 = tail call i32 @dma_alloc_wc(i32 noundef %17, i64 noundef %18, ptr noundef nonnull %19, i32 noundef %20) #2
%22 = getelementptr inbounds %struct.etnaviv_iommuv2_context, ptr %2, i64 0, i32 3
store i32 %21, ptr %22, align 4, !tbaa !19
%23 = icmp eq i32 %21, 0
br i1 %23, label %50, label %26
24: ; preds = %4
%25 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2
br label %54
26: ; preds = %12
%27 = load i32, ptr @MMUv2_PTE_EXCEPTION, align 4, !tbaa !18
%28 = load i32, ptr @MMUv2_MAX_STLB_ENTRIES, align 4, !tbaa !18
%29 = tail call i32 @memset32(i32 noundef %21, i32 noundef %27, i32 noundef %28) #2
%30 = load i32, ptr %19, align 8, !tbaa !20
%31 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%32 = load ptr, ptr %31, align 8, !tbaa !21
%33 = load i64, ptr %2, align 8, !tbaa !14
%34 = getelementptr inbounds i32, ptr %32, i64 %33
store i32 %30, ptr %34, align 4, !tbaa !18
%35 = getelementptr inbounds %struct.etnaviv_iommuv2_context, ptr %2, i64 0, i32 1
%36 = getelementptr inbounds %struct.etnaviv_iommuv2_context, ptr %2, i64 0, i32 1, i32 4
store ptr %0, ptr %36, align 8, !tbaa !22
%37 = getelementptr inbounds %struct.etnaviv_iommuv2_context, ptr %2, i64 0, i32 1, i32 3
%38 = tail call i32 @kref_init(ptr noundef nonnull %37) #2
%39 = getelementptr inbounds %struct.etnaviv_iommuv2_context, ptr %2, i64 0, i32 1, i32 2
%40 = tail call i32 @mutex_init(ptr noundef nonnull %39) #2
%41 = getelementptr inbounds %struct.etnaviv_iommuv2_context, ptr %2, i64 0, i32 1, i32 1
%42 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %41) #2
%43 = load i64, ptr @SZ_4K, align 8, !tbaa !12
%44 = load i64, ptr @SZ_1G, align 8, !tbaa !12
%45 = trunc i64 %44 to i32
%46 = shl nsw i32 %45, 2
%47 = sext i32 %46 to i64
%48 = sub nsw i64 %47, %43
%49 = tail call i32 @drm_mm_init(ptr noundef nonnull %35, i64 noundef %43, i64 noundef %48) #2
br label %56
50: ; preds = %12
%51 = load i64, ptr %2, align 8, !tbaa !14
%52 = load i32, ptr %0, align 8, !tbaa !5
%53 = tail call i32 @clear_bit(i64 noundef %51, i32 noundef %52) #2
br label %54
54: ; preds = %50, %24
%55 = tail call i32 @vfree(ptr noundef nonnull %2) #2
br label %56
56: ; preds = %1, %54, %26
%57 = phi ptr [ %35, %26 ], [ null, %54 ], [ null, %1 ]
ret ptr %57
}
declare ptr @vzalloc(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @find_first_zero_bit(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_bit(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @dma_alloc_wc(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kref_init(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mm_init(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"etnaviv_iommu_global", !7, i64 0, !8, i64 16, !8, i64 20}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"etnaviv_iommuv2_context", !13, i64 0, !16, i64 8, !8, i64 32, !8, i64 36}
!16 = !{!"etnaviv_iommu_context", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16}
!17 = !{!6, !8, i64 16}
!18 = !{!8, !8, i64 0}
!19 = !{!15, !8, i64 36}
!20 = !{!15, !8, i64 32}
!21 = !{!6, !11, i64 8}
!22 = !{!16, !11, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/etnaviv/extr_etnaviv_iommu_v2.c_etnaviv_iommuv2_context_alloc.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/etnaviv/extr_etnaviv_iommu_v2.c_etnaviv_iommuv2_context_alloc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETNAVIV_PTA_ENTRIES = common local_unnamed_addr global i64 0, align 8
@SZ_4K = common local_unnamed_addr global i64 0, align 8
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@MMUv2_PTE_EXCEPTION = common local_unnamed_addr global i32 0, align 4
@MMUv2_MAX_STLB_ENTRIES = common local_unnamed_addr global i32 0, align 4
@SZ_1G = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @etnaviv_iommuv2_context_alloc(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @vzalloc(i32 noundef 40) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %56, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 20
%6 = tail call i32 @mutex_lock(ptr noundef nonnull %5) #2
%7 = load i32, ptr %0, align 8, !tbaa !6
%8 = load i64, ptr @ETNAVIV_PTA_ENTRIES, align 8, !tbaa !13
%9 = tail call i64 @find_first_zero_bit(i32 noundef %7, i64 noundef %8) #2
store i64 %9, ptr %2, align 8, !tbaa !15
%10 = load i64, ptr @ETNAVIV_PTA_ENTRIES, align 8, !tbaa !13
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %24
12: ; preds = %4
%13 = load i32, ptr %0, align 8, !tbaa !6
%14 = tail call i32 @set_bit(i64 noundef %9, i32 noundef %13) #2
%15 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2
%16 = getelementptr inbounds i8, ptr %0, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !18
%18 = load i64, ptr @SZ_4K, align 8, !tbaa !13
%19 = getelementptr inbounds i8, ptr %2, i64 32
%20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !19
%21 = tail call i32 @dma_alloc_wc(i32 noundef %17, i64 noundef %18, ptr noundef nonnull %19, i32 noundef %20) #2
%22 = getelementptr inbounds i8, ptr %2, i64 36
store i32 %21, ptr %22, align 4, !tbaa !20
%23 = icmp eq i32 %21, 0
br i1 %23, label %50, label %26
24: ; preds = %4
%25 = tail call i32 @mutex_unlock(ptr noundef nonnull %5) #2
br label %54
26: ; preds = %12
%27 = load i32, ptr @MMUv2_PTE_EXCEPTION, align 4, !tbaa !19
%28 = load i32, ptr @MMUv2_MAX_STLB_ENTRIES, align 4, !tbaa !19
%29 = tail call i32 @memset32(i32 noundef %21, i32 noundef %27, i32 noundef %28) #2
%30 = load i32, ptr %19, align 8, !tbaa !21
%31 = getelementptr inbounds i8, ptr %0, i64 8
%32 = load ptr, ptr %31, align 8, !tbaa !22
%33 = load i64, ptr %2, align 8, !tbaa !15
%34 = getelementptr inbounds i32, ptr %32, i64 %33
store i32 %30, ptr %34, align 4, !tbaa !19
%35 = getelementptr inbounds i8, ptr %2, i64 8
%36 = getelementptr inbounds i8, ptr %2, i64 24
store ptr %0, ptr %36, align 8, !tbaa !23
%37 = getelementptr inbounds i8, ptr %2, i64 20
%38 = tail call i32 @kref_init(ptr noundef nonnull %37) #2
%39 = getelementptr inbounds i8, ptr %2, i64 16
%40 = tail call i32 @mutex_init(ptr noundef nonnull %39) #2
%41 = getelementptr inbounds i8, ptr %2, i64 12
%42 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %41) #2
%43 = load i64, ptr @SZ_4K, align 8, !tbaa !13
%44 = load i64, ptr @SZ_1G, align 8, !tbaa !13
%45 = trunc i64 %44 to i32
%46 = shl nsw i32 %45, 2
%47 = sext i32 %46 to i64
%48 = sub nsw i64 %47, %43
%49 = tail call i32 @drm_mm_init(ptr noundef nonnull %35, i64 noundef %43, i64 noundef %48) #2
br label %56
50: ; preds = %12
%51 = load i64, ptr %2, align 8, !tbaa !15
%52 = load i32, ptr %0, align 8, !tbaa !6
%53 = tail call i32 @clear_bit(i64 noundef %51, i32 noundef %52) #2
br label %54
54: ; preds = %50, %24
%55 = tail call i32 @vfree(ptr noundef nonnull %2) #2
br label %56
56: ; preds = %1, %54, %26
%57 = phi ptr [ %35, %26 ], [ null, %54 ], [ null, %1 ]
ret ptr %57
}
declare ptr @vzalloc(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @find_first_zero_bit(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_bit(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @dma_alloc_wc(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kref_init(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mm_init(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"etnaviv_iommu_global", !8, i64 0, !9, i64 16, !9, i64 20}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !10, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"etnaviv_iommuv2_context", !14, i64 0, !17, i64 8, !9, i64 32, !9, i64 36}
!17 = !{!"etnaviv_iommu_context", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !12, i64 16}
!18 = !{!7, !9, i64 16}
!19 = !{!9, !9, i64 0}
!20 = !{!16, !9, i64 36}
!21 = !{!16, !9, i64 32}
!22 = !{!7, !12, i64 8}
!23 = !{!17, !12, i64 16}
| linux_drivers_gpu_drm_etnaviv_extr_etnaviv_iommu_v2.c_etnaviv_iommuv2_context_alloc |
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_tcp_lro.c_tcp_lro_condense.c'
source_filename = "AnghaBench/freebsd/sys/netinet/extr_tcp_lro.c_tcp_lro_condense.c"
target datalayout = "e-m:e-p270:32:32-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.lro_entry = type { i64, i64, i64, i64, i64, i64, ptr, i32, i32, i64, i64, ptr }
%struct.mbuf = type { %struct.TYPE_3__, ptr }
%struct.TYPE_3__ = type { i64, i64, i64 }
%struct.lro_ctrl = type { i64, i64 }
%struct.tcphdr = type { i32, i32, i64, i64, i64 }
@TCPOLEN_TSTAMP_APPA = dso_local local_unnamed_addr global i32 0, align 4
@TCPOPT_NOP = dso_local local_unnamed_addr global i32 0, align 4
@TCPOPT_TIMESTAMP = dso_local local_unnamed_addr global i32 0, align 4
@TCPOLEN_TIMESTAMP = dso_local local_unnamed_addr global i32 0, align 4
@TH_ACK = dso_local local_unnamed_addr global i32 0, align 4
@TH_PUSH = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tcp_lro_condense], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tcp_lro_condense(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 11
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.mbuf, ptr %6, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = icmp eq ptr %8, null
br i1 %9, label %287, label %10
10: ; preds = %4
%11 = icmp ne ptr %0, null
%12 = icmp ne i32 %3, 0
%13 = and i1 %11, %12
%14 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 1
%15 = getelementptr inbounds %struct.lro_ctrl, ptr %1, i64 0, i32 1
%16 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 10
%17 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 9
%18 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 2
%19 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 3
%20 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 4
%21 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 5
%22 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 7
%23 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 6
%24 = getelementptr inbounds %struct.lro_entry, ptr %2, i64 0, i32 8
br label %25
25: ; preds = %10, %64
%26 = phi ptr [ %8, %10 ], [ %67, %64 ]
%27 = phi ptr [ %6, %10 ], [ %65, %64 ]
%28 = tail call ptr @tcp_lro_get_th(ptr noundef nonnull %2, ptr noundef nonnull %27) #2
%29 = icmp ne ptr %28, null
%30 = zext i1 %29 to i32
%31 = load ptr, ptr %5, align 8, !tbaa !5
%32 = tail call i32 @KASSERT(i32 noundef %30, ptr noundef %31) #2
%33 = load i32, ptr %28, align 8, !tbaa !15
%34 = shl i32 %33, 2
%35 = add i32 %34, -32
%36 = getelementptr inbounds %struct.tcphdr, ptr %28, i64 1
%37 = icmp eq i32 %35, 0
br i1 %37, label %69, label %38
38: ; preds = %25
%39 = load i32, ptr @TCPOLEN_TSTAMP_APPA, align 4, !tbaa !17
%40 = icmp ne i32 %35, %39
%41 = zext i1 %40 to i32
%42 = tail call i64 @__predict_false(i32 noundef %41) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %58
44: ; preds = %38
%45 = load i64, ptr %36, align 8, !tbaa !18
%46 = load i32, ptr @TCPOPT_NOP, align 4, !tbaa !17
%47 = shl i32 %46, 24
%48 = shl i32 %46, 16
%49 = or i32 %47, %48
%50 = load i32, ptr @TCPOPT_TIMESTAMP, align 4, !tbaa !17
%51 = shl i32 %50, 8
%52 = or i32 %49, %51
%53 = load i32, ptr @TCPOLEN_TIMESTAMP, align 4, !tbaa !17
%54 = or i32 %52, %53
%55 = sext i32 %54 to i64
%56 = tail call i64 @ntohl(i64 noundef %55) #2
%57 = icmp eq i64 %45, %56
br i1 %57, label %69, label %58
58: ; preds = %44, %38
%59 = getelementptr inbounds %struct.mbuf, ptr %26, i64 0, i32 1
%60 = load ptr, ptr %59, align 8, !tbaa !12
%61 = load ptr, ptr %5, align 8, !tbaa !5
%62 = getelementptr inbounds %struct.mbuf, ptr %61, i64 0, i32 1
store ptr %60, ptr %62, align 8, !tbaa !12
%63 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %26, i32 noundef %3) #2
br label %64
64: ; preds = %58, %83, %114, %128, %152, %163, %210, %176
%65 = load ptr, ptr %5, align 8, !tbaa !5
%66 = getelementptr inbounds %struct.mbuf, ptr %65, i64 0, i32 1
%67 = load ptr, ptr %66, align 8, !tbaa !12
%68 = icmp eq ptr %67, null
br i1 %68, label %287, label %25
69: ; preds = %44, %25
%70 = getelementptr inbounds %struct.tcphdr, ptr %28, i64 0, i32 1
%71 = load i32, ptr %70, align 4, !tbaa !19
%72 = load i32, ptr @TH_ACK, align 4, !tbaa !17
%73 = load i32, ptr @TH_PUSH, align 4, !tbaa !17
%74 = or i32 %73, %72
%75 = xor i32 %74, -1
%76 = and i32 %71, %75
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %83
78: ; preds = %69
%79 = load ptr, ptr %5, align 8, !tbaa !5
%80 = getelementptr inbounds %struct.mbuf, ptr %79, i64 0, i32 1
%81 = load ptr, ptr %80, align 8, !tbaa !12
%82 = icmp eq ptr %81, null
br i1 %82, label %287, label %89
83: ; preds = %69
%84 = getelementptr inbounds %struct.mbuf, ptr %26, i64 0, i32 1
%85 = load ptr, ptr %84, align 8, !tbaa !12
%86 = load ptr, ptr %5, align 8, !tbaa !5
%87 = getelementptr inbounds %struct.mbuf, ptr %86, i64 0, i32 1
store ptr %85, ptr %87, align 8, !tbaa !12
%88 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %26, i32 noundef %3) #2
br label %64
89: ; preds = %78, %261
%90 = phi ptr [ %264, %261 ], [ %81, %78 ]
%91 = phi ptr [ %263, %261 ], [ %80, %78 ]
%92 = getelementptr inbounds %struct.mbuf, ptr %90, i64 0, i32 1
%93 = load ptr, ptr %92, align 8, !tbaa !12
store ptr %93, ptr %91, align 8, !tbaa !12
store ptr null, ptr %92, align 8, !tbaa !12
%94 = load i64, ptr %90, align 8, !tbaa !20
%95 = tail call ptr @tcp_lro_get_th(ptr noundef nonnull %2, ptr noundef nonnull %90) #2
%96 = icmp ne ptr %95, null
%97 = zext i1 %96 to i32
%98 = tail call i32 @KASSERT(i32 noundef %97, ptr noundef nonnull %90) #2
%99 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 1
%100 = load i32, ptr %95, align 8, !tbaa !15
%101 = shl i32 %100, 2
%102 = add i32 %101, -32
br i1 %13, label %103, label %108
103: ; preds = %89
%104 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 1, i64 noundef 0, i64 noundef 0, i64 noundef 0, i64 noundef 0) #2
%105 = load i64, ptr %2, align 8, !tbaa !21
%106 = load i64, ptr %1, align 8, !tbaa !22
%107 = icmp slt i64 %105, %106
br i1 %107, label %116, label %112
108: ; preds = %89
%109 = load i64, ptr %2, align 8, !tbaa !21
%110 = load i64, ptr %1, align 8, !tbaa !22
%111 = icmp slt i64 %109, %110
br i1 %111, label %121, label %114
112: ; preds = %103
%113 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 2, i64 noundef 0, i64 noundef 0, i64 noundef 0, i64 noundef 0) #2
br label %114
114: ; preds = %108, %112
%115 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
116: ; preds = %103
%117 = load i64, ptr %14, align 8, !tbaa !24
%118 = load i64, ptr %15, align 8, !tbaa !25
%119 = sub nsw i64 %118, %94
%120 = icmp sgt i64 %117, %119
br i1 %120, label %126, label %130
121: ; preds = %108
%122 = load i64, ptr %14, align 8, !tbaa !24
%123 = load i64, ptr %15, align 8, !tbaa !25
%124 = sub nsw i64 %123, %94
%125 = icmp sgt i64 %122, %124
br i1 %125, label %128, label %130
126: ; preds = %116
%127 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 3, i64 noundef %94, i64 noundef 0, i64 noundef 0, i64 noundef 0) #2
br label %128
128: ; preds = %121, %126
%129 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
130: ; preds = %121, %116
%131 = icmp eq i32 %102, 0
br i1 %131, label %154, label %132
132: ; preds = %130
%133 = load i32, ptr @TCPOLEN_TSTAMP_APPA, align 4, !tbaa !17
%134 = icmp ne i32 %102, %133
%135 = zext i1 %134 to i32
%136 = tail call i64 @__predict_false(i32 noundef %135) #2
%137 = icmp eq i64 %136, 0
br i1 %137, label %138, label %152
138: ; preds = %132
%139 = load i64, ptr %99, align 8, !tbaa !18
%140 = load i32, ptr @TCPOPT_NOP, align 4, !tbaa !17
%141 = shl i32 %140, 24
%142 = shl i32 %140, 16
%143 = or i32 %141, %142
%144 = load i32, ptr @TCPOPT_TIMESTAMP, align 4, !tbaa !17
%145 = shl i32 %144, 8
%146 = or i32 %143, %145
%147 = load i32, ptr @TCPOLEN_TIMESTAMP, align 4, !tbaa !17
%148 = or i32 %146, %147
%149 = sext i32 %148 to i64
%150 = tail call i64 @ntohl(i64 noundef %149) #2
%151 = icmp eq i64 %139, %150
br i1 %151, label %154, label %152
152: ; preds = %138, %132
%153 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
154: ; preds = %138, %130
%155 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 1
%156 = load i32, ptr %155, align 4, !tbaa !19
%157 = load i32, ptr @TH_ACK, align 4, !tbaa !17
%158 = load i32, ptr @TH_PUSH, align 4, !tbaa !17
%159 = or i32 %158, %157
%160 = xor i32 %159, -1
%161 = and i32 %156, %160
%162 = icmp eq i32 %161, 0
br i1 %162, label %165, label %163
163: ; preds = %154
%164 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
165: ; preds = %154
br i1 %131, label %178, label %166
166: ; preds = %165
%167 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 1, i32 2
%168 = load i64, ptr %167, align 8, !tbaa !18
%169 = tail call i64 @ntohl(i64 noundef %168) #2
%170 = load i64, ptr %16, align 8, !tbaa !26
%171 = tail call i64 @TSTMP_GT(i64 noundef %170, i64 noundef %169) #2
%172 = icmp eq i64 %171, 0
br i1 %172, label %173, label %176
173: ; preds = %166
store i64 %169, ptr %16, align 8, !tbaa !26
%174 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 1, i32 3
%175 = load i64, ptr %174, align 8, !tbaa !18
store i64 %175, ptr %17, align 8, !tbaa !27
br label %178
176: ; preds = %166
%177 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
178: ; preds = %173, %165
%179 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 2
%180 = load i64, ptr %179, align 8, !tbaa !28
%181 = tail call i64 @ntohl(i64 noundef %180) #2
%182 = load i64, ptr %18, align 8, !tbaa !29
%183 = icmp eq i64 %181, %182
br i1 %183, label %184, label %196
184: ; preds = %178
%185 = icmp eq i64 %94, 0
br i1 %185, label %186, label %196
186: ; preds = %184
%187 = load i64, ptr %19, align 8, !tbaa !30
%188 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 3
%189 = load i64, ptr %188, align 8, !tbaa !31
%190 = icmp eq i64 %187, %189
br i1 %190, label %191, label %196
191: ; preds = %186
%192 = load i64, ptr %20, align 8, !tbaa !32
%193 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 4
%194 = load i64, ptr %193, align 8, !tbaa !33
%195 = icmp eq i64 %192, %194
br label %196
196: ; preds = %184, %186, %191, %178
%197 = phi i1 [ true, %178 ], [ false, %186 ], [ false, %184 ], [ %195, %191 ]
%198 = zext i1 %197 to i32
%199 = tail call i64 @__predict_false(i32 noundef %198) #2
%200 = icmp eq i64 %199, 0
br i1 %200, label %212, label %201
201: ; preds = %196
br i1 %13, label %202, label %210
202: ; preds = %201
%203 = load i64, ptr %179, align 8, !tbaa !28
%204 = tail call i64 @ntohl(i64 noundef %203) #2
%205 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 3
%206 = load i64, ptr %205, align 8, !tbaa !31
%207 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 4
%208 = load i64, ptr %207, align 8, !tbaa !33
%209 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 4, i64 noundef %94, i64 noundef %204, i64 noundef %206, i64 noundef %208) #2
br label %210
210: ; preds = %202, %201
%211 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
212: ; preds = %196
%213 = icmp eq i64 %94, 0
br i1 %213, label %214, label %236
214: ; preds = %212
%215 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 3
%216 = load i64, ptr %215, align 8, !tbaa !31
%217 = tail call i64 @ntohl(i64 noundef %216) #2
%218 = load i64, ptr %19, align 8, !tbaa !30
%219 = tail call i64 @ntohl(i64 noundef %218) #2
%220 = tail call i64 @SEQ_GT(i64 noundef %217, i64 noundef %219) #2
%221 = icmp eq i64 %220, 0
br i1 %221, label %222, label %236
222: ; preds = %214
%223 = load i64, ptr %215, align 8, !tbaa !31
%224 = load i64, ptr %19, align 8, !tbaa !30
%225 = icmp eq i64 %223, %224
br i1 %225, label %226, label %231
226: ; preds = %222
%227 = load i64, ptr %20, align 8, !tbaa !32
%228 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 4
%229 = load i64, ptr %228, align 8, !tbaa !33
%230 = tail call i64 @WIN_MAX(i64 noundef %227, i64 noundef %229) #2
store i64 %230, ptr %20, align 8, !tbaa !32
br label %231
231: ; preds = %222, %226
%232 = getelementptr inbounds %struct.TYPE_3__, ptr %90, i64 0, i32 1
%233 = load i64, ptr %232, align 8, !tbaa !34
%234 = load i64, ptr %21, align 8, !tbaa !35
%235 = add nsw i64 %234, %233
store i64 %235, ptr %21, align 8, !tbaa !35
br label %246
236: ; preds = %212, %214
%237 = load i64, ptr %18, align 8, !tbaa !29
%238 = add nsw i64 %237, %94
store i64 %238, ptr %18, align 8, !tbaa !29
%239 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 3
%240 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 4
%241 = load <2 x i64>, ptr %239, align 8, !tbaa !18
store <2 x i64> %241, ptr %19, align 8, !tbaa !18
%242 = getelementptr inbounds %struct.TYPE_3__, ptr %90, i64 0, i32 1
%243 = load i64, ptr %242, align 8, !tbaa !34
%244 = load i64, ptr %21, align 8, !tbaa !35
%245 = add nsw i64 %244, %243
store i64 %245, ptr %21, align 8, !tbaa !35
br i1 %213, label %246, label %266
246: ; preds = %231, %236
%247 = load i64, ptr %2, align 8, !tbaa !21
%248 = add nsw i64 %247, 1
store i64 %248, ptr %2, align 8, !tbaa !21
%249 = load i32, ptr %24, align 4, !tbaa !36
%250 = add nsw i32 %249, -1
store i32 %250, ptr %24, align 4, !tbaa !36
br i1 %13, label %251, label %259
251: ; preds = %246
%252 = load i64, ptr %179, align 8, !tbaa !28
%253 = tail call i64 @ntohl(i64 noundef %252) #2
%254 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 3
%255 = load i64, ptr %254, align 8, !tbaa !31
%256 = getelementptr inbounds %struct.tcphdr, ptr %95, i64 0, i32 4
%257 = load i64, ptr %256, align 8, !tbaa !33
%258 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 5, i64 noundef 0, i64 noundef %253, i64 noundef %255, i64 noundef %257) #2
br label %259
259: ; preds = %251, %246
%260 = tail call i32 @m_freem(ptr noundef nonnull %90) #2
br label %261
261: ; preds = %259, %283
%262 = load ptr, ptr %5, align 8, !tbaa !5
%263 = getelementptr inbounds %struct.mbuf, ptr %262, i64 0, i32 1
%264 = load ptr, ptr %263, align 8, !tbaa !12
%265 = icmp eq ptr %264, null
br i1 %265, label %287, label %89, !llvm.loop !37
266: ; preds = %236
%267 = load i64, ptr %2, align 8, !tbaa !21
%268 = add nsw i64 %267, 1
store i64 %268, ptr %2, align 8, !tbaa !21
%269 = load i32, ptr %22, align 8, !tbaa !39
%270 = add nsw i32 %269, 1
store i32 %270, ptr %22, align 8, !tbaa !39
%271 = load i64, ptr %14, align 8, !tbaa !24
%272 = add nsw i64 %271, %94
store i64 %272, ptr %14, align 8, !tbaa !24
%273 = getelementptr inbounds %struct.TYPE_3__, ptr %90, i64 0, i32 2
%274 = load i64, ptr %273, align 8, !tbaa !40
%275 = sub nsw i64 %274, %94
%276 = tail call i32 @m_adj(ptr noundef nonnull %90, i64 noundef %275) #2
br i1 %13, label %277, label %283
277: ; preds = %266
%278 = load i64, ptr %179, align 8, !tbaa !28
%279 = tail call i64 @ntohl(i64 noundef %278) #2
%280 = load i64, ptr %239, align 8, !tbaa !31
%281 = load i64, ptr %240, align 8, !tbaa !33
%282 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 6, i64 noundef %94, i64 noundef %279, i64 noundef %280, i64 noundef %281) #2
br label %283
283: ; preds = %277, %266
%284 = tail call i32 @m_demote_pkthdr(ptr noundef nonnull %90) #2
%285 = load ptr, ptr %23, align 8, !tbaa !41
store ptr %90, ptr %285, align 8, !tbaa !42
%286 = tail call ptr @m_last(ptr noundef nonnull %90) #2
store ptr %286, ptr %23, align 8, !tbaa !41
br label %261
287: ; preds = %64, %78, %261, %4
ret void
}
declare ptr @tcp_lro_get_th(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @__predict_false(i32 noundef) local_unnamed_addr #1
declare i64 @ntohl(i64 noundef) local_unnamed_addr #1
declare i32 @tcp_push_and_replace(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcp_lro_log(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @TSTMP_GT(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @SEQ_GT(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @WIN_MAX(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @m_freem(ptr noundef) local_unnamed_addr #1
declare i32 @m_adj(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @m_demote_pkthdr(ptr noundef) local_unnamed_addr #1
declare ptr @m_last(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 = !{!"lro_entry", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !11, i64 56, !11, i64 60, !7, i64 64, !7, i64 72, !10, i64 80}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !10, i64 24}
!13 = !{!"mbuf", !14, i64 0, !10, i64 24}
!14 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !7, i64 16}
!15 = !{!16, !11, i64 0}
!16 = !{!"tcphdr", !11, i64 0, !11, i64 4, !7, i64 8, !7, i64 16, !7, i64 24}
!17 = !{!11, !11, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!16, !11, i64 4}
!20 = !{!13, !7, i64 0}
!21 = !{!6, !7, i64 0}
!22 = !{!23, !7, i64 0}
!23 = !{!"lro_ctrl", !7, i64 0, !7, i64 8}
!24 = !{!6, !7, i64 8}
!25 = !{!23, !7, i64 8}
!26 = !{!6, !7, i64 72}
!27 = !{!6, !7, i64 64}
!28 = !{!16, !7, i64 8}
!29 = !{!6, !7, i64 16}
!30 = !{!6, !7, i64 24}
!31 = !{!16, !7, i64 16}
!32 = !{!6, !7, i64 32}
!33 = !{!16, !7, i64 24}
!34 = !{!13, !7, i64 8}
!35 = !{!6, !7, i64 40}
!36 = !{!6, !11, i64 60}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!6, !11, i64 56}
!40 = !{!13, !7, i64 16}
!41 = !{!6, !10, i64 48}
!42 = !{!43, !10, i64 0}
!43 = !{!"TYPE_4__", !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_tcp_lro.c_tcp_lro_condense.c'
source_filename = "AnghaBench/freebsd/sys/netinet/extr_tcp_lro.c_tcp_lro_condense.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TCPOLEN_TSTAMP_APPA = common local_unnamed_addr global i32 0, align 4
@TCPOPT_NOP = common local_unnamed_addr global i32 0, align 4
@TCPOPT_TIMESTAMP = common local_unnamed_addr global i32 0, align 4
@TCPOLEN_TIMESTAMP = common local_unnamed_addr global i32 0, align 4
@TH_ACK = common local_unnamed_addr global i32 0, align 4
@TH_PUSH = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tcp_lro_condense], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tcp_lro_condense(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %2, i64 80
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 24
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = icmp eq ptr %8, null
br i1 %9, label %287, label %10
10: ; preds = %4
%11 = icmp ne ptr %0, null
%12 = icmp ne i32 %3, 0
%13 = and i1 %11, %12
%14 = getelementptr inbounds i8, ptr %2, i64 8
%15 = getelementptr inbounds i8, ptr %1, i64 8
%16 = getelementptr inbounds i8, ptr %2, i64 72
%17 = getelementptr inbounds i8, ptr %2, i64 64
%18 = getelementptr inbounds i8, ptr %2, i64 16
%19 = getelementptr inbounds i8, ptr %2, i64 24
%20 = getelementptr inbounds i8, ptr %2, i64 32
%21 = getelementptr inbounds i8, ptr %2, i64 40
%22 = getelementptr inbounds i8, ptr %2, i64 56
%23 = getelementptr inbounds i8, ptr %2, i64 48
%24 = getelementptr inbounds i8, ptr %2, i64 60
br label %25
25: ; preds = %10, %64
%26 = phi ptr [ %8, %10 ], [ %67, %64 ]
%27 = phi ptr [ %6, %10 ], [ %65, %64 ]
%28 = tail call ptr @tcp_lro_get_th(ptr noundef nonnull %2, ptr noundef nonnull %27) #2
%29 = icmp ne ptr %28, null
%30 = zext i1 %29 to i32
%31 = load ptr, ptr %5, align 8, !tbaa !6
%32 = tail call i32 @KASSERT(i32 noundef %30, ptr noundef %31) #2
%33 = load i32, ptr %28, align 8, !tbaa !16
%34 = shl i32 %33, 2
%35 = add i32 %34, -32
%36 = getelementptr inbounds i8, ptr %28, i64 32
%37 = icmp eq i32 %35, 0
br i1 %37, label %69, label %38
38: ; preds = %25
%39 = load i32, ptr @TCPOLEN_TSTAMP_APPA, align 4, !tbaa !18
%40 = icmp ne i32 %35, %39
%41 = zext i1 %40 to i32
%42 = tail call i64 @__predict_false(i32 noundef %41) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %58
44: ; preds = %38
%45 = load i64, ptr %36, align 8, !tbaa !19
%46 = load i32, ptr @TCPOPT_NOP, align 4, !tbaa !18
%47 = shl i32 %46, 24
%48 = shl i32 %46, 16
%49 = or i32 %47, %48
%50 = load i32, ptr @TCPOPT_TIMESTAMP, align 4, !tbaa !18
%51 = shl i32 %50, 8
%52 = or i32 %49, %51
%53 = load i32, ptr @TCPOLEN_TIMESTAMP, align 4, !tbaa !18
%54 = or i32 %52, %53
%55 = sext i32 %54 to i64
%56 = tail call i64 @ntohl(i64 noundef %55) #2
%57 = icmp eq i64 %45, %56
br i1 %57, label %69, label %58
58: ; preds = %44, %38
%59 = getelementptr inbounds i8, ptr %26, i64 24
%60 = load ptr, ptr %59, align 8, !tbaa !13
%61 = load ptr, ptr %5, align 8, !tbaa !6
%62 = getelementptr inbounds i8, ptr %61, i64 24
store ptr %60, ptr %62, align 8, !tbaa !13
%63 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %26, i32 noundef %3) #2
br label %64
64: ; preds = %58, %83, %114, %128, %152, %163, %210, %176
%65 = load ptr, ptr %5, align 8, !tbaa !6
%66 = getelementptr inbounds i8, ptr %65, i64 24
%67 = load ptr, ptr %66, align 8, !tbaa !13
%68 = icmp eq ptr %67, null
br i1 %68, label %287, label %25
69: ; preds = %44, %25
%70 = getelementptr inbounds i8, ptr %28, i64 4
%71 = load i32, ptr %70, align 4, !tbaa !20
%72 = load i32, ptr @TH_ACK, align 4, !tbaa !18
%73 = load i32, ptr @TH_PUSH, align 4, !tbaa !18
%74 = or i32 %73, %72
%75 = xor i32 %74, -1
%76 = and i32 %71, %75
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %83
78: ; preds = %69
%79 = load ptr, ptr %5, align 8, !tbaa !6
%80 = getelementptr inbounds i8, ptr %79, i64 24
%81 = load ptr, ptr %80, align 8, !tbaa !13
%82 = icmp eq ptr %81, null
br i1 %82, label %287, label %89
83: ; preds = %69
%84 = getelementptr inbounds i8, ptr %26, i64 24
%85 = load ptr, ptr %84, align 8, !tbaa !13
%86 = load ptr, ptr %5, align 8, !tbaa !6
%87 = getelementptr inbounds i8, ptr %86, i64 24
store ptr %85, ptr %87, align 8, !tbaa !13
%88 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %26, i32 noundef %3) #2
br label %64
89: ; preds = %78, %261
%90 = phi ptr [ %264, %261 ], [ %81, %78 ]
%91 = phi ptr [ %263, %261 ], [ %80, %78 ]
%92 = getelementptr inbounds i8, ptr %90, i64 24
%93 = load ptr, ptr %92, align 8, !tbaa !13
store ptr %93, ptr %91, align 8, !tbaa !13
store ptr null, ptr %92, align 8, !tbaa !13
%94 = load i64, ptr %90, align 8, !tbaa !21
%95 = tail call ptr @tcp_lro_get_th(ptr noundef nonnull %2, ptr noundef nonnull %90) #2
%96 = icmp ne ptr %95, null
%97 = zext i1 %96 to i32
%98 = tail call i32 @KASSERT(i32 noundef %97, ptr noundef nonnull %90) #2
%99 = getelementptr inbounds i8, ptr %95, i64 32
%100 = load i32, ptr %95, align 8, !tbaa !16
%101 = shl i32 %100, 2
%102 = add i32 %101, -32
br i1 %13, label %103, label %108
103: ; preds = %89
%104 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 1, i64 noundef 0, i64 noundef 0, i64 noundef 0, i64 noundef 0) #2
%105 = load i64, ptr %2, align 8, !tbaa !22
%106 = load i64, ptr %1, align 8, !tbaa !23
%107 = icmp slt i64 %105, %106
br i1 %107, label %116, label %112
108: ; preds = %89
%109 = load i64, ptr %2, align 8, !tbaa !22
%110 = load i64, ptr %1, align 8, !tbaa !23
%111 = icmp slt i64 %109, %110
br i1 %111, label %121, label %114
112: ; preds = %103
%113 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 2, i64 noundef 0, i64 noundef 0, i64 noundef 0, i64 noundef 0) #2
br label %114
114: ; preds = %108, %112
%115 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
116: ; preds = %103
%117 = load i64, ptr %14, align 8, !tbaa !25
%118 = load i64, ptr %15, align 8, !tbaa !26
%119 = sub nsw i64 %118, %94
%120 = icmp sgt i64 %117, %119
br i1 %120, label %126, label %130
121: ; preds = %108
%122 = load i64, ptr %14, align 8, !tbaa !25
%123 = load i64, ptr %15, align 8, !tbaa !26
%124 = sub nsw i64 %123, %94
%125 = icmp sgt i64 %122, %124
br i1 %125, label %128, label %130
126: ; preds = %116
%127 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 3, i64 noundef %94, i64 noundef 0, i64 noundef 0, i64 noundef 0) #2
br label %128
128: ; preds = %121, %126
%129 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
130: ; preds = %121, %116
%131 = icmp eq i32 %102, 0
br i1 %131, label %154, label %132
132: ; preds = %130
%133 = load i32, ptr @TCPOLEN_TSTAMP_APPA, align 4, !tbaa !18
%134 = icmp ne i32 %102, %133
%135 = zext i1 %134 to i32
%136 = tail call i64 @__predict_false(i32 noundef %135) #2
%137 = icmp eq i64 %136, 0
br i1 %137, label %138, label %152
138: ; preds = %132
%139 = load i64, ptr %99, align 8, !tbaa !19
%140 = load i32, ptr @TCPOPT_NOP, align 4, !tbaa !18
%141 = shl i32 %140, 24
%142 = shl i32 %140, 16
%143 = or i32 %141, %142
%144 = load i32, ptr @TCPOPT_TIMESTAMP, align 4, !tbaa !18
%145 = shl i32 %144, 8
%146 = or i32 %143, %145
%147 = load i32, ptr @TCPOLEN_TIMESTAMP, align 4, !tbaa !18
%148 = or i32 %146, %147
%149 = sext i32 %148 to i64
%150 = tail call i64 @ntohl(i64 noundef %149) #2
%151 = icmp eq i64 %139, %150
br i1 %151, label %154, label %152
152: ; preds = %138, %132
%153 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
154: ; preds = %138, %130
%155 = getelementptr inbounds i8, ptr %95, i64 4
%156 = load i32, ptr %155, align 4, !tbaa !20
%157 = load i32, ptr @TH_ACK, align 4, !tbaa !18
%158 = load i32, ptr @TH_PUSH, align 4, !tbaa !18
%159 = or i32 %158, %157
%160 = xor i32 %159, -1
%161 = and i32 %156, %160
%162 = icmp eq i32 %161, 0
br i1 %162, label %165, label %163
163: ; preds = %154
%164 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
165: ; preds = %154
br i1 %131, label %178, label %166
166: ; preds = %165
%167 = getelementptr inbounds i8, ptr %95, i64 40
%168 = load i64, ptr %167, align 8, !tbaa !19
%169 = tail call i64 @ntohl(i64 noundef %168) #2
%170 = load i64, ptr %16, align 8, !tbaa !27
%171 = tail call i64 @TSTMP_GT(i64 noundef %170, i64 noundef %169) #2
%172 = icmp eq i64 %171, 0
br i1 %172, label %173, label %176
173: ; preds = %166
store i64 %169, ptr %16, align 8, !tbaa !27
%174 = getelementptr inbounds i8, ptr %95, i64 48
%175 = load i64, ptr %174, align 8, !tbaa !19
store i64 %175, ptr %17, align 8, !tbaa !28
br label %178
176: ; preds = %166
%177 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
178: ; preds = %173, %165
%179 = getelementptr inbounds i8, ptr %95, i64 8
%180 = load i64, ptr %179, align 8, !tbaa !29
%181 = tail call i64 @ntohl(i64 noundef %180) #2
%182 = load i64, ptr %18, align 8, !tbaa !30
%183 = icmp eq i64 %181, %182
br i1 %183, label %184, label %196
184: ; preds = %178
%185 = icmp eq i64 %94, 0
br i1 %185, label %186, label %196
186: ; preds = %184
%187 = load i64, ptr %19, align 8, !tbaa !31
%188 = getelementptr inbounds i8, ptr %95, i64 16
%189 = load i64, ptr %188, align 8, !tbaa !32
%190 = icmp eq i64 %187, %189
br i1 %190, label %191, label %196
191: ; preds = %186
%192 = load i64, ptr %20, align 8, !tbaa !33
%193 = getelementptr inbounds i8, ptr %95, i64 24
%194 = load i64, ptr %193, align 8, !tbaa !34
%195 = icmp eq i64 %192, %194
br label %196
196: ; preds = %184, %186, %191, %178
%197 = phi i1 [ true, %178 ], [ false, %186 ], [ false, %184 ], [ %195, %191 ]
%198 = zext i1 %197 to i32
%199 = tail call i64 @__predict_false(i32 noundef %198) #2
%200 = icmp eq i64 %199, 0
br i1 %200, label %212, label %201
201: ; preds = %196
br i1 %13, label %202, label %210
202: ; preds = %201
%203 = load i64, ptr %179, align 8, !tbaa !29
%204 = tail call i64 @ntohl(i64 noundef %203) #2
%205 = getelementptr inbounds i8, ptr %95, i64 16
%206 = load i64, ptr %205, align 8, !tbaa !32
%207 = getelementptr inbounds i8, ptr %95, i64 24
%208 = load i64, ptr %207, align 8, !tbaa !34
%209 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 4, i64 noundef %94, i64 noundef %204, i64 noundef %206, i64 noundef %208) #2
br label %210
210: ; preds = %202, %201
%211 = tail call i32 @tcp_push_and_replace(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef %3) #2
br label %64
212: ; preds = %196
%213 = icmp eq i64 %94, 0
br i1 %213, label %214, label %236
214: ; preds = %212
%215 = getelementptr inbounds i8, ptr %95, i64 16
%216 = load i64, ptr %215, align 8, !tbaa !32
%217 = tail call i64 @ntohl(i64 noundef %216) #2
%218 = load i64, ptr %19, align 8, !tbaa !31
%219 = tail call i64 @ntohl(i64 noundef %218) #2
%220 = tail call i64 @SEQ_GT(i64 noundef %217, i64 noundef %219) #2
%221 = icmp eq i64 %220, 0
br i1 %221, label %222, label %236
222: ; preds = %214
%223 = load i64, ptr %215, align 8, !tbaa !32
%224 = load i64, ptr %19, align 8, !tbaa !31
%225 = icmp eq i64 %223, %224
br i1 %225, label %226, label %231
226: ; preds = %222
%227 = load i64, ptr %20, align 8, !tbaa !33
%228 = getelementptr inbounds i8, ptr %95, i64 24
%229 = load i64, ptr %228, align 8, !tbaa !34
%230 = tail call i64 @WIN_MAX(i64 noundef %227, i64 noundef %229) #2
store i64 %230, ptr %20, align 8, !tbaa !33
br label %231
231: ; preds = %222, %226
%232 = getelementptr inbounds i8, ptr %90, i64 8
%233 = load i64, ptr %232, align 8, !tbaa !35
%234 = load i64, ptr %21, align 8, !tbaa !36
%235 = add nsw i64 %234, %233
store i64 %235, ptr %21, align 8, !tbaa !36
br label %246
236: ; preds = %212, %214
%237 = load i64, ptr %18, align 8, !tbaa !30
%238 = add nsw i64 %237, %94
store i64 %238, ptr %18, align 8, !tbaa !30
%239 = getelementptr inbounds i8, ptr %95, i64 16
%240 = getelementptr inbounds i8, ptr %95, i64 24
%241 = load <2 x i64>, ptr %239, align 8, !tbaa !19
store <2 x i64> %241, ptr %19, align 8, !tbaa !19
%242 = getelementptr inbounds i8, ptr %90, i64 8
%243 = load i64, ptr %242, align 8, !tbaa !35
%244 = load i64, ptr %21, align 8, !tbaa !36
%245 = add nsw i64 %244, %243
store i64 %245, ptr %21, align 8, !tbaa !36
br i1 %213, label %246, label %266
246: ; preds = %231, %236
%247 = load i64, ptr %2, align 8, !tbaa !22
%248 = add nsw i64 %247, 1
store i64 %248, ptr %2, align 8, !tbaa !22
%249 = load i32, ptr %24, align 4, !tbaa !37
%250 = add nsw i32 %249, -1
store i32 %250, ptr %24, align 4, !tbaa !37
br i1 %13, label %251, label %259
251: ; preds = %246
%252 = load i64, ptr %179, align 8, !tbaa !29
%253 = tail call i64 @ntohl(i64 noundef %252) #2
%254 = getelementptr inbounds i8, ptr %95, i64 16
%255 = load i64, ptr %254, align 8, !tbaa !32
%256 = getelementptr inbounds i8, ptr %95, i64 24
%257 = load i64, ptr %256, align 8, !tbaa !34
%258 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 5, i64 noundef 0, i64 noundef %253, i64 noundef %255, i64 noundef %257) #2
br label %259
259: ; preds = %251, %246
%260 = tail call i32 @m_freem(ptr noundef nonnull %90) #2
br label %261
261: ; preds = %259, %283
%262 = load ptr, ptr %5, align 8, !tbaa !6
%263 = getelementptr inbounds i8, ptr %262, i64 24
%264 = load ptr, ptr %263, align 8, !tbaa !13
%265 = icmp eq ptr %264, null
br i1 %265, label %287, label %89, !llvm.loop !38
266: ; preds = %236
%267 = load i64, ptr %2, align 8, !tbaa !22
%268 = add nsw i64 %267, 1
store i64 %268, ptr %2, align 8, !tbaa !22
%269 = load i32, ptr %22, align 8, !tbaa !40
%270 = add nsw i32 %269, 1
store i32 %270, ptr %22, align 8, !tbaa !40
%271 = load i64, ptr %14, align 8, !tbaa !25
%272 = add nsw i64 %271, %94
store i64 %272, ptr %14, align 8, !tbaa !25
%273 = getelementptr inbounds i8, ptr %90, i64 16
%274 = load i64, ptr %273, align 8, !tbaa !41
%275 = sub nsw i64 %274, %94
%276 = tail call i32 @m_adj(ptr noundef nonnull %90, i64 noundef %275) #2
br i1 %13, label %277, label %283
277: ; preds = %266
%278 = load i64, ptr %179, align 8, !tbaa !29
%279 = tail call i64 @ntohl(i64 noundef %278) #2
%280 = load i64, ptr %239, align 8, !tbaa !32
%281 = load i64, ptr %240, align 8, !tbaa !34
%282 = tail call i32 @tcp_lro_log(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %90, i32 noundef 6, i64 noundef %94, i64 noundef %279, i64 noundef %280, i64 noundef %281) #2
br label %283
283: ; preds = %277, %266
%284 = tail call i32 @m_demote_pkthdr(ptr noundef nonnull %90) #2
%285 = load ptr, ptr %23, align 8, !tbaa !42
store ptr %90, ptr %285, align 8, !tbaa !43
%286 = tail call ptr @m_last(ptr noundef nonnull %90) #2
store ptr %286, ptr %23, align 8, !tbaa !42
br label %261
287: ; preds = %64, %78, %261, %4
ret void
}
declare ptr @tcp_lro_get_th(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @__predict_false(i32 noundef) local_unnamed_addr #1
declare i64 @ntohl(i64 noundef) local_unnamed_addr #1
declare i32 @tcp_push_and_replace(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tcp_lro_log(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @TSTMP_GT(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @SEQ_GT(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @WIN_MAX(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @m_freem(ptr noundef) local_unnamed_addr #1
declare i32 @m_adj(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @m_demote_pkthdr(ptr noundef) local_unnamed_addr #1
declare ptr @m_last(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 = !{!"lro_entry", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !11, i64 48, !12, i64 56, !12, i64 60, !8, i64 64, !8, i64 72, !11, i64 80}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !11, i64 24}
!14 = !{!"mbuf", !15, i64 0, !11, i64 24}
!15 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !8, i64 16}
!16 = !{!17, !12, i64 0}
!17 = !{!"tcphdr", !12, i64 0, !12, i64 4, !8, i64 8, !8, i64 16, !8, i64 24}
!18 = !{!12, !12, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!17, !12, i64 4}
!21 = !{!14, !8, i64 0}
!22 = !{!7, !8, i64 0}
!23 = !{!24, !8, i64 0}
!24 = !{!"lro_ctrl", !8, i64 0, !8, i64 8}
!25 = !{!7, !8, i64 8}
!26 = !{!24, !8, i64 8}
!27 = !{!7, !8, i64 72}
!28 = !{!7, !8, i64 64}
!29 = !{!17, !8, i64 8}
!30 = !{!7, !8, i64 16}
!31 = !{!7, !8, i64 24}
!32 = !{!17, !8, i64 16}
!33 = !{!7, !8, i64 32}
!34 = !{!17, !8, i64 24}
!35 = !{!14, !8, i64 8}
!36 = !{!7, !8, i64 40}
!37 = !{!7, !12, i64 60}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!7, !12, i64 56}
!41 = !{!14, !8, i64 16}
!42 = !{!7, !11, i64 48}
!43 = !{!44, !11, i64 0}
!44 = !{!"TYPE_4__", !11, i64 0}
| freebsd_sys_netinet_extr_tcp_lro.c_tcp_lro_condense |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ax-gdb.c_gen_binop.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ax-gdb.c_gen_binop.c"
target datalayout = "e-m:e-p270:32:32-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.axs_value = type { i32, i32 }
@TYPE_CODE_INT = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [36 x i8] c"Illegal combination of types in %s.\00", align 1
@axs_rvalue = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gen_binop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gen_binop(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = getelementptr inbounds %struct.axs_value, ptr %2, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !5
%11 = tail call i64 @TYPE_CODE(i32 noundef %10) #2
%12 = load i64, ptr @TYPE_CODE_INT, align 8, !tbaa !10
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %8
%15 = getelementptr inbounds %struct.axs_value, ptr %3, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !5
%17 = tail call i64 @TYPE_CODE(i32 noundef %16) #2
%18 = load i64, ptr @TYPE_CODE_INT, align 8, !tbaa !10
%19 = icmp eq i64 %17, %18
br i1 %19, label %22, label %20
20: ; preds = %14, %8
%21 = tail call i32 @error(ptr noundef nonnull @.str, ptr noundef %7) #2
br label %22
22: ; preds = %20, %14
%23 = load i32, ptr %9, align 4, !tbaa !5
%24 = tail call i64 @TYPE_UNSIGNED(i32 noundef %23) #2
%25 = icmp eq i64 %24, 0
%26 = select i1 %25, i32 %4, i32 %5
%27 = tail call i32 @ax_simple(ptr noundef %0, i32 noundef %26) #2
%28 = icmp eq i32 %6, 0
br i1 %28, label %32, label %29
29: ; preds = %22
%30 = load i32, ptr %9, align 4, !tbaa !5
%31 = tail call i32 @gen_extend(ptr noundef %0, i32 noundef %30) #2
br label %32
32: ; preds = %29, %22
%33 = load i32, ptr %9, align 4, !tbaa !5
%34 = getelementptr inbounds %struct.axs_value, ptr %1, i64 0, i32 1
store i32 %33, ptr %34, align 4, !tbaa !5
%35 = load i32, ptr @axs_rvalue, align 4, !tbaa !12
store i32 %35, ptr %1, align 4, !tbaa !13
ret void
}
declare i64 @TYPE_CODE(i32 noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ax_simple(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @TYPE_UNSIGNED(i32 noundef) local_unnamed_addr #1
declare i32 @gen_extend(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 4}
!6 = !{!"axs_value", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ax-gdb.c_gen_binop.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ax-gdb.c_gen_binop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TYPE_CODE_INT = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [36 x i8] c"Illegal combination of types in %s.\00", align 1
@axs_rvalue = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gen_binop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gen_binop(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7) #0 {
%9 = getelementptr inbounds i8, ptr %2, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !6
%11 = tail call i64 @TYPE_CODE(i32 noundef %10) #2
%12 = load i64, ptr @TYPE_CODE_INT, align 8, !tbaa !11
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %20
14: ; preds = %8
%15 = getelementptr inbounds i8, ptr %3, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !6
%17 = tail call i64 @TYPE_CODE(i32 noundef %16) #2
%18 = load i64, ptr @TYPE_CODE_INT, align 8, !tbaa !11
%19 = icmp eq i64 %17, %18
br i1 %19, label %22, label %20
20: ; preds = %14, %8
%21 = tail call i32 @error(ptr noundef nonnull @.str, ptr noundef %7) #2
br label %22
22: ; preds = %20, %14
%23 = load i32, ptr %9, align 4, !tbaa !6
%24 = tail call i64 @TYPE_UNSIGNED(i32 noundef %23) #2
%25 = icmp eq i64 %24, 0
%26 = select i1 %25, i32 %4, i32 %5
%27 = tail call i32 @ax_simple(ptr noundef %0, i32 noundef %26) #2
%28 = icmp eq i32 %6, 0
br i1 %28, label %32, label %29
29: ; preds = %22
%30 = load i32, ptr %9, align 4, !tbaa !6
%31 = tail call i32 @gen_extend(ptr noundef %0, i32 noundef %30) #2
br label %32
32: ; preds = %29, %22
%33 = load i32, ptr %9, align 4, !tbaa !6
%34 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %33, ptr %34, align 4, !tbaa !6
%35 = load i32, ptr @axs_rvalue, align 4, !tbaa !13
store i32 %35, ptr %1, align 4, !tbaa !14
ret void
}
declare i64 @TYPE_CODE(i32 noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ax_simple(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @TYPE_UNSIGNED(i32 noundef) local_unnamed_addr #1
declare i32 @gen_extend(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 4}
!7 = !{!"axs_value", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 0}
| freebsd_contrib_gdb_gdb_extr_ax-gdb.c_gen_binop |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_delta.c_delta_setup_spdif.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_delta.c_delta_setup_spdif.c"
target datalayout = "e-m:e-p270:32:32-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_ice1712 = type { %struct.TYPE_4__, i32, i32 }
%struct.TYPE_4__ = type { i32, ptr }
@SNDRV_CTL_EVENT_MASK_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @delta_setup_spdif], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @delta_setup_spdif(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.snd_ice1712, ptr %0, i64 0, i32 2
%4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #2
%5 = load i32, ptr %0, align 8, !tbaa !5
%6 = and i32 %5, 1
%7 = icmp eq i32 %6, 0
%8 = and i32 %5, -7
%9 = select i1 %7, i32 %5, i32 %8
switch i32 %1, label %21 [
i32 32000, label %10
i32 44100, label %13
i32 48000, label %17
]
10: ; preds = %2
%11 = shl i32 %9, 2
%12 = and i32 %11, 4
br label %25
13: ; preds = %2
%14 = shl i32 %9, 4
%15 = and i32 %14, 16
%16 = xor i32 %15, 16
br label %25
17: ; preds = %2
%18 = and i32 %9, 1
%19 = icmp eq i32 %18, 0
%20 = select i1 %19, i32 8, i32 2
br label %25
21: ; preds = %2
%22 = and i32 %9, 1
%23 = icmp eq i32 %22, 0
%24 = select i1 %23, i32 24, i32 0
br label %25
25: ; preds = %21, %17, %13, %10
%26 = phi i32 [ %24, %21 ], [ %20, %17 ], [ %16, %13 ], [ %12, %10 ]
%27 = or i32 %26, %9
%28 = icmp eq i32 %5, %27
store i32 %27, ptr %0, align 8, !tbaa !5
%29 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2
br i1 %28, label %37, label %30
30: ; preds = %25
%31 = getelementptr inbounds %struct.snd_ice1712, ptr %0, i64 0, i32 1
%32 = load i32, ptr %31, align 8, !tbaa !12
%33 = load i32, ptr @SNDRV_CTL_EVENT_MASK_VALUE, align 4, !tbaa !13
%34 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%35 = load ptr, ptr %34, align 8, !tbaa !14
%36 = tail call i32 @snd_ctl_notify(i32 noundef %32, i32 noundef %33, ptr noundef %35) #2
br label %37
37: ; preds = %30, %25
%38 = tail call i32 @snd_ice1712_delta_cs8403_spdif_write(ptr noundef nonnull %0, i32 noundef %27) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snd_ctl_notify(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_ice1712_delta_cs8403_spdif_write(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, !8, i64 0}
!6 = !{!"snd_ice1712", !7, i64 0, !8, i64 16, !8, i64 20}
!7 = !{!"TYPE_4__", !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 = !{!6, !8, i64 16}
!13 = !{!8, !8, i64 0}
!14 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_delta.c_delta_setup_spdif.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_delta.c_delta_setup_spdif.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDRV_CTL_EVENT_MASK_VALUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @delta_setup_spdif], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @delta_setup_spdif(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 20
%4 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %3, i64 noundef undef) #2
%5 = load i32, ptr %0, align 8, !tbaa !6
%6 = and i32 %5, 1
%7 = icmp eq i32 %6, 0
%8 = and i32 %5, -7
%9 = select i1 %7, i32 %5, i32 %8
switch i32 %1, label %21 [
i32 32000, label %10
i32 44100, label %13
i32 48000, label %17
]
10: ; preds = %2
%11 = shl i32 %9, 2
%12 = and i32 %11, 4
br label %25
13: ; preds = %2
%14 = shl i32 %9, 4
%15 = and i32 %14, 16
%16 = xor i32 %15, 16
br label %25
17: ; preds = %2
%18 = and i32 %9, 1
%19 = icmp eq i32 %18, 0
%20 = select i1 %19, i32 8, i32 2
br label %25
21: ; preds = %2
%22 = and i32 %9, 1
%23 = icmp eq i32 %22, 0
%24 = select i1 %23, i32 24, i32 0
br label %25
25: ; preds = %21, %17, %13, %10
%26 = phi i32 [ %24, %21 ], [ %20, %17 ], [ %16, %13 ], [ %12, %10 ]
%27 = or i32 %26, %9
%28 = icmp eq i32 %5, %27
store i32 %27, ptr %0, align 8, !tbaa !6
%29 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %3, i64 noundef undef) #2
br i1 %28, label %37, label %30
30: ; preds = %25
%31 = getelementptr inbounds i8, ptr %0, i64 16
%32 = load i32, ptr %31, align 8, !tbaa !13
%33 = load i32, ptr @SNDRV_CTL_EVENT_MASK_VALUE, align 4, !tbaa !14
%34 = getelementptr inbounds i8, ptr %0, i64 8
%35 = load ptr, ptr %34, align 8, !tbaa !15
%36 = tail call i32 @snd_ctl_notify(i32 noundef %32, i32 noundef %33, ptr noundef %35) #2
br label %37
37: ; preds = %30, %25
%38 = tail call i32 @snd_ice1712_delta_cs8403_spdif_write(ptr noundef nonnull %0, i32 noundef %27) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snd_ctl_notify(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_ice1712_delta_cs8403_spdif_write(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, !9, i64 0}
!7 = !{!"snd_ice1712", !8, i64 0, !9, i64 16, !9, i64 20}
!8 = !{!"TYPE_4__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!7, !9, i64 16}
!14 = !{!9, !9, i64 0}
!15 = !{!7, !12, i64 8}
| fastsocket_kernel_sound_pci_ice1712_extr_delta.c_delta_setup_spdif |
; ModuleID = 'AnghaBench/linux/fs/ext4/extr_ext4_jbd2.c_ext4_get_nojournal.c'
source_filename = "AnghaBench/linux/fs/ext4/extr_ext4_jbd2.c_ext4_get_nojournal.c"
target datalayout = "e-m:e-p270:32:32-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 local_unnamed_addr global ptr null, align 8
@EXT4_NOJOURNAL_MAX_REF_COUNT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ext4_get_nojournal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ext4_get_nojournal() #0 {
%1 = load ptr, ptr @current, align 8, !tbaa !5
%2 = load ptr, ptr %1, align 8, !tbaa !9
%3 = ptrtoint ptr %2 to i64
%4 = load i64, ptr @EXT4_NOJOURNAL_MAX_REF_COUNT, align 8, !tbaa !11
%5 = icmp ule i64 %4, %3
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = add i64 %3, 1
%9 = inttoptr i64 %8 to ptr
%10 = load ptr, ptr @current, align 8, !tbaa !5
store ptr %9, ptr %10, align 8, !tbaa !9
ret ptr %9
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/ext4/extr_ext4_jbd2.c_ext4_get_nojournal.c'
source_filename = "AnghaBench/linux/fs/ext4/extr_ext4_jbd2.c_ext4_get_nojournal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current = common local_unnamed_addr global ptr null, align 8
@EXT4_NOJOURNAL_MAX_REF_COUNT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ext4_get_nojournal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ext4_get_nojournal() #0 {
%1 = load ptr, ptr @current, align 8, !tbaa !6
%2 = load ptr, ptr %1, align 8, !tbaa !10
%3 = ptrtoint ptr %2 to i64
%4 = load i64, ptr @EXT4_NOJOURNAL_MAX_REF_COUNT, align 8, !tbaa !12
%5 = icmp ule i64 %4, %3
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = add i64 %3, 1
%9 = inttoptr i64 %8 to ptr
%10 = load ptr, ptr @current, align 8, !tbaa !6
store ptr %9, ptr %10, align 8, !tbaa !10
ret ptr %9
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
| linux_fs_ext4_extr_ext4_jbd2.c_ext4_get_nojournal |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c_i40e_handle_link_event.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c_i40e_handle_link_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i40e_aqc_get_link_status = type { i64, i32, i32 }
%struct.i40e_pf = type { i32, ptr }
@I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [89 x i8] c"Rx/Tx is disabled on this device because the module does not meet thermal requirements.\0A\00", align 1
@.str.1 = private unnamed_addr constant [97 x i8] c"Refer to the Intel(R) Ethernet Adapters and Devices User Guide for a list of supported modules.\0A\00", align 1
@I40E_AQ_MEDIA_AVAILABLE = dso_local local_unnamed_addr global i32 0, align 4
@I40E_AQ_QUALIFIED_MODULE = dso_local local_unnamed_addr global i32 0, align 4
@I40E_AQ_LINK_UP = dso_local local_unnamed_addr global i32 0, align 4
@I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [87 x i8] c"Rx/Tx is disabled on this device because an unsupported SFP module type was detected.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @i40e_handle_link_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @i40e_handle_link_event(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call i32 @i40e_link_event(ptr noundef %0) #2
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = load i64, ptr @I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %28, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.i40e_aqc_get_link_status, ptr %1, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr @I40E_AQ_MEDIA_AVAILABLE, align 4, !tbaa !13
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %35, label %13
13: ; preds = %7
%14 = getelementptr inbounds %struct.i40e_aqc_get_link_status, ptr %1, i64 0, i32 2
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = load i32, ptr @I40E_AQ_QUALIFIED_MODULE, align 4, !tbaa !13
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %35
19: ; preds = %13
%20 = load i32, ptr @I40E_AQ_LINK_UP, align 4, !tbaa !13
%21 = and i32 %20, %9
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %35
23: ; preds = %19
%24 = load i32, ptr %0, align 8, !tbaa !15
%25 = load i32, ptr @I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED, align 4, !tbaa !13
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %23, %2
%29 = phi ptr [ @.str, %2 ], [ @.str.2, %23 ]
%30 = getelementptr inbounds %struct.i40e_pf, ptr %0, i64 0, i32 1
%31 = load ptr, ptr %30, align 8, !tbaa !18
%32 = tail call i32 @dev_err(ptr noundef %31, ptr noundef nonnull %29) #2
%33 = load ptr, ptr %30, align 8, !tbaa !18
%34 = tail call i32 @dev_err(ptr noundef %33, ptr noundef nonnull @.str.1) #2
br label %35
35: ; preds = %28, %7, %13, %19, %23
ret void
}
declare i32 @i40e_link_event(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(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 = !{!"i40e_aqc_get_link_status", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 12}
!15 = !{!16, !10, i64 0}
!16 = !{!"i40e_pf", !10, i64 0, !17, i64 8}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!16, !17, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c_i40e_handle_link_event.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_main.c_i40e_handle_link_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [89 x i8] c"Rx/Tx is disabled on this device because the module does not meet thermal requirements.\0A\00", align 1
@.str.1 = private unnamed_addr constant [97 x i8] c"Refer to the Intel(R) Ethernet Adapters and Devices User Guide for a list of supported modules.\0A\00", align 1
@I40E_AQ_MEDIA_AVAILABLE = common local_unnamed_addr global i32 0, align 4
@I40E_AQ_QUALIFIED_MODULE = common local_unnamed_addr global i32 0, align 4
@I40E_AQ_LINK_UP = common local_unnamed_addr global i32 0, align 4
@I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [87 x i8] c"Rx/Tx is disabled on this device because an unsupported SFP module type was detected.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @i40e_handle_link_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @i40e_handle_link_event(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call i32 @i40e_link_event(ptr noundef %0) #2
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = load i64, ptr @I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %28, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = load i32, ptr @I40E_AQ_MEDIA_AVAILABLE, align 4, !tbaa !14
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %35, label %13
13: ; preds = %7
%14 = getelementptr inbounds i8, ptr %1, i64 12
%15 = load i32, ptr %14, align 4, !tbaa !15
%16 = load i32, ptr @I40E_AQ_QUALIFIED_MODULE, align 4, !tbaa !14
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %35
19: ; preds = %13
%20 = load i32, ptr @I40E_AQ_LINK_UP, align 4, !tbaa !14
%21 = and i32 %20, %9
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %35
23: ; preds = %19
%24 = load i32, ptr %0, align 8, !tbaa !16
%25 = load i32, ptr @I40E_FLAG_LINK_DOWN_ON_CLOSE_ENABLED, align 4, !tbaa !14
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %23, %2
%29 = phi ptr [ @.str, %2 ], [ @.str.2, %23 ]
%30 = getelementptr inbounds i8, ptr %0, i64 8
%31 = load ptr, ptr %30, align 8, !tbaa !19
%32 = tail call i32 @dev_err(ptr noundef %31, ptr noundef nonnull %29) #2
%33 = load ptr, ptr %30, align 8, !tbaa !19
%34 = tail call i32 @dev_err(ptr noundef %33, ptr noundef nonnull @.str.1) #2
br label %35
35: ; preds = %28, %7, %13, %19, %23
ret void
}
declare i32 @i40e_link_event(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(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 = !{!"i40e_aqc_get_link_status", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !11, i64 12}
!16 = !{!17, !11, i64 0}
!17 = !{!"i40e_pf", !11, i64 0, !18, i64 8}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!17, !18, i64 8}
| linux_drivers_net_ethernet_intel_i40e_extr_i40e_main.c_i40e_handle_link_event |
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_send.c_free_pending_move.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_send.c_free_pending_move.c"
target datalayout = "e-m:e-p270:32:32-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.pending_dir_move = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @free_pending_move], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @free_pending_move(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.pending_dir_move, ptr %1, i64 0, i32 2
%4 = tail call i32 @list_empty(ptr noundef nonnull %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @list_del(ptr noundef nonnull %3) #2
br label %8
8: ; preds = %6, %2
%9 = getelementptr inbounds %struct.pending_dir_move, ptr %1, i64 0, i32 1
%10 = tail call i32 @RB_EMPTY_NODE(ptr noundef nonnull %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @rb_erase(ptr noundef nonnull %9, ptr noundef %0) #2
br label %14
14: ; preds = %12, %8
%15 = tail call i32 @__free_recorded_refs(ptr noundef %1) #2
%16 = tail call i32 @kfree(ptr noundef %1) #2
ret void
}
declare i32 @list_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @RB_EMPTY_NODE(ptr noundef) local_unnamed_addr #1
declare i32 @rb_erase(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__free_recorded_refs(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)"}
| ; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_send.c_free_pending_move.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_send.c_free_pending_move.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @free_pending_move], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @free_pending_move(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = tail call i32 @list_empty(ptr noundef nonnull %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @list_del(ptr noundef nonnull %3) #2
br label %8
8: ; preds = %6, %2
%9 = getelementptr inbounds i8, ptr %1, i64 4
%10 = tail call i32 @RB_EMPTY_NODE(ptr noundef nonnull %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @rb_erase(ptr noundef nonnull %9, ptr noundef %0) #2
br label %14
14: ; preds = %12, %8
%15 = tail call i32 @__free_recorded_refs(ptr noundef %1) #2
%16 = tail call i32 @kfree(ptr noundef %1) #2
ret void
}
declare i32 @list_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @RB_EMPTY_NODE(ptr noundef) local_unnamed_addr #1
declare i32 @rb_erase(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__free_recorded_refs(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)"}
| linux_fs_btrfs_extr_send.c_free_pending_move |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/net/extr_h_nsd_recurse.c_func3.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/net/extr_h_nsd_recurse.c_func3.c"
target datalayout = "e-m:e-p270:32:32-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 [14 x i8] c"func3: enter\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"func3: exit\0A\00", align 1
@NS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @func3], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @func3(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 {
%4 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%6 = load i32, ptr @NS_SUCCESS, align 4, !tbaa !5
ret i32 %6
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/net/extr_h_nsd_recurse.c_func3.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/net/extr_h_nsd_recurse.c_func3.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 [14 x i8] c"func3: enter\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"func3: exit\0A\00", align 1
@NS_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @func3], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @func3(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 {
%4 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%5 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%6 = load i32, ptr @NS_SUCCESS, align 4, !tbaa !6
ret i32 %6
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_netbsd-tests_lib_libc_net_extr_h_nsd_recurse.c_func3 |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibmad/extr_portid.c_str2drpath.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibmad/extr_portid.c_str2drpath.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, ptr }
@.str = private unnamed_addr constant [11 x i8] c"DR str: %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @str2drpath(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
store i32 -1, ptr %0, align 8, !tbaa !5
%5 = icmp eq ptr %1, null
br i1 %5, label %39, label %6
6: ; preds = %4
%7 = tail call ptr @strdup(ptr noundef nonnull %1)
%8 = icmp eq ptr %7, null
br i1 %8, label %39, label %9
9: ; preds = %6
%10 = tail call i32 @DEBUG(ptr noundef nonnull @.str, ptr noundef nonnull %1) #3
%11 = load i8, ptr %7, align 1, !tbaa !11
%12 = icmp eq i8 %11, 0
br i1 %12, label %36, label %13
13: ; preds = %9
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
br label %15
15: ; preds = %13, %19
%16 = phi ptr [ %7, %13 ], [ %26, %19 ]
%17 = tail call ptr @strchr(ptr noundef nonnull %16, i8 noundef signext 44) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %29, label %19
19: ; preds = %15
store i8 0, ptr %17, align 1, !tbaa !11
%20 = tail call i64 @atoi(ptr noundef nonnull %16) #3
%21 = load ptr, ptr %14, align 8, !tbaa !12
%22 = load i32, ptr %0, align 8, !tbaa !5
%23 = add nsw i32 %22, 1
store i32 %23, ptr %0, align 8, !tbaa !5
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i64, ptr %21, i64 %24
store i64 %20, ptr %25, align 8, !tbaa !13
%26 = getelementptr inbounds i8, ptr %17, i64 1
%27 = load i8, ptr %26, align 1, !tbaa !11
%28 = icmp eq i8 %27, 0
br i1 %28, label %36, label %15, !llvm.loop !15
29: ; preds = %15
%30 = tail call i64 @atoi(ptr noundef nonnull %16) #3
%31 = load ptr, ptr %14, align 8, !tbaa !12
%32 = load i32, ptr %0, align 8, !tbaa !5
%33 = add nsw i32 %32, 1
store i32 %33, ptr %0, align 8, !tbaa !5
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i64, ptr %31, i64 %34
store i64 %30, ptr %35, align 8, !tbaa !13
br label %36
36: ; preds = %19, %9, %29
%37 = tail call i32 @free(ptr noundef nonnull %7) #3
%38 = load i32, ptr %0, align 8, !tbaa !5
br label %39
39: ; preds = %4, %6, %36
%40 = phi i32 [ -1, %4 ], [ -1, %6 ], [ %38, %36 ]
%41 = icmp eq i32 %3, 0
%42 = select i1 %41, i32 65535, i32 %3
%43 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store i32 %42, ptr %43, align 4, !tbaa !17
%44 = icmp eq i32 %2, 0
%45 = select i1 %44, i32 65535, i32 %2
%46 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
store i32 %45, ptr %46, align 8, !tbaa !18
ret i32 %40
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #1
declare i32 @DEBUG(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i64 @atoi(ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, 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 = !{!8, !8, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!6, !7, i64 4}
!18 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibmad/extr_portid.c_str2drpath.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibmad/extr_portid.c_str2drpath.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"DR str: %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @str2drpath(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
store i32 -1, ptr %0, align 8, !tbaa !6
%5 = icmp eq ptr %1, null
br i1 %5, label %39, label %6
6: ; preds = %4
%7 = tail call ptr @strdup(ptr noundef nonnull %1)
%8 = icmp eq ptr %7, null
br i1 %8, label %39, label %9
9: ; preds = %6
%10 = tail call i32 @DEBUG(ptr noundef nonnull @.str, ptr noundef nonnull %1) #3
%11 = load i8, ptr %7, align 1, !tbaa !12
%12 = icmp eq i8 %11, 0
br i1 %12, label %36, label %13
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %0, i64 16
br label %15
15: ; preds = %13, %19
%16 = phi ptr [ %7, %13 ], [ %26, %19 ]
%17 = tail call ptr @strchr(ptr noundef nonnull %16, i8 noundef signext 44) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %29, label %19
19: ; preds = %15
store i8 0, ptr %17, align 1, !tbaa !12
%20 = tail call i64 @atoi(ptr noundef nonnull %16) #3
%21 = load ptr, ptr %14, align 8, !tbaa !13
%22 = load i32, ptr %0, align 8, !tbaa !6
%23 = add nsw i32 %22, 1
store i32 %23, ptr %0, align 8, !tbaa !6
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i64, ptr %21, i64 %24
store i64 %20, ptr %25, align 8, !tbaa !14
%26 = getelementptr inbounds i8, ptr %17, i64 1
%27 = load i8, ptr %26, align 1, !tbaa !12
%28 = icmp eq i8 %27, 0
br i1 %28, label %36, label %15, !llvm.loop !16
29: ; preds = %15
%30 = tail call i64 @atoi(ptr noundef nonnull %16) #3
%31 = load ptr, ptr %14, align 8, !tbaa !13
%32 = load i32, ptr %0, align 8, !tbaa !6
%33 = add nsw i32 %32, 1
store i32 %33, ptr %0, align 8, !tbaa !6
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i64, ptr %31, i64 %34
store i64 %30, ptr %35, align 8, !tbaa !14
br label %36
36: ; preds = %19, %9, %29
%37 = tail call i32 @free(ptr noundef nonnull %7) #3
%38 = load i32, ptr %0, align 8, !tbaa !6
br label %39
39: ; preds = %4, %6, %36
%40 = phi i32 [ -1, %4 ], [ -1, %6 ], [ %38, %36 ]
%41 = icmp eq i32 %3, 0
%42 = select i1 %41, i32 65535, i32 %3
%43 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %42, ptr %43, align 4, !tbaa !18
%44 = icmp eq i32 %2, 0
%45 = select i1 %44, i32 65535, i32 %2
%46 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %45, ptr %46, align 8, !tbaa !19
ret i32 %40
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #1
declare i32 @DEBUG(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i64 @atoi(ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, 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 = !{!9, !9, i64 0}
!13 = !{!7, !11, i64 16}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!7, !8, i64 4}
!19 = !{!7, !8, i64 8}
| freebsd_contrib_ofed_libibmad_extr_portid.c_str2drpath |
; ModuleID = 'AnghaBench/linux/mm/extr_mempolicy.c_mempolicy_nodemask_intersects.c'
source_filename = "AnghaBench/linux/mm/extr_mempolicy.c_mempolicy_nodemask_intersects.c"
target datalayout = "e-m:e-p270:32:32-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.mempolicy = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @mempolicy_nodemask_intersects(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %20, label %4
4: ; preds = %2
%5 = tail call i32 @task_lock(ptr noundef %0) #2
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %17, label %8
8: ; preds = %4
%9 = load i32, ptr %6, align 4, !tbaa !10
switch i32 %9, label %15 [
i32 128, label %17
i32 130, label %10
i32 129, label %10
]
10: ; preds = %8, %8
%11 = getelementptr inbounds %struct.mempolicy, ptr %6, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = load i32, ptr %1, align 4, !tbaa !15
%14 = tail call i32 @nodes_intersects(i32 noundef %12, i32 noundef %13) #2
br label %17
15: ; preds = %8
%16 = tail call i32 (...) @BUG() #2
br label %17
17: ; preds = %8, %10, %15, %4
%18 = phi i32 [ 1, %15 ], [ %14, %10 ], [ 1, %8 ], [ 1, %4 ]
%19 = tail call i32 @task_unlock(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %2, %17
%21 = phi i32 [ %18, %17 ], [ 1, %2 ]
ret i32 %21
}
declare i32 @task_lock(ptr noundef) local_unnamed_addr #1
declare i32 @nodes_intersects(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG(...) local_unnamed_addr #1
declare i32 @task_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"task_struct", !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 = !{!"mempolicy", !12, i64 0, !13, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_2__", !12, i64 0}
!14 = !{!11, !12, i64 4}
!15 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/mm/extr_mempolicy.c_mempolicy_nodemask_intersects.c'
source_filename = "AnghaBench/linux/mm/extr_mempolicy.c_mempolicy_nodemask_intersects.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 @mempolicy_nodemask_intersects(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %20, label %4
4: ; preds = %2
%5 = tail call i32 @task_lock(ptr noundef %0) #2
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %17, label %8
8: ; preds = %4
%9 = load i32, ptr %6, align 4, !tbaa !11
switch i32 %9, label %15 [
i32 128, label %17
i32 130, label %10
i32 129, label %10
]
10: ; preds = %8, %8
%11 = getelementptr inbounds i8, ptr %6, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = load i32, ptr %1, align 4, !tbaa !16
%14 = tail call i32 @nodes_intersects(i32 noundef %12, i32 noundef %13) #2
br label %17
15: ; preds = %8
%16 = tail call i32 @BUG() #2
br label %17
17: ; preds = %8, %10, %15, %4
%18 = phi i32 [ 1, %15 ], [ %14, %10 ], [ 1, %8 ], [ 1, %4 ]
%19 = tail call i32 @task_unlock(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %2, %17
%21 = phi i32 [ %18, %17 ], [ 1, %2 ]
ret i32 %21
}
declare i32 @task_lock(ptr noundef) local_unnamed_addr #1
declare i32 @nodes_intersects(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUG(...) local_unnamed_addr #1
declare i32 @task_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"task_struct", !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 = !{!"mempolicy", !13, i64 0, !14, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!"TYPE_2__", !13, i64 0}
!15 = !{!12, !13, i64 4}
!16 = !{!13, !13, i64 0}
| linux_mm_extr_mempolicy.c_mempolicy_nodemask_intersects |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/myricom/myri10ge/extr_myri10ge.c_myri10ge_free_irq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/myricom/myri10ge/extr_myri10ge.c_myri10ge_free_irq.c"
target datalayout = "e-m:e-p270:32:32-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.myri10ge_priv = type { i32, i64, i64, ptr, ptr, ptr }
%struct.TYPE_2__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @myri10ge_free_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @myri10ge_free_irq(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.myri10ge_priv, ptr %0, i64 0, i32 5
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.myri10ge_priv, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = icmp eq i64 %5, 0
br i1 %6, label %25, label %7
7: ; preds = %1
%8 = load i32, ptr %0, align 8, !tbaa !13
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %30
10: ; preds = %7
%11 = getelementptr inbounds %struct.myri10ge_priv, ptr %0, i64 0, i32 4
%12 = getelementptr inbounds %struct.myri10ge_priv, ptr %0, i64 0, i32 3
br label %13
13: ; preds = %10, %13
%14 = phi i64 [ 0, %10 ], [ %21, %13 ]
%15 = load ptr, ptr %11, align 8, !tbaa !14
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %14
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = load ptr, ptr %12, align 8, !tbaa !17
%19 = getelementptr inbounds i32, ptr %18, i64 %14
%20 = tail call i32 @free_irq(i32 noundef %17, ptr noundef %19) #2
%21 = add nuw nsw i64 %14, 1
%22 = load i32, ptr %0, align 8, !tbaa !13
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %21, %23
br i1 %24, label %13, label %30, !llvm.loop !18
25: ; preds = %1
%26 = load i32, ptr %3, align 4, !tbaa !20
%27 = getelementptr inbounds %struct.myri10ge_priv, ptr %0, i64 0, i32 3
%28 = load ptr, ptr %27, align 8, !tbaa !17
%29 = tail call i32 @free_irq(i32 noundef %26, ptr noundef %28) #2
br label %30
30: ; preds = %13, %7, %25
%31 = getelementptr inbounds %struct.myri10ge_priv, ptr %0, i64 0, i32 2
%32 = load i64, ptr %31, align 8, !tbaa !22
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %30
%35 = tail call i32 @pci_disable_msi(ptr noundef %3) #2
br label %36
36: ; preds = %34, %30
%37 = load i64, ptr %4, align 8, !tbaa !12
%38 = icmp eq i64 %37, 0
br i1 %38, label %41, label %39
39: ; preds = %36
%40 = tail call i32 @pci_disable_msix(ptr noundef %3) #2
br label %41
41: ; preds = %39, %36
ret void
}
declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_msi(ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_msix(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 40}
!6 = !{!"myri10ge_priv", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !11, i64 32}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0}
!17 = !{!6, !11, i64 24}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !7, i64 0}
!21 = !{!"pci_dev", !7, i64 0}
!22 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/myricom/myri10ge/extr_myri10ge.c_myri10ge_free_irq.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/myricom/myri10ge/extr_myri10ge.c_myri10ge_free_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @myri10ge_free_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @myri10ge_free_irq(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 40
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = icmp eq i64 %5, 0
br i1 %6, label %25, label %7
7: ; preds = %1
%8 = load i32, ptr %0, align 8, !tbaa !14
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %30
10: ; preds = %7
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = getelementptr inbounds i8, ptr %0, i64 24
br label %13
13: ; preds = %10, %13
%14 = phi i64 [ 0, %10 ], [ %21, %13 ]
%15 = load ptr, ptr %11, align 8, !tbaa !15
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %14
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = load ptr, ptr %12, align 8, !tbaa !18
%19 = getelementptr inbounds i32, ptr %18, i64 %14
%20 = tail call i32 @free_irq(i32 noundef %17, ptr noundef %19) #2
%21 = add nuw nsw i64 %14, 1
%22 = load i32, ptr %0, align 8, !tbaa !14
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %21, %23
br i1 %24, label %13, label %30, !llvm.loop !19
25: ; preds = %1
%26 = load i32, ptr %3, align 4, !tbaa !21
%27 = getelementptr inbounds i8, ptr %0, i64 24
%28 = load ptr, ptr %27, align 8, !tbaa !18
%29 = tail call i32 @free_irq(i32 noundef %26, ptr noundef %28) #2
br label %30
30: ; preds = %13, %7, %25
%31 = getelementptr inbounds i8, ptr %0, i64 16
%32 = load i64, ptr %31, align 8, !tbaa !23
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %30
%35 = tail call i32 @pci_disable_msi(ptr noundef %3) #2
br label %36
36: ; preds = %34, %30
%37 = load i64, ptr %4, align 8, !tbaa !13
%38 = icmp eq i64 %37, 0
br i1 %38, label %41, label %39
39: ; preds = %36
%40 = tail call i32 @pci_disable_msix(ptr noundef %3) #2
br label %41
41: ; preds = %39, %36
ret void
}
declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_msi(ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_msix(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 40}
!7 = !{!"myri10ge_priv", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !12, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !12, i64 32}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_2__", !8, i64 0}
!18 = !{!7, !12, i64 24}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !8, i64 0}
!22 = !{!"pci_dev", !8, i64 0}
!23 = !{!7, !11, i64 16}
| linux_drivers_net_ethernet_myricom_myri10ge_extr_myri10ge.c_myri10ge_free_irq |
; ModuleID = 'AnghaBench/linux/drivers/tty/hvc/extr_hvc_iucv.c_destroy_tty_buffer.c'
source_filename = "AnghaBench/linux/drivers/tty/hvc/extr_hvc_iucv.c_destroy_tty_buffer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@hvc_iucv_mempool = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @destroy_tty_buffer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @destroy_tty_buffer(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @kfree(i32 noundef %2) #2
%4 = load i32, ptr @hvc_iucv_mempool, align 4, !tbaa !10
%5 = tail call i32 @mempool_free(ptr noundef nonnull %0, i32 noundef %4) #2
ret void
}
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
declare i32 @mempool_free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"iucv_tty_buffer", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/hvc/extr_hvc_iucv.c_destroy_tty_buffer.c'
source_filename = "AnghaBench/linux/drivers/tty/hvc/extr_hvc_iucv.c_destroy_tty_buffer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hvc_iucv_mempool = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @destroy_tty_buffer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @destroy_tty_buffer(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @kfree(i32 noundef %2) #2
%4 = load i32, ptr @hvc_iucv_mempool, align 4, !tbaa !11
%5 = tail call i32 @mempool_free(ptr noundef nonnull %0, i32 noundef %4) #2
ret void
}
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
declare i32 @mempool_free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"iucv_tty_buffer", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_tty_hvc_extr_hvc_iucv.c_destroy_tty_buffer |
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_generic.c_generic_disconnect.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_generic.c_generic_disconnect.c"
target datalayout = "e-m:e-p270:32:32-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 @generic_disconnect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @generic_disconnect(ptr noundef %0) #0 {
%2 = tail call i32 @usb_notify_remove_device(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @usb_set_configuration(ptr noundef nonnull %0, i32 noundef -1) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @usb_notify_remove_device(ptr noundef) local_unnamed_addr #1
declare i32 @usb_set_configuration(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 = !{!"usb_device", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_generic.c_generic_disconnect.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_generic.c_generic_disconnect.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 @generic_disconnect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @generic_disconnect(ptr noundef %0) #0 {
%2 = tail call i32 @usb_notify_remove_device(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @usb_set_configuration(ptr noundef nonnull %0, i32 noundef -1) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @usb_notify_remove_device(ptr noundef) local_unnamed_addr #1
declare i32 @usb_set_configuration(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 = !{!"usb_device", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_usb_core_extr_generic.c_generic_disconnect |
; ModuleID = 'AnghaBench/gb-studio/buildTools/win32-x64/gbdk/examples/gb/extr_paint.c_run.c'
source_filename = "AnghaBench/gb-studio/buildTools/win32-x64/gbdk/examples/gb/extr_paint.c_run.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SHOW_SPRITES = dso_local local_unnamed_addr global i32 0, align 4
@J_UP = dso_local local_unnamed_addr global i32 0, align 4
@J_DOWN = dso_local local_unnamed_addr global i32 0, align 4
@J_LEFT = dso_local local_unnamed_addr global i32 0, align 4
@J_RIGHT = dso_local local_unnamed_addr global i32 0, align 4
@cursor_y = dso_local local_unnamed_addr global i32 0, align 4
@cursor_x = dso_local local_unnamed_addr global i32 0, align 4
@J_SELECT = dso_local local_unnamed_addr global i32 0, align 4
@HIDE_SPRITES = dso_local local_unnamed_addr global i32 0, align 4
@J_A = dso_local local_unnamed_addr global i32 0, align 4
@J_B = dso_local local_unnamed_addr global i32 0, align 4
@colors = dso_local local_unnamed_addr global ptr null, align 8
@current_color = dso_local local_unnamed_addr global i64 0, align 8
@modes = dso_local local_unnamed_addr global ptr null, align 8
@current_mode = dso_local local_unnamed_addr global i64 0, align 8
@WHITE = dso_local local_unnamed_addr global i32 0, align 4
@SOLID = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind uwtable
define dso_local void @run() local_unnamed_addr #0 {
%1 = tail call i32 (...) @set_cursor() #2
%2 = tail call i32 (...) @move_cursor() #2
br label %3
3: ; preds = %100, %0
%4 = phi i32 [ 10, %0 ], [ %61, %100 ]
%5 = phi i32 [ 0, %0 ], [ %98, %100 ]
%6 = phi i32 [ 0, %0 ], [ %101, %100 ]
%7 = tail call i32 (...) @wait_vbl_done() #2
%8 = tail call i32 (...) @joypad() #2
%9 = load i32, ptr @J_UP, align 4, !tbaa !5
%10 = load i32, ptr @J_DOWN, align 4, !tbaa !5
%11 = load i32, ptr @J_LEFT, align 4, !tbaa !5
%12 = load i32, ptr @J_RIGHT, align 4, !tbaa !5
%13 = or i32 %10, %9
%14 = or i32 %13, %11
%15 = or i32 %14, %12
%16 = and i32 %15, %8
%17 = icmp eq i32 %16, 0
br i1 %17, label %60, label %18
18: ; preds = %3
%19 = and i32 %9, %8
%20 = icmp ne i32 %19, 0
%21 = load i32, ptr @cursor_y, align 4
%22 = icmp sgt i32 %21, 0
%23 = select i1 %20, i1 %22, i1 false
%24 = sext i1 %23 to i32
%25 = add nsw i32 %21, %24
%26 = and i32 %10, %8
%27 = icmp ne i32 %26, 0
%28 = icmp slt i32 %25, 143
%29 = select i1 %27, i1 %28, i1 false
%30 = or i1 %23, %29
br i1 %30, label %31, label %34
31: ; preds = %18
%32 = zext i1 %29 to i32
%33 = add nsw i32 %25, %32
store i32 %33, ptr @cursor_y, align 4, !tbaa !5
br label %34
34: ; preds = %18, %31
%35 = and i32 %11, %8
%36 = icmp ne i32 %35, 0
%37 = load i32, ptr @cursor_x, align 4
%38 = icmp sgt i32 %37, 0
%39 = select i1 %36, i1 %38, i1 false
%40 = sext i1 %39 to i32
%41 = add nsw i32 %37, %40
%42 = and i32 %12, %8
%43 = icmp ne i32 %42, 0
%44 = icmp slt i32 %41, 159
%45 = select i1 %43, i1 %44, i1 false
%46 = or i1 %39, %45
br i1 %46, label %47, label %50
47: ; preds = %34
%48 = zext i1 %45 to i32
%49 = add nsw i32 %41, %48
store i32 %49, ptr @cursor_x, align 4, !tbaa !5
br label %50
50: ; preds = %34, %47
%51 = tail call i32 (...) @move_cursor() #2
br label %52
52: ; preds = %50, %56
%53 = phi i32 [ %4, %50 ], [ %58, %56 ]
%54 = tail call i32 (...) @joypad() #2
%55 = icmp eq i32 %8, %54
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = tail call i32 (...) @wait_vbl_done() #2
%58 = add nsw i32 %53, -1
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %52, !llvm.loop !9
60: ; preds = %52, %56, %3
%61 = phi i32 [ 10, %3 ], [ 1, %56 ], [ 1, %52 ]
%62 = phi i32 [ %5, %3 ], [ 0, %56 ], [ 0, %52 ]
%63 = phi i32 [ %6, %3 ], [ 0, %56 ], [ 0, %52 ]
%64 = load i32, ptr @J_SELECT, align 4, !tbaa !5
%65 = and i32 %64, %8
%66 = icmp eq i32 %65, 0
br i1 %66, label %71, label %67
67: ; preds = %60
%68 = tail call i32 (...) @menu() #2
%69 = tail call i32 (...) @set_cursor() #2
%70 = tail call i32 (...) @move_cursor() #2
br label %71
71: ; preds = %67, %60
%72 = load i32, ptr @J_A, align 4, !tbaa !5
%73 = load i32, ptr @J_B, align 4, !tbaa !5
%74 = or i32 %73, %72
%75 = and i32 %74, %8
%76 = icmp eq i32 %75, %72
br i1 %76, label %77, label %95
77: ; preds = %71
%78 = icmp eq i32 %62, 0
br i1 %78, label %79, label %95
79: ; preds = %77
%80 = load i32, ptr @cursor_x, align 4, !tbaa !5
%81 = load i32, ptr @cursor_y, align 4, !tbaa !5
%82 = load ptr, ptr @colors, align 8, !tbaa !11
%83 = load i64, ptr @current_color, align 8, !tbaa !13
%84 = getelementptr inbounds i32, ptr %82, i64 %83
%85 = load i32, ptr %84, align 4, !tbaa !5
%86 = load ptr, ptr @modes, align 8, !tbaa !11
%87 = load i64, ptr @current_mode, align 8, !tbaa !13
%88 = getelementptr inbounds i32, ptr %86, i64 %87
%89 = load i32, ptr %88, align 4, !tbaa !5
%90 = tail call i32 @plot(i32 noundef %80, i32 noundef %81, i32 noundef %85, i32 noundef %89) #2
%91 = load i32, ptr @J_A, align 4, !tbaa !5
%92 = load i32, ptr @J_B, align 4, !tbaa !5
%93 = or i32 %92, %91
%94 = and i32 %93, %8
br label %95
95: ; preds = %71, %77, %79
%96 = phi i32 [ %75, %71 ], [ %75, %77 ], [ %94, %79 ]
%97 = phi i32 [ %73, %71 ], [ %73, %77 ], [ %92, %79 ]
%98 = phi i32 [ 0, %71 ], [ 1, %77 ], [ 1, %79 ]
%99 = icmp eq i32 %96, %97
br i1 %99, label %102, label %100
100: ; preds = %95, %102, %104
%101 = phi i32 [ 0, %95 ], [ 1, %102 ], [ 1, %104 ]
br label %3
102: ; preds = %95
%103 = icmp eq i32 %63, 0
br i1 %103, label %104, label %100
104: ; preds = %102
%105 = load i32, ptr @cursor_x, align 4, !tbaa !5
%106 = load i32, ptr @cursor_y, align 4, !tbaa !5
%107 = load i32, ptr @WHITE, align 4, !tbaa !5
%108 = load i32, ptr @SOLID, align 4, !tbaa !5
%109 = tail call i32 @plot(i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108) #2
br label %100
}
declare i32 @set_cursor(...) local_unnamed_addr #1
declare i32 @move_cursor(...) local_unnamed_addr #1
declare i32 @wait_vbl_done(...) local_unnamed_addr #1
declare i32 @joypad(...) local_unnamed_addr #1
declare i32 @menu(...) local_unnamed_addr #1
declare i32 @plot(i32 noundef, i32 noundef, i32 noundef, i32 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/gb-studio/buildTools/win32-x64/gbdk/examples/gb/extr_paint.c_run.c'
source_filename = "AnghaBench/gb-studio/buildTools/win32-x64/gbdk/examples/gb/extr_paint.c_run.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SHOW_SPRITES = common local_unnamed_addr global i32 0, align 4
@J_UP = common local_unnamed_addr global i32 0, align 4
@J_DOWN = common local_unnamed_addr global i32 0, align 4
@J_LEFT = common local_unnamed_addr global i32 0, align 4
@J_RIGHT = common local_unnamed_addr global i32 0, align 4
@cursor_y = common local_unnamed_addr global i32 0, align 4
@cursor_x = common local_unnamed_addr global i32 0, align 4
@J_SELECT = common local_unnamed_addr global i32 0, align 4
@HIDE_SPRITES = common local_unnamed_addr global i32 0, align 4
@J_A = common local_unnamed_addr global i32 0, align 4
@J_B = common local_unnamed_addr global i32 0, align 4
@colors = common local_unnamed_addr global ptr null, align 8
@current_color = common local_unnamed_addr global i64 0, align 8
@modes = common local_unnamed_addr global ptr null, align 8
@current_mode = common local_unnamed_addr global i64 0, align 8
@WHITE = common local_unnamed_addr global i32 0, align 4
@SOLID = common local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define void @run() local_unnamed_addr #0 {
%1 = tail call i32 @set_cursor() #2
%2 = tail call i32 @move_cursor() #2
br label %3
3: ; preds = %100, %0
%4 = phi i32 [ 10, %0 ], [ %61, %100 ]
%5 = phi i32 [ 0, %0 ], [ %98, %100 ]
%6 = phi i32 [ 0, %0 ], [ %101, %100 ]
%7 = tail call i32 @wait_vbl_done() #2
%8 = tail call i32 @joypad() #2
%9 = load i32, ptr @J_UP, align 4, !tbaa !6
%10 = load i32, ptr @J_DOWN, align 4, !tbaa !6
%11 = load i32, ptr @J_LEFT, align 4, !tbaa !6
%12 = load i32, ptr @J_RIGHT, align 4, !tbaa !6
%13 = or i32 %10, %9
%14 = or i32 %13, %11
%15 = or i32 %14, %12
%16 = and i32 %15, %8
%17 = icmp eq i32 %16, 0
br i1 %17, label %60, label %18
18: ; preds = %3
%19 = and i32 %9, %8
%20 = icmp ne i32 %19, 0
%21 = load i32, ptr @cursor_y, align 4
%22 = icmp sgt i32 %21, 0
%23 = select i1 %20, i1 %22, i1 false
%24 = sext i1 %23 to i32
%25 = add nsw i32 %21, %24
%26 = and i32 %10, %8
%27 = icmp ne i32 %26, 0
%28 = icmp slt i32 %25, 143
%29 = select i1 %27, i1 %28, i1 false
%30 = or i1 %23, %29
br i1 %30, label %31, label %34
31: ; preds = %18
%32 = zext i1 %29 to i32
%33 = add nsw i32 %25, %32
store i32 %33, ptr @cursor_y, align 4, !tbaa !6
br label %34
34: ; preds = %18, %31
%35 = and i32 %11, %8
%36 = icmp ne i32 %35, 0
%37 = load i32, ptr @cursor_x, align 4
%38 = icmp sgt i32 %37, 0
%39 = select i1 %36, i1 %38, i1 false
%40 = sext i1 %39 to i32
%41 = add nsw i32 %37, %40
%42 = and i32 %12, %8
%43 = icmp ne i32 %42, 0
%44 = icmp slt i32 %41, 159
%45 = select i1 %43, i1 %44, i1 false
%46 = or i1 %39, %45
br i1 %46, label %47, label %50
47: ; preds = %34
%48 = zext i1 %45 to i32
%49 = add nsw i32 %41, %48
store i32 %49, ptr @cursor_x, align 4, !tbaa !6
br label %50
50: ; preds = %34, %47
%51 = tail call i32 @move_cursor() #2
br label %52
52: ; preds = %50, %56
%53 = phi i32 [ %4, %50 ], [ %58, %56 ]
%54 = tail call i32 @joypad() #2
%55 = icmp eq i32 %8, %54
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = tail call i32 @wait_vbl_done() #2
%58 = add nsw i32 %53, -1
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %52, !llvm.loop !10
60: ; preds = %52, %56, %3
%61 = phi i32 [ 10, %3 ], [ 1, %56 ], [ 1, %52 ]
%62 = phi i32 [ %5, %3 ], [ 0, %56 ], [ 0, %52 ]
%63 = phi i32 [ %6, %3 ], [ 0, %56 ], [ 0, %52 ]
%64 = load i32, ptr @J_SELECT, align 4, !tbaa !6
%65 = and i32 %64, %8
%66 = icmp eq i32 %65, 0
br i1 %66, label %71, label %67
67: ; preds = %60
%68 = tail call i32 @menu() #2
%69 = tail call i32 @set_cursor() #2
%70 = tail call i32 @move_cursor() #2
br label %71
71: ; preds = %67, %60
%72 = load i32, ptr @J_A, align 4, !tbaa !6
%73 = load i32, ptr @J_B, align 4, !tbaa !6
%74 = or i32 %73, %72
%75 = and i32 %74, %8
%76 = icmp eq i32 %75, %72
br i1 %76, label %77, label %95
77: ; preds = %71
%78 = icmp eq i32 %62, 0
br i1 %78, label %79, label %95
79: ; preds = %77
%80 = load i32, ptr @cursor_x, align 4, !tbaa !6
%81 = load i32, ptr @cursor_y, align 4, !tbaa !6
%82 = load ptr, ptr @colors, align 8, !tbaa !12
%83 = load i64, ptr @current_color, align 8, !tbaa !14
%84 = getelementptr inbounds i32, ptr %82, i64 %83
%85 = load i32, ptr %84, align 4, !tbaa !6
%86 = load ptr, ptr @modes, align 8, !tbaa !12
%87 = load i64, ptr @current_mode, align 8, !tbaa !14
%88 = getelementptr inbounds i32, ptr %86, i64 %87
%89 = load i32, ptr %88, align 4, !tbaa !6
%90 = tail call i32 @plot(i32 noundef %80, i32 noundef %81, i32 noundef %85, i32 noundef %89) #2
%91 = load i32, ptr @J_A, align 4, !tbaa !6
%92 = load i32, ptr @J_B, align 4, !tbaa !6
%93 = or i32 %92, %91
%94 = and i32 %93, %8
br label %95
95: ; preds = %71, %77, %79
%96 = phi i32 [ %75, %71 ], [ %75, %77 ], [ %94, %79 ]
%97 = phi i32 [ %73, %71 ], [ %73, %77 ], [ %92, %79 ]
%98 = phi i32 [ 0, %71 ], [ 1, %77 ], [ 1, %79 ]
%99 = icmp eq i32 %96, %97
br i1 %99, label %102, label %100
100: ; preds = %95, %102, %104
%101 = phi i32 [ 0, %95 ], [ 1, %102 ], [ 1, %104 ]
br label %3
102: ; preds = %95
%103 = icmp eq i32 %63, 0
br i1 %103, label %104, label %100
104: ; preds = %102
%105 = load i32, ptr @cursor_x, align 4, !tbaa !6
%106 = load i32, ptr @cursor_y, align 4, !tbaa !6
%107 = load i32, ptr @WHITE, align 4, !tbaa !6
%108 = load i32, ptr @SOLID, align 4, !tbaa !6
%109 = tail call i32 @plot(i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108) #2
br label %100
}
declare i32 @set_cursor(...) local_unnamed_addr #1
declare i32 @move_cursor(...) local_unnamed_addr #1
declare i32 @wait_vbl_done(...) local_unnamed_addr #1
declare i32 @joypad(...) local_unnamed_addr #1
declare i32 @menu(...) local_unnamed_addr #1
declare i32 @plot(i32 noundef, i32 noundef, i32 noundef, i32 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
| gb-studio_buildTools_win32-x64_gbdk_examples_gb_extr_paint.c_run |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx23885/extr_cx23888-ir.c_clock_divider_to_ns.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx23885/extr_cx23888-ir.c_clock_divider_to_ns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CX23888_IR_REFCLK_FREQ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @clock_divider_to_ns], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @clock_divider_to_ns(i32 noundef %0) #0 {
%2 = mul i32 %0, 1000
%3 = add i32 %2, 1000
%4 = load i32, ptr @CX23888_IR_REFCLK_FREQ, align 4, !tbaa !5
%5 = sdiv i32 %4, 1000000
%6 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @DIV_ROUND_CLOSEST(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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx23885/extr_cx23888-ir.c_clock_divider_to_ns.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx23885/extr_cx23888-ir.c_clock_divider_to_ns.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CX23888_IR_REFCLK_FREQ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @clock_divider_to_ns], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @clock_divider_to_ns(i32 noundef %0) #0 {
%2 = mul i32 %0, 1000
%3 = add i32 %2, 1000
%4 = load i32, ptr @CX23888_IR_REFCLK_FREQ, align 4, !tbaa !6
%5 = sdiv i32 %4, 1000000
%6 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @DIV_ROUND_CLOSEST(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)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_media_video_cx23885_extr_cx23888-ir.c_clock_divider_to_ns |
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_array.c_spl_array_has_dimension.c'
source_filename = "AnghaBench/php-src/ext/spl/extr_spl_array.c_spl_array_has_dimension.c"
target datalayout = "e-m:e-p270:32:32-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 @spl_array_has_dimension], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @spl_array_has_dimension(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @spl_array_has_dimension_ex(i32 noundef 1, ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @spl_array_has_dimension_ex(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_array.c_spl_array_has_dimension.c'
source_filename = "AnghaBench/php-src/ext/spl/extr_spl_array.c_spl_array_has_dimension.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 @spl_array_has_dimension], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @spl_array_has_dimension(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @spl_array_has_dimension_ex(i32 noundef 1, ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @spl_array_has_dimension_ex(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| php-src_ext_spl_extr_spl_array.c_spl_array_has_dimension |
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/qcom/extr_pinctrl-spmi-mpp.c_pmic_mpp_get.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/qcom/extr_pinctrl-spmi-mpp.c_pmic_mpp_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr }
%struct.pmic_mpp_pad = type { i32, i64 }
@PMIC_MPP_REG_RT_STS = dso_local local_unnamed_addr global i32 0, align 4
@PMIC_MPP_REG_RT_STS_VAL_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pmic_mpp_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pmic_mpp_get(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = zext i32 %1 to i64
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = getelementptr inbounds %struct.pmic_mpp_pad, ptr %9, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !16
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr %9, align 8, !tbaa !20
br label %22
15: ; preds = %2
%16 = load i32, ptr @PMIC_MPP_REG_RT_STS, align 4, !tbaa !21
%17 = tail call i32 @pmic_mpp_read(ptr noundef nonnull %3, ptr noundef nonnull %9, i32 noundef %16) #2
%18 = icmp slt i32 %17, 0
br i1 %18, label %26, label %19
19: ; preds = %15
%20 = load i32, ptr @PMIC_MPP_REG_RT_STS_VAL_MASK, align 4, !tbaa !21
%21 = and i32 %20, %17
store i32 %21, ptr %9, align 8, !tbaa !20
br label %22
22: ; preds = %13, %19
%23 = phi i32 [ %14, %13 ], [ %21, %19 ]
%24 = icmp ne i32 %23, 0
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %15, %22
%27 = phi i32 [ %25, %22 ], [ %17, %15 ]
ret i32 %27
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @pmic_mpp_read(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 = !{!"pmic_mpp_state", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_5__", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_4__", !7, i64 0}
!16 = !{!17, !19, i64 8}
!17 = !{!"pmic_mpp_pad", !18, i64 0, !19, i64 8}
!18 = !{!"int", !8, i64 0}
!19 = !{!"long", !8, i64 0}
!20 = !{!17, !18, i64 0}
!21 = !{!18, !18, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/pinctrl/qcom/extr_pinctrl-spmi-mpp.c_pmic_mpp_get.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/qcom/extr_pinctrl-spmi-mpp.c_pmic_mpp_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { ptr }
@PMIC_MPP_REG_RT_STS = common local_unnamed_addr global i32 0, align 4
@PMIC_MPP_REG_RT_STS_VAL_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pmic_mpp_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 2) i32 @pmic_mpp_get(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = zext i32 %1 to i64
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = getelementptr inbounds i8, ptr %9, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !17
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr %9, align 8, !tbaa !21
br label %22
15: ; preds = %2
%16 = load i32, ptr @PMIC_MPP_REG_RT_STS, align 4, !tbaa !22
%17 = tail call i32 @pmic_mpp_read(ptr noundef nonnull %3, ptr noundef nonnull %9, i32 noundef %16) #2
%18 = icmp slt i32 %17, 0
br i1 %18, label %26, label %19
19: ; preds = %15
%20 = load i32, ptr @PMIC_MPP_REG_RT_STS_VAL_MASK, align 4, !tbaa !22
%21 = and i32 %20, %17
store i32 %21, ptr %9, align 8, !tbaa !21
br label %22
22: ; preds = %13, %19
%23 = phi i32 [ %14, %13 ], [ %21, %19 ]
%24 = icmp ne i32 %23, 0
%25 = zext i1 %24 to i32
br label %26
26: ; preds = %15, %22
%27 = phi i32 [ %25, %22 ], [ %17, %15 ]
ret i32 %27
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @pmic_mpp_read(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 = !{!"pmic_mpp_state", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_6__", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_5__", !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_4__", !8, i64 0}
!17 = !{!18, !20, i64 8}
!18 = !{!"pmic_mpp_pad", !19, i64 0, !20, i64 8}
!19 = !{!"int", !9, i64 0}
!20 = !{!"long", !9, i64 0}
!21 = !{!18, !19, i64 0}
!22 = !{!19, !19, i64 0}
| linux_drivers_pinctrl_qcom_extr_pinctrl-spmi-mpp.c_pmic_mpp_get |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-integrator/extr_core.c_cm_control.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-integrator/extr_core.c_cm_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"
@cm_lock = dso_local global i32 0, align 4
@CM_CTRL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @cm_control(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @cm_lock, i64 noundef undef) #2
%4 = load i32, ptr @CM_CTRL, align 4, !tbaa !5
%5 = tail call i32 @readl(i32 noundef %4) #2
%6 = xor i32 %0, -1
%7 = and i32 %5, %6
%8 = or i32 %7, %1
%9 = load i32, ptr @CM_CTRL, align 4, !tbaa !5
%10 = tail call i32 @writel(i32 noundef %8, i32 noundef %9) #2
%11 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @cm_lock, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl(i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(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"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-integrator/extr_core.c_cm_control.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-integrator/extr_core.c_cm_control.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cm_lock = common global i32 0, align 4
@CM_CTRL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @cm_control(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @cm_lock, i64 noundef undef) #2
%4 = load i32, ptr @CM_CTRL, align 4, !tbaa !6
%5 = tail call i32 @readl(i32 noundef %4) #2
%6 = xor i32 %0, -1
%7 = and i32 %5, %6
%8 = or i32 %7, %1
%9 = load i32, ptr @CM_CTRL, align 4, !tbaa !6
%10 = tail call i32 @writel(i32 noundef %8, i32 noundef %9) #2
%11 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @cm_lock, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl(i32 noundef) local_unnamed_addr #1
declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(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"}
| fastsocket_kernel_arch_arm_mach-integrator_extr_core.c_cm_control |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tegra/extr_rgb.c_tegra_dc_rgb_exit.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/tegra/extr_rgb.c_tegra_dc_rgb_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"
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @tegra_dc_rgb_exit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @tegra_output_exit(i64 noundef %2) #2
br label %6
6: ; preds = %4, %1
ret i32 0
}
declare i32 @tegra_output_exit(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 = !{!"tegra_dc", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tegra/extr_rgb.c_tegra_dc_rgb_exit.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/tegra/extr_rgb.c_tegra_dc_rgb_exit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @tegra_dc_rgb_exit(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @tegra_output_exit(i64 noundef %2) #2
br label %6
6: ; preds = %4, %1
ret i32 0
}
declare i32 @tegra_output_exit(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 = !{!"tegra_dc", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_tegra_extr_rgb.c_tegra_dc_rgb_exit |
; ModuleID = 'AnghaBench/freebsd/sys/arm/mv/extr_gpio.c_mv_gpio_in.c'
source_filename = "AnghaBench/freebsd/sys/arm/mv/extr_gpio.c_mv_gpio_in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32 }
@MV_GPIO_IN_DEBOUNCE = dso_local local_unnamed_addr global i32 0, align 4
@MV_GPIO_IN_POL_LOW = dso_local local_unnamed_addr global i32 0, align 4
@MV_GPIO_IN_IRQ_DOUBLE_EDGE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mv_gpio_in(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @device_get_softc(i32 noundef %0) #2
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 (...) @MV_GPIO_ASSERT_LOCKED() #2
%6 = load ptr, ptr %4, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %1
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = load i32, ptr @MV_GPIO_IN_DEBOUNCE, align 4, !tbaa !13
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %21, label %12
12: ; preds = %2
%13 = load i32, ptr @MV_GPIO_IN_POL_LOW, align 4, !tbaa !13
%14 = and i32 %13, %8
%15 = icmp eq i32 %14, 0
%16 = tail call i64 @mv_gpio_debounced_state_get(i32 noundef %0, i64 noundef %1) #2
br i1 %15, label %19, label %17
17: ; preds = %12
%18 = icmp eq i64 %16, 0
br label %37
19: ; preds = %12
%20 = icmp ne i64 %16, 0
br label %37
21: ; preds = %2
%22 = load i32, ptr @MV_GPIO_IN_IRQ_DOUBLE_EDGE, align 4, !tbaa !13
%23 = and i32 %22, %8
%24 = icmp eq i32 %23, 0
br i1 %24, label %34, label %25
25: ; preds = %21
%26 = load i32, ptr @MV_GPIO_IN_POL_LOW, align 4, !tbaa !13
%27 = and i32 %26, %8
%28 = icmp eq i32 %27, 0
%29 = tail call i64 @mv_gpio_value_get(i32 noundef %0, i64 noundef %1, i32 noundef 1) #2
br i1 %28, label %32, label %30
30: ; preds = %25
%31 = icmp eq i64 %29, 0
br label %37
32: ; preds = %25
%33 = icmp ne i64 %29, 0
br label %37
34: ; preds = %21
%35 = tail call i64 @mv_gpio_value_get(i32 noundef %0, i64 noundef %1, i32 noundef 0) #2
%36 = icmp ne i64 %35, 0
br label %37
37: ; preds = %34, %32, %30, %17, %19
%38 = phi i1 [ %18, %17 ], [ %20, %19 ], [ %31, %30 ], [ %33, %32 ], [ %36, %34 ]
%39 = zext i1 %38 to i32
ret i32 %39
}
declare i64 @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @MV_GPIO_ASSERT_LOCKED(...) local_unnamed_addr #1
declare i64 @mv_gpio_debounced_state_get(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @mv_gpio_value_get(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mv_gpio_softc", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/mv/extr_gpio.c_mv_gpio_in.c'
source_filename = "AnghaBench/freebsd/sys/arm/mv/extr_gpio.c_mv_gpio_in.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@MV_GPIO_IN_DEBOUNCE = common local_unnamed_addr global i32 0, align 4
@MV_GPIO_IN_POL_LOW = common local_unnamed_addr global i32 0, align 4
@MV_GPIO_IN_IRQ_DOUBLE_EDGE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @mv_gpio_in(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @device_get_softc(i32 noundef %0) #2
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 @MV_GPIO_ASSERT_LOCKED() #2
%6 = load ptr, ptr %4, align 8, !tbaa !6
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %1
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = load i32, ptr @MV_GPIO_IN_DEBOUNCE, align 4, !tbaa !14
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %21, label %12
12: ; preds = %2
%13 = load i32, ptr @MV_GPIO_IN_POL_LOW, align 4, !tbaa !14
%14 = and i32 %13, %8
%15 = icmp eq i32 %14, 0
%16 = tail call i64 @mv_gpio_debounced_state_get(i32 noundef %0, i64 noundef %1) #2
br i1 %15, label %19, label %17
17: ; preds = %12
%18 = icmp eq i64 %16, 0
br label %37
19: ; preds = %12
%20 = icmp ne i64 %16, 0
br label %37
21: ; preds = %2
%22 = load i32, ptr @MV_GPIO_IN_IRQ_DOUBLE_EDGE, align 4, !tbaa !14
%23 = and i32 %22, %8
%24 = icmp eq i32 %23, 0
br i1 %24, label %34, label %25
25: ; preds = %21
%26 = load i32, ptr @MV_GPIO_IN_POL_LOW, align 4, !tbaa !14
%27 = and i32 %26, %8
%28 = icmp eq i32 %27, 0
%29 = tail call i64 @mv_gpio_value_get(i32 noundef %0, i64 noundef %1, i32 noundef 1) #2
br i1 %28, label %32, label %30
30: ; preds = %25
%31 = icmp eq i64 %29, 0
br label %37
32: ; preds = %25
%33 = icmp ne i64 %29, 0
br label %37
34: ; preds = %21
%35 = tail call i64 @mv_gpio_value_get(i32 noundef %0, i64 noundef %1, i32 noundef 0) #2
%36 = icmp ne i64 %35, 0
br label %37
37: ; preds = %34, %32, %30, %17, %19
%38 = phi i1 [ %18, %17 ], [ %20, %19 ], [ %31, %30 ], [ %33, %32 ], [ %36, %34 ]
%39 = zext i1 %38 to i32
ret i32 %39
}
declare i64 @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @MV_GPIO_ASSERT_LOCKED(...) local_unnamed_addr #1
declare i64 @mv_gpio_debounced_state_get(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @mv_gpio_value_get(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mv_gpio_softc", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| freebsd_sys_arm_mv_extr_gpio.c_mv_gpio_in |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/sc/extr_command.c_seteaz.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/sc/extr_command.c_seteaz.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
%struct.TYPE_4__ = type { ptr, i32 }
@.str = private unnamed_addr constant [42 x i8] c"Invalid param: %d is not a valid card id\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@sc_adapter = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [41 x i8] c"%s: EAZ list for channel %lu set to: %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @seteaz], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @seteaz(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @IS_VALID_CARD(i32 noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = tail call i32 (ptr, i32, ...) @pr_debug(ptr noundef nonnull @.str, i32 noundef %0) #2
%8 = load i32, ptr @ENODEV, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %30
10: ; preds = %3
%11 = load ptr, ptr @sc_adapter, align 8, !tbaa !9
%12 = sext i32 %0 to i64
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8, !tbaa !9
%15 = load ptr, ptr %14, align 8, !tbaa !11
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 %1
%17 = load i32, ptr %16, align 8, !tbaa !13
%18 = tail call i32 @strcpy(i32 noundef %17, ptr noundef %2) #2
%19 = load ptr, ptr @sc_adapter, align 8, !tbaa !9
%20 = getelementptr inbounds ptr, ptr %19, i64 %12
%21 = load ptr, ptr %20, align 8, !tbaa !9
%22 = load ptr, ptr %21, align 8, !tbaa !11
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 %1, i32 1
store i64 0, ptr %23, align 8, !tbaa !16
%24 = getelementptr inbounds %struct.TYPE_4__, ptr %21, i64 0, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !17
%26 = add i64 %1, 1
%27 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 %1
%28 = load i32, ptr %27, align 8, !tbaa !13
%29 = tail call i32 (ptr, i32, ...) @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %25, i64 noundef %26, i32 noundef %28) #2
br label %30
30: ; preds = %10, %6
%31 = phi i32 [ 0, %10 ], [ %9, %6 ]
ret i32 %31
}
declare i32 @IS_VALID_CARD(i32 noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_4__", !10, i64 0, !6, i64 8}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_3__", !6, i64 0, !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!12, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/sc/extr_command.c_seteaz.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/sc/extr_command.c_seteaz.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, i64 }
@.str = private unnamed_addr constant [42 x i8] c"Invalid param: %d is not a valid card id\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@sc_adapter = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [41 x i8] c"%s: EAZ list for channel %lu set to: %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @seteaz], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @seteaz(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @IS_VALID_CARD(i32 noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = tail call i32 (ptr, i32, ...) @pr_debug(ptr noundef nonnull @.str, i32 noundef %0) #2
%8 = load i32, ptr @ENODEV, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %30
10: ; preds = %3
%11 = load ptr, ptr @sc_adapter, align 8, !tbaa !10
%12 = sext i32 %0 to i64
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8, !tbaa !10
%15 = load ptr, ptr %14, align 8, !tbaa !12
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 %1
%17 = load i32, ptr %16, align 8, !tbaa !14
%18 = tail call i32 @strcpy(i32 noundef %17, ptr noundef %2) #2
%19 = load ptr, ptr @sc_adapter, align 8, !tbaa !10
%20 = getelementptr inbounds ptr, ptr %19, i64 %12
%21 = load ptr, ptr %20, align 8, !tbaa !10
%22 = load ptr, ptr %21, align 8, !tbaa !12
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 %1, i32 1
store i64 0, ptr %23, align 8, !tbaa !17
%24 = getelementptr inbounds i8, ptr %21, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !18
%26 = add i64 %1, 1
%27 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 %1
%28 = load i32, ptr %27, align 8, !tbaa !14
%29 = tail call i32 (ptr, i32, ...) @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %25, i64 noundef %26, i32 noundef %28) #2
br label %30
30: ; preds = %10, %6
%31 = phi i32 [ 0, %10 ], [ %9, %6 ]
ret i32 %31
}
declare i32 @IS_VALID_CARD(i32 noundef) local_unnamed_addr #1
declare i32 @pr_debug(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0, !7, i64 8}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_3__", !7, i64 0, !16, i64 8}
!16 = !{!"long", !8, i64 0}
!17 = !{!15, !16, i64 8}
!18 = !{!13, !7, i64 8}
| fastsocket_kernel_drivers_isdn_sc_extr_command.c_seteaz |
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/src/codec/extr_enc32be.c_br_range_enc32be.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/src/codec/extr_enc32be.c_br_range_enc32be.c"
target datalayout = "e-m:e-p270:32:32-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 @br_range_enc32be(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %15, label %5
5: ; preds = %3, %5
%6 = phi ptr [ %13, %5 ], [ %0, %3 ]
%7 = phi i64 [ %9, %5 ], [ %2, %3 ]
%8 = phi ptr [ %10, %5 ], [ %1, %3 ]
%9 = add i64 %7, -1
%10 = getelementptr inbounds i32, ptr %8, i64 1
%11 = load i32, ptr %8, align 4, !tbaa !5
%12 = tail call i32 @br_enc32be(ptr noundef %6, i32 noundef %11) #2
%13 = getelementptr inbounds i8, ptr %6, i64 4
%14 = icmp eq i64 %9, 0
br i1 %14, label %15, label %5, !llvm.loop !9
15: ; preds = %5, %3
ret void
}
declare i32 @br_enc32be(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/src/codec/extr_enc32be.c_br_range_enc32be.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/src/codec/extr_enc32be.c_br_range_enc32be.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 @br_range_enc32be(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i64 %2, 0
br i1 %4, label %15, label %5
5: ; preds = %3, %5
%6 = phi ptr [ %13, %5 ], [ %0, %3 ]
%7 = phi i64 [ %9, %5 ], [ %2, %3 ]
%8 = phi ptr [ %10, %5 ], [ %1, %3 ]
%9 = add i64 %7, -1
%10 = getelementptr inbounds i8, ptr %8, i64 4
%11 = load i32, ptr %8, align 4, !tbaa !6
%12 = tail call i32 @br_enc32be(ptr noundef %6, i32 noundef %11) #2
%13 = getelementptr inbounds i8, ptr %6, i64 4
%14 = icmp eq i64 %9, 0
br i1 %14, label %15, label %5, !llvm.loop !10
15: ; preds = %5, %3
ret void
}
declare i32 @br_enc32be(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_bearssl_src_codec_extr_enc32be.c_br_range_enc32be |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tiny/extr_repaper.c_repaper_frame_fixed_repeat.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/tiny/extr_repaper.c_repaper_frame_fixed_repeat.c"
target datalayout = "e-m:e-p270:32:32-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 @repaper_frame_fixed_repeat], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @repaper_frame_fixed_repeat(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 (...) @local_clock() #2
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = mul i32 %5, 1000000
%7 = sext i32 %6 to i64
%8 = add nsw i64 %4, %7
br label %9
9: ; preds = %9, %3
%10 = tail call i32 @repaper_frame_fixed(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2
%11 = tail call i64 (...) @local_clock() #2
%12 = icmp slt i64 %11, %8
br i1 %12, label %9, label %13, !llvm.loop !10
13: ; preds = %9
ret void
}
declare i64 @local_clock(...) local_unnamed_addr #1
declare i32 @repaper_frame_fixed(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 = !{!"repaper_epd", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tiny/extr_repaper.c_repaper_frame_fixed_repeat.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/tiny/extr_repaper.c_repaper_frame_fixed_repeat.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 @repaper_frame_fixed_repeat], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @repaper_frame_fixed_repeat(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @local_clock() #2
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = mul i32 %5, 1000000
%7 = sext i32 %6 to i64
%8 = add nsw i64 %4, %7
br label %9
9: ; preds = %9, %3
%10 = tail call i32 @repaper_frame_fixed(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2
%11 = tail call i64 @local_clock() #2
%12 = icmp slt i64 %11, %8
br i1 %12, label %9, label %13, !llvm.loop !11
13: ; preds = %9
ret void
}
declare i64 @local_clock(...) local_unnamed_addr #1
declare i32 @repaper_frame_fixed(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 = !{!"repaper_epd", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| linux_drivers_gpu_drm_tiny_extr_repaper.c_repaper_frame_fixed_repeat |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_legalnr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_legalnr.c"
target datalayout = "e-m:e-p270:32:32-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.Layer2 = type { i32, i32, i32 }
@FLG_MOD128 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @legalnr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @legalnr(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @FLG_MOD128, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.Layer2, ptr %0, i64 0, i32 2
%5 = tail call i64 @test_bit(i32 noundef %3, ptr noundef nonnull %4) #2
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr %0, align 4, !tbaa !9
%8 = sub i32 %1, %7
%9 = getelementptr inbounds %struct.Layer2, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = sub i32 %10, %7
%12 = select i1 %6, i32 7, i32 127
%13 = and i32 %8, %12
%14 = and i32 %11, %12
%15 = icmp ule i32 %13, %14
%16 = zext i1 %15 to i32
ret i32 %16
}
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"Layer2", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_legalnr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_legalnr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FLG_MOD128 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @legalnr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @legalnr(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @FLG_MOD128, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = tail call i64 @test_bit(i32 noundef %3, ptr noundef nonnull %4) #2
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr %0, align 4, !tbaa !10
%8 = sub i32 %1, %7
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = sub i32 %10, %7
%12 = select i1 %6, i32 7, i32 127
%13 = and i32 %8, %12
%14 = and i32 %11, %12
%15 = icmp ule i32 %13, %14
%16 = zext i1 %15 to i32
ret i32 %16
}
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"Layer2", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
| fastsocket_kernel_drivers_isdn_hisax_extr_isdnl2.c_legalnr |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5_ctl.c_mdp_ctl_flush_mask_lm.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5_ctl.c_mdp_ctl_flush_mask_lm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MDP5_CTL_FLUSH_LM0 = dso_local local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM1 = dso_local local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM2 = dso_local local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM3 = dso_local local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM4 = dso_local local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM5 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @mdp_ctl_flush_mask_lm(i32 noundef %0) local_unnamed_addr #0 {
switch i32 %0, label %14 [
i32 0, label %2
i32 1, label %4
i32 2, label %6
i32 3, label %8
i32 4, label %10
i32 5, label %12
]
2: ; preds = %1
%3 = load i32, ptr @MDP5_CTL_FLUSH_LM0, align 4, !tbaa !5
br label %14
4: ; preds = %1
%5 = load i32, ptr @MDP5_CTL_FLUSH_LM1, align 4, !tbaa !5
br label %14
6: ; preds = %1
%7 = load i32, ptr @MDP5_CTL_FLUSH_LM2, align 4, !tbaa !5
br label %14
8: ; preds = %1
%9 = load i32, ptr @MDP5_CTL_FLUSH_LM3, align 4, !tbaa !5
br label %14
10: ; preds = %1
%11 = load i32, ptr @MDP5_CTL_FLUSH_LM4, align 4, !tbaa !5
br label %14
12: ; preds = %1
%13 = load i32, ptr @MDP5_CTL_FLUSH_LM5, align 4, !tbaa !5
br label %14
14: ; preds = %1, %12, %10, %8, %6, %4, %2
%15 = phi i32 [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ], [ 0, %1 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5_ctl.c_mdp_ctl_flush_mask_lm.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5_ctl.c_mdp_ctl_flush_mask_lm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MDP5_CTL_FLUSH_LM0 = common local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM1 = common local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM2 = common local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM3 = common local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM4 = common local_unnamed_addr global i32 0, align 4
@MDP5_CTL_FLUSH_LM5 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @mdp_ctl_flush_mask_lm(i32 noundef %0) local_unnamed_addr #0 {
switch i32 %0, label %14 [
i32 0, label %2
i32 1, label %4
i32 2, label %6
i32 3, label %8
i32 4, label %10
i32 5, label %12
]
2: ; preds = %1
%3 = load i32, ptr @MDP5_CTL_FLUSH_LM0, align 4, !tbaa !6
br label %14
4: ; preds = %1
%5 = load i32, ptr @MDP5_CTL_FLUSH_LM1, align 4, !tbaa !6
br label %14
6: ; preds = %1
%7 = load i32, ptr @MDP5_CTL_FLUSH_LM2, align 4, !tbaa !6
br label %14
8: ; preds = %1
%9 = load i32, ptr @MDP5_CTL_FLUSH_LM3, align 4, !tbaa !6
br label %14
10: ; preds = %1
%11 = load i32, ptr @MDP5_CTL_FLUSH_LM4, align 4, !tbaa !6
br label %14
12: ; preds = %1
%13 = load i32, ptr @MDP5_CTL_FLUSH_LM5, align 4, !tbaa !6
br label %14
14: ; preds = %1, %12, %10, %8, %6, %4, %2
%15 = phi i32 [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ], [ 0, %1 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_disp_mdp5_extr_mdp5_ctl.c_mdp_ctl_flush_mask_lm |
; ModuleID = 'AnghaBench/linux/drivers/remoteproc/extr_remoteproc_virtio.c_rproc_virtio_get_status.c'
source_filename = "AnghaBench/linux/drivers/remoteproc/extr_remoteproc_virtio.c_rproc_virtio_get_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rproc_vdev = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @rproc_virtio_get_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rproc_virtio_get_status(ptr noundef %0) #0 {
%2 = tail call ptr @vdev_to_rvdev(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.rproc_vdev, ptr %2, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = inttoptr i64 %5 to ptr
%7 = load i32, ptr %2, align 8, !tbaa !14
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !15
ret i32 %10
}
declare ptr @vdev_to_rvdev(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"rproc_vdev", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"fw_rsc_vdev", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/remoteproc/extr_remoteproc_virtio.c_rproc_virtio_get_status.c'
source_filename = "AnghaBench/linux/drivers/remoteproc/extr_remoteproc_virtio.c_rproc_virtio_get_status.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 @rproc_virtio_get_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rproc_virtio_get_status(ptr noundef %0) #0 {
%2 = tail call ptr @vdev_to_rvdev(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = inttoptr i64 %5 to ptr
%7 = load i32, ptr %2, align 8, !tbaa !15
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !16
ret i32 %10
}
declare ptr @vdev_to_rvdev(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"rproc_vdev", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"fw_rsc_vdev", !8, i64 0}
| linux_drivers_remoteproc_extr_remoteproc_virtio.c_rproc_virtio_get_status |
; ModuleID = 'AnghaBench/postgres/src/pl/tcl/extr_pltcl.c_pltcl_subtransaction.c'
source_filename = "AnghaBench/postgres/src/pl/tcl/extr_pltcl.c_pltcl_subtransaction.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CurrentMemoryContext = dso_local local_unnamed_addr global i32 0, align 4
@CurrentResourceOwner = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"command\00", align 1
@TCL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pltcl_subtransaction], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pltcl_subtransaction(i32 %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = load i32, ptr @CurrentMemoryContext, align 4, !tbaa !5
%6 = load i32, ptr @CurrentResourceOwner, align 4, !tbaa !5
%7 = icmp eq i32 %2, 2
br i1 %7, label %11, label %8
8: ; preds = %4
%9 = tail call i32 @Tcl_WrongNumArgs(ptr noundef %1, i32 noundef 1, ptr noundef %3, ptr noundef nonnull @.str) #2
%10 = load i32, ptr @TCL_ERROR, align 4, !tbaa !5
br label %25
11: ; preds = %4
%12 = tail call i32 @BeginInternalSubTransaction(ptr noundef null) #2
%13 = tail call i32 @MemoryContextSwitchTo(i32 noundef %5) #2
%14 = getelementptr inbounds ptr, ptr %3, i64 1
%15 = load ptr, ptr %14, align 8, !tbaa !9
%16 = tail call i32 @Tcl_EvalObjEx(ptr noundef %1, ptr noundef %15, i32 noundef 0) #2
%17 = load i32, ptr @TCL_ERROR, align 4, !tbaa !5
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %11
%20 = tail call i32 (...) @RollbackAndReleaseCurrentSubTransaction() #2
br label %23
21: ; preds = %11
%22 = tail call i32 (...) @ReleaseCurrentSubTransaction() #2
br label %23
23: ; preds = %21, %19
%24 = tail call i32 @MemoryContextSwitchTo(i32 noundef %5) #2
store i32 %6, ptr @CurrentResourceOwner, align 4, !tbaa !5
br label %25
25: ; preds = %23, %8
%26 = phi i32 [ %10, %8 ], [ %16, %23 ]
ret i32 %26
}
declare i32 @Tcl_WrongNumArgs(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BeginInternalSubTransaction(ptr noundef) local_unnamed_addr #1
declare i32 @MemoryContextSwitchTo(i32 noundef) local_unnamed_addr #1
declare i32 @Tcl_EvalObjEx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RollbackAndReleaseCurrentSubTransaction(...) local_unnamed_addr #1
declare i32 @ReleaseCurrentSubTransaction(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/pl/tcl/extr_pltcl.c_pltcl_subtransaction.c'
source_filename = "AnghaBench/postgres/src/pl/tcl/extr_pltcl.c_pltcl_subtransaction.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CurrentMemoryContext = common local_unnamed_addr global i32 0, align 4
@CurrentResourceOwner = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"command\00", align 1
@TCL_ERROR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pltcl_subtransaction], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pltcl_subtransaction(i32 %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = load i32, ptr @CurrentMemoryContext, align 4, !tbaa !6
%6 = load i32, ptr @CurrentResourceOwner, align 4, !tbaa !6
%7 = icmp eq i32 %2, 2
br i1 %7, label %11, label %8
8: ; preds = %4
%9 = tail call i32 @Tcl_WrongNumArgs(ptr noundef %1, i32 noundef 1, ptr noundef %3, ptr noundef nonnull @.str) #2
%10 = load i32, ptr @TCL_ERROR, align 4, !tbaa !6
br label %25
11: ; preds = %4
%12 = tail call i32 @BeginInternalSubTransaction(ptr noundef null) #2
%13 = tail call i32 @MemoryContextSwitchTo(i32 noundef %5) #2
%14 = getelementptr inbounds i8, ptr %3, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !10
%16 = tail call i32 @Tcl_EvalObjEx(ptr noundef %1, ptr noundef %15, i32 noundef 0) #2
%17 = load i32, ptr @TCL_ERROR, align 4, !tbaa !6
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %11
%20 = tail call i32 @RollbackAndReleaseCurrentSubTransaction() #2
br label %23
21: ; preds = %11
%22 = tail call i32 @ReleaseCurrentSubTransaction() #2
br label %23
23: ; preds = %21, %19
%24 = tail call i32 @MemoryContextSwitchTo(i32 noundef %5) #2
store i32 %6, ptr @CurrentResourceOwner, align 4, !tbaa !6
br label %25
25: ; preds = %23, %8
%26 = phi i32 [ %10, %8 ], [ %16, %23 ]
ret i32 %26
}
declare i32 @Tcl_WrongNumArgs(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @BeginInternalSubTransaction(ptr noundef) local_unnamed_addr #1
declare i32 @MemoryContextSwitchTo(i32 noundef) local_unnamed_addr #1
declare i32 @Tcl_EvalObjEx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RollbackAndReleaseCurrentSubTransaction(...) local_unnamed_addr #1
declare i32 @ReleaseCurrentSubTransaction(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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}
| postgres_src_pl_tcl_extr_pltcl.c_pltcl_subtransaction |
; ModuleID = 'AnghaBench/streem/src/extr_iter.c_iter_uniq.c'
source_filename = "AnghaBench/streem/src/extr_iter.c_iter_uniq.c"
target datalayout = "e-m:e-p270:32:32-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.uniq_data = type { ptr, i64 }
@TRUE = dso_local local_unnamed_addr global i64 0, align 8
@STRM_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @iter_uniq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @iter_uniq(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.uniq_data, ptr %3, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = load i64, ptr @TRUE, align 8, !tbaa !13
store i64 %8, ptr %4, align 8, !tbaa !10
br label %13
9: ; preds = %2
%10 = load ptr, ptr %3, align 8, !tbaa !14
%11 = tail call i32 @strm_value_eq(ptr noundef %1, ptr noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9, %7
store ptr %1, ptr %3, align 8, !tbaa !14
%14 = tail call i32 @strm_emit(ptr noundef nonnull %0, ptr noundef %1, ptr noundef null) #2
br label %15
15: ; preds = %13, %9
%16 = load i32, ptr @STRM_OK, align 4, !tbaa !15
ret i32 %16
}
declare i32 @strm_emit(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strm_value_eq(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_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"uniq_data", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/streem/src/extr_iter.c_iter_uniq.c'
source_filename = "AnghaBench/streem/src/extr_iter.c_iter_uniq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i64 0, align 8
@STRM_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @iter_uniq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @iter_uniq(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = load i64, ptr @TRUE, align 8, !tbaa !14
store i64 %8, ptr %4, align 8, !tbaa !11
br label %13
9: ; preds = %2
%10 = load ptr, ptr %3, align 8, !tbaa !15
%11 = tail call i32 @strm_value_eq(ptr noundef %1, ptr noundef %10) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9, %7
store ptr %1, ptr %3, align 8, !tbaa !15
%14 = tail call i32 @strm_emit(ptr noundef nonnull %0, ptr noundef %1, ptr noundef null) #2
br label %15
15: ; preds = %13, %9
%16 = load i32, ptr @STRM_OK, align 4, !tbaa !16
ret i32 %16
}
declare i32 @strm_emit(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strm_value_eq(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_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"uniq_data", !8, i64 0, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !8, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !9, i64 0}
| streem_src_extr_iter.c_iter_uniq |
; ModuleID = 'AnghaBench/fastsocket/kernel/security/extr_capability.c_cap_inode_readlink.c'
source_filename = "AnghaBench/fastsocket/kernel/security/extr_capability.c_cap_inode_readlink.c"
target datalayout = "e-m:e-p270:32:32-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 @cap_inode_readlink], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @cap_inode_readlink(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/security/extr_capability.c_cap_inode_readlink.c'
source_filename = "AnghaBench/fastsocket/kernel/security/extr_capability.c_cap_inode_readlink.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 @cap_inode_readlink], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @cap_inode_readlink(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_security_extr_capability.c_cap_inode_readlink |
; ModuleID = 'AnghaBench/jerryscript/targets/curie_bsp/jerry_app/quark/extr_main.c_jerry_start.c'
source_filename = "AnghaBench/jerryscript/targets/curie_bsp/jerry_app/quark/extr_main.c_jerry_start.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@JERRY_INIT_EMPTY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"print\00", align 1
@print_function = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @jerry_start() local_unnamed_addr #0 {
%1 = tail call i64 (...) @jerry_port_get_current_time() #2
%2 = trunc i64 %1 to i32
%3 = tail call i32 @srand(i32 noundef %2) #2
%4 = load i32, ptr @JERRY_INIT_EMPTY, align 4, !tbaa !5
%5 = tail call i32 @jerry_init(i32 noundef %4) #2
%6 = tail call i32 (...) @jerry_get_global_object() #2
%7 = tail call i32 @jerry_create_string(ptr noundef nonnull @.str) #2
%8 = tail call i32 @jerry_get_property(i32 noundef %6, i32 noundef %7) #2
store i32 %8, ptr @print_function, align 4, !tbaa !5
%9 = tail call i32 @jerry_release_value(i32 noundef %7) #2
%10 = tail call i32 @jerry_release_value(i32 noundef %6) #2
ret void
}
declare i32 @srand(i32 noundef) local_unnamed_addr #1
declare i64 @jerry_port_get_current_time(...) local_unnamed_addr #1
declare i32 @jerry_init(i32 noundef) local_unnamed_addr #1
declare i32 @jerry_get_global_object(...) local_unnamed_addr #1
declare i32 @jerry_create_string(ptr noundef) local_unnamed_addr #1
declare i32 @jerry_get_property(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jerry_release_value(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/jerryscript/targets/curie_bsp/jerry_app/quark/extr_main.c_jerry_start.c'
source_filename = "AnghaBench/jerryscript/targets/curie_bsp/jerry_app/quark/extr_main.c_jerry_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@JERRY_INIT_EMPTY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"print\00", align 1
@print_function = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @jerry_start() local_unnamed_addr #0 {
%1 = tail call i64 @jerry_port_get_current_time() #2
%2 = trunc i64 %1 to i32
%3 = tail call i32 @srand(i32 noundef %2) #2
%4 = load i32, ptr @JERRY_INIT_EMPTY, align 4, !tbaa !6
%5 = tail call i32 @jerry_init(i32 noundef %4) #2
%6 = tail call i32 @jerry_get_global_object() #2
%7 = tail call i32 @jerry_create_string(ptr noundef nonnull @.str) #2
%8 = tail call i32 @jerry_get_property(i32 noundef %6, i32 noundef %7) #2
store i32 %8, ptr @print_function, align 4, !tbaa !6
%9 = tail call i32 @jerry_release_value(i32 noundef %7) #2
%10 = tail call i32 @jerry_release_value(i32 noundef %6) #2
ret void
}
declare i32 @srand(i32 noundef) local_unnamed_addr #1
declare i64 @jerry_port_get_current_time(...) local_unnamed_addr #1
declare i32 @jerry_init(i32 noundef) local_unnamed_addr #1
declare i32 @jerry_get_global_object(...) local_unnamed_addr #1
declare i32 @jerry_create_string(ptr noundef) local_unnamed_addr #1
declare i32 @jerry_get_property(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jerry_release_value(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"}
| jerryscript_targets_curie_bsp_jerry_app_quark_extr_main.c_jerry_start |
; ModuleID = 'AnghaBench/linux/arch/mips/pci/extr_pci-mt7620.c_pci_config_write.c'
source_filename = "AnghaBench/linux/arch/mips/pci/extr_pci-mt7620.c_pci_config_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RALINK_PCI_CONFIG_ADDR = dso_local local_unnamed_addr global i32 0, align 4
@RALINK_PCI_CONFIG_DATA_VIRT_REG = dso_local local_unnamed_addr global i32 0, align 4
@PCIBIOS_SUCCESSFUL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pci_config_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pci_config_write(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = tail call i32 @PCI_SLOT(i32 noundef %1) #2
%7 = tail call i32 @PCI_FUNC(i32 noundef %1) #2
%8 = icmp eq ptr %0, null
br i1 %8, label %12, label %9
9: ; preds = %5
%10 = load i32, ptr %0, align 4, !tbaa !5
%11 = shl i32 %10, 16
br label %12
12: ; preds = %9, %5
%13 = phi i32 [ %11, %9 ], [ 0, %5 ]
%14 = shl i32 %2, 16
%15 = and i32 %14, 251658240
%16 = shl i32 %6, 11
%17 = shl i32 %7, 8
%18 = and i32 %2, 252
%19 = or disjoint i32 %18, %15
%20 = or i32 %19, %16
%21 = or i32 %20, %17
%22 = or i32 %21, %13
%23 = or i32 %22, -2147483648
%24 = load i32, ptr @RALINK_PCI_CONFIG_ADDR, align 4, !tbaa !10
%25 = tail call i32 @bridge_w32(i32 noundef %23, i32 noundef %24) #2
%26 = load i32, ptr @RALINK_PCI_CONFIG_DATA_VIRT_REG, align 4, !tbaa !10
%27 = tail call i32 @bridge_r32(i32 noundef %26) #2
switch i32 %3, label %45 [
i32 1, label %28
i32 2, label %36
i32 4, label %44
]
28: ; preds = %12
%29 = shl i32 %2, 3
%30 = and i32 %29, 24
%31 = shl nuw i32 255, %30
%32 = xor i32 %31, -1
%33 = and i32 %27, %32
%34 = shl i32 %4, %30
%35 = or i32 %33, %34
br label %45
36: ; preds = %12
%37 = shl i32 %2, 3
%38 = and i32 %37, 24
%39 = shl i32 65535, %38
%40 = xor i32 %39, -1
%41 = and i32 %27, %40
%42 = shl i32 %4, %38
%43 = or i32 %41, %42
br label %45
44: ; preds = %12
br label %45
45: ; preds = %12, %44, %36, %28
%46 = phi i32 [ %27, %12 ], [ %4, %44 ], [ %43, %36 ], [ %35, %28 ]
%47 = load i32, ptr @RALINK_PCI_CONFIG_DATA_VIRT_REG, align 4, !tbaa !10
%48 = tail call i32 @bridge_w32(i32 noundef %46, i32 noundef %47) #2
%49 = load i32, ptr @PCIBIOS_SUCCESSFUL, align 4, !tbaa !10
ret i32 %49
}
declare i32 @PCI_SLOT(i32 noundef) local_unnamed_addr #1
declare i32 @PCI_FUNC(i32 noundef) local_unnamed_addr #1
declare i32 @bridge_w32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bridge_r32(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 = !{!"pci_bus", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/mips/pci/extr_pci-mt7620.c_pci_config_write.c'
source_filename = "AnghaBench/linux/arch/mips/pci/extr_pci-mt7620.c_pci_config_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RALINK_PCI_CONFIG_ADDR = common local_unnamed_addr global i32 0, align 4
@RALINK_PCI_CONFIG_DATA_VIRT_REG = common local_unnamed_addr global i32 0, align 4
@PCIBIOS_SUCCESSFUL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pci_config_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pci_config_write(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = tail call i32 @PCI_SLOT(i32 noundef %1) #2
%7 = tail call i32 @PCI_FUNC(i32 noundef %1) #2
%8 = icmp eq ptr %0, null
br i1 %8, label %12, label %9
9: ; preds = %5
%10 = load i32, ptr %0, align 4, !tbaa !6
%11 = shl i32 %10, 16
br label %12
12: ; preds = %9, %5
%13 = phi i32 [ %11, %9 ], [ 0, %5 ]
%14 = shl i32 %2, 16
%15 = and i32 %14, 251658240
%16 = shl i32 %6, 11
%17 = shl i32 %7, 8
%18 = and i32 %2, 252
%19 = or disjoint i32 %18, %15
%20 = or i32 %19, %16
%21 = or i32 %20, %17
%22 = or i32 %21, %13
%23 = or i32 %22, -2147483648
%24 = load i32, ptr @RALINK_PCI_CONFIG_ADDR, align 4, !tbaa !11
%25 = tail call i32 @bridge_w32(i32 noundef %23, i32 noundef %24) #2
%26 = load i32, ptr @RALINK_PCI_CONFIG_DATA_VIRT_REG, align 4, !tbaa !11
%27 = tail call i32 @bridge_r32(i32 noundef %26) #2
switch i32 %3, label %45 [
i32 1, label %28
i32 2, label %36
i32 4, label %44
]
28: ; preds = %12
%29 = shl i32 %2, 3
%30 = and i32 %29, 24
%31 = shl nuw i32 255, %30
%32 = xor i32 %31, -1
%33 = and i32 %27, %32
%34 = shl i32 %4, %30
%35 = or i32 %33, %34
br label %45
36: ; preds = %12
%37 = shl i32 %2, 3
%38 = and i32 %37, 24
%39 = shl i32 65535, %38
%40 = xor i32 %39, -1
%41 = and i32 %27, %40
%42 = shl i32 %4, %38
%43 = or i32 %41, %42
br label %45
44: ; preds = %12
br label %45
45: ; preds = %12, %44, %36, %28
%46 = phi i32 [ %27, %12 ], [ %4, %44 ], [ %43, %36 ], [ %35, %28 ]
%47 = load i32, ptr @RALINK_PCI_CONFIG_DATA_VIRT_REG, align 4, !tbaa !11
%48 = tail call i32 @bridge_w32(i32 noundef %46, i32 noundef %47) #2
%49 = load i32, ptr @PCIBIOS_SUCCESSFUL, align 4, !tbaa !11
ret i32 %49
}
declare i32 @PCI_SLOT(i32 noundef) local_unnamed_addr #1
declare i32 @PCI_FUNC(i32 noundef) local_unnamed_addr #1
declare i32 @bridge_w32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bridge_r32(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 = !{!"pci_bus", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_arch_mips_pci_extr_pci-mt7620.c_pci_config_write |
; ModuleID = 'AnghaBench/vlc/modules/stream_out/transcode/extr_transcode.c_Send.c'
source_filename = "AnghaBench/vlc/modules/stream_out/transcode/extr_transcode.c_Send.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_15__ = type { i64, ptr, i32, i64 }
@VLC_EGENERIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Send], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @Send(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 3
%6 = load i64, ptr %5, align 8, !tbaa !9
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %39
8: ; preds = %3
%9 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 2
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = load i64, ptr %1, align 8, !tbaa !14
%14 = icmp eq i64 %13, 0
br i1 %14, label %39, label %15
15: ; preds = %12
%16 = load i32, ptr %0, align 4, !tbaa !15
%17 = tail call i32 @sout_StreamIdSend(i32 noundef %16, i64 noundef %13, ptr noundef %2) #3
br label %45
18: ; preds = %8
%19 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !17
%21 = load i32, ptr %20, align 4, !tbaa !18
switch i32 %21, label %39 [
i32 130, label %22
i32 128, label %24
i32 129, label %26
]
22: ; preds = %18
%23 = call i32 @transcode_audio_process(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %4) #3
br label %28
24: ; preds = %18
%25 = call i32 @transcode_video_process(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %4) #3
br label %28
26: ; preds = %18
%27 = call i32 @transcode_spu_process(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %4) #3
br label %28
28: ; preds = %26, %24, %22
%29 = phi i32 [ %27, %26 ], [ %25, %24 ], [ %23, %22 ]
%30 = load ptr, ptr %4, align 8, !tbaa !5
%31 = icmp eq ptr %30, null
br i1 %31, label %45, label %32
32: ; preds = %28
%33 = load i32, ptr %0, align 4, !tbaa !15
%34 = load i64, ptr %1, align 8, !tbaa !14
%35 = call i32 @sout_StreamIdSend(i32 noundef %33, i64 noundef %34, ptr noundef nonnull %30) #3
%36 = icmp eq i32 %35, 0
%37 = load i32, ptr @VLC_EGENERIC, align 4
%38 = select i1 %36, i32 %29, i32 %37
br label %45
39: ; preds = %18, %12, %3
%40 = icmp eq ptr %2, null
br i1 %40, label %43, label %41
41: ; preds = %39
%42 = tail call i32 @block_Release(ptr noundef nonnull %2) #3
br label %43
43: ; preds = %41, %39
%44 = load i32, ptr @VLC_EGENERIC, align 4, !tbaa !21
br label %45
45: ; preds = %32, %28, %43, %15
%46 = phi i32 [ %44, %43 ], [ %17, %15 ], [ %29, %28 ], [ %38, %32 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %46
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sout_StreamIdSend(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @transcode_audio_process(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @transcode_video_process(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @transcode_spu_process(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @block_Release(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, !11, i64 24}
!10 = !{!"TYPE_15__", !11, i64 0, !6, i64 8, !12, i64 16, !11, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!10, !11, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_14__", !12, i64 0}
!17 = !{!10, !6, i64 8}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_13__", !20, i64 0}
!20 = !{!"TYPE_12__", !12, i64 0}
!21 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/stream_out/transcode/extr_transcode.c_Send.c'
source_filename = "AnghaBench/vlc/modules/stream_out/transcode/extr_transcode.c_Send.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VLC_EGENERIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Send], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @Send(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 24
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %39
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %1, i64 16
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = load i64, ptr %1, align 8, !tbaa !15
%14 = icmp eq i64 %13, 0
br i1 %14, label %39, label %15
15: ; preds = %12
%16 = load i32, ptr %0, align 4, !tbaa !16
%17 = tail call i32 @sout_StreamIdSend(i32 noundef %16, i64 noundef %13, ptr noundef %2) #3
br label %45
18: ; preds = %8
%19 = getelementptr inbounds i8, ptr %1, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !18
%21 = load i32, ptr %20, align 4, !tbaa !19
switch i32 %21, label %39 [
i32 130, label %22
i32 128, label %24
i32 129, label %26
]
22: ; preds = %18
%23 = call i32 @transcode_audio_process(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %4) #3
br label %28
24: ; preds = %18
%25 = call i32 @transcode_video_process(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %4) #3
br label %28
26: ; preds = %18
%27 = call i32 @transcode_spu_process(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %4) #3
br label %28
28: ; preds = %26, %24, %22
%29 = phi i32 [ %27, %26 ], [ %25, %24 ], [ %23, %22 ]
%30 = load ptr, ptr %4, align 8, !tbaa !6
%31 = icmp eq ptr %30, null
br i1 %31, label %45, label %32
32: ; preds = %28
%33 = load i32, ptr %0, align 4, !tbaa !16
%34 = load i64, ptr %1, align 8, !tbaa !15
%35 = call i32 @sout_StreamIdSend(i32 noundef %33, i64 noundef %34, ptr noundef nonnull %30) #3
%36 = icmp eq i32 %35, 0
%37 = load i32, ptr @VLC_EGENERIC, align 4
%38 = select i1 %36, i32 %29, i32 %37
br label %45
39: ; preds = %18, %12, %3
%40 = icmp eq ptr %2, null
br i1 %40, label %43, label %41
41: ; preds = %39
%42 = tail call i32 @block_Release(ptr noundef nonnull %2) #3
br label %43
43: ; preds = %41, %39
%44 = load i32, ptr @VLC_EGENERIC, align 4, !tbaa !22
br label %45
45: ; preds = %32, %28, %43, %15
%46 = phi i32 [ %44, %43 ], [ %17, %15 ], [ %29, %28 ], [ %38, %32 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %46
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sout_StreamIdSend(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @transcode_audio_process(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @transcode_video_process(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @transcode_spu_process(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @block_Release(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, !12, i64 24}
!11 = !{!"TYPE_15__", !12, i64 0, !7, i64 8, !13, i64 16, !12, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = !{!11, !12, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_14__", !13, i64 0}
!18 = !{!11, !7, i64 8}
!19 = !{!20, !13, i64 0}
!20 = !{!"TYPE_13__", !21, i64 0}
!21 = !{!"TYPE_12__", !13, i64 0}
!22 = !{!13, !13, i64 0}
| vlc_modules_stream_out_transcode_extr_transcode.c_Send |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_misc.c_ar5212SetTsf64.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_misc.c_ar5212SetTsf64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AR_TSF_L32 = dso_local local_unnamed_addr global i32 0, align 4
@AR_TSF_U32 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ar5212SetTsf64(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @AR_TSF_L32, align 4, !tbaa !5
%4 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2
%5 = load i32, ptr @AR_TSF_U32, align 4, !tbaa !5
%6 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %5, i32 noundef poison) #2
ret void
}
declare i32 @OS_REG_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_misc.c_ar5212SetTsf64.c'
source_filename = "AnghaBench/freebsd/sys/dev/ath/ath_hal/ar5212/extr_ar5212_misc.c_ar5212SetTsf64.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AR_TSF_L32 = common local_unnamed_addr global i32 0, align 4
@AR_TSF_U32 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ar5212SetTsf64(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @AR_TSF_L32, align 4, !tbaa !6
%4 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2
%5 = load i32, ptr @AR_TSF_U32, align 4, !tbaa !6
%6 = tail call i32 @OS_REG_WRITE(ptr noundef %0, i32 noundef %5, i32 noundef poison) #2
ret void
}
declare i32 @OS_REG_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_ath_ath_hal_ar5212_extr_ar5212_misc.c_ar5212SetTsf64 |
; ModuleID = 'AnghaBench/libgit2/src/transports/extr_git.c__git_receivepack.c'
source_filename = "AnghaBench/libgit2/src/transports/extr_git.c__git_receivepack.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GIT_ERROR_NET = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"must call RECEIVEPACK_LS before RECEIVEPACK\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @_git_receivepack], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @_git_receivepack(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call i32 @GIT_UNUSED(ptr noundef %1) #2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %3
store ptr %5, ptr %2, align 8, !tbaa !10
br label %11
8: ; preds = %3
%9 = load i32, ptr @GIT_ERROR_NET, align 4, !tbaa !11
%10 = tail call i32 @git_error_set(i32 noundef %9, ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %8, %7
%12 = phi i32 [ 0, %7 ], [ -1, %8 ]
ret i32 %12
}
declare i32 @GIT_UNUSED(ptr noundef) local_unnamed_addr #1
declare i32 @git_error_set(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/libgit2/src/transports/extr_git.c__git_receivepack.c'
source_filename = "AnghaBench/libgit2/src/transports/extr_git.c__git_receivepack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GIT_ERROR_NET = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"must call RECEIVEPACK_LS before RECEIVEPACK\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @_git_receivepack], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @_git_receivepack(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call i32 @GIT_UNUSED(ptr noundef %1) #2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %8, label %7
7: ; preds = %3
store ptr %5, ptr %2, align 8, !tbaa !11
br label %11
8: ; preds = %3
%9 = load i32, ptr @GIT_ERROR_NET, align 4, !tbaa !12
%10 = tail call i32 @git_error_set(i32 noundef %9, ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %8, %7
%12 = phi i32 [ 0, %7 ], [ -1, %8 ]
ret i32 %12
}
declare i32 @GIT_UNUSED(ptr noundef) local_unnamed_addr #1
declare i32 @git_error_set(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| libgit2_src_transports_extr_git.c__git_receivepack |
; ModuleID = 'AnghaBench/mruby/mrbgems/mruby-metaprog/src/extr_metaprog.c_mrb_mod_remove_cvar.c'
source_filename = "AnghaBench/mruby/mrbgems/mruby-metaprog/src/extr_metaprog.c_mrb_mod_remove_cvar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"n\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"cannot remove %n for %v\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"class variable %n not defined for %v\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mrb_mod_remove_cvar], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mrb_mod_remove_cvar(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @mrb_get_args(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%5 = load i32, ptr %3, align 4, !tbaa !5
%6 = call i32 @check_cv_name_sym(ptr noundef %0, i32 noundef %5) #3
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = call i32 @mrb_iv_remove(ptr noundef %0, i32 noundef %1, i32 noundef %7) #3
%9 = call i32 @mrb_undef_p(i32 noundef %8) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %22, label %11
11: ; preds = %2
%12 = load i32, ptr %3, align 4, !tbaa !5
%13 = call i64 @mrb_cv_defined(ptr noundef %0, i32 noundef %1, i32 noundef %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %11
%16 = load i32, ptr %3, align 4, !tbaa !5
%17 = call i32 @mrb_name_error(ptr noundef %0, i32 noundef %16, ptr noundef nonnull @.str.1, i32 noundef %16, i32 noundef %1) #3
br label %18
18: ; preds = %15, %11
%19 = load i32, ptr %3, align 4, !tbaa !5
%20 = call i32 @mrb_name_error(ptr noundef %0, i32 noundef %19, ptr noundef nonnull @.str.2, i32 noundef %19, i32 noundef %1) #3
%21 = call i32 (...) @mrb_nil_value() #3
br label %22
22: ; preds = %2, %18
%23 = phi i32 [ %21, %18 ], [ %8, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %23
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mrb_get_args(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @check_cv_name_sym(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mrb_iv_remove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mrb_undef_p(i32 noundef) local_unnamed_addr #2
declare i64 @mrb_cv_defined(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mrb_name_error(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mrb_nil_value(...) 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/mruby/mrbgems/mruby-metaprog/src/extr_metaprog.c_mrb_mod_remove_cvar.c'
source_filename = "AnghaBench/mruby/mrbgems/mruby-metaprog/src/extr_metaprog.c_mrb_mod_remove_cvar.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [2 x i8] c"n\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"cannot remove %n for %v\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"class variable %n not defined for %v\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mrb_mod_remove_cvar], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mrb_mod_remove_cvar(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @mrb_get_args(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%5 = load i32, ptr %3, align 4, !tbaa !6
%6 = call i32 @check_cv_name_sym(ptr noundef %0, i32 noundef %5) #3
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = call i32 @mrb_iv_remove(ptr noundef %0, i32 noundef %1, i32 noundef %7) #3
%9 = call i32 @mrb_undef_p(i32 noundef %8) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %22, label %11
11: ; preds = %2
%12 = load i32, ptr %3, align 4, !tbaa !6
%13 = call i64 @mrb_cv_defined(ptr noundef %0, i32 noundef %1, i32 noundef %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %11
%16 = load i32, ptr %3, align 4, !tbaa !6
%17 = call i32 @mrb_name_error(ptr noundef %0, i32 noundef %16, ptr noundef nonnull @.str.1, i32 noundef %16, i32 noundef %1) #3
br label %18
18: ; preds = %15, %11
%19 = load i32, ptr %3, align 4, !tbaa !6
%20 = call i32 @mrb_name_error(ptr noundef %0, i32 noundef %19, ptr noundef nonnull @.str.2, i32 noundef %19, i32 noundef %1) #3
%21 = call i32 @mrb_nil_value() #3
br label %22
22: ; preds = %2, %18
%23 = phi i32 [ %21, %18 ], [ %8, %2 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %23
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mrb_get_args(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @check_cv_name_sym(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mrb_iv_remove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mrb_undef_p(i32 noundef) local_unnamed_addr #2
declare i64 @mrb_cv_defined(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mrb_name_error(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mrb_nil_value(...) 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"}
| mruby_mrbgems_mruby-metaprog_src_extr_metaprog.c_mrb_mod_remove_cvar |
; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_createMask.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_createMask.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @createMask], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @createMask(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i64 @ArraySize(ptr noundef %5) #2
%7 = icmp slt i64 %3, %6
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 noundef %8) #2
%10 = load ptr, ptr %4, align 8, !tbaa !11
%11 = load i64, ptr %0, align 8, !tbaa !5
%12 = add nsw i64 %11, 1
store i64 %12, ptr %0, align 8, !tbaa !5
%13 = getelementptr inbounds i32, ptr %10, i64 %11
store i32 %1, ptr %13, align 4, !tbaa !12
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @ArraySize(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, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_createMask.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_createMask.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 @createMask], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @createMask(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = tail call i64 @ArraySize(ptr noundef %5) #2
%7 = icmp slt i64 %3, %6
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 noundef %8) #2
%10 = load ptr, ptr %4, align 8, !tbaa !12
%11 = load i64, ptr %0, align 8, !tbaa !6
%12 = add nsw i64 %11, 1
store i64 %12, ptr %0, align 8, !tbaa !6
%13 = getelementptr inbounds i32, ptr %10, i64 %11
store i32 %1, ptr %13, align 4, !tbaa !13
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @ArraySize(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, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
| wcdb_android_sqlcipher_extr_sqlite3.c_createMask |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_sync.c_ip_vs_process_message_v0.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_sync.c_ip_vs_process_message_v0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ip_vs_conn_param = type { i32 }
%struct.ip_vs_sync_conn_v0 = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.ip_vs_protocol = type { i32, i32 }
@SIMPLE_CONN_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"BACKUP v0, bogus conn\0A\00", align 1
@IP_VS_CONN_F_SYNC = dso_local local_unnamed_addr global i32 0, align 4
@IP_VS_CONN_F_HASHED = dso_local local_unnamed_addr global i32 0, align 4
@IP_VS_CONN_F_SEQ_MASK = dso_local local_unnamed_addr global i32 0, align 4
@FULL_CONN_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"BACKUP v0, Dropping buffer bogus conn options\0A\00", align 1
@IP_VS_CONN_F_TEMPLATE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [36 x i8] c"BACKUP v0, Unsupported protocol %u\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"BACKUP v0, Invalid %s state %u\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"BACKUP v0, Invalid template state %u\0A\00", align 1
@AF_INET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ip_vs_process_message_v0], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ip_vs_process_message_v0(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.ip_vs_conn_param, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %90
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = getelementptr inbounds i8, ptr %0, i64 %1
br label %9
9: ; preds = %6, %83
%10 = phi i32 [ 0, %6 ], [ %84, %83 ]
%11 = phi ptr [ %7, %6 ], [ %40, %83 ]
%12 = load i32, ptr @SIMPLE_CONN_SIZE, align 4, !tbaa !10
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = icmp ugt ptr %14, %8
br i1 %15, label %87, label %16
16: ; preds = %9
%17 = getelementptr inbounds %struct.ip_vs_sync_conn_v0, ptr %11, i64 0, i32 8
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = call i32 @ntohs(i32 noundef %18) #3
%20 = load i32, ptr @IP_VS_CONN_F_SYNC, align 4, !tbaa !10
%21 = or i32 %20, %19
%22 = load i32, ptr @IP_VS_CONN_F_HASHED, align 4, !tbaa !10
%23 = xor i32 %22, -1
%24 = and i32 %21, %23
%25 = load i32, ptr @IP_VS_CONN_F_SEQ_MASK, align 4, !tbaa !10
%26 = and i32 %24, %25
%27 = icmp eq i32 %26, 0
br i1 %27, label %34, label %28
28: ; preds = %16
%29 = getelementptr inbounds %struct.ip_vs_sync_conn_v0, ptr %11, i64 1
%30 = load i32, ptr @FULL_CONN_SIZE, align 4, !tbaa !10
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %11, i64 %31
%33 = icmp ugt ptr %32, %8
br i1 %33, label %87, label %38
34: ; preds = %16
%35 = load i32, ptr @SIMPLE_CONN_SIZE, align 4, !tbaa !10
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %11, i64 %36
br label %38
38: ; preds = %28, %34
%39 = phi ptr [ %29, %28 ], [ null, %34 ]
%40 = phi ptr [ %32, %28 ], [ %37, %34 ]
%41 = getelementptr inbounds %struct.ip_vs_sync_conn_v0, ptr %11, i64 0, i32 7
%42 = load i32, ptr %41, align 4, !tbaa !13
%43 = call i32 @ntohs(i32 noundef %42) #3
%44 = load i32, ptr @IP_VS_CONN_F_TEMPLATE, align 4, !tbaa !10
%45 = and i32 %44, %24
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %61
47: ; preds = %38
%48 = load i32, ptr %11, align 4, !tbaa !14
%49 = call ptr @ip_vs_proto_get(i32 noundef %48) #3
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %54
51: ; preds = %47
%52 = load i32, ptr %11, align 4, !tbaa !14
%53 = call i32 (i32, ptr, i32, ...) @IP_VS_DBG(i32 noundef 2, ptr noundef nonnull @.str.2, i32 noundef %52) #3
br label %83
54: ; preds = %47
%55 = load i32, ptr %49, align 4, !tbaa !15
%56 = icmp ult i32 %43, %55
br i1 %56, label %65, label %57
57: ; preds = %54
%58 = getelementptr inbounds %struct.ip_vs_protocol, ptr %49, i64 0, i32 1
%59 = load i32, ptr %58, align 4, !tbaa !17
%60 = call i32 (i32, ptr, i32, ...) @IP_VS_DBG(i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef %59, i32 noundef %43) #3
br label %83
61: ; preds = %38
%62 = icmp eq i32 %43, 0
br i1 %62, label %65, label %63
63: ; preds = %61
%64 = call i32 (i32, ptr, i32, ...) @IP_VS_DBG(i32 noundef 2, ptr noundef nonnull @.str.4, i32 noundef %43) #3
br label %65
65: ; preds = %61, %63, %54
%66 = phi ptr [ null, %63 ], [ null, %61 ], [ %49, %54 ]
%67 = phi i32 [ 0, %63 ], [ 0, %61 ], [ %43, %54 ]
%68 = load i32, ptr @AF_INET, align 4, !tbaa !10
%69 = load i32, ptr %11, align 4, !tbaa !14
%70 = getelementptr inbounds %struct.ip_vs_sync_conn_v0, ptr %11, i64 0, i32 6
%71 = getelementptr inbounds %struct.ip_vs_sync_conn_v0, ptr %11, i64 0, i32 5
%72 = load i32, ptr %71, align 4, !tbaa !18
%73 = getelementptr inbounds %struct.ip_vs_sync_conn_v0, ptr %11, i64 0, i32 4
%74 = getelementptr inbounds %struct.ip_vs_sync_conn_v0, ptr %11, i64 0, i32 3
%75 = load i32, ptr %74, align 4, !tbaa !19
%76 = call i32 @ip_vs_conn_fill_param(i32 noundef %68, i32 noundef %69, ptr noundef nonnull %70, i32 noundef %72, ptr noundef nonnull %73, i32 noundef %75, ptr noundef nonnull %3) #3
%77 = load i32, ptr %11, align 4, !tbaa !14
%78 = load i32, ptr @AF_INET, align 4, !tbaa !10
%79 = getelementptr inbounds %struct.ip_vs_sync_conn_v0, ptr %11, i64 0, i32 2
%80 = getelementptr inbounds %struct.ip_vs_sync_conn_v0, ptr %11, i64 0, i32 1
%81 = load i32, ptr %80, align 4, !tbaa !20
%82 = call i32 @ip_vs_proc_conn(ptr noundef nonnull %3, i32 noundef %24, i32 noundef %67, i32 noundef %77, i32 noundef %78, ptr noundef nonnull %79, i32 noundef %81, i32 noundef 0, i32 noundef 0, ptr noundef %39, ptr noundef %66) #3
br label %83
83: ; preds = %65, %57, %51
%84 = add nuw nsw i32 %10, 1
%85 = load i32, ptr %0, align 4, !tbaa !5
%86 = icmp slt i32 %84, %85
br i1 %86, label %9, label %90, !llvm.loop !21
87: ; preds = %28, %9
%88 = phi ptr [ @.str, %9 ], [ @.str.1, %28 ]
%89 = call i32 @IP_VS_ERR_RL(ptr noundef nonnull %88) #3
br label %90
90: ; preds = %83, %87, %2
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IP_VS_ERR_RL(ptr noundef) local_unnamed_addr #2
declare i32 @ntohs(i32 noundef) local_unnamed_addr #2
declare ptr @ip_vs_proto_get(i32 noundef) local_unnamed_addr #2
declare i32 @IP_VS_DBG(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @ip_vs_conn_fill_param(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ip_vs_proc_conn(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"ip_vs_sync_mesg_v0", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 32}
!12 = !{!"ip_vs_sync_conn_v0", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32}
!13 = !{!12, !7, i64 28}
!14 = !{!12, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"ip_vs_protocol", !7, i64 0, !7, i64 4}
!17 = !{!16, !7, i64 4}
!18 = !{!12, !7, i64 20}
!19 = !{!12, !7, i64 12}
!20 = !{!12, !7, i64 4}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_sync.c_ip_vs_process_message_v0.c'
source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_sync.c_ip_vs_process_message_v0.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ip_vs_conn_param = type { i32 }
@SIMPLE_CONN_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"BACKUP v0, bogus conn\0A\00", align 1
@IP_VS_CONN_F_SYNC = common local_unnamed_addr global i32 0, align 4
@IP_VS_CONN_F_HASHED = common local_unnamed_addr global i32 0, align 4
@IP_VS_CONN_F_SEQ_MASK = common local_unnamed_addr global i32 0, align 4
@FULL_CONN_SIZE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"BACKUP v0, Dropping buffer bogus conn options\0A\00", align 1
@IP_VS_CONN_F_TEMPLATE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [36 x i8] c"BACKUP v0, Unsupported protocol %u\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"BACKUP v0, Invalid %s state %u\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"BACKUP v0, Invalid template state %u\0A\00", align 1
@AF_INET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ip_vs_process_message_v0], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ip_vs_process_message_v0(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.ip_vs_conn_param, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %90
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = getelementptr inbounds i8, ptr %0, i64 %1
br label %9
9: ; preds = %6, %83
%10 = phi i32 [ 0, %6 ], [ %84, %83 ]
%11 = phi ptr [ %7, %6 ], [ %40, %83 ]
%12 = load i32, ptr @SIMPLE_CONN_SIZE, align 4, !tbaa !11
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = icmp ugt ptr %14, %8
br i1 %15, label %87, label %16
16: ; preds = %9
%17 = getelementptr inbounds i8, ptr %11, i64 32
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = call i32 @ntohs(i32 noundef %18) #3
%20 = load i32, ptr @IP_VS_CONN_F_SYNC, align 4, !tbaa !11
%21 = or i32 %20, %19
%22 = load i32, ptr @IP_VS_CONN_F_HASHED, align 4, !tbaa !11
%23 = xor i32 %22, -1
%24 = and i32 %21, %23
%25 = load i32, ptr @IP_VS_CONN_F_SEQ_MASK, align 4, !tbaa !11
%26 = and i32 %24, %25
%27 = icmp eq i32 %26, 0
br i1 %27, label %34, label %28
28: ; preds = %16
%29 = getelementptr inbounds i8, ptr %11, i64 36
%30 = load i32, ptr @FULL_CONN_SIZE, align 4, !tbaa !11
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %11, i64 %31
%33 = icmp ugt ptr %32, %8
br i1 %33, label %87, label %38
34: ; preds = %16
%35 = load i32, ptr @SIMPLE_CONN_SIZE, align 4, !tbaa !11
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %11, i64 %36
br label %38
38: ; preds = %28, %34
%39 = phi ptr [ %29, %28 ], [ null, %34 ]
%40 = phi ptr [ %32, %28 ], [ %37, %34 ]
%41 = getelementptr inbounds i8, ptr %11, i64 28
%42 = load i32, ptr %41, align 4, !tbaa !14
%43 = call i32 @ntohs(i32 noundef %42) #3
%44 = load i32, ptr @IP_VS_CONN_F_TEMPLATE, align 4, !tbaa !11
%45 = and i32 %44, %24
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %61
47: ; preds = %38
%48 = load i32, ptr %11, align 4, !tbaa !15
%49 = call ptr @ip_vs_proto_get(i32 noundef %48) #3
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %54
51: ; preds = %47
%52 = load i32, ptr %11, align 4, !tbaa !15
%53 = call i32 (i32, ptr, i32, ...) @IP_VS_DBG(i32 noundef 2, ptr noundef nonnull @.str.2, i32 noundef %52) #3
br label %83
54: ; preds = %47
%55 = load i32, ptr %49, align 4, !tbaa !16
%56 = icmp ult i32 %43, %55
br i1 %56, label %65, label %57
57: ; preds = %54
%58 = getelementptr inbounds i8, ptr %49, i64 4
%59 = load i32, ptr %58, align 4, !tbaa !18
%60 = call i32 (i32, ptr, i32, ...) @IP_VS_DBG(i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef %59, i32 noundef %43) #3
br label %83
61: ; preds = %38
%62 = icmp eq i32 %43, 0
br i1 %62, label %65, label %63
63: ; preds = %61
%64 = call i32 (i32, ptr, i32, ...) @IP_VS_DBG(i32 noundef 2, ptr noundef nonnull @.str.4, i32 noundef %43) #3
br label %65
65: ; preds = %61, %63, %54
%66 = phi ptr [ null, %63 ], [ null, %61 ], [ %49, %54 ]
%67 = phi i32 [ 0, %63 ], [ 0, %61 ], [ %43, %54 ]
%68 = load i32, ptr @AF_INET, align 4, !tbaa !11
%69 = load i32, ptr %11, align 4, !tbaa !15
%70 = getelementptr inbounds i8, ptr %11, i64 24
%71 = getelementptr inbounds i8, ptr %11, i64 20
%72 = load i32, ptr %71, align 4, !tbaa !19
%73 = getelementptr inbounds i8, ptr %11, i64 16
%74 = getelementptr inbounds i8, ptr %11, i64 12
%75 = load i32, ptr %74, align 4, !tbaa !20
%76 = call i32 @ip_vs_conn_fill_param(i32 noundef %68, i32 noundef %69, ptr noundef nonnull %70, i32 noundef %72, ptr noundef nonnull %73, i32 noundef %75, ptr noundef nonnull %3) #3
%77 = load i32, ptr %11, align 4, !tbaa !15
%78 = load i32, ptr @AF_INET, align 4, !tbaa !11
%79 = getelementptr inbounds i8, ptr %11, i64 8
%80 = getelementptr inbounds i8, ptr %11, i64 4
%81 = load i32, ptr %80, align 4, !tbaa !21
%82 = call i32 @ip_vs_proc_conn(ptr noundef nonnull %3, i32 noundef %24, i32 noundef %67, i32 noundef %77, i32 noundef %78, ptr noundef nonnull %79, i32 noundef %81, i32 noundef 0, i32 noundef 0, ptr noundef %39, ptr noundef %66) #3
br label %83
83: ; preds = %65, %57, %51
%84 = add nuw nsw i32 %10, 1
%85 = load i32, ptr %0, align 4, !tbaa !6
%86 = icmp slt i32 %84, %85
br i1 %86, label %9, label %90, !llvm.loop !22
87: ; preds = %28, %9
%88 = phi ptr [ @.str, %9 ], [ @.str.1, %28 ]
%89 = call i32 @IP_VS_ERR_RL(ptr noundef nonnull %88) #3
br label %90
90: ; preds = %83, %87, %2
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IP_VS_ERR_RL(ptr noundef) local_unnamed_addr #2
declare i32 @ntohs(i32 noundef) local_unnamed_addr #2
declare ptr @ip_vs_proto_get(i32 noundef) local_unnamed_addr #2
declare i32 @IP_VS_DBG(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @ip_vs_conn_fill_param(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ip_vs_proc_conn(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"ip_vs_sync_mesg_v0", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 32}
!13 = !{!"ip_vs_sync_conn_v0", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32}
!14 = !{!13, !8, i64 28}
!15 = !{!13, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"ip_vs_protocol", !8, i64 0, !8, i64 4}
!18 = !{!17, !8, i64 4}
!19 = !{!13, !8, i64 20}
!20 = !{!13, !8, i64 12}
!21 = !{!13, !8, i64 4}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_net_netfilter_ipvs_extr_ip_vs_sync.c_ip_vs_process_message_v0 |
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_pagerUnlockIfUnused.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_pagerUnlockIfUnused.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @pagerUnlockIfUnused], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pagerUnlockIfUnused(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %11
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !11
%7 = tail call i64 @sqlite3PcacheRefCount(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = tail call i32 @pagerUnlockAndRollback(ptr noundef nonnull %0) #2
br label %11
11: ; preds = %9, %4, %1
ret void
}
declare i64 @sqlite3PcacheRefCount(i32 noundef) local_unnamed_addr #1
declare i32 @pagerUnlockAndRollback(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !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 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_pagerUnlockIfUnused.c'
source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_pagerUnlockIfUnused.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 @pagerUnlockIfUnused], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pagerUnlockIfUnused(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %11
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !12
%7 = tail call i64 @sqlite3PcacheRefCount(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = tail call i32 @pagerUnlockAndRollback(ptr noundef nonnull %0) #2
br label %11
11: ; preds = %9, %4, %1
ret void
}
declare i64 @sqlite3PcacheRefCount(i32 noundef) local_unnamed_addr #1
declare i32 @pagerUnlockAndRollback(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !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 = !{!7, !11, i64 8}
| Craft_deps_sqlite_extr_sqlite3.c_pagerUnlockIfUnused |
; ModuleID = 'AnghaBench/lede/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/extr_mtk_offload.c_mtk_ppe_busy_wait.c'
source_filename = "AnghaBench/lede/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/extr_mtk_offload.c_mtk_ppe_busy_wait.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mtk_eth = type { i32, i32 }
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@MTK_REG_PPE_GLO_CFG = dso_local local_unnamed_addr global i32 0, align 4
@MTK_PPE_GLO_CFG_BUSY = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [37 x i8] c"ppe: table busy timeout - resetting\0A\00", align 1
@ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mtk_ppe_busy_wait], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mtk_ppe_busy_wait(ptr noundef %0) #0 {
%2 = load i64, ptr @jiffies, align 8, !tbaa !5
%3 = load i32, ptr @MTK_REG_PPE_GLO_CFG, align 4, !tbaa !9
%4 = tail call i32 @mtk_r32(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @MTK_PPE_GLO_CFG_BUSY, align 4, !tbaa !9
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %29, label %8
8: ; preds = %1, %14
%9 = load i64, ptr @jiffies, align 8, !tbaa !5
%10 = load i64, ptr @HZ, align 8, !tbaa !5
%11 = add i64 %10, %2
%12 = tail call i64 @time_after(i64 noundef %9, i64 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %8
%15 = tail call i32 @usleep_range(i32 noundef 10, i32 noundef 20) #2
%16 = load i32, ptr @MTK_REG_PPE_GLO_CFG, align 4, !tbaa !9
%17 = tail call i32 @mtk_r32(ptr noundef %0, i32 noundef %16) #2
%18 = load i32, ptr @MTK_PPE_GLO_CFG_BUSY, align 4, !tbaa !9
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %29, label %8
21: ; preds = %8
%22 = getelementptr inbounds %struct.mtk_eth, ptr %0, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !11
%24 = tail call i32 @dev_err(i32 noundef %23, ptr noundef nonnull @.str) #2
%25 = load i32, ptr %0, align 4, !tbaa !13
%26 = tail call i32 @reset_control_reset(i32 noundef %25) #2
%27 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !9
%28 = sub nsw i32 0, %27
br label %29
29: ; preds = %14, %1, %21
%30 = phi i32 [ %28, %21 ], [ 0, %1 ], [ 0, %14 ]
ret i32 %30
}
declare i32 @mtk_r32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @reset_control_reset(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{!"mtk_eth", !10, i64 0, !10, i64 4}
!13 = !{!12, !10, i64 0}
| ; ModuleID = 'AnghaBench/lede/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/extr_mtk_offload.c_mtk_ppe_busy_wait.c'
source_filename = "AnghaBench/lede/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/extr_mtk_offload.c_mtk_ppe_busy_wait.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i64 0, align 8
@MTK_REG_PPE_GLO_CFG = common local_unnamed_addr global i32 0, align 4
@MTK_PPE_GLO_CFG_BUSY = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [37 x i8] c"ppe: table busy timeout - resetting\0A\00", align 1
@ETIMEDOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mtk_ppe_busy_wait], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @mtk_ppe_busy_wait(ptr noundef %0) #0 {
%2 = load i64, ptr @jiffies, align 8, !tbaa !6
%3 = load i32, ptr @MTK_REG_PPE_GLO_CFG, align 4, !tbaa !10
%4 = tail call i32 @mtk_r32(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @MTK_PPE_GLO_CFG_BUSY, align 4, !tbaa !10
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %29, label %8
8: ; preds = %1, %14
%9 = load i64, ptr @jiffies, align 8, !tbaa !6
%10 = load i64, ptr @HZ, align 8, !tbaa !6
%11 = add i64 %10, %2
%12 = tail call i64 @time_after(i64 noundef %9, i64 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %8
%15 = tail call i32 @usleep_range(i32 noundef 10, i32 noundef 20) #2
%16 = load i32, ptr @MTK_REG_PPE_GLO_CFG, align 4, !tbaa !10
%17 = tail call i32 @mtk_r32(ptr noundef %0, i32 noundef %16) #2
%18 = load i32, ptr @MTK_PPE_GLO_CFG_BUSY, align 4, !tbaa !10
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %29, label %8
21: ; preds = %8
%22 = getelementptr inbounds i8, ptr %0, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !12
%24 = tail call i32 @dev_err(i32 noundef %23, ptr noundef nonnull @.str) #2
%25 = load i32, ptr %0, align 4, !tbaa !14
%26 = tail call i32 @reset_control_reset(i32 noundef %25) #2
%27 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !10
%28 = sub nsw i32 0, %27
br label %29
29: ; preds = %14, %1, %21
%30 = phi i32 [ %28, %21 ], [ 0, %1 ], [ 0, %14 ]
ret i32 %30
}
declare i32 @mtk_r32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @reset_control_reset(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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 = !{!"mtk_eth", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 0}
| lede_target_linux_ramips_files-4.14_drivers_net_ethernet_mediatek_extr_mtk_offload.c_mtk_ppe_busy_wait |
; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-mvebu-icu.c_mvebu_icu_irq_domain_free.c'
source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-mvebu-icu.c_mvebu_icu_irq_domain_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mvebu_icu_irq_domain_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mvebu_icu_irq_domain_free(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @irq_get_irq_data(i32 noundef %1) #2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @kfree(ptr noundef %5) #2
%7 = tail call i32 @platform_msi_domain_free(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare ptr @irq_get_irq_data(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @platform_msi_domain_free(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 = !{!"irq_data", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-mvebu-icu.c_mvebu_icu_irq_domain_free.c'
source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-mvebu-icu.c_mvebu_icu_irq_domain_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @mvebu_icu_irq_domain_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mvebu_icu_irq_domain_free(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @irq_get_irq_data(i32 noundef %1) #2
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @kfree(ptr noundef %5) #2
%7 = tail call i32 @platform_msi_domain_free(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare ptr @irq_get_irq_data(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @platform_msi_domain_free(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 = !{!"irq_data", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_irqchip_extr_irq-mvebu-icu.c_mvebu_icu_irq_domain_free |
; ModuleID = 'AnghaBench/linux/drivers/atm/extr_firestream.c_submit_queue.c'
source_filename = "AnghaBench/linux/drivers/atm/extr_firestream.c_submit_queue.c"
target datalayout = "e-m:e-p270:32:32-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.FS_QENTRY = type { ptr, ptr, ptr, ptr }
@pq = dso_local local_unnamed_addr global ptr null, align 8
@qp = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @submit_queue], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @submit_queue(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = tail call ptr @get_qentry(ptr noundef %0, ptr noundef %1) #2
%8 = getelementptr inbounds %struct.FS_QENTRY, ptr %7, i64 0, i32 3
store ptr %2, ptr %8, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.FS_QENTRY, ptr %7, i64 0, i32 2
store ptr %3, ptr %9, align 8, !tbaa !10
%10 = getelementptr inbounds %struct.FS_QENTRY, ptr %7, i64 0, i32 1
store ptr %4, ptr %10, align 8, !tbaa !11
store ptr %5, ptr %7, align 8, !tbaa !12
%11 = tail call i32 @submit_qentry(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %7) #2
ret void
}
declare ptr @get_qentry(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @submit_qentry(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"FS_QENTRY", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 16}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/atm/extr_firestream.c_submit_queue.c'
source_filename = "AnghaBench/linux/drivers/atm/extr_firestream.c_submit_queue.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pq = common local_unnamed_addr global ptr null, align 8
@qp = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @submit_queue], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @submit_queue(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = tail call ptr @get_qentry(ptr noundef %0, ptr noundef %1) #2
%8 = getelementptr inbounds i8, ptr %7, i64 24
store ptr %2, ptr %8, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %7, i64 16
store ptr %3, ptr %9, align 8, !tbaa !11
%10 = getelementptr inbounds i8, ptr %7, i64 8
store ptr %4, ptr %10, align 8, !tbaa !12
store ptr %5, ptr %7, align 8, !tbaa !13
%11 = tail call i32 @submit_qentry(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %7) #2
ret void
}
declare ptr @get_qentry(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @submit_qentry(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"FS_QENTRY", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 16}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 0}
| linux_drivers_atm_extr_firestream.c_submit_queue |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_condvar.c__cv_timedwait_sbt.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_condvar.c__cv_timedwait_sbt.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.lock_object }
%struct.lock_object = type { i32 }
%struct.lock_class = type { i32, ptr, ptr }
@lock_witness = dso_local local_unnamed_addr global i32 0, align 4
@curthread = dso_local local_unnamed_addr global ptr null, align 8
@WARN_GIANTOK = dso_local local_unnamed_addr global i32 0, align 4
@WARN_SLEEPOK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Waiting on \22%s\22\00", align 1
@Giant = dso_local global %struct.TYPE_3__ zeroinitializer, align 4
@MA_OWNED = dso_local local_unnamed_addr global i32 0, align 4
@SLEEPQ_CONDVAR = dso_local local_unnamed_addr global i32 0, align 4
@LC_SLEEPABLE = dso_local local_unnamed_addr global i32 0, align 4
@KTR_CSW = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @_cv_timedwait_sbt(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @lock_witness, align 4, !tbaa !5
%7 = tail call i32 @WITNESS_SAVE_DECL(i32 noundef %6) #2
%8 = load ptr, ptr @curthread, align 8, !tbaa !9
%9 = tail call i32 @CV_ASSERT(ptr noundef %0, ptr noundef %1, ptr noundef %8) #2
%10 = load i32, ptr @WARN_GIANTOK, align 4, !tbaa !5
%11 = load i32, ptr @WARN_SLEEPOK, align 4, !tbaa !5
%12 = or i32 %11, %10
%13 = load i32, ptr %0, align 4, !tbaa !11
%14 = tail call i32 @WITNESS_WARN(i32 noundef %12, ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %13) #2
%15 = tail call ptr @LOCK_CLASS(ptr noundef %1) #2
%16 = tail call i64 @SCHEDULER_STOPPED_TD(ptr noundef %8) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %64
18: ; preds = %5
%19 = tail call i32 @sleepq_lock(ptr noundef nonnull %0) #2
%20 = tail call i32 @CV_WAITERS_INC(ptr noundef nonnull %0) #2
%21 = icmp eq ptr %1, @Giant
br i1 %21, label %22, label %30
22: ; preds = %18
%23 = load i32, ptr @MA_OWNED, align 4, !tbaa !5
%24 = tail call i32 @mtx_assert(ptr noundef nonnull @Giant, i32 noundef %23) #2
%25 = tail call i32 (...) @DROP_GIANT() #2
%26 = load i32, ptr %0, align 4, !tbaa !11
%27 = load i32, ptr @SLEEPQ_CONDVAR, align 4, !tbaa !5
%28 = tail call i32 @sleepq_add(ptr noundef nonnull %0, ptr noundef nonnull @Giant, i32 noundef %26, i32 noundef %27, i32 noundef 0) #2
%29 = tail call i32 @sleepq_set_timeout_sbt(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
br label %54
30: ; preds = %18
%31 = tail call i32 (...) @DROP_GIANT() #2
%32 = load i32, ptr %0, align 4, !tbaa !11
%33 = load i32, ptr @SLEEPQ_CONDVAR, align 4, !tbaa !5
%34 = tail call i32 @sleepq_add(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %32, i32 noundef %33, i32 noundef 0) #2
%35 = tail call i32 @sleepq_set_timeout_sbt(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
%36 = load i32, ptr %15, align 8, !tbaa !13
%37 = load i32, ptr @LC_SLEEPABLE, align 4, !tbaa !5
%38 = and i32 %37, %36
%39 = icmp eq i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %30
%41 = tail call i32 @sleepq_release(ptr noundef nonnull %0) #2
br label %42
42: ; preds = %40, %30
%43 = load i32, ptr @lock_witness, align 4, !tbaa !5
%44 = tail call i32 @WITNESS_SAVE(ptr noundef %1, i32 noundef %43) #2
%45 = getelementptr inbounds %struct.lock_class, ptr %15, i64 0, i32 1
%46 = load ptr, ptr %45, align 8, !tbaa !15
%47 = tail call i32 %46(ptr noundef %1) #2
%48 = load i32, ptr %15, align 8, !tbaa !13
%49 = load i32, ptr @LC_SLEEPABLE, align 4, !tbaa !5
%50 = and i32 %49, %48
%51 = icmp eq i32 %50, 0
br i1 %51, label %54, label %52
52: ; preds = %42
%53 = tail call i32 @sleepq_lock(ptr noundef nonnull %0) #2
br label %54
54: ; preds = %22, %42, %52
%55 = phi i32 [ %47, %52 ], [ %47, %42 ], [ 0, %22 ]
%56 = tail call i32 @sleepq_timedwait(ptr noundef nonnull %0, i32 noundef 0) #2
%57 = tail call i32 (...) @PICKUP_GIANT() #2
br i1 %21, label %64, label %58
58: ; preds = %54
%59 = getelementptr inbounds %struct.lock_class, ptr %15, i64 0, i32 2
%60 = load ptr, ptr %59, align 8, !tbaa !16
%61 = tail call i32 %60(ptr noundef %1, i32 noundef %55) #2
%62 = load i32, ptr @lock_witness, align 4, !tbaa !5
%63 = tail call i32 @WITNESS_RESTORE(ptr noundef %1, i32 noundef %62) #2
br label %64
64: ; preds = %54, %58, %5
%65 = phi i32 [ 0, %5 ], [ %56, %58 ], [ %56, %54 ]
ret i32 %65
}
declare i32 @WITNESS_SAVE_DECL(i32 noundef) local_unnamed_addr #1
declare i32 @CV_ASSERT(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WITNESS_WARN(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @LOCK_CLASS(ptr noundef) local_unnamed_addr #1
declare i64 @SCHEDULER_STOPPED_TD(ptr noundef) local_unnamed_addr #1
declare i32 @sleepq_lock(ptr noundef) local_unnamed_addr #1
declare i32 @CV_WAITERS_INC(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_assert(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DROP_GIANT(...) local_unnamed_addr #1
declare i32 @sleepq_add(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sleepq_set_timeout_sbt(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sleepq_release(ptr noundef) local_unnamed_addr #1
declare i32 @WITNESS_SAVE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sleepq_timedwait(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PICKUP_GIANT(...) local_unnamed_addr #1
declare i32 @WITNESS_RESTORE(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"cv", !6, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"lock_class", !6, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!14, !10, i64 8}
!16 = !{!14, !10, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_condvar.c__cv_timedwait_sbt.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_condvar.c__cv_timedwait_sbt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { %struct.lock_object }
%struct.lock_object = type { i32 }
@lock_witness = common local_unnamed_addr global i32 0, align 4
@curthread = common local_unnamed_addr global ptr null, align 8
@WARN_GIANTOK = common local_unnamed_addr global i32 0, align 4
@WARN_SLEEPOK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Waiting on \22%s\22\00", align 1
@Giant = common global %struct.TYPE_3__ zeroinitializer, align 4
@MA_OWNED = common local_unnamed_addr global i32 0, align 4
@SLEEPQ_CONDVAR = common local_unnamed_addr global i32 0, align 4
@LC_SLEEPABLE = common local_unnamed_addr global i32 0, align 4
@KTR_CSW = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @_cv_timedwait_sbt(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @lock_witness, align 4, !tbaa !6
%7 = tail call i32 @WITNESS_SAVE_DECL(i32 noundef %6) #2
%8 = load ptr, ptr @curthread, align 8, !tbaa !10
%9 = tail call i32 @CV_ASSERT(ptr noundef %0, ptr noundef %1, ptr noundef %8) #2
%10 = load i32, ptr @WARN_GIANTOK, align 4, !tbaa !6
%11 = load i32, ptr @WARN_SLEEPOK, align 4, !tbaa !6
%12 = or i32 %11, %10
%13 = load i32, ptr %0, align 4, !tbaa !12
%14 = tail call i32 @WITNESS_WARN(i32 noundef %12, ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %13) #2
%15 = tail call ptr @LOCK_CLASS(ptr noundef %1) #2
%16 = tail call i64 @SCHEDULER_STOPPED_TD(ptr noundef %8) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %64
18: ; preds = %5
%19 = tail call i32 @sleepq_lock(ptr noundef nonnull %0) #2
%20 = tail call i32 @CV_WAITERS_INC(ptr noundef nonnull %0) #2
%21 = icmp eq ptr %1, @Giant
br i1 %21, label %22, label %30
22: ; preds = %18
%23 = load i32, ptr @MA_OWNED, align 4, !tbaa !6
%24 = tail call i32 @mtx_assert(ptr noundef nonnull @Giant, i32 noundef %23) #2
%25 = tail call i32 @DROP_GIANT() #2
%26 = load i32, ptr %0, align 4, !tbaa !12
%27 = load i32, ptr @SLEEPQ_CONDVAR, align 4, !tbaa !6
%28 = tail call i32 @sleepq_add(ptr noundef nonnull %0, ptr noundef nonnull @Giant, i32 noundef %26, i32 noundef %27, i32 noundef 0) #2
%29 = tail call i32 @sleepq_set_timeout_sbt(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
br label %54
30: ; preds = %18
%31 = tail call i32 @DROP_GIANT() #2
%32 = load i32, ptr %0, align 4, !tbaa !12
%33 = load i32, ptr @SLEEPQ_CONDVAR, align 4, !tbaa !6
%34 = tail call i32 @sleepq_add(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %32, i32 noundef %33, i32 noundef 0) #2
%35 = tail call i32 @sleepq_set_timeout_sbt(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
%36 = load i32, ptr %15, align 8, !tbaa !14
%37 = load i32, ptr @LC_SLEEPABLE, align 4, !tbaa !6
%38 = and i32 %37, %36
%39 = icmp eq i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %30
%41 = tail call i32 @sleepq_release(ptr noundef nonnull %0) #2
br label %42
42: ; preds = %40, %30
%43 = load i32, ptr @lock_witness, align 4, !tbaa !6
%44 = tail call i32 @WITNESS_SAVE(ptr noundef %1, i32 noundef %43) #2
%45 = getelementptr inbounds i8, ptr %15, i64 8
%46 = load ptr, ptr %45, align 8, !tbaa !16
%47 = tail call i32 %46(ptr noundef %1) #2
%48 = load i32, ptr %15, align 8, !tbaa !14
%49 = load i32, ptr @LC_SLEEPABLE, align 4, !tbaa !6
%50 = and i32 %49, %48
%51 = icmp eq i32 %50, 0
br i1 %51, label %54, label %52
52: ; preds = %42
%53 = tail call i32 @sleepq_lock(ptr noundef nonnull %0) #2
br label %54
54: ; preds = %22, %42, %52
%55 = phi i32 [ %47, %52 ], [ %47, %42 ], [ 0, %22 ]
%56 = tail call i32 @sleepq_timedwait(ptr noundef nonnull %0, i32 noundef 0) #2
%57 = tail call i32 @PICKUP_GIANT() #2
br i1 %21, label %64, label %58
58: ; preds = %54
%59 = getelementptr inbounds i8, ptr %15, i64 16
%60 = load ptr, ptr %59, align 8, !tbaa !17
%61 = tail call i32 %60(ptr noundef %1, i32 noundef %55) #2
%62 = load i32, ptr @lock_witness, align 4, !tbaa !6
%63 = tail call i32 @WITNESS_RESTORE(ptr noundef %1, i32 noundef %62) #2
br label %64
64: ; preds = %54, %58, %5
%65 = phi i32 [ 0, %5 ], [ %56, %58 ], [ %56, %54 ]
ret i32 %65
}
declare i32 @WITNESS_SAVE_DECL(i32 noundef) local_unnamed_addr #1
declare i32 @CV_ASSERT(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WITNESS_WARN(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @LOCK_CLASS(ptr noundef) local_unnamed_addr #1
declare i64 @SCHEDULER_STOPPED_TD(ptr noundef) local_unnamed_addr #1
declare i32 @sleepq_lock(ptr noundef) local_unnamed_addr #1
declare i32 @CV_WAITERS_INC(ptr noundef) local_unnamed_addr #1
declare i32 @mtx_assert(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DROP_GIANT(...) local_unnamed_addr #1
declare i32 @sleepq_add(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sleepq_set_timeout_sbt(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sleepq_release(ptr noundef) local_unnamed_addr #1
declare i32 @WITNESS_SAVE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sleepq_timedwait(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PICKUP_GIANT(...) local_unnamed_addr #1
declare i32 @WITNESS_RESTORE(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"cv", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"lock_class", !7, i64 0, !11, i64 8, !11, i64 16}
!16 = !{!15, !11, i64 8}
!17 = !{!15, !11, i64 16}
| freebsd_sys_kern_extr_kern_condvar.c__cv_timedwait_sbt |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_ikev2.c_eap_ikev2_buildReq.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_ikev2.c_eap_ikev2_buildReq.c"
target datalayout = "e-m:e-p270:32:32-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.eap_ikev2_data = type { i32, i32, ptr, i32 }
@MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"EAP-IKEV2: Failed to generate IKEv2 message\00", align 1
@EAP_CODE_REQUEST = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [43 x i8] c"EAP-IKEV2: Unexpected state %d in buildReq\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @eap_ikev2_buildReq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @eap_ikev2_buildReq(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %1, align 8, !tbaa !5
switch i32 %4, label %23 [
i32 129, label %5
i32 128, label %18
i32 130, label %20
]
5: ; preds = %3
%6 = getelementptr inbounds %struct.eap_ikev2_data, ptr %1, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %18
9: ; preds = %5
%10 = getelementptr inbounds %struct.eap_ikev2_data, ptr %1, i64 0, i32 3
%11 = tail call ptr @ikev2_initiator_build(ptr noundef nonnull %10) #2
store ptr %11, ptr %6, align 8, !tbaa !11
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12
%15 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %14, ptr noundef nonnull @.str) #2
br label %26
16: ; preds = %9
%17 = getelementptr inbounds %struct.eap_ikev2_data, ptr %1, i64 0, i32 1
store i32 0, ptr %17, align 4, !tbaa !13
br label %18
18: ; preds = %5, %16, %3
%19 = tail call ptr @eap_ikev2_build_msg(ptr noundef nonnull %1, i32 noundef %2) #2
br label %26
20: ; preds = %3
%21 = load i32, ptr @EAP_CODE_REQUEST, align 4, !tbaa !12
%22 = tail call ptr @eap_ikev2_build_frag_ack(i32 noundef %2, i32 noundef %21) #2
br label %26
23: ; preds = %3
%24 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !12
%25 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %24, ptr noundef nonnull @.str.1, i32 noundef %4) #2
br label %26
26: ; preds = %23, %20, %18, %13
%27 = phi ptr [ null, %23 ], [ %22, %20 ], [ %19, %18 ], [ null, %13 ]
ret ptr %27
}
declare ptr @ikev2_initiator_build(ptr noundef) local_unnamed_addr #1
declare i32 @wpa_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @eap_ikev2_build_msg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @eap_ikev2_build_frag_ack(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 = !{!"eap_ikev2_data", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_ikev2.c_eap_ikev2_buildReq.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_ikev2.c_eap_ikev2_buildReq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"EAP-IKEV2: Failed to generate IKEv2 message\00", align 1
@EAP_CODE_REQUEST = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [43 x i8] c"EAP-IKEV2: Unexpected state %d in buildReq\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @eap_ikev2_buildReq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @eap_ikev2_buildReq(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %1, align 8, !tbaa !6
switch i32 %4, label %23 [
i32 129, label %5
i32 128, label %18
i32 130, label %20
]
5: ; preds = %3
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %18
9: ; preds = %5
%10 = getelementptr inbounds i8, ptr %1, i64 16
%11 = tail call ptr @ikev2_initiator_build(ptr noundef nonnull %10) #2
store ptr %11, ptr %6, align 8, !tbaa !12
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !13
%15 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %14, ptr noundef nonnull @.str) #2
br label %26
16: ; preds = %9
%17 = getelementptr inbounds i8, ptr %1, i64 4
store i32 0, ptr %17, align 4, !tbaa !14
br label %18
18: ; preds = %5, %16, %3
%19 = tail call ptr @eap_ikev2_build_msg(ptr noundef nonnull %1, i32 noundef %2) #2
br label %26
20: ; preds = %3
%21 = load i32, ptr @EAP_CODE_REQUEST, align 4, !tbaa !13
%22 = tail call ptr @eap_ikev2_build_frag_ack(i32 noundef %2, i32 noundef %21) #2
br label %26
23: ; preds = %3
%24 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !13
%25 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %24, ptr noundef nonnull @.str.1, i32 noundef %4) #2
br label %26
26: ; preds = %23, %20, %18, %13
%27 = phi ptr [ null, %23 ], [ %22, %20 ], [ %19, %18 ], [ null, %13 ]
ret ptr %27
}
declare ptr @ikev2_initiator_build(ptr noundef) local_unnamed_addr #1
declare i32 @wpa_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @eap_ikev2_build_msg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @eap_ikev2_build_frag_ack(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 = !{!"eap_ikev2_data", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 4}
| freebsd_contrib_wpa_src_eap_server_extr_eap_server_ikev2.c_eap_ikev2_buildReq |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_3w-9xxx.c_twa_shutdown.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_3w-9xxx.c_twa_shutdown.c"
target datalayout = "e-m:e-p270:32:32-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 @twa_shutdown], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @twa_shutdown(ptr noundef %0) #0 {
%2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 @__twa_shutdown(ptr noundef %4) #2
ret void
}
declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @__twa_shutdown(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 = !{!"Scsi_Host", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_3w-9xxx.c_twa_shutdown.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_3w-9xxx.c_twa_shutdown.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 @twa_shutdown], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @twa_shutdown(ptr noundef %0) #0 {
%2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 @__twa_shutdown(ptr noundef %4) #2
ret void
}
declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @__twa_shutdown(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 = !{!"Scsi_Host", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_scsi_extr_3w-9xxx.c_twa_shutdown |
; ModuleID = 'AnghaBench/linux/arch/mips/pci/extr_msi-octeon.c___octeon_msi_do_interrupt.c'
source_filename = "AnghaBench/linux/arch/mips/pci/extr_msi-octeon.c___octeon_msi_do_interrupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@msi_rcv_reg = dso_local local_unnamed_addr global ptr null, align 8
@OCTEON_IRQ_MSI_BIT0 = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__octeon_msi_do_interrupt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__octeon_msi_do_interrupt(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @fls64(i32 noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %19, label %5
5: ; preds = %2
%6 = add nsw i32 %3, -1
%7 = load ptr, ptr @msi_rcv_reg, align 8, !tbaa !5
%8 = sext i32 %0 to i64
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !9
%11 = zext nneg i32 %6 to i64
%12 = shl nuw i64 1, %11
%13 = tail call i32 @cvmx_write_csr(i32 noundef %10, i64 noundef %12) #2
%14 = load i32, ptr @OCTEON_IRQ_MSI_BIT0, align 4, !tbaa !9
%15 = shl nsw i32 %0, 6
%16 = add i32 %6, %15
%17 = add i32 %16, %14
%18 = tail call i32 @do_IRQ(i32 noundef %17) #2
br label %19
19: ; preds = %2, %5
%20 = phi ptr [ @IRQ_HANDLED, %5 ], [ @IRQ_NONE, %2 ]
%21 = load i32, ptr %20, align 4, !tbaa !9
ret i32 %21
}
declare i32 @fls64(i32 noundef) local_unnamed_addr #1
declare i32 @cvmx_write_csr(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @do_IRQ(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}
| ; ModuleID = 'AnghaBench/linux/arch/mips/pci/extr_msi-octeon.c___octeon_msi_do_interrupt.c'
source_filename = "AnghaBench/linux/arch/mips/pci/extr_msi-octeon.c___octeon_msi_do_interrupt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@msi_rcv_reg = common local_unnamed_addr global ptr null, align 8
@OCTEON_IRQ_MSI_BIT0 = common local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@IRQ_NONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__octeon_msi_do_interrupt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__octeon_msi_do_interrupt(i32 noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @fls64(i32 noundef %1) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %19, label %5
5: ; preds = %2
%6 = add nsw i32 %3, -1
%7 = load ptr, ptr @msi_rcv_reg, align 8, !tbaa !6
%8 = sext i32 %0 to i64
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = zext nneg i32 %6 to i64
%12 = shl nuw i64 1, %11
%13 = tail call i32 @cvmx_write_csr(i32 noundef %10, i64 noundef %12) #2
%14 = load i32, ptr @OCTEON_IRQ_MSI_BIT0, align 4, !tbaa !10
%15 = shl nsw i32 %0, 6
%16 = add i32 %6, %15
%17 = add i32 %16, %14
%18 = tail call i32 @do_IRQ(i32 noundef %17) #2
br label %19
19: ; preds = %2, %5
%20 = phi ptr [ @IRQ_HANDLED, %5 ], [ @IRQ_NONE, %2 ]
%21 = load i32, ptr %20, align 4, !tbaa !10
ret i32 %21
}
declare i32 @fls64(i32 noundef) local_unnamed_addr #1
declare i32 @cvmx_write_csr(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @do_IRQ(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}
| linux_arch_mips_pci_extr_msi-octeon.c___octeon_msi_do_interrupt |
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-digicolor.c_dc_i2c_init_hw.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-digicolor.c_dc_i2c_init_hw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.dc_i2c = type { i32, i64, i32, i32 }
@II_CONTROL_LOCAL_RESET = dso_local local_unnamed_addr global i32 0, align 4
@II_CONTROL = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [30 x i8] c"can't set bus speed of %u Hz\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@II_CLOCKTIME = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @dc_i2c_init_hw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dc_i2c_init_hw(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.dc_i2c, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i64 @clk_get_rate(i32 noundef %3) #2
%5 = load i32, ptr @II_CONTROL_LOCAL_RESET, align 4, !tbaa !11
%6 = getelementptr inbounds %struct.dc_i2c, ptr %0, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = load i64, ptr @II_CONTROL, align 8, !tbaa !13
%9 = add nsw i64 %8, %7
%10 = tail call i32 @writeb_relaxed(i32 noundef %5, i64 noundef %9) #2
%11 = tail call i32 @udelay(i32 noundef 100) #2
%12 = load i64, ptr %6, align 8, !tbaa !12
%13 = load i64, ptr @II_CONTROL, align 8, !tbaa !13
%14 = add nsw i64 %13, %12
%15 = tail call i32 @writeb_relaxed(i32 noundef 0, i64 noundef %14) #2
%16 = tail call i32 @udelay(i32 noundef 100) #2
%17 = load i32, ptr %0, align 8, !tbaa !14
%18 = shl nsw i32 %17, 6
%19 = tail call i32 @DIV_ROUND_UP(i64 noundef %4, i32 noundef %18) #2
%20 = add i32 %19, -256
%21 = icmp ult i32 %20, -255
br i1 %21, label %22, label %29
22: ; preds = %1
%23 = getelementptr inbounds %struct.dc_i2c, ptr %0, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !15
%25 = load i32, ptr %0, align 8, !tbaa !14
%26 = tail call i32 @dev_err(i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %25) #2
%27 = load i32, ptr @EINVAL, align 4, !tbaa !11
%28 = sub nsw i32 0, %27
br label %35
29: ; preds = %1
%30 = add nsw i32 %19, -1
%31 = load i64, ptr %6, align 8, !tbaa !12
%32 = load i64, ptr @II_CLOCKTIME, align 8, !tbaa !13
%33 = add nsw i64 %32, %31
%34 = tail call i32 @writeb_relaxed(i32 noundef %30, i64 noundef %33) #2
br label %35
35: ; preds = %29, %22
%36 = phi i32 [ %28, %22 ], [ 0, %29 ]
ret i32 %36
}
declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i32 @writeb_relaxed(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 20}
!6 = !{!"dc_i2c", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-digicolor.c_dc_i2c_init_hw.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-digicolor.c_dc_i2c_init_hw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@II_CONTROL_LOCAL_RESET = common local_unnamed_addr global i32 0, align 4
@II_CONTROL = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [30 x i8] c"can't set bus speed of %u Hz\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@II_CLOCKTIME = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @dc_i2c_init_hw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @dc_i2c_init_hw(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 20
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i64 @clk_get_rate(i32 noundef %3) #2
%5 = load i32, ptr @II_CONTROL_LOCAL_RESET, align 4, !tbaa !12
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = load i64, ptr @II_CONTROL, align 8, !tbaa !14
%9 = add nsw i64 %8, %7
%10 = tail call i32 @writeb_relaxed(i32 noundef %5, i64 noundef %9) #2
%11 = tail call i32 @udelay(i32 noundef 100) #2
%12 = load i64, ptr %6, align 8, !tbaa !13
%13 = load i64, ptr @II_CONTROL, align 8, !tbaa !14
%14 = add nsw i64 %13, %12
%15 = tail call i32 @writeb_relaxed(i32 noundef 0, i64 noundef %14) #2
%16 = tail call i32 @udelay(i32 noundef 100) #2
%17 = load i32, ptr %0, align 8, !tbaa !15
%18 = shl nsw i32 %17, 6
%19 = tail call i32 @DIV_ROUND_UP(i64 noundef %4, i32 noundef %18) #2
%20 = add i32 %19, -256
%21 = icmp ult i32 %20, -255
br i1 %21, label %22, label %29
22: ; preds = %1
%23 = getelementptr inbounds i8, ptr %0, i64 16
%24 = load i32, ptr %23, align 8, !tbaa !16
%25 = load i32, ptr %0, align 8, !tbaa !15
%26 = tail call i32 @dev_err(i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %25) #2
%27 = load i32, ptr @EINVAL, align 4, !tbaa !12
%28 = sub nsw i32 0, %27
br label %35
29: ; preds = %1
%30 = add nsw i32 %19, -1
%31 = load i64, ptr %6, align 8, !tbaa !13
%32 = load i64, ptr @II_CLOCKTIME, align 8, !tbaa !14
%33 = add nsw i64 %32, %31
%34 = tail call i32 @writeb_relaxed(i32 noundef %30, i64 noundef %33) #2
br label %35
35: ; preds = %29, %22
%36 = phi i32 [ %28, %22 ], [ 0, %29 ]
ret i32 %36
}
declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i32 @writeb_relaxed(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 20}
!7 = !{!"dc_i2c", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !8, i64 16}
| linux_drivers_i2c_busses_extr_i2c-digicolor.c_dc_i2c_init_hw |
; ModuleID = 'AnghaBench/tengine/src/http/modules/extr_ngx_http_userid_filter_module.c_ngx_http_userid_init.c'
source_filename = "AnghaBench/tengine/src/http/modules/extr_ngx_http_userid_filter_module.c_ngx_http_userid_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"
@ngx_http_top_header_filter = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_next_header_filter = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_userid_filter = dso_local local_unnamed_addr global i32 0, align 4
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_userid_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @ngx_http_userid_init(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @ngx_http_top_header_filter, align 4, !tbaa !5
store i32 %2, ptr @ngx_http_next_header_filter, align 4, !tbaa !5
%3 = load i32, ptr @ngx_http_userid_filter, align 4, !tbaa !5
store i32 %3, ptr @ngx_http_top_header_filter, align 4, !tbaa !5
%4 = load i32, ptr @NGX_OK, align 4, !tbaa !5
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/tengine/src/http/modules/extr_ngx_http_userid_filter_module.c_ngx_http_userid_init.c'
source_filename = "AnghaBench/tengine/src/http/modules/extr_ngx_http_userid_filter_module.c_ngx_http_userid_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ngx_http_top_header_filter = common local_unnamed_addr global i32 0, align 4
@ngx_http_next_header_filter = common local_unnamed_addr global i32 0, align 4
@ngx_http_userid_filter = common local_unnamed_addr global i32 0, align 4
@NGX_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_userid_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @ngx_http_userid_init(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @ngx_http_top_header_filter, align 4, !tbaa !6
store i32 %2, ptr @ngx_http_next_header_filter, align 4, !tbaa !6
%3 = load i32, ptr @ngx_http_userid_filter, align 4, !tbaa !6
store i32 %3, ptr @ngx_http_top_header_filter, align 4, !tbaa !6
%4 = load i32, ptr @NGX_OK, align 4, !tbaa !6
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| tengine_src_http_modules_extr_ngx_http_userid_filter_module.c_ngx_http_userid_init |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_cp-abi.c_is_constructor_name.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_cp-abi.c_is_constructor_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr }
@current_cp_abi = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str = private unnamed_addr constant [57 x i8] c"ABI doesn't define required function is_constructor_name\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @is_constructor_name(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @current_cp_abi, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = tail call i32 @error(ptr noundef nonnull @.str) #2
%6 = load ptr, ptr @current_cp_abi, align 8, !tbaa !5
br label %7
7: ; preds = %4, %1
%8 = phi ptr [ %6, %4 ], [ %2, %1 ]
%9 = tail call i32 %8(ptr noundef %0) #2
ret i32 %9
}
declare i32 @error(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/freebsd/contrib/gdb/gdb/extr_cp-abi.c_is_constructor_name.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_cp-abi.c_is_constructor_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
@current_cp_abi = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str = private unnamed_addr constant [57 x i8] c"ABI doesn't define required function is_constructor_name\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @is_constructor_name(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @current_cp_abi, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = tail call i32 @error(ptr noundef nonnull @.str) #2
%6 = load ptr, ptr @current_cp_abi, align 8, !tbaa !6
br label %7
7: ; preds = %4, %1
%8 = phi ptr [ %6, %4 ], [ %2, %1 ]
%9 = tail call i32 %8(ptr noundef %0) #2
ret i32 %9
}
declare i32 @error(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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"}
| freebsd_contrib_gdb_gdb_extr_cp-abi.c_is_constructor_name |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/wavefront/extr_wavefront_fx.c_wavefront_fx_memset.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/isa/wavefront/extr_wavefront_fx.c_wavefront_fx_memset.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32 }
@.str = private unnamed_addr constant [39 x i8] c"FX memset: page must be >= 0 and <= 7\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"FX memset: addr must be >= 0 and <= 7f\0A\00", align 1
@FX_LSB_TRANSFER = dso_local local_unnamed_addr global i16 0, align 2
@.str.2 = private unnamed_addr constant [28 x i8] c"FX: addr %d:%x set to 0x%x\0A\00", align 1
@FX_AUTO_INCR = dso_local local_unnamed_addr global i16 0, align 2
@.str.3 = private unnamed_addr constant [46 x i8] c"FX memset (0x%x, 0x%x, 0x%lx, %d) incomplete\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wavefront_fx_memset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wavefront_fx_memset(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = icmp ugt i32 %1, 7
br i1 %6, label %7, label %11
7: ; preds = %5
%8 = tail call i32 (ptr, ...) @snd_printk(ptr noundef nonnull @.str) #2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %89
11: ; preds = %5
%12 = icmp ugt i32 %2, 127
br i1 %12, label %13, label %17
13: ; preds = %11
%14 = tail call i32 (ptr, ...) @snd_printk(ptr noundef nonnull @.str.1) #2
%15 = load i32, ptr @EINVAL, align 4, !tbaa !5
%16 = sub nsw i32 0, %15
br label %89
17: ; preds = %11
%18 = icmp eq i32 %3, 1
br i1 %18, label %19, label %44
19: ; preds = %17
%20 = load i16, ptr @FX_LSB_TRANSFER, align 2, !tbaa !9
%21 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
%22 = load i32, ptr %21, align 4, !tbaa !11
%23 = tail call i32 @outb(i16 noundef zeroext %20, i32 noundef %22) #2
%24 = trunc i32 %1 to i16
%25 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%26 = load i32, ptr %25, align 4, !tbaa !13
%27 = tail call i32 @outb(i16 noundef zeroext %24, i32 noundef %26) #2
%28 = trunc i32 %2 to i16
%29 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%30 = load i32, ptr %29, align 4, !tbaa !14
%31 = tail call i32 @outb(i16 noundef zeroext %28, i32 noundef %30) #2
%32 = load i16, ptr %4, align 2, !tbaa !9
%33 = lshr i16 %32, 8
%34 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%35 = load i32, ptr %34, align 4, !tbaa !15
%36 = tail call i32 @outb(i16 noundef zeroext %33, i32 noundef %35) #2
%37 = load i16, ptr %4, align 2, !tbaa !9
%38 = and i16 %37, 255
%39 = load i32, ptr %0, align 4, !tbaa !16
%40 = tail call i32 @outb(i16 noundef zeroext %38, i32 noundef %39) #2
%41 = load i16, ptr %4, align 2, !tbaa !9
%42 = zext i16 %41 to i32
%43 = tail call i32 (ptr, ...) @snd_printk(ptr noundef nonnull @.str.2, i32 noundef %1, i32 noundef %2, i32 noundef %42) #2
br label %89
44: ; preds = %17
%45 = load i16, ptr @FX_AUTO_INCR, align 2, !tbaa !9
%46 = load i16, ptr @FX_LSB_TRANSFER, align 2, !tbaa !9
%47 = or i16 %46, %45
%48 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
%49 = load i32, ptr %48, align 4, !tbaa !11
%50 = tail call i32 @outb(i16 noundef zeroext %47, i32 noundef %49) #2
%51 = trunc i32 %1 to i16
%52 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%53 = load i32, ptr %52, align 4, !tbaa !13
%54 = tail call i32 @outb(i16 noundef zeroext %51, i32 noundef %53) #2
%55 = trunc i32 %2 to i16
%56 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%57 = load i32, ptr %56, align 4, !tbaa !14
%58 = tail call i32 @outb(i16 noundef zeroext %55, i32 noundef %57) #2
%59 = icmp sgt i32 %3, 0
br i1 %59, label %60, label %81
60: ; preds = %44
%61 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%62 = zext nneg i32 %3 to i64
br label %63
63: ; preds = %60, %76
%64 = phi i64 [ 0, %60 ], [ %77, %76 ]
%65 = getelementptr inbounds i16, ptr %4, i64 %64
%66 = load i16, ptr %65, align 2, !tbaa !9
%67 = lshr i16 %66, 8
%68 = load i32, ptr %61, align 4, !tbaa !15
%69 = tail call i32 @outb(i16 noundef zeroext %67, i32 noundef %68) #2
%70 = load i16, ptr %65, align 2, !tbaa !9
%71 = and i16 %70, 255
%72 = load i32, ptr %0, align 4, !tbaa !16
%73 = tail call i32 @outb(i16 noundef zeroext %71, i32 noundef %72) #2
%74 = tail call i32 @wavefront_fx_idle(ptr noundef nonnull %0) #2
%75 = icmp eq i32 %74, 0
br i1 %75, label %79, label %76
76: ; preds = %63
%77 = add nuw nsw i64 %64, 1
%78 = icmp eq i64 %77, %62
br i1 %78, label %89, label %63, !llvm.loop !17
79: ; preds = %63
%80 = trunc i64 %64 to i32
br label %81
81: ; preds = %79, %44
%82 = phi i32 [ 0, %44 ], [ %80, %79 ]
%83 = icmp eq i32 %82, %3
br i1 %83, label %89, label %84
84: ; preds = %81
%85 = ptrtoint ptr %4 to i64
%86 = tail call i32 (ptr, ...) @snd_printk(ptr noundef nonnull @.str.3, i32 noundef %1, i32 noundef %2, i64 noundef %85, i32 noundef %3) #2
%87 = load i32, ptr @EIO, align 4, !tbaa !5
%88 = sub nsw i32 0, %87
br label %89
89: ; preds = %76, %81, %19, %84, %13, %7
%90 = phi i32 [ %10, %7 ], [ %16, %13 ], [ %88, %84 ], [ 0, %19 ], [ 0, %81 ], [ 0, %76 ]
ret i32 %90
}
declare i32 @snd_printk(ptr noundef, ...) local_unnamed_addr #1
declare i32 @outb(i16 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i32 @wavefront_fx_idle(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 = !{!"short", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16}
!13 = !{!12, !6, i64 12}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !6, i64 4}
!16 = !{!12, !6, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/wavefront/extr_wavefront_fx.c_wavefront_fx_memset.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/isa/wavefront/extr_wavefront_fx.c_wavefront_fx_memset.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 [39 x i8] c"FX memset: page must be >= 0 and <= 7\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"FX memset: addr must be >= 0 and <= 7f\0A\00", align 1
@FX_LSB_TRANSFER = common local_unnamed_addr global i16 0, align 2
@.str.2 = private unnamed_addr constant [28 x i8] c"FX: addr %d:%x set to 0x%x\0A\00", align 1
@FX_AUTO_INCR = common local_unnamed_addr global i16 0, align 2
@.str.3 = private unnamed_addr constant [46 x i8] c"FX memset (0x%x, 0x%x, 0x%lx, %d) incomplete\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wavefront_fx_memset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wavefront_fx_memset(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = icmp ugt i32 %1, 7
br i1 %6, label %7, label %11
7: ; preds = %5
%8 = tail call i32 (ptr, ...) @snd_printk(ptr noundef nonnull @.str) #2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %89
11: ; preds = %5
%12 = icmp ugt i32 %2, 127
br i1 %12, label %13, label %17
13: ; preds = %11
%14 = tail call i32 (ptr, ...) @snd_printk(ptr noundef nonnull @.str.1) #2
%15 = load i32, ptr @EINVAL, align 4, !tbaa !6
%16 = sub nsw i32 0, %15
br label %89
17: ; preds = %11
%18 = icmp eq i32 %3, 1
br i1 %18, label %19, label %44
19: ; preds = %17
%20 = load i16, ptr @FX_LSB_TRANSFER, align 2, !tbaa !10
%21 = getelementptr inbounds i8, ptr %0, i64 16
%22 = load i32, ptr %21, align 4, !tbaa !12
%23 = tail call i32 @outb(i16 noundef zeroext %20, i32 noundef %22) #2
%24 = trunc nuw nsw i32 %1 to i16
%25 = getelementptr inbounds i8, ptr %0, i64 12
%26 = load i32, ptr %25, align 4, !tbaa !14
%27 = tail call i32 @outb(i16 noundef zeroext %24, i32 noundef %26) #2
%28 = trunc nuw nsw i32 %2 to i16
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load i32, ptr %29, align 4, !tbaa !15
%31 = tail call i32 @outb(i16 noundef zeroext %28, i32 noundef %30) #2
%32 = load i16, ptr %4, align 2, !tbaa !10
%33 = lshr i16 %32, 8
%34 = getelementptr inbounds i8, ptr %0, i64 4
%35 = load i32, ptr %34, align 4, !tbaa !16
%36 = tail call i32 @outb(i16 noundef zeroext %33, i32 noundef %35) #2
%37 = load i16, ptr %4, align 2, !tbaa !10
%38 = and i16 %37, 255
%39 = load i32, ptr %0, align 4, !tbaa !17
%40 = tail call i32 @outb(i16 noundef zeroext %38, i32 noundef %39) #2
%41 = load i16, ptr %4, align 2, !tbaa !10
%42 = zext i16 %41 to i32
%43 = tail call i32 (ptr, ...) @snd_printk(ptr noundef nonnull @.str.2, i32 noundef %1, i32 noundef %2, i32 noundef %42) #2
br label %89
44: ; preds = %17
%45 = load i16, ptr @FX_AUTO_INCR, align 2, !tbaa !10
%46 = load i16, ptr @FX_LSB_TRANSFER, align 2, !tbaa !10
%47 = or i16 %46, %45
%48 = getelementptr inbounds i8, ptr %0, i64 16
%49 = load i32, ptr %48, align 4, !tbaa !12
%50 = tail call i32 @outb(i16 noundef zeroext %47, i32 noundef %49) #2
%51 = trunc nuw nsw i32 %1 to i16
%52 = getelementptr inbounds i8, ptr %0, i64 12
%53 = load i32, ptr %52, align 4, !tbaa !14
%54 = tail call i32 @outb(i16 noundef zeroext %51, i32 noundef %53) #2
%55 = trunc nuw nsw i32 %2 to i16
%56 = getelementptr inbounds i8, ptr %0, i64 8
%57 = load i32, ptr %56, align 4, !tbaa !15
%58 = tail call i32 @outb(i16 noundef zeroext %55, i32 noundef %57) #2
%59 = icmp sgt i32 %3, 0
br i1 %59, label %60, label %81
60: ; preds = %44
%61 = getelementptr inbounds i8, ptr %0, i64 4
%62 = zext nneg i32 %3 to i64
br label %63
63: ; preds = %60, %76
%64 = phi i64 [ 0, %60 ], [ %77, %76 ]
%65 = getelementptr inbounds i16, ptr %4, i64 %64
%66 = load i16, ptr %65, align 2, !tbaa !10
%67 = lshr i16 %66, 8
%68 = load i32, ptr %61, align 4, !tbaa !16
%69 = tail call i32 @outb(i16 noundef zeroext %67, i32 noundef %68) #2
%70 = load i16, ptr %65, align 2, !tbaa !10
%71 = and i16 %70, 255
%72 = load i32, ptr %0, align 4, !tbaa !17
%73 = tail call i32 @outb(i16 noundef zeroext %71, i32 noundef %72) #2
%74 = tail call i32 @wavefront_fx_idle(ptr noundef nonnull %0) #2
%75 = icmp eq i32 %74, 0
br i1 %75, label %79, label %76
76: ; preds = %63
%77 = add nuw nsw i64 %64, 1
%78 = icmp eq i64 %77, %62
br i1 %78, label %89, label %63, !llvm.loop !18
79: ; preds = %63
%80 = trunc nuw nsw i64 %64 to i32
br label %81
81: ; preds = %79, %44
%82 = phi i32 [ 0, %44 ], [ %80, %79 ]
%83 = icmp eq i32 %82, %3
br i1 %83, label %89, label %84
84: ; preds = %81
%85 = ptrtoint ptr %4 to i64
%86 = tail call i32 (ptr, ...) @snd_printk(ptr noundef nonnull @.str.3, i32 noundef %1, i32 noundef %2, i64 noundef %85, i32 noundef %3) #2
%87 = load i32, ptr @EIO, align 4, !tbaa !6
%88 = sub nsw i32 0, %87
br label %89
89: ; preds = %76, %81, %19, %84, %13, %7
%90 = phi i32 [ %10, %7 ], [ %16, %13 ], [ %88, %84 ], [ 0, %19 ], [ 0, %81 ], [ 0, %76 ]
ret i32 %90
}
declare i32 @snd_printk(ptr noundef, ...) local_unnamed_addr #1
declare i32 @outb(i16 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i32 @wavefront_fx_idle(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 = !{!"short", !8, i64 0}
!12 = !{!13, !7, i64 16}
!13 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!14 = !{!13, !7, i64 12}
!15 = !{!13, !7, i64 8}
!16 = !{!13, !7, i64 4}
!17 = !{!13, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_sound_isa_wavefront_extr_wavefront_fx.c_wavefront_fx_memset |
; ModuleID = 'AnghaBench/linux/fs/nfs/filelayout/extr_..internal.h_nfs_attr_use_mounted_on_fileid.c'
source_filename = "AnghaBench/linux/fs/nfs/filelayout/extr_..internal.h_nfs_attr_use_mounted_on_fileid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NFS_ATTR_FATTR_MOUNTED_ON_FILEID = dso_local local_unnamed_addr global i32 0, align 4
@NFS_ATTR_FATTR_MOUNTPOINT = dso_local local_unnamed_addr global i32 0, align 4
@NFS_ATTR_FATTR_V4_REFERRAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nfs_attr_use_mounted_on_fileid], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal noundef i32 @nfs_attr_use_mounted_on_fileid(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @NFS_ATTR_FATTR_MOUNTED_ON_FILEID, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %1
%7 = load i32, ptr @NFS_ATTR_FATTR_MOUNTPOINT, align 4, !tbaa !10
%8 = and i32 %7, %2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i32, ptr @NFS_ATTR_FATTR_V4_REFERRAL, align 4, !tbaa !10
%12 = and i32 %11, %2
%13 = icmp eq i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %10, %6
br label %15
15: ; preds = %1, %10, %14
%16 = phi i32 [ 1, %14 ], [ 0, %10 ], [ 0, %1 ]
ret i32 %16
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nfs_fattr", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/nfs/filelayout/extr_..internal.h_nfs_attr_use_mounted_on_fileid.c'
source_filename = "AnghaBench/linux/fs/nfs/filelayout/extr_..internal.h_nfs_attr_use_mounted_on_fileid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NFS_ATTR_FATTR_MOUNTED_ON_FILEID = common local_unnamed_addr global i32 0, align 4
@NFS_ATTR_FATTR_MOUNTPOINT = common local_unnamed_addr global i32 0, align 4
@NFS_ATTR_FATTR_V4_REFERRAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nfs_attr_use_mounted_on_fileid], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @nfs_attr_use_mounted_on_fileid(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @NFS_ATTR_FATTR_MOUNTED_ON_FILEID, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %1
%7 = load i32, ptr @NFS_ATTR_FATTR_MOUNTPOINT, align 4, !tbaa !11
%8 = and i32 %7, %2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i32, ptr @NFS_ATTR_FATTR_V4_REFERRAL, align 4, !tbaa !11
%12 = and i32 %11, %2
%13 = icmp eq i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %10, %6
br label %15
15: ; preds = %1, %10, %14
%16 = phi i32 [ 1, %14 ], [ 0, %10 ], [ 0, %1 ]
ret i32 %16
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nfs_fattr", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_fs_nfs_filelayout_extr_..internal.h_nfs_attr_use_mounted_on_fileid |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/pmu/extr_event.c_event_open_with_pid.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/pmu/extr_event.c_event_open_with_pid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PERF_NO_CPU = dso_local local_unnamed_addr global i32 0, align 4
@PERF_NO_GROUP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @event_open_with_pid(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @PERF_NO_CPU, align 4, !tbaa !5
%4 = load i32, ptr @PERF_NO_GROUP, align 4, !tbaa !5
%5 = tail call i32 @event_open_with_options(ptr noundef %0, i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @event_open_with_options(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/pmu/extr_event.c_event_open_with_pid.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/pmu/extr_event.c_event_open_with_pid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PERF_NO_CPU = common local_unnamed_addr global i32 0, align 4
@PERF_NO_GROUP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @event_open_with_pid(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @PERF_NO_CPU, align 4, !tbaa !6
%4 = load i32, ptr @PERF_NO_GROUP, align 4, !tbaa !6
%5 = tail call i32 @event_open_with_options(ptr noundef %0, i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @event_open_with_options(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_tools_testing_selftests_powerpc_pmu_extr_event.c_event_open_with_pid |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_cred2priv.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_cred2priv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PRIV_ALL = dso_local local_unnamed_addr global i32 0, align 4
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_USER = dso_local local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_PROC = dso_local local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_OWNER = dso_local local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_ALL = dso_local local_unnamed_addr global i32 0, align 4
@PRIV_DTRACE_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@PRIV_DTRACE_USER = dso_local local_unnamed_addr global i32 0, align 4
@PRIV_DTRACE_PROC = dso_local local_unnamed_addr global i32 0, align 4
@PRIV_PROC_OWNER = dso_local local_unnamed_addr global i32 0, align 4
@PRIV_PROC_ZONE = dso_local local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_ZONEOWNER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dtrace_cred2priv], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dtrace_cred2priv(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 {
%5 = icmp eq ptr %0, null
br i1 %5, label %11, label %6
6: ; preds = %4
%7 = load i32, ptr @PRIV_ALL, align 4, !tbaa !5
%8 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%9 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %27, label %11
11: ; preds = %6, %4
%12 = tail call i64 (...) @dtrace_is_restricted() #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %23, label %14
14: ; preds = %11
%15 = tail call i32 (...) @dtrace_are_restrictions_relaxed() #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr @DTRACE_PRIV_USER, align 4, !tbaa !5
%19 = load i32, ptr @DTRACE_PRIV_PROC, align 4, !tbaa !5
%20 = or i32 %19, %18
%21 = load i32, ptr @DTRACE_PRIV_OWNER, align 4, !tbaa !5
%22 = or i32 %20, %21
br label %25
23: ; preds = %14, %11
%24 = load i32, ptr @DTRACE_PRIV_ALL, align 4, !tbaa !5
br label %25
25: ; preds = %23, %17
%26 = phi i32 [ %24, %23 ], [ %22, %17 ]
store i64 0, ptr %2, align 8, !tbaa !9
store i64 0, ptr %3, align 8, !tbaa !9
br label %68
27: ; preds = %6
%28 = tail call i64 @crgetuid(ptr noundef nonnull %0) #2
store i64 %28, ptr %2, align 8, !tbaa !9
%29 = tail call i64 @crgetzoneid(ptr noundef nonnull %0) #2
store i64 %29, ptr %3, align 8, !tbaa !9
%30 = load i32, ptr @PRIV_DTRACE_KERNEL, align 4, !tbaa !5
%31 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%32 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %31) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %27
%35 = load i32, ptr @DTRACE_PRIV_KERNEL, align 4, !tbaa !5
%36 = load i32, ptr @DTRACE_PRIV_USER, align 4, !tbaa !5
%37 = or i32 %36, %35
br label %45
38: ; preds = %27
%39 = load i32, ptr @PRIV_DTRACE_USER, align 4, !tbaa !5
%40 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%41 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %40) #2
%42 = icmp eq i64 %41, 0
%43 = load i32, ptr @DTRACE_PRIV_USER, align 4
%44 = select i1 %42, i32 0, i32 %43
br label %45
45: ; preds = %38, %34
%46 = phi i32 [ %37, %34 ], [ %44, %38 ]
%47 = load i32, ptr @PRIV_DTRACE_PROC, align 4, !tbaa !5
%48 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%49 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %48) #2
%50 = icmp eq i64 %49, 0
%51 = load i32, ptr @DTRACE_PRIV_PROC, align 4
%52 = select i1 %50, i32 0, i32 %51
%53 = or i32 %52, %46
%54 = load i32, ptr @PRIV_PROC_OWNER, align 4, !tbaa !5
%55 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%56 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %54, i32 noundef %55) #2
%57 = icmp eq i64 %56, 0
%58 = load i32, ptr @DTRACE_PRIV_OWNER, align 4
%59 = select i1 %57, i32 0, i32 %58
%60 = or i32 %53, %59
%61 = load i32, ptr @PRIV_PROC_ZONE, align 4, !tbaa !5
%62 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%63 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %61, i32 noundef %62) #2
%64 = icmp eq i64 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %45
%66 = load i32, ptr @DTRACE_PRIV_ZONEOWNER, align 4, !tbaa !5
%67 = or i32 %66, %60
br label %68
68: ; preds = %45, %65, %25
%69 = phi i32 [ %26, %25 ], [ %67, %65 ], [ %60, %45 ]
store i32 %69, ptr %1, align 4, !tbaa !5
ret void
}
declare i64 @PRIV_POLICY_ONLY(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @dtrace_is_restricted(...) local_unnamed_addr #1
declare i32 @dtrace_are_restrictions_relaxed(...) local_unnamed_addr #1
declare i64 @crgetuid(ptr noundef) local_unnamed_addr #1
declare i64 @crgetzoneid(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 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_cred2priv.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_cred2priv.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PRIV_ALL = common local_unnamed_addr global i32 0, align 4
@B_FALSE = common local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_USER = common local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_PROC = common local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_OWNER = common local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_ALL = common local_unnamed_addr global i32 0, align 4
@PRIV_DTRACE_KERNEL = common local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_KERNEL = common local_unnamed_addr global i32 0, align 4
@PRIV_DTRACE_USER = common local_unnamed_addr global i32 0, align 4
@PRIV_DTRACE_PROC = common local_unnamed_addr global i32 0, align 4
@PRIV_PROC_OWNER = common local_unnamed_addr global i32 0, align 4
@PRIV_PROC_ZONE = common local_unnamed_addr global i32 0, align 4
@DTRACE_PRIV_ZONEOWNER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dtrace_cred2priv], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dtrace_cred2priv(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 {
%5 = icmp eq ptr %0, null
br i1 %5, label %11, label %6
6: ; preds = %4
%7 = load i32, ptr @PRIV_ALL, align 4, !tbaa !6
%8 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%9 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %27, label %11
11: ; preds = %6, %4
%12 = tail call i64 @dtrace_is_restricted() #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %23, label %14
14: ; preds = %11
%15 = tail call i32 @dtrace_are_restrictions_relaxed() #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr @DTRACE_PRIV_USER, align 4, !tbaa !6
%19 = load i32, ptr @DTRACE_PRIV_PROC, align 4, !tbaa !6
%20 = or i32 %19, %18
%21 = load i32, ptr @DTRACE_PRIV_OWNER, align 4, !tbaa !6
%22 = or i32 %20, %21
br label %25
23: ; preds = %14, %11
%24 = load i32, ptr @DTRACE_PRIV_ALL, align 4, !tbaa !6
br label %25
25: ; preds = %23, %17
%26 = phi i32 [ %24, %23 ], [ %22, %17 ]
store i64 0, ptr %2, align 8, !tbaa !10
store i64 0, ptr %3, align 8, !tbaa !10
br label %68
27: ; preds = %6
%28 = tail call i64 @crgetuid(ptr noundef nonnull %0) #2
store i64 %28, ptr %2, align 8, !tbaa !10
%29 = tail call i64 @crgetzoneid(ptr noundef nonnull %0) #2
store i64 %29, ptr %3, align 8, !tbaa !10
%30 = load i32, ptr @PRIV_DTRACE_KERNEL, align 4, !tbaa !6
%31 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%32 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %31) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %27
%35 = load i32, ptr @DTRACE_PRIV_KERNEL, align 4, !tbaa !6
%36 = load i32, ptr @DTRACE_PRIV_USER, align 4, !tbaa !6
%37 = or i32 %36, %35
br label %45
38: ; preds = %27
%39 = load i32, ptr @PRIV_DTRACE_USER, align 4, !tbaa !6
%40 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%41 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %40) #2
%42 = icmp eq i64 %41, 0
%43 = load i32, ptr @DTRACE_PRIV_USER, align 4
%44 = select i1 %42, i32 0, i32 %43
br label %45
45: ; preds = %38, %34
%46 = phi i32 [ %37, %34 ], [ %44, %38 ]
%47 = load i32, ptr @PRIV_DTRACE_PROC, align 4, !tbaa !6
%48 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%49 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %48) #2
%50 = icmp eq i64 %49, 0
%51 = load i32, ptr @DTRACE_PRIV_PROC, align 4
%52 = select i1 %50, i32 0, i32 %51
%53 = or i32 %52, %46
%54 = load i32, ptr @PRIV_PROC_OWNER, align 4, !tbaa !6
%55 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%56 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %54, i32 noundef %55) #2
%57 = icmp eq i64 %56, 0
%58 = load i32, ptr @DTRACE_PRIV_OWNER, align 4
%59 = select i1 %57, i32 0, i32 %58
%60 = or i32 %53, %59
%61 = load i32, ptr @PRIV_PROC_ZONE, align 4, !tbaa !6
%62 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%63 = tail call i64 @PRIV_POLICY_ONLY(ptr noundef nonnull %0, i32 noundef %61, i32 noundef %62) #2
%64 = icmp eq i64 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %45
%66 = load i32, ptr @DTRACE_PRIV_ZONEOWNER, align 4, !tbaa !6
%67 = or i32 %66, %60
br label %68
68: ; preds = %45, %65, %25
%69 = phi i32 [ %26, %25 ], [ %67, %65 ], [ %60, %45 ]
store i32 %69, ptr %1, align 4, !tbaa !6
ret void
}
declare i64 @PRIV_POLICY_ONLY(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @dtrace_is_restricted(...) local_unnamed_addr #1
declare i32 @dtrace_are_restrictions_relaxed(...) local_unnamed_addr #1
declare i64 @crgetuid(ptr noundef) local_unnamed_addr #1
declare i64 @crgetzoneid(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 = !{!"long", !8, i64 0}
| darwin-xnu_bsd_dev_dtrace_extr_dtrace.c_dtrace_cred2priv |
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_presets.c_store_prefs.c'
source_filename = "AnghaBench/HandBrake/gtk/src/extr_presets.c_store_prefs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@prefs_timeout_id = dso_local local_unnamed_addr global i64 0, align 8
@delayed_store_prefs = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @store_prefs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @store_prefs() #0 {
%1 = load i64, ptr @prefs_timeout_id, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
br i1 %2, label %10, label %3
3: ; preds = %0
%4 = tail call ptr (...) @g_main_context_default() #2
%5 = load i64, ptr @prefs_timeout_id, align 8, !tbaa !5
%6 = tail call ptr @g_main_context_find_source_by_id(ptr noundef %4, i64 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = tail call i32 @g_source_destroy(ptr noundef nonnull %6) #2
br label %10
10: ; preds = %3, %8, %0
%11 = load i64, ptr @delayed_store_prefs, align 8, !tbaa !5
%12 = trunc i64 %11 to i32
%13 = tail call i64 @g_timeout_add_seconds(i32 noundef 1, i32 noundef %12, ptr noundef null) #2
store i64 %13, ptr @prefs_timeout_id, align 8, !tbaa !5
ret void
}
declare ptr @g_main_context_default(...) local_unnamed_addr #1
declare ptr @g_main_context_find_source_by_id(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @g_source_destroy(ptr noundef) local_unnamed_addr #1
declare i64 @g_timeout_add_seconds(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_presets.c_store_prefs.c'
source_filename = "AnghaBench/HandBrake/gtk/src/extr_presets.c_store_prefs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@prefs_timeout_id = common local_unnamed_addr global i64 0, align 8
@delayed_store_prefs = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @store_prefs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @store_prefs() #0 {
%1 = load i64, ptr @prefs_timeout_id, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
br i1 %2, label %10, label %3
3: ; preds = %0
%4 = tail call ptr @g_main_context_default() #2
%5 = load i64, ptr @prefs_timeout_id, align 8, !tbaa !6
%6 = tail call ptr @g_main_context_find_source_by_id(ptr noundef %4, i64 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %3
%9 = tail call i32 @g_source_destroy(ptr noundef nonnull %6) #2
br label %10
10: ; preds = %3, %8, %0
%11 = load i64, ptr @delayed_store_prefs, align 8, !tbaa !6
%12 = trunc i64 %11 to i32
%13 = tail call i64 @g_timeout_add_seconds(i32 noundef 1, i32 noundef %12, ptr noundef null) #2
store i64 %13, ptr @prefs_timeout_id, align 8, !tbaa !6
ret void
}
declare ptr @g_main_context_default(...) local_unnamed_addr #1
declare ptr @g_main_context_find_source_by_id(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @g_source_destroy(ptr noundef) local_unnamed_addr #1
declare i64 @g_timeout_add_seconds(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| HandBrake_gtk_src_extr_presets.c_store_prefs |
; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_reiserfs.h_reiserfs_new_unf_blocknrs2.c'
source_filename = "AnghaBench/linux/fs/reiserfs/extr_reiserfs.h_reiserfs_new_unf_blocknrs2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, ptr, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @reiserfs_new_unf_blocknrs2], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @reiserfs_new_unf_blocknrs2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #3
store i32 1, ptr %6, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 1
store i32 0, ptr %7, align 4, !tbaa !11
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 2
store i32 %4, ptr %8, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 3
store ptr %1, ptr %9, align 8, !tbaa !13
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 4
store ptr %3, ptr %10, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 5
store ptr %0, ptr %11, align 8, !tbaa !15
%12 = call i32 @reiserfs_allocate_blocknrs(ptr noundef nonnull %6, ptr noundef %2, i32 noundef 1, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #3
ret i32 %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @reiserfs_allocate_blocknrs(ptr 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
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_3__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !10, i64 24}
!15 = !{!6, !10, i64 32}
| ; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_reiserfs.h_reiserfs_new_unf_blocknrs2.c'
source_filename = "AnghaBench/linux/fs/reiserfs/extr_reiserfs.h_reiserfs_new_unf_blocknrs2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, i32, i32, ptr, ptr, ptr }
@llvm.used = appending global [1 x ptr] [ptr @reiserfs_new_unf_blocknrs2], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @reiserfs_new_unf_blocknrs2(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #3
store <2 x i32> <i32 1, i32 0>, ptr %6, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %4, ptr %7, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %6, i64 16
store ptr %1, ptr %8, align 8, !tbaa !13
%9 = getelementptr inbounds i8, ptr %6, i64 24
store ptr %3, ptr %9, align 8, !tbaa !14
%10 = getelementptr inbounds i8, ptr %6, i64 32
store ptr %0, ptr %10, align 8, !tbaa !15
%11 = call i32 @reiserfs_allocate_blocknrs(ptr noundef nonnull %6, ptr noundef %2, i32 noundef 1, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @reiserfs_allocate_blocknrs(ptr 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
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 16}
!14 = !{!11, !12, i64 24}
!15 = !{!11, !12, i64 32}
| linux_fs_reiserfs_extr_reiserfs.h_reiserfs_new_unf_blocknrs2 |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_sr.c_gatts_proc_srv_chg_ind_ack.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_sr.c_gatts_proc_srv_chg_ind_ack.c"
target datalayout = "e-m:e-p270:32:32-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_14__ = type { %struct.TYPE_10__ }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_12__ = type { i32 }
@.str = private unnamed_addr constant [27 x i8] c"gatts_proc_srv_chg_ind_ack\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"NV update set srv chg = FALSE\00", align 1
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@gatt_cb = dso_local local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8
@GATTS_SRV_CHG_CMD_UPDATE_CLIENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gatts_proc_srv_chg_ind_ack], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gatts_proc_srv_chg_ind_ack(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.TYPE_12__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i32 @GATT_TRACE_DEBUG(ptr noundef nonnull @.str) #3
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call ptr @gatt_is_bda_in_the_srv_chg_clt_list(i32 noundef %4) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %16, label %7
7: ; preds = %1
%8 = tail call i32 @GATT_TRACE_DEBUG(ptr noundef nonnull @.str.1) #3
%9 = load i32, ptr @FALSE, align 4, !tbaa !10
store i32 %9, ptr %5, align 4, !tbaa !11
%10 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef nonnull %5, i32 noundef 4) #3
%11 = load ptr, ptr @gatt_cb, align 8, !tbaa !13
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %7
%14 = load i32, ptr @GATTS_SRV_CHG_CMD_UPDATE_CLIENT, align 4, !tbaa !10
%15 = call i32 %11(i32 noundef %14, ptr noundef nonnull %2, ptr noundef null) #3
br label %16
16: ; preds = %7, %13, %1
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 i32 @GATT_TRACE_DEBUG(ptr noundef) local_unnamed_addr #2
declare ptr @gatt_is_bda_in_the_srv_chg_clt_list(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_11__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_13__", !7, i64 0}
!13 = !{!14, !16, i64 0}
!14 = !{!"TYPE_14__", !15, i64 0}
!15 = !{!"TYPE_10__", !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_sr.c_gatts_proc_srv_chg_ind_ack.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_sr.c_gatts_proc_srv_chg_ind_ack.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_10__ }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_12__ = type { i32 }
@.str = private unnamed_addr constant [27 x i8] c"gatts_proc_srv_chg_ind_ack\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"NV update set srv chg = FALSE\00", align 1
@FALSE = common local_unnamed_addr global i32 0, align 4
@gatt_cb = common local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8
@GATTS_SRV_CHG_CMD_UPDATE_CLIENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gatts_proc_srv_chg_ind_ack], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gatts_proc_srv_chg_ind_ack(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.TYPE_12__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = tail call i32 @GATT_TRACE_DEBUG(ptr noundef nonnull @.str) #3
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call ptr @gatt_is_bda_in_the_srv_chg_clt_list(i32 noundef %4) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %16, label %7
7: ; preds = %1
%8 = tail call i32 @GATT_TRACE_DEBUG(ptr noundef nonnull @.str.1) #3
%9 = load i32, ptr @FALSE, align 4, !tbaa !11
store i32 %9, ptr %5, align 4, !tbaa !12
%10 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef nonnull %5, i32 noundef 4) #3
%11 = load ptr, ptr @gatt_cb, align 8, !tbaa !14
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %7
%14 = load i32, ptr @GATTS_SRV_CHG_CMD_UPDATE_CLIENT, align 4, !tbaa !11
%15 = call i32 %11(i32 noundef %14, ptr noundef nonnull %2, ptr noundef null) #3
br label %16
16: ; preds = %7, %13, %1
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 i32 @GATT_TRACE_DEBUG(ptr noundef) local_unnamed_addr #2
declare ptr @gatt_is_bda_in_the_srv_chg_clt_list(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_11__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_13__", !8, i64 0}
!14 = !{!15, !17, i64 0}
!15 = !{!"TYPE_14__", !16, i64 0}
!16 = !{!"TYPE_10__", !17, i64 0}
!17 = !{!"any pointer", !9, i64 0}
| esp-idf_components_bt_host_bluedroid_stack_gatt_extr_gatt_sr.c_gatts_proc_srv_chg_ind_ack |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_ctrl.c_s5p_mfc_deinit_hw.c'
source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_ctrl.c_s5p_mfc_deinit_hw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@release_dev_context_buffer = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @s5p_mfc_deinit_hw(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @s5p_mfc_clock_on() #2
%3 = tail call i32 @s5p_mfc_reset(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = load i32, ptr @release_dev_context_buffer, align 4, !tbaa !10
%6 = tail call i32 @s5p_mfc_hw_call(i32 noundef %4, i32 noundef %5, ptr noundef nonnull %0) #2
%7 = tail call i32 (...) @s5p_mfc_clock_off() #2
ret void
}
declare i32 @s5p_mfc_clock_on(...) local_unnamed_addr #1
declare i32 @s5p_mfc_reset(ptr noundef) local_unnamed_addr #1
declare i32 @s5p_mfc_hw_call(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @s5p_mfc_clock_off(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"s5p_mfc_dev", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_ctrl.c_s5p_mfc_deinit_hw.c'
source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_ctrl.c_s5p_mfc_deinit_hw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@release_dev_context_buffer = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @s5p_mfc_deinit_hw(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @s5p_mfc_clock_on() #2
%3 = tail call i32 @s5p_mfc_reset(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = load i32, ptr @release_dev_context_buffer, align 4, !tbaa !11
%6 = tail call i32 @s5p_mfc_hw_call(i32 noundef %4, i32 noundef %5, ptr noundef nonnull %0) #2
%7 = tail call i32 @s5p_mfc_clock_off() #2
ret void
}
declare i32 @s5p_mfc_clock_on(...) local_unnamed_addr #1
declare i32 @s5p_mfc_reset(ptr noundef) local_unnamed_addr #1
declare i32 @s5p_mfc_hw_call(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @s5p_mfc_clock_off(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"s5p_mfc_dev", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_media_platform_s5p-mfc_extr_s5p_mfc_ctrl.c_s5p_mfc_deinit_hw |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_plist.c_bhnd_nvram_plist_new.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_plist.c_bhnd_nvram_plist_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"
%struct.TYPE_4__ = type { i32, ptr, i32, i64 }
; Function Attrs: nounwind uwtable
define dso_local ptr @bhnd_nvram_plist_new() local_unnamed_addr #0 {
%1 = tail call ptr @bhnd_nv_calloc(i32 noundef 1, i32 noundef 32) #2
%2 = icmp eq ptr %1, null
br i1 %2, label %20, label %3
3: ; preds = %0
store i32 1, ptr %1, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3
store i64 0, ptr %4, align 8, !tbaa !12
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2
%6 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = tail call i64 @nitems(ptr noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %3, %11
%12 = phi i64 [ %16, %11 ], [ 0, %3 ]
%13 = load ptr, ptr %7, align 8, !tbaa !13
%14 = getelementptr inbounds i32, ptr %13, i64 %12
%15 = tail call i32 @LIST_INIT(ptr noundef %14) #2
%16 = add nuw i64 %12, 1
%17 = load ptr, ptr %7, align 8, !tbaa !13
%18 = tail call i64 @nitems(ptr noundef %17) #2
%19 = icmp ult i64 %16, %18
br i1 %19, label %11, label %20, !llvm.loop !14
20: ; preds = %11, %3, %0
ret ptr %1
}
declare ptr @bhnd_nv_calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1
declare i64 @nitems(ptr noundef) local_unnamed_addr #1
declare i32 @LIST_INIT(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 24}
!13 = !{!6, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_plist.c_bhnd_nvram_plist_new.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_plist.c_bhnd_nvram_plist_new.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 @bhnd_nvram_plist_new() local_unnamed_addr #0 {
%1 = tail call ptr @bhnd_nv_calloc(i32 noundef 1, i32 noundef 32) #2
%2 = icmp eq ptr %1, null
br i1 %2, label %20, label %3
3: ; preds = %0
store i32 1, ptr %1, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 24
store i64 0, ptr %4, align 8, !tbaa !13
%5 = getelementptr inbounds i8, ptr %1, i64 16
%6 = tail call i32 @TAILQ_INIT(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = tail call i64 @nitems(ptr noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %20, label %11
11: ; preds = %3, %11
%12 = phi i64 [ %16, %11 ], [ 0, %3 ]
%13 = load ptr, ptr %7, align 8, !tbaa !14
%14 = getelementptr inbounds i32, ptr %13, i64 %12
%15 = tail call i32 @LIST_INIT(ptr noundef %14) #2
%16 = add nuw i64 %12, 1
%17 = load ptr, ptr %7, align 8, !tbaa !14
%18 = tail call i64 @nitems(ptr noundef %17) #2
%19 = icmp ult i64 %16, %18
br i1 %19, label %11, label %20, !llvm.loop !15
20: ; preds = %11, %3, %0
ret ptr %1
}
declare ptr @bhnd_nv_calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_INIT(ptr noundef) local_unnamed_addr #1
declare i64 @nitems(ptr noundef) local_unnamed_addr #1
declare i32 @LIST_INIT(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !12, i64 24}
!14 = !{!7, !11, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_bhnd_nvram_extr_bhnd_nvram_plist.c_bhnd_nvram_plist_new |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_modctl_add.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_modctl_add.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.modctl = type { ptr, ptr, i32, i64 }
@mod_lock = dso_local global i32 0, align 4
@LCK_MTX_ASSERT_OWNED = dso_local local_unnamed_addr global i32 0, align 4
@dtrace_modctl_list = dso_local local_unnamed_addr global ptr null, align 8
@KMOD_MAX_NAME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dtrace_modctl_add], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dtrace_modctl_add(ptr noundef %0) #0 {
%2 = icmp ne ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i32 @ASSERT(i32 noundef %3) #2
%5 = load i32, ptr @LCK_MTX_ASSERT_OWNED, align 4, !tbaa !5
%6 = tail call i32 @LCK_MTX_ASSERT(ptr noundef nonnull @mod_lock, i32 noundef %5) #2
%7 = load ptr, ptr @dtrace_modctl_list, align 8, !tbaa !9
store ptr %7, ptr %0, align 8, !tbaa !11
store ptr %0, ptr @dtrace_modctl_list, align 8, !tbaa !9
%8 = load ptr, ptr %0, align 8, !tbaa !11
%9 = icmp eq ptr %8, null
br i1 %9, label %31, label %10
10: ; preds = %1
%11 = getelementptr inbounds %struct.modctl, ptr %0, i64 0, i32 2
br label %12
12: ; preds = %10, %18
%13 = phi ptr [ %8, %10 ], [ %19, %18 ]
%14 = phi ptr [ %0, %10 ], [ %13, %18 ]
%15 = getelementptr inbounds %struct.modctl, ptr %13, i64 0, i32 3
%16 = load i64, ptr %15, align 8, !tbaa !14
%17 = icmp eq i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %12, %21
%19 = load ptr, ptr %13, align 8, !tbaa !11
%20 = icmp eq ptr %19, null
br i1 %20, label %31, label %12, !llvm.loop !15
21: ; preds = %12
%22 = load i32, ptr %11, align 8, !tbaa !17
%23 = getelementptr inbounds %struct.modctl, ptr %13, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !17
%25 = load i32, ptr @KMOD_MAX_NAME, align 4, !tbaa !5
%26 = tail call i64 @strncmp(i32 noundef %22, i32 noundef %24, i32 noundef %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %18
28: ; preds = %21
%29 = load ptr, ptr %13, align 8, !tbaa !11
store ptr %29, ptr %14, align 8, !tbaa !11
%30 = getelementptr inbounds %struct.modctl, ptr %0, i64 0, i32 1
store ptr %13, ptr %30, align 8, !tbaa !18
store ptr null, ptr %13, align 8, !tbaa !11
br label %31
31: ; preds = %18, %1, %28
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @LCK_MTX_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @strncmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"modctl", !10, i64 0, !10, i64 8, !6, i64 16, !13, i64 24}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 24}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!12, !6, i64 16}
!18 = !{!12, !10, i64 8}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_modctl_add.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_modctl_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mod_lock = common global i32 0, align 4
@LCK_MTX_ASSERT_OWNED = common local_unnamed_addr global i32 0, align 4
@dtrace_modctl_list = common local_unnamed_addr global ptr null, align 8
@KMOD_MAX_NAME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dtrace_modctl_add], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dtrace_modctl_add(ptr noundef %0) #0 {
%2 = icmp ne ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i32 @ASSERT(i32 noundef %3) #2
%5 = load i32, ptr @LCK_MTX_ASSERT_OWNED, align 4, !tbaa !6
%6 = tail call i32 @LCK_MTX_ASSERT(ptr noundef nonnull @mod_lock, i32 noundef %5) #2
%7 = load ptr, ptr @dtrace_modctl_list, align 8, !tbaa !10
store ptr %7, ptr %0, align 8, !tbaa !12
store ptr %0, ptr @dtrace_modctl_list, align 8, !tbaa !10
%8 = load ptr, ptr %0, align 8, !tbaa !12
%9 = icmp eq ptr %8, null
br i1 %9, label %31, label %10
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %0, i64 16
br label %12
12: ; preds = %10, %18
%13 = phi ptr [ %8, %10 ], [ %19, %18 ]
%14 = phi ptr [ %0, %10 ], [ %13, %18 ]
%15 = getelementptr inbounds i8, ptr %13, i64 24
%16 = load i64, ptr %15, align 8, !tbaa !15
%17 = icmp eq i64 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %12, %21
%19 = load ptr, ptr %13, align 8, !tbaa !12
%20 = icmp eq ptr %19, null
br i1 %20, label %31, label %12, !llvm.loop !16
21: ; preds = %12
%22 = load i32, ptr %11, align 8, !tbaa !18
%23 = getelementptr inbounds i8, ptr %13, i64 16
%24 = load i32, ptr %23, align 8, !tbaa !18
%25 = load i32, ptr @KMOD_MAX_NAME, align 4, !tbaa !6
%26 = tail call i64 @strncmp(i32 noundef %22, i32 noundef %24, i32 noundef %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %18
28: ; preds = %21
%29 = load ptr, ptr %13, align 8, !tbaa !12
store ptr %29, ptr %14, align 8, !tbaa !12
%30 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %13, ptr %30, align 8, !tbaa !19
store ptr null, ptr %13, align 8, !tbaa !12
br label %31
31: ; preds = %18, %1, %28
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @LCK_MTX_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @strncmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"modctl", !11, i64 0, !11, i64 8, !7, i64 16, !14, i64 24}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !14, i64 24}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!13, !7, i64 16}
!19 = !{!13, !11, i64 8}
| darwin-xnu_bsd_dev_dtrace_extr_dtrace.c_dtrace_modctl_add |
; ModuleID = 'AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/snes/src/lib/libco/extr_fiber.c_co_switch.c'
source_filename = "AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/snes/src/lib/libco/extr_fiber.c_co_switch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@co_active_ = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @co_switch(i32 noundef %0) local_unnamed_addr #0 {
store i32 %0, ptr @co_active_, align 4, !tbaa !5
%2 = tail call i32 @SwitchToFiber(i32 noundef %0) #2
ret void
}
declare i32 @SwitchToFiber(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/snes/src/lib/libco/extr_fiber.c_co_switch.c'
source_filename = "AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/snes/src/lib/libco/extr_fiber.c_co_switch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@co_active_ = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @co_switch(i32 noundef %0) local_unnamed_addr #0 {
store i32 %0, ptr @co_active_, align 4, !tbaa !6
%2 = tail call i32 @SwitchToFiber(i32 noundef %0) #2
ret void
}
declare i32 @SwitchToFiber(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_Mednafen_mednafen-1.21_src_snes_src_lib_libco_extr_fiber.c_co_switch |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_dcb.c_bnx2x_dcbx_update_ets_config.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_dcb.c_bnx2x_dcbx_update_ets_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bnx2x_ets_params = type { i64, ptr, i32 }
%struct.bnx2x = type { i32, i32, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { %struct.bnx2x_dcbx_pg_params }
%struct.bnx2x_dcbx_pg_params = type { i64, ptr }
%struct.TYPE_12__ = type { i64, i64 }
%struct.TYPE_11__ = type { %struct.TYPE_10__, i32 }
%struct.TYPE_10__ = type { %struct.TYPE_9__, %struct.TYPE_8__ }
%struct.TYPE_9__ = type { i64 }
%struct.TYPE_8__ = type { i64 }
@BNX2X_DCBX_STRICT_INVALID = dso_local local_unnamed_addr global i64 0, align 8
@DCBX_INVALID_COS_BW = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"COS can't be not BW and not SP\0A\00", align 1
@bnx2x_cos_state_strict = dso_local local_unnamed_addr global i32 0, align 4
@bnx2x_cos_state_bw = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"bnx2x_ets_e3b0_config failed\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_dcbx_update_ets_config], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bnx2x_dcbx_update_ets_config(ptr noundef %0) #0 {
%2 = alloca %struct.bnx2x_ets_params, align 8
%3 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 2
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
%4 = getelementptr inbounds i8, ptr %2, i64 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 16, i1 false)
%5 = load i64, ptr %3, align 8, !tbaa !5
store i64 %5, ptr %2, align 8, !tbaa !11
%6 = icmp eq i64 %5, 0
br i1 %6, label %30, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 2, i32 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = load i64, ptr @BNX2X_DCBX_STRICT_INVALID, align 8, !tbaa !15
%11 = load i64, ptr @DCBX_INVALID_COS_BW, align 8
br label %12
12: ; preds = %7, %26
%13 = phi i64 [ 0, %7 ], [ %28, %26 ]
%14 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 %13
%15 = load i64, ptr %14, align 8, !tbaa !16
%16 = icmp eq i64 %15, %10
%17 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 %13, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !18
%19 = icmp eq i64 %18, %11
br i1 %16, label %23, label %20
20: ; preds = %12
br i1 %19, label %26, label %21
21: ; preds = %20
%22 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str) #4
br label %37
23: ; preds = %12
br i1 %19, label %24, label %26
24: ; preds = %23
%25 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str) #4
br label %37
26: ; preds = %23, %20
%27 = getelementptr inbounds %struct.TYPE_11__, ptr null, i64 %13, i32 1
store i32 poison, ptr %27, align 8, !tbaa !19
%28 = add nuw i64 %13, 1
%29 = icmp eq i64 %28, %5
br i1 %29, label %30, label %12, !llvm.loop !24
30: ; preds = %26, %1
%31 = getelementptr inbounds %struct.bnx2x, ptr %0, i64 0, i32 1
%32 = call i64 @bnx2x_ets_e3b0_config(ptr noundef nonnull %31, ptr noundef nonnull %0, ptr noundef nonnull %2) #4
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %30
%35 = call i32 @BNX2X_ERR(ptr noundef nonnull @.str.1) #4
%36 = call i32 @bnx2x_ets_disabled(ptr noundef nonnull %31, ptr noundef nonnull %0) #4
br label %37
37: ; preds = %30, %34, %24, %21
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @BNX2X_ERR(ptr noundef) local_unnamed_addr #3
declare i64 @bnx2x_ets_e3b0_config(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @bnx2x_ets_disabled(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bnx2x_dcbx_pg_params", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"bnx2x_ets_params", !7, i64 0, !10, i64 8, !13, i64 16}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_12__", !7, i64 0, !7, i64 8}
!18 = !{!17, !7, i64 8}
!19 = !{!20, !13, i64 16}
!20 = !{!"TYPE_11__", !21, i64 0, !13, i64 16}
!21 = !{!"TYPE_10__", !22, i64 0, !23, i64 8}
!22 = !{!"TYPE_9__", !7, i64 0}
!23 = !{!"TYPE_8__", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_dcb.c_bnx2x_dcbx_update_ets_config.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_dcb.c_bnx2x_dcbx_update_ets_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.bnx2x_ets_params = type { i64, ptr, i32 }
%struct.TYPE_12__ = type { i64, i64 }
%struct.TYPE_11__ = type { %struct.TYPE_10__, i32 }
%struct.TYPE_10__ = type { %struct.TYPE_9__, %struct.TYPE_8__ }
%struct.TYPE_9__ = type { i64 }
%struct.TYPE_8__ = type { i64 }
@BNX2X_DCBX_STRICT_INVALID = common local_unnamed_addr global i64 0, align 8
@DCBX_INVALID_COS_BW = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [32 x i8] c"COS can't be not BW and not SP\0A\00", align 1
@bnx2x_cos_state_strict = common local_unnamed_addr global i32 0, align 4
@bnx2x_cos_state_bw = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"bnx2x_ets_e3b0_config failed\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bnx2x_dcbx_update_ets_config], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bnx2x_dcbx_update_ets_config(ptr noundef %0) #0 {
%2 = alloca %struct.bnx2x_ets_params, align 8
%3 = getelementptr inbounds i8, ptr %0, i64 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
%4 = getelementptr inbounds i8, ptr %2, i64 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 16, i1 false)
%5 = load i64, ptr %3, align 8, !tbaa !6
store i64 %5, ptr %2, align 8, !tbaa !12
%6 = icmp eq i64 %5, 0
br i1 %6, label %30, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = load i64, ptr @BNX2X_DCBX_STRICT_INVALID, align 8, !tbaa !16
%11 = load i64, ptr @DCBX_INVALID_COS_BW, align 8
br label %12
12: ; preds = %7, %26
%13 = phi i64 [ 0, %7 ], [ %28, %26 ]
%14 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 %13
%15 = load i64, ptr %14, align 8, !tbaa !17
%16 = icmp eq i64 %15, %10
%17 = getelementptr inbounds i8, ptr %14, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !19
%19 = icmp eq i64 %18, %11
br i1 %16, label %23, label %20
20: ; preds = %12
br i1 %19, label %26, label %21
21: ; preds = %20
%22 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str) #4
br label %37
23: ; preds = %12
br i1 %19, label %24, label %26
24: ; preds = %23
%25 = tail call i32 @BNX2X_ERR(ptr noundef nonnull @.str) #4
br label %37
26: ; preds = %23, %20
%27 = getelementptr inbounds %struct.TYPE_11__, ptr null, i64 %13, i32 1
store i32 poison, ptr %27, align 8, !tbaa !20
%28 = add nuw i64 %13, 1
%29 = icmp eq i64 %28, %5
br i1 %29, label %30, label %12, !llvm.loop !25
30: ; preds = %26, %1
%31 = getelementptr inbounds i8, ptr %0, i64 4
%32 = call i64 @bnx2x_ets_e3b0_config(ptr noundef nonnull %31, ptr noundef nonnull %0, ptr noundef nonnull %2) #4
%33 = icmp eq i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %30
%35 = call i32 @BNX2X_ERR(ptr noundef nonnull @.str.1) #4
%36 = call i32 @bnx2x_ets_disabled(ptr noundef nonnull %31, ptr noundef nonnull %0) #4
br label %37
37: ; preds = %30, %34, %24, %21
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @BNX2X_ERR(ptr noundef) local_unnamed_addr #3
declare i64 @bnx2x_ets_e3b0_config(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @bnx2x_ets_disabled(ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bnx2x_dcbx_pg_params", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"bnx2x_ets_params", !8, i64 0, !11, i64 8, !14, i64 16}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_12__", !8, i64 0, !8, i64 8}
!19 = !{!18, !8, i64 8}
!20 = !{!21, !14, i64 16}
!21 = !{!"TYPE_11__", !22, i64 0, !14, i64 16}
!22 = !{!"TYPE_10__", !23, i64 0, !24, i64 8}
!23 = !{!"TYPE_9__", !8, i64 0}
!24 = !{!"TYPE_8__", !8, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_net_bnx2x_extr_bnx2x_dcb.c_bnx2x_dcbx_update_ets_config |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.